skysight-inc/HackerNews huggingface dataset:
Don't want to spoil it for you if you really don't want to know but I want to share to others in case they do because I found it so interesting when I first learned!

It looks like others shared the paper: https://www.ee.columbia.edu/~dpwe/papers/Wang03-shazam.pdf

It's short but very cool. I read it a while ago and honestly can't pretend I fully grokked everything, but my understanding was that you can't just use a Fourier transformation alone. Noise would basically make this impossible.

So what I'd consider the key insight is that they compressed songs down to "fingerprints". IIRC they noticed that songs, even in noisy environments, preserved certain bits of information. Particularly, they could look at the spectrogram and see peaks of amplitude in the tapestry. They essentially set some radius and scanned the spectrogram. In a given radius, only the largest amplitude value in time and frequency would be preserved. So you've reduce a 3MB song to several bits.

This would be good enough for small databases (I think). But it's intractable for anything practical. So they built hashes out of these fingerprints using pairs of the preserved peak bits. They would choose a certain peak (called the anchor point), record its time offset from the start of the song, and then form pairs with other nearby peaks, saving the pairs of frequencies (but discarding e.g their amplitudes). So for each of these anchor points, you would get a 64 bit value: 32 bits for the time offset and track ID and 32 bits of frequency-pairs.

When you wanted to look up a song, they would fingerprint your snippet into multiple 32bit hashes and compare them against the frequency-pair hashes in the database. If a song was a good match, then you would see that your snippet matched against multiple hashes from that song, and specifically they matched linearly over time (I'm struggling to explain this bit but it's visually obvious if you look at Figure 3 in the paper).

I probably got some of this wrong, but I hope it's a helpful summary of the paper. I remember struggling to understand parts of it, so please let me know if anything I said is egregiously wrong!
This just isn't true though. I worked at a relatively minor video streaming company and we overloaded and took down AWS CloudFront for an entire region. They refused to work with us or increase capacity because the datacenter (one of the ones in APac) was already full. This was on top of already spreading the load across 3 regions. We only had a few million viewers.

We ended up switching to Fastly for CDN. There's something hidden here though that becomes a problem at Netflix size. We were willing to pay the cloud provider tax, and we didn't dig down into kernel level or storage optimizations because off the shelf was good enough. At Netflixes scale, that adds up to millions of extra server hours you have to pay for if you don't do the 5% optimizations outlined in the article.
that’s why I’m in favor of systemic change that doesn’t bias against the global south or working class, you can have both and better avoid capitalist whitewashing techniques that mask yet another form of working class oppression
I'm just still shocked that this wasn't obvious to more people before: it isn't like you even need to have implemented this feature to do the instrumentation required to know whether this would work, and it frankly had always seemed like a long shot.
> I believe that a modern city should not tolerate powered vehicles not fitting any of the specific categories though.

