skysight-inc/HackerNews huggingface dataset:
I'd like to read this as a missed connection ad:

Me: young, new to the professional world, making my way around a new environment at Sears in 1994. You: an shy but engaging language, event driven, with a style that was new and exciting for that time and place. It's been a long time but I still think about you whenever I write addEventListener. Would love to reconnect, even if only to share some memories of that time.
It depends on the problem but I stick with what I know.

Database: SQL Server at work, PostgreSQL at home (due to pricing but it's also great!).

Backend: ASP.NET Core

Front End: As little as possible but it depends on requirements going from

1. None at all

2. Use JQuery in certain spots for UX

3. Use Typescript/React (simple, no redux etc.) for a complex SPA-type app.

But 1 is the default because KISS.

No GraphQL or NoSQL DBs. Might use S3/Azure blobs though for caching.

ASP.NET/.NET/C# is used because I'm used to it. However even with that bias, I argue it is a great sweet spot for back end languages. Good typing system but not too complex like Haskell. Garbage collection works has never been something I've had to worry about. Also performant and great tooling.
Open tab…

LTT

….

Close tab….

I love a lot of his content, but linus’s obsession with trashing apple when they don’t say or do exactly what he want them to do got annoying a long time ago.

He mocked apple when they announced the M1, because their marketing was vague Meant that they had something to hide and it wasn’t all that.

Rather then grudgingly roll that back when it turned out it was - he moved on to the next thing.

Skip for now.
It goes further than that. Charging into machine guns does work! It works fine. Offense won a little over 50% of the time, making it better than defense.

The problem, as identified in the post, is that although your charge usually succeeds, you end up taking ground that your pre-charge offensive barrage has made impossible to hold. And then you lose that ground.
I love it when I share a mental model with someone in the wild.
You can use a combination of `comm` and `uniq` to implement set intersection and union. https://ss64.com/bash/comm.html

> Return the unique lines in the file words.txt that don't exist in countries.txt

comm -23 <(sort words.txt | uniq) <(sort countries.txt | uniq)

>Return the lines that are in both words.txt and countries.txt:

comm -12 <(sort words.txt | uniq) <(sort countries.txt | uniq)
The article is unfortunately devoid of much technical detail, but this does sound like an application layer DoS.

Particularly for a service that's going to be exposed, it does seem like a flaw that unauthenticated packets would slow it down so much for legitimate users.

It's not major though, and just adds to the huge pile of reasons why Apple's remote desktop sucks.

"M1" is clickbait though.
A case study of the pandemic speed of capital:

May 2020- $1M Pre-Seed
Sept 2020- $3.7M Seed
April 2021- $20.7M Series A
Dec 2021- $68M Series B

How can so many rounds be condensed so quickly for a business like this? Is the number of Homebrew downloads (37k as advertised on the home page) a metric that can lead to an 18 month ramp to Series B now?

I think there's a trend at play here I'd love to hear more about.
It's sad to see a constructive HN thread derailed by a polarized rant like this.

Notably, the OP only mentions the current infrastructure bill, it isn't about that, whatever your opinion on that.

I, too, am against the permanent government. But this is just invitation to unconstructive engagement.
Protobuf is not even all that good as a format, flatbuffers has generally better properties.
EDIT: I just realized no of the bellow helps you if you are not on Windows =(

The documented way to work around the 4GB limitation is to use the dism.exe /Split-Image command. This will turn the one large .wim file into multiple smaller files.

https://docs.microsoft.com/windows-hardware/manufacture/desk...

I ran into this when I was working on SimpleDiskImager. It is my disk image writer that tries to find a balance between dd's literal-minded copying of bytes (which does not correctly handle GPT partitioning) and the opinionated and invasive modifications that Rufus makes (not yet compatible with secure boot). I have not yet integrated support for writing Windows installer ISOs yet, but you can see the start of it in the ConvertEfiIsoToFat directory.

https://github.com/AustinWise/SimpleDiskImager
Anecdotally a _lot_ of people I know have become significantly less civic minded as a result of the way that coronavirus has been handled.

Basically, they figure, well, the law became insane (lockdowns, business restrictions, silly rules, general kafkaesque atmosphere) - why should I give a toss any more.

If it's illegal to visit your mum and you break the law for that, suddenly a lot of previously verboten activities are open.
Is this what you're talking about? I don't have any other information but was able to track this down: https://web.archive.org/web/20020102154718/https://www.resea...
Temporaries may or may not be heap-allocated; the C++ spec doesn't specify.

But even beyond that: you can have a non-trivial constructor that requires heap allocations internally. So even relying on (sane) compiler-defined behavior won't save you in the general case.
I've come to assume that celebrity net worth sites are mostly just made up numbers. Sometimes you can look up the payout for some specific jobs, but not all, and most of the time, they seem to just ballpark a guess based on that.
I think this is a fluff piece written to market Scaleway by injecting M1 as an irrelevant SEO keyword.
I ran alexadex! So many hours spent ... :)
Look at what first world countries do just after major earthquakes.

Do some of that.

I live in Christchurch, New Zealand, and there were some obvious deficiencies in planning before the 2010 quake, and some obvious fixes were done after the 2010 quake. The main problem is convincing the cynical private and public that some prevention is worth paying for. Also the statistical victims are often not those that are making the financial choices.
It seems you've started already, so big win right there. Going full time is something else, I don't recommend it until you have "enough" traction and validation; ideally, a clear path to profitability.
they're gonna subcutaneously laser tattoo that mark onto
your right hand or onto your forehead

Is it crack? Is that what you smoke? You smoke crack?
Is your contention that web applications are slow due to lack of understanding of CPU cache, pipelining or assembly? Because that doesn't match my experience at all. In my experience, web sites and applications are most often slow due to:

1. Indiscriminate use of third-party scripts and network connections, particularly for marketing cruft such as ads, analytics, and trackers.

2. Pulling in large blobs of code, particularly frameworks, because it makes things easier.

3. Back-end issues, particularly distributed monoliths disguised as microservices, delaying time-to-first-byte by 100s of milliseconds.

4. Lack of awareness of the latency and bandwidth characteristics of real users' devices.

Other reasons, too, but these are some big ones. Understanding CPU cache, virtual memory, etc. is way, way down the list, and certainly wouldn't "change web applications from their current abysmal levels of performance."
Your comment shows no one agrees with what cancelling means. Usually it is all over exaggerated and is meant to fit into the person’s take for which side they are on. The number of people cancelled by “cancel culture” is so minute.

Can you list at least a handful of people who apologized but still got cancelled? I assume that means remaining cancelled too. It’s silly to call someone cancelled if they just have less work for a year but don’t go homeless or on welfare, or into debt, etc. in my opinion.
There's something poetic, nay, operatic about how the man chosen to be the hero of the working class, considered incorruptible because his personal wealth made him independent of the political machine, and vanguard of a populist revolution against the wealthy elites just winds up pulling a billion dollar golden fleecing that would make an Argonaut jealous.
I wouldn't assume that because anyone who knows anything about different politics in different countries would know that companies there have to cooperate and comply with local laws and all that implies.
hopefully i'll be able to search for usages of a library's function without getting 30 pages of that library's source code cloned in vendor directories
That's easy: a management team that only needs ~X new features per month, not 4X. No organization has an infinite demand for features. If they currently have 50 devs working on the platform, maybe after quadrupling the productivity of each dev they'll keep 20. Speed of development increases by 60% and they save 30 developers worth of expenses, which means hefty end-of-year bonuses for every manager up the chain. More likely they keep about 13-15.

It's naive and boneheaded to insist that productivity increases never result in layoffs.
Until 2000, the US reduced the accuracy of GPS for civilian applications. The UK removed street signs and railway station names in anticipation of German invasion in WWII. Kuwaitis removed street signs when Iraq invaded in 1990.

'Where the streets go' is strategically valuable information.
This document is clearly geared for clueless CEOs as a McKinsey pitch. Slick fluff but no true substance. A classic McKinsey vignette I suppose. They did not fail again. Anyone that understands "AI" would be turned into Holden Caulfield.
No a world where TikTok is the #1 website makes no sense at all.

Though I suppose it's the sewer of the internet so it has to be everywhere.
Built-in bash 3 on a Mac is deprecated. But you can use Homebrew to install Bash 5 and make it the new default. Which is what many developers do.
I do not think it is an advertisement. The author studied CS at MIT. Then was a journalist based in Moscow. Now works for the Wall Street Journals on scoops involving DARPA.

But I do think it is artificially placed. Probably an institutional propaganda push for Pyth (or at least, that's what the supporters say it could become). Perhaps these found the right lobbyists or pockets.
> Are they doing it to get a bigger cut of miners' funds?

No, they are trying to piss off the miners so that their actual customers (gamers) have a chance of getting GPUs again.

It's like the first Bitcoin craze many years ago when the first CUDA miners came out - you could not find any GPU anywhere because people bought them for mining. Gamers were pissed as the miners outbid them everywhere. Once ASICs came out, the complete GPU market crashed - suddenly there was a massive supply of second-hand GPUs from miners... the gamers snatched these up, and NVIDIA suddenly had the problem that their new GPU sales crashed.

The only difference is that this time it isn't Bitcoin anymore but a whole bunch of random shitcoins.
Hey, Europe is not that bad. ASML is the leading semiconductor fab tech producer is based in Europe. They use optics from Carl Zeiss which is a german firm. ARM chip corporation is a UK company. So, like, stuff happens in Europe which is essential to how the world functions today and which isn't at all easy to replicate somewhere else.
wasn't that just a fork of khtml. what exactly did apple do
Wawanesa Insurance in Canada still uses it.
The public health argument is really good one. Heard it a lot last couple of months. We can justify it all in name of public health, right ?

Also please, take more decisions out of me - life is hard anyway :)
https://opensource.apple.com/releases/

XNU is there
how many iDevices and their apps/services ping back home via a *.apple.com domain? In other words, is it possible that the traffic isn't from people visiting the website in a browser?
Digitising the NHM London’s collection could contribute £2B to economy
just be aware pyth is still in early stages. their network currently has three price feeds (probably the simplest thing you can do with a blockchain oracle) on mainnet which you can see here https://pyth.network/ and they have had at least a few problems with these where incorrect prices were reported, costing traders money. a recent one has a writeup here https://thedefiant.io/pyth-solana-bad-pricing-meltdown/
on the plus side, pyth network is in its very early days, has the backing of the FTX guy, and historically buying into what this guy is invested in has made people very rich. if pyth network ever releases a token the early buyers might do well.
as they say with crypto, DYOR.
Freedom to consume more than 3000 calories/day does not work with public health services, as your freedom to harm yourself is also harming your fellow citizens who have to pay for your treatments. You can't even have a system where people get to opt out of public health coverage, or you end up with people dying on the streets who opted out and later find they can't cover their health costs.

Not a shot at you, just a comment about the dangers of excess paternalism. (slippery slope)
In in alternate universe Chrome would have adopted KHTML.
I think you know the answer
To add, India has a similar law for maps. Any company serving maps in India has to show, for example, all of Kashmir - including the ones we aren't in control of - as belonging to India. I've made a small hobby out of noting websites which should be illegal in India because of that. A recent memorable incident (not a website, and not found by me) was when John Oliver's Last Week Tonight did a show on Asian-Americans and the Indian streaming service that hosted LWT had to crop the map out. It's pretty funny.
Dunno-ask around in ten years, when Windows is still handing out mitigations for Flash Player. Yeah, sure-why not replace it with something more CVE-worthy?
Unless you're making iphone apps there are much better languages for nearly every use case that are already heavily adopted
The giant green button at the bottom is just slimy -- I fell for it. No, I don't want to install your Protecto extension, whatever the frack it is. Geez.
Typically I think of compromising the secrecy of inputs as the main RNG attack vector, but controlling the inputs is even better!
Have you tried ventoy? It’s worked with everything I’ve thrown at it.

https://github.com/ventoy/Ventoy
Smokers are less likely to be obese and vehicle crashes are still a leading cause of death. Seems like this is more about pushing morals than promoting long and worthwhile lives.
Most people? Can you name a handful of people this has happened to? I can name dozens of people who are supposedly cancelled [forever], when it isn’t really the case.

This Quinton Flynn example from a quick search does appear to show a legit example of being screwed over by reactionary bullshit. Or what people call “cancel culture”. I don’t believe the way you’re portraying his situation and the evils of “cancelling” are anywhere close to as bad as they actually are.

I feel for Flynn. His situation absolutely sucks. If in 2-3 years he still can’t get any work, yeah he got cancelled as the modern definition means. If he’s able to get work still soon. Then it isn’t cancelling. It’s getting screwed over with crappy reactionary people and unlucky bad rep even if it isn’t warranted. Something that has existed before this mobile and universal internet world.

I can think of one example of what I consider real cancelling off the top of my head. There’s almost no sympathy or care for the person though.
Web3 Is Not Decentralization
FAA Clears Sikorsky’s New Black Hawk Helicopter Variant for Civil Operations
Easy: can't backdoor a fax based system.
I've certainly had situations where 'fibers' made more sense - a verilog runtime system with literally millions of them (where the compiler can figure out exactly how much space 99% of the fibers need - so stack sizes of 12 bytes, run-time contexts of similar sizes, 10 instruction dispatch times ....)
Did the group in power decide to end it?
My friend, the US isn't a first-world country. Just look at how many homeless and struggling poor people there are compared to the billionaires and the rest of the uber rich in their gated communities. And the number of shootings, mass shootings, incarceration rate per capita (highest in the world), and who is in prisons (elderly minorities serving mandatory sentences for petty crimes). In Austin TX, nonviolent crimes are no longer investigated or prosecuted for the most part. I would sooner compare the US to Brazil, complete with smash-and-grab gang robberies. It won't be long before gangs mass rob the public in decaying cities like Austin, Chicago, and Detroit. Just like Brazil or Mexico: lawless, corrupt, failed states.

Filter your own water at home if you can because the tap water in the US isn't trustworthy (chloramines at a minimum). I take my 5 and 7 gallon containers to the water store for filling. It's very efficient. I don't know why you're comparing RO to bottled water.

PS: It's spelled "harmful" and "wasteful".
Thanks for the feedback, I appreciate it.

You are right about the TOC, my other long articles have them, but for this one I simply forgot to generate one. I will generate it tomorrow.

There's no compiler, and yes you are right managing a limited set of registers is hard when compiling from higher level languages. But there are a few compilers for LC3, so it's not impossible to write them even for such a limiting number of registers. But this is not my area of expertise, so someone more knowledgeable can comment on that.
Sorry about that, that is a google adsense ad which I don’t have control over. Need to pay for the hosting somehow.
Parent is confusing liberalism with socialism. So is the US. Being liberal would mean embracing freedom. But socialist liberal is a mostly self contradicting ideological position, because you always have that "freedom until I decide that freedom affects me too much."
....Wait, Apple doesn't actually give a shit about privacy or any other supposed principle it lies about to sell products? Color me shocked bro
> Corruption doesn't have a party.

It's a broad statement, but with no evidence. If you mean 'no party is perfectly clean', that's not meaningful, like saying 'nobody is perfectly honest': some people are far more honest than others. If you don't hold the parties to account for their organized behavior, then they have no incentive to stop.

Some parties tolerate or use corruption more than others, and by far the worst I've seen in the US is the current and recent GOP, following its de facto current leader. That doesn't make the Dems pure, and we do need to focus on individual candidates too. But if you elect members of party A, then party A gets more power, especially if they control a legislative house or executive branch, and especially elected GOP representatives vote almost strictly party line, regardless of the candidates.
I’m not sure what you are saying. I’m trying to understand.
Who would have pulled you over for speeding / whatever?

People were easily going over 90mph on the freeways around here.
Would be fascinating to see all of these discrepancies highlighted.
Ask HN: Is Spotify Evil?
I don't know enough to really have an opinion on it. It didn't give me a great feeling when it first appeared and I couldn't find any of the weirdo hipster techno I liked on it at the time so I ignored it.

But I've noticed that a lot of the anarchist software dev hippies (who I love) that I work with / know seem to use it now. Not sure what that means but I thought I'd ask HN rather than risk offending anyone I respect at work.

Thanks in advance!
Smokers pay more into the health care system than they extract because of premature deaths.

Should non-smokers pay a health tax for not smoking?
That makes no sense. Most subways are built with cut and cover. The Second Avenue was only made possible with the very latest in tunneling technology. And that meant a path being dug carefully around multiple existing subways, lots of other infrastructure, and the relatively delicate foundations of old buildings.

Furthermore, as I pointed out, the extreme impracticality of the Second Avenue subway was documented starting from the first proposal around a hundred years ago which was rejected as being too expensive to make sense. And that was the first of many such studies. Yes, we need to figure out infrastructure and have some problems, but a project that was known to be essentially impossible for a hundred years is being used as a way to bump the averages here. It is not possible to effectively or reasonably generalize based on the most extreme exception available.
Not that it happens frequently, but if it does and your application scenario is critical, how do one knows if say the corrupted data is a minor color component in an image or frame of a movie, or a variable in a spreadsheet cell buried somewhere? Would anyone notice? If a bitflip happened in a location containing the target address of a jump then the software or the OS would likely bomb immediately telling there's something wrong somewhere, but (unfortunately) there are subtle errors that can go unnoticed until it's too late. ECC is meant to protect also from those.
I just tried this and it didn't happen.
All browsers on iOS are based on WebKit. It’s an Apple requirement.
as with everything written about division there are a host of mistakes. :)

