frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Learn Makefiles

https://makefiletutorial.com/
55•dsego•2h ago•17 comments

Hurl: Run and test HTTP requests with plain text

https://github.com/Orange-OpenSource/hurl
186•flykespice•6h ago•56 comments

Chimpanzees yawn when observing an Android yawn

https://www.nature.com/articles/s41598-025-98639-z
14•PaulHoule•2d ago•6 comments

Show HN: I wrote a new BitTorrent tracker in Elixir

https://github.com/Dahrkael/ExTracker
274•dahrkael•11h ago•43 comments

Infinite Mac OS X

https://blog.persistent.info/2025/03/infinite-mac-os-x.html
202•kristianp•10h ago•72 comments

FedFlix — Public Domain Stock Footage Library

https://public.resource.org/ntis.gov/index.html
95•bookofjoe•9h ago•5 comments

Break Up Big Tech: Civil Society Declaration – People vs. Big Tech

https://peoplevsbig.tech/break-up-big-tech-civil-society-declaration/
111•janandonly•2h ago•88 comments

Virtual Cells

https://udara.io/science/virtual-cells/
55•surprisetalk•3d ago•13 comments

Compiling LLMs into a MegaKernel: A path to low-latency inference

https://zhihaojia.medium.com/compiling-llms-into-a-megakernel-a-path-to-low-latency-inference-cf7840913c17
231•matt_d•15h ago•67 comments

Cannabis scientists are trying to find a predictable, reliable product (2020)

https://www.nytimes.com/2020/04/01/magazine/cannabis-science.html
22•dr_dshiv•5h ago•28 comments

Asterinas: A new Linux-compatible kernel project

https://lwn.net/SubscriberLink/1022920/ad60263cd13c8a13/
62•howtofly•8h ago•12 comments

JavaScript broke the web (and called it progress)

https://www.jonoalderson.com/conjecture/javascript-broke-the-web-and-called-it-progress/
91•Bogdanp•2h ago•88 comments

Qfex (YC X25) – Founding Back End Engineer for a 24/7 Stock Exchange

https://www.ycombinator.com/companies/qfex/jobs/S7XSybx-founding-backend-engineer
1•NPDW•3h ago

Giant, All-Seeing Telescope Is Set to Revolutionize Astronomy

https://www.science.org/content/article/giant-all-seeing-telescope-set-revolutionize-astronomy
82•gammarator•11h ago•30 comments

Pipelined State Machine Corruption

https://flak.tedunangst.com/post/pipelined-state-machine-corruption
18•zdw•2d ago•1 comments

The Ecosystem Dynamics That Can Make or Break an Invasion

https://www.quantamagazine.org/the-ecosystem-dynamics-that-can-make-or-break-an-invasion-20250616/
5•rbanffy•3d ago•0 comments

Andrej Karpathy: Software in the era of AI [video]

https://www.youtube.com/watch?v=LCEmiRjPEtQ
1238•sandslash•1d ago•663 comments

ELIZA Reanimated: Restoring the Mother of All Chatbots

https://www.computer.org/csdl/magazine/an/2025/02/11030922/27sQDLuL7Uc
18•abrax3141•2d ago•4 comments

Show HN: Tool to Automatically Create Organized Commits for PRs

https://github.com/edverma/git-smart-squash
50•edverma2•7h ago•30 comments

Sunsonic 986-II – A Thai Famicom clone with keyboard and mini CRT built-in

https://mastodon.gamedev.place/@pikuma/114711138512697712
60•sohkamyung•11h ago•7 comments

Octobass

https://www.atlasobscura.com/places/octobass
65•keepamovin•3d ago•14 comments

Literate programming tool for any language

https://github.com/zyedidia/Literate
93•LorenDB•12h ago•52 comments

Curved-Crease Sculpture

https://erikdemaine.org/curved/
171•wonger_•20h ago•30 comments

Show HN: A DOS-like hobby OS written in Rust and x86 assembly

https://github.com/krustowski/rou2exOS
173•krustowski•20h ago•49 comments

I Will Do Anything to End Homelessness Except Build More Homes

https://www.mcsweeneys.net/articles/i-will-do-anything-to-end-homelessness-except-build-more-homes
95•2color•2h ago•73 comments

Guess I'm a Rationalist Now

https://scottaaronson.blog/?p=8908
276•nsoonhui•1d ago•828 comments

