News for hackers. Stuff that matters.

mpartel

Huge spikes over a short period of time are hard to deal with for anyone, and payment processors have their own infra whose scalability Steam can't necessarily control.
Re:Le Chat. Custom MCP Connectors. Memories on Thursday September 04, 2025 @10:58AM (#45128042)
Some LLM APIs let you give a schema or regex for the answer. I think it works because LLMs give a probability for every possible next token, and you can filter that list by what the schema/regex allows next.
Re:The Slang Shading Language on Sunday December 01, 2024 @06:02AM (#42287707)
The design of generics in this one seems rather well balanced in simplicity vs power.

The part about interface-typed values [1] is interesting. They do dynamic dispatch as a fallback when the function is too polymorphic to be be specialized.

In Rust terms it's as if it picks between `dyn` and `impl` automatically. It looks convenient, but also a bit of a non-obvious performance pitfall.

[1] https://shader-slang.com/slang/user-guide/interfaces-generic...

Re:Key Consciousness Connections Uncovered on Thursday May 02, 2024 @05:11PM (#40241410)
I agree in the sense that answering "what really are qualia" may be as impossible as answering "what really are quantum fields". At some point we may be forced to accept "it just is", but that doesn't mean we can't make meaningful progress first, just like in physics.

For instance, either new physics is involved or it isn't. Finding solid evidence for or against it does not seem impossible, and it would definitely constitute meaningful progress, at the very least by ruling some theories out.

Re:Key Consciousness Connections Uncovered on Thursday May 02, 2024 @01:26PM (#40238856)
> Even after mapping the entire visual cortex to all visual features, it just doesn't get us any closer to understanding that raw experience of "sight" that happens when you look at something. It's not the same thing.

Seems plausible that a detailed enough mapping of correlates one day uncovers a single thing/feature/location/architecure/pattern/whatever that is present only when qualia are, and absent in all other processes. That would at least point us in a concrete direction.

Re:Uno: Create Beautiful Cross Platform .NET Apps Faster on Thursday May 02, 2024 @04:12AM (#40233844)
I agree. It's just quite a lot of verbose-looking XML. "I have to write that much XML" is probably not the first impression you want to give. I did scroll down and see that you don't actually have to write such XML by hand, but many will not.
Re:Uno: Create Beautiful Cross Platform .NET Apps Faster on Thursday May 02, 2024 @01:37AM (#40233020)
The rather prominent XML on the front page might scare folks off.
To clarify, dependencies significantly affect incremental builds too. Seems loading information about compiled dependencies into the compiler and/or resolving stuff about them can take significant time.
Compilation times depend very heavily on the amount/size/complexity of dependencies.
Re:Implementing a GPU's Programming Model on a CPU on Sunday October 15, 2023 @09:41AM (#37889644)
The linked github page has a link to a paper.
Re:Hashing on Tuesday June 20, 2023 @12:59PM (#36407000)
Excellent work, again! Your intros somehow elicit the best out of HN too: the comments are always full of interesting angles and variations.

Wanna do quaternions next? :) Many have tried..

Re:Hydroflow: Dataflow Runtime in Rust on Thursday June 08, 2023 @01:31AM (#36237623)
Does it / will it support retractions?
A fanless case would be real nice, and seems theoretically doable.
Re:Go: Redefining For Loop Variable Semantics on Tuesday October 11, 2022 @03:32AM (#33160408)
Several languages have or have had this behaviour. C# made a similar change to its 'foreach' loops a long time ago (but not 'for' loops for some reason).

I suppose it's the natural way to do it when implementing a language and not thinking about it too much. It makes a for-loop equivalent to a simple while loop with the loop vvariable initialized outside of the loop.

Re:Neon – Serverless Postgres on Saturday May 28, 2022 @12:58AM (#31537734)
https://neon.tech/docs/cloud/compatibility/ says "During technical preview Neon has restrictions on user ability to install PostgreSQL extensions. Following PostgreSQL extensions come pre-installed: [..]"
Re:Hush, a modern shell scripting language on Tuesday April 26, 2022 @04:53AM (#31165339)
This is a dynamically typed language. Null makes sense there.

It also makes sense in a statically typed language with union types, think `string | undefined` in TypeScript. The extra layer added by Some/None is not fundamentally necessary for safety.

Re:Framework Laptop Mainboard on Wednesday April 20, 2022 @02:42AM (#31093574)
System76 has done good work on Linux support for (seemingly) similar hardware: https://tech-docs.system76.com/models/lemp10/README.html - some of that might be reusable.
Re:There’s No Such Thing as Clean Code on Friday January 28, 2022 @06:59AM (#30113571)
Some examples of high-level decisions: - which web framework? - which database? which ORM? which transaction isolation level by default? - will this game/UI be multiplayer? - what's our testing discipline?

You can't loosely couple around questions like these most of the time, at last not without excessive abstraction.

For "how do I structure this reasonably isolated 0-1kLOC component", I agree, easy to fix later if needed.

Re:There’s No Such Thing as Clean Code on Friday January 28, 2022 @06:49AM (#30113492)
This is true for early high-level decisions. For every-day coding of smallish components in a large project, it matters much less.

The more code your design decision will affect, the more up-front planning it deserves.

A good chunk of evidence has been summarized here: https://ledger.humanetech.com/
Re:Linux Rust Support on Tuesday July 06, 2021 @07:08AM (#27746746)
If enough people find it interesting enough to follow, why not?
Many similarly depressing results: https://ledger.humanetech.com/

Older »