skysight-inc/HackerNews huggingface dataset:
> - if a struct contains padding, the value of these padding bytes is undefined. What happens if you use such a struct as a key?

It's undefined for uninitialized objects. If I understand correctly, when an initializer is provided the padding bits are set to 0. Additionally, setting the whole chunk of memory to 0 w/ memset would work.

https://stackoverflow.com/a/37642061/24042444

> - how do you make this typesafe against mixing up 2 distinct uses of hashmaps in the application?

Lacking templates, the user of the library could create slim wrapper methods for each type (and coerce to void* to call the underlying hashmap lib); You could still accidentally call the wrong method but it would help a bit. I suppose you could wrap the real hashmap in a new type to help further (so each set of wrapper methods for a given type would be forced to use the same wrapper struct).

Alternatively, the library could provide helper macros to accomplish the same.
The state of Falkon: KDE's browser is much better than you know
'Conan the Bacterium' withstands extreme radiation
Q: Can I use this if I work at a Microsoft Teams enterprise org? Probably not, I'm guessing, but hoping there's a way to make that work somehow.
Same! Some execs get excited about reducing capital expenses for a data center and the teams that manage it. Some CTO gets excited about the flexibility and some legitimate benefits of cloud.

But it ends up costing a shitton of money to switch paradigms completely, and they don't switch paradigms completely for a number of years: If you're just migrating servers to ec2/vpc, you're doing cloud wrong.

Of course, there is the idea of cloud agnostic, or even multi region, which seems a challenge for most places.

At least with terraform, it is theoretically easier to swing configurations over to a different host.
Don't be, physics laws miss interpretation are very quick to correct with a reality check. I'm more worried for kids that have to learn how the world works trough a screen. Just let them play outside and interact with other kids and nature. Let them fall and cry, and scratch and itch, it will make them stronger and healthier adults.
Did you read the article? OP was very clear that OpenWRT fixed the issue in under 3 hours.
I have a small number of very important servers on Hetzner and stories like this make me scared, but I haven't found a cost-effective equivalent for the "Storage Box" product - real block storage. I'm paying €11 a month for 5TB of storage. Is there any competition for that?
Not available in

> the United Kingdom, Switzerland and the European Economic Area. We are working to expand access further in the coming months

Excellent to announce this lack of access after the launch of pro. At least I have no business reason for sora so it's not a loss there so much but annoying nonetheless.
It did have influence. Take a look at Gradle, which is widely used in the JVM space. It uses a general, strongly typed language (Kotlin) to configure it and it has a very sophisticated plugin and modules system for the build system itself, not just for the apps it's building.

Gradle has its problems, and I often curse it for various reasons, but I'm pretty glad it uses regular languages that I can reuse in non-build system contexts. And the fact that it just bites the bullet and treats build systems as special programs with all the same support that it gives to the programs it's building does have its advantages, even if the results can get quite complex.
To be more specific this is the first time we have detected hyper-antimatter of Helium where one of the quarks in the nucleus is an anti-strange quark (an anti-lambda from the article)
Doing much the same thing. Face similar issues.

A lot of the complaints about Starlark as a programming language, and the proposed alternatives, seem to me to miss out on the UX advantages of having pythonic scripting (which so many folks who have taken a random "coding" class understand intuitively) whereas, e.g., using a lisp or lua would not. Further, having a language and runtime designed for safe use is absolutely critical, and trying to embed another runtime (js/wasm) and manage to lock it down successfully, is a much larger undertaking than I think folks realize.
I would wager it’s not uncommon.

But also, the execs are the ones making the business risk decisions. Just make sure they have the correct info to make those decisions, the. Your responsibility is done.
This isn't a great example because buildings do have accidents like fires and floods. If you need business continuity you do plan on having multiple working locations.

Of course an accident is different than just randomly terminating service.
Sounds like another way of saying a picture is worth a thousand words.
This article confuses a bunch of different concepts. For example, the "hierarchies of competence" could be considered what was called "matrix management" back in the day.

But overall the message is pretty clear: is your organization top-down or bottom-up? How do decisions get made, and who gets to make them?
> Also, Altendorf's philosophy of using cameras & ML instead of inductive proximity reminds me of Tesla's philosophy using cameras instead of LIDAR (Waymo).

Kind of seems like the opposite. I could be wrong, but in the case of the saw the cameras/AI are probably more expensive to develop and deploy than the inductive sensing. With the cars though, it's the cheaper option for sure.
You are not overthinking it, moreover, text LLM have the same problem in that they are almost good. Almost. Which is what gives me the creeps.
That one is my favorite computer architecture book. I have a "golden shelf" in my library which contains the books that were most influential during my studies and post-grad / career life.

