frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Stack2Flat

https://Stack2Flat.com
1•kalokagathia•36s ago•0 comments

'Inflammaging' Drives Cancer–and Points to New Treatments

https://www.wsj.com/health/inflammation-cancer-rates-treatment-542513e7
1•voisin•2m ago•0 comments

Ask HN: Would you hire a dev who offers 1 day of work up front, no commitment?

1•codebytrial•3m ago•0 comments

Success can feel so close but so infinitely far away (2023)

https://blurry.substack.com/p/how-success-can-feel-so-close-but
1•thoughtpeddler•5m ago•0 comments

Diabolus Ex Machina

https://amandaguinzburg.substack.com/p/diabolus-ex-machina
1•bryanrasmussen•7m ago•0 comments

I have slightly longer timelines than some of my guests

https://www.dwarkesh.com/p/timelines-june-2025
1•aberoham•8m ago•0 comments

Ask HN: Since AI, do you feel less attached to your code? (as a craft)

1•benguild•8m ago•0 comments

The past, present and future of virtual environments in Python [video]

https://www.youtube.com/watch?v=CV8KRvWKYDw
1•vismit2000•8m ago•0 comments

"AI will replace all the jobs " Is Just Fluff

https://sparktoro.com/blog/ai-will-replace-all-the-jobs-is-just-tech-execs-doing-marketing/
1•arlattimore•8m ago•0 comments

Alasdair MacIntyre, Philosopher Who Saw a 'New Dark Ages,' Dies at 96

https://www.nytimes.com/2025/06/02/books/alasdair-macintyre-dead.html
1•paulpauper•9m ago•0 comments

Ask HN: Do indie bio labs and projects exist in modern genetic engineering?

1•speakfreely•10m ago•0 comments

My days collecting Mexican art, part I

https://marginalrevolution.com/marginalrevolution/2025/06/my-days-collecting-mexican-art-part-i.html
1•paulpauper•10m ago•0 comments

Physicality: The New Age of UI

https://www.lux.camera/physicality-the-new-age-of-ui/
2•tambourine_man•24m ago•0 comments

Yes or No Wheel

https://quickdecide.xieyonglin.com/wheels/yesorno/
1•ishowcode•24m ago•0 comments

Good Startup Communication

https://substack.gauravvohra.com/p/good-startup-communication
1•gauravvohra•33m ago•0 comments

Show HN: Radiant – Analyze a business's online presence

https://www.getradiant.me/analyzer
3•adi4213•37m ago•0 comments

Love Bomb: AI Is Coming for Our Relationships

https://centerforhumanetechnology.substack.com/p/intimacy-in-the-age-of-ai
2•mitchbob•38m ago•0 comments

Red Language Reference Manual

https://www.iment.com/maida/computer/redref/index.htm
1•todsacerdoti•41m ago•0 comments

GenAI Startups for Hedge Funds

https://magis.substack.com/p/genai-for-hedge-funds-startups
1•izyda•53m ago•0 comments

Meta's AI Slop Will Make Ads Creepier and Worse

https://www.bloomberg.com/opinion/articles/2025-06-03/mark-zuckerberg-s-ai-slop-is-coming-to-ads
3•petethomas•56m ago•0 comments

Insilico Announces Nature Publication for Rentosertib Designed with AI Approach

https://www.nature.com/articles/s41591-025-03743-2
1•tiberiusg•56m ago•1 comments

Show HN: I turned my infrastructure into a tab

https://swiftor.io
1•furaar•1h ago•0 comments

ApiFlux – A Visual Playground to Build and Debug API Workflows

1•Shubham_APIFLUX•1h ago•1 comments

I created a curated list of AI agents for consumers and developers

https://www.agentrank.tech
2•hughmcinnis•1h ago•1 comments

Don't know if your business idea will have traction? stop waiting and find out

1•dopeylime•1h ago•0 comments

Big Tech's AI Endgame Is Coming into Focus (an everything app)

https://www.theatlantic.com/technology/archive/2025/06/everything-app-big-tech-ai-endgame/683024/
5•petethomas•1h ago•1 comments

FFmpeg Merges WebRTC Support

https://github.com/FFmpeg/FFmpeg/commit/167e343bbe75515a80db8ee72ffa0c607c944a00
11•Sean-Der•1h ago•0 comments

Friendship rather than romance protects better from depression

https://www.psychologytoday.com/au/blog/living-single/202505/which-protects-best-from-depression-friendship-or-romance
3•nreece•1h ago•0 comments

Malicious RubyGems pose as Fastlane to steal Telegram API data

https://www.bleepingcomputer.com/news/security/malicious-rubygems-pose-as-fastlane-to-steal-telegram-api-data/
3•feross•1h ago•0 comments

Lodestar Multipliers in Delaware and Federal Attorney Fee Awards

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5237545
3•ckrailo•1h ago•0 comments
Open in hackernews

Reducing Cargo target directory size with -Zno-embed-metadata

https://kobzol.github.io/rust/rustc/2025/06/02/reduce-cargo-target-dir-size-with-z-no-embed-metadata.html
52•todsacerdoti•1d ago

Comments

KolmogorovComp•1d ago
> Currently, it seems like it might be considered to be a backwards compatibility break though, as the Cargo team is unsure if some people weren’t relying on the metadata being present in the .rlib files

