skysight-inc/HackerNews huggingface dataset:
I recently Googled myself, and in the first page of results I ran across some shit AI website that scrapes random web content about people and attempts to summarize it. It got my current occupation completely and comically wrong -- as in, it has nothing at all to do with tech.

If you're trying to figure out anything about me from social media or other such random web pages, I don't care to have anything to do with you, and I don't care what you're led to believe about me. I suppose this is born of privilege, but the only contacts I care to make are directly via people I already have a relationship with.
NixOS has this. Atomicity is implemented via the filesystem: the final switch between states is changing where a single symlink points from once place to another, which is an atomic operation on Linux and maybe elsewhere.

Transactional filesystems still sound cool, but Unix filesystems already have enough features to implement atomic package installation on top of them.
> The problem is that I have been seeing some version of the “crash imminent, sell everything” thesis for my entire life.

What do you think is the root cause for this kind of thinking? It is hard-wired from childhood, or borne of (difficult) experiences?

> Much better to just stay in the market, knowing that there will be crashes and you will have days where the numbers look awful, because they’ll look great again in a few years.

This assumes that you are talking about the US stock market. Most other stock markets are far slower to recover from economic downturns and crises. Why? Their economies are less dynamic and their political leaders are more fearful of difficult (economic policy) changes.

> The stock market is a mechanism for transferring wealth from the impatient to the patient - Warren Buffett

> For 240 years it's been a terrible mistake to bet against America - Warren Buffett

