frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: I Built Veo 3 Video Generator Almost 3X Cheaper

https://klifgen.app/
1•easyfree•1m ago•0 comments

GPS Signal Jamming = Flashpoints and Conflicts Around the World

https://gpsjam.org/
1•arkonrad•2m ago•1 comments

Open Source API for Google Meet Transcription (real time) launched in the cloud

https://vexa.ai/
1•DmitryGrankin•2m ago•0 comments

The Black Performer in Blackface

https://medium.com/luminasticity/the-black-performer-in-blackface-cb4786d85f3c
1•bryanrasmussen•3m ago•0 comments

Admin issues stop-work order for offshore wind project

https://arstechnica.com/science/2025/08/trump-admin-issues-stop-work-order-for-offshore-wind-proj...
1•rbanffy•5m ago•0 comments

Lisp from Nothing, Second Edition

http://t3x.org/lfn/index.html
1•nils-m-holm•7m ago•1 comments

AI Bubble?

https://economictimes.indiatimes.com/magazines/panache/mit-study-shatters-ai-hype-95-of-generativ...
1•mcmm•8m ago•1 comments

TreeStore: Endowing Your Data with Hierarchical Structure

https://www.blosc.org/posts/new-treestore-blosc2/
1•miohtama•9m ago•0 comments

Are we the ulimate form of AGI?

2•TrietNg•10m ago•0 comments

Men with links to Trump try to infiltrate Greenland

https://www.dr.dk/nyheder/indland/moerklagt/centrale-kilder-maend-med-forbindelser-til-trump-fors...
1•perihelions•12m ago•0 comments

The GitHub website is slow on Safari

https://github.com/orgs/community/discussions/170758
2•talboren•13m ago•1 comments

Executive Order – Improving Our Nation Through Better Design

https://www.whitehouse.gov/presidential-actions/2025/08/improving-our-nation-through-better-design/
2•pseudolus•15m ago•1 comments

Intel's Clearwater Forest E-Core Server Chip at Hot Chips 2025

https://chipsandcheese.com/p/intels-clearwater-forest-e-core-server
2•rbanffy•15m ago•0 comments

Denmark ending letter deliveries is a sign of the digital times

https://www.bbc.com/news/articles/c3v37plv2edo
2•pseudolus•20m ago•0 comments

New Update to Tracker – Manager for Bluesky: Bookmarks

https://blueskyapp.app/
1•pavlostze•20m ago•1 comments

Tips for better image generation in Gemini

https://blog.google/products/gemini/image-generation-prompting-tips/
1•logic_node•21m ago•1 comments

Sotasearch.ai – privacy-first research assistant (100% local)

https://sotasearch.ai/
1•vincenzod•22m ago•1 comments

Collection: The Journal of Computer Game Design (1987-1996)

https://library.gamehistory.org/repositories/2/resources/230
1•kleiba•23m ago•0 comments

AI-generated scientific hypotheses lag human ones when put to the test

https://www.science.org/content/article/ai-generated-scientific-hypotheses-lag-human-ones-when-pu...
1•pseudolus•23m ago•0 comments

Speech-to-text in an open office/co-working space

2•alexoberneyer•25m ago•0 comments

AI 'deadbots' are persuasive – and researchers say, primed for monetization

https://www.npr.org/2025/08/26/nx-s1-5508355/ai-dead-people-chatbots-videos-parkland-court
3•iamben•31m ago•1 comments

Open Source Hackathon 2025

https://osshackathon.com
5•andout_•34m ago•1 comments

Too many model context protocol servers and LLM allocations on the dance floor

https://ghuntley.com/allocations/
1•kiyanwang•35m ago•0 comments

Chinese doctor accused of stealing confidential US-funded cancer research

https://nypost.com/2025/08/26/us-news/chinese-doctor-accused-of-stealing-confidential-us-funded-c...
1•peachmaker•36m ago•0 comments

Context Engineering ( RAG 2.0): The Next Chapter in GenAI

https://medium.com/@ramakrishna.sanikommu/context-engineering-rag-2-0-the-next-chapter-in-genai-4...
1•kiyanwang•36m ago•0 comments

Triangulate the Triangle

https://www.fractalkitty.com/inquiries-week-4-triangulate-the-triangle/
1•aebtebeten•37m ago•0 comments

More than 200k UK workers switch to four-day week since 2019

https://www.theguardian.com/business/2025/aug/23/uk-workers-four-day-week
2•robtherobber•41m ago•0 comments

Benchmarking intimacy in AI chatbots, EU might regulate

https://www.euractiv.com/section/tech/news/is-your-ai-trying-to-make-you-fall-in-love-with-it/
1•Anonboxis•43m ago•0 comments

Scanoss Workbench v1.19.0 – new import/export options, viewer mode, SPDX Lite

1•scanosss•45m ago•0 comments

Ask HN: How to fine tune tiny whisper for Android?

