skysight-inc/HackerNews huggingface dataset:
> Are you suggesting that eating meat because paying $10/pound for a mediocre steak that gives you the moral willies is honestly more convenient than buying a can of beans and taking a vitamin supplement?

Humans naturally enjoy meat. As such, we have to go out of our way and sacrifice a little enjoyment if we want to be vegetarians (which I believe is the true reason you argue for meat). I don't really follow your argument that it would be more convenient to avoid all meat in our society in exchange for a can of beans and a vitamin. The crux of what PG was saying is that making it more convenient to avoid meat will lead to less meat consumption, which is hard to argue with.

> I'm saying I delight in eating the flesh of an animal, and that knowing I gave it a comfortable, healthy life and a merciful death contributes to that pleasure. Your reasoning is pretty waffly and evasive to serve as a basis for comparing someone to a serial killer — which, as you may have noticed, I resent, as I consider almost anyone would.

That resentment is what I previously referred to defensiveness of having your morals questioned. Of course you resent comparisons to your actions to things society has already deemed inappropriate. Whether those comparisons are justified or not is up to you (and society), but you don't make it easy on yourself with your particular brand of justifications (which sound deranged). Imagine if you raised a child or pet dog, cut them open and ate them with the justification "that knowing I gave it a comfortable, healthy life and a merciful death contributes to that pleasure". The difference between murdering your pet dog and a pet pig are very slim in our society already, so I wonder how you'd imagine you sound if you just drew the line a little bit differently.
What you’re saying is certainly true but that doesn’t mean it’s helpful.

It’s good to remember that ultimately discipline is what’s needed, but it’s also helpful to discuss specific intermediate steps, habits, and tools that are helpful in creating that discipline.
I mean, clearly, if we really wanted to, we could build all of our software with Coq and have it be formally verified. But we don’t. The Curry Howard isomorphism proves that code and math are equivalent and since we can prove a bunch of stuff with math, we should also be able to prove that our software systems are big free.

And so you’re right, maybe my statement is a little bit of a simplification, but not by much. The amount of man hours it would take to prove that the Linux kernel had no bugs according to some specification would require an absolutely prohibitive amount of time. As such formal verification is so prohibitive that only the most trivial systems could ever be proved.

This is pretty similar to saying that we don’t know how to build bug-free code. We need a paradigm change for things to get better, and I’m not sure it will happen or if it’s even possible.
Here's a Smarter Every Day video on the topic. Live demonstration starts at 6min mark.

https://www.youtube.com/watch?v=BTqu9iMiPIU&feature=youtu.be...
> I wonder how many lives are lost each year (not just in aviation but globally) because the US refuses to convert to the metric system.

Keep in mind that the U.S. is not the only place where measures are mixed. If anything, British people end up using more measures than Americans. Here in Canada, we have a lot of things read out in both, because of the immense sticking power of customary measures.

U.S. organizations are actively encouraged and (for the most part) fully allowed to adopt SI measures, but it's not like switching road sides, where everything makes sense after you hear "drive on the right now".

Keep in mind that powered flight was basically entirely developed by Americans and pre-SI Brits, and already had more than fifty years of history by the time either pioneering country adopted SI in any significant way. It should not surprise you in the slightest that an American plane expected to hear fuel mass given as weight in pounds; in fact, it should astonish you that anyone is trying to measure it in kilograms in North America.
It's different for Trump. He's clearly got a personality disorder within the dark triad. He doesn't seem to care how many times he gets caught lying.

I'm talking about generally honest, regular people occasionally lying for the sake of convenience or discomfort. Telling lies to get out of an invitation to visit with a relative you don't like, for example. Say your annoying uncle invites you for dinner and you tell him you're sick, then later he catches you at the driving range. Basically the sorts of things you see on Curb [1].

