skysight-inc/HackerNews huggingface dataset:
Not the poster you replied to, but I've been thinking of it lately in a different way. Functional tests show that a system works, but if a functional test fails, the unit test might show where/why.

Yes, you'll usually get a stack trace when a test fails, but you might still spend a lot of time tracing exactly where the logical problem actually was. If you have unit tests as well, you can see that unit X failed, which is part of function A. Therefore you can fix the problem quicker, at least for some set of cases.
I think they mean that you only have to support the most interface besides the new one, not every single version
My wife said today, if someone wrote a movie about 2020, it'd be unbelievable, nobody would buy it.... well until next year anyways.
> This principle is what allows the SSH protocol to authenticate identity.

This part is also confusing. I feel like it is important to clarify that identity is not "established" using cryptography, rather verified. When Bob claims to be the Bob, you don't know and can't know just from this claim if Bob is indeed the Bob. To verify that this Bob is indeed the Bob, you have him certify from someone else that you trust that he is indeed the Bob (or you just certify it yourself when your computer asks you to trust a new fingerprint).
It's simple; Apple is aggressively expanding into service business space where many of it doesn't really make sense to make direct revenue while they're largely a underdog. Given that developing those services on par to FB/Google/Amazon's needs at least tens of billions of dollars, they cannot really build a sustainable business without generating actual revenue. And no one has developed a business model applicable to billion user bases for those "free" services other than advertising.

Of course, while it's possible that Apple can keep themselves away from those "free" services but it means that they also need to give up a part of their control on customer relationship. Since it is the core part of their long term strategy, I don't think they can easily give it up. I think they will eventually foray into the advertising business rather than giving up user control.

Here, the only major advantage of their services is platform control. The major disadvantage is their perception of privacy-friendly company, so their options on ad network level optimization are significantly limited. The only relevant ads service from Apple is app search ads because this is the only area they can get user information without privacy troubles; this clearly demonstrates their strong and weak points.

The only logical conclusion that can be derived from this situation is utilizing their platform control to "level the playground"; even if Apple cannot use the same user data, they can force others to give up. This will neutralize Apple's disadvantage while retaining their platform advantages, which likely give them some time to catch up their competitors in service businesses as well.
Imo the value of unit tests is partially a record for others to see "hey look, this thing has a lot of it's bases covered".

Especially if you're building a component that is intended to be reused all over the place, would anyone have confidence in reusing it if it wasn't at least tested in isolation?
Honestly, unless you can present some evidence, something difficult to fake... this is fake news.

Anybody on the internet could say this.

I'd like to see an article from your local paper, a link to your sheriff's website with details on the program? How do you know it is taxpayer-funded? Where are those published numbers... published?
We Chose a Distributed SQL Database to Complement MySQL
Kim Stanley Robinson's Mars Trilogy[0] goes into minute detail of the politics of colonising Mars.

[0]https://en.wikipedia.org/wiki/Mars_trilogy
Upgrades when shutting down prevent me from catching the train on time. Upgrades on startup prevent me from checking the train schedule. Insanity. Thats why I run an OS that I control.
It is a V12. Historical military V12s had a feature of two bank redundancy. One row of 6 cylinders can be shut down along with its pumps, cooling, etc.

And I have a big suspicion that they use two of these engines inside.
It is extending your argument, but I don't recant what I said. That kind of casually indifferent attitude towards 'oh well why bother because nature is chaotic' has caused so much destruction of the natural world. The attitude of resigning yourself to 'nature taking its course' long after we set it on the path it is on attempts to absolve us of our responsibilities to fix the damage we as a species do daily.
They would allow Fortnite back too.
It seems like a very versatile framework, but nowhere I can find any recipe or guide of a very simple case - how to combine different types of charts in one? Like simple line chart overlaying the bar chart. It seems to be only possible by rendering them as completely separate charts and then overlaying one on top of each other in DOM? Which seems hacky.
> Remap your "capslock" key to "escape."

I hear this recommendation a lot. You can do that, but much better is to get a keyboard with a proper thumb cluster like a kinesis[1], maltron[2], dactyl[3], ...

Much better to put such a common key on the thumb than stress out a pinky. I have a kinesis, and have esc mapped to the 'end' key there; similar positioning is possible on other keyboards. The keyboards I linked are also much more ergonomic than most flat keyboards—important, if you rely on your hands and wrists for your livelihood. Bit expensive, but well worth it.

1. https://kinesis-ergo.com/shop/advantage2/

2. https://www.maltron.com/

3. https://github.com/adereth/dactyl-keyboard
There seems to be a mistake in the copy. It says: "Oh, and here are the Japanese-Finnish names it found for us" but does not list them
You’re trying too hard.
Only if they don't replace them with even larger digital "windows." There's also been work towards electronic windows in aircraft.
What to Plant in a Hot, Dry Year? Succulents, of Course
For some perspective, the Scaled Composites Catbird (powered by a 210-hp V6) achieved just over 20 mpg at 200 mph with close to 1000 lbs of payload (it could carry a pilot and four passengers) in the late '80s and early '90s.