Show HN: Sexprs – Lisp dialect written in Rust

https://github.com/gabrielfalcao/sexprs
9•gfalcao•3d ago•4 comments

What would a Kubernetes 2.0 look like

https://matduggan.com/what-would-a-kubernetes-2-0-look-like/
214•Bogdanp•22h ago•319 comments

How OpenElections uses LLMs

https://thescoop.org/archives/2025/06/09/how-openelections-uses-llms/index.html
105•m-hodges•18h ago•47 comments

DNA floating in the air tracks wildlife, viruses, even drugs

https://www.sciencedaily.com/releases/2025/06/250603114822.htm
104•karlperera•4d ago•75 comments
Open in hackernews

Hurl: Run and test HTTP requests with plain text

https://github.com/Orange-OpenSource/hurl
186•flykespice•6h ago

Comments

laerus•5h ago
What's missing from Hurl is snapshot testing. After using `insta` for testing APIs, I cannot go back.
porker•5h ago
Is this https://insta.rs/? What are the benefits you've found with snapshot testing?
laerus•3h ago
Greatly reduced boilerplate. Diffing snapshots and providing previews to accept or reject changes is also more robust and user friendly.
whilenot-dev•4h ago
What's your value proposition for snapshots and why can't that already be fulfilled with full body checks? https://github.com/Orange-OpenSource/hurl?tab=readme-ov-file...
laerus•4h ago
Snapshots diff current with previous output and I only have to accept or reject the diff. I don't have to write the expected response myself. Snapshots can also stub out parts of the response that are not determistic.
adelineJoOs•2h ago
> Snapshots can also stub out parts of the response that are not determistic.

TIL! The way I knew to do it was to have a mock implementation that behaved like the real thing, expect for data/time/uuids/..., where there was just a placeholder. Snapshot tests being able to "mask" those non-deterministic parts sounds cool!

CommonGuy•3h ago
We are working on snapshot testing for Kreya, expected to come in August. You might want to check it out :)
jicea•5h ago
Hi Hurl maintainer here, happy to answer any question and get feedbacks!
jiehong•3h ago
Thanks a lot for maintaining it!

Where do you see hurl in the next 2 years?

jicea•3h ago
Obviously better IDEs integration, support for gRPC, Websocket would be very cool.

A favorite of mine is to be available through official `apt`: there has been some work but it's kind of stuck. The Debian integration is the more difficult integration we have to deal. It's not Debian fault, there are a lot of documentation but we've struggled a lot and fail to understand the process.

[1]: https://github.com/Orange-OpenSource/hurl/issues/366

hiddew•3h ago
Hurl is underappreciated for writing nice and maintainable HTTP-level test suites. Thanks for the tool!
gavinray•1h ago
So, myself and many folks I know have taken to writing tests in the form of ".http" files that can be executed by IDE extensions in VS Code/IDEA.

Those basically go in the form

   POST http://localhost:8080/api/foo
   Content-Type: application/json

   { "some": "body" }
And then we have a 1-to-1 mapping of "expected.json" outputs for integration tests.

We use a bespoke bash script to run these .http file with cURL, and then compare the outputs with jq, log success/failure to console, and write "actual.json"

Can I use HURL in a similar way? Essentially an IDE-runnable example HTTP request that references a JSON file as the expected output?

And then run HURL over a directory of these files?

LadyCailin•1h ago
Can you organize with the VSCode rest client folk(s?) to come up with a standard for http files?
chvid•5h ago
Looks a bit like this:

https://marketplace.visualstudio.com/items?itemName=humao.re...

Which is a banger VS Code extension for all sorts of http xyz testing.

krisgenre•5h ago
IntelliJ has one too https://www.jetbrains.com/help/idea/http-client-in-product-c...
7d24cbd0556f442•4h ago
neovim has one, too! https://github.com/rest-nvim/rest.nvim

