skysight-inc/HackerNews huggingface dataset:
The holy grail of random float generation is a function that takes two bounds and can generate ALL representable floating point numbers within the given bounds with the proper distribution, here uniform (and does so efficiently).

I've written such an implementation with explanations [0], but it doesn't handle subnormals correctly. I've yet to find the time to revisit the problem.

[0] https://github.com/camel-cdr/cauldron/blob/main/cauldron/ran...
Aside from the rights and wrongs there are legal implications for supporting BDS associated movements in many US states, including that those that do so cannot be government contractors.
cries in post audit

So, they will be happy you have it, but will make you do all the questionnaires anyway.
Imagine how this is going to completely destroy the markets for metals unless they artificially restrict the supply.
This is a dupe, see https://news.ycombinator.com/item?id=31601472, from 2022.

Also, whether you support Israel as defending themselves, or consider Israeli actions a form of genocide, language matters. By using the term Apartheid I interpreted this as an unconscious attempt to marginalize the efforts and sacrifices made by those who fought against Apartheid in South Africa, including Nelson Mandela and many others - in order to increase emotional response for your cause. I am sure that is not what you intended, but in communication perception is as important as intention, if not more so.

So I ask that we all keep Apartheid to mean the struggle against racism, segregation and hatred that Nelson Mandela and his people fought hard to win.

Instead, come up with a new word. For example Apartheid means 'Separation. The Arabic word for "separation" is ﻓِﺮَﺍﻕ (pronounced "firaaq"). Firaaq could be the word to uniquely mean what is happening in Palestine, as Apartheid is for South Africa. Or use a Hebrew word (Apartheid was Afrikaaner IIRC), such as Hafrada, which is the Hebrew word for "separation". It can also mean "segregation".

By using a unique word close in cultural context to the events you create something that you can attach unique meaning to, and generate support against.
6:30am? More like 2am the following day
It's a photo-sharing site and app that allows photographers to license their photos and make money.
Hamas offered to make peace along the two state solution in 2006 when they were elected, they continue to maintain that position. Israel knows how to end the rockets, make peace and end the brutal siege.
Nice to see a focus on vernacular architecture and avoiding concrete. I just went through the process of having my own house built - a modern extension to a 200 year old vernacular cottage - and it was very frustrating how much modern architects were blindingly obsessed with concrete EVERYWHERE. And it is a horrific pollutant.

While there is a lot to be said for building codes, I sometimes wonder if the increasing strictness applied to individual homes is a way to ensure nobody has the option to affordably build their own home with their own hands.

(Though I only wonder, I'm not sure - because I really appreciate how great modern insulation and fire/earthquake safety is)
I wish we had the back stories on more of these. Who was it who tied a giraffe to a telephone pole? What disaster ensued, such that "there oughtta be a law!"?
Only for the mindset stuck in the classical UNIX tooling approach, module based languages have used parallel compilation for a long time.

The big difference is that those communities embrace compiler and tooling are part of the same story.

Thankfully now we have a tools working group trying to bring C++ community into the modern world of module based compiler toolchains.
I agree with the control thing, but I can also see that this can be solved. Not sure how but that’s the whole point of their funding round - figuring out how to make it fun in a lasting way.

The non-memorable bit… I’m certain people complained that all drum sounds from drum machines sound the same and are thus not memorable. So I’m cautious here personally, even though I see your point.
I love how SF Gate keeps the passive aggressiveness alive on Twitter's name change to X.
Those are beautiful houses. I love the idea of doing something like this, but: A) I'm lazy, and B) I live in a place that has a ton of humidity. I wonder how such buildings would fare in a non-arid climate?
I believe it's an evolution of understanding what works for you and what doesn't. Experimenting with different approaches may be the best course of action.

