skysight-inc/HackerNews huggingface dataset:
> What is better — having a test or not having a test? The answer is obvious — any test is better than no tests at all.

Nooooooo....

For most people here, this is probably true - because you (and hopefully those you work with) know how to write tests well.

Examples of badly written tests I've encountered that wasted everyone's time:

* Unexpected environment - such as, Django doesn't turn off the cache while tests are running

* Tautological tests - where the test just repeats what's in the code

* Peeking too far into the implementation - restricts refactors and can create lots of false negatives or false positives depending on what's being asserted

* Mocking out too much - tests that pass when they really shouldn't

* False assumptions/not thinking it through - why did this test start failing on New Year's Day?

* Flaky integration tests

In our case, about half of these could be updated once the issue was apparent, but the rest either scrapped or completely rewritten.

And then there's a number of issues with test coverage giving you a false sense of security, with things like reaching 100% for a given piece of code, but only thinking about the happy path.
The view that the EU received free money and the US nothing in return is fairly simplistic, the intellectual level I'd expect at a Trump rally. Europe played a key role in the American geopolitical strategy since WW2. But in your opinion that's apparently nothing.
In terms of military doctrine, one thing that really struck me recently was learning that urban areas are considered similarly to mountain ranges and water from a theater-maneuvering point of view. Your tanks will get bogged down in a town just as fast as if you tried to drive them through a swamp. With the rise of increasingly large urban centers, a modern conflict could be very different than the second world war... At least until the slaugherbots are perfected :P
No sane woodworker wears gloves. They are completely unnecessary and there is plenty of stuff slower than a table saw blade that will suck them in. Go over to the /r/woodworking subreddit and I doubt you'd find a single person who would say they wear gloves with their power tools.
Examples of using native Go plugin, to dynamically extend and patch your Go apps
Please don't what, have an opinion?

I read SICP as an experienced programmer and I didn't find it impractical at all; in fact, it kickstarted my interest in other lisps.

I read Realm of Racket as an experienced programmer (after knowing Common Lisp and Clojure well) and it was entertaining and, yes, a gradual introduction to Racket.

I'm sorry if you disagree, but was answering the question that was given with a couple thoughts that might be beneficial. I'm glad you feel confident enough in your interpretation of what was being asked and the OP's personal background and motivation to flame someone else without, I don't know, answering the question.

EDIT: I see you did answer him below, but my general response is still valid.

EDIT 2: Your response makes more sense given context. Sorry I got internet angry a little too quickly.
I never asked for donations. I sell pixels and then forward part of my income to charity. I think I described it quite clearly. Is there a place in the docs or at the page which you think may be understood in a wrong way?
NIST Report on First Round of Post-Quantum Cryptography Standardization Process
Can't you just plug an external HD into your existing wifi router's USB port to make it into NAS and invest in a paid off-site backup service for failures?
I use Kodi for the media center, paired with Kore on our phones.

mpd and icecast for in the go streaming.
Dynamically extend and patch Tyk using native Go plugins
I think most people haven't read Asimov. They only know the laws because of their hype, but don't know their origin or meaning.

Thus, we need more Asimov in TV.
Treasury Inflation-Protected Securities, often called TIPS?

https://www.treasurydirect.gov/indiv/products/prod_tips_glan...
Link to the book directly is: https://htdp.org
> Their only warning was when their garbage wasn’t picked by a contracted trash collector at the same time it typically was each week. When they called him, he was adamant that he was not coming.

"Some of you guys are cool. Don't go to <blank> tomorrow"

I wonder what other kinds of "canary" one can setup in such a situation.
That's quite a different statement than "don't", isn't it?
You can definitely still watch them through Vudu. Even if you've purchased them elsewhere (at a different UV retailer), connect your UV account to Vudu and the titles will "import" to your Vudu account.
Advertising Is a Disease That Thrives in the Attention Business
https://qz.com/980766/the-truth-about-false-rape-accusations...

