skysight-inc/HackerNews huggingface dataset:
We've spent quite a bit of time on our deployment system at Lanyrd, based on the philosophy that deployments should be automated, fast and cheap. Being able to deploy the site quickly and without too much performance overhead encourages multiple deployments a day, which is great for supporting rapid iteration and keeping everyone productive and happy.

Currently, our deploys are managed by a combination of fabric (the Python shell automation toolkit) and puppet. Puppet ensures our servers are fully configured, fabric orchestrates everything. We also have a Jenkins CI server which can be used to deploy at the click of a button, rather than running a command-line script.

We can deploy to different environments or using different code branches using command-line arguments. For example:

$ fab e:live deploy

Deploys our 'master' branch to our live environment.

$ fab e:staging target:feature/new-login deploy

Deploys the feature/new-login git branch to our staging servers.

"target" can take anything Git can - a branch, a tag or even a commit hash.

We use south to manage our database migrations, which run as part of the deploy. Our static CSS/JS/etc assets are hosted on S3, and have their filenames rewritten to include the hash of the file contents before being uploaded - that way we can push new assets to S3 without overwriting the old ones, meaning that we don't have to worry about keeping our asset deploys perfectly synced with rolling out new HTML templates (which may depend on new CSS etc). We push new assets automatically at the start of the deploy.
As an engineer, you should know that engineering involves designing systems that will get the job done with the minimal amount of resources possible.

What would be the point of a higher quality video in this context? Is it necessary, or simply a nice-to-have?

One of the most popular axioms of engineering is "if it ain't broke, don't fix it." It could be revised for this scenario: "if it gets the job done, don't improve it."
Why a Twitter Music App Will Score Well
Animated charts in R using GoogleVis
What Plants Talk About
I'd certainly prefer to be able to reason about the code with the safe assumption that certain things cannot be null.

You can do this, but if you want it to be maintainable, you'll also want to detail in the function comments this technical debt. If you don't, someone else will come along and see your sweet method (looking only at the comments) and use it where the input can be null.

Ex:

/**
* This does some stuff.
* @param entry Does something with this
* DEBT: Assumes the input entry is not null.
*/
void doSomething(SomeObject entry) { }
Yes - I came in just to mention this. A great combination of a glance into the dotcom startup days + a feel of the classic gothic horror novel.
Does anyone else here find it amazing that NASA paid to send a fullsize wireless microphone into space. Given the cost per kilogram of sending things into space, I'm surprised they didn't go with something much smaller/lighter.
This is a pointless straw man argument. No one is claiming we should never invest in infrastructure. Some improvements in infrastructure have value certainly. It depends on the specific project. Spending for the sake of spending is ridiculous though.
That's the main problem with calling Maybe 'better'. If you don't have static type checking then either you implement it just for Maybe or you end up with the same sorts of problems as you had before.

Making types non-Nullable by default is nice, though. Even in a dynamic language you can have a syntactic distinction to make interfaces more explicit.
Is this slowness intrinsic to SCTP, or a matter of implementation?
Obscure? You may think so but sometimes these things buy you lots of time.
Yes. This is perhaps the most important point in this thread. Monads and idioms are neat, but for Maybe's in most situations they are not really necessary since there is often a single point where you `case` on a Mabye and that's it.
Great thanks I'll take a look at it again, I seen the "Interacting with a RESTful API" section in the wiki left blank and assumed it was in the pipeline.
How to maintain a PROFITABLE e-mail list
I don't agree that it's pretty clear. 0 is a perfectly valid outcome of an addition, and you can't count on being the last calculation in the chain.
I think looking at the team is a very good idea. I did like to add a research that I am doing about the percentage failures of the VCs. So far, my study shows a great bias of chances to be successful based on the VC firm involved.
> Does anyone have a link to a good rundown of where everyone stands?