From Floutwork's design perspective, the goal is to display only one thing to the user at a time. This is deliberate to maintain focus. When your eyes catch something, your mind starts paying attention to it, often without you realizing, leading to a loss of focus. This is why working in a browser full of tabs can be distracting. If your eyes wander, seeing an updated inbox count in another Gmail tab title can divert your attention, making you wonder who might have sent you an email. Imagine the friction points introduced into your workflow simply by seeing items that shouldn't demand your full attention. In Floutwork, when you're checking your emails, your Outlook or Gmail becomes the primary view commanding your full attention. Once you're done with that, you can easily switch your view and context to, let's say, a design project in Figma by clicking on the Figma icon in your sidebar. Now that becomes your full view. You don't have to worry about a cluttered desktop. For those rare cases where side-by-side viewing is needed, 'Split View' functionality is provided. Closing it returns you to your original view with just one click.
>keep Apartheid to mean the struggle against racism, segregation and hatred that Nelson Mandela and his people fought hard to win.

Just no. This is an entirely appropriate term and Israel doesn't need to re-brand it in order to escape the association with previous examples.

South Africa moved on from its apartheid problem. Israel needs to, also.

Keep this word in use, as it is entirely accurate and appropriate to be using this term. It doesn't matter if Israeli citizens are embarassed by it - they should be embarassed for the conditions of their state.
Wow. What good is getting spammed by ALL those groups?
Any ideas how it works on iOS then?
Btw, now that someone got promoted, how dependent is this on Google's continued support?

As we all know, interest at Google will now wane since you can't get promotions out of this any more.
People put vscode on their resumes?
It's crazy to see how much work header files make the C++ compiler do just to build hello world:

$ gcc -E hello.c | cloc --force-lang=c -
419
$ g++ -E -std=c++11 hello_iostream.cpp | cloc --force-lang=c++ -
20707
$ g++ -E -std=c++20 hello_iostream.cpp | cloc --force-lang=c++ -
30876
$ g++ -E -std=c++20 hello_std_format.cpp | cloc --force-lang=c++ -
42757

Just bumping the C++ std version can add thousands of lines of code.
A viable route around the iron-fist in a velvet glove that is modern, mainstream agitprop against the Palestinian people?
> I interpreted this as an unconscious attempt to marginalize the efforts and sacrifices made by those who fought against Apartheid in South Africa, including Nelson Mandela and many others - in order to increase emotional response for your cause.

Nelson mandela HIMSELF called the Israel situation “Apartheid”.
Do people really put IDEs in their resume?
Why was this flagged? There's some comments calling someone a doodoo-head, but other comments about important matters of society and technology.
So was protesting segregation laws.
They should visit our thousand (nearly) year old door: https://www.westminster-abbey.org/history/explore-our-histor...

I'm a Brit and didn't realise until recently that England is one of the world's oldest countries (927 AD).
Israel offered free Palestine as late as 2008 and agreed to remove Israeli's settlements but it was Palestinians who declined it. Surprisingly this gets missed by all the major media.

Palestinians should have free and fair election and ask for its own free land and negotiate for that. Then they will have my support. Getting money from foreign country for terror shouldn't be anyone's aim.
Indeed. It failed its primary endpoint, and yet someone posted this press release.
No kidding. The doublethink in this, is astonishing!

"Not using the term apartheid" is, itself, an attempt to marginalize the efforts and sacrifices made by the Palestinian people against the apartheid state forced upon them.
'bad thing and killing have happened throughout history and thus cannot be critiqued'
Employers don't require their employees to be members of a professional order because they think professional orders are nifty- It's because certain jobs are only legally allowed to be performed by a member of said order. If you were a dentist and ran your own clinic, you'd still need to be a member of a professional order (at least in Canada and the US afaik) to practice dentistry legally, which would come with obligations outside of your usual working hours.

Software engineering exists in a sort of gray area where you can often be a professional software engineer without having to be a member of any order, which is great in many ways. But I feel like one could argue that the informal expectation of software engineers to care about software outside of their work is similar to what is expected in other professions with more rigid governing bodies.
If you are truly dying of metastatic cancer, and as you seem extremely well-informed and competent to make your own decisions, I feel obligated to share. Not medical advice, entertainment purposes only:

Checkpoint blockades are great if you are providing a lot of the epitopes to target, but not so great if your immune system isn’t already killing cells to provide that. One way of providing substrate is personalized mRNA. Another much simpler way is tumor ablation. I have done this on myself and my animals with mixed results, mostly positive. I use ascorbic acid to ablate skin tumors, and ethyl-cellulose injection for larger masses.
Do you have more info on that? Their support site[1] claims their data collection is much more constrained than that (although still seems like a lot).

1: https://nvidia.custhelp.com/app/answers/detail/a_id/3188/~/w...
That’s a difficult hypothetical considering most of us don’t work in a capacity where we’re allowed to kill people.
Cool, so an FPGA?
> The flu vaccine reduces severity and likelihood of catching it as well (which can serve to protect vulnerable populations). Your own personal chance of death is not all that matters.

This is an insane perspective, eventually leading to totalitarianism. Thinking this to the end, everyone should get forced to be vaccinated for everything, because it might save someone who might die from it.

"Protect the weak and innocent" is a great excuse for reducing the freedoms of people.

Absolutely insane.
In Python I sometimes miss "header files". Quite often you see:

import x

class Foo:
def bar(self):
import y # break circular import
y.something()

Would be nice to be able to import `Foo` without pulling in also `y`, or moving `y` inline.

Can be solved in different ways, but you see inline imports everywhere.
Didn't even realize Freepik went bankrupt...
> Agile is the opposite of Waterfall, which has been the old school way of crafting software until the ’90s.

I'll probably die on this cross, but no, it wasn't.

VisiCalc was not developed with a waterfall model.

Mac OS was not developed with a waterfall model.

Infocom did not develop their games using a waterfall model.

Neither did Sierra On-Line.

The fine folks at Bell Labs did not use a waterfall model to develop Unix.

Nor did Larry Wall when he developed Perl.

Here's a challenge for you - think of 30 pieces of software developed before 1990. How many of them used a waterfall model?

On the one hand, this is deliberately weighting the odds. Most corporate software has no popular awareness. Few outside of the travel industry know about SABRE. Even fewer know about 4ESS, except perhaps knowing it caused the long-distance phone system crash of 1990.

On the other hand, the odds go the other way if you consider the many hobbyists writing software in the 1980s both for fun and, for example, to use D-Base II to computerize their records.

(A Google Scholar search for "Using D-Base II" finds "Using D-Base II for Departmental Record Keeping and Reporting" (1985), "Tracking patient demographics and disease categories in a primary care residency" (1988), "Create Your Own Billing Program: Using d Base II, You Can Devise a Billing and Internal Accounting System in Just a Few Hours" (1984) and a few more. These people were not using waterfall.)
I've been using Ublock Origin for weeks without one ad one every video I watch. Not sure if I'm a special case or stock Ublock Origin is just doing a fantastic job.
This is really great feedback. I completely understand the need to distill the value proposition into something more digestible. Marketing is the area where I struggle the most. More than developing the product, explaining it succinctly to potential users has been my main challenge. I'm learning more every day. Your insights help.
This is totally false.

Hamas never offered peace. It's very easy to fall for Hamas propaganda.

Israel has offered the two state solution over a dozen times! https://en.m.wikipedia.org/wiki/Israeli%E2%80%93Palestinian_...

But what Hamas means by a two state solution includes two things that don't make it a two state solution. The right of return and killing Jews. When Hamas says they offer peace read carefully. They offer a peace where Israel must withdraw (that's fine) but where all Palestinians have the right to reclaim every house they had before Israel existed. This means killing Jews. How is that peace?

Read for yourself https://www.google.com/amp/s/amp.theguardian.com/world/2006/...

They aren't offering peace. They're offering for Israel and all Jews to volunteer for suicide. Would you do this? Allow a native American to murder your family because they have a claim to the land you're on?
Thanks so much for sharing your experience.
ah the title was meant to be EOL as in End of Life not EOF as in End of File, that was confusing
https://xrepo.xmake.io does a decent job at that, but then you're stuck with a modern "build system" too
Technically, that should be Africans then. Neanderthals were the original Europeans and our ancestors came from Africa.
Citation needed. My research indicates this is false information.
Here's the charity responsible for this bridge and several others in London: https://www.citybridgefoundation.org.uk/about/history Founded in 1122, which is quite something!
> I had no idea there was "Nature Electronics". How many brands do they have now?