Between 2 and 10% is a bit higher than that, and absolutely justify the fear.
Movies Anywhere does this for supported movies (which is not as many movies as I'd like it to be, to be sure). I can buy a movie on Vudu and watch it on Amazon Video or Microsoft's video stores (Windows/Xbox) or I think on iTunes, so long as I link my accounts. It's not quite the vision I have where platforms, not retailers, handle the front end and make it transparent to me what provider is giving me the movie (if I want to watch a movie, I shouldn't have to care if it's on Hulu or Netflix or whatever, I should just be able to pick it and watch it), but it's a step in the right direction.
The argument is that using euphemisms must serve some purpose, or otherwise they would not be used.

That purpose is to hide the brutality of war, from either the writer, or the reader.

In either case, allowing to hide the brutality makes it arguably more palatable to commit it (writer) or legitimize it (reader), and therefore contributes to it.

I can’t put numbers on this, obviously, because nobody can. But just denying the argument with a sort of its-not-guns-that-kill-it’s-people-argument is intellectually dishonest.
> Why can I buy music without DRM but video hasn't followed that path?

The movie industry has always been more paranoid about piracy, compared to the music folks. And that's actually quite reasonable for newly-released content - the stuff that gets shown in theaters or on premium streaming services, and that pirates compete to "rip" ASAP. But there's no sensible reason why their long tail content couldn't be made available in DRM-free form, long after it has stopped being "current" and heavily sought-after. It's only market concentration and lack of competition that keeps this from happening-- and this is why DRM is evil and must be shut down. It's the opposite of a free market.
You literally can't buy a Saw Stop outside of the US. And even if you import one, after paying $$$ for the saw and $$ for shipping, you'd need to install a big hunking $$$ 220V-110V transformer in your shop. I've never seen one over here.

The European philosophy seems to be that the Saw Stop isn't worth it, because if you get in a situation where it kicks in, it means you've done something stupid like not using a riving knife and not using a crosscut sled or other pushing device.

I think also the fact that you don't get the system on other types of saws (band saw, mitre saw, circular saw, etc.) says something about the efficiacy.
I still don't get it at all. As someone who has had a facebook account since like 2009ish? I'm of the right age-cohort to be hooked into my phone like the groups these people are referring to. But in the 10 years I've had a facebook account, I rarely ever used it except as a way to message people really. I don't understand how anyone could look at a newsfeed and find good content there. Even in the 'good era' of facebook before all these ads it was still a bunch of trash I didn't want to look at.

I can't image how anyone would want to look at their phone scrolling through this kind of garbage for any extended period.
When it's this cold, Chicago sets its train tracks on fire
Post-Quantum Cryptography Standardization: Second Round Candidate Announcement
That, and the automatic door sensors can be quite noisy.
If you use a Sawstop you should know what can cause it to trigger and not use those materials. Let your wood dry before cutting and never use something with foil on it.
iOS deliberately has no notification options available for PWAs and various other shortcomings to push people into the app store. I imagine internal enterprise apps need those.
Explosives aren't necessarily illegal to make.

Missile guidance systems would probably be illegal to export, though. (You'd have to declare the gold.)
I have to wonder if by now people are numb to the articles that claim x,y,z has been cured. Has it become a meme yet?
Because it's a baseless he said she said argument that I am willing to be she embellished.
What I"m getting from the article: People seem to think that AI is magic, and similar to any other technology. ("THESE DEVELOPERS PUT IN BAD STUFF") That's not how AI works. You have to be aware of bias, introduce random error, accept false positives/negatives, and avoid overfitting.

That's not something that someone that took a boot camp on Tensorflow is going to understand a lot about.

EDIT: Also if you're using the results of the AI process, you should understand what the metadata about the results and where a good balance is.
I get that it isn't supported. We have followed the recommendations mentioned in the docs but found the usage of these workarounds to be sorely lacking in performance and reliability.
I wonder how much collecting is happening on android then. Facebook and google had to sneak around the App Store with enterprise certificates cause this wouldn’t have been allowed on the App Store, but since google controls the play store they can push whatever the want out, no?

I’ve only ever had an iPhone for smartphones so I’m not sure what it’s like on android
As evidenced by Stamos' departure and decision not to replace him.
There's a whole generation of kids that haven't built a razor blade diode / foxhole radio. That's a fun thing to do.

https://en.wikipedia.org/wiki/Foxhole_radio
Right, I didn't mean both types of life having no worth. Rather, I just meant to raise the possibility of the spread of belief that a human's and an AGI's life are not so different that they deserve different valuations. I was implying that in such a case, the valuation of an AGI's life might increase to something similar to that of a human's, and not that a human's would decrease to that of an AGI's.
OS/MacOS Sandbox escapes due to type confusions and memory safety issues
Job Search Mastery in 9 Steps
thanks for following up. I think this is one of those conversations that works better in front of a white board - it's surprisingly tricky to express in words.

if the demo was mainly to show that it's the jet of air expelled out the back that's providing thrust, then, fine it does that and its a valuable lesson. I guess I'm hung up on the technicality that there is actually a real movement of air mass even without that rearward jet and that has to be felt by the apparatus - I guess it's just unnoticeably small in the real world demo.

anyhow, my confidence in physics intuition has been shaken. thanks bunches.
Men are shaped, in their most formative years, by their mothers. That's nearly universal.

Consequently, you may want to consider Ghengis Khan's and Charlemagne's mothers... those two ladies, due to the manner in which the raised their offspring, had their genes spread throughout a good portion of the planet.
Both of these are covered in the article.

1) That's why you should check multiple people's profiles.

2) That's why you should differentiate private from public repos, and again why you should check multiple people's profiles.

