skysight-inc/HackerNews huggingface dataset:
This makes Boeing sound like VW - “We don’t want people to have to refill AdBlue except at oil changes”
and sound like jet engines..
Mandatory alternate perspective: Cracked on why Idiocracy would actually be a utopia.

https://www.youtube.com/watch?v=OmZOZjHjT5E
If filenames are pointing out a ton of bugs in programs that aren't sanitizing input, I'd say that's fine. If the shell is misinterpreting filenames, it's probably being way too liberal in how it allows you to construct scripts, or at the least should include a "warning" linter mode. Bash is probably the best program in the whole Unix-like environment, but it's crufty.

What I'd say needs to be fixed is the artificial limit on sizes of names and paths, and I think everything should just default to UTF8 at this point.
What site do you use?
CVE-2018-17057: yet another phar deserialization in TCPDF
That... makes it even worse? Why would someone on Earth disregard an available extra sensor for a system that has unlimited authority to bring the horizontal stabilizer to full deflection?
Except I think the migration is in the other direction, which makes it more interesting.

If you'd like to think in terms of software, it's like they had bought into the microservices trend year back, then migrated back to a monolith underneath but still left stateless microservices APIs and shims running on Docker containers spread throughout just so they can claim somewhere they still do "microservices" and feel good about themselves.
In India, South Africa, Egypt, Pakistan, Sri Lanka, and Thailand, there have been multiple instances of lynch mobs killing innocent men accused of organ harvesting or kidnapping via messages forwarded through WhatsApp. WhatsApp was used to organize religious mobs in India resulting in the deaths of dozens. WhatsApp is currently being used by the BJP in India to organize criminal campaigns of harassment against non-Hindus, cattle farmers, and even simply those who criticize or politically oppose the BJP.

After roughly a dozen men were killed in lynch mobs, Facebook was pressured into making changes to WhatsApp, including limiting how many times a message could be forwarded, and to who. Facebook also forced WhatsApp to add a unique identifier to messages so that chains could be traced to their source, so that future instigators of mob violence could be prosecuted. The WhatsApp founder disagreed with these changes and promptly began badmouthing Facebook. But almost immediately after those changes were implemented, the lynch mobs stopped.

Note that it's pretty easy to get around the unique identifier. WhatsApp is tied to a phone number, so criminal and political organizations can just buy burner sims for use with WhatsApp. But it does make a huge difference out in the countryside, where most people can barely afford a single sim card, let alone a burner to use for trolling.
Worth noting though that Figma is developed in C++ and compiled for the web, and they've stated that they're using Electron for the native apps for now, but it would certainly be thinkable and straightforward to switch to properly native apps.
> I’m going to describe your least favorite politician: Everything they say goes viral. The establishment despises them, donors can’t influence them, and the media can’t tame them.

The media can't tame them?!? It's more like they love them and are the reason they continue to exist in the first place.
Stainless steel shouldn't leech anything into your food, no matter what's inside it. (It's used to store many kind of acids, and doesn't leech anything into those. I hope your food is tamer than pure fluoridric acid, for example.)

But there is a lot of stuff labeled "stainless steel" that stains. Sometimes even before you buy it.
Nowadays you can find them on amazon too (or for example on seeed studio).
Having a MacBook Pro Late 2016, I can only dream of 4h battery life with the workload you describe. It has a bigger screen though.
I remember learning riding a bicycle in a dream. Woke up the next day and suddenly I could ride a bicycle, despite months of struggle without success. So, I guess sometimes it takes one especially lucid dream to solve an initially "unsolvable" problem.
I get why you'd think it's rude/unnecessary, but I don't think it's a generalization to say it's very unlikely that anywhere near half of the audience of a blog post like this is on Team Trump. I'm sure there are Trump supporters that read and digest this kind of content regularly, but any familiarity with the typical cultural attitudes and media consumption patterns of Trump supporters makes it obvious that that's far from the norm.
Sphero's RVR Robotics Platform
The only thing wrong with decimal from a mathematicians point of view is that an unnecessary (and unprincipled) choice of base is made. A more principled choice would be base 2, base 3 or base e. Base e makes sense because it is the most efficient base system under some metric [1]. Base 3 is the closest integer base to e and the most efficient integer base (although a more through analysis would compare base 2 and base 3 to see which one is more efficient because we can not just assume base 3 is better than base 2 because it is closer to e.) base 2 is the smallest base that really makes sense to use so that would be another option is and arguably more principled than base 10.

Most mathematicians are not concerned with which base the number system is in and are not really restricted in working in base 10. So in some sense almost all mathematicians don't really "use" decimal. In that regard, there are many possible interpretations to your question so probably many possible answers.

In other words, choosing to use base 10 instead of base 2 or 3 is like choosing to use python for your project because its easy, familiar and gets the job done rather than choosing a specialty language that would be "better" but harder to use.

