skysight-inc/HackerNews huggingface dataset:
Different tools for different jobs. Being able to develop code quickly is a huge win that Python delivers. Sometimes that makes Python the right tool, e.g. Youtube. Other times slow execution speed makes it the wrong choice.

[0] http://www.gooli.org/blog/youtube-runs-on-python/
I'd like to argue from a Haskell backend perspective that monad transformers deserve exactly the complexity they expose. They give you a handle to factor side effects in sensible ways and to express that code requires exactly some set of effects and no others.

It is not always clear how to factor code which does not have this rigor into effect-typed form. It can be extraordinarily difficult to recognize what effects are being carried out in which parts of code at first—especially if you haven't been forced into the discipline early. Thus, I find it unsurprising that you feel the translation effort is challenging.

But, coming from the other angle—building things with well-defined effect typing from day zero and composing pieces atop one another to reach your final complexity goal—works exceedingly well. Better, it forms a design which can be translated to untyped settings and retain its nice composition properties.

Which is to say not much more than: there is some logic to all that madness and once you're on the "other side" it's hard to judge these "incredibly complex type idioms" as anything other than useful and nearly necessary for sane code reasoning.

I miss transformer stacks a lot when using other languages.
Its the old observers paradox. "I haven't had a bike accident, so bike helmets aren't necessary". Nothing works but resorting to the statistics. What statistics have you to offer?
Gallery: A rare peek at San Quentin prison–and its newbie coders
Buffer Review – How to Rule Your Social Media Posting Schedule
How is python substantially different from javascript in this case? Google has a crazy fast javascript JIT compiler, even though javascript has something equivalent to python's setattr().
Which database do you Go for? Is the driver production ready?
While it's a pure implementation issue, it's odd that they haven't at all addressed app's crashing through packet fuzzing, because that's an excellent zero-day candidate.
What about

function nothing() {
return {
match: function(cases) { return cases.nothing(); }
};
}

function just(x) {
return {
match: function(cases) { return cases.just(x); }
};
}

just(1).match({
just: function(x) { return x + 1; }
nothing: function() { return 0; }
});
https://itunes.apple.com/gb/podcast/more-or-less-behind-the-...
Release to where? Only the carriers have access to the GSM network, you can't run that code anyway.
Automated End-To-End Email QA
>That said, I am curious what solutions this solves that isn't already solved by enforcing good code coverage.

The (supposed) need to have "good code coverage" is itself a problem I'd like solved.
For what it's worth, the go team's plan is to automatically translate the compiler to go, not to rewrite it from scratch:

http://talks.golang.org/2014/c2go.slide#18

And, the gccgo compiler does leverage gcc, assuming that counts as a mature compiler:

http://blog.golang.org/gccgo-in-gcc-471

. Neither of these contradict your implicit point of "they chose to invest time in this port instead of trying to maximize performance ASAP", but you still might want to know.
A bit OT: bicycle corridors are one thing in SF that is mostly good with a bit of second order bad.

Good – if you know the routes you generally try to ride with other cyclists, safety in numbers. Plus the wide green lanes help make it abundantly clear to cars that this is a bike lane.

Bad – the other streets turn into crazy biking gambles. Every once and while I see someone riding on Guerrero and want to yell at them to go one street over (Valencia) and reduce your collision chances. It emboldens bicyclists to not follow the law quite as well, or maybe since the sample size is high, I don't know.
I would call equating anyone who pays tax (including powerful CEOs of major companies) as having an experience 'not significantly different' to a slave as 'nebulously hypothetical'. Paying a bit of income tax and sales tax while holding the ability to move around, go off the grid, retire, or emigrate (amongst a vast range of options) is not even remotely similar to being lured to another country with lies, having your passport confiscated, and being forced into prostitution and having your every waking movement dictated.

The extent to which libertarians demand to be painted as hapless victims is incredibly frustrating.
Lots. If you could make one, it would sell quite well. This leads to question… why nobody did so earlier?