Any individual person doesn't tell you much. If you find 10 people all coding on the weekend on private repos on the same dates, it's probably not for fun, it's probably crunch time.
I ran two arch boxes for about 7 years, two years ago I got an X200 with libreboot and did not want systemd on it. I chose Alpine because it allows you to use musl libc, this was after fighting a bug in the gentoo build process. The idea is to understand exactly how my system boots up, so I can cut as much cruft from it as possible, and also for my system to boot up in the same order every time, something that in my experience maintaining several computers with systemd, causes a lot of problems with chasing down bugs (If the bugs are nonexistent half the time because the services boot up in almost-random order, how the hell can you debug it?!).

In my experience, it's extremely viable. Most things you can get away with pulling from the Alpine repos, everything else you can stick in a chroot (musl libc causes some problems with compatibility) or compile from source (Which is usually quicker than you'd think, except when C++ gets involved).

It's so much more stable than any other modern linux system I have run. Someone I know has a twin X230 with Manjaro on, and the boot-up time is so long. I managed to get my Alpine box to 40 seconds to gui, but was limited by the dhcp resolution and the pre-boot flashups. Manjaro takes about three or four minutes to get to the login screen, and then another minute or two to load the GUI.

My much more powerful arch box has about the same bootup times as the X230, even though theoretically I am using lighter technologies. Something I have noticed as well is that because of systemd running boot items concurrently, it actually ends up with a less deterministic boot. A lot of the times it simply fails to resolve wifi on boot (leading to a several minute hang), and the systemd logs and dmesg show absolutely nothing at fault.
The Mk-19 has been in service since Vietnam.
Facebook Is Done Apologizing – Executives Adopt an Air of Optimism
Relationship Hero (YC S17) Is Hiring Full-Time Coaches – Remote Only
And H&M, Minecraft, Battlefield, MySQL, Candy Crush, Absolut Vodka, The Pirate Bay, Husqvarna, the pacemaker, the three-point seatbelt, the zipper, and much more...

