skysight-inc/HackerNews huggingface dataset:
So I'm just a old town country ios programmer for fun, so please correct me if I'm wrong. But wasn't the original issue that there wasn't a great way to deal with the multiple layouts/issues on the early 2.3 and below android models?

ios8 makes it plainly obvious that "something" is coming that will throw out the "the size of the screen shall be 5 and 5 shall be the size of counting, not 3 nor 4 but 5" paradigm. That or multitasking similar to windows 8 maybe.

But this shouldn't be all that crazy hard, we had how many years to deal with 800x600/1024x768/etc...
Well when they make themselves such an exclusive club with a difficult test each member feels like they are special.
I don't think it's a matter of stupidity.

Nude pics can get online through a stolen phone, lost phone or a breached account of some sort. Once you have a picture of someones face it's pretty easy to get a name through the right channels.
> Please, get rid off the primes example, as it is horrible inefficient (in the sense of, "Ok, let's find the first n primes by a simple well-known algorithm, like the Sieve of Eratosthenes") and a simple (non-pure) array-based approach will kick its ass.

The primes example may be a bit awkward for people with no background in math but it's also an excellent example to demonstrate lazy evaluation in Haskell.

The interesting bit is that primes is an infinite list, containing all prime numbers. Don't try to print the whole list or count the sum unless you have a computer with infinite memory :)
Citizen Mapping Movements to Monitor Water Quality, Radiation and Fracking
Nope, there have been no substantive changes to the way one handles these layouts since android 1.0, with the exception of some additional targeting for LTR and changes to the way you address physically larger or smaller screens (as opposed to screens with fewer or more pixels).
By reducing consumer spending and investment through the taxation necessary for funding said project?
A CSS framework based on Material design
Where is the link to download the music pls?
Except when, as in this case, the underlying semantic confusion of their premise (or how they articulated it) has a lot to do with why it was wrong in the first place.
My pet peeve is mainly the function name. It says the algorithm is a prime sieve when it isn't and it spreads a common misconception :)
though your fight for the Queen not the MOD yes this is the regimental tradition probably the British army's greatest strength.
> i.e. a function with 100 lines is harder to read than 100 functions with one line each.

I understand where you come from, but I disagree with that particular example. 100-lines long function is harder to read than nessesary, but can be understood without problems.

100 functions doing the same work will be a nightmare to keep in head at once, at least for me. If you refactor one function into 100 you're not doing it right.
What did they do that you know was illegal?
Correct. The Marines desired a plane capable of VTOL and when DOD forced the idea of a singular fighter, they said "okay but we need VTOL" (and the other branches had their own operational needs), and thus we have this great-at-nothing-horrible-at-everything F-35.
The Walt Disney Co. Announces Participants for Its Startup Accelerator Program
Out of curiosity, was there a specific reason you went from Clojure to Haskell or was it more about exploring a new language?

I ask because I am currently learning Clojure, but wonder if there is something unique that Haskell offers.
Show HN: Four Years of Hacker Newsletter
I like that you think governments do stuff "if they are allowed to do so."

that's the sort of charming naïveté I look for in a date.
There's already a full implementation here: http://www.polymer-project.org/docs/elements/paper-elements....
alist = [foo(word) for word in words if word.startswith('a')]
alist = map(foo, filter(lambda word: word.startswith('a'), words))

Which reads better?
No, if you ignore a tiny segment of the market the changes in screen sizes are tiny. And you have been able to create scalable views (and really have only had the option of doing so) since day one, so mostly you just create a single layout.

The tools on Android are very similar to the ones on the web - they are designed to scale and stretch because they need to.
A Marine Air Ground Task Force (MAGTF) is not supported by Navy aircraft carriers (see Marine Expeditionary Unit). A MAGTF is supported by Navy Landing Helicopter Dock (LHD) class ships that require VTOL capable aircraft. The AV8-B Harrier is the current aircraft that fits this role, which the F-35 is meant to replace.
Researchers develop sand-based Li-ion batteries that outperform standard 3x
Do they say $399 Billion because it looks cheaper than $400 Billion? ;-)
The author misses the point of who AA is intended for. Not every person who goes through a period of overindulgent drinking is an alcoholic. Many college students in the US drink like alcoholics and, like the article says, 75% of binge drinkers cut way back when they get more responsibility. AA, in my opinion, is meant for those other 25%. AA is for the people who have a serious job, a family, or other responsibility and don't slow down.

There are people who hit rock bottom from drinking and realize they need help. For them the thought of getting back to that rock bottom point can be terrifying. Abstinence only isn't forced upon them, but rather it can be viewed as the only option.

This article also doesn't do anything to address drug addiction. I don't think moderating heroin intake is going to be a viable option for people with a heroin problem.

