skysight-inc/HackerNews huggingface dataset:
I used a basic Monte Carlo technique to help buy a new house. We wanted to know what maximum price we could look at for the new house. But we didn't know how much cash I'd clear from the old house to sell, how much cash my wife would be able to contribute, what interest rate we'd lock at for the new house, etc. But, I could reasonably estimate a normal distribution that each of those scenarios would fall in, even if those distributions were pretty wide (to be conservative). Then I just made a row in excel that picked a random value from each, and calculated the maximum price we could afford for the new house in that case, and then I dragged that row down 10,000 times, and then we looked at what price we could afford in 95% of those cases. It helped our confidence a lot in knowing what we could definitely afford.
When the food is amazing, I hire that restaurant again.

When the food is poor, I fire that restaurant.

Over time, this has a strong correlation between my (subjective) enjoyment of the food and how much money I pay the restaurant.
That would certainly solve a lot of other problems. No need for gun control, knife control. No need for airport security. No need for armies, police, jails, judges... I like it! </snark>

Apologies, I know we're not meant to be snarky here, and sarcasm rarely forwards a conversation in a useful direction, but this comment really struck me as silly, as you are proposing the solution to protecting people from random bad actors who might buy a quad copter is "make the world peaceful and remove motivation for personal harm". That does not seem possible. People should have access to good healthcare and social equality, but that is orthogonal to this conversation (IMHO).
Pharo Ephemeric Cloud
Have you never executed a binary you downloaded over http? (Live) Patching backdoors into existing binaries is not exactly difficult.

So far I've only seen one attack like this in the wild, but you need to understand that these exploit vendors primarily sell for targeted attacks (usually by various government actors)
Thank you for the list, I appreciate it!

Regarding Impact (canvas) being faster than WebGL in Phaser. It's not the first time I hear canvas being faster.

two.js had the same problem, and from what I gathered it had to do with not caching something. Maybe you know more about it than I do.

Again, thank you!
This could be mitigated to some degree by having multiple shared accounts per person.
So tries are a really cool data structure and they're the natural fit for an autocomplete, but a while back I had to implement an autocomplete widget (over stock tickers) and it turns out that for many relatively small, dense data-sets, binary search over a sorted array with a linear scan to find suffixes is a much (10x+) faster approach.

The problem is that a trie is a very cache-loose data structure. Every node is connected to every other by pointers, and they may be spread all over main memory. Finding the first node usually involves chasing several pointers; enumerating each successive one involves chasing several more. Meanwhile, if you just had a sorted array, all subsequent results would be on the same page at least, and many would be on the same cache line.

YMMV, based on your data's size and shape. Sorted arrays usually work best when the full data set is small and dense (eg. stock tickers), while tries may work better for sparse data (eg. sentences typed in by users). Always benchmark before committing to an implementation.
That actually sounds like a horrible relationship. If she really said "Ok, don't let the door hit you on the way out", I see no reason to be with someone like that. Life's way way too short for bullshit like that tbh.
It blows my mind that the police would not check with the management office security guard as to whether the unit was currently occupied...what if it had been rented that day?

this feeds into a problem that is a corollary to the above, which is the whole see something/say something mentality with no repercussions for those that call the police on others...
Check out giantswarm.io. I'm the evangelist and we're doing some interesting things around the container management layer. We run a private shared cluster you can kick the tires on without having to install a bunch of stuff to see how it works. Ping me on Twitter if you'd like to try it out after plugging your email into our site! I can push the application through for you.
A Manhattan Project Veteran Reflects on His Atomic Bomb Work
I'm a layman, but the information on your website reminds be both of what GreenArrays are doing and of the 80's INMOS transputers. People might want to know how those compare with what you're working on.
I am wondering if Phaser with TypeScript would make things easier for someone like me who like static typing.

