skysight-inc/HackerNews huggingface dataset:
> lots of things can go wrong in any language

Some languages, by design, exclude or drastically reduce certain classes of error.

Edit: I think I'm missing the point too. Proposing the perfect world as an engineering solution is silly. So in the context of "it's written in C", checklists would be a step forward.
I never worked on glacier, but I can second that at launch it was commonly internally discussed as being an s3 front-end.
If I understand the Java 8 example correctly, the Http.handle accepts an interface as well (the Handler interface with a single method). Java compiler is smart enough to automatically convert functions into objects satisfying interfaces with exactly one method, while Go compiler isn't.
The heavily-graphical "grid" front page assumes that the best Wikipedia articles have curated, attractive graphics to place in the grid. As a rule, they do not. Wikipedia is a volunteer project, and there are no editors or in-house designers to keep articles fashionably decked out. Not only that, but Wikipedia is at a disadvantage w/r/t/ graphics: the site tries to be scrupulous about copyrights, and can't appropriate random images or, for that matter, pay licensing fees for them.

Similarly, some of the layouts of the tiles in the front-page grid appear to have carefully chosen typography. Who's doing that work?
But what exactly is the difference between a freelance contract and an employee contract? You can work freelance for a company for several years? Aren't all the employee benefits just negotiable things that a freelancer could negotiate as well? I think in that wider sense everybody is a freelancer. Everybody has to decide for themselves what job to take on, and what compensation they get. Job security is also something that has a certain value.

You can maybe argue that some people are completely unable to make those decisions and society should just make the decisions for them ("you are going to be a plumber" and so on...). That line of thought quickly leads into weird philosophical territory, though (freedom, free will,...).
Side note: ?refresh=1

Reloaded the page in the middle of reading it. Why?
"launching satellites designed to either kill or spy on anyone by launching more tentacles of the octopus!"

Satellite designed to kill? I think that's more a plot line to a movie. I don't think we've launched, or are planning to launch any killer satellites.

And, with regards to "spy on anyone" - isn't it generally considered that transparency is a good thing for geopolitics? The physics of satellites/optics are such that you don't really need to worry about satellites personally spying on you beyond the resolution of a vehicle...
With software this should be your test suite. No test is too simple. No feature or detail too small to test. Replace the line "relentless checklist" with "relentless testing" and you're good to go. Don't deploy before all tests are green and that's the same as not flying without running through your checklist.

I grew up flying with my dad in his Cesna 172 and admiring how well the pre-flight checklist worked. When I first heard about TDD, I immediately recognized it as the same process, except automated.
The problem is that C requires positive effort, above the baseline, to have those guarantees.

Any system which relies on positive human effort is more likely to fail than a system which simply sets a higher baseline.

You can be safe on a motorbike if you are very careful, avoid dangerous conditions, drive more slowly than you want and practice extreme care around cars. You are still more likely to die. The baseline is simply lower and, when things do go wrong, you have less safety buffer than someone in a car.
Write up a simple partnership agreement that assigns interest in the partnership.

Or don't, you already have a partnership with him. But with no agreement you'd have to follow default partnership rule. 50/50% split of profit, assets, and debt.
Work remotely while living in S.E. Asia, maybe? If you can find stable work you'd be able to save huge amounts.
> Each generation that goes by, your relative contribution is halved.

I prefer a different way of measuring contribution: suppose that (for simplicity) the checkpoints on the progress of humanity are fixed and the only difference you can make is to delay or accelerate reaching the next checkpoint. Your contribution is how much time you've won or lost for humanity. Then contribution stops being relative – if you've made future happen five years earlier, this is permanent, period. Your children and grand-children will arrive into their respective futures five years earlier, too, because of you.

> that too is usually a rounding error.

There are no rounding errors! Why do you think that just because you can see how much you've influenced one person thru parenting, but can't see how you influenced the entire world thru your actions, the first influence is somehow “bigger”? Yes, it's epsilon, but it's epsilon × world. And the world is big.

