skysight-inc/HackerNews huggingface dataset:
That book is an absolute treasure and you should be proud.

At a personal level, this book contained so much that I had always wanted to know, from how hashmaps work, to how to compile in a single pass. And I connected with your note on getting into writing languages partly due to a feeling of being less-than programmers who could create their own language.

One thing I wanted to share: I found a small design change to Clox that eliminates an entire class of hard-to-debug GC bugs.

Basically, the change is that garbage collection never occurs during the execution of an instruction.

Instead, garbage collection is an instruction which is never emitted by the compiler. When the heap size crosses the garbage collection threshold, we schedule a garbage collection, which will occur after the current instruction is done executing, and before the next instruction executes.

To implement this, in the Self-Adjusting Heap[1] section, we set a global variable (let's call it "resume pointer") to the next instruction, similar to the return pointer in a call frame. Then we set the instruction pointer to point to a global constant which contains only the garbage collection instruction.

The way this works: let's say the current instruction allocates something, and the allocation needs to trigger a GC. To trigger the GC, we set the resume pointer to the next instruction, and the instruction pointer to the global constant garbage collection instruction (let's call this GCGCI). When the current instruction completes, the VM goes to the instruction pointer to get the next instruction, and finds it pointing to the GCGCI. It then executes the garbage collection instruction, which runs the garbage collection. The final step of the garbage collection instruction is to set the instruction pointer to the resume pointer (similar to a return pointer) so that when the VM goes to execute the next instruction it resumes the execution of the user program right where it left off.

This adds a bit of performance overhead to garbage collection, but I would guess we more than get it back from the fact that it's no longer necessary to temporarily push objects onto the stack to prevent them from getting GCed mid-instruction. And this eliminates that entire class of GC bugs; code stability and programmer time are worth something!

An alternative implementation might observe that the resume pointer is basically a return pointer, so you could potentially store this on the call stack. I didn't really think through the pros and cons of this as it seemed like just adding a global resume pointer solved the problem more simply. However, one thing I was working on is making my interpreter multithreaded, and this means that most of the global variables used by the VM get stuffed into a "Thread" struct. Keeping the size of this thread struct low is a high priority because that memory usage is a limiting factor in the number of threads you can reasonably run simultaneously, so in this case moving the resume pointer onto the call stack starts to look like a bigger benefit.

[1] https://craftinginterpreters.com/garbage-collection.html#sel...
Nope. CP/M software distribution standard floppy size was 8". (SSSD = IBM 3470 standard)

I had gone from North Star DOS (5") floppy to CP/M (8").
Because those of us who want a small phone likely thinks that is too big. Hell the erstwhile mini was oversized, part of why it didn’t sell so well I suspect.

3.5in and then not nearly as thick as this one, would be ideal for me. Or just keep the device size from the first couple iPhones.
IIRC In-N-Out doesn't have overseas locations, but I agree that it is delicious.
Your mini map is amazing. Im stealing it.
Imagine any sized rocky planet, and it will only take about 2 hours to orbit
> Ie. If power lines at one end of the street get felled by a tree, power just comes from the other end of the street instead.

That would imply a live wire under a tree. Not a good idea.

> Nowhere in the US does that for consumers yet I don't think.

Tons of places do that, in exchange for a lower rate you install a box that lets the utility shut off your AC when demand is very high. It's available in almost all states last time I checked.
New Study Suggests Dark Comets May Have Brought Water to Earth
But why take the risk? Cold storage is cheaper, more secure, more friendly to a “we have the data but it will take time” defense.
When you own one billionth of a company you are just along for the ride. When you buy a 10% or more stake you can influence the running of the company. Another aspect is he has offered liquidity to distressed companies like GE and got richly rewarded for it with favorable terms.
Discussion (34 points, 4 days ago) https://news.ycombinator.com/item?id=40915362
Like Brazil, right? Very hard to own a gun unless you're a criminal.
AI's Energy Demands: Welcome to the Internet's Hyper-Consumption Era
I'm confused, there's 3 separate things being talked about in this thread.

You do not have to share your location to store search history.

Maps should not store addresses you search for without you signing in.
Same software as self-driving cars?
Nope. Upgrade.

I explained how the 8" held far more data than the 5". The HD 5" 1.2 MB didn't appear till the late 80s, early 90s. The 8" 1.2 MB was around about ten years earlier.

