skysight-inc/HackerNews huggingface dataset:
To clarify, it's up to the function being called; the convention set by Zig's standard library is that if a function needs to allocate memory, then the allocator (specifically, a struct of function pointers to an allocator's implementations of realloc and shrink) should be one of the function's arguments.

There is of course nothing stopping a function from ignoring this and using the C global allocator if need be (or, as I've done in some experiments, using a C library's custom allocator - in my case that of SQLite).

(EDIT: from what I understand, there's technically nothing stopping C from using this sort of strategy, either; a struct of function pointers ain't exactly exotic. It's just a matter of libraries being written with that convention in mind, which doesn't seem to be very common.)
I second this. I've been giving to GiveWell's top-recommended charities for about 10 years now (10% of my income - see Giving What We Can).

Please give your money to charities that are cost-effective - ones that have research-proven ways of helping others (and thus help the most per dollar given). Rather than doing your own research, it's worth trusting GiveWell (with their 10+ years of focus on finding the most cost-effective charities).
This is as misleading as those real estate shows that promise "no money down" or "other people's money" style financing. They bought 80% of a business at 0% APR for a set of 20 installment payments. They are funding the payments with the business' revenue--meaning they are not able to pocket that cash themselves, i.e., they're using their (business) income to pay the cost of the loan.
Unconvenient consequences of the logic behind the second law of thermodynamics
There are infinitely less difference between Russians, Ukrainians and Belorussians than, for example, between those Americans who live in California and Texas.
I moved from GA to Plausible a while back. Very nice product and easy to set up. Its a paid product but I would rather keep my user's data private.

This product seems interesting but its free so I fail to see how you will keep maintaining it in the future if you don't get paid.

I understand that running it will cost you a few dollars a month if that at the beginning but eventually, between the time spent on maintenance and the ongoing costs, you are going to have to start charging your customers.
Nice, it's impressive that it can make some coherent move sequences in such short code. I beat it pretty quickly on the first try (it doesn't stand up well to tactics) but the degree of game sense it does have is impressive.
Not here. Try it without JS.
Same energy as all someone saying he bought a home for $0 by buying it with a mortgage and renting it out such that the mortgage is paid by the tenant.

It's completely fine saying you bought a business with $0 downpayment. But saying you bought it for $0 is just silly, you didn't. If you did, you could close down the business the same day and walk away from it. But you can't, because in fact you signed a contract for half a million in instalments. The article is nice but there was no need for the clickbait title.
Indeed, I was being playful with the term "jailbreak," using it in the sense of allowing the use of third-party or non-approved products. Hardware side-loading, if you will.

My recollection is that Apple simply did not support non-Apple hardware, and the ability to access multiple resolutions and refresh rates was a pleasant surprise. They kept inventing unique video connectors long after that. The video connector for my PowerMac 6100 was surreal.
There's also Emu48.
I bet he was using macos and with the Docker.app running at the same time...
Every programming language has “singletons”: they’re just global variables.
Narcissism can be contagious – and the repercussions extend beyond relationships
This sort of comment is transphobic. It adds nothing to the conversation and is made just to demean a group of peeople you dislike.
Are you black ?
Turn a Git repo into a collection of interactive notebooks
How big is that chip on your shoulder?
Today, PiNet. Tomorrow, Skynet.
I think https://nanochess.org/archive/tiny_chess_1.html is that, possibly for an older/newer version of the engine (found via https://nanochess.org/chess4.html#sour, which SatvikBeri mentioned in a different message)

Still looks a bit weird on my iPad (huge black pawns), but easier to beat because it’s easier to see the board.
But this wouldn't be a typical law enforcement action. (If it is actually a government that's responsible, here. I think it's unlikely, but we can just assume it for the sake of argument.)

The likely culprits would be FIVEEYES law enforcement and/or intelligence. But the main people of interest on these forums likely all reside in Russia and perhaps some neighboring countries. An indictment against any of them is purely symbolic; these people know never to travel to a Western country and risk arrest.

So, if you're FBI/CIA/NSA or similar, and you want to mitigate and disrupt all this fraud and theft and malware and PII harvesting from semi-organized Eastern European cybercrime, you're going to have to use some unconventional tactics. If I were a US "cyber commander" I think I'd consider trying to breach and expose their infrastructure and account info, and perhaps also plant some false flags so they think a rival was responsible.

All of that helps encourage confusion, infighting, and decreased trade and communication. Keep doing it over and over and soon enough certain types of activities might become less lucrative, since more things have to be pushed even deeper underground and are less able to depend on semi-public advertisements for vending illicit goods and services.

