skysight-inc/HackerNews huggingface dataset:
It's worth noting that the cloudflare test was done on a Xeon Silver, which has worse properties around the frequency changes than the Gold or Platinum. If you're on either Gold or Platinum, you're less likely to suffer the problems that Cloudflare did with mixed workloads.

This seems an optimisation nightmare. Your program needs to be aware both of the capability of the chip for using instructions, and what type of chip it is within a family to decide if you maybe do or don't want to use certain vectored instructions.
Verizon is sort-of doing this with the new Palm "Plam" phone - https://www.theverge.com/2018/10/15/17974850/new-palm-smartp...

It's not "no extra charge" -- you pay an extra $10/month. But you get a traditional full-sized smartphone, and an additional small "Palm" phone with limited screen size and features, running on the same telephone number, with no extra setup or services required.
‘There’s no plan B’: academics race to safeguard research against Brexit
Linux is a file system based OS, that works. Windows is a database based OS (the registry), just replacing the files often does not work.
Because the most politically salient and salacious videos are the ones not officially endorsed by their subjects.
Then the rules that got us there would probably ensure competitive drug prices too.
Use AdBlocking in Your Dev Environment
Bert! Great use of those platform APIs
>Since when? You can turn off Windows update service but it will turn itself back on.

Use the Group Policy.

>Even with Windows update turned off, they still have a way of quietly slipping stuff into your PC.

No.
am i the only one that’s doesn’t notice windows updates at all? like a lot of people seem to have this issue but i’ve never noticed it
Honestly speaking, I practice a lot of doubethink. So my opinions are quite worthless, and I'd rather just talk about facts and stats.

https://en.wikipedia.org/wiki/Doublethink
iPhone alarm is a joke
1. While you are on a call it will ring like hell in your ear
2. While you have an active screen (email, games, etc) the alarm will popup like a notification and if you slide up (the same thing you do with a notification it will snooze)
3. No volume alarm control
4. For edit you have to tap edit (in older version you could just tap the alarm)

I could go on and on...
I would argue that an Android phone without Google apps (e.g. LineageOS) is just as good; perhaps even superior, as you don't have to rely on an arbitrary gatekeeper in order to install software.
> pure compliance off of this one gripe though

I don't think it is purely or even mostly based on compliance. I was responding to:

> How in the world does "being compliant to authority" contribute to university success

by indicating one way the compliance contributes to success.
Buying a Pixel Has an Arbitration Agreement
No one cares how hard you work when you open a business and keep it running. They aren't your friends, they are your customers, and the only reward you should expect is the cash they give you for the service or goods you provide.

A point of the article should be that if you have to work insanely hard on your business and have to rely on volunteers or people like that, you need to not be in the business in the first place. Don't sink money to it, and just do something informal with people you trust; let them come over to use the tools in your own private workspace.
Game developer revokes a user's Steam key after negative review
You can use the Disk Clean-up wizard to remove that garbage. It's left for some time so you can roll back.
Oh really? Quote from the article:

"We wanted the fastest possible hash that would be collision-free in practice (like SHA-1 was), and we didn’t need any cryptograhic security. "

I give a recipe that guarantees that property for the inputs of same size as the output, both in theory and hence in practice...

I think this is just a case of Internet of Dogs
How We Decide Where to Go
This is a valid point. My use case was very frequent reads of large files at pretty much unpredictable positions, so in theory mmap seemed justified. However, I never got around thoroughly testing this assumption, and may indeed just have been better off using read(2) and its variants.

You seem very experienced, so I hope you don't mind a question. In my use case the files were as large as tens of gigabytes and I was creating read-only mappings of 256KB-1MB chunks in them, keeping the mmap handles around according to a cache policy and RAM usage limit. Do you think in this case using mmap could in theory introduce performance gains?

[edit: typo]
If you are reading large chunks of data at once - and you should - then the same process happens, but it is hidden inside the memory manager.

I, for one, used memory mapping in the past to significantly speed up code that operates on gigantic data sets. I guess that your mileage does vary.
I suspect GP means a filter that makes the video appear to have the hallmarks of a deep fake without actually changing the apparent participants.
An Enterprising Future
Or wants to. I live in grey Seattle, but I'd take it any day over sunny SF where vapid cab drivers pitch me their awful startup ideas.
Discovering a previously unknown role for a source of magnetic fields
One popular theory among people who don't like Starbucks coffee is that a dark roast tends to make variations in or quality of the coffee beans less important than in the case of a lighter roast.

