skysight-inc/HackerNews huggingface dataset:
The concurrency stuff sounds nice. Apart from that I'm underwhelmed.

I can handle epoll based code without problems anyway.

The whole "file handles" can't escape a certain scope sounds like what python's with statement does.

The whole it's amazing that you can "encode business logic in types" thing I really don't get. That's basically the selling point of object oriented code.

Similarly, SQL injection is a problem that largely plagues dumb PHP code and is close to irrelevant if you use a half-way decent ORM in any language.

>The term 'mostly functional code' is meaningless

Any code that is mostly made up of functional programming, but still has some state handling code. I think it's pretty clear.

>Actual software at the scale is quite complex.

Gee maybe that's why I said it was complex.

>That's fine. But based on what I've seen (to be completely honest, not as an insult, you do not give the impression of someone who has spent extensive time with it[1]), I'd say you're greatly underestimating exactly what it is capable of, as well as precisely what capabilities it offers in the first place.

No, I haven't used it extensively. I've played with it.

I honestly think if it the benefits you tout were as great as you seem to think they are then there would be a far greater wealth of practical software written in it.

I know of one website (a local fashion retailer) and Facebook's spam filter. That's about it.
> It’s taken me a few weeks to write this post. Not that I was really afraid of putting myself out there, but that I needed to write it in such a way that it wouldn't scare people or make them worried.

This really is a major part, if not the biggest part, of the stigma associated with therapy now. It's hard to get mental help without it being a Big Deal. Which is stupid because everyone should go to therapy.

Therapy is great. It's like strength training for the mind. You don't have to have some kind of specific reason to go, you don't need to talk about that remark your parents made when you were 11, you don't need to be crazy. It just gives you a toolkit for understanding and dealing with every day emotions. It is expensive, but if you are an engineer you likely have a medical plan that covers some kind of mental health. Do yourself a favor and check, seriously the best decision I've ever made was going to therapy.
Could load faster, plus you need to get rid of the JavaScript. Otherwise, good.
Counterintuitive economics of a chess tournament
Try opening a bank account as a foreign US resident. It took my over a month to get my bank account and required copious documentation and a lawyer. All the time there was no guarantee that I would actually get the account. I personally know several US expats who were unable to get bank accounts. It's so much work for the banks that many are just not accepting US citizens for new accounts.
>foreign citizen somewhat benefit from Pax Americana but there is no guarantee it will continue, whilst US citizen are covered globally with much more certainty

Tell that to the lybian, syrian, iraki, Salvadoran, etc... that have "benefited" from the "Pax" Americana
I stop myself from slouching on long drives by adjusting the rearview mirror such that if I'm not sitting up straight, it won't show the back window correctly.

I notice pretty quickly when I'm not seeing the full rear window anymore, and adjust my posture.

I've been wondering if a similar tactic might work for monitors -- e.g., the same tech that can make a monitor intentionally hard for someone next to you to read might also let you adjust it so that if you slump down a few inches, it's hard to see.

