skysight-inc/HackerNews huggingface dataset:
There are so many compounding factors here that the conclusion seems unreliable. It also reminds me a lot of the streetlight effect[1], in that defects may simply be easier to detect in smaller functions so that's where we find them.

Many of the conclusions center around density and lines of code. This is weird because if smaller functions lead to less overall code, then if you have 2 bugs in a 1,000 sloc codebase it'll measure worse than 6 bugs in a 10,000 sloc codebase that does the exact same thing.

It might be more valuable to compute the defect rate per cyclomatic or kolmogorov complexity. Or some other measure that's independent of line length and then figure out how function size impacts those complexity measures.

[1] https://en.wikipedia.org/wiki/Streetlight_effect
I assume you're referring to the incident from a few days ago, in which case, you're withholding so much information that this is wildly misleading.

That was a first-generation Tesla Model S, which means it is using the first version of autopilot, developed by Mobileye, from 2012.

So you're only correct if you choose to ignore eight years of progress.
It was explicit for me as late as 2004! I am still rather shocked at the progress. I’ve also noticed a huge distinction between lgbt people of different generations, gen y is practically prudish comparatively. “Sex positive” is far less of a thing it seems.
Twice...
"The Model S was a pre-refresh Model S, which means that it was likely using the first version of Tesla’s Autopilot, which hasn’t been updated in a while'
The second link says:

"Cancer is the second leading cause of death globally, and is responsible for an estimated 9.6 million deaths in 2018. Globally, about 1 in 6 deaths is due to cancer."

> So you are wrong.

Please be more careful in making this statement. The evidence you present should allow the reader to make their own decision.
All sorts of little things that would be clarified through casual in our cubicle farm now need formal meetings to make sure everyone is on the same page.
There're relatively easy countermeasures against that too: reflective paint and a rolling airframe. To be effective the laser needs to heat the airframe fast enough to cause structural damage before the energy is dissipated away. This is relatively easy when you're targeting a black plastic drone that remains stationary in the sky. It becomes orders of magnitude less effective when the drone is white or metallic and the point of contact moves all over the drone, particular because flying objects have natural air cooling to dissipate energy away.
> If you want to calculate a distance in space, you use Euclid’s formula. A distance, in three dimension, is the square-root of the of the sum of the squared distances in each direction of space. Here the Δx is a difference between two points in direction x, and Δy and Δz are likewise differences between two points in directions y and z.

I really dislike it when explanations about reality become explanations about a model of reality.

Can the original question be answered without assuming some model is the perfect reflection of reality, or just without using the model?
> From a purely pragmatic perspective as a citizen and resident of a five eyes country, I consider it a much lower threat to myself and my career, political life and financial life to have my data in the possession of the NSA than the MSS.

Why is your information being in the hands of an agency of the government that has to break the constitution to have said information somehow a lower threat than a foreign government that has zero impact on your life?
What Is the Pure Undiluted CBD Price?
Pure Undiluted CBG

You can claim the lowest Pure Undiluted CBD Oil Cost by clicking any image or button on this page! Our links will send you straight to the top selling tincture so you can find the best deals for the product. If you hurry, you can even claim a FREE TINCTURE with your purchase of the top selling hemp oil. With this exclusively low Pure Undiluted CBD Price, you can get your highest quality healing without paying a fortune. But the longer you wait, the more likely that this incredible offer could expire, or supplies could sell out. So, if you are ready to claim the lowest Pure Undiluted CBD Cost, now is the time. Click any image or button on this page to get pure, powerful healing with the #1 tincture while supplies last!

https://buddysupplement.com/pure-undiluted-cbg/

https://www.justgiving.com/crowdfunding/pure-undiluted-cbg
Let me introduce you to a few friends, only 3 for now. Hopefully these will answer your question:

* nologin: https://man7.org/linux/man-pages/man8/nologin.8.html

* scponly: https://linux.die.net/man/8/scponly

* git-shell: https://git-scm.com/docs/git-shell

If your policy is instead to fire up a full blown unrestricted bash shell, then hope the user doesn't exit your script before you swap it with a restricted shell, I've got some surprises for you.