[1] https://en.wikipedia.org/wiki/Curb_Your_Enthusiasm
HoloLens 2 is an advanced enterprise mixed reality headset costing $3500
Show HN: Open Source On-Premise Kubernetes Deployment Tool: Cluster Builder
I believe being able to make more out of the resources does not necessarily translate into actually making more.
There are arguments that building infrastructure today is slower than 30 years ago due to regulations/political constraints, despite the technological progress.
The difference is that you control your data with the password manager, not a third party that can be bribed or coerced to grant access on your behalf or to hand over data associated with you.
wow...thats a first
I, too, would love to see this table :)
I agree with mjw1007 that lack of rigorous API documentation for error paths is a huge weakness and with you that it's not a Linux-only problem.

There are a lot of related filesystem robustness questions I'd love to get authoritative answers on. Neither the Single UNIX Specification nor OS-specific kernel docs / manpages gives enough information to write a robust, performant program, and certainly you can't find one place that gives everything you'd want to know when writing a portable program. For example:

* Does fsync() make guarantees about just the inode, or also the dirent? (iirc on Linux only the inode; for a freshly-created file you also have to fsync() the directory.)

* What does fsync() success guarantee is written to permanent storage? from this whole thing, apparently on Linux recently (even ignoring the bugs) only things since a previous fsync() failure or the current open() call, whichever was later. Yuck. That's a terrible behavior, and even worse for being undocumented.

* Does it even guarantee that if you don't say "Simon says"? On macOS, I gather you need to do this extra F_FULLFSYNC thing. Are the other platforms like that? I dunno. And there are certainly mentions of older hard drives where nothing can be trusted. Is there any database of hard drive behavior? Stress test program to tell if I have a broken model?

* If you do a write and power is lost before fsync, what guarantees do you have about the current state? I was trying to figure out recently if an N-byte aligned overwrite is guaranteed to reflect the "old" or "new" states (for various Ns: 1, 512, 4096, st_blksize). The best I could find is here: <https://stackoverflow.com/a/2068608/23584> which suggests yes for N=512 "these days". Do I trust that? on all platforms? for hard drives made how recently? etc.

* If you create a file, write to it, and rename() it into place and power is lost before fsync, what guarantees do you have about the current state? is it guaranteed that the dirent points to either a previous inode (if any) or the new one? if it points to the new one, is the file guaranteed to have the write length or contents? the conservative thing to do would be to create, write, fsync() the file, fsync() the directory, rename, fsync() the directory again. But three syncs is getting ridiculous. Is it safe to remove one or more?
Wild Paper Suggests Gravity Is Just a Product of Quantum Mechanics
There are ways to speed up message passing. It's not slow by any means but weird things become your bottle neck when you have 5m concurrent users. For instance you have to build you OTP tree extra layers deep or spawn hundreds of supervisors because just routine calls to the master process to add / remove children begins to become bottle neck.