There is certainly a large group of people in the world who can benefit from the treatment described here, but I think the article oversteps a great deal by saying this is a more effective addiction treatment than AA.
The biggest problem with the fad of people going on gluten-free diets?

It means that people become careless - when they encounter someone who actually has celiac disease, they are less likely to treat it seriously.

(Case in point: the guy at the grocer's who repeatedly insisted to a celiac friend of mine that durum semolina pasta was gluten-free.)
The anti-gluten free diet people drive me nuts! No one is forcing anyone to go gluten free.

I had dinner last night with friends, one of who has had really bad allergies for many years. Really bad. Starting a year ago, her doctor started removing things from her environment to see what might be causing the problem. You guessed it: when gluten was removed from her diet her allergies cleared up within a month.

My wife and I eat mostly gluten free because we believe that modern wheat (which is really a different food now) causes inflammation in some people. I spend zero time trying to get anyone else to go gluten free, because except for my family I don't much care what other people eat.

So, if you like wheat products, enjoy!

BTW, you have not seen the new documentary "Fed Up" about the food industry then please do so. This is the movie the food industry (super powerful lobby in the USA, probably even more clout than the defense industry) does not want to see, so you may have to exert extra effort to find it playing.
A really new technique for fighting addiction I've been hearing about lately is Ayahuasca. It is a psychedelic brew that originates from the Amazon. I remember watching an episode of Vice (which I can seem to find) following a heroin addict through his Ayahuasca trip to get rid of his addiction and they claimed that it worked and he didn't get back to it.
> I guess primes is a thing (function?) that takes 2 or more things?

Primes is an infinite list of integers containing all prime numbers. It's not a function, it's a value just like any other list of integers.

You obviously can't do something like that in C++ or most other languages. I think that's a pretty good example to demonstrate the difference between a pure and lazy language like Haskell and the more mainstream kind of languages.

If you're primarily a C++ programmer, Haskell should feel alien to you. It's a good thing. The differences in syntax are only skin deep, the differences in the semantics is what is interesting.
The rise of gluten-free dieting as a fad has some interesting effects for people who actually have celiac disease or gluten sensitivity. On the one hand, increased awareness has made gluten-free food more available, on the other, the stigma against people eating gluten-free has risen. So people who have an actual medical reason not to eat gluten get lumped into a fad diet group.

I have a friend with Hashimoto's Thyroiditis. In recent years several studies have found a potential connection between Hashimoto's and celiac disease (it is still being actively studied, and the link is not conclusive), and so some doctors are beginning to suggest that people with Hashimoto's remove gluten from their diet. My friend did, and sure enough saw some thyroid improvement afterward. She is now entirely gluten free (and has been for over a year), and is often irritated at people judging or questioning her gluten-free diet because they immediately assume it is nothing more than capitulation to an idiotic fad.
7 Πράγματα που δεν ξέρατε για τη Google – SEO | WEB DESIGN
You will find many companies that work in dangerous industries, public or private, have had their share of disasters due to institutional problems.

If you want the result of private companies' work, see: coal mining, oil drilling.
UberX is now cheaper than an NYC taxi
Your example doesnt highlight lazyness like the sieve one does. I would expect to see something like this instead:

fibonacci :: [Integer]
fibonacci = 1 : 1 : zipWith (+) fibonacci (tail fibonacci)
Why would it use bootstrap ?
It doesn't make sense to use it when you know exactly how things are supposed to look and looks are quite different (inputs for example).

Having more choices is nicer.
Freelancers and the sharing economy
Bitching about uniforms is a longstanding military tradition :-)
The Myth of Schema-less
I'm aware of that, but if we could reduce dedicated hosting to a single machine through simpler code, we can feed the information from there into a cloud system. It helps a lot if the machine can be a general purpose one, since that reduces hosting costs, maintenance overhead and risk.
Where has all the light in the universe gone?
It's one thing if you think about your users' needs and decide that copying native style is helpful. It's different if you just mimic the native style without thinking about whether it's what your users need.
I'll try to get one together soon.
The efforts to keep it out of theaters don't seem to be very effective:

http://fedupmovie.com/#/page/see-the-film

The film the food industry doesn’t want you to see branding seems rather successful.
I'm not sure what you're getting at here, or what you are expecting tuples to be like. They can have as much "structure" as you need--they're just a collection.

Lighter-weight, immutable collections have a use case. The code in OP appears to be one where it makes sense. I follow the rule where variables are mutable IFF they need to be mutable.
THE OTHER KIND OF SPEED: WHAT YCSB DOESN’T MEASURE
I think this is a great implementation. Embedding PNGs in to a font feels wrong - surely that doesn't scale up to large font sizes well? Or causes a blurry/pixellated downscaled image? Mixing bitmap with vector seems an odd engineering decision. Microsoft's approach is elegant in maintaining backwards compatibility and also enabling colored vector images on top.