Even if you trust your users, every one of them is a potential doormat for a malicious user to wipe their feet on as they use leaked credentials.

Moral of the story: the stuff is there for a reason and it's easy to use. Might as well do it. Most of the vintage useless stuff is long gone, if it's there it's probably still important.
Humans are held responsible for what they do. But who is gonna go to jail if Tesla kills someone? Owner? Enginneers? Maybe car itself?
So, an event that kills zero people could happen every 10-20 years, and another event that kills zero people could happen every 60-150 years? That is certainly alarming.
Queer was used to denote (pejoratively) a gay person starting in the late 19th century, and increasingly was used that way into the fifties and sixties. The term was later reclaimed by the queer community in the 80s, 90s, and aughts.

The term, particularly in the mood century, was absolutely used to describe gay people.
My understanding of Stripe is that it would require quite a bit of coding. As a bare minimum I would have to implement:

- Some sort of login system which populates a Users table on my server

- An HTML/Javascript component which (if the user is logged in) shows the user's name and has a drop-down menu 'My Account' and 'Logout', or (if the user is not logged in) a 'Login/Register' button

- A 'My Account' web page to show the user's current subscription plan and the option to cancel it or upgrade to a better plan, and a way for the user to delete their user account

- A webhook called by Stripe which updates the status of the user account in the database
Hmmm, it's saying "Sequential Writes up to 5,000MB/s" and "Up to 5,000 MB/s*".

Yet the note in small writing next to the asterisk says:

The write performances were measured with Intelligent
TurboWrite technology being activated. The sequential
write performances after Intelligent TurboWrite region
are: up to 500 MB/s(250GB), 1,100 MB/s(500GB) and 2,000
MB/s(1TB).

That doesn't seem like ~5GB/s?
Good question. It does, in the way that we use the same software everywhere, the same docker containers and everything.

On the other hand, it takes a lot more effort to manage releases. I guess it scales in the same way Microsoft’s enterprise business scales; hard labor on top of a scalable platform.
Its all going to boomerang. Just watch the show.
Your foot is approximately a foot long. My stride is approximately 1 metre. Both are valid ways of roughly gauging distance, but only one is a sane system of measurement.

And by the way, all imperial units are now defined in metric, which makes the conversion doubly insane.
I've automated my morning routine
It's an IOU for 100 dollars. You can exchange it for other cash IOUs from the central bank. A bank can also exchange it for electronic central bank reserve IOUs.
Show HN: Intel Compute Stick Licence Plate Detection
Model zoo like training pipeline using open sourced licence plate dataset.
If you like hard sci-fi, Greg Egan has a written a few books that cover what life would be like if there were 2 dimensions of time (http://www.gregegan.net/DICHRONAUTS/DICHRONAUTS.html) or if the dimension of time was sumed instead of subtracted when measuring distance (http://www.gregegan.net/ORTHOGONAL/ORTHOGONAL.html)

It's amazing to think how the universe is ruled by such minute details.
This is great, thanks! This is the first time I hear it explained like this and it just somehow clicked immediately.

I now have this (probably wildly incorrect, total layman here) vision of the time dimension of velocity being "a normal" simultaneously to all the spatial dimensions and acceleration as rotation of the four-vector away from the time axis...

sorry for any terminology errors.
Thank you for this. I expect you'll get down voted or flagged, but my experience as a queer person on hn had absolutely been full of exactly what you describe.
The surface of the swelling pingo before the methane bubble pops looks like a giant loaf of freshly baked bread.
There'll still be two morphisms, Inl : A -> A + A and Inr : A -> A + A
I crossed the border at San Ysidro on foot a couple times when living in San Diego. I found it entirely predictable that the CBP 'cops' were generally rude and off-putting. I was pleasantly surprised to find the Mexican military officers were not constantly scowling and didn't point their weapons at me when I accidentally took a left into their facility instead of turning right to walk onto the streets of Tijuana (they tried Spanish first, presumably because I'm brown, but then asked me politely in English to turn around and go the other way).

