skysight-inc/HackerNews huggingface dataset:
While I'm sure they're are good academic arguments around why null is not a great language feature, I think the simplest way to explain the problem is to point to the number of bugs, incidents, outages, failures, that all seem to be related to it. Billions of dollars have been lost to null.

You cannot ask for perfect programmers who will never slip up. We're humans. People make mistakes, forget to check for null. So why not instead just make these kinds of issues impossible? Let the build process look for the mistake and block you from making it.
Let's make a concrete example. A new President is elected. The President-elect is a typical businessperson with an above average high-school grade scientific understanding. What concise curriculum do you design for them?
This seems at least part of it. And you don’t even really have to learn those things to use stateful React class components, they’re very seldom deeply inherited or require any `this` besides lifecycle methods and their own implementation. Rendered components are not instances.

I know there’s an aversion to classes in a lot of the current React community but the Component design in React was really much easier to reason with.
ohhhh okay
Kotlin:

function parseFile(file: File?) {
val file = file ?: throw Exception("File must exist")
}

(Not the only way to do it, but in general I really like the language's economics).
Yeah I find that this style of cheat sheet where it's overlayed on a keyboard aren't really that useful when you know what feature you want, but don't know the key.

They make more sense for reverse-engineering, i.e. you accidently just hit a key, and you want to find out what it did.

I guess they still are useful to study in one big go, when you have some time to sit down and purely just study + practise keybindings (not working on real code) and helps with muscle memory kind of thing.

But less so when I'm being impatient and just want to figure out one thing that I need right now (while working on some real project).
One of my favorite things about GitHub making this announcement is that GitHub's corporate overlord Microsoft requires us, as a vendor, to put a cookie banner on our websites even though for a while we literally had no cookies at all.
Could this be used for making something perfectly black or something like that? There was an A.C.Clarke story about a silence machine that reemits the sound with a delay to cancel it.
Why can't you just have your language call to SQLite via the command line?
Looks like we won't know what the depth of the intrusion was for some time to come. And I'm sure there will be a lot that won't be disclosed.
I’m usually the last person to defend our intelligence agencies. In aggregate, it seems like they’re more interested in undermining digital security than supporting it. With that being said, this sort of information would definitely risk compromising “materials and methods”.
When was HN into excusing Apple? It's pretty much run of the mill apple emotional hate club.

Quote from the thread

"Apple finally has shown their true colours and no form of hardware or software advancement will push me to use their products. Can you imagine the world without Linux or BSD alternatives? What a nightmare."
> There are places in the world that have already opened up, virus free.

And every place that qualifies for your description is an island on its own.
Except, of all your examples potatoes are the fastest burning fuel. Twinkies the slowest.
We're not. It's just that in order for some kind of retaliation to take form states will need hard evidence about Russia's involvement. Whether the evidence exists and it's not leaked to the press, or doesn't exist at all is anybody's guess.
Woah this is cocoocoocoocoool
> If hot pockets are unhealthy, it's because of the qualities they might share with a homemade meat pie

Sorry to pick on you, but this confusion that a Hot Pocket is the same as a homemade meat pie is a great demonstration of the food corporations' capture of nutritional intuition and discourse.

The public has been convinced that there's nothing concerning about increasingly replacing, for example, a nutritious, real meat or cheese (milk, cultures, and rennet) with cheaper analogues that are so empty that modified food starch, emulsifiers, and textured soy have to be added to the product for no other purpose than to masquerade as the texture you expect of real ingredients.

You're eating a replica of food and you've been persuaded that the only difference is some "scary chemical names".

The food corporation has a new breakthrough, figures out how five more cheap ingredients can be used to create the texture of some chicken, and you have somehow told yourself that it's the ingredient count that people must be making a fuss over rather than what the growing list represents.
Does anyone else have a hard time putting up with flying (pre-pandemic) recently? 20 years ago I used to fly without any issue but since they've made the seats smaller, the food somehow got worse and the TSA pre-boarding eats another hour of time I wouldn't have spent in the airport.

I recently started trying to fly business class to actually arrive at my destination like a functioning human being and not anxious/sick to my stomach. Unfortunately it's prohibitively expensive.

Add in the toxic fumes and I'm not surprised how bad I feel after a transcontinental flight.
Low←Tech Magazine
China seems more likely IMO. We know they've been very active lately on other espionage activities.
Where and How to Get a Coronavirus Covid-19 Vaccine in NYC?
I agree that the complaints are at a fever pitch, and I'm certainly enjoying the game, but I balk to compare it to GTA, which I believe is simply in another league of immersion.

This may be because I'm not very far into the main quest (without spoiling, I have about 3 hours ago gotten past the prologue and interlude).

But just off the top of my head, stark differences between gta and Cyberpunk:

Vehicle types. Gta has cars, motorcycles, helicopters, planes, blimps, atvs, and iirc bicycles. Cyberpunk has cars. I've seen motorcycles but I haven't seen that I can ride them yet. I've seen flying car type things too but again no evidence I can drive them. Same for blimps.

Gta lets me enter buildings and do things like bowl, play darts, pool, whatever. Get a drink at a bar, iirc. Strip clubs. Again, not too far at the game, but I tried going to a bar in Cyberpunk and it was like buying a drink in skyrim. It simply appeared in my inventory and that's that. I visited a hooker and he fucked me and that was kinda fun I guess, but not as interactive as a gta strip club.

Cops. I've seen a funny video in Cyberpunk where someone sniped someone from a roof and cops teleported behind him (nothing personel, kid). In GTA the cops have to actually arrive in some form of transportation to respond to your crimes.

So those are my main complaints, but only because we're comparing to gta here. On its own I actually enjoy Cyberpunk more than gta, but I do so fully cognizant of its flaws. I still have fun though.
Political content in games, especially referencing current figures or movements will rarely go down well.

If there's enough outrage they'll do it just to ensure their bottom line is protected. Of course political pressure is a thing but it wouldn't necessarily be surprising if it offended Chinese gamers as much as it did the party.
Several recent assemblers are faster than WENGAN. For nanopore, there are shasta and wtdbg2 (both published). For HiFi, there are Peregrine and hifiasm (both unpublished but with preprints).

I also found their phrasing here misleading: "The run time of WENGAN was at least 183 times faster than that of CANU (UL), while at the same time using less memory than other assemblers such as FLYE and SHASTA". Why not say the other way around (which is also a fact): The run time of WENGAN was at least several times slower than that of shasta, while at the same time using more memory than CANU. Come on, this is not the right way to do comparisons!
He is referring to the Hadith saying your stomach should be 1/3 food, 1/3 water and 1/3 air (ie empty)
Some food will more likely get stored anyway and rather instruct the brain to move less to compensate, while others will be more likely to "energize" you to do things physically and expend the energy.

See Robert Lustig on sugar.
I think the comment is more directed at folks who, and I noticed this weird behavior the other day myself, post tirades about the cardboard box being slightly damaged (while the goods and packaging inside are completely fine). These in particular are more akin to saying:

"hey this protective outer barrier did it's job, had a scratch on the shipping label, and successfully protected the contents. The contents were IN PERFECT CONDITION, 1 star review!!! CONSUMER RIGHTS!11!11!!1 REFUND NOW DAMAGED BOX"

The real weird part though; is how the outer packaging regardless of the quality of what is inside the box (their actual goods purchased) dominates their reviews. It's like a whole subculture, or something, I can't even begin to understand. The internet never ceases to to amaze me for the sheer breadth of absurdity one can find.
I've heard people say they feel different when they fly on 787s. I wonder if this is why.

On another note, I'm more concerned with the toxic gases coming out of people sitting next to me.
I use SQLite extensively for unit tests and demo code bases for my OSS libraries. For the latter because its super easy for someone to clone the code base and run the entire thing in seconds. Huge fan of SQLite in those two scenarios.
> This just smacks of so much ignorance as to be disgraceful.

This is a wildly uninformed, reactionary statement, Michael Pollan is literally an expert in this field in multiple domains (professor, journalist, consultant). If you stop and think for a second, perhaps an expert is choosing his words carefully, and consider that he is trying to make rules for people who think Arby's 7 nights a week is healthy, not folk who are health conscious and informed.

But hey, if you want to point me to all of the books you've written and research you've done on nutrition, I'll take a seat.
How would you use ARP here? ARP lets you find a MAC address assuming that you already know the IP address that you want to talk to. But without static IPs you wouldn't know the IP address of the phone that you're interested in. I'm not seeing how ARP will help here.
I've been doing this for long enough to know that if you think static typing will save us from the complexity of large organically grown code bases you'll be sorely mistaken.

The code and system design will reflect you culture per Conway's. If you value fast delivery it'll be full of dirty hacks throughout, piling one on top of each other. If you have single tight nit team it'll ram a million and one concerns into the same system, and so on.

Languages will not save us from ourselves, ever.
I have been using Pharo Smalltalk to solve Advent of Code this year and it’s been a really fun experience! I wish I could use Smalltalk more places, particularly because of the interactive development and the visualization toolkits. Something like PetitParser2 made several of the AoC challenges really easy because if just write a full parser instead of regex or hand parsing.
https://www.zdnet.com/article/google-chrome-impacted-by-new-...
> Very curious why people are so strongly resisting the idea that russia is a prime suspect in this.

It's really the other way around, there are a lot of people claiming that it was Russia without any apparent evidence:

https://twitter.com/ggreenwald/status/1339560149799854081

But there is a political subtext here. The red team is rooting for it to be China because it plays into a "Trump was right that China is a problem" narrative and coincides with the Hunter Biden thing and also the recent scandal about Congressman Swalwell (D-CA) having a relationship with a Chinese spy. The blue team correspondingly wants it to be not-China and thereby benefits from preemptively asserting that it was Russia.

This unfortunately makes it less likely that we'll ever know because it's hard enough to figure it out when there isn't a political motive for both sides to fudge the answer.
Stars are no substitute for regulation
I just took an Uber in Santiago and while on, asked the driver turn the music down. The driver responded by saying in Ubers you don't have the right to ask they turn down the music, that I was aggressive and insisting I get off, and stopped in a neighborhood known for high crime at night.

I can't force him to do his job, and after he insisted for the fourth time, despite my offer to wear earphones instead of him turning down the music and telling him "estoy tratando de pactar contigo" (I'm trying to make peace with you) it became clear I had no choice but get out of his car and walk.