The only downside seems to be a limited color palette, but I don't think that outweighs the benefits, and also encourages a clear and simple design.
> For an emotional appeal to be successful, there needs to be a strong relationship (business, private, social) between the partys involved.

An "emotional appeal" is also known as an appeal to empathy, and humans empathize for many reasons other than personal relationships. When you hear about starving children in some far away place, you empathize, not because you know the suffering children, but because we're hard wired to protect our young. Other times, we empathize because we can identify with another person's experience.

HttpWatch is a tool for developers, made by developers. Their hope with this message is that other developers will identify with their challenges. Every developer who sells their software in the app store has struggled with the pricing question. The addition of empirical evidence to support their pricing was a nice touch.

There's always a skeptical subset of people who will not respond to any appeal. In my experience, that group is overrepresented here on HN, so I'm not surprised at the responses, but my hunch is that this message will have some positive effect for HttpWatch.
#STYLRPORN
The History of WordPress, its Ecosystem and Community
Most likely, split it up and feed it to a distributed internal system that can handle the data with slower processing than the single machine can.
I recently called my senators and congressman about this issue. None of the staffers were able to provide me with their public opinions on the project. Two mentioned that they haven't received any calls on the matter. If you care about this issue, and are a US citizen, call (http://www.contactingthecongress.org/) your elected officials.
3D CSS Typography
> I too dislike tutorials focused around the REPL, because it's rarely how you write code in practice....

> The preferred tool for writing Haskell though is emacs...

I understand, but if your goal is to pull in new Haskell programmers you want to grab them as quickly as possible. You want them to try something immediately, not force them to invest in a toolset from the get-go.

I wasn't interested in Haskell until I used the REPL. It allowed me to get immediate feedback on how Haskell works. The tutorial got me engaged quickly.
Google Drive Found Leaking Private Data
On page 8 they bring up this up:

"Pinkmeth and TOR conspired to and had a meeting of the minds regarding the commission certain torts against Plaintiff more adequately described in paragraphs 5.1 - 5.15 above, as well as certain felony offense described in paragraph 4.8 and 4.9 above. The specific object to be accomplished by the conspiracy was the publication pornographic images of Plaintiff (and other women) on the Pinkmeth website"

I think "conspired" may be a little misguided here.
Ask HN: When and how to outsource software development?
I'm trying to find out more about outsourcing software development (as in, paying engineers that aren't your employees and possibly live in another country).

As an engineer in Silicon Valley, I know very few people that outsource their development and haven't heard many success stories (I recently learned that fab.com is built by a team in India that used to be a development agency, though). I do, however, see a lot of potential to accelerate or reduce the cost of development for certain types of projects.

Would you mind sharing your experiences with projects that went well or not so well? Is there ever a good reason to outsource development, even if you have in-house developers?

How do you make sure the development team is any good? Or, how do you find a good team?

Is there any forum (in real life or online) where people who outsource development and development teams congregate and discuss best practices/challenges?
He's right about so many things. Especially what is the F-35 good at: "spending money". The whole idea of multi service multi mission fighters is laughable, like saying you only need one programming language to write everything imaginable. Having worked on the F-16 I still think it's an amazing plane with a great track record of doing exactly what it was designed to do.
I personally find Google's offering nearly unusable as someone who primarily types Japanese via romaji. The vendors do a much better job but I found the fastest way for me was Swype. Emoji support is basically non existent though
The Informant: learn from your users' mistakes
I don't mean to be pedantic, but a list (I am assuming df is a list) requires an int.

(That sentence I wrote about using hashable types need not apply, sorry!)

If you ran that code, you would get this error:

TypeError: list indices must be integers, not list
Hackers attacks on World Cup-related websites
Very strange that this story is on front page instead of the original.
https://firstlook.org/theintercept/article/2014/07/09/under-...

neutralitymentality said that his post of the source story was taken down on twitter.

https://twitter.com/BenDoernberg/status/486737087992201216
Show HN: Hyperledger – Open Payments Protocol
That sounds like a pretty easy application then, just rewrite some addresses and put back out on the wire again (hardware should do checksum offload). Probably a bit more to it but definitely worth giving Snabb a go for that.
Until something doesn't work. And it's not their code that's at fault.

How many frameworks is this sitting upon in the 'cloud' ?
NB a tuple of one item only requires a trailing comma, and a tuple of zero items is represented as ()
Also known as "design by committee".
This article matches up fairly well with the lean startup 'engines of growth', except that the 'sticky' engine is missing.

That said, I never really understood how 'sticky' was an engine of growth, it seems more like an 'engine of retention'.
The OpenCellID data is collected by volunteers via smartphone apps.