I could also imagine the US government considering it "fair game" from a geopolitical perspective. The current administration probably would be more likely to feel that way compared to the previous one, at least. Especially since there's evidence the Russia security services do sometimes team up with cybercriminals for certain things and turn a blind eye to them as long as they aren't targeting other Russian citizens.
What is your opinion on this paper? I'm really quite surprised because although the sample size is commendable, it really doesn't reflect my own experience or reality amongst my social circle.

https://paa2013.princeton.edu/papers/132585
What a strange qualification of "everyone". Surely, someone or some group of people must have benefited greatly. Even in the aggregate the average person must have benefited as well.
Yes, please. This is far better than the linked article.
> Isn't this what the English language is for? Doesn't every single person on the face of the earth recognize all of these concepts and deploy all of these concepts using the English language on fields more numerous than computer science alone?

You are welcome to explain the Abstract Factory every time you talk about it.
I prefer to just refer to the well known name of the pattern.
Better yet, re-align your values towards "help as many individuals as much as possible with the limited funds available". It's often the case that there are more cost-effective ways of helping people.

Preventing people from getting malaria costs very little - so much cheaper than trying to cure a single individual from cancer (for example). Suffering is suffering, and it shouldn't matter whether it happens in your country or another. Help as many as you can by being cost-effective (see GiveWell for research).
There's an important distinction between the systems in Sweden and Denmark. In Denmark, you don't need to have a relationship with a private bank to get NemID. The government also provides it.

In Sweden, you are absolutely reliant on private banks. This gives those select few banks a position of power which they can - and do - abuse.
Article is great. I'm comfortable with the title, the meaning pretty evident in this case. IMO. or maybe I'm just used to clickbaits I already translate them in my mind...
It’s definitely a timely idea with the remote work zeitgeist. I saw those launches and wish them the best.

That said, we’re much more focused on video and screen recording, whereas these are focused on voice.
> The lottery is a choice. No one is forcing anyone to play.

That effectively makes it a tax on the innumerate.

People are going to gamble though, so the state might as well take a cut as a way to discourage it.

It's fairly well established that rather than discouraging gambling, the result of government endorsement and taxation is a net increase in gambling.

I think I've also seen some analysis that after about a decade, the increase in gambling behavior is also correlated with less taxable income from citizens, higher consumption of alcohol, etc., which amplifies the regressive effects.
Not recommending this, but it is technically possible to proceed as follows:

* Server mints an arbitrary key pair, it produces a CSR with the public key in it, signed using the private key, and the administrator manually copies this to an external ACME client.

* ACME client uses the CSR and control over DNS to get Let's Encrypt (or any ACME CA) to issue periodically, say, once every 45 days or as soon as possible if that's exceeded.

* Server periodically fetches any new certificates for its name from any public source of them. You can build your own server, you can use crt.sh, you can use Google, it doesn't matter because the certificates necessarily contain baked in proof that they're genuine.

Notice that in this design the server and ACME client don't talk to each other at all. They both have to be (at least sometimes) connected somehow to the public Internet, but they never need to connect to each other after that one time setup, they don't even need a human to manually transfer stuff, they just both do their thing and it works out.