Amateur-built experimentals have achieved upwards of 50 mpg in realistic flying conditions, but they generally tended to be tandem-seat designs with minimal frontal area and low-powered engines.

More recently, the Pipistrel Taurus G4 (a highly modified sailplane with an electric motor between twin fuselages, designed to carry a pilot and three passengers) achieved just over 100 mpg at ~107 mph.

I eagerly await proof that the Celera--a significantly larger, heavier, and faster aircraft than Rutan's Catbird--actually achieves similar fuel economy. If true, it would be a pretty incredible leap for an industry that's been largely stagnant for decades, but these sorts of claims have a long history of being either sadly mistaken or outright fraudulent.
This isn't live at all. It's based on the ECMWF/GFS models, which are updated every six hours, and are estimates rather than raw observations. For actual live data, you can see a live feed from the Hurricane Hunters recon aircraft (updated every ten minutes) here:

https://www.tropicaltidbits.com/recon/
He lived in Antioch, IL, which is on the border. 30 minutes from Kenosha, which appears to be the largest town within 30 minutes of Antioch, while Chicago IL is 1 hour away. I think the framing of Illinois to Wisconsin is meant to imply it's a huge trek and he's a total outsider, which is a bit disingenuous.
For example: am Canadian, had to get stitches for a nerve-damaged lacerated finger. Doctor tried to prescribe me Oxy — which was absolutely ridiculous for such a small injury, so I refused it. I'm pretty certain that I'd be an opioid addict had I accepted that prescription, knowing myself.

Canadian healthcare is great, and dissimilar to American, in that it's treated as a public good.

Canadian healthcare is not great, and similar to American, in that a lot of prescription decisions are made from a similar cultural perspective as in the US, ie drugs are handed out like candy.
Fennec (the old Firefox for Android) was, as far as I'm aware, a different codebase compared to Fenix (the new one). As in, Fennec was hosted on hg.mozilla.org using the same source tree as desktop Firefox, and Fenix is hosted on GitHub, if I understand things correctly.
Except you don't get people buying fake ovens offline. There isn't a great analogy I can think of but there is a huge amount of ad fraud where it's profitable to fake an install, fake app use to generate more fake ad revenue ad fake installs, etc. So long as it's profitable for someone to fake installs and fake user traffic there will be a need for better value conversion tracking
We're currently selecting against drug addicts. It might take a few dozen generations to notice the effect
Yeah.

Agile can be summed up by making little releases which you show to the client and so the developers can make decisions on what to develop next quickly.

Everything else naturally derive from this. All the other stuff are just ways, which you can adopt or not, to accomplish that. You don't need to hire a consultant to tell you that you're not doing your poker story points meeting wrong because of metaphysical explanation.
Automotive engines are designed to produce power at a wide range of operating speeds, at the detriment of peak power output and peak efficiency. Aircraft engines can take advantage of the fact that they will be operating at a single RPM range for most of their life, which allows you to optimize every single aspect of the system for that speed. Aircraft engines also have much, much higher reliability, lifecycle, and quality control requirements than automotive engines.

