skysight-inc/HackerNews huggingface dataset:
I have tried running the example in the examples folder, but it fails to compile.
Seeing the errors:

/opensource/implot3d/implot3d.cpp:2650:20: error: no member named 'sin' in namespace 'std'
2650 | float s = std::sin(half_angle);
| ~~~~~^
/opensource/implot3d/implot3d.cpp:2654:14: error: no member named 'cos' in namespace 'std'
2654 | w = std::cos(half_angle);
| ~~~~~^
/opensource/implot3d/implot3d.cpp:2670:14: error: no member named 'fabs' in namespace 'std'
2670 | if (std::fabs(normalized_dot - 1.0f) < epsilon) {
| ~~~~~^
/opensource/implot3d/implot3d.cpp:2680:14: error: no member named 'fabs' in namespace 'std'
2680 | if (std::fabs(normalized_dot + 1.0f) < epsilon) {
| ~~~~~^
/opensource/implot3d/implot3d.cpp:2682:45: error: no member named 'fabs' in namespace 'std'
2682 | ImPlot3DPoint arbitrary_axis = std::fabs(v0.x) > std::fabs(v0.z) ? ImPlot3DPoint(-v0.y, v0.x, 0.0f)
| ~~~~~^
/opensource/implot3d/implot3d.cpp:2682:63: error: no member named 'fabs' in namespace 'std'
2682 | ImPlot3DPoint arbitrary_axis = std::fabs(v0.x) > std::fabs(v0.z) ? ImPlot3DPoint(-v0.y, v0.x, 0.0f)
| ~~~~~^
/opensource/implot3d/implot3d.cpp:2695:24: error: no member named 'acos' in namespace 'std'
2695 | float angle = std::acos(normalized_dot);
| ~~~~~^
/opensource/implot3d/implot3d.cpp:2697:20: error: no member named 'sin' in namespace 'std'
2697 | float s = std::sin(half_angle);
| ~~~~~^
/opensource/implot3d/implot3d.cpp:2701:16: error: no member named 'cos' in namespace 'std'
2701 | q.w = std::cos(half_angle);
| ~~~~~^
/opensource/implot3d/implot3d.cpp:2707:17: error: no member named 'sqrt' in namespace 'std'
2707 | return std::sqrt(x * x + y * y + z * z + w * w);
| ~~~~~^
/opensource/implot3d/implot3d.cpp:2786:26: error: no member named 'acos' in namespace 'std'
2786 | float theta_0 = std::acos(dot); // Angle between input quaternions
| ~~~~~^
/opensource/implot3d/implot3d.cpp:2788:28: error: no member named 'sin' in namespace 'std'
2788 | float sin_theta = std::sin(theta); // Sine of interpolated angle
| ~~~~~^
/opensource/implot3d/implot3d.cpp:2789:30: error: no member named 'sin' in namespace 'std'
2789 | float sin_theta_0 = std::sin(theta_0); // Sine of original angle
| ~~~~~^
/opensource/implot3d/implot3d.cpp:2791:21: error: no member named 'cos' in namespace 'std'
2791 | float s1 = std::cos(theta) - dot * sin_theta / sin_theta_0;
I've used this in a few systems, using (in my case) nbconvert.

As I write more code, I increasingly find the most important thing about tests early on is that they are easy to write and maintain. The help that, I find one of the best 'quick test suites' is "run program, save output, run 'git diff' to see if anything changes".

This has several advantages. If you have lots of small programs it's trivial to parallelise. It's easy to see what outputs have changed. It's very easy to write weird one-off special tests that need to do something a bit unusual.

Yes, eventually you will probably want some nicer test framework, but even then I often keep this framework around, as there will still often be a few tests that don't fit nicely in whatever fancy testing library I'm trying to use (for example, checking a program's front end produces correct error messages when given invalid input).
The string representation is obviously not structured, because it's a string representation and strings are scalars. The typed representation is structured, which you can put into your structured logs as you'd like, omitting sensitive information where needed.
I, and pretty much all the rest of the class was accused of AI-plagiarization due to TurnitIn flagging it. Since our given task was to write about some niche article quite specific to our profession, TurnitIn flagged any mentions of author names or article titles because some class in the UK had received a similar assignment, where they apparently had to write about the same article.

Therefore by doing as you were instructed and referencing to the article as instructed you would fail the task automatically.
Except, you can't sync the iphone's passkey with non apple products. And it's still tied to your apple ID, which uses a password. This in theory, defeats part of the point. (It's definitely better than the alternative though)

For android, the passkey is clone-able iirc, but again, it's an expensive smart device.

So now I am expected to have at a minimum, two use-able smart phones, per family member.
Iphone? Frankly, fuck that shit. Too expensive.

Android, I can manage it. But doing that for all family members is not financially viable.

Also I do use a password manager and an encrypted text file. (Not smart, I know. The file is basically a backup)

But I really cannot expect people like my mother to understand how to set up a passkey. Much less, how to setup multiple for the off chance one is lost. Add onto the fact that Yubikey does not support twins, and many services do not support multiple passkeys.

In terms of computer literacy, using my mother as a baseline (Age:Mid50s) the current passkey system is non-viable.
thanks! (in particular, for updating the "ℕ is a total order" for Lean 4)
Agentic Workflows: Paving the Path Towards AGI
I'm assuming you may be trolling me, but no, that can't realistically be done.
Caught by Google Street View While Transporting a Dismembered Body in Spain
The view of the chinese researcher is in line with the Multiregional origin hypothesis of modern humans, where asian humans may partially come from asia. So his reply is not surprising.

https://en.wikipedia.org/wiki/Multiregional_origin_of_modern...

Instead, the article follow the Out of Africa origin, and therefore did not explain the old chineses and autralian remains. The article try to explain this by saying than it's because this lines where extincts or than the dates are wrong, but this explanations are not very convincing.
'tis an xkcd: https://xkcd.com/1172/
Hibernate has `JOIN FETCH()`, Django has `select_related()`, Entity has `Include()` and so on ...
Sure!

If you've encountered some then please share!
> The other TSMC facility in Kumamoto (pop. 738k) on the other hand is 2 hours from the nearest big city, Fukuoka (2.5 mil). Kumamoto is actually a less tenable location for talent.

To be blunt, this is a ridiculous comparison. Kumamoto is a large city in its own right, with a very high quality of life. It may not be as close to Fukuoka, but it offers plenty for residents itself.

On the other hand, Chitose, while close to Sapporo, is much smaller and doesn't offer the same level of living quality. Sapporo itself, though big, is pretty isolated compared to other parts of Japan, too.

Also most people would probably prefer the milder, more temperate weather of Kyushu over Hokkaido's harsh winters.
A very good resource that delves deeper into this is The Science of Well-Being course on Coursera (https://www.coursera.org/learn/the-science-of-well-being) by Laurie Santos, a cognitive scientist and professor of psychology at Yale University. Highly recommended.
Whenever these get posted I always play with it a bit, then look at the scroll bar and notice I'm about 10% through, if that. Has anyone ever read one of these to the bottom?

I guess in my mind this is just entertainment. I enjoy the visuals and interactivity, and marvel at the technical implementation, but I don't need to spend hours going through it. The only reason I would is if I actually wanted to learn this stuff, but so far nothing has come up that I need/want to learn at that level of detail.

I guess my question is, is this actually useful for education? Has anyone felt like they've really learnt something (ie. they could teach it to other people), after reading through one of these?
i'm ready to buy a 2027 HN GR GTR in NISMO trim.
> https://anvil-editor.net/ is more directly inspired by and similar to Acme (but makes no attempt to borrow from Vim).

Wow, I didn't think there is still open source software around that isn't hosted on GitHub or another code hosting platform. And the page also makes it very hard to tell if the project is still active, the only date I could find was in the license (2019). I actually had to download the latest version and look inside the archive to see that it's from November 2024...
Vexxa AB – Digital Marketing and Web Development Agency
Vexxa is a full-service digital agency with a passion for sustainable growth.

Our goal: to accelerate your growth, strengthen your position in the market and deliver measurable results that not only meet but exceed your expectations. We work closely with our clients, designing more than just strategies, websites and content - we create memorable digital experiences that engage visitors and convert them into quality leads.

Welcome to Vexxa, we take your business from vision to reality, where every click and every interaction is an opportunity. This is where the future is built - one lead, one keyword, one line of code at a time.
even though I do not like it too much, i think i will have to pry apart the MPQ files into it's distinct parts, and write them down to the filesystem individually (and then deleting the original file) - basically what i wanted to do with the extents, but instead have them as distinct files.
this then can be reversed via script to assemble the original archive file on demand to get a byte-by-byte equal file again.
writing the parts down to the filesystem will cause the parts to be properly block aligned, and be able to be hardlinked, if they exist multiple times on the filesystem - this cuts down on metadata even more and also boosts performance when doing block/extent deduplication, since a single inode is only processed once in most proper deduplication programs.

the MPQ files range from a few MiB to around 2.5 GiB.
since the access should be rather fast, pairing them as an archive file is not an option for me.

thanks about the hint of the merkle trees, i will read up on what that is... always good to know about different approaches to a problem :)
I'm not sure what the opacity is for me, I think higher than 2%, but I wouldn't necessarily describe it as low opacity, it's more like very low frame rate of the actual image vs everything black. Or sometimes it's off color like grayish blueish instead of colorful.

I also have to focus hard. When I look at an object and then I close my eyes, if I put effort in I can see it blinking fast between black and the object and then black smoothly becoming more and more dominant, but it's longer than a second, and I guess how long depends on how much effort I put in.

I'm also terrible at real life 3d things and remembering how to navigate without GPS, or remembering places.

> I remember in meditation guides when they tell you to imagine you are on the beach and whatnot, I always assumed this is figure of speech.

I kind of also thought it was figure of speech, I do feel like I can get some sort of low imagery to black framerate going on if I imagine penguin in a snow cave, but it takes so much effort it doesn't feel pleasurable or worth doing. I never understood counting sheep either, thought it was some sort of joke.

I wonder how much miscommunication or misunderstanding there is between people, because everyone assumes they process things in the same way.

Also I wonder when saying disgusting, shocky or dark humor related things, it seems nothing to me since it's just words, but I wonder if it offends or shocks some people so much because they get the actual imagery.
A lot of commentators bring up the question of what if Ding had not blundered under time pressure in the last game. This overlooks the fact that Ding systematically struggled with time management and was under immense time pressure practically every game. Similar to how you can only cry wolf so many times, if you're always out of time, something's gotta give at one point. What was surprising to me was that blunders like that didn't happen more often.
Very popular:

2022 (669 points, 238 comments) https://news.ycombinator.com/item?id=31830046

2020 (1518 points, 367 comments) https://news.ycombinator.com/item?id=22748247
It's quite concerning that they had at least two things go wrong at once, each without a backup plan. What happens now? Is something like an FAA investigation going to happen, or is SpaceX not under any kind of regulatory control in this regard?
No u need includes because when u do a.b.c u forgot to includes. It is the api problem for letting u chaining the related objects without including it.
Maybe you should read the various iterations of the design before you assume it dropped from the sky as-is.
422 is frequently used for this case despite being part of the WebDAV extensions.
Matrix was invented because XMPP was getting too complex.

Are we once again at a point where it's time to start over?

A federated asynchronous group chat protocol with modern e2e encryption for desktop and mobile use (thus, not always online) is impossible to build without a faire share of complicated corner cases.
Disney had previous experience in that kind of tough laundry.
327 arrested operation-poweroff.com
Hydrogen is just greenwashing for natural gas. No CO2 at the point of use .. but it's dumped into the atmosphere somewhere else when the hydrogen is made from natural gas.

You can make it from electrolysis, but it's much more expensive to do so, so that won't happen.
Yes, mitxela [1] is nuts.

[1]: https://mitxela.com/projects/candle
Community Fork of Puppet
> It's just that instead of measuring those bugs in hours, they don't even exist to be measured.

hours beautifully wasted configuring, updating, getting beaten by a myriad of build tools, configs, breaking changes, wrong/any types all everywhere. No, thanks.
prying apart the MPQ file into it's parts and writing them down to disk is at the moment probably the strongest contender for my solution.
it will cause the parts to be block aligned, be able to be hardlinked and cut down on metadata and improve performance (same inode when hardlinked).
only thing i need in this case is to have a script to reassamble those extracted ones into the original MPQ archives, which have to match byte-by-byte to the original content ofc.
extracting them into it's distinct parts also allows to access the contents directly, if so desired, without needing to extract them on demand (some people wanna look up assets in specific versions).
these distinct parts can then additionally be deduplicated on block level as well.
These outcomes are marginal in many interpretations, but they are certain to happen in MWI (since all possible results of the wave function actually happen).

And the point I was trying to make is that, if you don't postulate the Born rule in addition to the Schrodinger equation, then you don't even have a way to say that this "happens for fewer observers". But then, if you do have to postulate the Born rule, then the MWI has no more explanatory power than any other interpretation, it's not just "following the math", and it still needs a definition for what consitutes a measurement for purposes of applying the Born rule.
For starters, it's closed source, centralized and proprietary. You have no control over your data and the product's future.
I love the ingenuity, I also love youtube documentaries on this topic, but... as a child (in the 90s), I did not like these pseudo 3D racing games at all!

Mode 7 on the SNES was usually fine. I don't know how accurately it rendered a single flat surface in 3D, but it felt real enough and responsive enough. Except for the very rare cases where they simulated non-flat surfaces (Speed Racer, Super Off-Road), even though that was technically much more impressive.

The effect just didn't work for me - it didn't feel like turning, it just felt like what it was: The game displaying a "left turn" animation and telling you that your car will now start drifting to the right if you don't press left. And that felt more like playing a Game&Watch toy.
Rate limits are almost always wise, regardless of whether you happen to be the client or the server.
I think ircd is the wrong layer to attach those features to.

You can run something like thelounge and have that on any server.
Plain js and webgl

https://ciechanow.ski/js/moon.js
> You are obviously rewriting a lot of the law

Feel free to address any specific points. Have you looked at the Ofcom guidance?

> penalty seems to still be "up to 18 million pounds".

Fines "up to" a certain amount allow flexibility in punishment, enabling courts to consider the specific circumstances of each case, such as the severity of the offence and the offender's financial situation. This discretion ensures that penalties are proportional and fair, avoiding undue hardship while still serving as a deterrent.

You cannot write in to legislation specific fines for every possible scenario, this is how the UK legislation works. Suggesting you need to shutdown a cycling forums because you don't have 18 million in the bank is ludicrous.

Mishandling personal data has a maximum fine of £18 million too, yet small/medium/large businesses still exists...

> So no, there is a deliberate bias against smaller sites.

I'm saying there is deliberate bias against smaller sites, smaller sites only have 13 minor provisions whereas larger ones have 30+.
> * APIs might live on a different domain, rendering cookies useless.

That's when you implement a BFF which manages your tokens and shares a session cookie with your frontend while proxying all requests to your APIs. And as said, you "just" have to setup a way for your BFF to share CSRF tokens with your frontend.
How old are you? I'm almost 50 and in the last year my long distance vision has improved however I need stronger reading glasses and find it tricky to do closeup work. I was on mounjaro between Feb and Sep this year.
I think you probably meant to post this on https://news.ycombinator.com/item?id=42447762
This is a problem in C++ standard around #include<cmath> and #include<math.h>.
see https://stackoverflow.com/a/11086087
> And don't write your own tooling because its very addicting.

I plead guilty your honor
Yeah this is something people don't seem to want to get into their heads. If all you care is minimizing transferred bytes, then gzip+JSON is actually surprisingly competitive, to the point where you probably shouldn't even bother with anything else.

Meanwhile if you care about parsing speed, there is MessagePack and CBOR.

If any form of parsing is too expensive for you, you're better off with FlatBuffers and capnproto.

Finally there is the holy grail: Use JIT compilation to generate "serialization" and "deserialization" code at runtime through schema negotiation, whenever you create a long lived connection. Since your protocol is unique for every (origin, destination) architecture+schema tuple, you can in theory write out the data in a way that the target machine can directly interpret as memory after sanity checking the pointers. This could beat JSON, MessagePack, CBOR, FlatBuffers and capnproto in a single "protocol".

And then there is protobuf/grpc, which seems to be in this weird place, where it is not particularly good at anything.
No, TFA is mostly about making errors consistent in a large application, while exception (vs error as standard return value) is largely about easier bubbling, which is one thing TFA hardly talked about (maybe I missed it, I only skimmed the article). In fact it spends a lot of energy on wrapping which is the opposite of automatic bubbling provided by exceptions by default. Throwing random, inconsistent module/package/whatever-specific exceptions from everywhere causes most of the same problems described in TFA.

I feel like all the canned comments saying TFA is about implementing exceptions / ADT result type are from people who didn’t read the article and just want to repeat all the cliche on the topic (for easy karma? No idea what’s the point).
Perhaps what we need is a group chat that automatically maintains a summary of relevant chat history created by AI?

The AI could maintain a Wiki with relevant stuff gathered from the discussions.

Not sure if it's good enough today, but it does seem like an interesting prospect. Not many people like filling Wikis.
Nice, thanks. Making similar strides myself. Moved over to a Framework machine (which has been surprisingly pleasant) with Linux (also not too bad as a desktop OS in 2024) - coming from an M1 Pro. Photo's is my current sticking point though, do I really push everything into Google photos...
thanks for the link - i will write my extraction code though, since the format is very simplistic, and it gives me fine grained control over how things are done.
appreciate your help though!
> And everybody else laughed at the notion that there's a lack of good design for generics, given that all other mainstream languages have had them for literally decades, with many different takes to choose from.

Yes, but they weren't good; half of the Java spec and implementations has to deal with its implementation of generics, and the author of Java's generics (Martin Odersky) then moved on to create the even more complicated Scala language. I have this comment [0] and its linked "Java generics FAQ" [1] that is exemplary of its complexity bookmarked for this very occasion.

They ended up with a mundane take on generics because they dragged their feet on it. It's like that quote, "I would have written a shorter letter, but did not have the time." If generics were added without waiting for enough demand, use cases and consideration, it would have ended up weighing them (spec, language, compiler, runtime, etc) down for decades to come. Remember that Go is in it for the long haul.

[0] https://news.ycombinator.com/item?id=9622417

[1] https://angelikalanger.com/GenericsFAQ/FAQSections/TypeParam...
Whatever company you choose you are at their mercy. This site has many sad stories of people's business being cold shouldered by their supposed best buddy. Moral is, if possible, always have a backup plan.
> The average centipawn loss shows a very slight advantage (less than 1 centipawn) for Gukesh. This connects well with the accuracy metric we got, which showed a negligible advantage for Gukesh.

As I understand, for average centipawn loss, lower is better. It kind of measures how much worse a player’s average moves are compared to the best moves suggested by the engine. Based on your data, Ding has a very slight advantage, not Gukesh. Here is an article from chess.com (https://www.chess.com/blog/raync910/average-centipawn-loss-c...):

> The term average centipawn loss (ACPL) represents how much “value” a player drops by making incorrect moves during a chess game. ..... The lower an ACPL that player has, the more perfectly they played (at least in the eyes of the engine assessing the game).
Neovim: Tips and tricks for OCaml's LSP server
Nissan, Honda confirm talks on closer collaboration but no decision on a merger
Already happening and underway with plans to scale up to current non-green hydrogen global production levels and then beyond.

* Central Queensland Hydrogen Project (CQ-H2)

A large-scale project that aims to produce 200 tonnes of green hydrogen per day by 2029 and 800 tonnes per day by 2031. The project will supply hydrogen to an ammonia production facility in Gladstone and may eventually export it to Japan

* Project Yuri

A commercial-scale hydrogen electrolyser project at Yara's Pilbara fertilizer plant that is currently under construction.

* Arrowsmith Hydrogen Project-HP1

* ATCO-Hydrogen-Blending-Project

* Australian Renewable Energy Hub

* Boolathana Project.

See: https://www.dcceew.gov.au/energy/hydrogen
will probably write the MPQ blobs down to disk and deduplicate via hardlinks and additionally on block level.
i don't know about restic (or borg, which was also recommended), but i will read up on it and doe some tests with it, regardless, since this seems to be a very nice tool for a lot of problem scenarios.
thanks for the input!
Musk in talks over Reform UK donation, says Farage
That's assuming JSON native databases are fine for your use case though, but in practice it's only good for storing documents that don't need to be edited/queried much by the backend storing them.