skysight-inc/HackerNews huggingface dataset:
What you're missing is that most people in web dev use a full featured framework like Django or Rails and do not need unit tests nearly as much as integration tests because very, very, very often most of the architectural decisions have been made for them and the framework linking it all together is where mismatches between expectations seep in.

"Wups, I pluralized this thing that should have been singular in the routes / urls file"

Also, when developing APIs for the front end it's pretty unlikely that I need to test Rabbit.permanent_url on its own and much more likely I need to test things like listing all the rabbits for a given rabbit farm that are candidates for sale in the local meat market.

Where exactly should this test go? The framework handles all the magic SQL generation and the frontend folks really only care about input -> output.

If you're building everything from the ground up, then of course there will be way more unit tests, but with an established framework you don't have to test everything. You trust the framework to get some things right for you.
"AAlmost 70% of animal populations wiped out since 1970"

Please rephrase that headline. From the article:

The headline of this article was amended on 13 October 2022. The figure of 70% relates to the average decline across a range of animal populations since 1970, not to the percentage of animal populations “wiped out” since then as an earlier version said.
I agree that very few, if any, leaders are intentionally evil. Even the most (in)famous ones such as your examples.

However, I'm not sure the distinction is too useful. Ultimately we're judged by actions, not intentions.
Here’s a properly technical explanation of the problem: https://news.ycombinator.com/item?id=33239443
What about fallout from burning coal? Which is much worse than what reached Germany after Chernobyl .
I used tar --use-compress-program="pigz" to create the tar out of billions of files
Thanks, yep seems like it!
Money is made from plastic
If I remember correctly, Malcom did nothing but harp endlessly about how the park was doomed to failure due to various vague non-sequiturs.

All we know is that he predicted fence integrity would fail somehow. We don't know what else he predicted, maybe he just got that one right by chance. We don't know if Hammond changed the park after the paper to invalidate Malcom's reasons for predicting fence integrity failure; if he had done this, Malcom would be wrong despite having predicted fence integrity failure.

We sent people to the fucking Moon _and_ brought them back home. I'll be damned if humans can't solve Jurassic Park.
There are plenty, but you may have to turn on showdead and scroll to the bottom and uncollapse to see them.
I’m not conflating anything or misapplying anything! You’re reading things into my words that are not there!

I’m interested in how to study a known side effect of a disease which has been a global pandemic for two and a half years. How to study it at scale.

I’m not conflating it with the whole host of other reasons for the grades dropping, most of which are obvious factors
and obviously bigger factors. The conflation is happening inside your head, somewhere from between your eyeballs and your fingertips. Respectfully.

You are of the opinion that it is obviously a trivial effect and not worth investigating especially. I disagree: I think we should look into it. I do not disagree in the way that I think cognitive deficits from COVID is the main driver of grades dropping.

Our opinions do differ, but not where you are saying we differ.

I think we should make sure we aren’t spilling solvents into the boat as they can degrade the hull. Why don’t you take a look at the bilge pump?
bzip2 is very very slow though. Some types of data compress quite well with bzip, but if high compression is needed, xz is usually as good or better and natively has multithreading available.

For everything else, there's zstd (also natively multithread)
They are planning to get them up and running till winter, but I don't know enough to have an opinion on whether this is achievable and if not how much of a problem that would be and if those three nuclear plants would make a difference.
Or, "making public/hotel/random wifi less of a security risk", which happens to be my current usage of Tailscale.
And now you've traded one problem for another.
Your ideal is what is commonly described as the "testing pyramid".

It's very well suited to "single artifact" code (a lib, an app with an easy way to drive interaction through a gui, etc...)

It tends to turn into a "testing sandglass" with time (because most of the value of integration tests is also derived from gui/e2e tests.)

Depending on the app, it might makes sense.

Kent C Dodds (author of the poorly named "testing library") is embracing this sandglass shape by calling it the "testing trophy".