The only problem is type definitions have a habit of lagging behind releases.
I've been playing with Typescript in both Visual Studio and Visual Studio Code and Intellisense is great.
That's all true, but the question is why is this more prevalent among programmers than any other group. That opportunity cost is really quite cheap for most programmers, especially if you just enjoy the work. Worst case scenario, you can add something to your resume.
And Verizon between everyone and their middle man!
well damn that's such a simple solution if that variable works in proxy_pass.. One of those "How did I miss that?" solutions

Of course rigorous testing before going live, but it gives options. I love options :)
Well this little video says it shows twice that amount, 1 oz, (https://youtu.be/AwyniA5ryhY?t=40) for what that is worth. Doesn't look like something I would want going off near my head.

But I would think slow/predictably moving and fixed targets are in more danger, since the attacker can get away with overloading the vehicle a bit (don't need the full flight envelope), and navigating to the target(s) becomes much easier. I'm thinking something like an stolen delivery/repairman van parked in a neighborhood, a few hours later the top opens, and out come some thermite delivering drones which fly to the top of houses and start setting the neighborhood aflame. Houses are easy to GPS target, lightly defended, and have a very high psychological impact.
ISIS Transforming into Functioning State That Uses Terror as Tool
I think a multi-level marketing scheme includes a benefit for recruiting new people, in the form of some sort of "downline" compensation. As far as academia goes, this doesn't really exist, otherwise there'd be teaching/research assistant assistants, and so on
The sibling comment to this pointed out the $host variable. I imagine something along the line of proxy_pass http://$host.internaldomain; or something on that line.

I'll have to look into it further :)
I want to pass a function as a pointer even though it is overloaded. C++ supports that. For instance if we do:

int (*p)(int, int) = add;

overload resolution kicks in there.

I want detailed error messages about overload resolution. Maybe not all the time: give me the executive summary ("no suitable overload of add was found") and the details if I specify some "-Woverload-detailed" option or whatever. That's a quality of implementation matter; neither ISO C nor ISO C++ spell out what diagnostics should look like and how detailed they should be.

Token-level macros are hacky cruft that shouldn't be used as the development bed for new features, period. All this stuff ignores 35 years of progress in the C dialect scene alone, not to mention 60 years of progress in general.

Above, add isn't even what is understood in computing as a "first class function". If we make it into some hacky macro, we are taking away even that second class status away from it.
It seems you'd get more mileage out of a trie if you also compared it with a sort of zipper approach. The idea being that if I type "a", I should just focus the trie around "A". If I next type "l", then I focus the "l" around my new root, so I find all strings starting "Al". It doesn't change the complexity class of completion, but maybe the small optimisation is worth it.
You’re probably doing email introductions wrong
The State of Voat
You too are very presumptuous with your claims even with your humble attempt to frame another's point.

That said, I would like to address your claim of a 2min. read-through:

"but I used my stopwatch and it took me pretty much exactly 2
minutes to read. I studied subjects at school that required a lot
of reading, and so I probably got the practice from that. (Of course,
not all texts are suitable for reading this way.)"

And how much comprehension did you get with a 2 min. flyby? With all due respect, you didn't read the equivalent of 10 pages of font-size=11 text in 2 min. If you're reading at that rate FOR comprehension then you're a savant. Otherwise, you're skimming, not reading.

Speedreading is snakeoil. [1]

[1] http://lifehacker.com/the-truth-about-speed-reading-15425083...
Clickbait detector meter pegged and the meter movement is smoking....

This is right-wing propaganda at it's best. We don't want religion in government.

If this comes to pass then let's add a gold cross to the center of the American flag and change the name of the country to the United Christian States of America (Credit: Robert Heinlein)

I will have emigrated long before this ever comes to pass.
Okay, that explains a lot. It is also ironic because React's rejection of FRP in its completeness has also spawned a very poor substitute they call Flux.

The number of Flux versions that have been churned out as a result is obscene. That is certainly not keeping it beginner-friendly, that is just leading developers astray.

While all the Flux activity may make it look like a lot is going on with React it has instead just wasted everyone's time and kept them from learning a key paradigm like FRP.
Don't spit on the ground or chew gum, you will be caned (flogged).
I also require earbuds that have a small, in-ear design. Standard Apple earbuds do not fit my ears. I have bought several pair of these:

http://www.amazon.com/gp/product/B00BN0N0K8

They sound great for the price and have the 3 button design for controlling volume and answering calls.
The Sims 3 Apk 1.5.21 Mod Full for Android Free
How did you do that? Genuinely curious.
Am I wrong for thinking that failure to honor the TTL in the first place is a bug?
Surely you mean throw chewing gum on the ground?
It's strange that you mentioned this series. I've watched the first season and halfway through the second and I never seen a TV show stuffed with so much clichés. Seriously, it must be financed with some political adgenda behind. Everything you can think of is there, the Russian mafia, the Ukrainian bomber, the German neo-nazi group, some psychopath trying to do a chemical attack... Every episode is like this.

Anyway, to go back to the subject of the article, backdoors are always a stupid idea because there is no way to guarantee that the backdoor will not be used for other purpose. Recording so much data is also risky for the future. Who trusts their current government ? And who is going to trust the government they will have in 20 years ?.
You should definitely be looking at TypeScript.

Flow is also great.
All of C's revisions retain a coherent philosophy that is incompatible with the philosophy of C++. When C is the right tool, C++ is no more a substitute than Java or C#.
link midway through, text is "doubling down on their ignorance": https://www.washingtonpost.com/opinions/putting-the-digital-...
The Corpse Exchange
You may lose every 1kg if you can control your emotion. Use these 3 tips
NASDAQ using Bitcoin Technology
1. Option solves a long list of programming problems (mostly around things being there or not, but others as well) while non-nullable types only solve NPEs.

2. Sorry, wording is vaque, often deconstruction is

val MyValueObject(a,b,c) = myObject
Second these. I have two pair and for price/quality they work great. Comfortable fit, sound clear/good, stay in my ear perfectly.
... in order to be fair we have recently updated the engine and webinterface; the new application is a big step forward, the same URL but a totally different thing.
The older tool is here, http://regex.inginf.units.it/extract/
It is also apparently a de facto right in Germany (but not a de jure right).

https://de.wikipedia.org/wiki/Kirchenasyl

We (Denmark) also had a case in 1991/1992 where hundreds of (criminal) rejected asylum seekers occupied a church for a long time, in full cooperation with the priest and plenty of left-wing politicians and musicians. It ended with a special law that granted them asylum -- whereupon most of them continued to inflict crimes upon the natives and so did many of their children.

https://da.wikipedia.org/wiki/Pal%C3%A6stinenserloven

The extreme left tried to repeat the "success" in 2009 and a new batch of (criminal) rejected asylum seekers and other (criminal) foreigners who had been banned from the country. This time they didn't succeed, despite ready displays of violence from violent blackshirts ( https://da.wikipedia.org/wiki/Antifascistisk_Aktion ) and widespread support from the media.
Your conclusion is likely correct given your data, but did you happen to evaluate HAT-tries as well?

http://crpit.com/confpapers/CRPITV62Askitis.pdf
You claim only a minority of people getting PhDs want to become a professor?

Citation?
I suspect you're just trading on the multiple meanings of "sanctuary" to inject your political views into this conversation. The modern practice bears only superficial similarities with the medieval practice.

Yes, people use the word "sanctuary" to describe the practice explained in the article, and also to describe modern U.S. localities' policies of selectively enforcing federal immigration laws. (I say "selectively" because sanctuary cities will typically hand over known criminals for deportation.) But the modern practice, based in the differing jurisdictions and legal obligations of various levels of government in the U.S. federal system, does not have a lot to do with medieval sanctuary laws. Medieval sanctuary practices, as described in the article, largely took the place of (or served as) criminal punishment, at every level of government, due to an interesting commingling of church and secular law to which there is little analog in the U.S. Sanctuary cities also, of course, only decline to enforce immigration laws, not other criminal laws as was the case in medieval England.

And while I suppose it is slightly interesting to ponder the difference, I'm not sure this slight relevance justifies injecting this flame-war inducing topic (especially in such glib terms as "a criminal was given 'sanctuary' in San Francisco where he proceeded to randomly murder a tourist taking a stroll").
Pretty interesting work. Thanks for sharing !
The Rebellious and Revolutionary Life of Galileo, Illustrated
"The thing is, most managers are bad, especially the middle ones, and their opinions about their reports tend to be bad and flawed. "

oh bullshit. unless you make it broader and state:

"The thing is, most employees are bad and their opinions about their peers, reports and managers tend to be bad and flawed."

or where do you think managers come from? bullshit mountain?
Yeah, that "free money" is priced in to the cost of goods/services at firms that accept the cards. This is why you sometimes see a lower cash price, like at smaller gas stations etc.
I imagine it could be something really great, but lack of any details (including people behind the project) doesn't help to build trust. Please, show us something more.
Another problem is that tries are not stored as such in typical databases. You'd have to roll your own database system to support this.
Ironically, one of the reasons I'm extremely happy with my current bank is that it lets me save my password through Chrome on its online banking. Yes, I know that's no super secure (I'm not sure how Chrome's password manager is in regards to security), but it's just... so convenient!
I wonder if that would work on a commercial jet @ 30K feet. Would be an interesting test.
This is hard to explain and I didn't understand it either, after programming Java for 15 years. After 5 years of Scala I can't think of not using Option.

If you allow null as a return type you need to check for null if you want to use it or not. If you return Option[_] people e.g. just use map() on the return value and then map().map().map().map() on that etc. With Option your code usually does not care to check until the very last moment. Sorry my English is not good enough to make the point :-( And I know, saying "You need to use Option (and Applictives etc.) some years to grok" sounds arrogant and unsatisfactory. But I would not go back to a language without Option (and Applicatives etc.) usage in it's culture.
HN search: https://hn.algolia.com/?query=neuralnetworksanddeeplearning....
(My wife was in the DC press corp for years covering Congress, serving in the White House Press Pool, and the Pentagon at various times.)

Unfortunately, the vast majority of the press has little understanding and even less background in the topics they cover. The article they write on Wednesday, they may have learned about on Tuesday, after being assigned it on Monday. This is why so many groups can get away with handling them something that is just slightly less promotional than a press release and get away with it. Combine that with tight publication schedules and the sheer amount that they have to publish (though mostly bloggers, less general journalists) and it's a recipe for disaster.

While my wife was still active in that space, I briefed her colleagues on technical matters regularly. I felt like I was helping educate at scale but at some point I realized that too many just didn't care. They wanted the "10 second sound bite" and move onto the next topic.

Note: If the reporter has a strong background in a subject - technology, medicine, etc - they become the exception rather than the rule as most of them can make more money as consultants than beat reporters. They are often subtly promoting their own books and lectures too.
There's more complete implementation in grsec among with other features as well and they do not claim that these can't be defeated. They claim to make the exploitability of bugs harder or non existent at all for some classes of them.
This is the same.
He Hiked from Mexico to Canada and Filmed One Second Each Day [video]
The reason I tend to be more interested in AMD graphics cards is that I want basically workable open source drivers in Linux. AMD pays a couple of people to maintain the upstream linux driver for their cards, NVidia doesn't. So if you have an AMD card that isn't totally new in the last 2 months, you get a working proper resolution desktop with no hassle. (So for this strategy to work with the Fury, you'd probably have to wait another month or two.)

I still dual-boot windows just to play recent games, it pretty much always works better than the alternatives, like the closed source Catalyst driver, wine, even native ports. An NVidia card would probably work a bit better for this purpose, and their closed source drivers for linux are also better, but for me the open source drivers are the more significant factor.
We're looking for some feedback on our new issue tracking system. Anybody who registers for the website and gives us feedback here in HackerNews, will receive a coupon to be upgraded to Condor for free for 6 months. We want to know what you all think and what we can do to improve. Thanks and hope you have a good experience.
Without proper Option deconstruction and map()/flatMap() syntacic sugar Option code beside map() is not very pleasent to read or understand to my eyes :-(
Multi-level marketing schemes are similar, in that they exploit people leveraging those people's desire to improve their situation (or dream to get paid while doing nothing).

The film industry is similar, you work for low wages, hoping you will make it to the big time.

So is athletics, work for free at college, hope you make it to the NFL or wherever.

This pattern may be more common than most realize.
Ask HN: How life changes after being a dad?
Hello All,

I got married last year and last week my wife confirmed me we are having a baby!

I am happy after listening it but when I started thinking, it seems my life will change dramatically. I am a software engineer working in Europe, has a good job with sufficient money. In my leisure I love to build, learn new technologies. But it seems this is going to change.

So can you guys share your experience, how your life changes after being a first time dad? Do you have any suggestions, tips for me?

Thanks!
New mooc platform for creative types – Kadenze
CoreCLR building on ARM
I appreciate the candor of your post. Ethics is a fun topic.

I would suggest scrapping the idea of a co-founder and look into hiring contractors. I use them exclusively. You can find great ones in Russia and Eastern Europe for well under $20/hr.

At the end of the day building a business is about creating value (making money), not life-long friendships.
How does the modern HP get so much wrong?
That's a huge effort, kudos. Certainly, it is harder to get maximum performance from C, as sometimes you have to reorder things in non-trivial loops in order to "help" the C compiler to get it "right" in the performance sense (many times involving function inlining and other things that usually increase code size/bloat). Although the problem of assembly-only is to be tied to just one platform, because currently not an issue for this case, with most web servers running on x86_64 CPUs, if allows to increase performance while reducing memory usage, it makes a lot of sense for super low cost architecture (tiny memory and CPU usage per active connection).

It would be interesting to see how x86_64 implementation of specific elements compare to equivalent C code, in terms of instruction per clock efficiency, cache miss ratio, etc. (e.g. using the "perf" tool in Linux, or any other tool that use the CPU hardware counters).
You can get Nvidia and AMD cards to live together in the same machine: https://www.youtube.com/watch?v=YqkI7bOfRkA
Vague in some ways is OK, but one thing you should spell out initially is where you have to be to take advantage of this. It sounds like an in-person thing, so unless you want the majority of applicants to be disappointed after investing interest, you should clarify that participants need to be in a certain area, e.g. NY, Seattle, SF, Kansas (good luck with that one...).
Streaming gamedev starting at 2pm ET
Doesn't sound legit. Just a splash page with email. You're either messing around with a few ideas and trying to see what bites or you don't have a product.
1. Because its much easy to start a software business
2. Developers always think that the other guy is doing something wrong and they can do better than him.
Most of developers start business very similar to one they are working for.
Last week: https://news.ycombinator.com/item?id=9908312
Their certs may be pinned, but from what I can tell there's nothing keeping me from introducing a new root cert to my system (IIRC there was a scary popup and that's it).

Here's a screenshot of Chrome giving me the "insecure" padlock, but still rendering Facebook while I debug the HTTPS traffic: http://puu.sh/jdGhc/128d35f793.png

Here's similar, showing Google HTTPS traffic being debugged while browsing in Safari (with nothing appearing out of the ordinary): http://puu.sh/jdGoW/3163db1e54.png

(the debugging proxy is Cellist, which I find to be a suitable replacement for mitmproxy, as long as I don't need rewrite/replay)

> if you can trick someone into running an EXE, it's game over

I suppose it is roughly equivalent (i.e. if you could get them to download a cert, you could probably get them to download an EXE so the point may be moot). I always figured you might have more luck with this sort of thing if you owned a Starbucks router or something, where people might be more accepting of having to jump through hoops to use the internet.
Prior discussion: https://news.ycombinator.com/item?id=9945543