skysight-inc/HackerNews huggingface dataset:
Airbus does it too. They have several control laws that are used to provide flight envelope protection. It was the pilot's failure to understand his plane's software that caused AF447 to crash. Essentially he didn't realize that the flight control software had changed modes, that it wasn't providing the normal handling augmentations, and that his inputs were putting the aircraft into a stall, which caused the crash.

See:
https://en.wikipedia.org/wiki/Air_France_Flight_447

https://aviation.stackexchange.com/questions/62338/why-did-a...
I also feel like many programmers enjoy making interview questions as tricky as they can and finding every possible reason to reject other programmers they’re interviewing in order to appear superior in abilities. How can it be that every company complains they cannot hire engineers fast enough, pay 10s of thousands to outsourced recruiters and recruitment services, and yet there are many engineers, not short of decent ones, having to go through at least 5-7 interviews in order to land one offer.
Is boeing really the only producer of aeroplanes?

My guess is there are others. My guess is that orders will be cancelled and there'll be a shift towards airbus (oh!there's one!)

I'm tempted to apply my first ever downvote to this apparently witless comment, but perhaps you meant something more subtle?
I'm no expert in the field, but it's my understanding that those features are why modern devices allow people to hear in noisy environments. Feedback reduction especially, which is not easy to deal with (tl;dr, the mic/speaker are mechanically coupled, with a poor seal and loud enough environment you get feedback and the DSP has to compensate).

And in terms of battery life, I don't know. I do know that most battery powered audio devices with DSP throw floating point math out the window from the get-go, and I haven't seen a job opening for DSP in hearing aids that didn't mention fixed point math in awhile. I don't know of any processors that fit the bill there however, those things usually have a proprietary IDE/debugger/flasher you need to pay for.
Don’t know what’s going on with their certification process here but probabilistic reasoning is very common, and very reasonable, eg in cryptography.
Former "communist" countries were not equal. There was corruption, and a pretty large split between normal people and the higher ups in the party. There was lack of basic supplies.
Perhaps virtue is the biggest problem in the world today.
Prolog is not functional. Datalog literals [1] and arguments of literals cannot have as arguments functions of arity more than 1 (i.e. constants). Prolog literals and their arguments may have functions of arity more than 1 as arguments.

However, Prolog predicates are relations, not functions. i.e. they have no fixed "input" and "output" arguments. So Prolog is not a functional language.

______________________

[1] In "p(X):- q(X)", p(X) and q(X) are literals.
That is the most succinct well thought out reasoning on this phenomenon I have ever read. I wish there was a way to stop this rather than have "rich people should share", because that just seems really unlikely :<
Show HN: A Blog Generator
I have that beat, as I once made Google perform a 30-second query. I know exactly how I did it, too. I wasn't sure whether or not it would find it...

So how does Google do a query? Well fundamentally it has lists of sites that have a keyword, so it gets the list for each of your keywords, then finds the intersection of those lists, then sorts it by the pagerank of the resulting URL's. That's how it used to work anyway.

So back in the day I decided to try to do a test. I got the Gutenberg list of all of Shakespeare's words, and I wrote a program to go through it to find the longest string of all "stop" words (which you could still force Google to include - normally it ignores them, since there are just too many sites that include words like "the" and so on). Stop words are super common words like "the" which would be on millions or billions of pages. A huge list of URL's.

So I coded up my little algorithm that goes word by word through the text, keeping track of what the longest string it found so far is, that consisted entirely of stop words.

The longest string it found was: "from what it is to a".

Just now I again did that query, and on the whole Internet it just found 4 matches (soon it will find this comment too and any archives of this comment), all being the exact phrase from Shakespeare:

https://imgur.com/a/lvU1QSs

Impressively, that query now takes 0.84 seconds (I haven't done that query in several years, it's possibly cached but I doubt it.)

However, when I first performed it, it took 30+ seconds. I didn't take a screenshot but I was super impressed. I brought Google to a crawl for 30 seconds, in the exact way I was intending. Moohahahahaha.

