skysight-inc/HackerNews huggingface dataset:
> As somone who's lived in different European and Japanese cities it just saddens me that highways replaced local public transport in many American cities rather than added to it.

The population density and distribution of that density is massively different in Europe and Japan than in the US.

For effective shared or public transit, you need transportation hubs that are a convenient distance from where people are and where they want to go. If people and population centers are very spread out, then the transit becomes both more expensive and less useful. Even if you can take rail between two population centers, odds are good that you'll still have to drive a long way to the train station then drive another long way to get where you're actually trying to go. Because there's not a lot of population, transit can't run frequently without being a massive waste of energy, so schedules become less convenient.

Check out this density map:

https://dhs.stanford.edu/wp-content/uploads/2011/11/popdensi...

Note how Europe is consistently dense over a very large area, with a core of highly dense areas all fairly close to each other like London, Paris, Brussels, Amsterdam, Munich, and Bern, while the adjacent regions like Italy, the Balkans, and even Poland have fairly consistent population density. In Japan, the density is highly concentrated on Honshu, and even then it's concentrated into certain cities and prefectures.

The US, meanwhile, has only a few dense regions, mostly in the Northeast, with the rest of population centers spread out very large areas. Not coincidentally, those more densely populated cities tend to have more public transit than the average American city. There are notable exceptions, such as Los Angeles, but LA is not representative of most of the country.
I put up a detailed guide going from zero to scanning a Control Channel a while back with pertinent commands, etc: http://blog.nikseetharaman.com/gsm-network-characterization-...
> people confess all the time as soon as the officer asks "Are these your drugs under the car seat?" etc.

Not that I intend to ever be in this situation, but what's the proper answer? Can't lying add another charge? So, do you lie, say nothing, "plead the fifth", demand a lawyer, or something else?
Breaking Down Tech Privilege from the Inside
I just thought about what strategies they could actually take without being able to communicate information or use the outcome of the others flip as an input to their decision. There are only a few things you could do- guess either heads or tails every time, guess your roll, or guess the opposite.

Then I realized if one took the "guess same" strategy and the other took the "guess opposite" strategy that would cover the bases.
Someone should get that guy who ran Linux on his hd on it.
CSV File Least Square Regression in Golang
I'd never seen Firefox > 3 on Windows. Gods, it's ugly with all that glass all over the place.

I wonder why the UI integration is so strong on windows, but so poor on linux.
> As for starting a fire, take a piece of fire log and a lighter. Add small sticks and progressively larger ones. Read an article about it or two. It isn't that hard, though plenty of folks are opinionated about it -- like starting a fire with charcoals.

Or, use your bag of Doritos you brought along as a fire starter (More likely if car camping, but not all camping needs to be in the middle of nowhere. If you're located in the US, your local state park might be near empty outside of peak months.)
This is a chicken-and-egg problem. The US only has a few dense regions because suburban housing typologies strung together with highways have been dominant.

If you consider that public transit makes areas walkable, creates street-level shops, restaurants, and cafes, and densifies areas as a result, then creating public transit is an argument for creating density.
That might make you ask what we're currently spending $20 billion on that nobody knows about, though.
More trolling by your antagonistic throwaway account, I see.
If you want to learn more about this kind of crime, I highly recommend a little book by Miles Harvey called THE ISLAND OF LOST MAPS: A TRUE STORY OF CARTOGRAPHIC CRIME. Fascinating whodunit regarding thieves who would go into rare book collections and quietly use a razor blade to carefullytear out an ancient map inside some hundreds-of-years-old book, and often then sell it for huge sums.
a) You could use encryption; at a minimum you could render the image data opaque to the storage location. It would be much harder to protect metadata like time of access. You also lose the ability to view the data in a web application without voluntarily compromising security.

b) Perhaps sandstorm.io or owncloud integration.

I would be surprised if the company did anything like this though, it's unlikely to rise to high enough priority in their planned features list.