As far as regulation, I am no legal expert in the matter but I do recall that the bus at least can play music as long as no passenger objects, according to a sign behind every driver. I've spent enough time in Chile to know this might not be "de facto" but it's still a law and if I'm the only passenger the driver is wrong to object to me asking he turn the music down. It's just a question, he's providing a service, taxis oblige, radiotaxis oblige, and it's just rude not to.

Which brings me to my point, that star systems are not enough. To begin with Uber can simply make up a number between 1 and 5 totally arbitrarily without actually averaging any scores. Giving this driver a 1 star rating and not paying him? Who cares? Complaining to Uber internally? So what?

Star systems are not enough.
dups:

- https://news.ycombinator.com/item?id=25448598

- https://news.ycombinator.com/item?id=25433284

- https://news.ycombinator.com/item?id=25446048
That's the great benefit (for the airline/manufacturer) of not having detectors -- there aren't proper records of fume events to foia
Because of this I mostly read negative reviews to see what kind of problems I may face.
Honest question: how's that different from running Software Update from the 10.15.3 install to get to 10.15.7? (Other than working offline once you have the update downloaded, that is.)
> I mean...the smart controllers on the HVAC systems in these companies have to be replaced don't they?

Did you recently binge-watch Mr. Robot?
I mean this is the beginning of what seems like a massive, probably international effort, to figure out what happened and who's responsible. Russia is known to be involved in state sponsored cyber intrusions, so it's natural the initial speculation would gravitate in their direction; But it could very well be from within the US borders, or some other nation entirely. That's what the investigation(s) will try to figure out.