The location of the phones on the map is where they were when they reported the base station.
Requiring vs. Browserifying Angular
In order to create a fake record, you would need to replace the PGP ID on the registrar's record. In order to that, you'd need to intercept and decrypt a PGP encrypted email. In order to do that you need to be in possession of the private key and have the passphrase. An attacker could steal the private key from the domain owner's computer [not the server] and install a keylogger to get the passphrase ... or an attacker could produce a private key from a public key... good luck with that one...

The system I've laid out would be significantly more secure and less spoof-able than the current system. Further, DNSSEC becomes entirely unnecessary...

Also, it is entirely possible to create a registrar which would store all user record data in an encrypted store which could also be encrypted using a domain owner provided public key... if this were added to the architecture, no government entity could modify anything regarding a domain - except replacement of the entire record.

Of course, since the entire system current and any possible future Internet relies upon computers and networks that are explicitly not under the control of the content provider - any government can at any time break the system... This is always going to be true of any and every system of wide networks.

EDIT: Computer A and B need a third entity C to validate A to B and B to A. True... However, this does not need to be a computer -- it could very well be a cryptographically generated unique ID... In my example "C" is the PGP ID. However, it could be any cryptographic item that is tied to the domain record and only modifiable using the private key that generated the unique cryptographic item... for example, it could be a bit coin address.
>This is the movie the food industry

The "food industry"? You mean the same one that's slapping "gluten free" labels on anything and everything, while upping the price to take advantage of all these fad followers?

Yeah, I'm sure they are devastated. This is a food marketers dream.
Tor Project sued for $1 million in revenge porn suit
I'd love to see a screenshot, if you want to tweet or email me. I never had any problems testing it on Safari.
The core infrastructure for variable screen sizes and densities was introduced in Android 1.6 Donut (September 2009). There have been improvements with newer versions (e.g. more sizes and densities), but that's straightforward to deal with.

The other big improvement was the Fragments API that came with Android 3.0 Honeycomb (February 2011), but that came with a compatibility library that worked all the way back to Donut. And it was more about decomposing your UI into components that could be arranged differently for phones and tablets, not about adjusting a single UI within a device class.
Nice tool, the free trial for team version could be longer.
you can consider a list comprehension to be a sort of literal representation of the result of map. I think literals have a benefit for code readability and should be used when feasible (i.e. the literal is compact enough).

the other reason its considered more idiomatic in Python is just because the compiler does a better job of parsing and optimizing list comprehensions.
Quite a bit more to it, but it does sound like it could be a fit. We'll give it a try when we get to the point where our regular intake methods aren't enough :)
I can't say explicitly; Haskell is something I keep coming back to playing with but I've never used for any real development, so I can't directly compare them.

With that caveat though, Erlang and Elixir are gentler introductions to FP if you've never experienced one, yes. But I wouldn't describe them as functional programming languages, but rather -concurrent- ones. They -will- change how you think about concurrency, distribution, and fault tolerance if you're coming from a more typical OO paradigm.

Let it crash, and all the mechanisms and decisions made to ensure that that is a viable strategy, the per process encapsulation of state, the message passing paradigm, the extremely cheap concurrency, and yes, the functional aspect of it, have changed my coding patterns in pretty fundamental ways.

To give a real world implication, I had a situation where an unknown number of scheduled tasks had to fire, each one involving multiple steps, with each step being itself a scheduled event (and those times could change). Some could start at the same time. Each one entailed a non-trivial amount of work, IO bound.

The traditional approach would be to create a thread pool of the maximal number of simultaneous things I wanted to support, create a heap or similar of all scheduled tasks, peek at the top of the heap, sleep until that amount of time, then put that task onto the threadpool. Repeat. Any changes though...the heap would have to be rebuilt. Or whatever. A whole lot of bookkeeping, basically, and a data structure that does not map to what I'm doing, and which requires locking, and possible race conditions and bottlenecking.

In Erlang (and Elixir)? A new process per scheduled event, with a paired timer process to send it a message when it's supposed to start up. Each process is responsible for its own timer; updates to a process cause it to modify its timer, and if a task involves multiple time separated steps, it just creates a new timer when it finishes one, to wake it when it's supposed to do the next. There is no interaction between scheduled items, so why should I have to code around dealing with all of them simultaneously? No locks, no race conditions, no bottlenecking. Bugs are pretty much guaranteed to be in the task code itself, rather than in the task scheduling code, and are much easier to track down and solve.
Some good reading on this topic:
http://moz.com/blog/sense-of-community

http://ryanhoover.me/post/77704756875/the-building-blocks-of...

https://www.quora.com/How-did-Instagram-build-up-its-communi...

http://www.inboundpro.net/16-influential-bloggers-reveal-bui...
FWIW, I have witnessed a few projects that went terribly wrong (usually, because I was called in to salvage the project).

From sitting in on some calls, it became clear that a large source of issues were misunderstandings between the client and developers. Usually those misunderstandings were around technology.

This is one category of issues that would be less likely to happen if the client has some technical knowledge.