Honestly, to me the hardest deterrent to testing are :

* If it's not done from day 1, you end up with that one hard to test piece of code that makes every other piece of code hard to test

* Few people enjoy writing tests (I do, but I reckon I'm part of a minority.)

Do what helps you the most !!
> I've considered going to someone like Krebs

This sounds like a good idea, honestly. Companies' reactions to vulnerability disclosures can be... unpredictable. If security research is not your area, it might be easier to get someone from that industry to handle the disclosure.

> but I'm extremely hesitant to simply because of what could happen if this gets out without being patched.

If you found this vulnerability, odds are someone else will run into it too sooner or later.
On Linux would it Just Work™ if you aliased pigz to gzip as a drop-in replacement?
Another issue is places like ticketed venues making cash-free a term of sale. You can't buy anything with cash in places like Citi Field or Hershey Park.
Immortality review – a spellbinding cinephile puzzle about a vanished actor
That's similar but what for me the MVP is something I can dump a load from the dryer into and have it all come out folded. Pants, socks, shirts, underwear, towels, etc. From a machine that vaguely matches the API of my existing washer and dryer: There's a door where the stuff goes in, I push a button to start it, and when it's "done" it dings.

I can fold tshirts, for example, faster than that machine, since it looks like it's on the user to sort out the topology of the shirt for the machine.
Tar is the archiver here (putting multiple files into one file), pigz with no compression isnt doing anything besides wasting CPU time.
> I've always suspected that the ideal testing setup would be mostly unit tests, integration tests only to fill those gaps, and selenium-ish tests (hopefully rare!) only to fill in the final remaining gaps.

I would have thought this is pretty standard. You've just described the testing pyramid.
According to a Pew Research poll "do fact checkers favor tend to favor one political side"

It's split down the middle

https://www.pewresearch.org/fact-tank/2019/06/27/republicans...

As to prominent people- What do you consider prominent, would most people agree with that, and do you have a poll of these people.

Saying most prominent people blah blah blah is debatable on two levels
Large, mysterious 'globster' washes up on Oregon coast
This is very interesting - I'd bet you'd get to the front page of hackernews by sharing this link with us as its own post.
Awesome. How the hell did it take 20 years to finally land?
lots of things are measurable, but did cancer and other radiation related diseases spike in Germany or not?
If you've managed to prove the halting problem, then I don't think it is cheating to use it on an easier result.

This is how it was taught when I learned CS theory in uni [0]

[0]: https://introtcs.org/public/lec_09_godel.html
I meant customer support for drivers and "real customers". Sorry for not being clear.
Denmark doesn't have any and five of eight reactors on that map of south of Sweden has closed, some soon almost two decades ago.
I am pretty sure by "how far from" he meant the delta of magnetic north to heading angle. Since an Apple watch doesn't have the ability to vibrate any where except the watch body it can't "point" at magnetic north like the North paw does, it would have to indicate magnetic north some other way.
Digital writing rooms seem like a cool idea. If you make one, shoot me an email! I'm just about as aspiring as it gets, I try to spend time getting comfortable with tools like Fade In but have yet to produce anything meaningful.
I’ve seen it go off the rails though. I’ve seen people exhibit traumatic responses to it.

Pain is information, but there are less helpful ways to interpret it.

There are some architectural decisions I resist energetically because they create a lot of consequences for testing, with not a lot of value added compared to other alternatives. If you introduce something that makes writing code 30% harder you’d better be getting a lot of profit margin out of the deal. Otherwise you’re just torturing people for no good reason
No, indeed, the opposite. In Rust, these will surely be procedural macros, which comprise functions written in Rust which operate on Rust code, represented as token streams. The compiler compiles the macro, lexes your code, feeds it to the macro, gets a token stream back, parses that, and that's what it compiles.

Understanding a magic handler function involves understanding a particular subset of features of the Rust type system, and operating that mechanism in your head to see what happens.

Understanding a proc macro involves understanding arbitrary Rust.
For fellow TR-AR fans, I would love your opinion on a piece I made in the style of Social Network: https://soundcloud.com/functionform/after-all-the-cake-and-w.... It was made for a for-fun contest where you use one plugin to produce all the sounds. This concludes my self-promotion!
I imagine RAM weight is not a relevant parameter on the rocket equation.
Personally I don't care too much.

But on the other hand I have ADD and there's a chance I get bored with a twitter thread and move on before finishing it while a blog post allows me to keep it open in a tab and read it in steps.
Has there been a spike in mutations in sea life? Humans? I have my doubts. The amount of radation dumped from fukushima is literally a drop in the ocean.
> If you have a right and the government isn't protecting it, do you really have a right?

Yes, but only to the extent that you're capable of protecting it yourself. This is why the second amendment exists in the United States. I don't really care to get into whether or not this a valid point of view since that could be its entire own discussion, but that is at least partially the rationale behind protecting people's rights to procure weaponry.

> Sure you can get all philosophical and say things like every soul has a right to X Y and Z, but that doesn't mean anything in practice outside of the ivory tower if the government you are beholden to has a stance to the contrary.

I get what you're saying but unless the government does some minority report type thing where they arrest you before you exercise your rights, most people will still get to in the real world exercise it at least once. A person doesn't lose their right to free speech just because they are dumb or otherwise incapable of communicating their speech, either.

> OTOH if its only about values and not about the actual legal idea of freedom of speech, then you can argue with that logic that there is also a moral value in protecting groups of individuals from being the subject of vitriol and hate speech on a forum you own. That's the position Twitter et al. have taken in this regard.

This is in fact where I think the most interesting discussion can occur. What values should social media platforms be enforcing? I personally think that censoring speech broadly on the platform is in most cases inappropriate — Twitter and the like can make tools to help people insulate themselves from people they don't wish to see or interact with. Some of these already exist, but they could expand them. They could even create features that allow users to preemptively take action on types of speech they find objectionable (advanced filtering techniques).

I find this preferable because it allows the broader community to maintain discourse (even if some people find it abhorrent) and importantly grants individuals agency over the type of speech they engage with.
Board members often have the same issue, but in a different way. Probably the favorite two step approach:

1. Guide the company to do things that boost the stock price in the short term (1-3 years) but destroy the company's ability to compete on longer time lines

2. Dump your stock position

This doesn't usually happen with founders, but I can personally attest to the fact that this has been done intentionally by board members of billion dollar businesses.

There are also more subtle approaches, e.g. board members pushing for strategies that hurt the company, but boost the board members' other holdings.
returning is the best.
It's probably B. I have a fairly intuitive sense for north even without ever using this, although it does get confused sometimes. I've learned not to trust it coming out of the subway into tall buildings with narrow streets because more often than not I'll start heading a completely different direction than the way I wanted to go. I can see how this would help develop that sense, and I wonder if I'd have more success if I tried it
Windows 95 launch – is Microsoft too big? (1995) [video]
It's that flaming torches and pitchforks moment we always feared would come...

The only other time I remember this was when Lars Ulrich showed up at the Napster offices in San Mateo.
The merge window is the merge window. If you want commits earlier, set your merge window earlier. Your review stage is to be scheduled after the commits are made, not during the last random() days of the merge window.
This was great in 2012. In 2022, most use-cases should be using parallelized zstd.
But what’s confusing everyone is that tar cf - will create the tar without any external compression program needed.
https://www.seiu1021.org/article/sfusd-classified-staff-prot...
And natural gas
There was this

https://www.provokemedia.com/latest/article/the-launch-of-sa...

It has also been said that employees and unions were negative on government plans to switch to Linux and off-brand Office software in Germany and lobbied to get Microsoft back although I think they were more quiet about it.
I use Helm weekly and this is worse.
This is mostly a local thing (for now) and most local papers in Norway paywall basically everything.

Anyway, it’s even worse than a cumbersome software. It’s part of a digitalization process of Norwegian healthcare. You would think that since we basically have one provider, the state, they would go for one unified platform? Think again! Norwegian healthcare is split up into 4 health corporations which are kinda sorta like private corporations. Each one of them have run separate processes to acquire a platform of their own. One chose Epic and the others chose another provider. So quadruple the work to choose and implement the new digital and unified journal and probably some extra on top to integrate the different providers.

The icing on the cake is that the local municipalities also have health services and were expected to use the same platform as the local health corporations, but many of them are getting cold feet now, so who knows what will happen.

The joys of neoliberalism I guess.
If you're not going to compress at all, you don't need a compressor at all. All you needed was a .tar and not a .tar.gz
"Ocean floor topography also helps identify underwater hazards and inform sustainable marine resource management and infrastructure development."

Likely to inform and fuel the Rare Earth mining already being done on the ocean floor. Take for example off the West Coast of North America: https://www.cbsnews.com/news/rare-earth-elements-u-s-on-side...
Yes, those are paywalled.
Here a bunch of news from NRK (Like Norwegian BBC)on the project.
https://www.nrk.no/emne/helseplattformen-1.15838445
and a small mention to todays march.
https://www.nrk.no/trondelag/demonstrerte-mot-helseplattform...

District news starting at aprox 1 minute
https://www.nrk.no/video/distriktsnyheter-midtnytt_DKTL98101...
Filipino here. it's a slang term for dimsum food! haha.

We spell it as siomai though.
You could put it up for a timed auction on OpenSea, that announces to others that you're looking to sell.

Also if the ownership of your house was determined via an NFT (in 5-10 years that might not be that uncommon), I'm sure you'd get a much higher bid for it on something like OpenSea also (assuming it was part of a collection that people knew to look for, at least. If you just mint the NFT yourself people might not discover it). If it were legit and NFTs were more mainstream you'd probably get bids close to, or possibly more than) what it's worth.

The $2.9 million for the tweet was just a stupid purchase to begin with by someone with more money than sense, like someone paying $1.5 million for a sealed copy of Super Mario 64 back in July 2021[1].

[1] https://kotaku.com/a-sealed-copy-of-super-mario-64-just-sold...

EDIT: For those who doubt the housing claim, I just happened to have a twitter post shared with me just now that someone sold an NFT that grants ownership of their house in South Carolina for $175k over the past weekend[2]. So NFTs are still selling for good prices if there's something of proven worth behind it, like real estate.

[2]: https://twitter.com/rusty_bill/status/1582098885933027328?s=...
> To those who espouse the idea that comments should be filtered for the greater good, I say 'You first.'

that's part of the reason why I come to HN, for well-moderated (or "censored" if you prefer) discussions on tech
"This Tweet has been deleted" -- does anybody have a mirror? Maybe @dang can update the main link to that.
Schröder was chancellor when the initial nuclear phase-out was decided.
He later joined the board of Gazprom.

I no longer believe in coincidence.
> only emotionally crippled people like fashion

Please don’t straw man¹. That’s neither what I said, nor what intended to convey, nor what I believe.

¹ https://news.ycombinator.com/newsguidelines.html
I've actually not used in them anger, just looked into them at one point, the only reason we didn't go with them was because we didn't want to tie ourselves overly to SQL server. I'm assuming it can only work sensibly if you have an ID-generation/usage mechanism that means an ID should never be re-used even after records are deleted, which is arguably the most common scenario anyway, but I have worked with at least a few database tables in the past where this wasn't actually the case (IDs were randomly generated but with a sufficiently small range of possible values that there was a reasonable chance of generating the same ID twice within, say, 6 months of heavy usage).
This comment reads like it's trying to disguise pedantry as confusion, which is an obnoxious trend on HN.

Keeping with the original "user on a team" example, allowing a cardinality of zero means that you support a user not being on a team at all. This may be a bastardization of the definition of "cardinality", but I think you understood that.
>If the GP has the correct answer, it would be because the cost of producing the current US oil is much higher than the cost of the 1971 oil.

Inflation adjusted oil prices were actually pretty close to pre-1971 oil prices between 1986 up until 2004. If the oil price theory was true, shouldn't we have seen a reversal in the trend during that time period?

https://imageio.forbes.com/specials-images/imageserve/624487...
I have lab equipment that needs a power cycle after 48 hours of power on time for it to continue to produce high quality data. This is because the internal calibration code only runs upon boot. Maybe these planes have something similar.

So, to me, the power cycle thing is not super surprising. That fact that the FAA felt the need to order Boeing to do it seems a bit suspect though. That's probably the real story.
How much did you tip them?
Every time I read about seafloor mapping, my mind immediately jumps to MH 370.

https://en.wikipedia.org/wiki/Malaysia_Airlines_Flight_370

A large airliner carrying more than 200 people disappeared, and over the past 8 years, we still have not found the main body of the airplane or the black boxes.
From what I’ve seen, the config uses dictionaries for concurrent pipelines. Sequential commands are in an array (ie hyphen prefixed).

Plus it’s a bit late to hate on YAML for CI config since it’s already being used by most services, such as:

- Concource
- Travis
- CircleCi
- GitHub Actions
- Gitlab
- AWS CodeBuild

…not to mention a crap load of other orchestration services from docker-compose to k8s to CloudFormation.

Like it or not, the YAML-train left the station years ago. So Woodpecker isn’t doing anything here this isn’t already an established industry norm.
There's a star trek episode about such a thing, https://memory-alpha.fandom.com/wiki/Warhead_(episode)

Apparently it will "hijack" more memory and attempt to reconstruct it's orders.

But, real world, I would say that data corruption would occur and outside of chemical/physics, it will just drop and lockup.

May have a failsafe to detonate, but that is a fun question indeed.
Unsubscribe is a good one if you really don't have any useful email subscriptions, but don't you subscribe to any useful ones like Substack newsletters etc?
Care to share what kind of restaurants are using these? I’m guessing they’re more the cafeteria-style places. My family owns a few fine dining restaurants and are constantly getting sales people trying to sell them robot food runners. It’s always an amusing sales pitch.
I use semgrep for semantic search (and replace, sometimes).

Their docs and website try very hard to suggest you should use it for some kind of CI process, but so far I haven't found any need to do so. I can maybe see it being useful in a pre-commit hook.

It's VERY handy for semantic searches though - in situations where ripgrep would be useless due to multi-line matches.

I set up this alias to make it a bit less verbose for Python patterns:

pygrep () {
pat="$1"
shift
filez="$*"
bash -xc "semgrep --lang=python --pattern '$pat' $filez"
}

Usage is something like:

pygrep 'myfunc(..., needle_arg=..., ...)'
TK-02
I don't know...

Starting from workbench 3.1, Amiga had a far more advanced desktop than PC/Mac would see for a long time.

Even today on win11, when you switch from desktop to a game in a different resolution there is a small lag. On Amiga you could have different screens with different resolutions displayed _simultaneously_.
In re: "Tokio, Messaging Queues and Async Rust", the Rust community may one day have a robust, fault-tolerant data ingestion and data processing pipeline like Elixir's Broadway, but today it remains a customized, heavy lift (depending on developer expertise). It would be great to have, in Rust, though.
It's only extended till April
worse, if the correct one was `burntsushi/ripgrep`, someone else would just squat `ripgrep/ripgrep`.
Well, they have been published now.

If this can leak so easy, it makes me wonder how safe api keys are. They are supposed to be hidden away, we know, but so is proprietary code.