From now until that day, I will simply assume nothing.
You're assuming people use exclusively Apple devices. I'm assuming people have a mix like a Window machine at work or a Chromebook from school etc....

I can use Apple devices and still have the need to use non-apple devices so Apple's solution isn't helpful.
Incident response procedures exist to address this as does forensic analysis. But each org might fail at eradication (hardest phase of IR) and get reinfected. It is hard but doable imo
Yeah, kinda reminds me of the legalized prostitution that is heavily regulated by the government in the Netherlands.
Don't foods have nutrition facts printed on them? In Europe every package has a standardized label indicating the grams of macros per 100 g and grams of all sugars per 100 g. (also salt etc)
The article convinces me on the failure of the ZIP method in at least 3 respects:

1) For efficient incremental updates. Especially when you're saving a large file often, making constant single changes to ZIP files is just inefficient.

2) The insane memory gulps that ZIP takes.

3) The pile of files method. The data in OpenDocument files could be much better sorted/accessed through SQLite tables, rather than through XML files in ZIPs.

I think SQLite makes far more sense for OpenDocument. Incidentally, SQLite has also made good arguments previously for its use to replace application file formats: https://www.sqlite.org/appfileformat.html
On Ubuntu or Debian I make a habit of installing the bsdgames package, which includes rot13 among other things.
Enjoyed this article thoroughly. My last name is a common object and only four letters, and so you would think easy to spell. However it gets butchered quite often--perhaps because people want it differentiated from the common noun.
Understanding adversarial examples requires a theory of artefacts
This is pretty obnoxious and doesn't belong on HN. Millions of people live there. If we are somehow able to leave our humanity behind, the practical fact is that would lead to widespread annihilation.
That's an autoantonym! Like cleave, or impregnable. They're literally my favourite.

