skysight-inc/HackerNews huggingface dataset:
Well, with respect to your airline scenario - most companies would design along with those industry specifications in mind from the outset.

Even without doing so, considerable reverse engineering can still be achieved. The case of the De Havilland Comet comes to mind - they had to basically redesign the entire fuselage construction from the ground up once they realised the single layer pressure cell was a major design flaw.
Another case in the land of per client validation handled differently and mostly incorrectly.
We do know (from press reports) that the President has been getting China to cooperate on trade with NK. Are those reports correct, and has China not cheated? I don't know, but if you recall when Chinese and NK oil tankers were caught doing oil transfers on the high seas, you might agree that the U.S. administration is probably keeping good tabs on that. Evidently they (China, DPRK) must be taking Trump seriously. How seriously is yet to be seen -- there is not yet a deal, and we'll have to see, for perhaps they are still trying to play the U.S., and the Administration might fall for whatever Xi and Kim have in mind.

Starving NK can definitely be arranged. First you make sure they cannot trade, then you wait for things to get bad. The NK economy will not thrive and almost certainly will go south. As to how much starvation is needed for regime change, I don't know, but unlike Clinton and Bush, Trump can be believed that he'll not buckle, and that he'll provide no food aid.
Depends on how efficient the engine is. If you're riding a nuclear rocket, you don't need that much fuel.
Show HN: PilotMailer – Quickest way to test your HTML Email before sending
This isn't super surprising to me. String comparisons are super slow if not handle with care, and even then may be surprisingly slow. This does a LOT of string comparisons.

Depending on the requirements, sliding a window through doing byte comparisons may be better. https://golang.org/src/bytes/bytes_decl.go?s=522:550#L7

EDIT: I believe paper trail does or did have a limitation on case sensitive searching. You can imagine why they may be doing this if you consider the performance implications.
I wonder how long a simple grep over a 200MB file takes on linux. I guess if you put the 200MB file on a ramdisk then you could easily do it from memory.

That would be my first and dirty approach.
What you are describing was their hope for the future business model, but it never materialized for a variety of reasons. The biggest being they were trying to brute force their way into making themselves a middleman in an industry without generating any value in that industry. All the extra value that theaters saw was not created by increased demand from consumers, it was simply paid for by MoviePass's investors. Like you said, the theaters are just betting they can wait that out. Maybe MoviePass thought it could be a middleman similar to Netflix or Spotify, but neither of those companies had to pay full retail cost for everything a customer watched/listened to.
I think it’s very likely that something with MSG on the label often includes things like anti-caking agents or nitrates that may actually be the culprit. I kept a food diary for a year and the common headache trigger seemed to be “MSG”. Changing my diet to avoid it eliminated the headaches. So it really doesn’t matter to me if someone on the internet says it can’t be MSG. The practical result in my case was close enough. I have sympathy for anyone that suffers from migraines.
Pursuing someone's personal details or history and bringing them into HN threads as ammunition isn't allowed here, regardless of how wrong someone is. Whatever edge you gain in an argument is wiped out by the damage you do to the community by attacking someone this way. Please don't do it, and especially please don't do it in a bunch of different posts, as you did in this case.
It's not a lie. You're just distorting the idiom.
4 engine aircraft are technically more safe than 2 engine aircraft. Boeing and Airbus have just gotten so good at engineering safe 2 engine aircraft that companies can run them over oceans without too much trouble.

https://www.youtube.com/watch?v=HSxSgbNQi-g
Of all the ways that machines can and will misinterpret information on the internet, stories labeled "RETRACTED" are the least concerning.
Incredible! Will you post a code snippet?
we use elasticsearch and it is pretty fast
Visa/MC/AMEX make a MASSIVE amount of money on Fraud - it's in their interest to perpetuate it. I've experienced this myself with > 6 figures in CC fraud in a month. Here is the financial break down:

Every time a customer gets a charge due to Fraud, they file a chargeback. If we are able to contest it, all is well, other wise they hit you with a $25-$35 fee PLUS the charge is reversed so depending on margins you are out you're costs on the transaction as well.