2•Haeuserschlucht•48m ago•0 comments
Open in hackernews

Anonymous structavaganza in Zig

https://lirk.top/blog/structs
45•kallehed•1d ago

Comments

kingstnap•1d ago
> this is just a side-effect of another zig possible feature: removal of unnecessary arguments? I’m not a zigxpert, so I can’t answer.

No, it's not. The way structural equivalence is keyed in Zig was changed (mid 2024) to be keyed on two things:

Source location + Captured constants

The issue for that was raised here.

https://github.com/ziglang/zig/issues/18816

I don't actually think that that's sufficient. It makes more sense, imo, to capture some implicit context. Specifically inline context (so an inlined function or inline unrolled for loop will create a unique struct) and opened an issue here.

https://github.com/ziglang/zig/issues/24931

But it got closed "to make incremental compilation simpler to implement."

I consider it a kinda janky dismissal. I assume some actual reasoning about this is on Zulip / Meeting notes / git commit somewhere, but Idk im not a lawyer doing discovery. I get not designing yourself into a corner, but I don't think you need to be so afraid of sometimes needing to do a full recompile because some changes have viral behaviour.

Anyway, something interesting in your post is that as a side effect, you get to view compilation order in the name.

jamiejquinn•1d ago
Oh did I get frustrated seeing "to make incremental compilation simpler to implement" in the latest 0.15.1 release notes...

I have no doubt incremental compilation will make many large projects easier to compile, and perhaps it really is the future of all compiled languages, but you're right, it's being wielded as a janky dismissal of many good ideas.

kingstnap•1d ago
Maybe maybe not.

Working with / testing systems that have huge input spaces is difficult. You have to stamp out lots of edge cases because the boundary of the space is huge.

Working with systems that both have huge input spaces but also have internal state is exponentially worse. You basically have edge cases to the power of edge cases to deal with.

Simultaneously, it's not always faster / easier to manage deltas in programming. As an example, consider the case of sorting a 1 million element list. How much difference is there between starting from completely scrambled vs. I instead told you it's mostly sorted, but only 1% of elements were out of place.

Its definitely not 99% easier let me tell you that.

tialaramex•15h ago
It's complicated:

https://github.com/Voultapher/sort-research-rs/blob/main/wri...

The left chart there is the proposed (now current) Rust unstable sort, named IPN Sort and the right chart is the old (at the time current) unstable sort

That nice black triangle line going straight up and to the right is random input, a typical input for testing sort performance. Compare those essentially flat lines at the bottom in orange and green, for the easy ascending and descending inputs (sorting them is no work, or trivial as appropriate) and the distinct brown circle s95 which is markedly worse than the black line.

s95 is 95% sorted data, plus 5% random data, which is what you'd see if you:

1. sort container of N Things 2. do work which overall removes about 0.05 x N Things, maybe they're completed 3. add 0.05 x N Things, maybe they're new 4. repeat from step 1

Compared to the usual test workload this is actually more work because indeed it's mostly sorted but the non-sorted parts are far out of position.

The vertical on these charts is mean comparisons per item, that is if we can sort 100 items with total 1000 comparisons, that scores 10 on the vertical axis, the reason to do this is that it's independent of physical realisation. Because the horizontal axis is log size a horizontal line means the sort is O(n) for that class of input, a diagonal means O(n log n) which is what we're hoping for from a sort algorithm.

gooseplusplus•1d ago
I like how this blog post was written.

There are only three things Zig/Jai could do in face of this problem

1. Don't do any memoization at all and just see if the result has been computed before (would be extremely slow and probably dumb)

2. Memoize arguments which can become ingrained with the returned struct (which is what they already do)

3. The only other possible thing would be:

If the function that generates the struct is

  fn generate_struct(p) type {
    struct {
      field_with_default = f(p)
    }
  }
where f(x) could be x*0 (like the example the author gave), it could be just x, it could be "use x to download blah blah blah from the internet", it could be x % 2, etc.

the compiler would have to detect if f(x) is a one-to-one function or not. If it is then strategy 2 can be used safely, if it isn't then you'd have to use strategy 1.

the only issue with this third option is that from trying to read mathematics far beyond my pay-grade it seems like generally determining if any given f(x) is one-to-one is an undecidable problem for functions with unbounded domains and ranges. For functions that have bounded domains and ranges (say, functions that can only operate on integers within 0 and 4 billion) it's easily decidable... if you plug in every possible input and see what comes out.

This would take so much more time than even strategy 1 and I'm not even sure how useful it would really be. Maybe in a much much much more complex codebase that was doing a lot of weird things something like this might become a bug? Idek

So unfortunate as it is, I think strategy 2 is the best option.

scrubs•4h ago
Or reduce scope: don't make it too darn flippin complicated to define structures.
ozgrakkurt•22h ago
I have been using comptime a decent amount in zig and fail to see why this would matter at all.

You create a parameterised type and then use it, it works as expected.