In my implementation, only 1/2 a million concurrent IOT devices, I use routing tables that narrow down a process to a node and registry cluster (https://hexdocs.pm/elixir/master/Registry.html) , and from that registry it fans out to 1 of 100 supervisors for that worker type per node.
Error messages are a much more important reason to use a hand written parser/lexer: Unless you basically write your own parser generator, it'll never be as direct or fluent as a hand written parser
It depends on the human. Some humans might interpret "01" as one yes, but others will see it as a "zero-one".
Honestly I feel these types of comments do more harm to EV adoption than anything else as they're used as justification to not adopt an EV by those who otherwise could. Most EVs today support a flavor of DC fast charging beyond L2, a Leaf can be charged up to 80% in like 15 or 20 minutes. That sounds like a lot but when those chargers are in Market or Restaurant lots where you can charge and shop/eat then they make sense. I think the biggest issue today is the exclusivity of charge networks and proprietary chargers.

I don't know your specific route but there are plenty of routes in the UK that can easily be done. Brighton to Inverness and back can be done in a Model 3 with only 5 hours of charging along the way. Not great but also not horrible if they can be combined with regular rest stops.

In the US the charge networks were initially rolled out at odd locations that didn't make much sense but gradually they started putting them in office and apartment car parks and now thankfully in malls and retail areas where people actually go.

I still don't understand why restaurants haven't adopted them more when you have a captive audience for 15+ minutes and can upsell meals by offering charging discounts. I guess as adoption climbs they might catch on.
I'm pretty sure Steven Pruitt read the Asimov trilogy cover to cover and loved it!
I love Death & Co's first book. I highly recommend it to anyone who likes having a cocktail after work or making them for parties this book will make you plenty of friends. Or basically anyone who likes digging into everything in a connoisseur/nerdy type of way.

Once you learn the foundational stuff of making cocktails (with a small investment in some gear and plenty on a variety of booze) it's surprisingly easy to make really good drinks. What I found interesting is how you intuitively starting learning some fundamental bases which you learn, where it becomes easy to make up your own drinks when you don't have access to the book's ingredient lists or you're at the liquor store without one in mind.

It's not just an endless list of popular cocktails recipes but structures it around bases which you build on. And it made me a big fan of gin (they almost entirely skip vodka, besides a few recipes, which I found interesting).

Learning how to make cocktails is underrated skillset IMO. At least compared to people knowing scotch or understanding good wines.
My principle concern with any boutique desktop systems is that in order for the business model to be viable, they need to add significant mark up to the BOM. However I most enthusiasts can just assemble a desktop for themselves and save hundreds of dollars. One of the easiest ways to save hundreds of dollars I am aware of.
Ghidra
yes, it is just whether it is 10 years or 100 years or 1000 years, etc.
Show HN: A simple chart tool (no login needed)
You do not own the phone number, your phone company does, and the implementation is a chip that you can physically "own" but can't control or know what happens inside.
They’d probably want some degree of cultural and religious autonomy, and that’s politically unacceptable to Beijing.
Xclip-for-mac: an executable with a xclip-compatible for shell compatibility
The Navy likes to keep things simple and called it the Swiss cheese model.[1] It’s usually never a single factor, but a combination of factors. The holes line up and an accident happens.

I think it’s also important to emphasize that getting to this level of safety is so much more cultural than technical. The ability to be open about failure and for people to feel safe in communicating to investigators is critical. The Navy would run two parallel investigations into an incident, one focused on Safety, where anything said was confidential and couldn’t be used in the administrative investigation (FNAEB) that could result in career ending consequences.[2]

Though I worry a bit with the constant wars and punishing deployments this culture may be heading in the wrong direction. [3] One of my XOs said, “One generation of Admirals will make their names breaking the Navy, and the next will make their names putting it back together.”

I have immense respect for the FAA and NTSB. They are trying to infuse this safety ethos into the fledgling drone industry. No easy task.

1. https://en.wikipedia.org/wiki/Swiss_cheese_model
2. https://www.airwarriors.com/community/threads/my-fnaeb-exper...
3. https://www.theatlantic.com/technology/archive/2018/10/the-n...
Yeah you’re right. That’s probably the more accurate version of it
Containers as Kernel Objects Again
I used Aptana for web dev before VSCode, it was nice but still very eclipse-y.
A lot of things are basically the same idea, but none of them are backed by "this is the linux way".
> as measured by the iPhone’s built-in screen time tracker

I somehow missed it.
You are not working to support and salve 7bn needy fellows, you are slaving for the consumerist benefit of about 7m plutocrats.
Radio Yerevan was asked: "Is it correct that Grigori Grigorievich Grigoriev won a luxury car at the All-Union Championship in Moscow?"

Radio Yerevan answered: "In principle, yes. But first of all it was not Grigori Grigorievich Grigoriev, but Vassili Vassilievich Vassiliev; second, it was not at the All-Union Championship in Moscow, but at a Collective Farm Sports Festival in Smolensk; third, it was not a car, but a bicycle; and fourth he didn't win it, but rather it was stolen from him."
There is more to the story and the propaganda than meets the eye. With all of these stories you have to ask yourself 'why is this person writing this and why does it matter now'?

China is going places and across numerous sectors we can ignore China and tell ourselves that they just steal our IP and have no creative ideas of their own. We did this when Japan was going places and insisted they just imitated our cars, motorbikes etc. Nobody says this now.

In the Western narrative about China it is of considerable propaganda value to get some 'human rights' argument on the go. Whether or not China are oppressing people is immaterial to the argument and the propaganda. The point is that discussion is framed that way with China on the back foot if they buy into this narrative.

Incidentally, further West from this region where all the Chinese 'terror campaigns' go on is the NATO narco-state of Afghanistan. This is the model of democracy that has been put in place by our great leaders over the last 17.5 years.

There is a NATO modus operandi of buying guns from Eastern European countries getting them in to places that are sovereign but not aligned to Washington, hiring mercenaries, giving them the guns and calling them terrorists (or freedom fighters) to create a situation that requires the troops to be sent in for 'humanitarian reasons'. Other tactics include 'colour revolutions' and 'Arab springs'. This happens where the media tells a different story, for instance the situation in Venezuela is an example of this, but, if you only watch the mainstream news then your only thought can be 'those poor people in Venezuala, we must bomb them now so the food aid can get through!'.

China has existed as a large empire for many millennia and survived colonial ambitions such as the Opium Wars. China learned about printing too much paper money, having global colonial ambitions and the art of war many, many centuries ago. They don't have capitalist politicians running the show and values in Chinese society are more Confucius than Chicago school of economics. Chinese leaders see China as a beautiful garden, you may scoff at that, but that is how they want China to be and that is more important to them than having 'democracy' as in the Western capitalist version of empire.

So, to get to your point, China, as in this culture that makes Washington look like a toddler on Ritalin, doesn't want a Maidan colour revolution going on or any of that nonsense in the far provinces. Same goes for 'free Tibet' with a CIA asset Dalai Lama getting Western SJW types antsy.
I was unaware of reddit.compact, looks even better than old.reddit.
Agreed with the other guy, this would be a good blog post similar to that "falsehoods programmers don't know about phone numbers" [1] post that came up recently - but more of a general interest sort of life-experience building the system.

[1] https://news.ycombinator.com/item?id=11321236
why would it be any more prone to getting rootkits in the kernel than any other process that was granted kernel access to do "this thing you think you need to do"?
To be fair, the analytics are opt-in, and they show you the json that gets transmitted prior to sending. It's by far the best implementation of telemetry that I've seen in terms of respecting the user.

The thing I think Ubuntu has over Debian is that they package proprietary software, which often means better driver support. Considering System76 is building the computer, though, this is probably not an actual issue.
Same here. Exactly the 'reason why' advertised in the headline is missing from the article. Is it the collateral environmental destruction if any, that the locals are opposing (in which case it's irrelevant that they are Muslims)? Is their traditional way of life under threat?

The geographical and economical pointers from the article are welcome however, so the oppression of Uyghurs can be put in a context that is not about cultural or linguistic differences.
He has a .ru email, so I'm guessing he's from Russia, I don't know where from exactly. I don't know anything about public transportation in whatever part of Russia he lives, so why would I judge him about that?
There are pretty good rules around crew rest and sleep requirements. Too early to rule anything out, but it wouldn't be terribly high on my list as a sole factor. Generally aviation accidents require a multiple serious problems (which is great, because safety is very robust), but NTSB does a good job investigating.
I never really talked about it with my boss...I just stopped going in one day but kept hitting my deadlines and attending video meetings. We had a few offices in other timezones. Nobody said shit.

Finally, like a year later, my boss asked about it (in our first 1:1 meeting ever lol)... Apparently, a bunch of other devs did the same thing after me and now the office was becoming a ghost town. Leadership was super confused about it and tried forcing people back into the office.

Eventually, a re-org had the office "flourishing" again, with a new exciting "bro" culture and lots of mandatory after-work events (in the office...)
- I left soon after and have been fully remote ever since.

Remote work isn't for everyone, and it becomes apparent pretty quickly if you aren't cut out for it... we're all professionals here and should be allowed to choose our optimal environment for getting things done.

TLDR; Be ready to walk, there are a ton of remote companies out there. Employment is a 2-way street, make it work for you!
I've never had a good System76 experience - over a decade of System76 use. I've repeatedly asked to have them purchased, merely to help the community, and every single one has disappointed.

The build quality is such rubbish, and you begin to feel it almost immediately. I'm careful with my kit, not terribly hard on anything and I manage to flake bits of plastic or metal off each System76. They've always been in neoprene cases within a laptop backpack - because I'm that paranoid. They're just rubbish.

At this point Ubuntu (or Mint, or Debian!) on Alienware is my laptop of choice, and I run those Kingdel desktops.
Veil – AV Evasion – Set Up and Tutorial
You picked one of the fuzziest examples. Lots of cocktail ratios are much more rigid than martinis.

Construction methods also matter.
Saturday 23rd Feb. Predictions and Tips
I don’t know of any phones with an indicator - but on the other hand I’ve never seen a laptop that doesnt have an indicator.
I think we surface more of the consequences of infrastructure construction in terms of health and safety and pollution, which appears to be slower, but in fact means much more is done.
I think they're using Macbooks as a reference point for another Apple product that does have a LED wired to the webcam. That's why the title is about iPhones and not smartphones in general.
This x 1000. At the end of the day, I get joy from building things that people love. At a startup, there isn’t much in the way of making it happen if it aligns with the vision of the startup.

At a big co, you’re mostly playing bigco politics and ass kissing to climb up the career ladder.

I love startups and growth stage companies. There’s a ton of opportunities to make impact and learn new things.
Thanks this answers exactly what I was looking for. One of those things you have in the back of your mind that you want to look into one day.
I find it's really hard to play with a phone while surfing. :-)

Also to surf moderately well requires keen observation of nature. It's very meditative.
The Lost History of FDR’s Court-Packing Scandal
My rule of thumb:

- If you don't need reasonable performance and reasonable error messages, (and your language is expressive enough) use parser combinators.

- If you need at least one of reasonable performance and reasonable error messages, (or your language isn't expressive enough for parser combinators) use a parser generator.

- If the code at hand is the interpreter / compiler for a widely used programming language (like Java or C++), get an expert to produce a hand-written parser.
> Containers existed before, in the form of FreeBSD jails and Solaris Zones.

Even earlier, depending on what variant of mainframe virtualisation you are prepared to count.

> Were there limitations that made them impractical ?

Not being up close with LKML workings, I can only speculate that it's due to Conway's Law. Having a kernel-level concept of "a container" requires changes cutting across a number of subsystems worked on by very distinct groups of people.

Cathedral-style development can achieve that kind of a change. The organisation responsible for Solaris saw the vision, worked out what had to be changed to create a uniform mechanism, then changed it. They achieved broadly the same with ZFS.

That said, there is container-as-a-runtime, in which I think having a consistent concept a la Zones has enormous value for consistency, security and performance optimisation opportunities. But there's also container-as-ecosystem. More accurately, _images_ are containers, worthy of that name, because they created such a simple way to take advantage of complex low-level APIs.
You are being more than a little bit hyperbolic, and it's bad for the conversation when people do that.
Planes gliding to a safe landing after losing power isn't something anyone should be harboring disbelief of to begin with. I've experienced it twice myself.

The surprising part of that story was the seemingly endless string of fuck-ups that resulted in them running out of fuel mid-flight.
It was really interesting to read how each problem they solved uncovered another problem further down the pipeline. It also reveals how much is going on behind the scenes when a service goes down and everybody starts accusing the developers of incompetence. :)