skysight-inc/HackerNews huggingface dataset:
https://github.com/dragontamer/AESRand

Yes, it is possible but its difficult to do it right. I ran into at least 3 or 4 "roadblocks" while designing this algorithm, fortunately I managed to get through all of them.

I've got an unrolled dual-stream going at 37.1 GBps on Threadripper 1950x (which has 2x AES pipelines). ~29.2 GBps for more "typical" usage (but still impractical).

The issue with this is that random-bits of this speed are almost useless. A division or modulus operation takes 80-cycles (~20 nanoseconds) so as soon as you do "rand() % 6" (assuming you wanted a 6-sided dice roll), you've completely wreaked the bit-generator. A branch-misprediction is like 15-cycles, so that singular if-statement in your code that uses the RNG-number would be 5x slower than the generator itself.

Its fast, but I don't know how practical it is. There's no practical way to use all of these random bits that I'm aware of.

I did get a bit-compatible POWER9 version running by the way. So its portable across systems (at least, systems with an AES-encoder. ARM, Power9, and 2010-era x86.). Rasp. Pi doesn't have a CPU-AES engine however (its outside of the core), so Rasp. Pi can't use this methodology.

--------------

If I were to actually push forward with this project more, I'd need to study on whole-program optimization, so that the (rarely used) XMM registers can be pragmatically used in a lot of code. The entirety of this RNG fits inside a single XMM register, so it'd benefit grossly from whole-program optimization.

The XMM-data should also be fed into SIMD somehow, some kind of engine into ispc or OpenMP SIMD code. A bunch of raw-bits coming in through assembly commands is somewhat impractical, no matter how you look at it.

Dan Lemire informed me of an amazing algorithm (that does work with AES XMM registers) that creates uniform random numbers out of a few multiply instructions. So I can get XMM-registers full of arbitrary integers with very low bias. (ex: numbers between 0 and 100) out of the bitstream.

I also managed to convert the numbers into single-precision floats and double-precision floats between 0 and 1.0 uniformly.

Still, this only really seems practical if you have SIMD-code that actually consumes all of these bits. Converting from XMM-registers into RAX registers has quite a bit of slowdown.

I don't think the typical simulation code is actually limited by the speed of RNGs at all.
Quelle surprise
Needing to link your car to your Google account already sounds like living in hell. ;)
Could you clarify what you mean here?
Both are hard problems. However the folding properties of both nucleic acid and proteins is where the complexity lies.

It's the 3D structure, not the sequences so much of these molecules that determine intra- extra- and inter-cellular behaviour.

So we'll never fully understand the brain until we understand the genome and proteome.
kebab-case never made any sense to me until I discovered that what I call a kebab other cultures call a "gyro" (and various other names) and that what I call a skewer, they call a kebab.

Naming Things Right is cultural.
I like this article, and if I may I'd like to add a more meta comment.

In my experience, the biggest issue is getting people to use documentation systems in the first place. For example I have absolutely grown to hate confluence. Without plugins, and even with, it's a mess that becomes a barrier instead of a conductor.

Therefor, for technical people, I think the best documentation tends to be easily accessible raw text. I personally use a combination of emacs org mode and asciidoc/asciidoctor. If I'm already always in emacs, why not use something already right there, and is quick and easy?

The structure is important, but people just need to actually write the documentation in the first place. So, just write, and you will build the skills to differentiate types as the article refers to.
I don’t know about other countries, but I’m pretty sure using a wide band jammer in a built up area in the US or UK will get you noticed and imprisoned in a very short period of time... People will definitely notice.
The ideology is not especially deserving of anything but ridicule, but I went through the slides and excerpted some particularly goofy stuff.

"Marginalized person: Any woman who wants to work for
pay for an employer"

"Oppression: The self-reinforcing system of stories, TV,
news coverage, police, and legal system stereotyping Black
people as criminals, that benefits non-Black people and
harms Black people"

What TV shows has the author been watching? For my entire life, at least 95% of the depictions of black people that I've seen on television have been positive, sometimes to the point of being pandering. (For example, if a show has a black character and a white character, and one has to do something wrong to advance the plot, it will be the white character, because that won't cause outrage, while the reverse will.)

"You are eating lunch in the employee kitchen when a
group sits down near you. One person comments
loudly “If I ate that, I’d be as big as a house!” A
higher-weight coworker is sitting nearby and can clearly
overhear."

It's not clear who's talking to whom here. If it's someone commenting on the lunch of a coworker with whom they're not sitting, well, I've never seen behavior like that in any workplace, nor have I heard of anything like that happening. If it's someone commenting on one of their lunch-mates' lunches, then it's none of the "higher"-weight coworker's business.