(And a lot of music, of course.)
This was really satisfying to demo on the bus. I held my phone up as still as I could and when the bus lurched forward or made an abrupt stop the fluid responded accordingly. Something about it was just beautiful. Tech imitating nature. The illusion held pretty well too. Good job Google/Apple for making good sensor data and this algorithm uses it well. Great job!
Show HN: SuperNNova – Bayesian Neural Networks for Supernova Classification
Sometimes the people in the best position to judge are the ones who know the most.
By that logic, is the NPD collecting trade secrets by tracking game sales? We know a lot of publishers would prefer that information is unknown.

Combining legally-obtained data to come to a conclusion is not illegal or immoral.
Which CL implementation do they use in production?
How Software Architecture Learns (2011)
Matthew Butterick used it to write a publishing system called Pollen then used that to write some very good books.

https://beautifulracket.com/about-the-author.html
I feel like it's totally ok (although lawyers may think different).
So you assert that an atheist can find meaning by following their subjective values and morality, correct? This seems entirely circular and equivalent to saying that atheists can find meaning by valuing the things that they value.

How does an atheist hold subjective morals and values without those morals and values essentially being arbitrary?
Medical boards don't control residency programs, hospitals and the federal government do.
Of course none of that makes any sense.

No Quantum computer has been shown to do anything useful faster than a normal computer. Everything you can do on any existing quantum computer you can do faster on a normal computer.

If you want to play with quantum algorithms your best shot is simulating a quantum computer.

Don't get me wrong: Scientists should do research on Quantum computers. They may or may not be useful in the future. But selling QC as a (useful) service? It's decades away.
None, still a fully supported option for users.
The US military is probably the most effective logistical system in the world right now. Which is why, if you pay careful attention to the news, you'll notice that the US military is usually among the first responders to any major disaster worldwide, be it in the Americas, Africa, Asia, or Europe.
Funny, I thought the war was a direct consequence of people voting for Bush.

Also thought the war was a direct consequence of more Democrats voting for Bush than the total number of votes Nader got.[0] Democrats favored Bush over Nader. The number of Democrats who voted for Bush exceeded those who voted for Nader five fold.

In the last state I lived in, Democrats were far more hostile to 3rd party candidates than Republicans were - putting in a lot more effort to ensure they wouldn't get on the ballet.

As someone who grew up in a country where people couldn't vote, I can't imagine acts more hostile to democracy than what I saw the Democrats do to limit choices on the ballot. I may vote Democrat often, but I don't see myself as ever supporting the party.