8" floppy (IBM-3470 SSSD format was the standard format for CP/M software to be distributed on.)
Huston is a swamp, it's not easy to bury power lines and keep the water out of them.
Will AI Help or Hurt Sustainability? Yes
Zenphone 9 was marketed as small, but it's exactly the same size as a normal iPhone 13/14/15.
Wow, thanks for sharing. Truly tragic. I wonder where all the parts are sitting now, hoping it’s not just e-waste, but knowing that likely is the case. A shame about the quasar research, that would have been a wonderful project to read about.
That’s neither here nor there. The question is do you reasonably expect that this information is private. The answer is obviously “no,” because you’re handing the information over to a company with hundreds of thousands of employees. Whether you think you have a good reason to give up your privacy like that or not is neither here nor there.
Giving Life to Æthelstan
> The left does not want violence or war

Am I the only one who remembers the Summer of Floyd?
Totally agree. Back in those days, I played the game for a couple of hours at best, but the soundtrack has stayed in my music library for decades, what a masterpiece!
If you consider South America to be America, I can say that Brazilians constantly live in fear despite strict gun control laws and criminals have no trouble obtaining whatever they want.
I love me a daily planner, personally. I like having a page per day to organize my thoughts by hand.
Is there an alternative to google location history that is privacy friendly? I like the feature during trips to record where I went. Maybe just me but when I get a bit nostalgic I like to retrace my steps and find again some lost memories/places.
Someone with Buffet's success should exist by random chance. (Flip a fair coin enough times and it will come up heads 20 times in a row.)

Also, some fraction of Buffet's success comes from deals that the rest of us don't have access to.
The best tool for this I've found so far is Logseq [0]. The only things that come close in functionality are some really custom Emacs roll-your-own things that were just too hard for me as a basic Doom Emacs defaults user, and Anytype. However, I couldn't understand the storage of Anytype enough to convince me that my work would be okay with it (e.g. encryption, but IPFS-ing your files all over the place, maybe?).

Anyway, here are the reasons to consider Logseq for a "lab journal". Note all of these features are unique to Logseq (except the ones I note, afaik), but the subset of them are from what I can tell:

1. Local storage: this is just messing around with markdown on a local file. You can keep it in your corporate storage as a regular folder, at home, it is completely separate from your data sync setup and you can choose what you want. They are working a new database-backed version of the files for faster querying (though I have >10k files in it now and it does fine).

2. Open source: Obsidian, a popular alternative, is not open source. Considering this carries confidential info and all my personal stuff (not at work though!), I gotta trust my tools.

3. Killer feature that only Logseq has: custom, datalog query engine to query your existing notes and aggregate things. Other tools have some similar thing, but it's mostly akin to "search" and possibly ANDing some terms together, but Logseq has much more advanced uses enabled by this engine.

The datalog and querying feel initially like a "draw the rest of the owl" meme, as it is up to you to decide whether you want to create namespace hierarchies (e.g. should your `vim` page be `devtools/vim`, just `vim`, or tagged with `devtools`?), but once you figure out a system, it takes a bit to craft a few clever queries and reuse them with templates.

I have a reasonably slick system for this, where I have a set of queries prioritized by due date / priority on my home page, along with incoming (waiting for someone) and outgoing (someone waiting on me) dependencies. I organize things with a series of "project" pages that each have a very long query to aggregate all my daily journal entries (and other pages) that are tagged with anything related to that project page (e.g. I have a page `CMake Template Repository` where I'm trying to create a github template repo for C++ projects so I don't have to write it from scratch each time). It has really helped me get things done despite having a bit of ADHD. If there's enough interest, I can try to write this up in a blog post.

[0] https://logseq.com/
The USA has never been direct democracy (if that form of govt is even desirable, likely not).
How does MacOS survive attacks while supporting JIT and a subsystem for running iOS/iPadOS apps?
I doubt that's true because it goes against every modern OS security practice. Apple heavily practices defense-in-depth. Sandboxing, PAC, AMFID, etc. All those are even more onerous than Android. So no, giving away JIT privs wouldn't do much.

EDIT: What's with the downvoting?
So you have a mobile phone but you configured it so that you are unreachable when you are not at home?

I'm all for privacy, but people being able to call me is hugely conveninent, and I really don't want to give it up. We need a better solution.
I appreciate the attempt to bring structure to meetings. I agree structure is necessary, but I feel like the article is committing the same sin that it decries: "rewarding A but hoping for B"

If you blindly rebalance meetings based on "caucus score", you'll get less ideas from the loud people and more ideas from the quiet people ("A"). You won't necessarily get better ideas overall ("B").

IMO, the "floor" should be given primarily to people with a track record of clearly and concisely expressing novel and good ideas, no matter how loud or quiet those people are. Figuring out who those people are is hard and probably can't be nicely described in a blog post.