That said, Starbucks is obviously popular with a lot of people. Personally, I think their coffee and some of their other drinks are fine. I don't always go there (not that I'm a coffeeshop regular) but that's for reasons other than their coffee quality. (I admittedly tend to use darker roasts when I make coffee at home as well.)
The many lockdowns on opened files (even just reading) is one of biggest design flaws in Windows and has cost me many hours dealing with it. It makes a lot of things needlessly complicated: from updates over file based backups to sometimes even just reading a fscking logfile or config file.
I don't know the answer. The government does make low-interest loans available when there are natural disasters, as one example.
I do, I drink coffee at home before going to work, then at work we have a machine that's free to use. But obviously there are times when I am away and want a cup of coffee, and then I will occasionally have starbucks, because it happens to be the only thing available/nearest/cheapest - I honestly don't care for the taste.
The thing about video authentication is that any algorithm that can classify videos into "real" and "fake" categories can serve as an input to a GAN that makes more convincing videos. Any fake-detection oracle is in fact a valuable training apparatus, and distributing the things will quickly backfire.

"So", you might suggest, "let's keep the classifiers secret and only reveal specific classifications to the public! The learning rate at one example of day would be terrible." Sure, this approach would stop adversarial classifiers acting as training aides, but such a thing would be socially useless, since nobody would have a reason to trust your pronouncements.

I don't think there's a way anyone wins here. The end game is that we return to an almost 19th century model in which recorded media takes on a faded secondary role relative to in-person experience and trusted commentary. (And don't expect anyone to agree on who's "trusted".)
There's nothing tedious about the advanced math and CS classes at University of Waterloo, for example. The weekly assignments will crush you if you don't give them each at least 10 hours of solid work, but they're not tedious at all. They're simply that difficult. But they're only worth 10% of your overall grade. The remaining 90% is split between the midterm and final.

If you think you're such a hot shot that you don't need the assignments or the midterm to prepare you, they'll usually let you write and count the final alone towards 90% of your grade. Good luck, though.
Yes, but I believe there always someone who care what happen to them, its just might not be me.
I just happen to need a fast, non-cryptographic checksum for large amount of data. I assumed using CRC32C would be the fastest thing available on x86_64 since SSE 4.2 includes an intrinsic for it.

Can I expect Meow Hash being faster than that on x86_64? What about on some other platforms such as common ARM chips? Which one is more collision resistant?

Also: the writer seems to be Casey Muratori, who is also the author of the Handmade Hero series! Kudos.
What board?
I think making someone healthier (protecting from a known defect in this case) is more understood, and therefore more probable and actionable than making them 'smarter'. We can't stop at treating just the symptom of injustice, without begeting our own injustice. History is bearing that out clearly. I feel, the difference is signifigant, and worthy of investigation beyond a doubt.
I am the author of the article. Happy to have a discussion here.
Every operation requires one hash and at least one string check, but the more collisions there are, the more string checks you have to do. In theory, a hash algorithm with a great distribution and few collisions would require less string checks (I.e generally just one) per operation than an algorithm with a poor distribution.

GP was saying that in their experience, the less frequent extra string checks generally isn't worth the slower hashing speed of an algorithm with a better distribution.