(By the by, the same logic applies to voting – yes, your contribution to the final decision is small, but since the decision itself is so important, in the end your contribution doesn't turn out to be less than contributions from your other decisions.)
>Wikipedia is one of the most visited websites in the world. It hasn’t been changed or redefined during the last 10 years.

Actually, Wikipedia switched to a new theme a few years ago.
The page doesn't load completely for me. I'm using the latest Chrome.
I'm not sure how you think a person's political leanings are even a little relevant to this discussion.
"Ptr a" is an equivalent, in many senses. It's quite true that use is far less in idiomatic Haskell, especially as you're restricted to IO when operating on them.
In deference to comments made, I've removed most of the information I originally posted. I included titles and web domains, but now I quote just the HN references.

There have been several previous posts of this story. Here are some.

https://news.ycombinator.com/item?id=7648105 (some discussion)

Here are others, without significant comments:

https://news.ycombinator.com/item?id=7648225 /
https://news.ycombinator.com/item?id=7648748 /
https://news.ycombinator.com/item?id=7649108 /
https://news.ycombinator.com/item?id=7649218 /
https://news.ycombinator.com/item?id=7649504 /
https://news.ycombinator.com/item?id=7651066 /
https://news.ycombinator.com/item?id=7652383 /
https://news.ycombinator.com/item?id=7653026 /
https://news.ycombinator.com/item?id=7654433 /
https://news.ycombinator.com/item?id=7654821
I don't agree with the OP's position, but we are launching satellites designed to kill, or at least testing their feasibility.

https://en.wikipedia.org/wiki/Prompt_Global_Strike
CEO Gurbaskh Chahal Fired by RadiumOne Board
Good point about the macros and mutability.

There's FP vs imperative and then there's FP vs OOP. Scala is the FP-OOP hybrid and Scheme is the FP-imperative hybrid.

These are vast simplifications but useful to start a conversation with. Thanks!
Been working on adding new search providers to StartHQ cloud search.

Screenshot: https://www.dropbox.com/s/nqe7yy4ledz82hc/screenshot2.png

API docs: https://github.com/starthq/search#readme

Sign up link: https://starthq.com/signup
I think the concern is not that hustling-based work exists, but that other types of work will increasingly struggle to compete with it. It's true that a stable middle class with a high standard of living is a recent innovation, but that's no argument for letting it slip away. It was a good innovation, and it makes sense for people to fight to hang onto that way of life.
The Theory of the Firm is an interesting and foundational one, but we should be careful to define "free market" in this context. A labor market still exists inside, outside, and between firms. Firms are simply organizing small aspects or chunks of it. They are both part of, and subject to, the broader labor market.

ToTF is actually a very interesting framework through which to evaluate the "Sharing Economy." It suggests that transaction costs for certain goods and types of labor have been lowered to the point where freelancing / ad hoc exchange makes sense. But there is still an organizing force underlying these pockets of the market. Lyft and Uber haven't eliminated the previously existing firms in the taxi marketplace. They've organized the market more effectively, and in some cases, they've lowered transaction costs for the marginal labor supply who otherwise would not have entered the market. They have also increased and aggregated demand, further incentivizing latent supply to come online. The story of Lyft and Uber is largely a story about how technology made inefficient markets a lot more efficient.

I'm not sure I see the connection between these companies and the plight of the middle class in America. That's where the author of this piece loses me. It's almost as if he's covering two interesting, but tenuously related topics in the same piece. The "hustling" imperative is an interesting one, however, and he's on to something with that.
Wow ... yeah absolutely... I m thinking on similar track. Anybody having an idea could write his blog this way.
That's an important point, but since you can't test for undefined-ness it's not quite the same thing as carrying around something that's actually a Maybe Int but just hopes you'll check before implicitly using fromJust everywhere.
Not annoying at all...
My wife taught 5 fitness classes a week during our 4 children's pregnancy, and they are all geniuses (no bias here).

More seriously, in Arizona I have had friends that were pregnant told to "take it easy" and "don't lift more than 10 pounds" but for the most part the advice is that exercise is good. Usually instructions to avoid exercise are only given when the doctors fear losing the baby due to some other complications.
That is not a satellite.
> It also meant money that could have gone to the hotel owners (capitalists with multi-million pound investments) instead went to a family which was spending time abroad on a cycle-tour through Germany.

The money you would have paid to a hotel would have been split between the employees and the owners. For your Airbnb stay, a 6-12% guest service fee [0] and a 3% host service fee [1] was paid to Airbnb, who are analogous to the owners in the hotel situation.

You are perfectly right that you made savings by not paying for services you didn't want, but the "sharing" model hasn't eliminated the role of the capitalist class, which is implied by your post.

To take a much broader view, although our global production capacity has increased markedly, so has our consumption, which ultimately causes prices of these goods to remain relatively high to people on locally average incomes. One might hypothecate that we could maintain our higher production with a significantly smaller global population (and correspondingly lower consumption), which would make real inroads into lowering prices for common goods, but I really have no idea as to whether or not that is true.

[0] https://www.airbnb.co.uk/help/question/104
[1] https://www.airbnb.co.uk/help/question/63
Ask HN: Best Firefox phone to get?
Anyone using firefox phone as your main phone? Do you like it?
Which phone would you recommend to get (assuming price is not an issue)?
Except for one with 7 comments there are no discussions in them. A lot of articles with identical topic are usually posted on HN, yet the only relevant ones are those with activity. Others fade automatically.

Do you have a purpose with your fullscreen comment?
Congress Screwed Up Net Neutrality, Not The FCC
Take a look at the older BBC "Connections" documentaries by James Burke.[1] They're really fascinating, however they have a strong editorial presence. In my view, like with Sagan's Cosmos, the presence of the series creator's point of view can make the content more interesting than a collection of data alone.

However, people do really enjoy TV tropes, so a huge effort to categorize everything could attract a huge audience, too. Such a site would be a good source of inspiration for new ideas incorporating older ones, too.

[1] http://www.youtube.com/watch?v=plgLCYha7pE&list=PLGi4Jd5YfR_...
Extendable User Interface Framework for Games
`undefined` is used as a placeholder for yet to be written code; since you cannot do anything meaningful with it, it is never used in practice.
You can at the very least send each other a zip file containing the .git directory. When you extract that directory into a separate directory, you can add it as a remote and fetch/pull from it (because that's the entire repository right there).

What I usually do is I copy the .git to another name before running zip, so it doesn't extract as .git :)

This is also one of the reasons you shouldn't commit binaries, especially large ones.
Inside the ‘DarkMarket’ prototype, a Silk Road the FBI can't seize
I don't understand why designers refuse to pay attention to typographic guidelines. 95 characters per line is not very readable. To be fair, Wikipedia already suffers from this problem. Between 100-character lines and sans-serif body copy, Wikipedia's current typography is abysmal.

Otherwise this concept is fine. I'd love to see Wikipedia reset in Meta Serif or Tisa at 66-72 characters-per-line.
>"you have to write clever, complicated code to make haskell work"

Haha, no. I write pretty dumb Haskell myself. The author might've tripped into a library beyond their faculties. Also possible, they might've tried to make something "practical" before they really knew what they were doing. I made this mistake in the past myself.

The library I've been working on makes my boring Haskell obvious: https://github.com/bitemyapp/bloodhound/

I even tweeted a sample of my code making fun of how "stupid-simple" my Haskell is :)

I might refine the code later, but for now I'd rather KISS until I'm prepared to firm up the design.

You can get down a rabbit-hole with Haskell if you want, but the same is equally true of Clojure/Scala/C++/Ruby/Python/Perl.

Even then, the rabbit-hole at least has typed hand-rails.

Negatives?

Uhhh, missing libraries (which I am working to help remedy)

You develop a "nose" for libraries for which you aren't the audience. It's not a big or unavoidable negative, but there are definitely libraries on Hackage made to prove a point rather than for use in production. These libraries are easy to identify. Some of them are prefixed acme-*

The primary negative that matters is simply that Haskell is deeply unfamiliar to most working programmers, so while it's 100% worth it, the road to Haskell isn't as well-trodden or smooth as it would be going between Python <---> Ruby.

I'm working to remedy this as well. I've been teaching Haskell for the last ~6 months.
Off-topic: Is the person in the video a little person, or is this some strange effect of my hangover from last night?
I've got a couple, shoot me an email. Info in my profile.
Wikipedia just redesigned, actually, but it was a mere refonting which most users barely even noticed (the most noticeable change was that the headers were converted from sans-serif to serif). There was a slightly-more-ambitious redesign that emphasized white space (like this one), but the foundation threw out nearly all of the changes because users didn't like them.

http://www.fastcodesign.com/3028615/the-beautiful-wikipedia-...

http://associationsnow.com/2014/04/wikipedia-redesign-barely...

I'm not saying unsolicited redesigns like this don't have value, but there's a decent reason why an unsolicited redesign like this will never go over with its audience: Wikipedia is the ultimate design-by-committee product, and the users have a lot of say as a result.

Also, Wikipedia has to hit a wider body of users, from dumbphones to outdated browsers. That's a problem with redesigns like this in general: They're not thinking in these terms because they're designing for the high end. Wikipedia is a site that needs to prioritize the low end because it's run by a nonprofit foundation whose goal is to spread information, not just create a snazzy user experience.

It goes against everything we know about product design, and I agree it could look nicer, but the current design approach works for the Wikimedia Foundation.
In a few days, the tail of Halley’s comet will “hit” the Earth
Fair enough - you could probably make that clearer in the write-up...
If you work in an environment where such rollbacks are that simple, you're in the rare minority. The reality of working with large-scale distributed systems is that rolling back becomes much more complicated. Push out new code and the accompanying DB schema change? Good luck rolling back to the older schema when you find the bug.
My current team is the first one in my career as a software engineer in which our testing infrastructure is robust enough to think like this. I just resolved a bug this week by writing a test that failed due to its presence (and leaving a comment with the ID of the bug), changing the code, then re-running the test to ensure that it passed. This confidence in our code base is wonderful; I have never felt so little fear when deploying.

Looking back, it amazes me that I ever didn't develop software this way.
The TeX tuneup of 2014 [pdf]
Yes. Did you read my comment? "[...], or in this example a extension for it"
I will in just a sec.
Fighting Spam With OpenBSD's Spamd(8)
Thanks guys for the great advice.

Many times HN is full of people just picking apart things because they can. This was good stuff. Thank you.
> you don't really need to worry about satellites personally spying on you beyond the resolution of a vehicle..

"The IMPROVED CRYSTAL's sophisticated electronics provides sharper images than the KH-11, comparable in quality to the best of the film return satellites, with a resolution approaching ten centimeters. "

http://www.fas.org/spp/military/program/imint/kh-12.htm
I hate mobbings as much as anyone, but I have to say, this is one lousy character the tech scene could do without. His self-defence post earlier today, including gems like:

> The situation that resulted in my legal case began when I discovered that my girlfriend was having unprotected sex for money with other people.

( http://recode.net/2014/04/27/gurbaskh-chahal-says-he-didnt-d... )

...really drove home the point that this guy shows no guilt or remorse for anything and was still, until today, thinking he could get away with it.

Some people are worth using the court of public opinion to attack. People like Tom Preston-Werner or Brendan Eich, imho, didn't deserve the level of attack they got, particularly considering the case was not so clear in their cases (lack of reliable data in Tom's case, distance from the guilty event in Brendan's). But this guy deserved it and I'm glad he got it in the end.

It would have been a terrible misallocation of outrage if Tom and Brendan lost their jobs for their actions, but this guy didn't.

Good riddance.
Doesn't really need an app, just needs a phone number. Even if your initial marketing list for a business is every customer they've ever had, you're still starting with something.
An Introduction to Emacs Lisp
Don't strike anyone, regardless of their gender. That shit is serious legal business. Things kids did while fighting on the school yard become felony charges as adults. You can't use physical violence against anyone. The government has a monopoly on the use of violence.
The ballot box is a placebo: http://talkingpointsmemo.com/dc/princeton-scholar-demise-of-...

If you want to change what government does, do everything you can get away with to change it. That's how the people who actually get their way do it.
It depends on what your definition of HFT is. But they were frequently responsible for ~20% of equity volume in a day. They were market making purely electronically & at low latency. That hits nearly every definition of HFT that I know.
People always say "go talk to a lawer!" but someone in this situation likely has no idea how to even find the proper lawyer.
First, thanks to everyone for their advice. I'm reading carefully.

Replying to your comment: yes, I think he is a good guy. But in all honesty, I would like to finish the product and stop working on it while holding to some (even small) equity in case the company succeeds.

We've already outlined a plan to bring paid developers onboard. Once it materializes, I would like to do less and less until completely detached.

It all started as a good idea and I had a lot of fun building it. Looking back, I see the quality of our current product and the time I've spent on it, and I think I should own part of it even if I don't continue to be involved in its potential success.
Historically, Hacker News commenters hate this kind of comment. I like it, though.

At one point, RiderOfGiraffes even had a bot...
He's also a keynote speaker at this year's Scala Days conference.
The problem of re-designing something as popular Wikipedia (especially something useful that has not changed in 10 years!) is that regardless of the result (i.e. better or worse), you will face _fierce_ opposition. Humans are very sensitive to anything that changes their mental model of how they think something should work.

Think about radically updating some of these to see what I mean:

- Facebook Newsfeed

- HNs homepage

- Vim interface

- Google Search Page

- Craigslist homepage

- Your favorite web mail client

- Your favorite Smartphone main screen

- Reddit homepage

You can come up with the most amazing forward-thinking improvement, and somebody without a doubt will send you so much hate that you'll think it is that person's only goal to wipe out your family line.

This doesn't mean we shouldn't do it, it just means that we have to be aware of that section of the population and come up with a strategy that either does 1) a slow migration for the people with old mental model, 2) provides an alternative "classic" view, or 3) completely ignores that section of the population since they may represent a very small minority. I tend to go for 1,2,3 in that order, but of course this can vary differently depending on the project.

Nice job with the re-design by the way :)
Maths spying: the quandary of working for the spooks
That's what I first thought. Then I realized that test suites as most people think of them would not have caught the Heartbleed bug, whereas a checklist like this would have done so.

Testing is testing, but there are different ways of thinking about it, and different ways to have it embodied. Test suites are one embodiment, and higher-level checklists can complement them.
Division By Three (2006)
Combinatorial Generation Using Coroutines With Examples in Python
But how did you capture the actual bytes on the network (that you would later parse as SIP)?