I agree that the set of people who worry a lot about this kind of privacy is unlikely to intersect much with the set of people who run a (closed source?) cloud integrated appliance on their door peephole, connected to a closed-source U.S. hosted web service.
http://en.wikipedia.org/wiki/Book_scanning

Using cameras to take pictures of pages seems to be the most "damageless" option.
Two part here:

1. Own domain means you can brand, host other services on it and generally be flexible. It also means you don't end up with the equivalent of an @aol.com or @hotmail.com address for everything.

2. Hosting it yourself also gives you options. 10 years ago gmail didn't exist and many providers charged a lot to host personalised domain (which were seen as a business service). I still keep it because:

a. I used to manage big email setups, re-building a little one was fun practice for a few hours

b. I don't really like gmail's interface.

c. A significant amount of work copying a couple of gigabytes of old email into gmail

d. If Google change some policy 5 years down the track I'll be stuck with it.

e. Trying not to tie my entire life into google.
Anecdote time: In my younger days, I was once stupidly walking down the street with a cup full of something I should not have been walking down the street with. It was late - only my girlfriend and I were on the street. Seeing a police car turning the corner in my direction, I panicked and tossed the cup. He must have saw this because he goes lights and sirens, and holds me for 45 minutes on the side walk while he asks me the all the guilt-admitting questions he can conjure. He was really desperate. At one point, he even attempted to breathalyze the ground where the cup was. It was a silly situation. I received a littering fine. Moral of the story: don't show your hand, and don't do stupid things.
This is specifically my point of view, but I'd be willing to bet people keep doing this because they are curious, to see if they can or just because they want to expand their technical abilities.
Vedis – An Embedded Implementation of Redis (C Library)
This is off topic, but when the next president takes office, all of current whitehouse.gov content will be gone and replaced, no?
Fair point, and that's what you should have responded to the parent post with. Making an irrelevant remark about non-professional gamers came off as quite condescending.
We're hiring contract and full time system software engineers at Skully:
http://www.skully.com/careers/

Lots of things seem up your alley, like the need for a per pixel alpha driver for the Kopin display, etc..
The first thing I would do is get a dog =)

Besides that - download some audio books and go for a walk if weather is nice. Or just walk around and think, that's awesome.

Join some clubs related to your hobbies. Try Toastmasters or Improv or Stand Up, or play Go.

Gym, running, exercise. Biking.

Go outside and pick up girls. Write a book or blog in your free time.

Or if you are in a big city - find a hackerspace nearby.
Considering C++ as scripting language makes companies have to pay more to high quality programmers and wait longer time for simple scripting.
You may want to consider Rust and Nim as C's superiors rather than C++. Both Rust and Nim are as speedy as C++. Rather than C++ with boost, they also have leaner and extensible syntax fpr specified purpose called DSL. For example, nim can prevent SQL injection from compile time.
Cool. SFM is a really fascinating concept to me. How much of that work is commercially available to consumers?
That's fair. My reasoning was something like "this seems specifically designed to obscure IP, the only attackers likely to be able to do something about IP can also read email, therefore RMS doesn't know what he's talking about with regard to a threat model here". This was mostly implicit, which lead to my claim above that he thinks email is secure; it seemed like the only way to justify his claims for any threat model.
What an amazing first world problem you have!
Efficient Implementation of Smalltalk Block Returns (2001)
The scenario presented by the author seems more explicit and nefarious than the typical "p-hunting" that I've seen in academia. Though I've seen the situation he presents, successively trying different models or parameters until you find the expected effect, it's pretty obviously unethical.

What I've seen much, much more of goes something like this. Say your lab does research that requires a very large quantity of data that's very expensive to acquire. In academia, labor is relatively cheap and funding can be difficult to come by. So a dataset that consumed potentially 100's of thousands of funding dollars represents a significant resource investment.

So what do you do when the study is done? You try to figure out every way possible to reuse that data. And the most common way of doing that is running it using previous models looking for effects...enough people keep looking long enough and, voila!, you find a significance.