(It's also worth noting that getting or setting elements which don't exist requires 0 string compares unless there's a collision, which might be relevant for certain workloads.)
Mortgages exist.
No I as well barely notice them. The only time I have is on my work laptop. But our IT department handles those updates.
This post breaks the HN guidelines. Personal attacks, as well as political and national (or whatever this) flamewar, will get you banned here. Please review https://news.ycombinator.com/newsguidelines.html and don't post like this to HN.
No, he's saying you should pay to update to the latest version.

This notion that something you bought 8 years ago needs to continue to work, even though the operating system that it runs on changes, is just not reality.
All the hot action's at urbandictionary.com these days.
Probably not if you're UK based.
Yeah, and it’s apparently written in VBScript because a new VM’s first update takes many times longer than, say, compiling Firefox from source. If they had an optimization to handle superseded patches it’d shave multiple hours off of that process.
I think that this is the wrong way to use mmap. Just map the whole file at once. The operating system will automatically read the pages you access from disk. And if memory gets tight, these pages will be flushed to disk if they are dirty and then discarded before the system starts paging. These mmapped pages essentially live in the disk cache.
Please don't take HN threads on generic ideological tangents. They never lead anywhere new, and usually lead somewhere nasty.
> tl;dr - get X86 hardware, not ARM.

Thank you for the down-to-earth advice. It helps a lot.

I realize I can search for that myself but in any case, which machines work well with the more conservative distros -- like Slackware and some of the BSDs?
The Sears catalog
I think by calling someone's error out as "maternal instinct" instead of arguing against it rationally, you have become the very caricature that makes their argument more valid.
The code for this was recently released

https://github.com/deepmind/graph_nets
Doesn't sound like a relevant complaint.

Your Ubuntu desktop only takes security and bugfix updates regularly.

If you've tried going from an Ubuntu LTS to another Ubuntu LTS, 2+ years on, you'd find tons of things changed too -- even if your old LTS had everyday updates.
They don't have to be. The reporter/agency could sign the video.
Did you implement it?
Tweetbot has done that too - conveniently right before twitter cut off some api access making the app just an expensive ad free twitter client. I have no doubt they quickly pushed out v4 just to get a bump of cash. V5 just came out too (although this time a free upgrade).
We ban accounts that post like this, regardless of how wrong or annoying another comment is. Indeed, you've broken the site guidelines not only by being uncivil, but by feeding a troll. Could you please review https://news.ycombinator.com/newsguidelines.html and not post like this to HN?

The idea here is: if you have a substantive point to make, make it thoughtfully; if you don't, please don't comment until you do.
As a developer, Windows Home 10 became unusable. It is essentially an update machine, it seizes control and just updates, restarts, i have no control over the machine.
Everything you need to know on Magecart Attacks
I was very glad I still had my printed dictionaries that day they digged the cables over by accident. I'm not going to loose a large part of my functional literacy, just because the power/internet goes out.
Even if it only happened one time for the rest of my life, it would be worth the 20cm of shelf space it claimed.
some movie streaming sites using this trick also.
Drive.ai’s On-Demand Ride-Hailing Service in Arlington, TX Is Ready to Drive You
Obviously I cannot speak for MS or for other users, but I see a major difference between (IE,Edge,Chrome,FF) and (OS). If an upgrade renders any of the former unusable, it's an annoyance, but there is a fallback a few clicks away. For an OS...sure, I could whip out a live USB (as opposed to most users), but I'm mostly locked out of my Windows apps, and some of my data.

If you don't see how an OS upgrade is different from an app upgrade within an OS, I honestly have no better way to explain.

(As for IE, don't tell a veteran what the Browser Wars were: IIRC, the rest of the browsers managed to move on without autoupgrades at first, so don't bring up that particular straw man: the issue wasn't autoupdate, it was "IE8 is the pinnacle of browsing, we're not going to update it for years, dev team dissolved.")
The fact that FILE_SHARE_DELETE has to be explicitly specified in calls to CreateFile, and that the file APIs in most languages don't use it or allow it to be specified, has to be one of the top three annoyances I have in using Windows as my primary development machine. There's a parallel universe in which FILE_SHARE_DELETE is opt-out, not opt-in, and Windows is a far more pleasant OS in that universe.

My other two top annoyances, for anyone curious, are the appalling filesystem performance and the high process-creation overhead.
Why are we so worried about quantum computers when there's backdoored random number generators (Dual-EC DRBG) and stuff in play? I just don't understand it.
I see a lot of applications trying to take advantage of SIMD, but what when you try to run them on systems that don't support these instructions? My guess is that you need to write multiple files taking advantage of different sets of instructions and then dynamically figure out which to use at runtime with cpuid, but isn't that cumbersome and a way to inflate a codebase dramatically?
Completely unrelated but the judge under this article [1] on the same page looks so shockingly like Nigel Farage [2] that I feel like I have to make this comment pointing it out.

Seriously, does the man have a time machine?

[1] https://news.google.com/newspapers?id=ih8qAAAAIBAJ&sjid=AykE...

[2] https://en.wikipedia.org/wiki/Nigel_Farage
>Science doesn't have to care for the emotions of specific groups. Then we're doomed.

What's your opinion on the idea of scientific ethics?
Children are becoming a luxury good in a lot of cities.
Looking Glass: an extremely low latency KVM FrameRelay implementation
I've always wondered about this, there are 15 Starbucks within a 2 mile radius of where I live (just looked on google maps) and for some reason they don't seem to cannibalize each others sales enough for them to not keep building new stores, at least 3 of them have gone up within the last year or so.
OK, after looking into it for just a few minutes, I found out: 1) CRC32C is not nearly as collision-resistant as many common fast non-cryptographical hashes. 2) there are many portable hash functions that are faster (and I think this is due to their bit size.) See: https://github.com/Cyan4973/xxHash and https://github.com/leo-yuriev/t1ha

So, my initial assumption was wrong. I'll be trying Meow Hash and some others out!
which website are use this videos from youtube.
I keep a dictionary and thesaurus. They're actually pretty useful when you need to think of names for projects. I personally haven't found an electronic dictionary that lets you 'browse' as well as a physical one, but if anyone knows of one I'd like to check it out.
through toil and good works ... rather than ... tyranny of genetics.