"Holy cow. I just made Google's databases join six lists each with millions of pages on them, find the intersection, and then go through all of them for which ones had my phrase in literal order. And then it found it."

Pretty mind-blowing that today it can do that in < 1 second.
> There's often a lifetime of work behind the development of that skill.

This is literally true of every senior job role.

It seems like it's mostly software engineers that don't get this.
I think Go could be fundamentally improved if it somehow offered a REPL.
People like to bring up the instability of high performance jets, but I'd like to point out that they generally have ejection seats and don't carry passengers.
They seemed to have abandoned the technical user fanbase around 2012 and are now just openly hostile towards them.

Especially on mobile, making it challenging to edit URLs on their latest chrome browser. UX consistency has gone out the window for weird things like like swapping around the tab ordering for searches (check out chicago, chicagos and chicago's here: https://pbs.twimg.com/media/Cm0C1o8VYAgLv2O?format=png)

Other things like not providing custom date ranges on mobile search are just utterly baffling. Booleans are gone, ranges are gone, and it ignores most of the words I put in. I honestly think alta vista results circa 1997 were better than what I'm getting these days. In fact, they most certainly were.

They've also abandoned their namesake "googol" ... they don't seem to care about http, newsgroups or many other things. They should probably rename themselves to "Around300orso"

Google ceased providing functional tools for technical people a while ago. There's some decent open space for another firm to come along (like DDG or perhaps the Microsoft Renaissance) and just snatch the technical user, create compelling products for just that, and own it.

I'd even pay probably $250/yr or so for such a no-bullshit resource stack - a high quality searchable answers-oriented quick-to-use, quick-to-read technical reference without a bunch of wrong information or concrete answers buried in pages of theory. Heck, I'd probably consider dropping $2,000, that sounds amazing.
I’ve been playing with some ideas of applying Datalog to RDF graphs; there’s a very rough and ready implementation at https://github.com/alexchamberlain/mutant. This isn’t a new idea; Apache’s Marmotta is very similar.

I think we’ve really missed a trick with declarative programming beyond the database. I find it much easier to think about simple rules, and I think it would be easier to share these rules with less technical business partners too.
Right. But it's odd to read about photons interacting with "free" electrons in metals. Pushing or pulling them. I would expect that changes is electrical potential are somehow mediated through the atoms.
I don't hate them. What I hate is getting filtered out by HR people with no comprehension of the CS field. Rejecting me on sight for a Java position when I have 5+ years of C# experience is just silly.
Have you got a link to that? Is it this one https://podcasts.apple.com/gb/podcast/future-of-coding/id126...?
Many European countries have all those things and the birthrate is still falling.
Thank you, this is a very good summary of the issue. Only a small comment to 4: it was the Ethiopian Air flight, where they disabled MCAS but did not manage to regain control, mostly due to their air speed being too high. Lion Air had 2 MCAS incidents, the first on the day before the crash, where the pilots disabled electric trim control and continued the flight without an incident and the second, where they did not disable MCAS at all, leading to the crash.

Interestingly, Airbus as a consequence of the events reviewed their flight software and also found an issue they are quickly correcting, but it seems that no planes are grounded as a consequence.
"I" "miss" "the" "times" "when" "I" "didn't" "have" "to" "type" "like" "this".
For a good RPC abstraction, I think a key requirement is to easily and safely change the deployment separation between modules that use the abstraction – deployment separations being: in-proc, inter-process-communication and remote-procedure-call.

That is,

1. deploy the modules within the same process then the method invocation is most efficient;

2. deploy the module across separate OS processes on the same machine then the method invocation is via the best available OS IPC mechanism;

3. deploy the module across separate machines then the method invocation is over network with most efficient remote procedure call implementation.

A long time ago I worked on a project that used Corba (with ACE TAO) that had facilities like this and it made development, testing environments vs various production environment permutations a lot easier to build for and manage over multiple product lifecycles. Now-a-days, these Microservices frameworks are missing these (basic) features and it overly complicates the deployment scenarios.

Rather than hand-rolling 300 line custom RPC mechanisms like this one, I would rather prefer a more complete one that did solve the above problems.
Google is famous for raising the bar on speed and yeah, their performance is usually impeccable. That’s why the existence of a consistently slow Google search is newsworthy.
I had the theory that maybe they are trying to filter it out to frustrate searches for vulnerable CMS
Uses for Toothpaste You Didn’t Know Before
I am an amateur computer historian, and I can confirm it went from good to shit. For instance, I run an archive at ps-2.kev009.com and there is an oldskool cgi search on my site (Xapian Omega). If you search IBM P/Ns or FRUs on G, versus on my site (for stuff my archive covers), you can see it first hand. My search is exhaustive and it is readily apparent G is not. I don't recall that always being the case, G started to penalize old content, http content, and all kinds of other stuff to the point of oblivion.

This makes me sad, because I will often have very exact queries like a part number and there is content out there on the internet that I cannot locate with search.
For those like me who are unfamiliar with Relaxed Radix Balanced trees, here's the paper presenting the algorithm:

RRB-Trees: Efficient Immutable Vectors (2012)

https://infoscience.epfl.ch/record/169879/files/RMTrees.pdf

EDIT: For further reading:

Improving RRB-Tree Performance through Transience (2014)

https://hypirion.com/thesis.pdf

Article: https://hypirion.com/musings/thesis

Code: https://github.com/hyPiRion/c-rrb
try parsing a tcp/udp header encoded in json vs as it ‘normally’ is. see if you can do it at line rate :o)
Actually this is a well known change to significant term relevancy. You need to double quote words to force inclusion in results. I'm not saying it was a good change.
What if I told you coding tests were to get the developer to talk through a problem and see how they go about it, rather than actually see them finish it?
Since a lot of pages contain these exact words (WordPress, github.io, etc.), maybe it's actually the sorting of the result that takes time?
"The fault occurs when bits inside the microprocessor are randomly flipped from 0 to 1 or vice versa. This is a known phenomenon that can happen due to cosmic rays striking the circuitry."