http://www.fun-with-words.com/nym_autoantonyms.html
Having people be more active would help, but exercise is almost never enough to overcome bad eating habits.
So if a seller does something sketchy they ask customer to ask the seller if this is true? Wow.
He didn't say it never has bugs. It does have a great track record and Dr. Hipp fixes things quickly when found.
Is bleed air the only air intake for cabin?

Couldn't they just go down to <10,000ft and depressurise thus allowing atmospheric air in?
bash function:

rot13 () { tr [A-Za-z] [N-ZA-Mn-za-m]; }
The AI girlfriend seducing China’s lonely men
Nutritionist: Modern Bread Is Toxic. (Make your own sourdough instead)
No, it doesn't include accident remediation or dismantling that plant. So start by finding a radioactive storage facility (oops!), then triple the cost.

Chernobyl and Fukushima will cost about $1 trillion each ... for just the first 100 years.
I block ALL JavaScript and only allow JavaScript to run if I absolutely have to but limit to only what is needed with uMatrix.

I had to stop viewing my favorite website recently because it’s no longer viewable with JavaScript disabled.
And all the Photobucket images that are now gone, because the person hosting the forum was too cheap to self-host. RIP amazing, archived, sorted, searchable information.
Sony Removes Cyberpunk 2077 from PS Store
Also caesar, which is quite good at decrypting arbitrary transposition ciphers.
Try pinning a hack on them because it is something they are very good at doing and have a recent history of doing. It works a lot better and is at least somewhat based on facts.
dupe

https://news.ycombinator.com/item?id=25455293
It's a gitlab repo located at https://gitlab.com/andrewfulrich/panelle/
Create a gitlab account if you don't have one to star it :-)
>> These seem like questions without answers. Or, alternatively, the correct answer is whatever you decide it to be.