A lot of people are surprised that electric kick-scooters (I think that's the correct English word for it? Standup scooters maybe?) are illegal in Amsterdam, but this is exactly why. They're motorized, but they don't meet the standards of motorized vehicles around here.
so the cynical view here would be that the backdoor was discovered before the algorithm could get widely deployed?
>Endocrine disrupters are basically everywhere now.

Anyone have any recent research on environmental factors for obesity, etc.? With microplastics, beverages consumed out of plastic bottle (or plastic coated cans), xenoestrogens, obese pets and wild animals, etc, it wouldn't surprise me at all that we're unknowingly poisoning ourselves.
Python is only palatable with strict type checking everywhere. I don't see how unchecked dynamic typing can bring anything else than chaos in a large project.
> You miss the point about the tropics, again. Places with reliable insolation will be exporters of synthetic fuel. None will have monopoly power, because the sun shines on them all equally. Northern countries may buy as much as they can use from them, so will not need more storage than for the time until the next shipment.

Imagine some non tropic country were to gradually increase its renewable electricity generation capacity. Solar on more and more roofs. The country now reaches a capacity that matches its peak electrical power consumption when the sun shines at noon and the wind blows everywhere.

Now there are two possibilities.

A. They stop increasing generation capacity. When generation is _below_ peak (because evening and no wind) this country has to rely on storage or imports.

B. The country continues increasing renewable generation capacity, so when the sun shines and the wind blows, they have excess electricity. Which they can store in batteries or as hydrogen or derivatives.

Why should any country choose A over B?

And why should they not continue to increase capacity (until all reasonable surfaces are covered) in scenario B until they maybe even are independent?

I'd say the only reason not to do that would be if imported energy were cheaper.
Antartica has average elevation of 2500 meters. AFAICT Antartica can offer very little habitable land after the ice melts.
I had overweight people in mind. For both cases I'd argue that emphasizing the benefits of healty weight and the means of getting to/staying at that weight is the more effective approach, though.
My oldest Ikea unit is from 2007, it's moved 5 times since then, as solid now as the day I bought it, although that one is small enough to not have to dismantle.

I've got an ikea bed dismantled, moved, rebuilt 3 times no problem, and a bookcase with the same dismantle/rebuild process 4 times. My office desk is also on 4 moves over 10 years.
sure but carbon tax advocates are not pushing UBI
>what I “didn’t really need” was an entire image processing and sharing platform run for someone else’s benefit.

Do you think AWS is run as a public service? If you aren't hosting it on your own hardware, someone else is benefiting.

>That image sharing platform is itself only accessible via the use of a grossly overweight multiple-API client called a “web browser”.

The web browser that you are using to post this comment?

It takes two clicks of the mouse to upload something to Imgur. Maybe you have built an S3 workflow that is nearly as seamless, but it would be tough to beat Imgur for simplicity.

I got no problem if anyone prefers to upload images like this. People have their own preferences and I can't argue with "I prefer to stay in the terminal". However "I like this better" is a different statement than "this is better" and the comment I replied to was closer to the latter.
What's up with those "can't even do the phone thing"? It's not 2007 anymore, GNU/Linux phones can do phone calls, and PinePhones aren't different.
If you're willing to do some heavy copy-paste, there's always:

@keyframes fdsseq {
100% { opacity: 1; }
}

#fds p {
animation: fdsseq .5s forwards;
}
#fds p:nth-child(1) {
animation-delay: .5s;
}
#fds p:nth-child(2) {
animation-delay: 1s;
}
#fds p:nth-child(3) {
animation-delay: 1.5s;
}
> One reason SIKE’s vulnerability was not detected until now was because the new attack “applies very advanced mathematics—I can’t think of another situation where an attack has used such deep mathematics compared with the system being broken,” says Galbraith. Katz agrees, saying, “I suspect that fewer than 50 people in the world understand both the underlying mathematics and the necessary cryptography.”

And I bet 48 of those people work for the NSA.
When has the FBI _not_ been acting politically? At least by the time of J Edgar Hoover, it was a strong arm to enforce the political goals of the administration. Robert Mueller and James Comey continued this tradition albeit with a bit less personal gusto.
> The Sec-CH-Prefers-Color-Scheme client hint header is supported on Chromium 93. Other vendors' feedback, namely WebKit's and Mozilla's, is pending.

I don't see this header being sent in Chrome 104!
Some interesting previous discussion from a stripe engineer who worked on webhooks (the hn story is also worth reading)

https://news.ycombinator.com/item?id=27823109
I wonder if someday we will see someone generating all the bitcoins on a laptop. How the article says, the math behind most cryptosystems were never proven to be unbreakable, it is just believed to be so, because no one managed to show otherwise.
what's the motivation for removing `goto`, is this something that you find being abused? I code in c++ for work, and I almost never see anyone using it without a good reason.
Agreed! I also use it frequently in my wiki (I use TiddlyWiki).
Or, Pine should sponsor a kernel dev or 2 for mainlining hardware that pertains to them (and helps the community as a whole).

Software takes time. But their plan is "cobble shit together in an untested and unmaintained state and YOLO".
iCloud has always been a barely-working pile of shit in my experience, inline with Apple's general degradation when it comes to UX.