If the # of fraud transactions gets bad enough (even if you are working with them diligently to get things under control) and not able to stop it, they will charge you a chargeback penalty fee.

This essentially says you are high risk and so now give us 50,000 or 100,000 dollars or you can't accept credit cards AND you have X days to resolve this and get you're charge back rate to a reasonable level or we will hit you with another charge bigger charge in 30/60/90 days or whatever the risk management department wants.

They may also come back and say now we've told your processor (stripe, braintree, etc) that THEY need to charge you more because we are charging them more to deal with you. So instead of 2.5% of each transaction they are getting 3% for example.

It all adds up to billions across the world economy, it costs them only to deal with it administratively and they are collecting many many times that in fees from the merchants. It is very much a scam and the average customer doesn't realize the massive hit companies can take for the convenience of Credit Cards.
I didn't understand how pop and push worked.

I thought each register, i.e. BC or DE, had its own stack. I couldn't understand why some programs crashed. Very frustrating when you had to reload everything from tape again, and again, and again...
I'm pretty sure my domestic package to Newfoundland ended up in your country, and then back.

My buyer reports it isn't the first time that's happened to him.
Does not matter. Will poor people be way better off with $1 per test ? They surely will.

Don't just think in terms of existing tests being cheaper, significantly lower price mean people might to do often, there might be automated testing machines installed everywhere which might detect many diseases way quicker and in early stage saving thousands of lives and much better medical research.
I once wrote a scanner similar to this for Symantec in C++. As I recall it used a hybrid between the Wu-Manber and Boyer-Moore search algorithms to search a million lines of text for thousands of signatures simultaneously in approx 0.004s as I recall.
Tell me more about the Hessian soldiers you were talking about.
On the other hand: "take note that I have only proven this code correct, not tested it." Code review is performed in the understanding that its results are basically heuristic. Everyone knows that actual behavior trumps anything you get from just looking at something.
A EU ruling could say that doing business with googles ad serving platform was against EU law, which would probably reduce ad buyers in EU by at least 50% (probably a lot more).

If you think that you can run a global business and skirt the laws of the second largest economy and still make a legitimate profit within that economy... Well, then you need to think again.

On the other hand, if google thinks that they can do without the EU market they are free to block all EU citizens from both their services and their ad serving platforms.
There's no chance that you (nor I) will ever have as much serious effect on the world as RMS.
Create an API so you can check them all with one request
The UDOO X86 https://www.udoo.org/udoo-x86/ is a single-board computer with an Atom/Celeron/Pentium and Arduino-compatible headers.

(On the minus side, though, the Arduino-layout headers are connected to an Intel Curie, which at this point is now orphaned. The Curie is attached to the main CPU via USB.)
How could such an account have been created?
I don't think the lines you refer to would be considered a good poem. It's a poor imitation.

Cann't right now think of anything I know by a proper poet in English, but consider for example Leonard Cohen's

The Maestro says it's Mozart

But it sounds like bubble gum

When you're waiting

For the miracle, for the miracle to come

How much did he tell you in just those 4 lines? More importantly, have ever noticed the particular phenomenon
described here? Now you have it in words, and you'll be able to notice it next time. I don't mean you specifically here, but just to convey the point.

That's poetry to me, not so much about "emotion", just noticing and expressing somewhat subtle facets of life.
Because at the time this was written this was not a particularly new or subtle insight, that wasn't "true" poetry. Still a good song though.
I feel sorry for those victims
Note that the results of computations performed over FHE ciphertexts are encrypted, so you won't get much benefit out of a "FHE lawyer" without having the secret key to decrypt its results.
Requiring customers to go out of their way to ensure they're not abusing their service is terrible customer service and will drive people away.

It is absolutely a bad business model.
Last time the EU tried banning pesticides it did nothing to help with bee populations. These regulators have no clue what they're doing.

https://geneticliteracyproject.org/2015/01/27/pests-invade-e...
A single frame of Quake is 800x600=1mb of memory, and quake ran at 30fps on a pentium-233 in software. That's 30mb per second circa 1995. So your times all seem extremely slow to me. You should be getting a couple orders of magnitude better speeds. Try it in rust!
Remote is a management skill and an effective hiring advantage. 43% of American employees reported in 2017 working remote at least part of the time, and 31% of those are 80-100% remote, up from 24% in 2012.