CO&D is a proud member of that shelf.
Show HN: Travo – A Travel Guide That Reveals Stories Behind Every Place
HunYuan by Tencent. It's 100% open source too.
Dunno if it’s just the timezone difference, but whenever I play, God’s drunk.
Some of those apps are things I want to phone home, like the system I have that is supposed to dial my thermostat back automatically (as well as back up again).

When these are the tasks that are killed, it costs me more than whatever precious bodily fluids that some ad/tracking/analytics stuff may sap: It costs me real money.
I actually thought the number of logical qubits needed was around 20 for factorisation as the state space size is 2^(2^n) and hence did not recognise them as the number of logical qubits required. It is often misunderstood that error correction needs to be done only once, as with classical quantum computers, and the numbers would fit together with one pass of error correction.

The Shor's algorithm requires binary encoding; hence, 2048 logical qubits are needed to become a nuance for cryptography. This, in turn, means that one will always be easily able to run away from a quantum adversary by paying a polynomial price on group element computations, whereas a classical adversary is exponentially bounded in computation time, and a quantum adversary is exponentially bounded with a number of physical qubits. Fascinating...
I find that communities like these are far too focused on "TECHNICALLY CORRECT". Like, yeah, there are some things that technically are faster and cheaper than a Raspberry Pi, like that ebay special or that Alibaba-only SBC that's a direct copy of orange pi, or whatever.

But when it comes to things you can't glean from spec sheets, they utterly fail. Like the most important thing: the human experience. Like when it comes to Pi competitors, nothing even comes close to the Pi in having such an ecosystem of learning resources. I personally really appreciate the MagPi magazine as it's a great source of inspiration.
I never understood that urge of people to do "fan pages" (or fan anything, without the permission of the original creator) while at the same time blatantly ripping content.
They can't, because the restrict keyword in C is a huge footgun. This isn't manual vectorization. The Rust compiler is emitting noalias everywhere, which allows LLVM to autovectorize more of the codebase without the developer having to do anything special like use a SIMD library or intrinsics.
brain stormed with 4o game ideas in the end i wanted a floofill tetris game

1 o1 prompt for an outline of detailed game concept

3 o1 prompts until a pretty finished game

way to many prompts to get a pretty css that works responsive, too

then a few prompts to add extra special cells

all in all half a day

i used chatgpt pro mode as the o1 prompts done time out sp easily amd the fact that i can use it unlimited lets me create these projects without scarcity
thought restrictions
The wikipedia page you mention says that "The common use of the term pension is to describe the payments a person receives upon retirement, usually under predetermined legal or contractual terms."

I'm familiar with retirement accounts and pension plans in a number of countries but not in the UK. I see that in the UK "pension" is often used a short-hand for "pension scheme" (it seems a relatively new development which I've not seen reflected in dictionaries).

For what it's worth, the wikipedia page for Personal_pension is redirected to Personal_pension_scheme: "A personal pension scheme (PPS), sometimes called a personal pension plan (PPP), is ..."
Is it really moot today given the current geopolitical landscape? I would assume not given they're based in Germany.
I'm curious - what about it strikes you that way?

To my eyes, starlark bears more resemblance to YAML, or TOML, or any other generic configuration language, than to Python.
What are the properties of this? Any cool applications?
> they are simply not a stable foundation to build on.

They're a budget host, you should always proceed with caution and never rely on for production. It's the same as buying a second hand eBay server to host users upon. I learnt that the hard way.

> Hetzner, the ball is in your court.

Not really. If you read the T&C, you'll find that they can do anything with the server.

From their T&C:

2.7. Furthermore, we reserve the right to terminate the contractual relationship without notice for good cause.

--

Any server with any company can do the same. There's been numerous stories of Amazon has doing the same. Same with Google.

Unless it's colocation or where you own the hardware you can be screwed in many ways.

I would never trust a dedicated server host.
Either that or tossing out hooks to see if people are acclimated to the no privacy lifestyle enough that they actually start doing it.
ok, so gpt pro with some extra power and sora. This means that gtp5 and generally speaking AGI can wait
Anything. Everything. In domains where the search space is small enough to physically enumerate and store or evaluate every option, search is commonly understood as a process solved by simple algorithms. In domains where the search space is too large to physically realize or index, search becomes "intelligence."

E.g. winning at Chess or Go (traditional AI domains) is searching through the space of possible game states to find a most-likely-to-win path.

E.g. an LLM chat application is searching through possible responses to find one which best correlates with expected answer to the prompt.

With Grover's algorithm, quantum computers let you find an answer in any disordered search space with O(sqrt(N)) operations instead of O(N). That's potentially applicable to many AI domains.