[1]https://math.stackexchange.com/questions/446664/what-is-the-...
Exactly. If the new standards are so extreme that it’s uneconomical to build to, it just makes old investments more valuable and impossible to enter the market.
Novel form factors are often how laptop manufacturers distinguish themselves from their competitors. There is enough space within a desktop PC case to formalize a standard. As laptops get thinner and thinner, however, many engineering/layout tweaks are used to fit stuff within a thin chasis. Standardizing across different device models would be asking OEMs to stop putting efforts into competing with each other. And I say this as someone who has just had a catastrophic motherboard failure on their 8-months-old laptop and had to do a replacement that would've cost me a new laptop if outside warranty.
New Zealand gun sales reportedly increase after Christchurch attacks
KaaS is powered by the latest AI on modern blockchains in multi-cloud environments.. we're going to change the world.
Personal attacks are not allowed here. Would you mind reviewing https://news.ycombinator.com/newsguidelines.html and taking the spirit of this site to heart? That means respecting others, regardless of how wrong they are or of how strongly you disagree.
Show HN: Java-Crypto-Utils: Java Cryptographic, Encoding and Hash Utilities
I wish they would added a discussion on why.
Because it's an inefficient hack and native APIs could improve upon the way in which it operates to such a degree that it would no longer be called the virtual DOM?
> Half the students were allowed to go to sleep while the words were played back to them. The other half stayed awake while listening to the words. ... Researchers found that those who had listened to the words while sleeping retained much more than those who didn’t sleep.

Did they compare to a group who slept without listening to the words? I'm curious whether the playback actually had any effect or whether it was just sleeping right after learning that did it.
Face hacking doesn't necessarily have to be hi-tech. Maybe more and more people in future will dress like activists.
Mouth mask may become an important fashion piece, which is already happening in East Asian societies.
The majority of academic labs do not have the resources to offer the high salaries skilled coders demand and can easily get elsewhere.

And academic research often just needs to be “good enough” for that next paper or grant. Investing lots of time and people into code quality isn’t worthwhile unlesss your whole goal of the lab is to provide software as your output (there are a few, like the Wikipathways group). Bht for everyone else, the ROI is too low, better off working on the next grant or manuscript.
I have a theory that from now on, the candidate who wins the presidential election will be the one that generates the most advertising revenue for the media companies.
Stripe is similar, I found it so refreshing when I learned this: https://www.quora.com/What-is-the-engineering-interview-proc...
What’s it called when the thing was designed before the law, and therefore allowed to be manufactured for eternity?
Order of magnitude difference in cost, but one time I left my e-reader on a bench in Yoyogi Park when I got distracted by the baked sweet potato cart and wandered off without it.

I came back an hour later to find an old lady, having occupied my former spot, waiting a while to see if the owner returned before taking it to the nearby police box. I was all over myself apologizing and thanking her in my crappy Japanese, but she didn't get what I perceived as abnormal about the situation. She didn't even take me up on my offer of a baked sweet potato.

Another time, I accidentally sprayed 500 yen (so, roughly $5) coins all over the floor at Comiket when trying to extract change from pocket. Being Comiket, a coin rolling a few meters may as well have been a mile off due to the sheer crush of bodies. Since I was at the head of the line and didn't want to inconvenience everyone behind me, I mentally wrote them off as a loss and continued buying my hen^Wartbooks, only to have all the coins immediately returned by a guy who saw what had happened and went scrambling around for them. He, too, refused all thanks and melted back into the crowd.

So, although I can't attest to the laptop thing, it definitely wouldn't surprise me. The similar anecdotes in this thread seem to agree.
> > OOP is fraught with gotchas, misaligned incentives and lacks objectively checkable criteria

> Like, almost everything in programming these days (especially the frontend part)?

Everything has problems; that doesn't mean everything is equally problematic. My point is that we should favour practices which are unambiguous and encourage objectively good things, and that OOP isn't either of those.

W.r.t. functional programming, I wasn't trying to argue in favour of it specifically here. I write a lot of procedural code, and keep looking for opportunities to learn/apply logic programming ;)
We don't have the official word on what happened yet.
All: this thread went deep into flamewar hell. We ban accounts that post like this repeatedly, as you'll see if you look through the bowels of this thread, not that I recommend it.

If you can't remain strictly respectful in your comments here, regardless of how wrong another comment is or how strongly you feel, then please don't post.

The entire submission was off-topic to begin with. We don't want garden-variety politics, horse-race takes, or flamewar fodder on Hacker News. None of that gratifies intellectual curiosity, the purpose of the site.

https://news.ycombinator.com/newsguidelines.html
One year later:

"Arduino Welcomes Hernando Barragán as Arduino Chief Design Architect" https://www.globenewswire.com/news-release/2017/05/19/988294...
I must have surpressed those awful memories.
>The problem of using programs incorrectly cannot be solved by changing filenames