Not sure of a similar tactic for public speaking (since nowadays you're likely to have a mic on your lapel...) but it also works for recording; you adjust your posture how it ought to be for good voice production, adjust the mic with it, and then if you slump the mic is no longer in the right place.
A Swedish Island’s Rare Balancing Act
your idea is called adversarial networks, and it works quite well (http://arxiv.org/abs/1406.2661) although it's not useful every time.
For python lovers
I'm using this from now on
SentinelOne targets anti-virus providers with $25M Series B
What matters in the end is not the technology we use though. It’s how we can resolve our customer’s problems and evolve as those problems evolve too.

Thank you for saying that and posting this article. I've recently started a company in the past few months that is already enjoying good MRR. I didn't use the latest and greatest Node, GraphQL, Falcor, Reacted, Ember, Anularagar 2.5, ES2045, ES7, Phoenix, Double Scale SPA CLR NOSQL. I used the freaking vanilla Rails stack.

I'm enjoying 100ms or less response times on a $40 a month digital ocean box. I am using Turbolinks 3 partial replacement though. In the end the customer doesn't give a shit. They just want it to get their job done and for the app to not be slow.

What mattered was I was able to get the app done quickly instead of spending 10 years over engineering something that could have failed(and still can) in the first few months.
I'm sure this work hasn't gone unnoticed in SPIR-V development, I wouldn't even be surprised if it's partially the same guys doing it. That said, I haven't been involved in that so I don't know for sure.

LLVM IR has a few weak points for this kind of IR. It has architecture dependent parts and the format has changed in the past so it is coupled to LLVM development cycles. You can argue whether that's a good or bad thing but it's a thing to be considered.

There were two earlier versions of SPIR, coupled with different LLVM versions. SPIR-V is independent of LLVM but still semantically similar to LLVM IR, so compiling back and forth between the two isn't too difficult. AFAIK there has been discussions about adding a SPIR-V backend to LLVM trunk (can't find the mailing lists).

The SPIR-V spec is already out and there has been some projects already using it, although you can't run it on a GPU yet (unless you work for a GPU vendor, that is).

https://www.khronos.org/spir
Using a blind person's tongue to enable them to see
Only if the people that come in are willing to assimilate into the culture that is the host. There are good reasons to keep some worldviews out of one's borders if they clash with the place's values.
The economics ends up being pretty questionable. I recently wanted to stay at an airport hotel (well 5 min away from airport) for a last night of a vacation trip due to a 10 am flight next morning - but the cost was almost 25% more than comparable city hotel. End result was a wake up 30 min earlier and a 7euro shuttle bus ride, but also a last evening lazily spent at a great in-city restaurant.

Unless you are just connecting, the noise, the rush of frustrated travelers, and comparably high prices I've seen in this kind of places just don't provide that much of a value in my opinion.
I want news in news papers, not the associated emotions of the journalist. Emotions should be kept far away from news, anything subjective should be. Maybe it would work for certain magazines? Still, adding a crying face to a sentence like "Susan lost her first 5 babies" seems horribly inappropriate, this can change of course.
Thank you for your reply, but I have to say that I think it understates the problem.

>The source code for the contract can be made to have a proof of correctness in it..

Has this capability already been implemented for the Ethereum contract language(s)? If so, I would greatly appreciate a link, as my admittedly cursory search did not find it (there is some discussion of verification of the Ethereum infrastructure, but that is merely a precondition to contract verification.)

Even so, I think it is significant that only a tiny fraction of today's software is written this way, and only a tiny fraction of all developers know how to do it. Someone has to write these contracts.

>... or, as it is probably not all that long...

Ethereum's promoters are imagining nothing less than a revolutionary new economy, with vast networks of interacting contracts. The amount of contract software implicit in these dreams is huge.

>If you look at the source code long enough you can be sufficiently convinced that it runs how you expect it to.

The steady stream of security vulnerabilities that are being found in ordinary software shows that this is not an effective technique. If you are a software developer, imagine doing your work in an environment where any bug of yours could cause you, personally, to lose a significant amount of money.

Nor do I think 'gas' completely solves this problem. Now your analysis has to cover the issue of whether your contract, or any of those it is dependent on, will run out of gas before completion. In most cases, and particularly in networks of dependent transactions, reverting back to the initial state is not a viable outcome (imagine that happening on the last payment of your mortgage on a house.) I can imagine that running out of gas on some obscure corner case might be used by an attacker as as a means to disrupt a network of dependent transactions.
Interesting Military Cover-ups
Our first experience with React Native
Canal Defence Light
Not exactly documentaries, but you can try the Beakman's Word show https://www.youtube.com/results?search_query=beakman%27s+wor...
Basically you look for shapes. Usually you start from some vague idea, documents describing stuff that should be there, and then you look for shapes that look too peculiar for nature alone. See Portus for an example: natural ponds are not usually hexagonal...
Milky Way from Lawn Lake
Fibonacci clock
How Microservices Fail
My wife and I had been planning on buying a home in either Belize or Costa Rica but gave up this plans because of FACTA. Too bad because I really like Central America and was looking forward to a major lifestyle change from integrating into a local rural community.

Really a messed up law and messed up policy.

I do understand why our government did it: not good for the economy to have older people spend their social security money in a relatively inexpensive foreign country. I think the money laundering and anti terrorism arguments may just be a smokescreen. This may also be just our government throwing their weight around, bullying other countries.
plus you might get a call by the local CIA station asking you for a favor you would prefer to avoid.
If they will, it will be not much easier to master than Chinese.
Ad-hoc Video App videmic – Beta testers wanted
Anyway, it's interesting that he singled out nuclear weapons, but eg. landmines would be just fine
Profile of Margaret Hamilton, programmer of the Apollo software
There are cases where double taxation can occur that aren't covered under tax treaties. Consider an American working abroad going on a business trip to the USA. Depends in the country, you can be on the hook for taxes in both countries, where neither country recognizes the right of the other to tax.
videmic is an ad-hoc video app enabling you to record, watch, and share videos everywhere and instantly with your friends and other people in your proximity from smartphone to smartphone. Without cellular, without wi-fi, and without any server.
The beta version of the app is available for a closed group in the Google Play Store. As a beta tester you have to register yourself on our website with your e-mail address as Early Bird User.
Within 24 hours later you will receive a link to the Google Play store, from where you can download the app videmic. We look forward to lots of feedback. Thank you for your support.
Please note : The app only runs on Android 4.4 and later versions.
Since we only have two parties, each one doesn't want to do anything in the odd case it would give the other one an edge they don't know about. So things stay shitty.
Just another Haskell-influence on mainstream languages: Pythons list-comprehensions are verbatim copied from Haskell. This is even acknowledged here: https://wiki.python.org/moin/PythonVsHaskell
>“These studies were based on really hyperactive young white boys who were taken to clinics,” Littman says.

I don't really get what lines like this are supposed to be getting at. Why is race mentioned here at all? I'm now left wondering if there is also some effect of race on ADHD symptoms, in which case I feel like the quote was not really used honestly (used partly out of context- how much of this is due to gender and how much to race?) or whoever said the quote spoke incorrectly because they felt that the young boys also being white would drive home their point more.
> I think the emphasis on unified memory is a bit of a red herring here. In my experience, heterogeneous computing means optimizing data placement

Unified memory definitely doesn't change this aspect. It just makes it a whole lot easier to do from a software engineering standpoint.

It is quite painful to deal with GPU buffers, memory mappings and DMA transfers. Unified memory makes this a bit easier and as an added bonus, eases latency hiding by allowing the driver to do DMA transfers transparently and reduces driver overhead from poking the CPU and GPU page tables.
seats in congress are apportioned to states who then figure out how to divide them up, so while in theory a state could make an overseas district it's not something that could be done on a national level without some heavy modification to the constitution.
This is a complete over-simplification, but...

I'd start by thinking about how much your product is worth to the company. How much money will it save/make them? Don't just look at the functionality that you provide, but also at risk reduction. Charging based on value is called value pricing ( https://en.wikipedia.org/wiki/Value-based_pricing ). You'll want to charge less than what your customer has to gain (otherwise they won't buy). This is the number you should be working from (using out-of-pocket costs to determine pricing is called time and materials pricing and is a great way to go broke https://en.wikipedia.org/wiki/Time_and_materials).

Your original app pricing has little to do with what you can charge enterprise customers, because the product that you're offering is different. Yes, your old pricing will act as a bit of a psychological anchor, but if they've contacted you for a custom plan, they are probably willing to spend quite a bit.

Source: I write a blog on the subject of product pricing (and wrote a book specifically about software pricing - http://taprun.com/pricing/ ).
Inside the lab: Why Apple still sweats the details on iMac
Love the simple pricing, though you may want to be even clearer with your plans. I used to run a a cloud based load testing service, it's a tough gig because it's hard to differentiate.
How Marketers Stay Productive: Oskar Glauser of MinuteMailer
Node.js Security Checklist
The mid/late 90s were this weird time when people were printing things out like crazy. It was after the first cheap inkjet and laser printers came out. I must have printed out hundreds of Yahoo maps directions and other things at the time. I remember possessing lots of big three-ring binders filled with various manuals for programming libraries. At the time, printing was almost free, and email and web were still somewhat lacking in user friendliness for reading docs in the modem and pre-PDF ubiquity days. These two factors lead to this brief printing things out trend.

The printing thing stopped when online help got better and more ubiquitous. Now, I usually read docs on the web and only buy a book when I want to majorly invest in learning a new technology.
I'm at work and can not test this out, but does adding whitespaces increase the function length here?
tldr;

“It’s not wrong to say there are weird ethical implications to this,” Finn says, “but we’re still a long way from doing this with enough accuracy to apply in the real world.” Neuroscience will be waiting for its sorting hat for a while yet.
The statistics on renunciations may not be correct. There are lists of people published who renounced, but every time I read a story about FATCA I keep coming across comments posting by people who claim they gave up their citizenship and never appeared on these lists.

The real question is how many people would like to give it up, but can't, because obtaining citizenship where they live is extremely tough and because the US is unusually vindictive towards people who try and renounce. They can even retroactively undo your renunciation if they decide you did it for tax reasons.

Seen from one angle, US citizenship looks a lot like modern slavery. You're born into it, it's difficult to escape, you get no benefit out of the relationship and no matter where in the world you run to your 'owners' will demand a slice of the fruits of your labours.
How I Hacked my way to read Chats of any users in this popular iOS App
Small note on Falcor and its paradigm - in huge, complex applications, delaying errors until runtime is something to be avoided. Using Falcor seems like it'll be prone to that.

On the other hand, ASP.NET MVC or Web API will give you intellisense when consuming your endpoint.
1.
I think though you'd really want to have some measurements regarding the performance impact of things like over fetching.

Also remember that having a resource oriented design and working well with HTTP gives you out of the box advantages in terms of caching and validation, and in HTTP/2 you get extra efficiency advantages (e.g. lots of more granular resources can be retrieved over a single connection).

2.
There are patterns for that though, often best approach is to represent that transaction as a resource. Restful Web Services Cookbook covers approaches for these sorts of bulk operations.

3.
Not sure that's an argument against going resource oriented, if you don't find the debate interesting just ignore it.
Man's $600k Facebook Ad Disaster
Russia to hunt down ISIS recruiters online
“Fishers” or “Fishermen”–Which is Right?
Right. The problem is that formal UML diagrams tend to be part of formal documentation - i.e., outdated from the moment they are saved to disk (unless they are used for reproducible code generation, in which case.. good luck).

Informal UML diagrams - dynamic box-and-line relationship diagrams scrawled on a whiteboard where one arrow has been drawn in extra thick to emphasize a point; sequence diagrams where one colleague has drawn the sequence arrows as they work today and another has scribbled over the top the arrows as they should work in a different dry-wipe color; those are an appropriate use for "sort-of-UML" - as tools in rapid communication of ideas. My phone's full of photos of that kind of UML. But at that level of formality, nobody should mind if you get the open or filled diamond arrowheads wrong, or you use arrows for one to many relationships instead of inheritance, so long as everybody working on the diagram understands what is meant in that moment.

UML is a formal standard for back-of-the-envelope doodles, and that is exactly as ridiculous as it sounds.
"No single member of Congress represents urban Americans, or rural Americans"

Clearly you are unfamiliar with the level of gerrymandering we have implemented, which makes it feel unfair when a distinct property owning group (say, retirees in Costa Rica) don't have their own gerrymandered pet politician just like the yuppies or inner city poor or rednecks have in congress.

Unevenly enforcing a corrupt system feels worse than merely having a corrupt system.
Mozilla Appoints Katharina Borchert as CIO
> Emotions should be kept far away from news, (..)

Yes.

> (continued) anything subjective should be.

No.
Double taxation does happen pretty regularly, in particular, the USA often doesn't recognise various types of European investment and pension instruments and that causes complications. It's a really byzantine system that shouldn't even exist at all. People who live outside the USA get nothing from the US government, so they should pay no taxes. Every other country has this figured out.
I agree that those cases would be tough to make work in a "clean" or at least standard RESTful API design but it's really improbable to encounter them.

1. This issue could be attributed to the database schema design imo.

2. In what case would you want to delete multiple comments at the same time ? I'm not trying to argue for the sake of arguing but I've genuinely never had to remove parts of an array that were not either a single element or the whole array.

3. Again I don't see a scenario where you would have to do this. If it's a consequence of another API call for example: You DELETEd a "group" so all of its member "users" should be deleted too. Than this kind of side effects or consistency CRUD should be handled inside the DELETE API call of the "group".

I don't think that REST API design pretends to answer every single business logic use case but it does answer most of the common ones.

In my opinion it's also dangerous to use a library that will abstract those difficult / unconventional use cases because they will feel easy to solve and hide the inherent complexity and cost that is present in the Database queries.
This is absolutely correct. Entirely too many people pose these false dichotomy questions.

If you have wheels, you belong on the streets. Bicycles and motorcycles must assert themselves on the road. Never allow a car or a truck to share a lane with you. Never let another bike share a lane with you either. Never ride a bike on the shoulder. Never sneak through a red light (well use common sense on this one).

The problem in the US is our car and truck drivers (yours sincerely included)/don't know how to drive properly either. Nobody told us not to share a lane. New Jersey drivers seem to be the worst. We do the rolling stop. We stop and sometimes park in the way of pedestrian crossing. We think we have a right to turn right even with a red light and that right supersedes the right of pedestrian trying to cross the street when they have the walk sign! I didn't even think about the last one until a car had the audacity to honk at me after speeding into a right turn on their red light screeching to a halt as I jumped for safety. As a pedestrian, I had the walk light! People like those should not be driving.

Is there an easy number to call and report reckless driving? What is the solution here? Why should they take my word without evidence? I mean some tailgating idiot could easily call and falsely report someone of brake checking.

Driverless cars can't come fast enough ... I knowninfor one will vote to eliminate human drivers -- all of them -- from the roads.

slow-moving wheelchairs excepted
This would be interesting, except JavaScript is a terrible language for this. At the minimum I think you'd want all the arguments and return values to be strictly typed. Otherwise you can't for example determine how much memory to allocate for the returned value. The big strength of JSON is that the encoder and decoder can be written by anyone in any language fairly easily. I've used it in JS, Python, PHP, and C, and every time it's been super easy because the format is so simple.

What would actually be cool is to add type hints to JSON. That way we could conceivably add things like date types to it fairly easily.
OWA for iOS major security fail
There used to be two distinct diagnoses, ADD and ADHD. Then they rolled the former into the latter (dunno why, less paperwork perhaps). It should really be read as AD(H)D, as the hyperactive part is not a required trait.
Two 16 KiB ROMs, actually.

(Meanwhile, current Intel processors have 2 MiB microcode files.)
What hopefully will happen is that programmers spend less time tweaking and debugging programs. Haskell is actually on the forefront with this with systems like [Haxl](https://code.facebook.com/posts/302060973291128/open-sourcin...) at Facebook where, after some front-up development, speed and safety is increased for the users of the system.
(Disclaimer: Haskell Fanboy)