The problem is, that everyone's problem is different. "Time Series" is a very broad topic; you apply widely different algorithms to time series related to social activities (e.g. energy usage over the year; lots of seasonality, anomalies), financial activities (e.g. stock prices; modeling various market limitations), machine-generated events (e.g. server logs; text parsing, usually simple statistics), scientific experiments (e.g. intensity of an observation in a short time span; very specialized algorithms for basically any experiment). Moreover, even in a single class of data, most actually good ML algorithms require heavy tuning in terms of setting parameters, evaluating performance, etc. There are algorithms that don't have many knobs to tune, but their performance is often subpar too.

In the end, you'd end up with a product that either is so generic that it doesn't do anything well, a product that basically only stores data and does simple statistics (influxdb, druid…), a specialized product for a specific market (there are already lots of them, e.g. for server logs there's Splunk, which is basically `grep` on steroids).

I'm a pessimist here, but only because I'm actually working with time series data in two of those settings (server logs, scientific experiments), and had to evaluate what's on the market (I use a commercial package for the first one, and I ended up writing my own scripting in `R` for the second because, seriously, there's no software package that would be powerful enough to have all the knobs I need, yet be simple enough to use). I'd love to see an actually featureful time series software, but I fear starting from a generic "Time Series" database will bring nothing new to the market.
This was not a private dinner between friends.
Interesting trends regarding the "fearlessness" in the NFL suggest that all the advances in modern head protection cause the player to feel a greater sense of invincibility, thus resulting in bigger hits/injuries -

Exibit one, Kam Chancellor, The Touchdown Canceller: https://www.youtube.com/watch?v=mThE69llX34

While it will never happen, what if they considered removing helmets from the game? - These guys would be so much more cautious (e.g., Rugby) of how they hit. Tons of injuries still? Sure, but I'd be willing to guess a massive decrease in major head trauma.

Back to bikes, regardless of the data, I'm still protecting my own head whenever I'm commuting while not protected by a steel cage.
Just remembered I've had an Espruino controller in my drawer for like...a year. Whoops.
I think Sarah's sensationalizing it because sensationalizing things is her business. That's all.
Yes! And a slightly strong blinker. I have had to let some riders know that their blinkers were too tiny/weak to be noticeable.
Additionally if you ride a bike, grow your hair long.

Dr Ian Walker did some experiments with a bike fitted with an ultrasound distance meter and found cars kept a greater distance to people with long hair.

http://drianwalker.com/overtaking/overtakingprobrief.pdf

Alternatively, fit your bike with a flame thrower - https://www.eta.co.uk/2010/09/29/bond-bicycle-boasts-ejector...
Ask HN: A big company wants an on-premise license of our SaaS app
We are an early stage startup with a B2B SaaS service. It's basically an API and a Web App people can log in and pull reports. We bill per API request.

A big company approached us wanting to license our app on-premises. They claim it's a security concern and they never use SaaS services, preferring to host everything on their own datacenter.

This is a really big customer, both in terms of money and display/portfolio. But there are a lot of DevOps implications like updates, new features, possibly different code base and teaching them the nuts and bolts of hosting our app.

Should we do it? If so, what should be keep in mind? If not, how can we justify this to us and the stakeholders?
"the other tablet maker's choice"

I assume you mean android and not microsoft phone or something.

I use these for BT with android and an arduino mini. And some other devices.

http://www.adafruit.com/product/1588

aka the famous $20 Bluefruit EZ-Link

On the android side I use an app called blueterm once I connect. Its pretty boring, it just does its thing. I would imagine writing an app on the android side that does something useful and gets it on the tablet would be quite a challenge. So the BT link itself is not really the limiting factor.

Ironically in an article about programming devices, there is some weird funkiness with linux and various desktop environments and OSes such that its non trivial to wirelessly reprogram arduinos, something about toggling the DTR at the right speed and time, although the RX/TX work just fine.

I have no extensively experimented with range.