If changing filenames makes an incorrect solution work, then it solves it, in that case.

----

In this thread, you're missing the point somewhat - the problem isn't that it's _impossible_ to work with all sorts of filenames using shell, the problem is that it's a PITA to do so, even for experienced users but especially for newbies.

I.e. sure I can use `"$@"` everywhere and quote every single variable I ever use, and prefix every path with `./` or use `--` for every command that supports it. What if I didn't have to? Wouldn't that be better?
The author states:

> There are some FreeBSD machines in our infrastructure which run NGINX. After the recent announcement of the F5 purchase of NGINX we decided to move back to Lighttpd.
You’re not wrong :)
According to your newspaper analogy, message boards are more akin to public spaces (privately owned).

A privately owned space is not a public space...It's literally the opposite of a public space.

A government banning them because there can be some dissent speeches is equal to banning a pub because someone has said unpleasant things.

Nope, not even close. There's a difference between illegal acts and "unpleasant things." It's like the difference between a nuclear weapon and a starter pistol.

The best thing you can do as message board owners is flagging the specific message as being offensive. Unless it breaks specific rules/laws, where you must remove the content, of course.

No, from the perspective of a message board, the best thing you can do is not let shit like that even infiltrate your board. If people want to spread and incite hate, they're free to spend their own resources running a message board where that's okay.
Haha I think Kanye would approve
For a system with the responsibilities and impact on the safety-case that MCAS has, not even a 1oo2D design would be sufficient, since there's no clear way to determine which input is correct or incorrect if they diverge, but worse still is that MCAS doesn't seem to leverage even that basic, yet still insufficient, safety design from what I've been able to find on it.

At the end of the day the fail-safe is to throw control back to the human. And, then of course pin all the liability onto the human operator when things go wrong.

This was the problem I had with the Lion Air conclusion. Sure, it may be the case that a pilot can potentially override this system with situational awareness and training. However, the pilot didn't create this band-aid pile in the first place.
Great, let me know what you think when you finish it!
Patriarchy?! Please. In the west at least, women make the purchasing decisions in many households so unless their decisions are subconciously driven by patriarchy I think you are out on a limb with that one: 'Women drive 70-80% of all consumer purchasing, through a combination of their buying power and influence. Influence means that even when a woman isn’t paying for something herself, she is often the influence or veto vote behind someone else’s purchase.'

https://www.bloomberg.com/diversity-inclusion/blog/top-10-th...
Is used to think aerospace industry was the most safesty conscious industry because people trust manufacturers with their lives but now Boeing is selling an essential feature like sensor redundancy as a option to make extra money .
I've read that wearing masks in public is illegal in the US.

The laws that made public mask wearing illegal were from an age when the KKK used masks to hide themselves when committing violent crimes and for intimidation purposes.
People's interests being misrepresented by their allegedly representative government is not the same as no one really caring.
Wanting to make a better and cheaper jet isn't at all controversial, though the twitter thread seems to try to make it appear so.
The Internet Archive is working to preserve public Google+ posts
Where can I go to suggest new "recipes"?

I see that it starts with random numbers, but when I was learning I got tripped up a bit when trying to generate seeded randoms.
The value that pops out of the color picker shouldn't be a mystery to you.
> But that does not solve the problem at all.

I never claimed it did. I'm commenting on the many Bourne shell examples in the article, which seem to use many common incorrect solutions, while ignoring the method that was added to the shell specifically to fix argument[1] handling,

> Displaying a file name may cause terminal escapes to suddenly be executed

I'm not addressing program output, because program output always has that type of problem. You can also have the same problem when you display the contents of a file or user input. This gets even harder to solve when Unicode is involved, regardless of encoding, and regardless of source. Again, if you aren't validating and sanitizing your input, you have bigger (probably security related) problems that cannot be solved by changing how the OS handles filenames.

> Indeed I specifically showed many cases even in Shell where using "$@" does not help

Where? The only @ in the document that I can find is an example using arrays, which is different than the specific string "$@" (those 4 chars only) that is defined as copying the current args (skips word-splitting). From bash(1):

>> @ Expands to the positional parameters, starting from one. When the expansion occurs within double quotes, each parameter expands to a separate word. That is, "$@" is equivalent to "$1" "$2" ...

[1] The problem of in-band whitespace/etc isn't just a filename issue! Changing how the OS handles filenames doesn't fix non-filename arguments. Again, you're only looking at once small set of problems!

edit: typos
A rack but that has two power feeds in standardized position for each rack unit. When you slide in the server in the rack, you provide power. It would slide in the power connector provided by the rack. More specifically I mean that the server would get automatically connected to IEC 320 C13 female provided by the rack. The modifications to a standard server would be too standardize the position of two 230V/110V power feeds.