In the end, it's the same bias. But the motivation is different and when I've pointed out this is "p-hunting" most just give a blank stare.
ideal self-driving cars basically remove (b) from my equation. The thing is, even if self-driving cars are around the corner now, I reckon that the type you can just leave on its own without any humans inside are still far out. Even just a solution for driving in bad weather conditions hasn't been tackled at all yet - you can't just shut down the city transport just because snow has covered up most of the visual markers. So, self-driving cars isn't going to solve any network problems for quite a while, and even when they do you still have overhead (a), which intuitively I'd say is even more important. I don't think it's that complicated btw. - if you do, please provide things I haven't considered and significantly change the outcome of the calculation.
The fundamental reason of that is the lack of isolation to run containers in a multi-tenant environment.
Gates, Richest Man, Says $40,000 Goes Further These Days
How does the Putnam winner Ravi Vakil fit into that thread? From reading the context it is about cpervica saying he's more competent than 90% of startup founders, and other people are saying that's arrogant. Where did Ravi come in -- was he a startup founder?
Currently feeling very deep nastalgia for Metal Gear
Isn't... isn't that the case with literally all code? At some point you just have to give up on this fantasy that you'll write every last instruction and just call out to a library somewhere.

Game code isn't magic, despite how much game programmers want to act like it is.
fun.

https://gist.github.com/pipermerriam/d1b5a24230f2f9ec4446
Adding to this answer, it looks like this will handle virtualenvs requested for dependencies as well (albeit not completely yet). This is a pretty big deal in order for almost anything non-trivial since libraries like requests quickly come into play.
> The puzzle is this: Can you think of a strategy Alice and Bob can use that is guaranteed to win every time?

Raise campaign finance from the wealthy so that they can make it past the lesterland election[0].

Now that you have a war chest and are in the general election you just need to raise more capital from the 0.1%, buy more advertising, hire the best staff in Washington and bam!

I know this is not the coding question at hand, but a more important question on how unequal our political system is and I couldn't forgo the opportunity to ever so gently show the obvious reality - once you past the lesterland wealthy elite and get their backing, winning is only a matter of time.

