skysight-inc/HackerNews huggingface dataset:
While I knew the concepts of log I first truly understood it when I started looking at everything as log2. In hindsight I feel like a moron, obviously it is about doubling and halving risks is what it's about (I'm an MD so everything is a risk ratio in my field).

I remember a colegue that was presenting results during their defense of a thesis where one risk ratio 0,45 and the other 2,1. I asked which effect was biggest and they automatically replied 2,1. I'm pretty sure that 80%+ of my colegues would make the same mistake. Everyone understands double/half - we should try to teach people this as the word log is just too intimidating for so many.
> Thus its claims cannot be checked against any other contemporary sources, which is particularly irksome since some of them appear highly dubious – such as stating that the army marched 20 miles in 5 summer hours at regular pace and 24 miles at double pace.

The author provides this information and then never details what was meant by ‘summer hours’. Romans had twelve hours of daylight and twelve hours of darkness. That is to say, the daytime was simply divided into 12 hours, which made ‘summer hours’ significantly longer than winter hours (and longer than 60 minute hours.) Which also seems to make the quote more believable.
I have a similar story, growing up in Australia we had Eeny, meeny, miny, moe [https://en.wikipedia.org/wiki/Eeny,_meeny,_miny,_moe] and like some other countries we used the n-word instead of tiger.

I'm not sure where that came from since I don't think anyone knew what it meant and it definitely wasn't used as an insult by us kids. I don't think I learned what it meant until well into my teens. Pre-internet days, of course.
tl;dr radio tracking reveals migratory birds have larger ranges at the breeding endpoint than we'd thought.
Renewable energy sources have zero fuel costs. Their potential for life-threatening disasters - on the scale of Fukushima, Chernobyl, coal ash floods, etc. - is zero.

Just as with coal mines, uranium mines and oilfields, there's a large upfront cost ... but a much lower cost to the environment.

Furthermore, anyone can create solar-powered electricity, anywhere. There will be no wars over access to sunlight. Sunlight is a democratic power source, which cannot be monopolized by special interests. Nomads in Mongolia make their own electricity. Anyone living near a creek can make their own hydro ... thousands do.

Once renewables are built, apart from maintenance, the cost of the energy and its transport is free, and (apart from recycling costs) pollution-free. It will continue to be free until the generator has to be replaced, some stupid war destroys it, and/or the Sun burns out. Too obvious for some interests.

Attempts to distort these facts, to maintain monopolies and continue to enrich a very few, will persist. It's easy to invent lies and distortions and to spread FUD about renewables. Yep, there's a lot at stake. For a few.

But what's best for the biosphere and its people? For the people of the future, including our kids and grandkids? For all the lifeforms, the water sources, and the atmosphere of the planet? The answer is renewable -- and the technology to support its generation and storage is a superior and long-lasting investment.
Do management typical typically study Computer Science?
Really I don't feel up-to-date enough to give great guidance. I worked through most of the problems in the first edition back when it came out, and it significantly influenced my approach to programming. With the later editions I gave them a pretty superficial read. There are other newer textbooks like Shriram Krishnamurthi's which I haven't read at all.

I don't think the first is 'better', but as examples of how it was more fun there's the compiler chapter and an OOP chapter with a small OO language organized around metaclasses instead of what I remember as a more tedious development of Java-style OO in a later edition. I'd still expect the latest edition has the most to learn from if you're picking just one.
The driving to a restaurant happens, but it may just be an excuse (kind of like private pilots flying somewhere for a hamburger). The restaurant isn't the reason for the trip.
We taught him the basics. He learnt the details from other kids.
Right, so you get regulators that are rational and won't enable the nuclear industry beyond reason.
"Kill the dill with the pill" in my school in Australia.
Try this:

https://webcache.googleusercontent.com/search?q=cache:ydxmMP...
Global warming, however, can.
Good point. You're right that we trusted him more when we saw that the trust was used wisely.
I'm not sure I really get the bug with the break statement. What should the code have looked like instead?
Hyundai Prophecy Concept EV Reveal
It’s very revisionist history to say that Apple has never been a big standards pusher or implementer. Basically every modern browser engine other than Gecko is descended from Apple’s Webkit.
The Public Voice of Women · Mary Beard · (2014)
Isn't that what Ingress tried to do first? And the Google local guide program seems quite successful.
How to Become Better Swift Developer
If the paywall gets you:

https://web.archive.org/web/20200622084232/https://www.lrb.c...
Observing that someone's behavior matches a pattern is not "trashing" them.
echo $0 will tell you the exact path if it was so executed as a login shell (or otherwise with a full path). If the shell was executed otherwise, then 'which $0' will tell you where it came from, because it must have come from $PATH.
I like your idea. I'll give you a few pieces of friendly advice from a digital marketing guy:

1- Talk more about the benefits and less about the feature's. I.e. people don't want CV privacy problem solutions - They want to "Find a New Job without Your Boss Finding Out" - Look at linkedin home page, they talk about the benefits people get, not what they offer.

2- Your sign up form is way too long. If Linkedin can't afford to ask for 6 fields of form filling, neither can you. Trust me, they've done the numbers enough to know.

3- Testimonials are your friend. Social validation/proof in general would be helpful.

4- Be ruthless in editing. Every word on your site should be closing the sale and promise on the benefit your offer your users. You should ask yourself the question of 'does this sell' to the point where you can easily see why 14th century privacy issues are not a wise thing to bring up on your home page.
Bigger isn't necessarily better, here. There's a term for "small jet turbine powered autonomous suicide drone" already - "cruise missile" - and it's something that the US military has put a lot of work into stopping.

Small drones aren't really part of the same threat profile, near as I can tell.
It's pretty silly to suggest that a state-level adversary needs the help of the person who stumbled across the baked-in credentials in an obfuscated Python binary to accomplish a CNE task. If a state wants to target Tesla, someone will submit a petty cash request to contract someone else to develop Tesla vulnerabilities.

If you're able to sell a Tesla vulnerability to the supply chain of a state-level actor, it's probably because they're already actively exploiting Tesla vulnerabilities. By the time random discoveries like this are part of the supply chain, the supply chain is already chugging along.

I think a good rule of thumb is that no serious actor --- not a state, not a crime ring, not a competitor --- does speculative engineering to accept and operationalize a third-party vulnerability. If they're buying, it's because they already have an operational infrastructure to drop the bug into. When you're figuring out the dollar value a vulnerability has, start by telling yourself the story about the entity that already has a bug just like it, is exploiting it for some articulable purpose, and wants a replacement or 10 in the hopper for later. (I don't think this is a perfectly reliable heuristic, but it's where most of this kind of thinking should start).
It's true one huge function repeating things and excessive fragmentation into subfunctions are both less than ideal to maintain and there's a desirable middle ground. But

>> Very short functions are a code smell

that's definitely not unconditionally correct. There are many cases where dereference helpers of the form x_to_y(x), wrapping type conversions that might go through three or four levels of struct members are going to eliminate mistakes in bulk code. They may be done as preprocessor defines or as inline functions but either way they are usually a green flag, not a red flag.
Can Kneron’s Edge AI Chip Compete with Google AndOthers on Performance Benchmark
How to Elastic SIEM (part 2)
The problem is logistics. For this solution to work, the counter swarm should be more capable than the incoming swarm (faster, more AI capabilities, etc), and their quantity should be more than the incoming swarm.

You cannot have millions of drones everywhere, but the enemy just has to be lucky and send a million drones to attack you.

Also, you can have advanced tactics, like releasing the swarm, but programming them to hide and attack at random. With a good enough drone, you can create a almost impossible to evade booby-trap. Especially if you are in a war field.
yarn save the network bandwidth and download time via local caching; pnpm does that all as well as saving the disk space via using symbolic link over copying.

In additional, pnpm doesn't hoist the indirect dependencies into node_modules.

yarn seems to be more popular but pnpm desire same/higher amount of adoption.
This is a video of Richard Werner (an economist the article refers to) in action:

https://www.youtube.com/watch?v=EC0G7pY4wRE
The crazy part is that all over the world nuclear is being phased out as it's uneconomic compared with renewable energy. I wonder why they chose now as the time to endorse it, just when it's no longer relevant. So strange.
It's part of HN's tradition of gaslighting victims of demographically-targeted violence by ignoring any kind of context and pedantically claiming "it couldn't possibly have been $bad_thing". Of course, because being contrarian is more important than learning about the history of LGBT abuse.
The push fasteners are usually removable if you're able to squeeze on the underside of them. Otherwise best way to pry out is with a Y-shaped tool that digs under three sides.

I treat them as disposable, like tape or glue, but easier to replace without making a mess of it. They're dirt cheap, so I just rip them out and replace as necessary.
+1 there is a lot of good discussions on Bogleheads forum/wiki if you just want to invest in highly diversified funds: https://www.bogleheads.org/forum/index.php
The surreal art of ‘unnatural lighting’
I legitimately still think pions is one of the only good webrtc libraries out there, an absolute pleasure to use. The same day I learned go in 30 minutes, I converted 4k lines to use pions and the result was fantastically stable. Keep it up!
Close but not quite.

A native advertisement is an ad, dressed up to look like news.

A submarine ad is news. It's true, it's newsworthy (though that seems to be a low bar), it's a perfectly reasonable thing to be published as news. It just... happened not to be discovered by a journalist. Instead it was discovered by a company who hunted for possible news stories that would make them look good or would mention their product, found one, and presented it to a journalist. All nicely researched and ready to go; an easy story. (If this doesn't make sense, Paul Graham explains it better.)

