frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Accepting US car standards would risk European lives

https://etsc.eu/accepting-us-car-standards-would-risk-european-lives-warn-cities-and-civil-society/
448•saubeidl•2h ago•319 comments

Anthropic acquires Bun

https://bun.com/blog/bun-joins-anthropic
1822•ryanvogel•16h ago•865 comments

Zig quits GitHub, says Microsoft's AI obsession has ruined the service

https://www.theregister.com/2025/12/02/zig_quits_github_microsoft_ai_obsession/
216•Brajeshwar•2h ago•91 comments

IBM CEO says there is 'no way' spending on AI data centers will pay off

https://www.businessinsider.com/ibm-ceo-big-tech-ai-capex-data-center-spending-2025-12
544•nabla9•16h ago•620 comments

Interview with RollerCoaster Tycoon's Creator, Chris Sawyer (2024)

https://medium.com/atari-club/interview-with-rollercoaster-tycoons-creator-chris-sawyer-684a0efb0f13
98•areoform•5h ago•17 comments

The Writing Is on the Wall for Handwriting Recognition

https://newsletter.dancohen.org/archive/the-writing-is-on-the-wall-for-handwriting-recognition/
35•speckx•6d ago•9 comments

AI agents break rules under everyday pressure

https://spectrum.ieee.org/ai-agents-safety
136•pseudolus•5d ago•47 comments

Super fast aggregations in PostgreSQL 19

https://www.cybertec-postgresql.com/en/super-fast-aggregations-in-postgresql-19/
74•jnord•1w ago•5 comments

Quad9 DOH HTTP/1.1 Retirement, December 15, 2025

https://quad9.net/news/blog/doh-http-1-1-retirement/
57•pickledoyster•4h ago•15 comments

Paged Out

https://pagedout.institute
412•varjag•14h ago•49 comments

I designed and printed a custom nose guard to help my dog with DLE

https://snoutcover.com/billie-story
517•ragswag•3d ago•62 comments

OpenAI declares 'code red' as Google catches up in AI race

https://www.theverge.com/news/836212/openai-code-red-chatgpt
664•goplayoutside•19h ago•728 comments

Understanding ECDSA

https://avidthinker.github.io/2025/11/28/understanding-ecdsa/
66•avidthinker•6h ago•11 comments

Trying Out C++26 Executors

https://mropert.github.io/2025/11/21/trying_out_stdexec/
9•ingve•5d ago•3 comments

What, if anything, is universal to music cognition? (2024)

https://www.nature.com/articles/s41562-023-01800-9
16•Hooke•1w ago•6 comments

Sending DMARC reports is somewhat hazardous

https://utcc.utoronto.ca/~cks/space/blog/spam/DMARCSendingReportsProblems
41•zdw•5h ago•9 comments

Learning music with Strudel

https://terryds.notion.site/Learning-Music-with-Strudel-2ac98431b24180deb890cc7de667ea92
487•terryds•1w ago•118 comments

Counter Galois Onion: Improved encryption for Tor circuit traffic

https://blog.torproject.org/introducing-cgo/
74•wrayjustin•1w ago•16 comments

Qwen3-VL can scan two-hour videos and pinpoint nearly every detail

https://the-decoder.com/qwen3-vl-can-scan-two-hour-videos-and-pinpoint-nearly-every-detail/
192•thm•3d ago•58 comments

Amazon launches Trainium3

https://techcrunch.com/2025/12/02/amazon-releases-an-impressive-new-ai-chip-and-teases-a-nvidia-f...
175•thnaks•15h ago•65 comments

Researchers Find Microbe Capable of Producing Oxygen from Martian Soil

https://scienceclock.com/microbe-that-could-turn-martian-dust-into-oxygen/
17•ashishgupta2209•3h ago•8 comments

Codeberg Is Down

https://status.codeberg.org/status/codeberg
29•x3ro•1h ago•12 comments

Zig's new plan for asynchronous programs

https://lwn.net/SubscriberLink/1046084/4c048ee008e1c70e/
286•messe•19h ago•209 comments

Load ZX Spectrum – first Museum dedicated to our first personal computer

https://loadzx.com/en/
52•elvis70•6d ago•18 comments

Japanese game devs face font dilemma as license increases from $380 to $20k

https://www.gamesindustry.biz/japanese-devs-face-font-licensing-dilemma-as-leading-provider-incre...
236•zdw•6h ago•119 comments

All about automotive lidar

https://mainstreetautonomy.com/blog/2025-08-29-all-about-automotive-lidar/
157•dllu•1d ago•63 comments

School cell phone bans and student achievement

https://www.nber.org/digest/202512/school-cell-phone-bans-and-student-achievement
155•harias•16h ago•152 comments

Free static site generator for small restaurants and cafes

https://lite.localcafe.org/
142•fullstacking•14h ago•78 comments

Kohler Can Access Pictures from "End-to-End Encrypted" Toilet Camera

https://varlogsimon.leaflet.pub/3m6zrw6k2bs2p?interactionDrawer=quotes
185•TimDotC•8h ago•162 comments

All Sources of DirectX 12 Documentation

https://asawicki.info/news_1794_all_sources_of_directx_12_documentation
23•ibobev•1w ago•10 comments
Open in hackernews

Trying Out C++26 Executors

https://mropert.github.io/2025/11/21/trying_out_stdexec/
9•ingve•5d ago

Comments

gpderetta•22m ago
The essence of the sender/receiver proposal is essentially this: - first start with a sync function

      result_t foo(params_t);
      ...
      auto result = foo(params);
- make it async by adding a continuation:

      void async_foo(params_t params, invokable<result_t> cont) { cont(foo(params)); };
      ...
      invokable<result_t> auot receiver= [](result_t result) {...};
      async_foo(params, receiver);
- then curry it:

      auto curried_async_foo(params_t params) { 
        return [params](invokable<result_t> cont) { 
           async_foo(params, cont);
        };}
      ...
      auto op = curried_async_foo(params);
      op(receiver);
- finally modify the curried variant to add another required evaluation round:

      auto foo_sender(param_t params) {
        return [params](invokable<result_t> cont)  {
           return [params, cont]{ 
              async_foo(params, cont);
        };};}
      ...
      auto sender = foo_sender(params);
      auto operation = sender(receiver);
      operation();
The actual library uses structures with named methods instead of callables (so you would do operation.start() for example), plus a separate continuation for the error path (by having the receiver concept implement two named functions), and cancellation support. Also the final operation is required to be address stable until it is completed.

The complexity is of course in the details, and I didn't fully appreciate it until I tried to implement a stripped down version of the model (and I'm sure I'm still missing a lot).

The model does work very well with coroutines and can avoid or defer a lot of the expected memory allocations of async operations.

raverbashing•4m ago
Thanks, your comment has explained this better than the article

And it does look like an interesting proposal

SSchick•9m ago
Is it just me or are the code examples of the executors absolutely unreadable/comprehensible without reading it 5 times?

Even with different formatters I'd much prefer the tbb variant.