Well, even if I had one, it would be outdated in 2 weeks..
Scandal One Minute: "I've imagined your place a thousand times"
We have an IRC bot that our sysadmin scripted. We pick the project we want deployed and issue a single command, it's amazing for low friction deployments.
It's great to see AirBnb's open sourced work, and tech talks, etc. Kudos to them - I'm sure it helps a lot with recruiting. I used to work for a company in a similar space and looked to AirBnb with deep envy.
Your last sentence is frighteningly flawed. Because it suggests that the US is borrowing from other economies around the world at obscenely low rates. This is not true. Sure, we're borrowing a little bit from China as we've always done, but they're less and less interested in loaning us money (essentially).

So now what we have is a powder-keg with a fuse which has already been lit. We've started borrowing from OURSELVES. This is who we can make it look like we're only paying 1-2%. When you pay one hand from the other, you can say whatever you want about how much it's costing you.

The reason this is a profoundly bad idea is because essentially we're diluting the value of every dollar already out there floating around. As we print more money, and issue more IOUs in exchange for it, all we're doing is creating shadow-inflation by diminishing the value of each existing dollar. The only reason we're getting away with it so far is that the rest of the world is worse off (fiscally) than we are and so our dilution of the dollar is essentially a tax on everyone who comes into contact with dollars. This is essentially our way of extracting wealth not just from our own citizens, but from abroad.

If however dollars start being kicked to the curb abroad, then the shadow tax will begin being felt more acutely here in the form of inflation and suddenly higher prices.

Again, there is no free lunch. It's the single truest thing that economics has to say. Yet people somehow persist in believing that there MUST be one, if they could just figure out how to have their cake and eat it too.
Because the instances in which sufficient evidence exists to find a suspect from resources made public (often times a single photo or a short, low quality video) are rare themselves.

Should we just ignore the fact that the FBI had access to resources that would've certainly resulted in the amateurs coming to the same conclusions? A video of a man dropping a bag which then exploded -- it doesn't take a professional to guess he's involved.
It takes a variety of skills. Depending upon the endeavor - sometimes it takes technical skills, sometimes it takes sales skills, sometimes it takes marketing skills, sometimes it just takes the people skills to get to know the right people.

What it takes more than anything is drive. The most successful people out there typically have a tremendous amount of drive to pursue success.

I find that people who disregard skill do so because they have no clue as to why they're unsuccessful. The thing that would hurt their egos worst would be to admit to others and to themselves that they have no skill. The best thing that they could do is to look in the mirror, admit that they're lacking something, and work harder to find it.
The idea that the US is running out of money or spending money it doesn't have is a non sequitor. The USG is monetary sovereign that issues it's own currency, and therefore has infinite ability to spend in dollars. Really, it's not even accurate to say the government "has" or "doesn't have" any money. We have an institutional arrangement whereby we cover all spending in excess of taxation by debt issuance, but that is just that--an particular institutional arrangement. The constraint is only inflation--is the USG spending in excess of what the economy's productive capacity can absorb? All available evidence suggests no.

Not to say that waste, corruption, poor capital allocation, etc aren't all legitimate problems. But that's not the question at hand.
Hedge your bets by doing a start-up in year 2, which will hopefully be followed by the epiphany that a PhD is a poor metric of intelligence and "permanent sabbatical" has a nice ring to it.
Do you think that:

(a) Fargo's local government would be supportive of a technology Autonomy Fund, and...

(b) it would be possible to get a critical mass of engineers to live there?

Also, what's the gender balance? I'm married so I don't care, but I think we'd have the best odds in a town where it's at least 53:47 women.
Sorry, I know I'm drifting massively off topic now, but why on earth would any company adopt such a policy? It's not even as if CSS files can carry executable code (sure, they can reference such content, but then block that stuff instead of the style sheets themselves).
So it's the surface tension of water.

Here is what I am wondering:

Detergents break the surface tension.

What would happen if he'd add some detergent?
Earning way better, sure.