It seems wild to consider such intermediate files as part of public API. Someone relying on it does not automatically make it a breaking change if it’s not documented.

saghm•1d ago
This metadata has been around for years, and Rust releases new versions every six weeks. Whether or not it's technically a "breaking change" or not, it's not unreasonable to spend a likely time to figure out if something will break for someone if they remove it; it's only another month and a half at most before the next chance to stabilize it comes.

At a higher level, as much as it's easier to pretend that "breaking" or "non-breaking" changes are a binary, the terms are only useful in how they describe the murkier reality of how people actually use something. The point of having those distinctions is in how they communicate things to users; developers are promising not to break certain things so that users can rely on them to remain working. That doesn't mean that other changes won't have any impact to users though, and there's nothing wrong with developers taking that into account.

As an analogy, imagine if I promise to mow your lawn every week, and then I mow your neighbor's lawn as well without making them the same promise. I notice that my old mower takes a long time to finish your lawn, and I realize that a newer electric mower with a higher power usage would help me do it faster. I need to make sure that higher power usage is safe for me to use on your property, but I'm not breaking my promise to you if I delay my purchase to check with your neighbor about whether it would be safe for theirs as well and take that into account in my decision. That doesn't mean I'm committing to only buying it if it's safe for their lawn, but it's information that still has some value for me to know in advance, and if it means that your lawn will continue to get cut with the old mower while I figure that out, it doesn't mean that I'm somehow elevating the concern of their lawn to the same level as yours. You might not choose to care about the neighbors lawn in my position, but I don't think it's particularly "wild" that some people might think it's worthwhile to take it into consideration.

wyldfire•1d ago
Hyrum's law:

> With a sufficient number of users of an API, it does not matter what you promise in the contract: all observable behaviors of your system will be depended on by somebody.

ronsor•1d ago
This is why you should randomize all behaviors which should not be depended on. Change things quickly and often if you're not making any promises.
drdaeman•1d ago
While I can imagine some edge cases where this approach can be meaningful, isn't that generally counterproductive?

Not only one has to be actively aware about all the behaviors they don't document (which is surely not an easy task for any large project), they have to spend a non-negligible amount of time adding randomness to it in a way that would still allow all the internal use cases to work cohesively. This means you spend less time on doing something actually useful.

Instead of randomizing, it should be sufficient to just figure out the semantics for clearly communicating what's the public APIs and stable, and what's internal and subject to change at whim. And maybe slap a big fat warning "if something is not documented - it's internal, and $deity help you if you depend on it, for we make no guarantees except that it'll break on some fine day and that day won't be so fine anymore". Then it's not your problem.

evertedsphere•1d ago
until the day when the person/project/company whose code it breaks has a sufficient amount of pull over you/your team that it becomes your problem

that's why you prevent it from ever coming into existence if you can

madars•1d ago
TLS does this with GREASE (Generate Random Extensions And Sustain Extensibility) - https://www.rfc-editor.org/rfc/rfc8701.html . HN discussion: https://news.ycombinator.com/item?id=39416277 (19 points, 8 comments)

Go's implementation of JSON format for protobufs also does this: https://protobuf.dev/reference/go/faq/#unstable-json

> To avoid giving the illusion that the output is stable, we deliberately introduce minor differences so that byte-for-byte comparisons are likely to fail.

koito17•1d ago
Go also randomizes the iteration of map keys, to emphasize that maps are unordered and code should not rely on insertion order. For demonstration:

  package main
  
  import "fmt"
  
  func main() {
    m := map[string]int{"a": 1, "b": 2, "c": 3}
    for k, _ := range m {
      fmt.Println(k)
    }
    for k, _ := range m {
      fmt.Println(k)
    }
  }
Sample output:

  c
  a
  b
  a
  b
  c
Each run may produce different key orders.
metaltyphoon•1d ago
I was under the assumption most languages to this.
db48x•1d ago
Very few do, and only quite modern ones. Although I believe there are hashtable libraries where the iteration order is unspecified but generally consistent, only changing when a resize shuffles the elements into different buckets.
keybored•1d ago
Certain discussions on HN are just diagrams thanks to Laws(tm) and various one-liner tier references.

- Hyrum’s Law (85%)

- Emacs spacebar overheating (15%)

The only way to prevent the decision diagram is to anticipate them and spell them out in the last paragraph. But on the other than that doesn’t very fun right.

keybored•21h ago
> But on the other than that doesn’t very fun right.

When you write something an hour after your bedtime.

epage•1d ago
> It seems wild to consider such intermediate files as part of public API. Someone relying on it does not automatically make it a breaking change if it’s not documented.

To find what is considered an intermediate vs a final artifact from cargo, you need to check out https://doc.rust-lang.org/cargo/reference/build-cache.html

We are working on making this clearer with https://github.com/rust-lang/cargo/issues/14125 where there will be `build.build-dir` (intermediate files) and `build.target-dir` (final artifacts).

When you do a `cargo build` inside of a library, like `clap`, you will get an rlip copied into `build.target-dir` (final artifacts). This is intended for integration with other build systems. There are holes with this workflow though but identifying all of the relevant cases for what might be a "safe" breakage is difficult.

merb•1d ago
https://xkcd.com/1172/

I mean yeah, some things are awkward. But well some people rely on things. And I mean it’s still possible to make the new behavior the default and add a switch to not have the metadata