There are at least 50 with 'Nature' in the title [0], not including collections and other publications

[0] https://www.nature.com/siteindex
Correct.

For example a woman breast-feeding or a man peeing on a tree on the side of the road.
Statistics and complex variables aren't taught in a way that gives you understanding, they are taught plug and chug. That is why it feels like a breeze and then everyone forgets everything. Basically nobody gets a good understanding for those subjects from taking courses, so you need memorization techniques for them.

Calculus and linear algebra are good examples of courses taught in a way that gives understanding, lots of people understand those after taking the courses, so there you shouldn't use memorization techniques.

So the reason you needed spaced repetition for statistics was that you never understood statistics, you just memorized it, like basically everyone else. It isn't wrong to do that btw, statistics is useful even when you just memorize it which is why it is taught that way, but don't trick yourself into thinking that you really understand the material the same way you did calculus or linear algebra.
Thanks! Looking forward to your feedback.
And ironically, the OG electronic payment institution, PayPal, actually is a bank in the EU.
> A human driver would likely wait for the light to go red and then make the turn, but the Waymo gave up almost immediately and instead decided to circle the block to make the left (three rights)

I totaled two cars when I was newer to driving because I did exactly that (waited for the light to turn red and then went), only to collide with people running the red.

Insurance faults the person who was making the left, so I can understand why the Waymo would want to be more cautious
The first line of Hamas’ charter is the complete destruction of Israel
UK Supermarkets used to send cash from the tills to a back office using a system like this[1].

At some point a thief decided it would be a good idea to intercept some of this cash: https://www.telegraph.co.uk/news/uknews/1554632/Thief-stole-...

These systems disappeared as we shifted away from cash.

[1] https://en.wikipedia.org/wiki/Lamson_Engineering_Company_Ltd
It's rare that it gets mentioned on Hacker News, and the previous few times that I've brought it up, people actually attack it, like simplifying the tax code is a bad thing.
what does subnormal mean?
Would it make any difference? I'm a UK citizen. If I earned profits from a VC fund in San Francisco what are the chances of me paying only UK tax on that? You can also tax the fund directly and the corporations they invested in. You can tax the transfers of wealth between those entities. Of course you can tax these people if you want. Sure some of them will run to Belize, but the US control the domicile rules, tax them as you wish. Are they going to stay there forever? Tax income earned on US PE funds at source. Do whatever you like.

It is frankley pathetic to suggest you can't tax rich people or they will go abroad.
> I'm looking forward to trying a Hollandaise recipe next. It's much easier to make in a siphon than using the traditional technique over a water bath.

What? How does that work with a siphon? How are the eggs yolks cooking then? Or is using the siphon giving you the same texture without actually cooking the yolks?
Optimizing for that criteria you obtain a "random number generator" which deterministically returns 0.5 every time.
In the limit sure, but technically it was Anatolia (Asia Minor) or Caucasus (Asia).
"I think you're making the mistake that "settler-colonialist" is some kind of demonic brand that condemns everything that it might be applied to to perdition or at least cancellation"

That's precisely what they're doing. Anyone with even a casual understanding of the modern American hard-left knows that's what they're saying and anyone who says otherwise is obviously, willfully lying.
The interesting aspect of buildings like this is the need to tailor the design to the local environment. Humidity can be dealt with through careful consideration of airflow and heating.