Looking at "radio shack type price markups" I think a DB-9 and hood and some cable would be a significant fraction of $20, its not like we're comparing a 5 cent solution to $20, more like $7 wired vs $20 bluetooth. On the other hand it bothers me a little to connect a $20 BT dongle to a $15 mini.
Okay, let me ask a dumb question.

Tufte's stuff is very arty and pretty. But is there any scientific evidence that it is BETTER?

For example, do his font choices result in less eye fatigue?

As blowhardy as I find Nielsen Norman Group, they tend to back their web usability stuff up with actual data and analysis.
There is a degree to which scale makes it necessary to develop these sorts of projects. Losing 1% of productivity in a engineering group of 10 people might not be a big thing, but at 1000 people that's 10 full-time people worth of productivity you're losing. Dedicating 1-10 people for a few months or a year (or even two years) to remove that 1% productivity loss is clearly worth it.

Documentation costs productivity to write, but when there are many people who would be made more productive from it, it makes sense to do it.

I think "slack" is the right way to think about it. It isn't a free-for-all - the business still needs to run - but there's enough space to explore, to rewrite, to document, to polish, and so forth. That's where the magic happens - the unplanned and the unexpected things around that which you thought you were going to do.
^- please don't upvote this :) I was a zero off. They're $20k each.

Which considering the infrastructure upgrades involved is still pretty impressive. I doubt there's a fiber line to each of the payphone locations.
> I'm interested in who is the driving force behind this open source change in Facebook, I don't recall facebook in behaving these way 4 years ago. [..] Can anyone find anything on a policy change that happened? They really turned around.

My guess is that Facebook was just much smaller 4 years ago, over that period its staff grew very quickly. And even today it has an order of magnitude less employees than say Google, Apple, Microsoft, etc.

Larger, more established companies have more opportunity to open source things on this scale.
In the Netherlands we have dedicated cycling lanes along larger roads and car drivers that are comfortable with cyclists. Almost everbody cycles, nobody wears helmets. And we haven't got a raised head injury mortality or paralysis rate because of bike injuries. I've never had an injury and probably traveled more kilometers by bike than any other means of transportation.

I do wear a helmet while road biking but that's a whole different topic.
Another thing to keep in mind: head and neck injuries might go up because accidents which would have resulted in death now result only in an injury.
I would disagree. If you can have a discussion with your adult passenger, you can have a conversation with your kid. Ask them how their day was, do they have homework, are they excited for soccer tonight? It all goes a long way to making your kid feel special, developing communication skills etc.
Unless they had a flag... I would think so.
Zenly – online apartment rentals with video tours
Guessing, locality of reference might play a role.
In the large multi-contributor dynamically-typed codebases I've dealt with, type errors are very rare.
I'm not sure riding defensively is always the best thing to do. For example, say you are in a narrow road, and a car behind you has barely enough space to overtake you. A defensive rider would move as far to the right as possible to be overtaken, which is very dangerous, while the correct answer would be to ride straight in the middle of the road so that the car driver is not even tempted.
Review of Existence by David Brin
Because saying it like sounds like they are merely using buzzords instead of clearly stating why their system is secure. To me it seemed that the intended result for the user was to think:

"super cryptographically secure 160bit secret folders!"

While they should have gone for:

Our algorithm to hash folders produces hashes 160bits long. Which means that 2^160 -1 different folders can be securely hashed!

Of course they diden't say what they meant with 'secure' either. Will two folders that are both very big, and only differ with 1 bit produce the same hash yes or no? Is it possible to reverse this hash easily? Can it be brute forced? That kind of stuff...

Having said that, it does appear that this post was aimed at non-technical users. So perhaps it's not a bad way to rebut the claims about leaky security.
In the Netherlands, where 30% of trips are by bike (compared to 1% in the US), almost nobody where a helmet, and it's extremely safe. It's almost impossible to go over the handlebars on a Dutch bike. You're sitting upright, you're going slow, the roads are safe, and there are no hills to go zooming down. Dutch cycling is basically at jogging speeds. Nobody expects joggers to wear helmets.