The only thing that really surprised me was that my friend was able to return to the United States without any documentation after losing his wallet. Then again, he was a white kid with a Louisville accent. Like he said, "Not a hard decision for them which side of the border I should be on". I was scared shitless of losing my passport and I-20 the whole time I was there, being a non-citizen.

I found the Mexican officers' demeanor to be similar to the German federal officers one sees in German airports; not constantly smiling (except perhaps at children), but if you cross glance with them they'll usually smile & acknowledge you. Also as with most people surrounded by foreigners they'll definitely smile if you say something nice in their language.
My pixel can scan qr codes by default through the camera
Then you better correct the Wikipedia page listing the nominal working hours most of them exceeding the 35h (https://de.m.wikipedia.org/wiki/Wochenarbeitszeit), and I and the people further up in the thread have to sue our former /current employers, which contracted us with 40h/week.
I'm just a bit surprised that it's drones that are getting you down when we have an exciting nuclear arms race going on that is barely reported in the media.
FB Executive Supported India’s Modi, Disparaged Opp. In Internal Messages
I think it's clever because we all (at least those of us over 35) recognize this tendency in our own thinking, at least to some extent. It certainly doesn't mean we reject or are incapable of learning new technologies. It's more about introspection—realizing for instance that the fact I have little use for TikTok is more about me than it is about TikTok. Personally I don't feel it needs to have any ageist connotation.
You're in luck. We have 2 such books today. Other than "Rise & Fall of Dinosaurs" mentioned, "Dinosaurs Rediscovered: The Scientific Revolution in Paleontology" is a good one too.
It's been fun, MacOS, but it looks like our time is drawing to a close.

With competitive, affordable AMD hardware and better GPU support, both WSL and Linux (KDE Plasma) offer compelling competition.

The only rebuttal from Apple being extra padding on the UI, so it seems like I am no longer your target audience.

Fair well, it was a beautiful, cohesive experience while it lasted.
I've been really trying to cut out lame, crazy, and mad from my lexicon as of late. It's challenging to break those patterns you learn as a kid.
Thanks for the advice Nicolas! I really appreciate. I'll make the changes you suggested right away!
In 2019 the Trump administration considered formally designating the Mexican drug cartels as terrorist organizations. They backed off on that approach, but had they gone ahead it probably would have led to drone strikes.

https://www.bbc.com/news/world-us-canada-50697635
An example of bad naming from some code I inherited and worked on last week

if check_date(owner):

actually meant

if has_an_active_subscription(owner):
Umm people speak about lasers, energy based weapons and etc and etc. That problem was solved almost century ago. Flak cannons. The moment you have means to properly detect such cloud of problems, few flak cannons will rip them apart in seconds.
Thank you for clear explanation. I wonder how changes in 4-vector velocity relate to "energy & momentum" 4-vector? Does that vector also have fixed magnitude?
It might be that architectural designs are copyrighted as well in the countries and maybe that different rules apply when you want to use a design in a game than using it in an information service, such as a mapping service.
Yep and not just gay. The nerds, fat, awkward, people who spoke with a lisp. Basically a way to identify anyone not in the “in group” and punish them.
> or boot up Linux and have to fight to get a core function like system updates or audio working

How are these issues? Ubuntu has had these sorts of problems sorted for a while now?
This is on my list to investigate!
Unless you're on a device that can only be upgraded to 10.13, after which it won't get security updates anymore after 11 is released. Meanwhile, I can still put W10 on 10-12 year old PCs and it'll run fine (if the hardware wasn't particularly terrible even for back then). It might not support some of the latest features, but it works and you're not subject to some arbitrary decision by Microsoft as to whether you're allowed to use W10 or not.
Isn’t that one of the scenes in the Iron Man? Elon isn’t as original
What about postgres' schema to isolate tenants?

https://www.postgresql.org/docs/current/ddl-schemas.html
Is this the US way of defining assets & liabilities?

In india, all deposits are considered liabilities (since you need to pay the customer interest on it).

All loans are considered assets (since you make money on them)
100 % with you. I mean why would you give money to companies that treat you like a dummy, won't allow you to tinker with your computer, ask for double the money compared to build it yourself, etc.