This is called Single Event Upset. For all those of you that aren't in the industry, essentially the problem is that any bit inside the flight computer (RAM, cache, NVM, registers - ANY bit) can change state randomly at ANY time. It's rare, but when you get into millions of flight hours, it WILL happen. The software and hardware have to be designed to mitigate problems caused by this behavior.
But it crashed 2 times for the same reason. Take away that reason and you have a completely different situation to estimate its reliability.
JRuby does not have a GIL.
Apple Is Planning to Release a 5G MacBook in 2020
It's a futile quest to find the perfect programming language. Any language that gains popularity will face a vocal demand for new features at some point. But it's not just about adding new concepts. Programmers also want new shortcuts for existing features to save them a few keystrokes. That then entails issuing recommendations on when to use such shortcuts to keep code consistent.

There are plenty of small languages, but they lack popularity or rich libraries. The only language I can think of that remains in widespread use and is fairly small in language size is C.

I'm strongly in the camp that small languages are preferable to large ones and wish language designers would follow this principle more closely. But small does not necessarily mean more readable. And language syntax design remains a neglected aspect of programming language design.
It’s on-topic for my other tweet:
https://twitter.com/liron/status/1137729277359734786
ICE’s Rapid DNA Testing on Migrants at the Border Is yet More Family Separation
No, in normal flight regimes, MCAS is not required. For example, it is disabled at any time, the flaps are extended, that is during starts and landings. It is only required (by law) at high angle of attacks. In these kind of flight regimes, most other airplanes also have systems to ensure their "stability". The 737 MAX isn't fundamentally more unstable than competitor airplanes with large engines.
And I explicitly mentioned that I can't charge at home and regularly travel over 500km. Also I can't expect there to be a charger at my destination. It was an answer to the blatantly phrased "i don't understand" of GP