Right now my iCloud account claims that my storage is fully used up by messages, except this is after deleting all my messages and confirming they are deleted by resyncing a new phone and making sure the conversations are indeed deleted (as they aren't coming back on the new phone).

For a long time (might still be the case), deleting entries or search history in Maps wouldn't actually delete them on anything but the current machine - logging into a brand new machine would bring back entries that were supposedly deleted years ago.
Maybe "light mobility"? I considered "smart mobility", but that has a bit too much of a value judgement in it (though I definitely agree with that judgement).
dont all ad platforms work this way?
Cultivated Meat Library
You KNOW they first had to do this in the normal way (large scale, distributed servers)..... and cracked it in like a second. Then for grins, the engineer HAD to say "I wonder if I could do this on my old Mac mini". And it worked.

And for embarrassment of the original design, the story, and clickbait... they did it on that old machine
We've looked at this. The problem is that NICs want to read in TCP MSS size chunks (1448 bytes, for example), while storage devices are highly optimized for block-aligned (4K) chunks. So you need to buffer the storage reads someplace, and for now the only practical answer is host memory. There are NVME technologies that could help, but they are either too small, or come at too large of a price premium. CXL memory looks promising, but its not ready yet.
This sort of thing is why remote employees are going to be the first to be laid off during hard times. It's going to suck going from 600k /yr to zero.
Yea but people don’t spend a lot of time on weiner dog forums, even weiner dog owners.

People want to advertise to customers where the customers actually go. Customers actually go to Facebook not weiner dog forums.

Don’t use Facebook if you don’t like the value proposition. I’m guessing most people who complain about tracking on HN don’t use Facebook properties anyways.
Not as “sensibly priced”, but I’ve replaced my LCXL with the Teenage Engineering TX-6 and am very pleased
CDNs mess with Netflix manifests to curb bandwidth (2020)
I'm an API guy for a large Residential IoT company... we have some platforms that support Webhooks and some that support Azure Event Hub.

I personally prefer the Event Hub (replayability, no HTTP request resiliency required, etc)

The problem with Event Hub is that it requires an SDK and if you've never used it it can be a pain. Also if you don't have an Azure account it's a problem (we typically provide our trusted partners an Event Hub on our subscription).

I also agree with some of the Webhook feedback here (better to also have some endpoint to poll for data/event verification and whatnot). At millions of homes, with a Thermostat being a REALLY chatty device, that's a lot of HTTP requests.

So, long story short, I prefer an event queue model over webhooks.
Philosophical Doomcore (2012)
This is what I can gather about "fewer versus less" and "myriad" from my Garner's Modern English Usage.

Fewer emphasizes number; less emphasizes quantity. So, I would ask myself if I prefer saying the number of bugs or the quantity of bugs, and then choose accordingly. I prefer number, here. On account of that, I prefer fewer.

As to myriad, though it can be used as a noun (and apparently its use as a noun predates its use as an adjective), written language for the past 150-plus years prefers the adjective. (When Garner is talking about written language, he's talking about quality writing.)

I'm not saying you're wrong. But, style is as much about a sense of style as anything. Keeping language from going to the dogs requires a bit of dressing up.
A friend of mine lost his mind on a JSP that was doing too much. In protest he printed it out to paper multiple cubicles with the content.
Many creators have noticed that YouTube's recommendation algorithm is heavily skewed to favor videos with monetization enabled. I wouldn't be surprised if Google Search's algorithm was hard coded to favor websites using AdSense.
Huh? Netflix predates Hulu by over a decade.
What most people should be using at home is a "knock down" or "open frame" rack. The posts can be separated from the top and bottom for transport. I use a couple of these in my basement, fairly sturdy and I can move them when I need to: https://avproducts.mccannsystems.com/avcat/ctl11226/index.cf...
I think one of the differences is in the definition of “happy” and the expectations around it.
The medical profession is generally against witholding healthcare from people for sin/moral reasoning. Historically, this has been used to treat black people, gay people, single mothers, poor people, etc. with substandard care and does not lead to population-level good outcomes. Additionally, there is no way to access obese people with the medical processes they may need to lose the weight if the medical field is also systemically depriving them of basic medical care unless they lose weight.
Appreciate the detailed answer - I was unaware that contrails were significant. TIL!
Webcams work in a completely different way than phone cameras. There's no point in comparing them at all.
Unherd is indeed agenda driven. A more thoughtful piece would have traced the evolution of the a modern panopticon back through the the terrorism panic of the early 2000s.
you can't really generalize that IMHO, they make both things that are easily damaged and stuff that can easily survive many moves.
Grand grand parent I suspect.
an HTTP/2.1 doesn't stop HTTP/2 from existing, it just creates another standard.
Lenovo doesn’t like Framework’s circular power button
I had to use a 4-post rack and a chop saw and take ~4 inches off the top of the rack and then I had to assemble it in the basement vertically since it's so close to the ceiling, it's too tall to tilt! Figured that out the hard way.

https://share.icloud.com/photos/0cdcI0nzE1jyUF8mGNwdrnCTQ
HFHT: Hacking-from-HotTub

The nearby air has extremely high moisture content, I didn't dream the MBA would be able to sustain the abuse for so many years without getting fatally corroded.

It's taken substantial splashes and even a partial dunk or three.
Awesome, just sent an email with the subject prefixed with "[Hacker News]". Looking forward to it! Forgot to mention, I have a rough working prototype.
I prefer the minimalism of a "vertical rack" which, for some reason, I tend to never see. If you don't have more than 6U or so of equipment, it's really the way to go because of its minimal profile and amazing load-bearing ability: it is load-bearing parallel to the direction of gravitational pull (vs regular rack cabinets where the load is perpendicular to the posts), and then that weight is all redirected towards the wall, so even the heaviest servers or whatnot that would normally sag unless it comes with rear-mountable rails for 4-post racks (which, for some reason, very few do) work amazingly well. I've bought a few of this StarTech one [0] over the years, but I've also seen people weld together a couple of metal struts to accomplish the same.

[0]: https://amzn.to/3QTmVee
It was disappointing to learn that freezing and subsequent thawing to this very day still irreparably damages the flesh and there is massive damage incurred. I had mistakenly believed that this had been solved by replacing the blood, but it makes sense on retrospect.
$5 to the next person who correctly uses "backronym" in a sentence: "Unfortunately, SEQUEL was already trademarked by a British aeronautics company and so the vowels were dropped to make it SQL, acronym (or is it backronym?) for Structured Query Language."
> Alcohol consumption is certainly associated with alcoholism

Breathing is, too, but the important question is what proportion of light drinkers become alcoholics. According the the first legitimate looking hit, 56% of people have had a drink in the last month, 5.6% of people have an "alcohol use disorder."

So, ignoring details, 90% of light drinkers are fine.
> Apple is prioritizing user-privacy which necessarily means it is more difficult for advertisers to place their niche ads.

…while rolling out their own alternative, complete with user tracking.
I'm certainly in the defensively argumentative crowd. Eventually, as someone who likes doing this work, a single/series ends up being a massive albatross on the team until the project dies or someone steps up. That's often me, because I don't want to be miserable. Sometimes the choices are so monumentally bad, there is no way to fix it. It's just a miserable death march.
I look forward to this being in the next set of cryptopals.
An alternative is to have a minimal HTML that has basically nothing except a <script> tag that connects to a WebSocket then have all content delivered over that. I've done testing with this in the past and it definitely outperforms HTTP/1.1 but maybe not HTTP/2 or HTTP/3 (never tested against those--this was several years ago).

I even wrote a web server with bundled framework (as an academic exercise) whose whole purpose was to work like this. It was basically made for delivering any given bundles of assets over a WebSocket and had some cool features like the ability to auto-encode, auto-compress, or translate from one file type to another (say, turning a PNG into a JPEG or minifiying JS/CSS) as a simple matter of modifying the configuration.
Another approach might be a hybrid, with a closed-source binary "core", and open-source code and linkage glue between that and OS/other libraries. And an open-source project with one-or-few officially-supported distributions, but welcoming forks or community support of others.

A large surface area app (like Google Earth?) could be less than ideal for this. But I've seen a closed-source library, already developed internally on linux, with a small api, and potential for community, where more open availability quagmired on this seemingly false choice of "which distributions would we support?"
Linux Console Text Editor in Pure TCL
Great point, I was thinking of ints as 32 bits. You're absolutely correct for 64 bit ints!
Well, back to the old drawing board...

https://youtu.be/UaR6aqL-L3Y?t=10
> What he calls Apple’s “narrative” is actually their substantiated history of privacy-protecting technologies. Not just tracking, but iCloud Private Relay, Hide my Email, iMessage E2E encryption, keeping many things on-device only.

All these so called "privacy" features are also designed to help Apple data mine your personal data too ... the more data you funnel through Apple servers, the more they know about you and the less data their competitors have.

Remember that once they have our data, all they have to do in the future is to update their terms of services to use it as they want. This kind of creeping encroachment is why we need to strong data privacy laws and regulations to prevent even companies like Apple from abusing their consumers trust, and create a more fair market. Otherwise all that is happening is that you are cheering for the replacement of Facebook and Google with Apple ...
Somebody I know (cough) starts torrent downloads in sequential order after downloading the first and last chunk, and then opens the file in VLC while it is downloading.

Works amazingly well for watching something front to back if your download speed is fast enough; you'd never know it wasn't being streamed. The hardest part is finding a good torrent for what you want to watch. Ironically the Netflix catalog is one of the most easily available to pirate since people rip it directly from web.
The main problem with that is that the first recorded occurrence of the word was in Middle English in 1390: https://quod.lib.umich.edu/m/middle-english-dictionary/dicti... i.e. before (Scottish) Gaelic diverged from Irish. If the word had a Middle Irish origin predating this, it would be shared by its descendants in both modern languages. But the Irish word is oigiséad (m), and the Gaelic word is tocsaid (f). Different genders, and Irish dropped the h sound, which (after lenition) Gaelic preserved. So the word must have arrived in Irish and Gaelic independently, presumably from Modern or Late Middle English after Gaelic and Irish diverged into separate languages.

The other problem is that there is no known Irish etymology for either tocsaid or oigiséad, or Malcolm McLennan would have included it in his faclair, but there is a plausible English one. Other Germanic languages (Dutch, German, Danish, Swedish) have variants of ox-head. Whether it originated in one of those languages or in English is disputed.
A DAO Sounds Like a Kibbutz
> The "same process node" isn't correct. Nothing from AMD is available in TSMC 5nm yet, and the Snapdragon 888 is on Samsung's clearly struggling 5nm node.

Sorry you are totally right and my phrasing was poor, what I was trying to say is that Apple's TSMC 7nm chips (A13) are still very competitive with Qualcomm and AMDs offerings on the same node. They beat out AMD (5000 series) on perf/w while tying perf and beat Qualcomm (865+) on perf handily with (iirc) similar wattage. M1 and M2 are certainly benefitting from TSMC 5nm compared to everyone else currently and AMD in particular is a lot closer than I think many Apple fans give credit.
Why would a micro black hole create such a structure? Maybe it’s what made the moon!
That's all true. But none of that stops it from being significantly positively correlated with incidence of cancer.
That seems harsh and uncalled for, I'm not familiar with any of these folks. I hope you're able to get the help you need and feel better. Take care.

-md
Huh. So the statistics about efficacy do exist, and you are able to find them after all! Weird that you said there's no evidence of such things.

You sure showed us.
Fair. Point taken. I answered the comment not the article.
Saying "Hey Siri what song is this?" is even quicker.
Yep, I've seen all of this play out too.

IMO webhooks are best used when your SLA for delivery is "best effort." Anytime you need to guarantee delivery (including guaranteeing the delivered data was correctly processed by the receiver), or guarantee anything about ordering or replayability, they just aren't that great.