The world has changed and I don't think we're going back.
Collapse and Earthquake Swarm After North Korea's 3 September 2017 Nuclear Test
The answerer can choose not to engage and move on. That's where the difference is. The answerer is choosing to use language that is unwelcoming. The questioner does not know they are doing anything wrong.

I'm not suggesting the fix is to simply be nicer. There needs to be better incentives and tools to manage poor quality questions.
Were you dropped on your head as a child?
Several of those refer to redistribution of wealth. A Georgian LVT applies to high-cost, high-employment metropolises which have underprovisioned housing and exacerbated sprawl, but not really to low-cost, underperforming failed cities such as Detroit or Pittsburg.

Clarifying my question: how do you propose to create economic opportunities where housing is cheap but prospects are few, particularly as economic activity seems to want to concentrate.
The Ruby implementation looks wrong. He's shoving the file into an array:

contents = contents.read.each_byte.to_a

When really he should be streaming each byte from the file. I suppose he should do that for all of the implementations (or just use grep & cat?), but Ruby objects are annoyingly expensive since there's so much bloat.
I'm not saying that at all. I'm saying we should be careful to consider the trade-offs. There's a lot of hysteria around "chemicals" in the world, and blanket bans are the result.

Similar hysteria has killed maybe the best hope we have for carbon-free baseline power load (nuclear power) because people were afraid of radiation. Coal power plants kill more people per year than all nuclear accidents to date ever will (http://reason.com/blog/2016/04/26/more-deaths-from-coal-poll...).

We shouldn't do anything as a knee-jerk reaction against things that look bad because there are charismatic harms (bees maybe dying), without considering the larger problems (humans having more expensive food, or in the case of DDT, dying of diseases).
It's a direct quote from the audio at 21m20s.

Researching just now, there's some questiion on that statistic, though the point remains that there are a tremendous number of minor children affected by homelessness, unlikely to fall under the scope of either addiction or mental illness as fiter was addressing, above.

Not that either gives cause to kick anyone to the curb.

https://cityroom.blogs.nytimes.com/2008/06/25/to-be-young-li...
A four engine aircraft has four times the probability of an engine failure as a single engine aircraft. Of course it still has three engines left if that happens
It's interesting how this relates to the "right to be forgotten." Some interpret that to mean that the content will still exist, but will not be indexed by search engines.

If so, then we are evolving into two Nets, the searchable one and the - what? - one you have to follow links into? Links with grave warnings on them?

I'm not sure this is entirely bad but it's weird. Will we also have pirate offshore search engines that ignore robots.txt and refuse to deindex?

Also see: the internet archive of things they aren't allowed to show because of robots.txt
Ok, so what you actually meant to say was "the Seattle housing market is totally responsive to supply and demand, but we are consciously limiting supply". Since we both agree that 10x the current number of houses would bring prices down, then there's a far more useful investigation to be done into what the lowest number of houses that needs to be built in order to reduce prices. That discussion is the one that needs to be actually had in order for policies like HALA to come from an informed and rational plan. Claiming "nothing will ever lower prices!!!!!1" is the opposite of that discussion.

edit: wait, you're not even the poster I responded to. What the hell?
Look at the links on the page; this, for example, provides a schematic among other things:

http://tech.mattmillman.com/projects/8od/hardware/
Have we collectively forgotten about this mess already?

https://www.reuters.com/article/us-california-lawsuit-coffee...
Yeah, from the outside, it seems like they take remote seriously and do it very effectively: https://zapier.com/jobs/

Glassdoor seems to agree: https://www.glassdoor.com/Reviews/Zapier-Reviews-E1196705.ht...

Note: I have zero affiliation with Zapier, other than being a satisfied customer. Just happened to run across their hiring page today and was impressed.
Found this while looking for good embeddable languages and it looks almost too good to be true: fast, relatively modern, secure, potentially concurrent, lightweight, ... seems like it's got everything but a pony.
I don't know why but I kind of expected with all the hubbub from Europeans about how chips rule they would have some sort of anti-tampering / tamper-evident features to them... Next thing you're going to tell me you can extract the private key from one without much effort...?
They are flask components cause they work well with flask and work bad with django.

Parts that I mentioned are (or were when I compared) light years ahead (especially sqlalchemy).
Intel Delays Mass Production of 10nm CPUs to 2019
If a newspaper makes a mistake, they have an enormous degree of flexibility to paint their reporting in less negative light if they can just summarize what happened. Like, would you be satisfied if they just wrote "This story has been retracted"? Or what about "This story has been retracted because we didn't interview the person maligned"? The best way to ensure that readers can understand all the mistakes that happened, and thereby update their opinion of the newspaper/journalist, is if they can see exactly what was said.
Not really, that's damn near impossible. There's almost no way to prove an exhaustive negative, and to get close is insanely expensive. As an admittedly imperfect analogy, take a look at how expensive it is to get a drug to market (currently ~$2.5B [1]) in large part because you have to prove so much about how it works and how little harm it causes.

BTW Most of these compounds ARE tested for safety, just in a far more limited way. Proving things never cause harm is an entirely different bar.
Eventually I just stop staring at whatever list but instead, off the top of my head, jot down what seems to be important on a piece of paper since crossing it off physically gives a lot more satisfaction.

Anything else just goes into hundreds of notes in Apple Notes that I review every week. (After having tried every app under the sun, I've come to the conclusion that I'm a sucker for native integration).
To Catch a Killer: A Fake Profile on a DNA Site and a Pristine Sample
It's not really at all. You're comparing a private company to one of (if not the) most powerful nation in the world?
Whereas I think the screener had an overinflated sense of both his knowledge, importance and the "rightness" of the answers that he expected. The questions were narrow, and the right/wrong on the answers was oversimplistic and more suited to a freshman computing college test, not the working world. The guy answered him with more nuance and detail, but he arrogantly told the guy to "learn more about...", when it's pretty obvious that the appicant knew more than the screener.
How Oman's rocks could help save the planet
That's exactly the point I'm trying to make (though a bit tongue in cheek). People usually don't like "chemicals" but don't understand what that means. Here I'm making a reference to the "petroleum/industrially derived chemicals" (admittedly also an imperfect category) as a commenter below suggests.
Wouldn’t those larger flanges provide stiffness for a car that is much heavier, and can deliver to the wheels a boat load more torque, than similar sized ICE powdered cars.

And yeah, an electric motor is going to have vastly different vibration characteristics than an ICE.
console.log(bulk.length); console.log(new Date()); pos= bulk.indexOf("788bbd6b12d79a4ee18e36a8a264fb496465c71b7932a965ed731397b7c97d14"); console.log(pos); console.log(new Date());
209715266 debugger eval code:1:1
Date 2018-04-28T00:08:30.231Z debugger eval code:1:27
209715202 debugger eval code:1:139
Date 2018-04-28T00:08:30.252Z debugger eval code:1:157

That's about 0.021 seconds for however Firefox implements String.indexOf().

$ dd if=/dev/urandom of=200mb.dat bs=1M count=200
200+0 records in
200+0 records out
209715200 bytes (210 MB, 200 MiB) copied, 2.98279 s, 70.3 MB/s

$ echo 788bbd6b12d79a4ee18e36a8a264fb496465c71b7932a965ed731397b7c97d14 >>200mb.dat
$ time grep -o 788bbd6b12d79a4ee18e36a8a264fb496465c71b7932a965ed731397b7c97d14 <200mb.dat
Binary file (standard input) matches

real 0m0.056s
user 0m0.028s
sys 0m0.028s

That's not too terribly different.
Using the same algorithm I got 0.175 or so seconds in Java.

Sample code:
https://pastebin.com/duYF2QfE

This was on a "Early 2015" rMBP with a 3.1 GHz i7.
This Is Ubuntu 18.04 Running on the Nintendo Switch
In vitro or in vivo?
I don't think there was any problem with the applicants attitude, but plenty wrong with the screener's attitude. As in, I wouldn't want to work for an arrogant prat like that.
"Why spend a short life in the real world of sadness and absurdity when you could live forever in paradise?"

https://www.smbc-comics.com/?id=3183
Alpha is probably out this year. We send periodic announcements to our mailing list, there's a link at the bottom of Darklang.com. Also, we're hiring: http://darklang.com/careers
Something feels off about this, but I can't put my finger on it.
> Telling someone "we can't figure out what's wrong on line 49 if you don't show us what's on line 49" is not condescending

You've edited the quote, leaving out the bits that are condescending. Here it is again:

> "If the error says line 49, it tells you exactly where the problem lies. If you post 7 lines of code here, we clearly cannot tell you what the problem is in line 49."

The second sentence is where the snark starts to creep in. The tone is unnecessary, and the word "clearly" can easily make the asker feel bad. That's where the condescension comes from. It's totally not clear to the person asking, or they wouldn't be asking the question as they are.

> If you think I did something wrong in my response to you, you can flag my response for moderator attention.

I think more of this should be happening, and more tools available to manage unhelpful answerers. I don't know what these tools should look like, but I have some ideas.

> I mentioned before, you can always go on Meta

A lot of these users are new! They don't know about Meta. Their first interaction with the site boils down to "wow you're dumb, can't you read?", and then they're gone for good. Someone brings up on a HN post that SO is elitist and the original asker, who now has some experience under their belt, confirms "yep, it was a horrible toxic place".

> Helping them learn how to most effectively find answers to their questions may help you save time and aggravation later on.

I totally agree. Helping people diagnose their issues and teaching them how to write good questions is fantastic. It can be done with a better tone than what's currently happening.
I’d rather the structure were over-engineered where it counted.
The ruby version looked a bit odd to me. It would be unusual to not use regex in this context.

I'm not sure if this is in the spirit of the test, but using regex reduced the time from 27s to 0.04s on my machine.

require 'benchmark'

contents = File.read("/tmp/200mb.txt")
find = "07123E1F482356C415F684407A3B8723E10B2CBBC0B8FCD6282C49D37C9C1ABC"
result = nil
elapsed = Benchmark.realtime do
result = (contents =~ /#{find}/)
end
puts "Found at index #{result} in #{elapsed}s"

(The search string was placed at the end of a 200mb file)
Hard to say without knowing the code, but one common problem is to do something like length checking a username to ensure it is a certain length, and then later stripping out illegal characters.
You’d be much better off with an FSA or (honestly) Boyer-Moore implementation. For a baseline, a simple fgrep should show you FSA speed.

You might want to read about classical string search algorithms. Your naive algorithm is straightforward but far from ideal.
Getting the Parker Solar Probe down to the sun will take 7 flybys of Venus to use its gravity to slow down, over 6 1/2 years.

http://parkersolarprobe.jhuapl.edu/The-Mission/index.php 'Journey to the Sun.'
The Herdwick Shepherd is one of my favourite twitter accounts. How different our perspectives on life must be. Him outside dealing with the ups and downs of life, death and weather on a daily basis. Me, sat in an office reading a flexbox cheat sheet for the hundredth time.
If it's normal then it contains all finite strings uniformly in its base-b expansions. Pi is not a finite string so it wouldn't have to contain itself uniformly. More specifically if it contains itself then it's a rational number, but we know that pi is not a rational number. Note that we don't know whether pi is a normal real number.
What they need to do is target parents, then they'll be raking it in. I've had MoviePass for 4 months and haven't had a chance to use it yet.
Tan became a public hero after he referred to a popular Chinese medicinal tonic as a "poison" in his blog, and was then arrested by police from Liangcheng for damaging the reputation of Hongmao Pharmaceutical Company, which produces the tonic.

This tale, of a state imprisoning one of its citizens over what should be a civil matter at most, sounds familiar...

E-waste recycler loses appeal on computer restore disks, must serve prison term https://news.ycombinator.com/item?id=16921634
Possibly a difference in implementation of unicode between validation and persistence/use. Validates successfully due to one or more "valid" unicode characters -> translated to zero characters due to stripping of invalid unicode character at some point after validation.