Fueling stations don't have to offer this service. At least in Germany I had never had to wait more than 5minutes for a spot with over 50.000km on the road so far. And if a station seemed utterly full, the next one is less than 10km away. However, friends with a Tesla have complained over fully occupied charging spots during long distance travel. So your 30min bio break can need another 30min of waiting. 30min of charging vs 5min of filling up gas, still needs 6 times more capacity to support the same number of vehicles. Also a 30min breaks invites you to leave the vehicle and go for food/whatever, causing you to occupy the charging spot longer than needed.

Don't neglect that these Tesla Supercharger 3 stations are also expensive to build.

Don't get me wrong, I do want to switch to an EV, even just because of the nicer driving experience, but there are legitimate downsides to it (currently). Talking those away with optimism is nothing but marketing talk.
I never said I wanted software engineering to be fun. I have worked on 4 different teams that followed Scrum and all four of those teams suffered from the same problems - low productivity and poor management. The most entertaining was a recent place I worked where we had a certified Scrum master who had been "trained" by one of the two founders of Scrum, when I joined I told him about some of the bad experiences I've had with Scrum and he said "yeah that annoys me, those teams are not really following scrum and so teams think that scrum is bad but really they are not doing it right". Of course in the months to come I realised that we ended up with the same exact issues I saw in previous teams. In contrast theses problems were just non-existent in teams that did not follow a set methodology.

Scrum is just not a good way to manage a team. I find Scrum to be a lot like religion - it means different things to different people but its evangelists always have a pre-prepared answer to every possible criticism, usually containing lots of jargon, buzzwords and double speak.
Even C is full of features if you compare C11 with K&R C, and C20 is already ongoing.

And if we consider the amount of compiler specific C extensions, across all C implementations, it gets even bigger.
In Python we sometimes differentiate the different meanings like "whatever", "default" or "not set yet" by defining a singleton object and comparing by identity, because None would be acceptable value and we need to differentiate the meaning. Examples:

https://github.com/marshmallow-code/marshmallow/blob/c1506cc...

https://github.com/python-attrs/attrs/blob/eda9f2de6f7026039...
In Ecuador, Political Actors Must Step Away from Ola Bini’s Case
> German Energiewende stared circa 2010

If you mean 'started', then the Energiewende started around 2000 in Germany.

Whether the CO2 reduction are stalling for a few years is relatively unimportant for a project which has a horizon of 50 years.

CO2 reductions in Germany in 2017 were 0.5%. In 2018 around 4.5%...

2019 looks good so far. For electricity production the first half of 2019 has seen a CO2 reduction of 15% compared to the first half of 2018.
Also off topic. Google seems to favour "essays" over news, and most times you need to read the history of man kind before you get to relevant content in a news piece. Also it has no means to detect clickbait which is seriously problematic.
Yea, I was thinking along the same lines. You’ll often see publicly disclosed vulns include google dorks to find vulnerable sites, ex: a google dork to find forums running a vulnerable version of phpbb or something
But what if the real reason isn't what Boeing tells us it is and it's completely different?
Build unstable airframes? Not outside of forward canard jet fighters.

And that pilot crashed a perfectly fine airliner after he lost situational awareness and then did the one thing you should never do - pull the steering column back in a mad panic until the plane stalls.
The rest of the world has the power to force Brazil to save the Amazon. Stop importing soy and beef from Brazil, tie tariffs directly to satellite-based measurements of rainforest area.
> And since Wirth does not feel it is time to actually retire, he has updated the backend to target RISC V as well.

Are you confusing RISC-V with RISC5 [1]?

[1] https://en.wikipedia.org/wiki/RISC5
Don't forget about the massive amnesia Google has - try searching for anything over a few years old.

And gods help you if you are looking for something both old and by keyword, because Google sure won't.

Unfortunately, DDG has a lot of the same issues - which is a shame, as if they just used Google's algorithm of a decade ago I'd switch in a heartbeat.
> The 737 airframe is actually relatively stable compared to many other things that fly

Nice strawman. We are talking about the MAX not the 737 in general.