But if you're so narrow minded as to only consider connectionist / neural network algorithms as "AI", then you may be interested to know that quantum linear algebra is a thing too: https://en.wikipedia.org/wiki/HHL_algorithm
Nice work, and well explained. Thanks.
Miso ramen soup is the easiest to make well, but you need to buy the one with kogi, then add sesame oil and some black sesame. It will get you 70% there in 5 minutes. They can still love Japan while in china
I wonder if this includes Boot Camp, finally.
<https://www.butajape.com/comic/new-girlfriend/>
Here's the obligatory AI enthusiast answer:

What is physics besides next token/frame prediction? I'm not sure these videos deserve the label "inaccurate" as who's to judge what way of generating next tokens/frames is better? Even if you you judge the "physical" world to be "better", I think it's much more harmful to teach young children to be skeptical of AI as their futures will depend on integrating them in their lives. Also, with enough data, such models will not only match, but probably exceed "real-physics" models in quality, fidelity, and speed.
We've avoided that in various shops by making backups/restores part of regular maintenance processes. How do we upgrade the database? By stopping it, backing it up, restoring that to the new server, pointing all code at the new DB, then turning off the old server.

As with code deployment, it's not so scary when it's something you do so frequently that it's just a little script you run.
This is useful, thanks. I should've done it on my own. And checking the consistency of passes would be a good idea too. If you don't mind, I'll update my blog post to include your overlaid image.
But isn’t the main value of Bitcoin is that it is mathematically limited in quantity? It will inevitably be scarce and the price should go up albeit not as fast. Surely it will go up or down based on speculation, but that would more dependant on how risk averse the market is at the moment, do people want stable scarce resource or do people something more quickly growing. So for me Bitcoin is getting more similar to gold, am I missing something?
You make a good point. I'm just spitballing here, but I think what sets generative art apart for me is the element of deception.

I'd be perfectly fine with a hypothetical world in which all generated art is clearly denoted as such. Like you said, art is in the eyes of the beholder. I welcome a world in which AI art lives side-by-side with traditional art, but clearly demarcated.

Unfortunately, the reality is very different.

AI art inherently tries to pass off as if it were made by a human. The result of the tools released in the past year is that my relationship with media online has become adversarial. I've been tricked in the past by AI music and images which were not labelled as such, which fosters a sort of paranoia that just isn't there with the examples you mentioned.
That argument can and probably was pointed towards movies with color, movies with audio before that, comics, movies without audio, books, etc.

I don’t think that slippery slope holds up.

IIRC there’s pretty solid research showing that even children beyond the age of 8 can tell the difference between fiction and reality.
> If the liar owns no hats the statement “All my hats are green” would be true.

Color of non existing object is undefined.

The correct solution is:

!(all && my && hats && are && green) == !all || !my || !hats || !are || !green.
https://man.archlinux.org/man/himalaya.1.en
Attribute Extraction from Images Using DSPy
> “No, no,” said God, “it was really tough. More than 10^35 legal positions

God should know there are approximately 4.8*10^44 legal positions [1].

> Secondly Ken was predicting that the game of chess was a draw, i.e. that probably a majority of all legal positions, including the starting position, would lead to a draw with perfect play.

Only the latter is what the game being drawn means. The majority of legal positions is in fact overwhelmingly to one side's advantage, as is clear from sampling a few dozen random legal positions.

[1] https://github.com/tromp/ChessPositionRanking
this is why I come here.

It's crazy that it took so long for women to walk upon the stage, but even crazier, that once they did, they put on entire plays acted by only women in such short a time.
Please report back and try.*
One interesting thing most people don’t think about is if you want to get rid of all nuclear bombs, what do you do with the existing materials? Sure, you could bury it in by ground, but what else?

The most successful deproliferation program has been Megatons to Megawatts[0]. Where they took warheads and converted the material into nuclear reactor fuel. It’s not just more efficient but has other advantages like in helping strengthen belief in decommissioning. If you toss it into a secret mountain it’s hard to know how much was actually stored. But burning fuel is measurable and so is the enrichment process, so it’s noticeable when a country is making weapons vs fuel (there’s a lot more nuance to this, but this is even part of the compromises made in The Iran Deal. This is a HN comment do not enough but maybe AcidburnNSA will show up and fill in the details).

[0] https://en.wikipedia.org/wiki/Megatons_to_Megawatts_Program

Side note: it is fucking 2024, why am I still removing the m from the URL for Wikipedia and you can’t figure out if I’m on desktop or mobile, like every site does
I self host on an NAS at home with a free Cloudfront CDN on top; it's really easy to do and for simple websites (including dynamic ones backed by an sqlite db) that don't receive excessive traffic, it works well and is almost free (since the NAS would be on in any case).