No one has a meaningful contribution for every topic, and most people don't have the self-awareness to know whether their contribution is meaningful or not. Any good meeting structure has to be able to handle that common situation in a safe and healthy way.
They don't, because even if forced to attend one you can tune out and work on something else.
Elligator: Elliptic-curve points indistinguishable from uniform random strings (2013)
Also see https://elligator.org/
As part of that Haswell brought FMA support which was a boon to those of us doing a lot of multiplication and addition (made those workloads twice as fast).
> Anyone can choose to avoid any one of these parts of the modern world.

Well my apartment building is about to replace the doorbells with a cell phone app (or phone calls as an alternative). No cell phone -> no door bell. I'm just a renter; I get no say in the matter.
On a related note, there is a modern Dune RTS on steam

https://store.steampowered.com/app/1605220/Dune_Spice_Wars/
So I just enabled the "encrypted" backup. The process of doing so is very unintuitive, they have the option in your settings and then tell you go to your timeline settings which leads you back to the same screen telling you to go to timeline settings. Its in another settings tab which isn't exactly straight forwatd.
Oh, we're good on safeties. The problem is people for whom an additional click an hour or some thoughtfulness making some decisions is a breaking software issue.
I just ran genuine 64bit Linux on a non jailbroke iPhone! I have waited so so so long for this. Finally. Thank you EU regulators!!
Firmware update hides a device’s Bluetooth fingerprint
To give a concrete example of what others are saying and why I also really do not like discourse, the performance issues in combination with other bugs and limitations makes it extremely clunky for large threads. Go to something like [0] and try searching for a piece of text. In both Firefox and chrome, the discourse search box totally breaks for me: I can navigate to the first result, but after that future attempts to bring the search box up fail unless I go back to the original link and search again (ie remove the comment id suffix from url). The native browser search of course is not sufficient because 90% of the thread is not loaded, and the lack of proper pagination makes it hard to search with external engines. After a few months of frustration I finally learned about the hidden /print endpoint to dump the thread into a single page which helps, but still does not give me warm fuzzies about discourse.

I already prefer native browser search and proper pagination instead of loading the page on-demand, but if none of these bugs existed, I could at least tolerate the decisions. Given the bugs though, these design choices really grind my gears in a special way.

0: https://discourse.ubuntu.com/t/please-test-autoinstalls-for-...
The main issue that this gets at is that meeting time is a valuable company resource and a contentious resource for employees and should be managed as such.

People shouldn’t feel free to chime in with half-baked ideas in meetings or call meetings willy-nilly any more than they would play horseshoes with equipment from the supply closet, use the company credit card for grocery shopping, or call in sick to play golf.

What appropriate policies look like probably do vary by company and team but the policy shouldn’t just be that anyone with access to the calendar software can call a meeting or that anyone in the meeting can speak at any time.
Today, I change my vote and will vote for Republicans for the first time ever.
Dune II was so great for a 11yo !
100% e-waste, I'm sure. I also talked to a number of firms that will buy whatever you have, for pennies on the dollar, and then deal with it for you. Apparently things like memory chips can be unsoldered recycled pretty well.

This is another reason why I'm going with Dell these days, they have a program for recycling. Even if it isn't perfect, at least it is something...

https://www.dell.com/en-us/lp/dt/recovery-recycling-services
this dude has been coasting on this one thing for like 15 years
This is a terrible take. I expect that any such company has more than sufficient wherewithal to enforce good privacy practices on my data, which belongs to me. If they do some calculations on my behalf using that data on their servers, the data still belongs to me.
There's a lot of kinds of ranked-choice voting, but the one this article describes is instant-runoff voting. It's particularly bad in that it isn't even monotonic, i.e., you can lose an election because too many people voted for you. IMO, it's actually worse than the system we use today. I agree a different system could be better, but not this one. (My preference would be for either approval or score voting.)
If the money was obtained illegally, the government can get the money back for the victim. This is not true for unregulated international money transfer. That's why North Korea and Russia like to promote cryptocurrency usage among Western rubes.
> Ignoring the user would be a massive violation. I’m sure there is massive legal penalty to this, enough to make the company care about being honest.

Is this satire? There are countless discussions about how GDPR for example is not being enforced properly, how fines are not small enough to move the needle for corporations and are just a cost of doing business. Apple and Google and Microsoft and Facebook are continuously fighting the EU Comission about privacy and market domination on multiple fronts, and recently the US DOJ has started fighting them too. I have never seen any clue that they are afraid.

I have no idea what you are talking about.
Why won't they list the size? Isn't that the point of these phones?

I'd preorder one if I knew this one important thing (and it was the size I wanted), but now I'll probably wait a year or two for the price to come down and the bugs to be shaken out. So annoying...
ULID: Like UUID but Sortable (2019)
> "Close enough" isn't good enough apparently.

Cute.

But no, being a few percent off is very different from saying "it's not a pure factor of two, it's a very small number multiplied by a very large power of two".