(After I have seen the IntelliJ one from a colleague I was searching for one like that in neovim. That's the best one I found. It's not perfect, but it works.

Edit: The tool from OP looks very neat though. I will try it out. Might be a handy thing for a few prepared tests that I run frequently

vyskocilm•2h ago
https://github.com/mistweaverco/kulala.nvim is an another restish (it can do gRPC to) plugin for neovim. It is intended to be compatible with a Jetbrains as much as possible.
jiehong•3h ago
Yep, just editor independent which is a huge deal IMO
lowwave•2h ago
there is also Bruno and Bru seems quite similar this: https://docs.usebruno.com/bru-lang/overview

It is targeted toward more postman crowd though. May not be as lightweight.

LadyCailin•1h ago
It’s not nearly as lightweight, and one of the major dealbreakers for postman and equivalents (even ignoring all the drama with postman) is that you have to import and export the data in the client in order to get some text file you can just commit to repo. For my team, that’s a dealbreaker, because it means that people write entire suites of stuff, and never commit them, meaning other people end up doing the same work over and over.
argentinian•41m ago
In Bruno you don't have to import or export to get a text file.
mcescalante•3h ago
yep, I've played with Hurl and find it nice but recently have been leaning into the .http stuff more. IntelliJ has it built in, there's the plugin you linked, and then for CLI i've used httpYac. No "vendor lock in", really easy to share with copy & paste or source control.
gotimo•2h ago
+1 On HttpYac, it's been really nice to get started with and growing into a more powerful API testing suite over time
davidcalloway•5h ago
The main thing I find missing with hurl is an rc file.
jicea•4h ago
If you're thinking about `--netrc` like curl it's already here [1]. If you're thinking about a proper Hurl config file, it's coming!

[1]: https://hurl.dev/docs/manual.html#netrc

the_arun•5h ago
Isn't this similar to HTTP Client tool available for IntelliJ? - https://www.jetbrains.com/help/idea/http-client-in-product-c...
resonious•5h ago
Similar perhaps but not an IDE plugin.
HatchedLake721•1h ago
It's available separately too

https://blog.jetbrains.com/idea/2022/12/http-client-cli-run-...

zoidb•5h ago
This looks great, would definitely use it for testing if websocket support ever gets added https://github.com/Orange-OpenSource/hurl/issues/1096
antisceptic•5h ago
Is that POST in the readme sending the password in the query params? Is this shorthand or literally adding them to the params?

I don't really feel the need for a curl replacement. In the past I've used httpie which is pretty slick but I end up falling back to writing tests in python using requests library.

Maybe I'm not the target audience here, but I should still say something nice I guess. It's nice that it's written in Rust, and open source tooling is in need of fresh projects ever since everyone started bunkering up against the AI monolith scraping all their work. We should celebrate this kind of project, I just wish I had a use for it.

ankitrgadiya•4h ago
I see it more as a Postman replacement than curl. When I’m working on a set of APIs, I can quickly write a Hurl file with different combinations that I’m working on. There are usually editor integrations to run individual requests. Then I can share the same Hurl file to my team or commit it in the repo.
tra3•4h ago
Check out tavern if you’re in python-land. Pretty pleasant way to write declarative API tests.
jicea•4h ago
The POST in the README is going to send the params in the request body "url form encoded" like a form in a web page. There are more samples on the doc site [1].

Regarding curl, Hurl is just adding some syntax to pass data from request to request and add assert to responses. For a one time send & forget request, curl is the way, but if you've a kind of workflow (like accessing an authentified resource) Hurl is worth a try. Hurl uses libcurl under the hood and you've an option `--curl` to get a list of curl commands.

[1]: https://hurl.dev/docs/samples.html

mrcarrot•3h ago
> The POST in the README is going to send the params in the request body "url form encoded" like a form in a web page.

Is there a different POST request in the readme or are you saying that this example is going to send the "user" and "password" params in the request body?

> POST https://example.org/login?user=toto&password=1234

That seems really surprising to me - how would you then send a POST request that includes query string parameters? The documentation on form parameters [1] suggests there's an explicit syntax for sending form-encoded request parameters

[1]: https://hurl.dev/docs/request.html#form-parameters

jicea•2h ago
Ah sorry for both, the README sample is here from the start (4 years) ago that I didn't take time to read it with a fresh eye:

  POST https://acmecorp.net/login?user=toto&password=1234
In the README is doing a POST request with user and paasword parameter in the URL.

  POST https://acmecorp.net/login
  [Form]
  user: toto
  password: 1234
Is a more traditional POST with user and password in the body. Probably going to update the READMEs sample Issue created here [1]!

[1]: https://github.com/Orange-OpenSource/hurl/issues/4151

the_arun•5h ago
If I want to open a modal & check something, could it simulate clicking on open modal button? Or is it first level for now (without any support for interactions / javascript magic)
jicea•4h ago
Hurl works only on the HTTP layer, there is no JavaScript engine. If your modal open a form that will trigger some kind of XHR, you'll "simulate" the HTTP traquets that the form modal could have done. Hurl is not a kind of Playwright for instance.
gabesullice•4h ago
This looks awesome. I've searched for something like this many times and made a half dozen half-hearted attempts to build it too. Great job!
kaan_keskin•3h ago
this looks nice. is it possible to set a variable after a request and use it later in another request?
mhio•3h ago
Yeah...

    [Captures]
    csrf_token: xpath "normalize-space(//meta[@name='_csrf_token']/@content)"
The use the name with mustaches

    {{csrf_token}}
- https://hurl.dev/docs/capturing-response.html
genericspammer•3h ago
Can you have different environments or profiles or whatever, with different global variables?
DownGoat•3h ago
Yes you can use env files, and then use the template syntax in the request files. https://hurl.dev/docs/templates.html#injecting-variables
1a527dd5•3h ago
Yeah love Hurl, we stared using it back in 2023-09.

We had a test suite using Runscope, I hated that changes weren't versioned controlled. Took a little grunt work and I converted them in Hurl (where were you AI?) and got rid of Runscope.

Now we can see who made what change when and why. It's great.

QuiCasseRien•3h ago
interesting tool !

première fois que je vois qqch de cool sortir d'orange.

jicea•2h ago
Ah ah ah thanks for this! There are a lot of Open Source projects from Orange => https://github.com/Orange-OpenSource
lelanthran•2h ago
For automated testing I use hurl, but my personal dev roadmap is to create another tool.

The deficiencies in huel with client state management is not easy to fix.

What I'd like is full client state control with better variable management and use.

For my last project I used Python to write the tests, which appears to work well initially. Dunno how well it will hold up for ongoing maintenance.

molszanski•2h ago
I am using it and I love it :)
a57721•2h ago
In the JVM projects, I use Karate for integration tests: https://github.com/karatelabs/karate