Why don't you explain why previous variants of the 737 didn't require MCAS?
Airbus jets carry passengers and have been fly-by-wire for decades. Cables and hydraulics have been replaced with software and computers. Like it or not, the software and hardware that make up the flight computer are an integral part of the airframe on most newly produced passenger jets, regardless of who makes them.
By what measure has extremism failed to take root in Europe?

https://en.wikipedia.org/wiki/Charlie_Hebdo_shooting
https://en.wikipedia.org/wiki/November_2015_Paris_attacks
https://en.wikipedia.org/wiki/2016_Berlin_truck_attack
https://en.wikipedia.org/wiki/Manchester_Arena_bombing
https://en.wikipedia.org/wiki/2017_Stockholm_truck_attack
https://en.wikipedia.org/wiki/2018_Strasbourg_attack

If you meant nativist extremism, I suspect multi-party democracies allow something of a safety valve. AfD and Brexit Party voters can still feel like they’re being heard while identifying as less extreme than NDP or BNP. In the American two-party system, one side is always painting the other as their most extreme example with no credible third parties for contrast, and indeed extremists do sometimes rise to prominence from within either party.
Orders can't just be shifted to Airbus, as their production lines are fully loaded for years to come. Also, there is little desire to make Airbus a monopolist. The problem basically started when Boing was merged with McDonell Douglas, as this created the duopoly which now has the market trapped. And of course it creates a huge amount of problems for all the airlines which ordered and planned for new planes which have the same certificatation as their existing 737.
The Bank of Lithuania Created Blockchain Platform for FinTech Startups – LBChain
Yes, Google also has a better index and more experience in building a search engine. I'm just arguing why DDG cannot be as good as Google, when you expect personalized results. E.g. when you are a programmer and get results for Swift the programming language rather than the pop star.
Thanks ericb, will surely have a look at it.
I like coding tests. They give me an opportunity to differentiate myself.
Show HN: Silk – Simpler Custom Electronics
Hi psawaya,

thanks for explaining yourself. I found your post, shocking to say the least, not because the dismiss against 10x productive introvert specialists does exist, but because your are posting that on the hacker news which is a forum born precisely in an environment of hacker culture and high tech cult which values and pursues the technical competitive advantages since its foundation (read Paul Graham's post as witness of how was it).

Such introverts are treasured in many companies, at IBM they used to call them "wild ducks" and managers were extra flexible with them, and the difficulties they face, especially since they could easily beat the averages, see things from perspectives ordinary people don't and easily outperform teams of well rounded bureaucrats for several reasons (even if it just for breaking protocols). And these people were the foundation of many large IT adventures, which ended up overcoming their communication issues after longer life experience than average people.

I hope it is not necessary to say that a "wild duck" only company would probably also be flawed, but banning people based on a stereotype was a bit too much, don't you think? Now you seem to have changed your mind... in any case if there was a judging because of a stereotype that will take longer to be corrected.

Good luck with your startup.
Ta for the NN stuff.

I have come across differentiation of ADTs and very strange it is too. I can't understand how it works, it's so weird. I'll try to follow your links. Thanks!
In recent benchmarks I ran for a project, the performance of MessagePack blew JSON out the water. Obviously, it may differ in your case, but generally, MessagePack is designed to be machine readable and easy to parse, so performance with generally be better. Message sizes are generally better too.
1. How many people do there need to be in a room so the there is a greater than 50% chance of at least two of them sharing the same birthday?

2. How many numbers we have to draw from 365 so the there is a greater than 50% chance of at least two of them are the same?

3. How many numbers we have to draw from X so the there is a greater than Y% chance of at least Z of them are the same?

I think X,Y,Z are enough parameters:

Drawing from X=1000 numbers, what is the chance Y that Z=(5,6,7,8...) is the same?

Sorry, I'm not a matematician, just some breakfast ideas ;)

Edit: Inspired by http://datagenetics.com/blog/february72019/index.html
For Europe, most of the civilian killings are indeed done by extremists. But we are not allowed to aknowledge or talk about that part, so the extremists of the "other side" start to grow.