Looking up Earthships can be a good starting point (though many of those are desert climate focused as well, it's not a necessity) for further research.
> Most people that I've interacted that work in software refer to "source available" as open source

Proprietary software and closed source refer to the same thing.

Most people you've interacted are wrong. sorry...
The proposed generator has, assuming the true uniform integer generator, the mean expected value of 0.5 + 2^-152 [1]. If you can ever distinguish this difference you are more likely to see a biased RNG output much earlier.

[1] Start with the first `rand_between_zero_and_one` snippet. `x = ((x + 1) >> 1) + (e << 52)` can be rewritten as `d = (1.0 + ((x + 1) >> 1) * 2^-52) * 2^(e - 1023)` (since it always generates a normal number). `E[(x + 1) >> 1]` exactly equals to 2^-51, and `E[2^e] = 2^1022 * 2^-1 + 2^(1022-1) * 2^-2 + ... + 2^(1022-74) * 2^-75 + 2^(1022-75) * 2^-75 = 2^1023 (1/4^1 + 1/4^2 + ... + 1/4^75 + 0.5/4^75) = 2^1023 (1/3 + 1/(6*4^75))`. So `E[d] = (1 + 2^-51 * 2^52) * (1/3 + 1/(6*4^75)) = 1/2 + 1/4^76`.
Thanks for checking out the app. Can you elaborate a tiny bit on what you mean by focus on the integration part?
From a software engineering perspective, this shows that physical units are not a fool-proof typesystem, and you need alternative units (types) for differences.
you can certainly report it but the police will actually want to speak with her
A 21-year-old prodigy has just unlocked a piece of history
Luke Farritor used AI to decipher a word from the 2,000-year-old Herculaneum scrolls, buried by Mount Vesuvius. This monumental discovery won him $40,000 in the Vesuvius Challenge!
Exactly, there doesn't seem to be any restraint to creating viruses that would match a naturally occurring pathway. Viruses are simple enough that you can do statistical analysis and determine how many years it would take for such an occurrence to take place in nature. Humans have the tools to create viruses that wouldn't occur in the wild before the heat death of the universe.
Edit: It was his grandson: Addressing a large audience, Mandela said that the Nation-State Law passed in 2018 declaring Israel to be the historical homeland of the Jewish people “confirmed what we have always known to be the true character and reality of Israel: Israel is an apartheid state”.
Did you read the article? People don't want to hire the off duty police. They are required by law to do it and very unhappy.

They want to hire regular bouncers without the power to arrest to work their nightclubs.
It’s also why it doesn’t make sense for employees to work 80 percent effort and expect 80 percent compensation.

The relationship is nonlinear, most of a high compensation actually happens at the margins; how much better you are compared to the state of the art.
What you want is the model to be so advanced that it would probably be capable of just generating music. And actually if all you want is just similarly sounding music streaming into your ears then automatic generation is the natural continuation after automated recommendations.
Teaching Tax in School
In the article they talk about four researchers that may have trouble getting a grant due to the changed political environment. Seven million people are confirmed to have died from COVID, and the excess worldwide mortality since the beginning of the pandemic is 27 million. Both of these numbers are larger than the number of Jews that died in the Holocaust.

These are stakes as high as any single event in human history. Given the danger we're talking about, whether or not a few professors get a grant and have a good career is simply not even worth discussing. The fact that it is even discussed shows that the priorities of the virology community are wildly misplaced.
Thanks, it should exist content in any language if you search for your podcasts. If you get an empty result, wait a minute or two and check again. I have some auto-discovery code that tries to fetch new podcasts for empty searches (capital sensitive unfortunately).
There's also Audio-over-Ethernet, which is still used for professional audio where latency must be held low.

I believe there are other broadcast protocols that runs on Ethernet for the same reason.

Fibre Channel-over-Ethernet used to be a thing too, but I haven't seen it for a while. Perhaps latency wasn't as much of an issue as people thought and it lost to iSCSI.

I don't think it necessarily is bad idea to run protocols directly on the data link layer. The fewer parts the better. It's just that somewhere someone probably wants to route it, and the more general usage tends to win. So it's always going to be a niche market where latency is really important.
I just let them play since they're usually a couple seconds long and help support content I enjoy.
You also probably get put on a government watch list.

Rightfully or wrongly, there are anti-BDS laws in 35 American states and we all know which side the national security establishment is on.
British people love old stuff like Americans love old British stuff.