It might be just me getting old but I don't understand the current consumers who don't really demand anything for their money. Is nothing important to you? Do you just buy what they tell you to in marketing and PR?
> Welcome to fractional reserve banking!

I don't think that is fractional reserve banking.

FRB is the system where a bank is required to have a reserve of X% before it can issue money, while in the current system the banks first emits money and then (in the US) it attempts to get a reserve[0] for that (and in the EU, it doesn't either, tho there are liquidity requirements).

[0] https://en.wikipedia.org/wiki/Reserve_requirement
The actual study: https://www.nber.org/papers/w27612
I'd definitely like to think that all of that stuff would be air-gapped, hard-wired and baked into the silicon (and E2E-encrypted, with a Trusted Computing model and auditable supply-chains), but I do worry that people are going to cut corners, fudge things when they're approaching deadlines, and not take into account an appropriate threat model when they're designing this mass-market consumer automotive stuff. The Chrysler hack in 2015 managed to get some fairly low-level remote access to things like the braking system. I'm also considering the possibility that governments might backdoor their own manufacturers with their knowledge in order to gain exploits to systems overseas or to carry out the odd covert assassination.
> A distance in space-time is now the square-root of minus the squares of the distances in each of the dimensions of space, plus c square times the squared distance in time.

In case anyone was having trouble parsing this, that's:

√(-(∆x² + ∆y² + ∆z²) + c²∆t²)

Or:

√(c²∆t² - ∆x² - ∆y² - ∆z²)
I swear this was posted a couple weeks ago and there was a big thread on how “white-washed” it was. I can’t find the post now.
What would that even mean? The model is a description of reality. When you talk about the model, you are referencing a mathematical description of reality.

In a similar way, the ratio π is the mathematical description (or model, if you like) of a circle's circumference relative to its diameter. I'm not sure how to describe this relationship without invoking the mathematical description of said relationship.
So, we travel through time at the same speed _that light travels through time_? Did I get that right?
Queer, in particular, is a tough one. Obviously, smear the queer is an awful name for a game. And while queer has a century of being use pejoratively, it's also been adopted as a label by some lgbtq+ folks like myself (often as a way to be more politically forward than using the safer "LGBT" label).

You'll find that there really isn't consensus around the use of queer as an identity -- some in the community hate it, others love it. There's a lot to unpack in its history, and it's continuing to evolve every year.
Getting back to you on IPCC energy modalities risks, from https://news.ycombinator.com/item?id=24150323

Found a mention in an earlier comment:

https://news.ycombinator.com/item?id=11241142

Source seems to be:

Methodology, starting at p. 993: http://srren.ipcc-wg3.de/report/IPCC_SRREN_Annex_II.pdf

And p. 845 (I think, "745" is clearly a typo): http://srren.ipcc-wg3.de/report/IPCC_SRREN_Ch10.pdf
The Puzzle Toad
> Everyone should use channels pretty much 99.9% of the time

This is the kind of thing that sounds nice in theory, but is not borne out as a good idea by research into what actually causes errors[0] nor is it how the standard library is actually implemented (context iself[1] mixes mutexes and channels liberally, you'll find similar code in http.Client and http.Server, sql.Tx and sql.DB, etc.).

It is technically correct that you do not need to lock anything before sending a message down a channel. In practice, performance reasons and the anemic channel API means you often mix both.

[0] https://blog.acolyer.org/2019/05/17/understanding-real-world...
[1] https://golang.org/src/context/context.go
Standing on the outside looking in: X-rays through glass
Thanks for the feedback, and these are all fair concerns. Some points that would hopefully alleviate some of them:
1. We have been running EteSync for >3.5 years and have been in the space for much longer, so I'm not just some rando, though yes, I'm definitely not djb. :)
2. We use libsodium for everything so the harder crypto parts are audited and battle-tested.
3. We are going to formally verify the protocol.
4. We have been been awarded a grant by NLnet's PET fund and as part of that we will get a mini security audit. Though to be honest, I think the formal verification is a much more serious assurance.

With that being said, I'm not trying to convince you. I think it's a very important point that we are working on addressing.
About Banqiao: https://news.ycombinator.com/item?id=24301436
How fast can something orbit the earth?

My standard model of “Thing going really fast” has been some nuclear powered craft that just shoots out into the abyss, but after a bit of googling apparently our fastest craft is/will be Juno, which is staying within the solar system. This will apparently go 250,000km/hr or 0.000232c partially based on Jupiter’s gravity.

It is interesting to think about just “living fast”, where our lives are still only ~80 years, but the time elapsed on earth is on the order of many multiples of that. We would exist in a way that we orbit the earth at a much larger fraction of light speed, while still allowing us to interact with the earth’s resources on normal time scales. Imagine taking a vacation back to earth for a year, but popping back to the space station where it has only been a few hours.

Maybe I’ll write a novel on that or find one already written, there seems to be a lot of depth in exploring that.

[0] https://www.missionjuno.swri.edu/earth-flyby/story/how-fast-...
Don't sign in to Google, use Firefox?
Just a heads up: on the search screen, there's a segmented control to filter results. On my iPhone 11 running iOS 13, it looks very out of place. It also doesn't look like the screenshots on the App Store.
iPhone 3GS vs. 11 Pro showdown
Yeah, I'm not a physicist but hearing a good explanation of the time-space four-vector being constant as an explanation for time dilation (among other things) was a real light bulb moment for me.

It's also why I'm basically convinced that any sort of FTL (including wormholes and compressing space), time travel or cheating causality is essentially impossible, no matter what results you contrive by putting things like negative mass and/or energy into various equations.

How this all gets reconciled with quantum mechanics is another matter. Part of me wonders if the problem isn't just that space and time are ultimately discrete (at the Planck unit level) and our equations describing it are continuous. But again, I'm no physicist.
Solving a relatively simple technological problem with an immense human labor is a bad tradeoff.

Computers are for end-users. OS and app developers are in the minority, and we should remember that when we write apps or filesystems.
You Need to Embrace Visual Programming Solutions (By AppGyver)
It says not to, but the reason is because you will probably not handle context semantics correctly, not because it inherently breaks anything.

If the object you embed the context in has all the properties of a context (short-lived, request-scoped, passed to every function that needs to handle it, and provides a way to create a nested context) then embedding the context is at worst unidiomatic. This is how http.Request did it to preserve backwards-compatibility; http.Handler usage was too pervasive to ever change its signature.
I recently switched to macOS after using Linux pretty much exclusively for personal use over the last 5 years. (2020 MacBook Air)

For me the most infuriating thing is that Apple completely hides what is actually going on from the user.

Want to manually scale your display to an exact resolution? Go to Displays, Hold down the option key and then click on the text next to a radio button. WTF!!! Who designed this, this is completely non nondiscoverable.

An exFAT external hard drive wasn't "shut down correctly" ... no problem Mac OS will just run fsck in the background and refuse mount the drive or let you examine the disk in Disk Utility until it is complete. If you kill -9 the fsck, you get stuck in some limbo state where you can't mount the disk or run diagnostics on it.

The worst thing I have discovered is Pages... The stylesheets and layout logic make absolutely no sense, it is way worse than Word or Libreoffice.

However the OS does run smoother on a day to day basis than my work provided MacBook Pro 2019 running Mojave, and there is absolutely no screen tearing.
It’s funny to put this behind a paywall.
>> We are heading rapidly towards the corollary to “it just works” being “and if it doesn’t, just wipe everything and re-install”.

>Is this really all that bad?

I had to reinstall Catalina a few times in the past month. I usually lose half a day waiting for the restore to complete.
I've been ghoulishly interested in the various US poorly-regulated militia since Malheur, and rationales behind their fetish for twentieth-century weaponry.

Reading that the "counterforce" against which they train resembles a BATF unit more than a military unit made me guess they might be hoping to contract for cartels, but that supposition was dashed upon finding that (at least on US soil) the cartels are far fonder of the bomb than the bullet.

Sixteenth-century vehicle borne improvised explosive devices: https://en.wikipedia.org/wiki/Hellburners