However, when Dutch cyclists do go fast, they wear helmets. In Dutch there are even separate words for everyday cyclist (fietser) and speed cyclists (wielrenner):

http://bicycledutch.wordpress.com/2012/05/28/lycra-on-the-st...

I live in Seattle, where we have killer hills and shitty bike infrastructure. I always wear a helmet, and I've had three minor crashes that would have been major crashes without a helmet. When I finally move to the Netherlands, I'm not bringing my helmet with me.
Yes, thinking about it more that was a rather stupid thing to say.
we work with <leading_affiliate_marketplace> and it is really hard for us to find quality affiliates. it feels like they do whatever they can to get us trapped into browser software and coupon websites, our profits are just completely cannibalized. can you please email me at dsugarman @ zentail, we would love to work with you!
Please, wear a helmet. The costs of not wearing a helmet can be severe and far outweigh the minor inconvenience of wearing a helmet.

I'm a severe traumatic brain injury survivor. I was wearing a helmet (skiing crash) but lived with the effects for two years. It was incredibly frustrating -- I was surrounded by loving friends and family that cared enough to give me some painful feedback.

I'm still skiing and researched helmets in depth before returning. There's some interesting technology called MIPS[1]. The protect against moving impacts, a large improvement. Current helmets are just dropped straight down and these helmets are tested while spinning/moving/etc. That's how crashes happen -- while you're moving, whether it be on skis or on a bike.

It's a little more expensive, but it's your brain. Please protect that.

[1]:http://www.mipshelmet.com
You are correct. I believe child kidnappings are at an all time low. Fear of child kidnappings due to sensationalized news is at an all time high.
Is the convention you used for a/an in "a (n increasingly long) while back" common?

As soon as I saw it, I wondered how I had ever handled the scenario but nothing came to mind. Perhaps I just ignored it and would have written "a (increasingly long) while back".
That is exactly what you said! You said that when a woman journalist accuses you of sexism, it's already a "gendered incident" (even if you didn't do anything to deserve the original accusation!) and getting angry at her can be "reasonably" interpreted as a "continuing pattern of misogynistic behavior". The logical consequence of that is that any woman journalist can indict someone for misogyny and it's automatically true, in your eyes, if they try to defend themselves.
Computer Engineer Barbie Needs Men to Write Code, Can’t Reboot Computer
Nope.

Journalism is a constitutionally protected activity that is a cornerstone of democracy. Without an informed public, democracy cannot work. Attempting to subvert that by threatening journalists is flat out wrong.

If you are a business owner, sure, you can legally investigate journalists. But that is very different than threatening to leak material about them to influence press coverage.

Also, your "turnabout is fair play" logic is ridiculous. Greenwald got the secrets of the NSA, but that does not mean that the NSA is entitled to steal Greenwald's secrets.
It is a great luxury to be able to work on what you like, especially as a dev. Unless you're a well-known person, I don't think it's that easy to work on what you like, even at google. At least not anymore. Hopefully you guys at facebook can keep the MBA's off your backs long enough to do more cool stuff!
I crashed while mountain biking a couple of years ago, and hit the ground headfirst with all of that energy driving through my head and then my right shoulder/arm. The impact was severe enough to split my helmet and knock me unconscious for a couple of minutes. I expect that without that helmet I likely would have been killed or very seriously injured.

So yeah, don't play around... just wear the damn helmet. That's my advice anyway.
Look here, and search for "Netherlands" for the full horror storey of 'safe' bicycle infrastructure:

http://www.bhsi.org/stats.htm
That would be an argument for wearing protection when walking as well, you know?
Hey,

Do they consider having it hosted on a private cloud environment? So you guys still control the systems while they can access it securely (i.e. VPN tunnel between their premises and your cloud servers).

The difference with your current offering is that this "instance" of your APP won't be shared with anyone else and you can land a nice maintenance contract, plus keep everything under your control.
>TeeSpring is kind of like a Kickstarter //