[0] https://ropercenter.cornell.edu/how-groups-voted-2000
The Glymphatic System – A Beginner's Guide
I totally understand its a complex issue. Is there someway I could subscribe to updates regarding this subject for the future (even if it's 2 years away I would enjoy testing any potential developments here)
Interesting! This is very similar to how I feel about carbohydrates. Some people get addicted but an extremely small portion of the population. I never thought about there being analogues to other non-nutrition related addictive things.
> I think the reason is that big raises are not sustainable over time.

I would add that new hires are seen as solutions to a problem that desperately needs a solution, unlike old employees who are just there doing their work. A company looking for a new hire is not in the same negotiating position as a company that isn't.
War is fascinating.
What I love about this whole wave of social media overdosing is that during the hangover people might "look in the mirror" and try to re-find their private, inner self. I see a reversion from extrinsic focus to intrinsic focus which is going to lead to an explosion of creativity across the world and can give us back our messy, fun internet.
So the problem with the walled garden is the walls aren't high enough?
That requires remembering to do so beforehand, though.
If the goal is to only beat inflation, which most central banks try to keep around 2%, there are many GIC products where the principal is guaranteed and the interest is slightly over the usual inflation rate.

I don't personally use GICs though. If you don't need liquidity in the short term, a balanced portfolio (40% safe, 60% growth) reliably performs much better in the long run.
Dynamic Linking was actually heralded against by many of the foundational minds of UNIX. Because the flaws outweight the benefits. Do not quote me on this, but IIRC Plan9 does not have dynamic linking for this very reason.

http://harmful.cat-v.org/software/dynamic-linking/
One could argue that the invention of the wheel is actually automation. Instead of carrying goods on your back down to the river, now put it in a cart, and kick it to roll downhill...
It is possibly the most basic automation, it does free human labor with a mechanical mean.
We should work hard to minimize bias in society but given that they tend to arise spontaneously (see the Robber's Cave experiment) I don't hold out any hope of ever actually eliminating them. And some biases, such as lookism, might be too deeply wired for us to have any hope of eliminating.
He seems pretty well-known within the company.

First joined Tesla 9 years ago, Wharton undergrad, Harvard MBA.

He’s obviously qualified, what’s with all the ageist comments? 34 years old is a “kid” now? On HN of all places?

Who cares if he’s a “relative unknown” according to WSJ. Is notoriety an important qualification for CFO?
Nice article!

I authored a javascript library which modelizes state machines as a multidigraph, use cartesian products to derive a standard flat graph, and generate test sequences out of it. Cf. https://github.com/brucou/state-transducer#generatetestseque... for the theory, here for the example : https://github.com/brucou/state-transducer#implementation-ex...

In conjunction with predicates, which tell you which edge you can explore, and when to stop a path search (a test sequence is a path), this gives a pretty flexible and configurable tool for automatic test generation, as you observed.

So far I preconfigured two search strategies, one which visits all transitions in the graph once, and the second which does the same but up to n visits of the same transition. I am working on more complex strategies (favor some paths over some others following a probability distribution etc.) but that is not a priority as of now.

Smart automated test generation is an exciting topic!
Obligatory reference: Fred Dibnah, steeplejack.

https://www.youtube.com/watch?v=F04dGK1_wYA
Those are good points - and match what I've seen with arborists who climb trees, prune, and do full removals for a living - chunking trees down from the top, oftentimes while they're in them.

A lot of safety procedures and best practices diverge wildly from those in other industries. I get the impression it's probably the same way with chimneys in the UK, given that industry's long history. [1]

In arboriculture, the following weird things are acceptable(-ish, depending on the country):

- The climber is often supported by a single non-redundant rope, unlike rope access in other fields where two ropes are required.

- "Riding the ball", or using a crane to hoist a human load, is done in exceptional circumstances.

- Some critical PPE gear is often hand-made, it's very common for climbers to splice their own ropes.

- Even the most die-hard chainsaw-safety advocates will grudgingly acknowledge that sometimes situations call for one-handed use.

Some of these industry practices are in direct-conflict with more broad OSHA and/or EN safety standards. It isn't that the industry disregards safety - most climbers and crews I know are very safety conscious. Rather, the situations are different enough that the risk-mitigation calculus arrives at different answers.

Where a ladder climber may be not-always attached to the ladder, in the tree-care industry, that's utterly unacceptable.

[1] eg, one of the many Fred Dibnah videos on YouTube https://www.youtube.com/watch?v=3R3-YwDZrzg
I partially agree w/ you. One can always delete the test and then it's like you have no tests at all.

> And then there's a number of issues with test coverage giving you a false sense of security, with things like reaching 100% for a given piece of code, but only thinking about the happy path.

Yup, and this is why one writes tests against well-defined interfaces/boundaries.
Criminals Are Tapping into the Phone Network Backbone to Empty Bank Accounts
That whole concept might have made more sense in the age of more tightly-controlled print media, but nowadays when even outfits like Forbes have guest contributors, not so much.

Just because one journalist sucks doesn't mean the next one does, and slagging on the next guy only because the former one did a poor job amounts to a combination of genetic and adhom fallacies. Editors were never intended to be subject matter experts on everything their writers write about - stick to scientific journals if that's the level of assurance you want. (And depending on how you feel about the reproduction crisis, even that might be questionable.)
Personal attacks are not ok here, regardless of how bad you feel someone is at backups.

Please review https://news.ycombinator.com/newsguidelines.html and follow the rules when posting here. We've already had to ask you many times. When accounts continue to violate the guidelines, we end up banning them, and I don't want to do that.