Nothing beats the university environment for meeting girls though.
Now, Everybody’s an Investigator
The "startup" guy's an idiot. Typical clueless 23 year old living in their parents' basements asking overly complex financing questions that position themselves like a Goldman Sachs hedge fund manager.
Tech.Pro
Ah yes, wonderfully clear syntax:

do a <- a
b <- b
Thank you very much for your details feedback! Much appreciated!!! I'd love to talk further, if you'd like to as well, you can find me at contact AT interestin.co
Sharing Gmail Task Lists- My weekend project
I'm pretty sure it did not say recording in the original title.
How many things need to go wrong for an astronaut to float away into space? Just how safe are they?
Re. the "redefining keywords" trick. I know this works with at least some versions of g++. However when I tried doing it in MSVC 2008 I ended up with link errors between the library object files (compiled without the redefinition trick) and the app executable that did use the trick. It looked like MSVC was encoding the visibility in the mangled method names.
Your site isn't up.
What's the best way to reach you? Interested in chatting about the idea
There's good related article about twitter and big news stories (including reaction to the Boston bombs). All online discussion sites produce the same problems: endless conjecture, half-truths, outright falsities. How do you sift fact from fiction?

http://simonnricketts.tumblr.com/post/48115760648/twitter-an...
You are right - Indian newspapers usually refer to it only when it is at least tangentially relevant - eg. usually they'll refer to some politician's caste. I consider this to be just as bad because it continues to put caste front and center as a factor to be considered when evaluating a political.
Google: Show MDN results over W3Schools in searches
So it's Reddit?
The goal is to replace those big numbers of "friends" in your social networks, with your true friends and people that interest you, if you become their friend - it's even better.
This is a great comment. Thank you for leaving it. Very well thought out and concise.

This is one of the biggest problems I have with Obama (and politicians in general): they apply the word "investment" to things that aren't "investments." Have they ever acquainted themselves with the definition of the word? Because the definition of the word is like you said, something which is expected to yield a return. It isn't an "investment" if you're just pouring money into a pit and burning it. Or giving it to people. Or creating or sustaining $50,000/year jobs at the expense of $1,000,000. But "investment" sounds good. So politicians bandy it about. All they're doing is spending.
'Disabled' Gamer Banned from Twitch.tv After Standing Up Mid Stream
DynamoDB Announces Support for Local Secondary Indexes
Increasing the money supply is not in and of itself inflationary, nor does it logically imply a depreciating exchange rate. This is true no matter how many times Austrians and confused monetarists say so.
A simple Blogger Template
DashBurst Adds New Director of R&D for Social Network Launch
LWN's overview: http://lwn.net/Articles/544399/
Does anyone have a clue what this site is for?
Searching for a Google Reader replacement
Nah - just saw a mention of a death-march that so closely matched my most horrendous war story that I thought it must have been made by someone who had been in the trenches with me.
Don't confuse currency with wealth.
a basic principle for centuries was that metal is too heavy to float, therefore it was clearly too heavy to fly

Do you have any source for this, or are you making it up? For many centuries, the state of the art in metallurgy was not sufficient for making watercraft, much less aircraft. However this did not stop people using the available technology to make such flying things as arrows.
TLDR: It's not hypocrisy if they never said it.

It's only "big government" if you accept the Republican premise that fixing other people's roads and teaching other people's kids is a waste of money.
I would feel wary sending anything smaller, lest it get stuck or lost in some nook somewhere and caused problems.

Besides, part of CSA's mandate is to "advance the knowledge of space through science", and sending up cameras and microphones is well within that mandate.

http://www.asc-csa.gc.ca/eng/about/mission.asp
New Developer Community on G+
New York City Biz Leaders put $20M. Toward Urban ‘Work-Live’ Campuses
> A video of a man dropping a bag which then exploded -- it doesn't take a professional to guess he's involved.

If it's so obvious as you make it seem, then what's the benefit of having the public involved?