That's my understanding, at least. I'm sure there are tons of shades of grey and no clear boundaries between these things.
Wow...I always thought software development in the automotive field was superior in terms of care, precision etc to that of an average software company. Now I can without doubt tell the stack and the codebase in the organization that I work is far more robust and carefully done.
Have you thought that maybe if those people were given the tools to distinguish right from wrong they wouldn't have ended up believing that crap?

You have really no proof about the relationship of parenting style to conspiracy theory believers.
That's too true. So far he seems much more responsible than I was, let's see what happens in college.
That's awesome. Didn't know that was even a thing.

Spain is the country I wanted to move to anyway, which Brexit destroyed my hopes of.

For anyone else that finds this potentially interesting, this seems useful:

https://balcellsgroup.com/work-remotely-from-spain/

https://balcellsgroup.com/non-lucrative-residency/

(note that they're just the first links showing up in DDG, so there might be better ones around)
another technique heard from a university professor is to put the most important thing in the second place in your todo list. So when you procrastinate doing the first item, you'll get the second/third items done.
I can tell it has started raining by the number of ambulances leaving the station down the road.

Human driver errors not correlated my arse!
Amazing that would only cost $34 for the drive: https://www.amazon.com/dp/B08FGZBCWQ/ref=cm_sw_r_cp_api_i_ax...
> I wonder how long it will be before we start to see legal or regulatory interventions in this area.

Not long IMO. It'll be sold as a safety measure, but the real purpose will be to limit competition. I think it's similar to "warranty void if removed" stickers, but I'm worried we're not going to get the same pragmatic legislation that makes those ignorable.
If the numeric system was 0123456789AB and 10 (would be 12 in decimal), then 10 would have 2, 3, 4, 6 whole number fractions.

10/2 = 6

10/3 = 4

10/4 = 3

10/6 = 2

That's two more whole number fractions than 10 (decimal) which is only divisible by 2 and 5.
It does, just need to remember that they require a specific way of talking. I'm always by default talking more loudly and articulately with simple expressions, then it gets it for the first try.
(At least Google Assistant, Siri has way way more issues understanding me.)
> Kid has Linux, every programming lang available, Minecraft, ebooks, wikipedia, educational websites, etc. We live a block from the library. No shortage of quality learning materials basically. Perhaps ya'll've misread the list.

Yes - because every kid wants to program purely for the fun of it. There's never an end goal in mind - they just learn functional programming for the fun of it! They all enjoy finding ways to chain esoteric commands together in a terminal.
Tips on How You Can Measure the Success of Financial Analysis in Your Startup
https://en.wikipedia.org/wiki/Startup.com
I believe another word for enums (in the Rust sense, not in the C++ or Java sense) are tagged unions.
"Older" could mean a wide range of ages.

Regardless, older people have parents, siblings, and spouses to plan funerals for, even if they're not pre-planning for their own (which is not uncommon).
Rust enums are full union types. i.e. while each possibility in a (say) Java enum must be of the same type, each possibility in a Rust enum can be of a different type.

i.e.

https://play.rust-lang.org/?version=stable&mode=debug&editio...
Vannevar Bush should've followed up his article with "As we may organize".

It's a pretty unsolved aspect
To store it in our atmosphere.
What is the best recruiting software?
It's the best trackpad out there, and all trackpads are clunky and non-ergonomic. A mouse, keyboard, touchscreen, or almost anything else is better. Due to the location of a trackpad you are guaranteed to have your wrist bent which limits how long you can work before discomfort.
Thank you for this review of the article that I posted. I really appreciate the effort and the information that you've put in here.

I love the Great Courses, and have spent a lot of money on them. I wish I'd shared a more accurate article on them now, as an addled account can't help them all that much.
Exhaustive or not, it is very wrong on quite a number of topics it claims to cover. For example Chun-Li being a first fully playable female video game character? No matter how you try to frame it is either wrong or extremely wrong.
Let’s just say it means many, many, many more deaths.
Hey, it’s you! The author of Shortcat. I tried out your project maybe a year ago and absolutely loved the concept, but eventually had to give up on it when it kept crashing and didn’t reliably find what I was attempting to click on. I never knew if Shortcat was to blame or if it was the application not being properly presented to the Accessibility system.

Anyway, Shortcat is a freakin brilliant idea and I hope you keep working on it, or help this author with their project. If you think you’re going to have time to work on Shortcat again, though, I’d happily buy a copy (even if I already did before, I can’t remember if I did) and be an active bug reporter.
Hey, try this guy's tutorials. Very thorough -
https://youtu.be/t_yOXAKjyHs
In the Fukushima case, completely unnecessarily.
Meanwhile a Tesla on autopilot crashes into a stationary police car on the highway.

As much as I like the tech I still think we are years away from self driving cars.

Edit: as other pointed out it looks like this recent accident was with a 4 year old autopilot version (software, 8 year old hardware). So it is not completely fair to use it as example. But the reason I used it is because detecting stationary objects should be the basics of any self driving vehicle.
Turns out a male bird has to fly farther to mate because the females think he looks ridiculous with the antenna fanny pack hanging off his rear end.
The Pros and Cons of AWS Serverless Express
A deep dive on the good and bad sides of the migration framework built by AWS Labs for express-based legacy apps.
When I think of sum types, I like the categorical definition the best, which is that a sum A+B has two morphisms (i.e. constructors) Inl : A -> A+B and Inr : B -> A+B, with a simple commuting diagram[0]. Or in Rust,

enum Sum<A, B> {
Inl(A),
Inr(B),
}

Why do I prefer this definition? Well, category theory abstracts away irrelevant details, and sums have a "universal property" associated with them. Roughly speaking that means that it doesn't matter how you define sum types in your language, if they fit the universal property of sums (up to isomorphism) then they truly can be considered sum types. In the Rust PlayerClass example the corresponding sum is (Solarian + (Polarian + Centaurian)), and morphisms

Sol = Inl . Inl
Pol = Inl . Inr
Cent = Inr . Inr

[0] https://en.wikipedia.org/wiki/Coproduct
I'm still waiting to see one of these supposedly safe reactors actually in operation. We'll only know about their safety once a few have been in operation for a decade.

Meanwhile, the climate clock is ticking.

The select few that have controlled the world's energy supply for a century -- and have lied for so long and are so heavily invested in dying tech -- are getting desperate. The average nuclear plant generates 1GW. The world has added over 650GW of renewables so far ... over 60GW of wind in 2019 alone.

Their fearful threats are empty. Japan has been and will be in debt for many decades just to clean up one very-poorly-sited reactor. I wonder how many solar and wind plants they could have built with that money. And who can and has accounted for the cost to the world's environment? Coverup, coverup, coverup. Tragic.
Fair enough. I guess I just reject the premise that BLM twitter comments that could be considered misinformation aren't analysed by the people who come across them. Furthermore you can see far right disinformation on Twitter and Facebook on a daily basis. Maybe it's due to the fact that the modern BLM movement hit mainstream with George Floyd whereas Qanon has been around for years now? All I can say is they're not apples to apples comparisons so there's little value in pointing your finger and the other side when compared to actually discussing the topic at hand.
Ask HN: Resources for low level (OS, concurrency, C++ trivia) content?
Hey HN,

I'm a new grad trying to prep for HFT interviews. I noticed that some companies will ask these low level questions, and almost everything I read says something along the lines of "Oh, there's some C++ tricks you _just run into when you're working_." So HN, do you know any resources that can help me review concepts that show up in interviews?
How literacy became a powerful weapon in the fight to end slavery
It is the first thing of the first chapter:

> WebRTC, short for Web Real-Time Communication

https://webrtcforthecurious.com/docs/01-what-why-and-how/

Unfortunately the landing page is not the first chapter but an "about" page. It would make sense to me to have the landing page be the first chapter.
Why can't we create a nuclear power plant in the middle of the desert like area 51 type of setup so if there is a meltdown it can be contained. Could we safely store the energy somehow and transport it or make some sort of long-distance hookup to our grids?

Also anyone know why the nuclear site in San Onfre by San Diego failed?
Union types aren't sum types. One difference is A | A = A, but A + A = 2 * A.
One interesting fact about US food labeling requirements is that manufacturers are legally required to use incorrect conversion ratios.

Per the law 21 CFR 101.9(b)(5)(viii) [0]:

> (viii) For nutrition labeling purposes, a teaspoon means 5 milliliters (mL), a tablespoon means 15 mL, a cup means 240 mL, 1 fl oz means 30 mL, and 1 oz in weight means 28 g.

In reality:

* 1 fl. oz. ≈ 29.57 mL [1] (the volume measurements all build off of one another so I won't bother converting more than one)

* 1 oz. ≈ 28.35 g

In other words, volume and mass measurements are legally required to be off by ~1.4% and ~1.3% respectively.

[0]: https://www.accessdata.fda.gov/scripts/cdrh/cfdocs/cfcfr/cfr...

[1]: https://en.wikipedia.org/wiki/Fluid_ounce
One other excellent way to throw off the maintenance developer is to define & use LOTS of dynamic methods in obfuscated locations.

Step up your game by defining those methods from a DB entry.

(I wish I was making this sinister plan up for satirical purposes)
Why can't we create a nuclear power plant in the middle of the desert like area 51 type of setup so if there is a meltdown it can be contained. Could we safely store the energy somehow and transport it or make some sort of long-distance hookup to our grids?

Also anyone know why the nuclear site in San Onofre by San Diego failed?
Apple WebKit itself is descended from KDE's WebKit IIRC.
This can help you with OS..
http://pages.cs.wisc.edu/~remzi/OSTEP/
What do we do when every dust mote is sensing and giving off wifi signals in our houses?
Exactly- with Sentri you have an id number that has your personal and vehicle info

How would the automated system scan the card, the face and the license plates and then do a name lookup?
> The problem with these versions is that they don’t explain why this collision between furlong and mile occurred around 1600, and not centuries before. It implies, therefore, that people suddenly woke up and realized, hey, wait a second, if there’s 660 feet in a furlong … and eight furlongs in a mile … but 5000 feet in a mile …. wait a second !?!

It's not that hard to guess why the broken system lasted so long (delightful and interesting explanation of TFA notwithstanding), and consequently why it was replaced by a different broken system.

95% of people on this planet use, understand, and advocate metric, in which an area of 100 metres x 100 metres = 1 hectare (10,000 sq m).

A 10 x 10 grid of hectares = a square kilometre.

A millimetre of rain falling across one hectare means you've received 10,000 litres of water.

That volume of water has a mass of 10,000 kilograms (or 10 tonne).

Wait a second, indeed!
Hang on, these radio tags actually transmit? They're so tiny! $200 for each¹. Damn, radio transmitters are way lower-energy than I thought. This is fascinating.

¹ https://motus.org/selection-guide#selectionGuide_section_hdt...