This does mean the key remains the same for the lifetime of the server. But if you have a sane policy for servers getting replaced (e.g. they're depreciated over 36 months and replaced before 48 months) there's no reason that should pose a problem in itself.
This is the same engine but doesn't look quite as far ahead https://nanochess.org/archive/tiny_chess_2.html
I suppose, but as a regular business a demotion in search results is far more likely than a concerted effort to remove me from the internet.
Of course there are simpler ways of dealing with insect pests, but I love the hacker kookieness of it.

But, an even crazier idea, get a magnetron from a microwave oven connect it to a phased array antenna (PAA), that way you can scan much faster. Also, use a reduced power and radar returns to detect any insect then activate the PAA to to focus the power of the beam to kill the insect.

Much more impractical and dangerous.
Why is Amazon.com such a crappy website?
The title speaks for itself. The website interface is bulky and dense, the buttons and graphics look like they haven't been changed since the late noughties and there are the actual search results. whatever you search for on Amazon, you will always be presented with dozens of random items, some with the most tenuous links to your object of search and others that are completely random. All pages of results are littered with far too many sponsored items.

But it gets worse, the more specific you make your searches, the more irrelevant the results will be.

Contrast that with Ebay. a beautifully clean format, fast results, easy filtering, and the results actually correspond with what you were searching for. The exact opposite of Amazon. (i'm not advertising, just describing my own experiences)

This begs the question: Amazon is one of the biggest company in the world. Their success is largely based on their domain. Why then, is said site so -for lack of better pejorative- crappy? and why is this tolerated by the masses?
> which aren't super likely to be used in firmware anyway.

Why not? Zig's std library is specifically designed to be usable for freestanding/baremetal targets (e.g. firmware), and the compiler is smart enough to only include the parts of a library (including std) that are actually used. If you do need to reimplement a part of std, you can just... reimplement that part, and import your own implementation instead of the one from std.

Unless you're talking purely about Rust?
Nice work!

I'm about 1850 in Lichess blitz, and it played at the level of an earnest 12 year old, which is actually meant as a compliment. It got crazy with its kingside pawns in the opening (no book knowledge), lost material pretty steadily and was checkmated down a queen, bishop and two pawns by move 25.

But it developed some pieces sensibly, made obvious recaptures and was not reckless about king safety. It avoided pointless toggling moves and suicidal piece jettisoning.

You've earned the right to be a proud papa on this one.
Show HN: Taro, a lightweight 3D game engine for the web
Original engine's here (only looks ahead 3 steps instead of 4) https://nanochess.org/archive/tiny_chess_2.html
It's wonderful that you're already donating non-trivial amounts. Would you have more trust if an independent charity evaluator spent over a decade vetting charities - picking only ones transparent enough that can be scrutinized, and then choosing only the most cost-effective?

See GiveWell for their research. When giving internationally, you can multiply the positive impact a thousand-fold (because it's much more expensive to help anyone in the richest country in the world).
[1] https://en.m.wikipedia.org/wiki/Fitil

[2] https://en.m.wikipedia.org/wiki/Yeralash
My experience is the opposite with VSCode and TS, actually.

It becomes obvious that Jetbrains understands MSFT's own language (TS) better than VSCode the moment you actually need real IDE-like features (such as refactors) to work.
My website is not advertising my business. My website is my business. I don't think the person above was thinking really hard about their comment.
The plutonium cores were machined as hemispheres because they had to put an initiator in the center.
Floatplane is self hosted. It s a replacement not a frontend (goal being if youtube kicks them out, they had least can try to survive)
Classics to the point that current music videos gender-swap famous scenes: https://www.youtube.com/watch?v=6amCG2KHlRg&t=90s

compare: https://www.youtube.com/watch?v=-aFimeu-4DM

(also, the song "5 minutes", a kind of soviet "it's time to start the music, it's time to light the lights", from https://en.wikipedia.org/wiki/Carnival_Night gets plenty of contemporary reprises. https://www.youtube.com/watch?v=5viIzp4rxC0 )
Goatcounter is another great open source alternative https://www.goatcounter.com
Sorry to object, but you know nothing about Switzerland.
You do not know how "humanitarian" they have been the the immigrants in the 70s and 80s. Or to the Jewish who tried to escape Germany. Read what happened to them, then come again with "humanitarian".
The true original Swiss people are often classist and xenophobic.

They have come around a bit in the new millennium, but do not be naive.
All the humanitarian projects are either tax evasion schemes or a PR job. Bit like when a horrible employer declares himself a philanthropist.

They are not saints, make no mistake, your view is a bit blurry, that is the effect when you swallow the Swiss PR pill.
The irony of privacy is that encrypting all data at rest (true privacy) requires ubiquitous identifiers. Meaning a central authority issuing those identifiers.
Who Is R. A. Lafferty? And Is He the Best Sci-Fi Writer Ever?
What about someone with breasts, genitals, and other traits of a woman, but also the muscles and testosterone of a man? (I believe the common term for people like this is "intersex".) I think most people would agree they are a women, but also almost all people making the "trans women should play men's sports" argument would also think this person should play men's sports.

That's because the actual dividing line is a biological advantage. For cisgendered people this line is relatively cleanly drawn along gender, which leads to the names "men's sports" and "women's sports". However, there are groups of people for which this doesn't apply. Using it as an opportunity to call trans women men is needlessly insensitive in my opinion.
Watch Gaidai, Ryazanov or Danelia (who also did some great comedies, like Mimino), you won't get too wrong.

https://en.wikipedia.org/wiki/Leonid_Gaidai
https://en.wikipedia.org/wiki/Eldar_Ryazanov
https://en.wikipedia.org/wiki/Georgiy_Daneliya

Edit: probably not so short, just regular stories... so maybe not what you're looking for.
In other words, it took a global pandemic to turn these businesses into net positive for society. Temporarily.
Qubes is very "opinionated" about how things work and provides a functional but very tightly-knit product that cannot be easily modified to suit your own needs. You have to accept their choices like a good nontechnical user does - you can't modify/replace components or use a modified security model easily.

For example, with version 3.2 which I used for a while, one has to use the default disk setup (no ZFS or other cool storage tech) with slow 2layer filesystems, no GPU acceleration for applications in VMs, mandatory encrypted backup scheme. Regarding security, Qubes makes some strange choices such giving the regular VM unix user root privileges accessible via simple passwordless sudo.

Qubes runs only on a subset of available hardware (motherboard has to be good enough) so watch out for that. Also interaction with VM manager and graphically intensive applications in VMs was sluggish and internet/firewall/audio would randomly stop working when restarting VMs and require system reboot to fix. Some of these may be better now with newest version 4.x, but I am doubtful.
Why do black people deserve special treatment above other disadvantaged demographics, like Appalachian whites, Cambodian Americans, Laotian Americans, whose median incomes are lower than that of Black Americans?
yea... because libgen and scihub are a thing
It removed the feature that syncs my photos with storage I control, and the only option left is an export tool that tends to forget some photos, or exclude some metadata.

The removal of that feature certainly wasn't accidental.
Do you still have a link to that article about rust's IR generation?
> In Sweden we have a company running the ID system and that works fine. The company is coowned by all the large banks

Try to have anything to do with the government without a bank account. The processes and system are today so integrated that many aspect of being a citizen are today impossible beyond giving the power of attorney to someone who do have a bank account and then let them do it. (Not hypothetical as this was the recommendation given by försäkringskassan).

I would be much more happy with the system if the government operated a customer facing bank as a fallback, one which laws dictate so that all citizen critical functions are guarantied without a customer contract between a profit seeking company and a customer. It does not need to deal with loans, or give people interests, or handle stocks or any other aspects usually associated with banks. It just need to do basic banking for which everything else depend on in a cashless and internet based society.

Until then, what we have is the merge of private banks, beholden to non-elected owners, and government. It is very hassle free as long one don't mind the soft version corporatocracy.
I've watched both Grey's and Haran's videos since their early years on YouTube, and I'd be curious to know what the story is behind the disappearance of their podcast. It seemed like an odd development to me in view of how engaged they both appeared to be with their audience.

I know that Haran eventually posted a brief comment on Reddit acknowledging the hiatus, but it struck me as a strangely subdued way to announce the end of a regular series that had been very successful for several years.
UI Backwards Compatibility (2017)
This sort of comment is sexist. It adds nothing to the conversation and is made just to demean a group of people you dislike.
is the Abstract Factory showing a weakness of all languages in which it is useful?
What is the underlying weakness?
There is an armed Russian Ukrainian armed conflict happening right now ...
It does depend how unscrupulous the buyer is... you may end up being cheated out of your equity.

That said, I like the cash-equity split without the condition of working on the project further yourself. It gives an incentive for the seller to not disappear/become uncontactable...
It’s probably an assumption based on the fact that CGP Grey is one of the highest paid creator on Patreon
I lost the first game, it goes hard (charges forward acquiring material seemingly without any strategy). I'm a relative noob, but that's the first time I've been able to just adjust my style and easily win on the follow up. Impressive feat, thankfully I wasn't too 'humiliated' by it. Personally didn't spot any sequences in its play.

Loved the pixel art and all too, lulls you in. It is a little hard to tell from the pieces alone which they are.
Sorry, yes: https://pingcap.com/blog/rust-compilation-model-calamity

HN post: https://news.ycombinator.com/item?id=22197082
ISPs should be charged like the criminals they are but they are abusing a unique position not shared by a random attacker. My own ISP, comcast, has injected contents into my HTTP connections and broken things like the steam client browser. For almost a decade now I've tunneled to various VPSes for web surfing.

The problem here is not in HTTP. HTTP allows anyone and everyone to easily host and view each other's websites. Yes, ISP can interfere but that's not something anyone else can do in a targeted way.

The benefits far outweigh the downsides in most cases. You might have a business/profit motive to disable HTTP and that's fine. But most cases are not profit motivated.
It's like a themeforest.net but for web products, yay.

On a serious note it sounds like a great idea but it is not. Unless the coding monkey comes packaged in the price. Why would I want to maintain and try to sell someone elses code? It would probably be less effort to just reverse engineer any of those. But maybe I'm wrong and there are actually people wiling to buy this stuff.
Ghost kitchens can serve multiple restaurants simultaneously (as they do for the hipster food vans), and with a delivery service, they allow to decouple food brand from food production. Two vans or "restaurants" (brands) operating off the same ghost kitchen will need less cooks than if these two vans/brands made their own food separately.
> I just think that this person just spent hours upon hours of their life working around a quirk in our current society.

I think this is a truism. Much human activity could fall under 'working around a quirk in our current society' at some level or another. Even your dark energy researcher probably spent untold hours greasing the funding gears.