Lastly: The Nikkei 225 (Japan's most important equity index) peaked in 1990, then took 30+ years to recover.

Also: Look at Mainland China since it was opened to (direct) foreign investment in the last 15 years. Overall: The Mainland China economy has grown a lot, but their stock market is a terrible place to invest.
>What do you do if you need to look up the definition/implementation of some function which is in some other file?

I work on a massive monorepo that the LSP chokes on regularly.

In the end, global search is my sweetest friend
Funny you mentioned Wal-Mart because they've already been providing support to an effective housing solution in the form of letting RVs stay in their parking lot.

I've come across many people that this type of housing seems to work quite well for. Of course, I wonder what might be the repercussions? Might require some oversight to prevent devolving into tent cities? But then again, I'm not personally aware of tent cities causing much harm (to anyone outside of the tent city)
Ask HN: Dreidel Expected Value?
I was wondering abiut the expected value of a game of dreidel.

For those unfamiliar with the game, it's very simple. It's a turn-taking game where players get one of four equally likely outcomes: nothing happening, putting one token from your pile into the pool, taking half of the tokens in the pool (it can be rounded up or down, take your pick), or taking all the tokens. If the pool is empty, every player puts in one token.

It seems obvious that in most cases you can expect to come out with more than you came in. For one player, stopping after one round (so the refill never comes into play; if it does, subtract another 0.25) and assuming infinitely divisible tokens, the expected value is given by 3/8g-0.25, where g is the number of tokens in the pool initially. Simple enough.

But when attempting the real(er) version, things got complicated. There are a fair number of new considerations: the number of players (which also determines g's value after the pool has been emptied), someone's position in the turn order (since those before wil impact things) and the order in which rolls are made (adding one to the pool, emptying it, refilling it and dividing it by two yields different results than adding one to the pool, dividing it by two, emptying it and refilling it).

Do you have any ideas, or know of anyone who's tried to answer this question or analogous ones? Is it even possible to quantify (in a reasonable amount of time) the average expected value of one complete round for a random player in a game of dreidel with p players?
From what I understand websockets are great until you have to load balance them. And then you learn why they aren’t so great.
Not even that. You could just sit the phone under a park bench.
Someone must have forgotten to give me and everyone I know the memo. I guess we can just stop being poor now, the economy is great everyone!
The Telepathy Tapes
Out of curiosity I sometimes rewrite things as spaghetti (if functions are short and aren't called frequently) or using globals (if multiple functions have to many params) it usually doesn't look better and when it does it usually doesn't stay that way for very long. In the very few remaining cases I'm quite happy with it. It does help me think about what is going on.
Is that you Alex Jones?
"So why is the change between TOS and TNG ok but the change for Discovery isn’t?"

Because the changes to the Klingons are too trivial to be canon or not canon. It's mere makup not writing.

While the changes in Discovery are not mere makup.
> 99.9999% of Linux deployments are not Arch installs on old Thinkpads.

Yes, but a majority of the remaining 0.0001% are people on Hacker News, so it's going to get discussed here!
I’ve learned the same hard lesson. Restoring always cost so so much more than buying something already in that condition
"Yah, ATC is saying to leave-- but instead let's say 'unable' and shoot an approach at same airport where we just got shot at."
Have a merry Christmas, wonderful Hannukah, and, if you're atheist, a wonderful…birthday of Isaac Newton?
It’s the moderators of the subreddit… who are Onyx BOOX employees.
How many hours was he running everyday? This is an insane amount of running. I wonder if there is any health implications?
Sure. At some point EVs become something that someone renting a car would be expected to know how to deal with. Of course, that could take a while though. And it may be unevenly distributed. The uptake of automatics has been much slower outside of the US and, within the US, I've actually had a service associate need to have a tech drive out my car because they couldn't drive a stick.
hi, tiling window manager and neovim user here.

I don't think about states much, it's all just muscle memory. Like doing a hadouken in street fighter.
container stuff breaks the MOST for me. The hooks into the subsystems invariably are not working correctly be it like xdg preferences or finding things that are global, its nice to package things into their own sandboxes but those sandboxes have not played well with my wider systems. I am still thankful for snap getting me recent copies of popular software on my aged debian installs however.
Siyuan: Privacy-first, self-hosted personal knowledge management software
> Reductio ad Hitlerum (Latin for "reduction to Hitler"), also known as playing the Nazi card, is an attempt to invalidate someone else's argument on the basis that the same idea was promoted or practised by Adolf Hitler or the Nazi Party.

I can't tell if you're being serious, or joking, or what. In any case, there's the actual definition, and I don't see how it applies whatsoever. I was not disagreeing with you in the first place? Perhaps there's simply a misunderstanding.

reduction ad hitlerum =/= "mentioning hitler in any way"
I get the argument that taxes might not be a property of the coin (its is, you don't pay taxes in btc, you pay them in usd)

But the ability of the government to print usd to pay for social benefits is 100% a property of the coin.

The argument is simple, Bitcoin has a limited supply and usd has constant minting, therefore btc gives more power to old farts, and usd gives power to everyone (citizens of the us)

Don't overthink the simple.
They've owned them for such a short period of time, and the maintenance on an EV is so much less, that may not be a big issue
As an anecdote, every single person I've talked to in-person wholeheartedly supports Luigi and believes executing the parasites until they stop using us as machinery is a good thing.
Maybe this is a signal that we need to rethink how we deal with people that break the law?
SSE/Mercure (as WebSockets) is much battery-efficient than polling (push vs poll, less bandwidth used).

Additionally, on controlled environnements, SSE can use a « push proxy » to wake up the device only when necessary: https://html.spec.whatwg.org/multipage/server-sent-events.ht...
Removed by the mods - who IIRC are Boox employees lol

The /r/ereader post is still live. It’s really really bad, but it seems Boox have also disabled the AI servers meanwhile.

https://www.reddit.com/r/ereader/s/7UcSlYd8tx
Why is it a bad thing? Most programmers used to have to write assembly language until high level languages became usable. Would it be such a bad thing if Javascript became a low level implementation detail? (I used to write z/OS Assembly and now use Java and Go. My last web development experience was in 2010)
Another interesting thing is when there is inherent complexity in the system, things remain simple.

For example in game programming, nobody is doing function currying.

And yet in React and frontend land because it is a button on screen which toggles a boolean field in the db, there are graphs, render cycles, "use client", "use server", "dynamic islands", "dependency arrays" etc. This is the coding equivalent of bullshit jobs.
The article is about compiling and running a program inside the emulator. When the unexpected behavior occurred, the author assumed it was a bug in the emulator.
> as famously happened to Linus of LTT years ago when installing Steam on Mint rendered the system unbootable

The system booted fine! It just didn't have a graphical desktop environment installed anymore. But it was up and running, not crashing or anything like that! It was no more 'unbootable' for lacking a GUI than the server hosting this website is. :)

But yeah rollbacks are a great way to handle situations like that, so it's a great feature for a package manager to have.
There was some nuance here. They blocked the abilities of the humans to communicate when achieving that result. So no talking or even gestures, only communicate like ants do.

Since we are so used to communicate when collaborating, it's unsurprising that we fail at collaborating when that is taken away.

This is a very cool study. But the conclusion is probably more nuanced.
Sounds like a bunch of excellent excuses why code is not typically well factored. But that all just seems to make it more evident that the ideal format should be more well-factored.
Enjoyed your blog post - some great insights, solid final results and at about the right level of DIY. Could you give a specification for the LED pucks though please? The Aliexpress link is dead.
Not knowledgeable enough to weigh in here, I just think it's very cool that 1) the authors blog was in public source control and 2) you made a polite github issue with your criticisms and 3) it wasn't deleted.
We have to push the "do not push button" otherwise other people might want to push it.
melting the arctic cannot raise sea levels
10BASE2
I've used something similar to CPS in async I/O programs, where at each point that a function wants more I/O it queues up a continuation for the event and then returns to the event loop. This forces one to represent state in a compact way and to use very little stack space for state representation, all of which reduces per-client memory footprint a great deal.
1. Non technical skills: Going to be parent for first time. So anxious and so learning to be a good parent
2. Technical skills: Improve Rust understanding, writing a technical blog.

Does anyone have tips on how get started with technical blog?
Retribution is not justice. It does not promote it.
I moved from NYC, where I almost never drove and didn't own a car, to the Jersey suburbs, where I now do both.

People look at me like I'm a lunatic when I tell them that I would rather drive in NYC any day of the week, than on Jersey highways, and some roads. The speeds are slower, and the people there are mostly confident, and I can read their car's body language. In Jersey? Something like 10% of the drivers are complete blanks, and I cannot at all predict what they're about to do, which makes them dangerous.

If there's one tip I can give to any driver, anywhere, it's this: be predictable.
Log-structured file systems: There's one in every SSD
Javascript doesn't, AFAIK. I work in Elixir, which doesn't.

I'm for it if it's possible but it can still make it harder to follow.
Am I the only one who finds a "things you can do to be like billionaires" article to be extremely tone-deaf? We're out here trying to find any possible way to remove their power over us and they think we want to read about how they manage their assets? We know how they manage their assets, we ARE their assets.
Just wanted to say that trying (and subsequently adopting) mill this year was one of the most fun/rewarding things I picked up in scala world this year :)

Thanks so much - also Ammonite rocks!
The Neopets HTML Guide [1] remains the best beginner’s guide to Web development.

[1] https://www.neopets.com/help/html1.phtml
seems to be up now!
can't speak for Snap other than the nightmare it is on non-Debian based systems, but not really had any issues with Flatpak.
How does a quantum state travel through fiber? Does it simply maintain state naturally during the journey?
They can probably easily find a jury of ordinary people who have never been denied insurance or don't have anyone in their friend or immediate family group who were denied insurance.

There are 305 million Americans with health insurance. Most of them only have ever used their health insurance for things like annual checkups, routine illnesses like colds and flus, routine vaccinations and lab tests, cuts, sprains, burns, allergies, prescriptions, routine prenatal care, routine pediatric care, maybe something more serious like pneumonia or an STD or a broken bone, and similar.

Even the most penny pinching insurance companies usually pay for those things without any hassle. As a result polling shows that most Americans are actually reasonably satisfied with their own health insurance in that regard. Lots of dissatisfaction with the high premiums and deductibles though.

It's only a small percent who encounter something that the insurance company balks at.
Russia bans crypto mining in multiple regions, citing energy concerns
You (or your compiler) write the instructions and data into unified memory (up to 192 GB) and jump to the first instruction (usually of a loop) on each core. GPU and ANE processor cores are not fundamentally different from CPU cores, they just have fewer transistors (gates) and therefore more limitations in what a register can address, what data type or what instruction it can execute. Some cores can only execute the same instruction as there neighbor core in a team, but on different data. Or at a different time, synchronized with neighbors. But they still are Turing complete processors so in essence are the same as their cousins the CPU cores. Sometimes cores input or output addresses are in a pipeline between cores (so it limits its address offset).

MacOS only plays a role in allocating and protecting the instruction or data memory regions for the GPU and ANE processors.
Oregon house cat dies from eating product that tested positive for bird flu
It feels like you could simulate enough games with code to get a reasonable approximation, even if you couldn't prove it mathematically.
Are you writing this message from 2014 or 2024? Hard to tell.

I don’t believe I (or you) from a position of comfort have the answers. I believe that western democracies should trust their partners on the frontlines to decide when and how to find peace with an invader, as they know more than we do.
Well whatever that is, that's what I like :)
I don't even think that CEO was the problem. It's the lack of government regulation and public option in America. The problem is the politicians.

I saw someone mention that online and the response was "now you get it". People are advocating targeting politicians too. That is no different from Jan 6th people etc. I see people who are supposed to be smart making such insane "structured" claims. The level of cognitive dissonance in support of that guy is absolutely insane.
Flash ironmaking. US Department of Energy, 2019. https://www.energy.gov/eere/amo/articles/novel-flash-ironmak...
I’ve seen videos of russian soldiers invading Ukraine, killing soldiers and civilians, taking prisoners, and sometimes beheading or castrating prisoners while they’re still alive.

Where is the human part of taking a knife to a man’s genitalia after you decide to invade his country?

If russians don’t want to die, they can just go home.
Related:

Russia Bans Winter Cryptocurrency Mining in Siberia, North Caucasus and Occupied Ukraine - https://www.themoscowtimes.com/2024/11/19/russia-bans-winter...
I don't understand what point you're trying to draw here. William Shakespeare was by no means anonymous in his day and age and he almost certainly had to consider the views of the aristocracy and other elite figures that might watch his plays i.e. self censor. Ben Johnson, a contemporary playwright, was imprisoned for writing "The Isle of Dogs".
I'm purchased a business (kwesforms.com) to follow my dream of being my own boss and right now I'm working on learning. I've built so many different pieces of software but never been in a position where everything is new, I'm playing every role (learning dev ops, marketing, sales etc too) and I have full control to make it the best it can be.

The biggest piece thing I'm working on is bringing some automated form generation tech I've been working on as a side project (ottoiq.com) to it.

I'm also working on a little AI tool to turn todos into actionable plans by gathering additional context and breaking it down. If anyone is interested in talking about their mental models for problem solving, my email is me@<my name>.com.
> How do you prove whether or not someone has used AI?

In this case it's rather easy, they admit it officially and publicly. In other cases it might be harder, we might need a whistleblower. I am sure in some cases where it happened, it'll be impossible to prove.

Difficulty of proving it is not a valid reason for making something harmful legal.

> But it's different enough that it would not, and should not, be considered copyright infringement.

Yes, the line has to be drawn somewhere. The (typical) human brain for example has limitations how much code it can memorize and reproduce verbatim. LLMs don't have them (they're orders of magnitude higher on current hardware and models and they're essentially unlimited in principle).

> But luckily, we don't let Google say "you aren't allowed to work for anyone else after you've seen our source code."

But we also don't expect the new employee to build a competitor for one of google's services or internal tools in record time that can be measured in LOC per minute. An appropriately trained LLM certainly could.

---

Ultimately we strayed from the main point. Copyright exists to protect authors and their intentions against parasites.

If somebody's intention is to offer code for free as long as people who build on top of it also release their work for free (a slight simplification and misinterpretation of the GPL), then copyright exists to make sure that happens. That for example somebody who focuses solely on advertising (non productive zero-sum work) can't take that code and profit from it leaving the original author to eat dirt.

There's also the question of income per unit of work vs "passive" income. Many builder professions get paid only as long as they're actively putting in work. We as programmers are privileged in that our product can often run without constant work and produce positive value automatically (but we only get the continuous value out of it if we own the product, not if we produced it for somebody else).

Now, I believe that giving somebody fixed amount of compensation for building something that produces continuous value is fundamentally unfair, exploitative and abusive. Many people will no doubt disagree, must of the world has probably not ever thought about it by the looks of it.

LLMs take this to a whole new level. They can bring in enormous amounts of money (both in subscriptions to their services and in value produced by their output). Yet the people who built the training data that made it all possible don't get _any_ compensation at all.
Agentic AI vs. Generative AI: Understanding the Key Differences and Impacts
Scripted Pipelines in Jenkins are also using CPS in Groovy!
https://plugins.jenkins.io/workflow-cps/#plugin-content-tech...
Hey man, it sounds like you had a shitty experience on some payment platform, so you made this account to complain and rile people up?

Sucks that you had a bad experience, it may be worthwhile posting a more direct tale of it - people here love commiserating about things and may even be able to help out.

Not sure what's up with your other racist comments though, that's pretty weird my dude.
> the person that was wrecking the health of millions

How did you arrive at millions?
There’s also “accidentally shoot another missile at the threat that wasn’t shot down last time” phenomenon
Bird flu kills more than half the big cats at a Washington sanctuary
I'm one of the rare individuals who really tries to review code and leave helpful comments. I've been on the receiving end of really big PRs and can say I understand why you're being told to break things up into smaller chunks.

Most of the devs who submit large PRs just don't have a good grasp of organizing things well enough. I've seen this over and over again and it's due to not spending enough time planning out a feature. There will be exceptions to this, but when devs keep doing it over and over, it's the reviewer's job to reject it and send it back with helpful feedback.

I also understand most people don't like the friction this can create and so you end you with 80% of PRs being rubber stamped and bugs getting into production because the reviewers just give up on trying to make people better devs.
In this case, the author found a discord server where he was lucky to find two other people repairing the same scope.
> Los Angeles police have reassigned a detective who told a gang member he had been identified as a killer by a Sun Valley girl who was later murdered by another member of the gang. [1]

> Deputy Chief Charlie Beck says Martin Pinner will no longer work homicide cases. [1]

https://www.courthousenews.com/parents-say-l-a-police-lies-l...
> We all know the Central Bank hymn book by now.

Yes, but some folks don't seem to accept the evidence and the historical record of what didn't work, and why we moved towards the current system. Some folks still think that FDR (and Keynes) got things wrong.

> That said, printing money doesn't create economic activity nor economic growth nor wealth.

While liquidity is not (necessarily) sufficient for economic activity it is necessary, and a lack of liquidity certainly hinders it. This is evidenced not least from the Great Depression and that once a country abandoned the gold standard they started to recover:

* https://delong.typepad.com/delong_long_form/2013/10/the-grea...

Fixed supply monetary systems (like the gold standard) are a hindrance, and it's not like they do anything useful like create a stable monetary base either:

* https://archive.is/https://www.theatlantic.com/business/arch...
Perhaps because the article is specifically about the buffered f*() calls in stdio, and not the system calls?

Though, as I offer that thought, the divergence between C and the system calls is definitely curious.
i just gave wikipedia $5 after only reading the headline here, thanks