For these reasons and a few others, you would basically end up redoing most of the engineering work on an automotive engine to repurpose it for aerospace applications, thus negating the savings of reusing the existing design.
World's biggest rooftop greenhouse opens in Montreal
Vim is just one piece of the puzzle, it's the editor in the IDE that is unix. Tools like VSCode and IDE's take over too many responsibilities and usually do an inferior job. VSCode will do the window management for instance, opening new tabs for files, file list windows, terminal windows, etc. My desktop environment (dwm or tmux) is much better at this and universal for non development tasks as well. Another bug bear of mine (this one doesn't apply to VSCode) is IDEs that want to be the build system instead of my much more powerful Makefiles.

Because it integrates so well into this environment it can be used as the editor step in other scripts/tools like how it is used in git commit messages. As a quick example of how this can be used here is a script I made for working with tab separated files:

tmpout="$1.tmp"
cat $1 | sed "s/\\t/~|/g" | column -t -s~ | \
vim -c 'set nowrap' - +"file $tmpout"
if [[ -f $tmpout ]]; then
<$tmpout sed "s/\\s*|\\s*/\\t/g" > $1
rm $tmpout
fi

In 7 lines of code I made it a half decent tsv editor in part of a larger system, replacing the million excel windows others were using.
People Who Believe Electricity Rules the Universe
> Verify some basics of the page contents

Implies that you're looking for the contents that are supposed to be returned.

When there's an error, the contents you're looking for won't be there, therefore the test will fail.

Furthermore, HTTP testing libraries typically require you to specify required HTTP status codes.
if you can refactor without touching your tests and your tests still compile afterwards either the refactor was extremely trivial and didn't change any interfaces or you only had end to end tests.
Do Ducks Like Boats?
Nobody will complete this in minutes. If anything it's a great showcase of how insanely convoluted and onerous web development truly is.

In my day we did it with JSP and app servers and groaned about how painful it was with the war files and reams of XML config. Now I see that the hipster stack has arrived at the same place with no discernable reduction in complexity and verbosity. Just a different flavour of it.
We wanted a Finnish name for our son that wasn't so common and would sound masculine in English, so names like "Antti" and "Matti" wouldn't do. We chose Kauko.
You cannot imagine how high tech looking those 'IBM ball' typewriters were when they came out. Nobody called them selectric.

I remember when all the administrative staff got them at our school. When I got to high school we wanted them for the school newspaper but got rejected. We were told they were a 'serious tool' and far too expensive for mere schoolchildren to be able to use.
I think this will work - but only for people (groups) that can communicate GREAT.
True, in fact an elliptic key with 4096 bits would be way overkill. But there is also the issue of support.

Ed25519 and RSA3072 offer around 128 bits of entropy, which is kind of on margin even classically. RSA 4096 offers more protection against brute force, around 144 bits if I recall correctly. Of course, RSA is vulnerable to side channel attacks (though these nay not be in the threat model of many people).

You could use ed448 with 224 bits of security with still shorter keys than common RSA variants. But then it’s not supported in most places.
I loved the EMOJI idea. Super cool. Congratulations
Can someone explain what I'm looking at here? Thanks!
I find rhysd/clever-f [1] to be more DWIM than Vim's default f/F.

" 0: F is backward search, and repeating f after F searches in the same direction
" 1: F is backward search, and repeating F after F searches in the same direction
let g:clever_f_fix_key_direction = 1

[1] https://github.com/rhysd/clever-f.vim
I disagree with both of your points.

I know it's hard to refute your first point as you could point to any example, but if I'm just trying to follow the happy, well-trodden path it's hard.

Eg. I go to D3 website [1], I click "documentation" link [2] in header which takes me to the Github, I click the first link "introduction" and the page is actually hosted on Observable [3].

If I click on the "examples" link on the Github or website...it takes me back to observable.org gallery!! [4]

This forum thread (on Observable) summarised exactly what I was thinking: "I want to learn D3. I don`t want to learn Observable. Is that ok?" [5]

One person asks "Why can we not simply download vanilla code examples without any “Observableness” in them?"

The reply by Mike is dismissive of their viewpoint and basically says learning D3 outside of Observable isn't supported:

> We recognize that this is a change and a disruption: a new thing to learn. And we need to do a better job of helping you learn Observable (and explaining why you should bother).

> Yet despite our shortcomings, we fundamentally believe that Observable is a better way to code 2: easier to understand, easier to tinker, easier to adapt and reuse, easier to collaborate and share.

Maybe basically impossible isn't the right description, but they don't make it easy to get started without using Observable.

On your second point, here is a HN discussion [6] on why Observable isn't JS. Observable has a _whole standard library_ [7]. Porting from Observable to vanilla JS is not just "removing a few lines of observable scaffolding".

[1]: https://d3js.org/
[2]: https://github.com/d3/d3/wiki
[3]: https://observablehq.com/@d3/learn-d3
[4]: https://observablehq.com/@d3/gallery
[5]: https://talk.observablehq.com/t/i-want-to-learn-d3-i-don-t-w...
[6]: https://news.ycombinator.com/item?id=20184181
[7]: https://github.com/observablehq/stdlib/blob/master/README.md
Please dump Monday instead. The name has a stigma.
You're right, there's no validation on the server. Need to fix those.

As quick fix to get the site up and running again, I just trimmed off any overly long title or cat beyond a certain limit of chars.
There was an unexplained outbreak amongst 40 residents of a Calgary highrise a little while back. They had no explanation, as the residents of separate units had no direct contact with one another. Maybe this explains it.

https://www.cbc.ca/news/canada/calgary/ahs-outbreaks-1.56302...
Then you are in the minority. Most people like having certain predictable arrangements in their life and get annoyed when they have to adjust to a new arrangement arbitrarily. Maybe that's actually not the case for you, but I suspect it is more than you think, and I guarantee it is for 99% of people in general.
I mean a lot of this seems to be human creativity... Wasn't so much they were able to record cleanly or clean up the vocals afterwards as applying effects that really distorted his voice but in an enjoyable way.
This is high falutin’ theory.

Many user interfaces don’t have easily testable abstract interfaces, and user features are first tackled by expressing changes to a user interface.

You really have to jump through hoops to make the reality of coding meet the theoretical model.
I use zz, it's similarly rare and compliments ZZ (save and quit) well.
3,300 feet in not a long runway - it means you can access ~80% of the ~5,000 runways in the US. On the the other hand A 777 needs 8,000-10,000 feet meaning it can only access <10% of US runways....

https://www.cia.gov/library/publications/the-world-factbook/...

https://en.wikipedia.org/wiki/Boeing_777#777-200LR
Physicists discover new two-dimensional material
Hiring an unlicensed electrician.
You can keep moving the goalposts, but it doesn’t really matter. You’ve shown your colors.
What about just docker swarm and swarmpit with traefik?
Does npm or whatever package manager is in vogue not have a hack to make a "package" out of a URL pointing to some javascript? (even if someone has to write some automation to package every version from github, as it comes out.)

Although, this point is moot as soon as someone packages it for whatever package manager you use. No matter how hackily they do it. e.g. if there were a npm package called "auto-import-arbitrary-or-versioned-file-from-git-repo-or-http-url" that consolidated _all_ of your random single-file imports, that'd count IMO.
> Piracy is a crime, deal with it.

It shouldn't be. Deal with it.
This is great, thanks! I felt so alone having this problem :). But I based my decision on phonetics Spanish vs English since I didn't want the grandparents to struggle to say it :). For reference, I ended up picking Leia and Rafa.
Isn’t this Netflix’s business model? Barring extremely popular shows, they cancel them even if they were largely successful, after the 2nd season because TV contracts are written such that the 3rd season is when the makers of the show get significant raises.
What is unprecedented about this hurricane?
> They obviously managed to learn and adapt to the current UI. Why can’t they adapt to a new one?