[0] http://lesterland.lessig.org/
Let's not judge Perl in general by the author's Perl code, which starts with the baffling step of taking a reference to the argument array, then wraps it in a list and passes it to a function that immediately shifts it off the list and de-references it …. Also, as Veedrac pointed out (https://news.ycombinator.com/item?id=9562039), it carefully hashes the words by frequency, only to render the effort redundant by simply summing all the frequencies. (Your Python does the same, I assume for fidelity to the original.) A better Perl version might look like:

for my $file ( @ARGV ) {
my $words;
open my $fh, '<', $file or die;
local $/;
say "$file: ", scalar(split /\s+/, <$fh>), " words";
}

EDIT: Changed an explicit count of the `split` list into an implicit count via `scalar`.
You specifically named Sweden, and that's the remark I replied to.
For years I had my custom domain serviced by gmail in the background, so don't assume they're not using gmail.

These days I run OpenSMTPD ( https://www.opensmtpd.org/ ) on a server out of my house because I want to minimize my cloud footprint, and OpenSMTPD is orders of magnitude easier to configure than other mail software, and was designed from the ground up to be maximally secure. I've also got it locked to require STARTSSL, which is not recommended but works for the mail I get.
Some discrete mathematicians are interested in this sort of problem, which they call "simultaneous hat guessing". There are quite a few papers, in case anyone is interested and unfamiliar with this sort of thing.

Another fun problem, probably better known, is sequential hat guessing: take 100 people in a line, arranged so that each person can see everyone in front of them, but no-one can see any of the people behind them. Everyone is given either a red or black hat to wear, but no one can see the color of their own hat, or the hat of anyone behind them. So the person at the back of the line can see everyone's hat but their own, the next person can see everyone's hat except the first person and their own, etc.

Now starting with the back of the line, each person is asked to publicly guess the color of their hat. The participants are allowed to agree upon a strategy, how many people can they guarantee guess correctly?

Things get crazy if you allow an infinite countable line of people, and put ear-muffs on anyone so that no one gets to hear anyone else's guess. Surprisingly, you can still save almost everyone (if you allow the axiom of choice).
I liked showing the four possibilities and thinking about it in the way that one of them has to be responsible for winning in each case.
Day 18: Pong
So if I happen to be standing inside the door when someone knocks, do I then have to run around and find my phone, because this blocks the actual peephole? If so, maybe the inside component should have a small display that powers up after a knock is detected.
there is no hunger believe me, there is craving. If you've been on cocaine you will know what i am talking about. Fats are really not important here, staying away from all simple carbs is the key to battle addiction. But fats are good anyway. Also some research shows that heart attacks are actually from carbs, not fats. check out Cereal Killers Movie
I'm guessing they will do something similar to when Obama took office: http://georgewbush-whitehouse.archives.gov/
His >50% MPOE[1] stake is at least 1.4 million coins (valuated by the last trade).

If you're skeptical of numbers on webpages (c.f. "EmptyGox"), MPEx's trivially traceable addresses[2] currently contain around five thousand coins; tracking down the rest is left as an exercise for the skeptical sleth.

[1] http://mpex.ws/?mpsic=S.MPOE

[2] https://www.walletexplorer.com/wallet/MPEx.co
IDF rules that tanks are still no place for a woman
Median Global Income Doubled Between 2003 and 2013
In my opinion, there is no need for reward, but rather thinking hard how what you do can be aligned with what library's users are missing, and contribute that back. So essentially you are donating money, spent on paying developers to work a bit to find more generic solution for a problem you are solving.
Right, "it's been done" is different from "I did that"
Also, repeatability is important
Gamergate controversy (Talk page on Wikipedia)
I go out in NYC alone all the time, on weekends, for fun - Mostly I do it because my friends are doctors and cant go out because they are on call - I wish I would have realized much sooner how much fun you can actually have - at a bar, alone on a Saturday night in NYC

I think there is a stigma attached going out alone though - I have random people ask me if I am alone and seem surprised by the answer. I do a lot of other stuff alone also, such as eating a restaurants, walking, etc. Going out alone is the most fun because there is alcohol involved.

Moral of the story: You can still have fun, but if you have a girlfriend, wife, or good friends, it's definitely better than doing things alone (IMO)
I'll be talking about this at Gluecon this week. You are right, it is a little broken right now.
"Normal" is hilarious in context.

In the UK we have a housing crisis so acute that even "well paid" professionals are paying 50%+ of income on a 1 bedroom flat.

We have a government that sees the unemployed as vermin, rats to be extinguished. A government with a puritanical "work will set you free" mindset.

And overlaid on that, in the past decade we've had the Internet go mainstream. Working class kids now have an acute awareness of what the other half is up to.

The whole model is bloody broken. It makes me depressed that people even engage with this tripe. It's like having a discussion about how best to cook a slab of meat that's been left out for months and has gone fuzzy and green.

We can't go on with this nonsense class based serfs and lords stuff. Really, we can't. It's not just bad for the squeezed middle, it's bankrupt from top to bottom. People working in shit jobs for shit pay to die early. Middle class kids buckling themselves in with the student debt and the mortgage to spend their entire adult life under the heel of the capitalists.

And now they _know_ it. It's not just 'how life is', any more. It's how life was made to be for them, by those.

We don't need kebabs or movies or dry cleaning. This stuff exists and these people are working in crap conditions for the sole reason that we decided as a society that people don't deserve the basics unless they submit to the machine.

It can be fixed. The difference between a landlord and a tenant is a piece of paper or a few bytes in a database.... but we cling on to the model.

When and how will it end?
This is a chicken-and-egg problem.

Only if you ignore the fact that most of the US population centers developed long before the automobile.

The US only has a few dense regions because suburban housing typologies strung together with highways have been dominant.

Suburbs are largely a 20th century phenomenon and rail was very important in the history of the US. US population spread itself out for primarily for economic reasons (and also likely socio-political reasons).
Oh, and who the hell is paying 50 btc to open an account at mpex?
Another way to look at it is either they can both get the same result or they can get different results, if it's the same then Bob will be correct, if it's different then Alice will be correct
this is a great story - and i hope some day if i have a kid i can do this for him also - i studied abroad (alone) by choice (not because of my grades and it was a wonderful experience that I would never trade for anything
It is abuse for someone to use "downvote" to mean "I disagree".
i guess it depends where you go - but you can travel on the cheap - make sure you stay in hostiles - youll meet lots of people that way
This might finally get me to switch from Sublime Text 3 to VIM. Been looking for an excuse to make the jump anyway.
Yes, this is a great one. Unless I'm mistaken, the best strategy has potentially one error, but all the rest would get it right, yes?
False-dichotomy much??
Not really. It's one of the things he is most famous for. Even people who otherwise have no idea who RMS is have often seen the "I'd just like to interject for a moment" copypasta.
Accidents happen. For every person that makes a mistake, I am sure there are many who will correct it. I don't think being able to change a vote is an important piece of functionality.
There's two ways in which I'd like to address your questions here.

First, directly addressing the question you asked:

There are a number of libraries for assembling and manipulating a Haskell AST - I would recommend looking at haskell-src-exts and Template Haskell. Unfortunately, there doesn't seem to be a way to exec any of these directly (at runtime). You could obviously pretty-print and then eval that, which may or may not be a good fit depending on your problem space.

Separately, I would like to suggest a different perspective, in line with the thesis of the article.

(Pardon me if this gets a bit rambly, and feel more than free to ask questions if it gets confusing - I've been meaning to expand on this in a blog post...)

Haskellers are fond of monads. Lispers are fond of S-expressions. Lisp programs are S-expressions. S-expressions are either an atom, or a list of S-expressions - a structure also known as a "rose tree".

It turns out, a rose tree is a monad. In particular, a "free monad", which means there's a unique function turning a rose tree into any other monad in a way that preserves structure (in math terms, a "monad homomorphism"). Getting slightly speculative, I think the homomorphism from Free to IO has to be Lisp's eval.

So in a senes, when Haskellers write functions that operate on "Monad m", they are writing functions that can operate on Lisp programs, and also on many "partial interpretations" or "restricted forms" of Lisp programs. This is why Haskell programmers get about as excited about monads as Lisp programmers do about macros - there's a deep connection.

The big thing that Haskell lacks, in this context, is a mutable global namespace - which keeps a few things compile-time only (and hence the need for Template Haskell for fuller coverage of metaprogramming).
With rail -- a bit of engine trouble breaks the whole system.

That depends on how you engineer the system. With reasonably frequent crossings, you can route around stalled vehicles. If you've got dedicated rights-of-way (rather than mixed-mode auto-and-LRV routes) then wrong-side operations isn't so critical.

With sidings or triple-tracking, you can offer only modestly degraded service, though at markedly higher initial cost and land use. Still far better than highway / surface-street designs.

Or you can "bounce" vehicles to either side of an outage, running service to the problem location and running truncated shuttle service on either side.

It's largely a matter of political will, costs, and frequency of outages. Which, generally, even on less-reliable system aren't exceptionally prevalent.

The other issue is that busses tend to fail (for various reasons) more frequently than rail.
Whenever I read an article on self-driving car having accidents, the focus is on the fact that the accidents were caused by humans, not the self-driving cars. In my opinion, that does not matter at all. Driving a car responsibly is about predicting possible problems caused by other drivers and actively avoiding them. There are many bad drivers out there and until self-driving cars replace all of them, they have to be ready to deal with them.