i'm still wondering what the "out by 2 case" is for algorithm D...

most notably for 'word-size' remainders the compiler most certainly does not evaluate the division then work out the remainder... it comes all in one on hardware for the simple and most common case, and not far off it for the multi-word numbers stuff like GMP use (with single word divisor) - even stuff like "algorithm D" keeps track of a remainder as it goes (as any long division algorithm must).

the find is interesting though. its pleasant to see these kinds of problems continue to see improvement to the solutions available. i was completely expecting yet another "find some inverse" trick.
I'll throw in a seventh...

Neural architecture search is finding more efficient architectural building blocks which translate to better quality models with fewer overall parameters.

There's a lot of work going on right now to improve transformer architectures in particular; I think once the dust settles they will be massively more efficient than the current models. Efficient transformers often also introduce an inductive bias, which ends up improving model quality. (similar to replacing fully connected networks with convolutional networks; more efficient, but also carrying an inductive bias that improves model quality.)
The analogy doesn’t need to be perfect. Every excuse can be used. Others can have excuses for why they morally believe pirating software developed by you, your friends, etc, is warranted. The end result is still having your work being used without compensation.
> A lot of Mao Zedong's policies are viewed as mistakes by the Party, including the Great Leap Forward and Cultural Revolution. Heck, Mao himself publicly admitted that the GLF was a mistake for which he takes responsibility.

My impression, from talking to modern Chinese people, is that the Cultural Revolution is viewed as a mistake, and the Great Leap Forward is not. The Great Leap Forward is viewed as having suffered from inclement weather.

I tend to suspect that this reflects current party orthodoxy.

> There are a lot of reasons for this, not least China having 5000 years experience with running civilization-scale groups.

That would make the comparison groups Egypt, Iraq, and Iran. Plus a much weaker argument for Pakistan.

How formidable are those governments, compared to the government of China?
Interesting, but I see other reasons for it: in an era where thins are much more politicized - health research, education, etc. etc. - roads are so far apolitical.

Also, is it more prone to corruption? I don't know. What about military budgets, for example?