That is, until we discover that being a hard worker is also genetically heritable. Then people are twice doomed with less intelligence and less ability to work hard.
How is that different to apt, it also has to solve dependencies for packages.

Using slapt-get (Slackware version of apt-get) back in the day was quite the revelation after manually solving dependencies.
I imagined the interview video where multiple light sources constantly moving for the proof that the lighting is real.

Or more likely these NN-generated video fake the poor quality video and audio. The fake video author claims it was captured by hidden camera and faked person admit the fake illegal act.
IME, in most things I have personal knowledge of the better news sources do a pretty good job; they rarely have significant errors, for example. The lesser, non-partisan sources also rarely have significant errors, but they cover issues with less sophistication. My most common objections are that they don't go deep enough (but if it's something I already know about then I'm not the intended audience - the NY Times isn't going to cover tech issues as deeply as I'd like) and that what I see as important questions are left unanswered and sometimes unasked. On the other hand, I should't presume my own superior intelligence - if the journalist and I disagree, perhaps I'm not the one in the right; the smartest people I know often disagree with me about things like which questions are important.

Beyond that, I'm not sure stereotypes of any large group of human beings are worth addressing, other than to point them out for what they are.
Hey there HN author here!

This is my first post of this kind.

I’d love to have some feedback of any kind from you (possibly constructive).

I don’t know if what I’m proposing is the best idea and I’m sure that here on HN there’s at least someone with great ideas I could benefit from :)
If someone has unconventional ideas, breaking the mold so to speak. It's not surprising he would think/say things differently on social media as well.
which OS this Brave browser supports. ?
>He is under attack. For tweeting the wrong thing, for not making enough cars, for appearing unstable. Some of the criticisms have merit. Much of it is myopic and small-brained, from sideline observers gleefully salivating at the opportunity to take him down a peg. But what have these stock analysts and pontificators done for humanity?

Yeesh, what an opening paragraph. This, and the rest of the articles, seem to focus on the idea that Elon Musk isn't just a slightly more philantropic than average billionaire with a very good PR department, albeit one he's doing his best to undo the work of.

As one of the articles rightly states, Musk provided some funding for these projects, but is at best one person among tens of thousands actually responsible for _any_ of the achievements of "his" companies - scare quotes intentional, for between the loans and government grants it starts to become unclear what, other than the cult of personality which evidently no longer serves the needs of relatively mature and legitimate enterprises, he actually brings to the table here, beyond being an ideas guy who can afford to throw money behind getting external funding to try things.

Whether he deserves the shit he gets talked about him is a matter for debate, but it's very much a reaction against nonsense like one of the articles here comparing him to Bruce Wayne and Tony Stark, two comic-book superheroes defined by superhuman brilliance and superhuman finances, while Musk clearly can have only one of those things.

At the end of the day, though - do we need articles defending a man with a net worth of twenty billion dollars from the average citizen--who's net worth is closer to twenty _thousand_ dollars--'s criticisms? No, we don't. Whatever criticisms might be had, they're clearly not stopping him from doing whatever he likes.
So your argument is that a few kilobytes to bootstrap a session that could last for days isn't feasible?

And that if a system isn't 'popular' right now it doesn't count?

You have a strange standard for 'dangerous'.
But the landlord didn't get charged, the people who leased the building from him did.
Random access to large files is a legitimate use case! LMDB [1] uses a similar technique, and it works well for them. But depending on the specific application, explicitly application-managed caching via O_DIRECT IO with something like threaded pread or AIO might be even better, because with this explicit model, you control the cache sizing and eviction policy, and it's certainly possible with application-level knowledge to do better than the generic kernel-level LRU/active/inactive/kinda-sorta-works-heuristic stuff can do without application-specific knowledge.

Another advantage of using application-managed caching is the ability to take advantage of things like huge pages (which can drastically reduce TLB miss rates), whereas with conventional mmap of conventional files, you're limited to regular 4kB (or whatever) small pages and associated management overhead. (There's no reason in principle filesystems can't use huge pages for page cache, but AFAIK, nobody does it yet.)

OTOH, kernel management of page cache allows for better integration of cache eviction with system memory pressure signals and allows for multiple users of a single file to share the memory mirroring the contents of that file.

> Do you think in this case using mmap could in theory introduce performance gains?

It depends. The right approach depends on a lot of factors, including workload and developer complexity budget. It's funny, really: the more experience you get, the less likely you are to say "$SOLUTION is the bestest evar!" and the more often you say "well, it really depends, so I can't give you an answer".

What really strikes me as needless is someone using mmap to read a 10kB ~/.myapplication.lol.ini file or something.

[1] http://www.lmdb.tech/doc/