It gives you full control of constructing requests and assertions because test scenarios may include arbitrary JavaScript.

globular-toast•2h ago
Can you share "fixtures" amongst tests? For example, I wouldn't want to have to copy/paste the signup and login process for each type of user across hundreds of tests.

What about test isolation? Are people using something else to "prime" the service before/after running these tests?

mdtrooper•1h ago
I love this kind of tools (easy, simple and cli). I remember that https://httpie.io/cli or https://jqlang.org/ .
kalli•1h ago
This looks interesting. Longtime user of the Vscode-restclient, but have been moving over to httpyac lately for the scripting and cli use. Will take a look to see if hurl is a good fit.

One annoying thing I've found in testing these tools is that a standard hasn't emerged for using the results of one request as input for another in the syntax of `.http` files. These three tools for instance have three different ways of doing it:

* hurl uses `[Captures]`

* Vscode-restclient does it by referencing request names in a variable declaration (like: `@token = {{loginAPI.response.body.token}}`).

* While httpyac uses `@ref` syntax.

From a quick round of testing it seems like using the syntax for one might break the other tools.

[1]: https://hurl.dev/docs/capturing-response.html

[2]: https://github.com/Huachao/vscode-restclient

[3]: https://httpyac.github.io/guide/metaData.html#ref-and-forcer...

jicea•51m ago
Guilty to have created yet-another-format for HTTP client! To "mitigate" this issue, you can use `hurlfmt` (distributed along `hurl`) that would allow you to export a Hurl file to JSON. You could then go from this JSON to another... It's not magic but it can help if you're going to change from Hurl to another thing.
kalli•44m ago
No worries, it's also interesting to see different peoples approaches to the best syntax for this. Exporters/importers do make life a bit easier I suppose.

I don't know what the mechanism/incentive for getting a standard would be either. Probably most likely would be if there was one clear "winner" that everyone else felt the need mirror.

In any case, appreciate the reply and the tool. Good luck with it.

jiggawatts•32m ago
What's really special is that Visual Studio Code and Visual Studio both have .HTTP files... which are incompatible with each other.

Conway's Law in action, ladies and gentlemen.

lambda-science•1h ago
Isn't that very similar to Jetbrains HTTP Client ?
epalm•36m ago
This is interesting. I’m wondering how programmable this is. Would this project (or any similar ones) be able to POST a json payload with a field set to “now()”?