Let me put it like this: would you rather relearn the same skill over and over again, or build upon existing knowledge by learning new skills?

Watch an experienced vi user make changes to a document. That's not magic that you're seeing, it's someone who is modifying a document as fast as they can think because they are proficient with the software. That's true of pretty much any software that was designed with productivity in mind, it's just that vi users like to show off. :)

Some software is also impossible to learn in depth if you take a learn today, gone tomorrow approach. Consider a rather popular application like Microsoft Word. There was a lot of resistance to the transition to the ribbon bar. A good number of people who resisted the change did so because they spent a great number of years learning the program in depth. There's a lot of stuff crammed in there that the vast majority of people aren't even aware of and even experienced users will only touch on every few years. With timescales like that, a sufficient number of changes to the UI means that the skill is useless once it has been learnt.
You are looking at what will soon be the destruction of thousands of people’s homes by a powerful category 4 hurricane, as a relentless pandemic continues to hold the nation in its grip.
https://xkcd.com/874/
That will never happen as long as shareholders are the only people that companies are legally beholden to

That will never happen as long as software continues to be regarded as a "cost center"

That will never happen as long as developers insist that their happiness is more immportant than that of their users

That will never happen as long as evangelists keep pushing this doctrine that more updates, more features, more whatever, is better
Both the introduction link [1] and examples link [2] on the D3 homepage [3] and Github [4] only shows sketches on Observable - is there any official D3 getting started documentation not on Observable?

Similar frustations are aired in a forum post: "I want to learn D3. I don`t want to learn Observable. Is that ok?" [5].

[1]: https://observablehq.com/@d3/learn-d3
[2]: https://observablehq.com/@d3/gallery
[3]: https://d3js.org/
[4]: https://github.com/d3/d3/wiki
[5]: https://talk.observablehq.com/t/i-want-to-learn-d3-i-don-t-w...
Half the point of a business jet is flying to more convenient (but smaller) airports.
If it's misinformation then that means no one is allowed to view it out of curiosity? Surely if you watch misinformation with the prior knowledge that it is misinformation you aren't susceptible to said misinformation?
Exactly. Microsoft have a lot to answer for with their ‘tools’ for data analysis. Every single hedge fund was using Excel leading up to the 2008 financial crisis. It’s sickening. /s
Hopefully the title can be modified. HN seems to become more and more like reddit.
Is that because elliptic curve cryptography is more sensitive to quantum brute force in general, or is the key size of ed25519 the real factor?
I know a Riya whose name sounds like Ri-yuh, so I don't think you are completely wrong.
A) commit to a timeline of support for the new branch whenever you make a change requiring branching (your existing branch should already have a commited timeline)

B) don't mess everything up all the time so you have to support a lot of branches

Look at the OS support plans for guidelines.
From everything I've seen and read about Clearview, I'm super uncomfortable and wish there was some hope of this being reigned in. I'm not hopeful though.
“More tests means more cases”. Something smells here.
It's headed towards Lake Charles, LA. Houston is getting just the outside edge.
Big guesstion, do they have one, or two engines? A combiner gearbox does not fare well in aviation, as history show.

I have a hard time believing they can get to such speed with just 500hp.
I took that restriction to be specifically for automatic updates, and I agree. Don't break my workflow without my consent.