Remember that there's a cost to making information public - for just one example, it can be bad to let the suspect know how close enforcement is to catching them. (eg. The Cambridge police department stopped tweeting updates when they realized that they were probably just passing on information to the suspect.)
There is somewhat of a requirement with the preprocessor - if you redefine a keyword and then include a standard library header it's considered undefined behavior. Maybe that's what the author meant.
Can you imagine a wired mic in zero g?

Given how easily headphones etc tangle in gravity, I'd hate to see what they could do IN SPACE.
Ubuntu Touch builds are available for testing
Is your company IPO ready?
whois points to Dmitri Pustoshilo in Tallinn, could be https://twitter.com/Dima_Pustoshilo ?
Not really. Reddit is a news site, Interestin tends to be more like Facebook.
The NonCommercial part makes it not open source, and not libre software. Both the OSI and the FSF clearly state that FLOSS software has to allow commercial use for it to qualify.
Up voted for discussion.
It is not just about data (video, photo, etc). It is about how such resources are utilized as well. Professionals have better processes. They can draw upon their experience, as well as the experience of others within their profession as well. An amateur, even if he gets the data, may not know how to process it the right way. He/she would also won't be as good as a professional in eliminating noise and isolating signals which help in moving towards the end goal.

This is especially true in specialized professions like that of a national law enforcement officer.
C++ contains a syntactical shorthand for simultaneously declaring a variable and branching on its value.

if (MouseEvent *mouse = dynamic_cast<MouseEvent *>(event))

I think it is a complicated description and a complicated example for saying that the assignment operator (=) returns the value that was assigned.
Wow. I did not think vim help would deal with symbols well, either. Thanks!
I don't think that is was manufactured to trick us, but that for whatever reason the simulation needed a past. Imagine the world is a recursive algorithm and it start running at n = 1, you need to define n = 0 for it to make any sense.

Tree rings are needed to support the tree and would occur once the simulation started running anyway, so God could either create two classes of tree, or use the more elegant solution (to my mind) of having that tree appear the same as if it had grown.

My reason for believing this is that I think it's a more elegant solution (that is just based on my personal perception of elegance) and that God decided the world should be in a certain state before humans arrived, so either he could run the simulation for billions of years, or he could just fast forward as if it had ran for billions of years. Either one works, but since there were no people around to experience time why bother with actually running it (or the opposite argument, why not actually run it).

Another reason why I think the simulation was needed in the first place, because it moves the limits of our knowledge further away, and gives us more room to explore.

Imagine if God decided humans needed an energy source, so he put a magic black liquid under the ground with no explanation. We'd find it, and that would pretty much be the end of it--we could go no further. However, if he instead ran set up a simulation and ran it(or skipped ahead) to create oil, we can try to figure out where oil came from.

Basically we have a whole rich and complex simulated past to explore before we hit the brick wall of--God did it.
I went to MIT as an undergrad and on my very first day there, there was a gunfight right outside my dorm window between police and an armed fugitive. Next House was under construction at the time, and the fugitive ran into the construction site and fired back. It was exactly like a scene in a movie.

I'd like to tell you what happened next, but I got down on the floor until the commotion ended.

But yes, this was not a common occurrence.
Great related article
https://medium.com/startups-and-tech/8c4523242c85
Depends on the structure of your program. When the Maybe represents the return value of some function that might fail, like a "null" in another language, you'll probably try to eliminate the Nothing case fairly soon after getting it on, and if you have several to eliminate you might use the monad syntax to avoid repeated checks. (User input will commonly use an Either or Error rather than a Maybe, so that you have some error status for what went wrong, but the same principle applies.)

However, sometimes a Maybe represents an inherently "optional" part of your data model, such as "a Foo may have zero or one Bar". In that case, you'll probably hold onto the Maybe until the point where you'd actually read and use that field.
The big change is that I missed the previous post, but noticed this one :)
Data Science, Machine Learning, and Statistics: what is in a name?
That particular syntax makes much more sense when you have functions that return a Maybe value:

do a <- getA "foo" "bar"
b <- getB "foo" a
...

I used a deliberately overly simple example so I could go on from do-notation--which many people are already familiar with--to applicatives and idiom brackets.

Besides, it looks like any normal program, except you're using <- to define variables rather than =. Can't see how it could be any clearer than that.
My wife is a postdoc in neurotrauma so obviously I checked if she was in the system. She wasn't, so I added her and updated her boss's entry too. I pulled in the correct names for their positions from their linkedin profiles, so I figured I'd drop a comment putting forward that perhaps adding some kind of lookup (or at least link to) of people's linkedin details.
https://www.airbnb.com/jobs :)
Yes, that's the great thing about Maybe — any code that doesn't need to care about the uncertainty is freed up from worrying about nulls by guaranteeing it won't get one. Most of your functions will usually deal with the unwrapped type, so if you try to pass the Maybe to these functions, the type-checker will say, "Wait, this function isn't expecting a Maybe. You've done something wrong here." So you have to do your "null check" at the point where you get your Maybe, and then you know for certain that the rest of your code won't explode with a NullPointerException or whatever.
This guy in the main article was doing a good job, and look where that got him.

From what I have seen, it isn't the best solution that wins, but the most publicised.
We're using Rendr in a few more apps in production, in progress. It's starting to eat away at our Rails site a bit.
Girl Scouts to introduce game developer badge
Heh, it seems so weird to hear somebody say that. My maternal grandfather purchased my first rifle for me before I was born. When I was about 9 or so, my dad gave it to me, and took me out and taught me to shoot, taught me gun safety and - maybe most importantly - drilled into my head the importance of respect for human life, and how you never point a gun at someone unless you absolutely need to kill them (because they are an active threat to your own safety).

Then again, I grew up in a very rural area, but guns are - from my perspective - an absolutely routine, normal, everyday part of life. I guess that's why I find it so hard to "get" the mindset of the radical antigunners here, who act like guns are intrinsically "evil" and seem to think that a gun can pick itself up off a table and go out and shoot somebody.
Yes, his wink smiley makes it likely he was referring to Einstein.
"how do we stop this from happening?": Pay employees more, Recognize when engineers are not working and ask them why. This is because of poor management.
All this time I felt I was alone, I'm so tired of my bosses' BS. I've being working so long without feeling I'm working for the right company/boss, I need a break.
Hmmm, not true. Your simplistic statement falls short of the facts and research. Here's a quote from a very recent paper which refutes (in part) your statement:

"The results of this paper have two important policy implications. First, since the results indicate a positive effect of government investment and a negative effect of government consumption, a reallocation of resources from consumption expenditure to investment expenditure is likely to reduce the growth impeding effects of public spending. Second, as government investment crowds out private investment, US policymakers are faced with a difficult task of finding a combination of public and private investment that minimizes the crowding out effect of public investment. According to the 2009 CBO report [1], all components of government expenditure will continue to grow over time. Therefore, it is imperative to assess the growth effect of government spending, particularly, the effects of key components of government expenditure on growth because the impacts of different types of government expenditure are not the same."
Source: http://www.hindawi.com/journals/econ/2012/383812/

Did you catch that? Government consumption (which is, I would argue, the vast majority of government spending these days and more and more each year) impedes growth; Government INVESTMENT (and not the pseudo-investment that Obama is famous to talking about) enhances growth, but empirically also crowds out private investment.

And yes, while it's much larger and more complex, a national economy really kinda sorta IS a really big household. It still faces very real constraints and consequences. It is not God.
RE: (b)

For myself? Not a chance in hell. Sorry, I lived in Grand Forks for several years, and between the wind, extreme temperature differences, and flooding, you'd not be able to get me to live there. Sure, you could eventually offer enough money, but it wouldn't fit in this plan.