Your GPU has an exact multiple of 2^30 bytes of memory.

If you want to talk about a USB drive, then to do that properly we need the size and count of chips inside a real model.
Wait, so if I get medical care a company with United Health, a company with hundreds of thousands of employees, I have no expectation of privacy just because of their headcount?
they themselves said why: Disney is responsible for cancelling, burying, and destroying the records of a lot of shows that fans seem to really love. TAG, the largest animation union, has been raising awareness of extremely unfair treatment of the creative side of Disney and other companies for a while now, how years of their hard creative work has been squatted on without ever seeing the light of day.

apparently, the hackers don't really seem to consult the artists they're purportedly trying to help by doing this, because none of them want to see their work leaked like this. I think these hackers just selfishly want to see the materials behind cancelled shows they were looking forward to.
I'm referring to western countries above.
It's intended to be a collaborative endeavor, often played with people who are on a live call with each other. In the kinds of games that work well with randomizers, you usually have multiple different options for how to proceed, and you have to figure out how to check as many item locations as possible to unlock things for yourself and (in the case of Archipelago) for other players.

It doesn't work as well with linear or mostly linear games.

And as another reply noted, sometimes you get stuck ("BKed"). Sometimes each person has more than one game in the randomizer, so they have a couple of options to play further. Sometimes people go watch someone else play until they're unblocked again.
Wow. Absolutely incredible. I have a truly shameful amount of time playing PoE, crafting by jumping between craftofexile, poedb, spreadsheets, etc. I was always curious if something like this was possible and you’ve gone and done it. Fantastic read as well, thank you for sharing.
Entire countries (eg: Australia) use ranked choice variations (in Australia: "single transferable vote"), Condorcet methods that reduce Arrow spoiler paradox's to "theoretically possible but exceptionally unlikely to happen".

Regardless, this is hardly an objection to using Ranked Voting over the US "First Past the Post" which suffers to an greater degree(?) to spoiler votes and leads over many iterations to almost identical non representative two party blocs that are hard up against each other and pushing independants out (for fear of spoiling).

It's notable that Australia, a small country of fewer than 30 million, had 10 independants elected to the House last election while the UK, the US, Canada and New Zealand elected only eight between them.
Nvidia could reach $50T market cap in a decade, says top tech investor
Remember GameSpy? Oh man.
https://archive.ph/8EqVk
Obsidian vaults are just folders full of a bunch of Markdown files with a dotfolder that has some JSON configuration files in it. You can probably put images in them, too (I haven't needed to bother yet).

I'm not sure how you can get more plain-text than that.
The amount of lies told by the news, media, and government (in general) are too much to list in a short comment. This has always been clearly visible for anybody that is not completely brainwashed by propaganda. The Iraq war was based on lies, just to name one of the major examples of how the government controls the perceptions of the populace.

You can't claim half of the country is supporting a dictator and compare him to Hitler and not realize that that is civil war level rhetoric. The logical conclusion is to use any means necessary to prevent that... yet ironically that distorted reality is what is causing it. Let's hope things cool down.
The next thing in user interfaces is combining LLMs with GUIs to create a flexible interface that isn't fully defined in advance but works with the user to adapt to their needs. This is a total departure from the pixel-copying design methods we have today and there is no tooling yet for designing such an interface.

In a few years time, we'll expect all applications to have LLM inputs and full natural language understanding in addition to their menus and buttons, just like we expect all software today to make use of the internet where before, none did.
This is the third article in a series, and the term is fairly clearly described in a previous article, linked at the top.

Missing that (and thus the question that started this thread) is okay. Your aggression is not.
The NDA is with the employees, not everyone else.
I am surprised by the lack of eSIM option, which unfortunately is a dealbreaker for me. :(
For everyone else who felt similarly, the explanation is in the previous post (linked near the top of the intro). I also found this confusing because the whole intro felt like it was building up to define the concept and explain why it’s a (the) problem. I even googled the term, thinking it may be some term of art I’m just not familiar with. Then I looked back at the intro again, and inferred that it must be pointing back into the post series… just conveying that poorly.
>Online identity verification is NOT a solved problem

There's a lot of neo-banks in Europe and when I created an account with one mostly because I was sick of how bad the online banking with my old bank was the process was basically, register with the eID feature of my national id card, then you hopped on a face call with an employee for a few minutes to verify your data and identity and after five minutes I had an account.

Maybe an FSB or CIA agent can fake this but this basically kills 99.99% of scammers or abusers. It's solved. Only reason social media platforms don't do it is because they love their fake numbers. And if you have one account and that's it you're a hell of a lot less likely to do fake take down requests.
Previous discussion https://news.ycombinator.com/item?id=40680737