"Higher weight people face workplace discrimination,
particularly women, regardless of ability to do the job
Body size is falsely equated with virtue: self-control, hard
worker, in good health"

Body size is correctly associated with self-control, energy, and good health. The proportion of overweight people who couldn't reach a normal weight if they ate sensibly and exercised is tiny. The "healthy at any weight" meme is absurd.

"Black people face a much a higher bar than white
people during hiring (and in general), and white people
often get a pass or exceptions to the process"

Bullshit.

"A co-worker shares an article on your work Slack
claiming that white men are biologically more suited to
STEM careers, saying "I don't agree with all of it, but it
has some good points." Another co-worker replies,
saying that they disagree with the article but we have
to be tolerant of co-workers with different political
views because diversity of thought is important too."

Men are biologically more suited to STEM careers, on average. You have to be willfully blind not to see that this is true. Why does this make people so angry?

""Office housework" is necessary but unrewarded work
(taking notes, organizing parties, tidying, etc.)
People of color and women of all races are expected to do
more of this work and punished for not doing it"

Bullshit.

"On a company mailing list, someone writes “How would
you explain this [technical thing] to your grandmother?”"

Old women (and, to a lesser extent, old men) are much more likely to have trouble with technology than are young men (and, to a lesser extent, young women). Again, why does this make people so angry?

Intersectionalism is just borderline personality disorder in ideological form.
That's a pain to debug. A similar thing happened to me with reload from Python's importlib. In the case of the reloading loop I think this will only happen when redefining the type within the loop, either through a class definition or an importlib reload.
It was a fine book, but this summary serves the point perfectly while also being way shorter. My working assumption with all these popular books is they could be half (or less) as long and retain effectiveness.
They probably believe they are working for the betterment of the lives of the thousands of people in their organization. There are at least 100 people in that company they know personally and care about, and they're all rolling up to and depending upon them.

Some of them have kids with medical issues. Some of them have dedicated the same number of years directly supporting him.

If that person feels like those people would all be worse off without them, if he felt Oracle would tank much harder than it has if he stepped away, I could see that weighing on a good person.
I was actually trying to hack the head unit and it made my life easier by being able to log into google drive on the onboard browser and download some files.
Mark Hurd was a lying SOB at HP. He lied to Congress about the Board leaks. He had a steel trap mind and remembered every detail of everything at HP. When Congress asked about his knowledge of the investigation of the leaks, he said"I can't remember...it was not my finest hour". Total lies!!!! He knew everything! After those lies, he proceeded to fire everyone involved that knew about his lies!!!! The Board finally fired him shortly after that for cheating on his expense reports to coverup a sexual relationship he tried to have (she rebutted him!) Regarding his death, what goes around comes around!!!!
Apple deprecates everything all the time.

If they want, they can switch. In the long run Metal either: has no future; or must be opened; or will remain a proprietary tech with little advantage and recurring dev costs for both Apple and app devs.

With the existing competition, I personally don't think it will be both opened AND widely adopted. Probably already too late. So either you really want to get on Apple computers now, or the tech is, IMO, basically irrelevant.

Whereas OpenCL is, yes, laborious, but still relevant in the open world. And Vulkan is also used across different vendors.

Apple can get away with their current "my way or the highway" attitude solely because of their user base actually not negligible, and somehow "rich". Devs are not liking the platform a lot, and I phrased that carefully to be kind. Most of their "pro" product have been discontinued or have become laughable. The new Mac Pro is an interesting counter-example, but for a very niche market; which means that even with their pile of cash, they choose to concentrate instead of attempting to conquer new markets.

Given they sell basically luxury products, it is doubtful this will remain like that forever. They might transition their model, but I'm not sure toward what. Everybody talks all the time about services, but that's clearly not what vendors of gadgets are relying on for now. As for artificially monopolistic or quasi-monopolistic "app stores" and/or "clouds", I do not even consider that a "service", and they obviously rely completely on the consumable gadget model.
why estimate? i linked a study you must not have read that says:

> After exclusions, administration accounted for 31.0 percent of health care expenditures in the United States, as compared with 16.7 percent of health care expenditures in Canada.

or did you have a problem with that study or something?
There are way more doctors than CEOs. If you’re gonna claim that CEO pay is a more significant factor than doctor pay you should do the math on that.
Oslo is where two of the world’s browser engines were born
Could you please stop posting unsubstantive comments and/or flamebait to HN?