I beg to differ. The correct answer is whatever you decide it to be given the nature of reality. The whatever you decide it to be leads to subjectivism, which means you can do whatever you want. But clearly some activities are better for you as an individual compared to others.

eg. Working a job is better than robbing a bank. You know this intuitively based on years of internal reasoning, now think of why? Try to make that logic explicit.

>> Imagine a dog or dolphin or octopus asking this question. We'd think: "Why are you asking such questions? You're a dog/dolphin/octopus. You do dog/dolphin/octopus things. That's all you're supposed to do." Isn't it the same with humans? We do human things. Take care of ourselves and our loved ones. Help others who need help. Try to better ourselves.

We, as humans, are special in that we have a very high degree of choice compared to rest of animal kingdom. The most extreme form of it is that can choose to end our life (i.e. commit suicide), and no animal can do that.

So then, what are human things? Why is "taking care of ourselves and our loved ones, helping others in need, better ourselves" good choices?
I am not saying these are bad choices. They are very good indeed. Again, you know this intuitively based on years of internal reasoning, now think of why? Try to make that logic explicit.

There is a very simple framework to come to these conclusions. Unfortunately, a large population does not come to the same conclusions as you.
If you want to lose weight decrease your exposure to marketing. Watch less TV, avoid aisles of supermarkets with branded packaged products, don't read celebrity gossip etc. Cook simple non-fancy foods that is not hyped by influencers.
It's not really supposed to go to other people. It's currently working that way because congress "borrows" from the system. What was the surplus they said should exist right now, 3 trillion or something huge like that?

People who can't afford medical care can sign up for Medicaid. In fact, people on Medicare who can't afford it also sign up for Medicaid.
I think the scope of that is too large to work well (based on seeing previous attempts at similar extensions).

Limiting the scope to just product reviews could make the idea a lot more feasible. Since you would be putting yourself directly in the purchasing path it might be easier to monetize the extension too.
If you could implement categories, I think this could be almost perfect. I've found that's what I really miss about StumbleUpon. Being able to randomly stumble upon things from a variety of categories that interested me was really great. Found plenty of awesome things through there my freshmen year of college.
I have hopes for holographic projection directly into the eye one day allowing us to live in a Matrix like world.
She is in for a serious gokkun.
SolarWinds Hack: The Basics – Between the Hacks
So why doesn’t the same logic extend to non-poor people?

Again, the issue isn’t with the intent, it’s with the execution. No need to apply it in a manner that disproportionately affects that subset of the population, especially when there are significant other systemic factors that contribute to that consumption.

“Fat and sugar is bad” is quite different than “fat and sugar eaten by poor people is bad”
While I generally agree with the points they make I'm not sure I would want a (stock) sqlite being used for "less" trusted files.

While sqlite has a very comprehensive test suite there had been more than one attack with "manipulated" database files and as far as I know (I might be mistaken) the test suite(s) are not focused on testing that case much.

Through I'm positive that it would be fine with a "hardened" sqlite where certain features are not compiled in at all and in turn the attack surface is reduced.
You're not alone.

I used to actually really enjoy flying but the experience has severely degraded over the years. My chief complaints are insanely tight seat density, shitty food / flight amenities, and a terrible boarding process.
I want this assault on unionisation to lose, purely on the merits of unions and collective bargaining. I am sure a lot of responses will be about the defence of the German motor industry, or oppositional to Musk/Tesla as goals in themselves. Musk, and Bezos seem to have remarkably clear goals regarding collective bargaining, and they are highly oppositional.

I don't think we (the wider we, the societal we) can afford to have their view succeed. Either they are legislated into the room, or they are forced into the room by collective labour action. If they wind up succeeding in watering down unionisation of the workforce, we will all be the net losers.

IT workers need to think about this: The status we hold as individuals on professional rates of pay, individual contracts, are propping up the assumptions Bezos and Musk bring to the table negotiating with warehouse and factory floor workforce.

I truly believe we need to show some solidarity. There is a lot at stake here.