Of course it wouldn't work for all cases but I find it beats having a vps somewhere that can be taken down for no reason at all.
This is why the primary bank regulator in Australia (APRA) have insistent that banks meet their CPS230 obligations by being multicloud. There's a lot of push back on it (especially from AWS), but it's a significant risk if you're leasing all your infra.
If you watch the OpenAI announcement they spend most of their time talking about the editing controls: https://www.youtube.com/watch?v=2jKVx2vyZOY
I doubt responsibility is a concern, GP just doesn’t enjoy being a part of the shit show
>It lends credence to the notion that quantum computation occurs in many parallel universes, in line with the idea that we live in a multiverse, a prediction first made by David Deutsch.

Makes sense, or doesn't it? What's your take on the multiverse theory?
I mean look, it was an arbitrary example I gave and not a very good one apparently. The bulk of these comments are all focusing myopically on that which is a bummer as it distracts from the point I’m trying to make. Managers need to be willing to have hard conversations and most new ones don’t.

I believe strongly in a blameless culture when it comes to bugs and such. The example I gave doesn’t really honor that. I can’t edit it unfortunately. I do stand my my larger point however.
Ask HN: Recommendation for Front End development sources for Back end Developer
Hi - I’m an experienced backend developer (in Java) and wanted to quickly build a few SaaS ideas over the holidays. I lack when it comes to FrontEnd development and there seems to be plenty of options.

Any recommended books/courses for someone in my position? I am trying to avoid the beginners 101 and learn javascrip intros (looking for something more advanced).
Thank you! We generally try to stay in line with the supported versions of the technologies we use: Postgres, NodeJS, Redis, etc.

For Postgres in particular, part of the motivation for doing this upgrade when we did was (besides the very meaningful performance improvements) is that Postgres 12 will no longer be supported by Aurora after February 25, 2025.[0]

Officially, Medplum v3 (our current newest version) requires Postgres 12+. We're just about to release v4 which will support 13-17 based on the support dates published by Postgres[1]. We're still finalizing more formal documentation on our versioning strategy going forward.

[0]. https://docs.aws.amazon.com/AmazonRDS/latest/AuroraPostgreSQ...

[1]. https://www.postgresql.org/support/versioning/
this assumes the position that the pre-eminence of the even-tempered music based on european art music traditions and the associated staff notation. this is extremely limiting when considering the breadth of music that exists in the real world.

this is a theory of music, and while most pedagogy will reinforce the special position of this system, it is not THE theory of music. there are alternative systems of notation. there are harmonic systems that incorporate tones that do not exist in even tempered western scales. there are drumming traditions that are taught and passed down by idiomatic onomatopoeia.

this is especially apparent in electronic music where things like step sequencers obviate the need to know any western music notation to get an instrument to produce sound.

the western classical tradition is a pedagogically imposed straight jacket. its important to keep a more open mind about what music actually is.
Show HN: HEXPlore – A Collaborative Hex Viewer
Got the same. Glad it was early before I lost production systems.

> Dear Mr David Allison

> After reviewing your updated customer information, we have decided to deactivate your account because of some concerns we have regarding this information. Therefore, we have cancelled all your existing products and orders with us.

> Best regards

> Your Hetzner Online Team
Interesting, I would think that having OptionExt in scope would make it clear which method to use.
Makes me feel free as in speech. My acorn electron didn't phone home. It was home.

There is the video that mocks mongodb because it returns success before the data is persisted. Try writing your data to a cassette tape ;)
Apparently a publicity stunt by the company that has worked spectacularly well.
> you just need to design your infrastructure in a cloud-agnostic way

But that's one helluva "just", and also means that you can't use the platform-specific features that make life easier. In practice that's probably way more expensive than spinning some testing VPSes up and down.
Glicol looking super cool! Reminds me of ChucK
https://chuck.cs.princeton.edu
ChessBase is a horrible program and you don’t need it to get your own tablebases. You can generate your own with:

https://github.com/syzygy1/tb

But everything up to 6 pieces is on BitTorrent these days. The 7 piece tablebase is 20TB or so, so it’ll be a few years before you can fit that one your phone. Pretty sure Lichess has an API for that. Never tried to hook it up to Stockfish or Leela though.
Dashiell Hammett was a Pinkerton before getting Spanish Flu and becoming ill and switching to writing fiction to make money.
I think this is a reasonable take. It might be a stupid decision, but it's at least consistently stupid.
It’s actually shown in the Wikipedia article: https://en.wikipedia.org/wiki/Kalman_filter#Details
It decays in under a nanosecond. A reality of all exotic matter research is that it is exotic almost always because it cannot exist in a stable manner for longer than a second.

The vast majority of applications, if any, will be extremely niche sensing applications. They are useful to further probe the edges of our knowledge of physics and look at the corner cases where our models give confused shrugs and odd answers.

It's not going to power a warp drive.
> Everyone doing anything with RSA is on 4k or larger.

The Let's Encrypt intermediate certificates R10 and R11 seem to be only 2048 bit.