TeeSpring is almost exactly like CafePress or Spreadshirt or Zazzle or Threadless or ... isn't it? Aren't Reddit just moving in to this space (perhaps white-labelling one of these services?). Fair play to them if they broke in to this market (which seems pretty crammed) and took a relatively large slice of the pie.
> it was an off-the-cuff remark

There's no such thing without some form of prior agreement that it's off the record.

If you're hanging out with family, it's probably off-the-record, even if they're reporters. If you're hanging out with friends, it's likely but not guaranteed off-the-record, even if they're reporters.

If you're in front of reporters that don't have specified ground-rules, it's on the record. It has been established time and again that if it's not specified off the record, then it's on the record.

Michael called the subject reporter and asked for an off-the-record conversation, which she refused to grant, and he hung up. Clearly he knows the difference.

He wrote an apologetic email later, knowing full well we're now in a time where an ostensibly private email can be made public by the recipient and did not ask for any special status.

It's not like he doesn't know the difference between on-the-record and off-the-record.

So, why does he get a pass on an unbelievably stupid statement?
Because this is what journalists do.
Show HN: Cegta – a tiny DSL for TDD/BDD written in C
I think the use of "cryptographically" there is a bit silly, but otherwise they're spot on. You could have a billion computers, each trying a billion unique guesses per second, for a billion years, and you would've only guessed 0.000000000002158% of the possible values.

160 bits is a lot of bits.
"oh my god it's full of whitespace"

When I write in python, this always triggers my mental slogan "python, the language which makes 'nothing' important".

This is said with a trace of irony, as my most fluent language is bash scripting :)
The grand jury system is corrupt, and the Darren Wilson case shows how to fix it
Uber CEO Throws Uber Executive Under the Bus for the Company's Latest Face-Plant
i suggest you read one of tufte's books - the classic is the visual display of quantitative data. he dissects 'common' charts etc and then strips away the baggage - that's pretty much what it means. what you call 'arty' is (maybe) some icing on the cake but the core is pretty solid.
Trusting Snapchat to be anywhere near my money is laughable.
Nice article. Its easy to confuse but I think you meant Steganography.
IMO OCaml is the wrong tool for the job in this case (even if it is a better language for this sort of tool).

JavaScript has a weird ecosystem where it is extremely helpful to have all of your tools in the same language. browser-based IDEs, Node, portability, etc, and just one fewer runtime to juggle.

Same reasons why closure is awkward as a Java program.
> a hobbyist deciding to write their own web server would not be one of them

nginx started out as a hobby project by Igor Sysoev. Maybe he should have just used Apache too?

> Or at the very least you could let another process to TLS termination and just handle HTTP

A well-designed HTTPS->HTTP proxy package could work. Install proxy, and requests to it on 443 fetch localhost:80 (which you could firewall off externally if you wanted) and feed it back as HTTPS. Definitely not optimal, especially if it ends up eating a lot of RAM or limiting active connections, but it would be a quick-and-dirty method that would work for smaller sites.

But it won't handle other uses of TLS, such as if you wanted to use smtp.gmail.com, which requires STARTTLS. Or maybe you want to write an application that uses a new custom protocol, and want to encrypt that.

If you put this stuff into libc, and get it ISO standardized and simplified, and have it present out of the box with your compilers on each OS, then you'll open the door for developers to more easily take advantage of TLS encryption everywhere.

Look at the core API for GnuTLS: http://www.gnutls.org/manual/html_node/Core-TLS-API.html

This is just insane. It would take an average developer months to fully understand that API.
Publicly considering such STASI tactics for me is the last nail in the coffin, I'll never use a product of this strange company.
(I'm from Germany, maybe we are more sensitive to such threats)
Static Confirmation of Cyclic Types in Haskell
I did this last year. Just figure out how much it will cost you to package things up, write out explicitly what will be your responsibility (maybe bugfixes, updates, whatever) and what will be theirs (keeping the server running, backups, etc).

Expect to spend three or four times longer than you think you should dealing with their IT department.

Make sure you charge a healthy amount for all this because it will take more resources than you think on your side.