https://news.ycombinator.com/newsguidelines.html
That's good perspective, thank you. <3
That Ultralight thing which this is based on looks interesting too. https://ultralig.ht/
As an example of one of the more notorious puzzles in the Sierra games of yesteryear, in Space Quest, you have a sand skimmer (think Luke's sand speeder).

When you get to where you are going, you need to sell it for money. If you get out without removing your keys, it is stolen. Then someone offers you enough money to continue on in the game. If you say yes, then much later in the game you die because you don't have a jetpack. If you say no, they offer to throw in their old jetpack. There are literally no hints that a jetpack would be related to selling your skimmer. You just have to reload old saves and try random things until you get one. And hope you have enough saves that you didn't overwrite one from before you sold the skimmer, or you need to start the whole game over.
Nvidia wouldn't have prohibited people from using GeForce cards in data centers if people weren't do it.
Proprietary devs will be expected to upgrade to, for example, a new version of Qt that supports Wayland as a back end.

Xwayland may kick around for really old apps but it will not be maintained at all and you will be expected to forward-port your software to Wayland.
https://www.mycancerstory.rocks/single-post/2016/08/22/Shake...
Consider that doing business with China may be the best way to prevent this kind of thing.

It's very likely that going to war with China or imposing economic sanctions would cause more of this rather than less. Doing business with other countries and promoting inclusive political institutions and labor opportunities is the best way we've found of ending these types of abuses.
This was funny, liked the comments as well!

(not sure if serious discussion is expected here, so I will leave my useless comment as is!)
The rule is that paywalled stories are OK as long as a workaround exists, not that the submitter is obliged to provide one. Meanwhile, complaints about paywalls are off-topic on HN. You don't have to take my word for it; just read Dan's comments.
I think we're in agreement. There are lots of aspects to a locale, and character sets are only a small part of that. Possibly the most visible part though.

Unicode doesn't make character sets pointless, it only makes them deprecated. It's still useful to have a way to convert from one set to another, and it's a shame the standard library doesn't have an easy way to do that. The deficiencies of locales are visible only in hindsight.
There it is.

"When you omit courtesy you're throwing sand in the gears of a machine that doesn't work too well in the first place."

~Heinlein (I'm paraphrasing.)

There's no glory in being a boor, and no shame in being courteous.

None of this is news: https://en.wikipedia.org/wiki/Etiquette#History

A fool never learns,
A man learns from his mistakes,
A wise man learns from the mistakes of others.
No. If I take saltwater from the ocean, and desalinate it, and put the salt back in the ocean, the salt was already there before I started. If I dump a toxic chemical in the ocean, the toxic chemical was not there before I started. Those are not equivalent.
Kik app acquired by holding company MediaLab
Ocean water has a specific level of salt. Increasing that in specific areas, by even a small amount, could have disastrous consequences. Life has evolved in the ocean at a particular saline level.

The point is not that plastic dissolves I’m water, it’s that the saline concentration won’t be spread evenly throughout the entire expansive ocean without first increasing it locally.
Weird - why does this not show up in the Ask HN section? Or is it just me?
I think you can do it without extensions in firefox since they let you configure your own referrer-policy: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Re... (search for "about:config")

But even in my own APIs I check for referrers to make sure they are actually coming from my site so I assume this will break some pages.
Hadn't seen STOMP before, cool. I think making Tor a core part of the architecture is a little over-engineered in our case. The Internet is already a p2p network damnit! I like WebRTC because they seem to solve just the NAT-piercing problem specifically without a whole additional network layer.
any results?
To prevent header and footer eating text and nav? Also doesnt using fixed take it out of the grid?
Thanks, and good advice about being bolder with future salary asks. :)
Getting a cert error when trying to load the site.
LWN: Fixing getrandom() – There is so much wrong here [Twitter/ marcan42]
This is a major piece of the linked article.
We detached this subthread from https://news.ycombinator.com/item?id=21290517.
I would also recommend his story about acid to anyone

https://www.stilldrinking.org/the-episode-part-1
Depends on how patient I’m feeling. I usually think about how badly I really need/want whatever the line is for, and choose based on that. But since there isn’t much that I really need, I tend to bail pretty quick.

Waiting behind people who don’t know what they want is a major pet peeve of mine.
> Was their lack of OpenCL adoption on the trashcan Mac Pro really all attributable to OpenCL?

I'm not sure I follow you here. The trash bin Mac Pro was flawed from day 1 and the fact that it's seen few upgrades (and no significant upgrades) in the 6 years since hasn't helped it a bit. I'm not attributing the failure of the Mac Pro to OpenCL, it flopped all on it's own.
Almost nobody hires first by psychiatric assessment, but Bridge Water does and has written case studies about it. Ray Dalio wrote extensively about this in his book: Principles.

https://www.bridgewater.com/

Also, I have been in the military 22 years. Diverse people form excellent teams all the time. By diverse I mean different career interests, national cultures, economic backgrounds, and so forth. I have never experienced diversity on that level as a developer in the corporate world even though a good number of my coworkers have always been from India. One thing the military is really good at enforcing is group failure and group consequences. The closest thing I have seen to that in the corporate world are layoffs.
Reminds me of bash.org's hunter2 snip. http://bash.org/?244321=
For python, check out pygame. It's outdated and only works with 2.7, but I think it can be installed with apt on Ubuntu and will teach the basics like rendering loops, frames, etc.
Are you taking into account that health care is being delivered in most western European countries by for-profit doctors, clinics and hospitals? (the UK being the big exception)

Also the U.K. is not one of the better systems out there. I'd rather have the French system (minimal public + private mix), Sweden (minimal federal mandated controlled by their provinces), or German (similar to Obama-care).

I don't hear any U.S. politicians who are really talking about reforming health care. How about tort reform? Patents? Cost transparency? No, all anyone talks about is how the federal government should get more involved, and everyone knows that lobbyist run the federal government, i.e. remember how the people representatives in congress didn't even have time to read the ACA?
My understanding is that the in the local language "Alaska" means "Peninsula," and "Unalaska" means "Near the peninsula."
You're using "account for their costs" in a different sense than I think Rayiner meant. When Sanders "accounts for his costs", he means that they've added up the total projected costs of their plan and then accounted for it with tax revenue.

That's fine, but it doesn't address the fundamental problem of US health care costs, which is --- regardless of "who pays" --- "why does it cost so fucking much". If all we do is move our exorbitant costs off customer bills and invoices and into our tax code, we haven't actually solved anything; in fact, in some sense, we've provided cover to the inefficiencies and incompetencies in the system that are overcharging us.

Single payer or private system or something in between, I don't much care, but I'd like to see a proposal about US health care that is serious about reducing cost, not about accounting for existing costs differently.
Wow, I totally skimmed over that.
Not to sound too much like a hippie, either, but I learned (actually after having a kid as well) that when people talked about enjoying the ride, that's what they were talking about - the tedious stuff.

I always assumed it meant travel more and look for adventure, but I have come to understand that 'enjoying the ride' in your life, not always just pursuing some next thing is about enjoying the tedium.

Some of my favorite memories of my young children is the time we spent washing dishes together or watching them vacuum up the rugs and chase the cat with the broom.

It's all about enjoying the ride, man.
Replying to 1 email now. Looks promising
There's a good review of existing and novel desalinization technologies, including OP's supercavitation method, here:

https://www.researchgate.net/publication/271673255_Large-sca...
You've repeatedly crossed into personal attack on HN recently. That's not cool. I've banned this account until we get some indication that you've read https://news.ycombinator.com/newsguidelines.html and sincerely want to use HN in its intended spirit. That spirit is intellectual curiosity and kind, thoughtful conversation.

Comments like this one, and https://news.ycombinator.com/item?id=21276666,

and https://news.ycombinator.com/item?id=21204403,

and https://news.ycombinator.com/item?id=21149400,

and https://news.ycombinator.com/item?id=21123836,

are not ok here. It's a pity, because you've also posted quite good comments. But they are not worth the cost of the worst ones.

We detached this subthread from https://news.ycombinator.com/item?id=21290076 and marked it off-topic.
The scuttlebutt has been that Hurd has been suffering from a serious illness for quite some time -- at least a year and a half. Some have claimed it was a blood-related illness. (Leukemia?) Oracle has been keeping a clamp down on the subject though to try to maintain confidence in its leadership.

https://www.bloomberg.com/news/articles/2019-09-11/oracle-gr...
I would support this sentiment usually, but in this case I don't really see a way to determine the chain of responsibility. Who do we force into prison in this scenario? The engineer(s) who made MCAS? Just the one that wrote the lines of code that monitor the airflow sensors? Do we also imprison the QA people that signed off on this? Why not also their managers? Who of the C-suite? Probably the CTO and maybe the CEO, but isn't their behavior influenced by financial pressures from the CFO. Maybe we should just put them all into jail? The FAA was supposed to monitor this stuff but didn't. Should they be jailed as well? How about any congress people that cut the budget for the FAA? The list goes on. There are negative modifiers as well: what if the person who made MCAS was a very junior engineer in his/her first week? Are they still culpable? What if the CTO can prove they were never involved?

I don't think it's all that easy who is responsible.
I don't see my password on the list, but I want to make sure it stays that way. I wonder if they'd be willing to add a list of passwords never to be included on any list so as to keep their users safe.
If you do a search in the repo you'll find that hunter2 remains a commonly used password.
Nicehash worked for me - I made a few thousand dollar’s worth of BTC by mining Ethereum for them.

...after spending a few thousand on GPUs first, right before the crash. Ouch.
They already use the same CSPRNG algorithm; the only difference is the entropy accounting.

See 2nd point here: https://www.2uo.de/myths-about-urandom/
If we look at the worldwide market, health insurance CEOs salaries stand out even more starkly.