Alternatively, connect the server to a 48DC bus when its racked in providing +48 volt direct current and ground which can be through the server chassis.

Network connectivity should be provided in two standardized positions as well.
Yeah, I opted not to renew my subscription when they were sold, and the direction they've gone since the acquisition has led me to believe that was the right move.
I have them here:

https://github.com/cloudflare/zlib.git

https://github.com/rurban/crcutil.git
The readme for this project specifies the user agent of the client as Picotorrent/x.y.z, which makes me think that most private trackers would block it.
It would cost some number of $B and years to get different type rating.

If you want to call that "forcing" is a matter of taste, but it's certainly a very strong and involuntary incentive.
It's sad we have to hide from our 'elected' western government.
> The default separator should have been '\0' to begin with

Then either you put a '\0' key on the keyboard, or you can't pass more than one file to a program. Neither of which seems great.

(The decision that shell language and interactive shell are the same is the great and terrible choice of UNIX; it gives the user the REPL quality that it's really easy to build up programs from simple cases on the command line, but it also caused optimisation for typing the minimum of characters)
They had a different color box for each version. Suse actually would mail you multiple boxes for free at one point!
Excellent. I guess I ought to use this post to plug the Command Riker as a Service (CRaaS?) which I put together a while back, which operates in a similar vein.

http://www.bencollier.info/fun/programming/python/2016/01/09...

I suppose someone should put together a directory of these things at some point. Give it twenty years and we'll have a full universe of personality imprints (a la the McCoy Pauley) talking to each other over REST.
We've banned this account for doing political and nationalistic flamewar on HN and ignoring our repeated requests to stop.

If you don't want to be banned, you're welcome to email hn@ycombinator.com and give us reason to believe that you'll follow the rules in the future.

https://news.ycombinator.com/newsguidelines.html
Android antivirus apps don't work properly
That's inaccurate at best. The shell size is mostly unchanged. The powder inside, the materials and the manufacturing have progressed.

Just looking at the diagrams in that page, I doubt that measurements were defined with a 0.001 inch accuracy in 1921.
They decided to call it "pico torrent" even tho the client is several times larger than uTorrent?
I get where you're coming from, but if I were in your shoes I'd probably cancel. If you were giving money in order to support writing that met a certain metric, and that metric is no longer met, there's no reason to continue supporting in the hopes that it will come back. It can happen, but time and time again it doesn't, especially if the payment system doesn't come with a way to make your feedback heard.
Yes, the IBM System/360's instruction set is still a part of IBM's current mainframes, so customers can still run their 1964 programs. (Does anyone know when IBM dropped backwards compatibility for their 1950s architectures? They provided emulation for 1401 and 709 systems for a long, long time.) It will be interesting to see if the 360 or x86 instruction set lasts longer.
> Then either you put a '\0' key on the keyboard, or you can't pass more than one file to a program.

Or you have ctrl+space insert '\0', or have space insert '\0' and ctrl+space insert ' '.

It might also help if '\0' had its own printable symbol.
Seconded. I had an X1C2 and am currently on an X1C5. Everything works out of the box on linux and the performance is crazy for something so thin & light (2.8lbs).
The fact that Boeing is working on a software fix doesn't contradict the thread. It's explicitly mentioned in the thread.

https://mobile.twitter.com/trevorsumner/status/1106934422249...

> Nowhere in here is there a software problem. The computers & software performed their jobs according to spec without error. The specification was just shitty. Now the quickest way for Boeing to solve this mess is to call up the software guys to come up with another band-aid.

(some related follow up tweets)

> I'm a software engineer, and we're sometimes called on to fix the deficiencies of mechanical or aero or electrical engineering, because the metal has already been cut or the molds have already been made or the chip has already been fabed, and so that problem can't be solved.

> But the software can always be pushed to the update server or reflashed. When the software band-aid comes off in a 500mph wind, it's tempting to just blame the band-aid.

> Follow @davekammeyer if you want to dig in.
"Don't HATEOAS the player. HATEOAS the game."

- Kanye dot REST
In case anyone's worried about Figma not getting any love, they pulled in $40m from Sequoia last month.[0]

[0] https://www.figma.com/blog/figma-series-c/
Wow... thanks for the link. The details are highly troubling. They assessed the safety of the MCAS based on a statement saying it had max. authority of 0.6º, being thus permissible to rely on a single sensor for this system. But in fact it had an initial authority of 2.5º, which is already pretty high by itself, and then that authority increased after each activation until full stabilizer deflection. That they implemented such a high authority system without triple sensor redundancy and without briefing the pilots is just insane.
Personal attacks and political flamewar will get you banned here. Please do not post like this to HN.

https://news.ycombinator.com/newsguidelines.html
Sorry for the confusion, I made a typo, I meant to say mouth mask. https://qz.com/299003/a-quick-history-of-why-asians-wear-sur...