skysight-inc/HackerNews huggingface dataset:
Search restaurant Kothay?
Hence the use of callbacks for ordering reads and writes as required. Seems like we'd want promises though, for many interleaved reads and writes that are dependent on each other (which is not a great pattern, but might be unavoidable sometimes).
Jester, a Sinatra-like web framework for Nimrod
> They spent 3,000 hours with more than 1,000 consumers at their homes, in stores and in small group discussions. They observed people's routines throughout the day, sometimes staying late into the evening.

Is this really necessary?
I disagree with all those claims. I think representative democratic governments do tend to aim to maximize and retain their profits, and they neither governments nor emergent local mafia are particularly preferable to the other.
> Given that chrismonsanto, is taking an even more hard line approach to controlling his stack than I do, I'm assuming he agrees (I know - dangerous).

I'm actually OK with using something like EC2, because I control what runs on it. If I feel I can't trust EC2, or that it is too expensive, I can purchase my own hardware and move my stack to that. However, if I outsource my user management, I imagine the interfaces will be proprietary, and I will have to tear up my stack quite a bit to switch. I don't like that risk.

> I think there is value ... in coding your stack from top to bottom, and having no external dependencies

I'm also OK with having dependencies on other people's work, I just want the source code available so I can fix up things if necessary. I don't even require that the software is 'open source' or 'free software', since I don't plan to redistribute my changes. I do currently have one component in my stack that is proprietary (with source) and I have very much appreciated the ability to fix up things that didn't fully integrate with the rest of my service.
A well crafted comment.

But I have a thought experiment for you.

"One of the main questions about this is who would do boring, low paid work..."

First, let's assume we are starting from scratch and reassigning what "work" is compensated with pay and what work is not.

For the purposes of our thought experiment, ignore "low paid" and "high paid" below, because we have not yet decided what work will be compensated with pay, let alone how much pay. Hence "boring, low paid work" becomes just "boring work".

Next, let's further assume that "boring work" describes the type of work that people do not normally want to do.

And here's the though experiment: What if the converse of "boring work" (e.g., "interesting work") was not actually "work"?

That is, what if "interesting work" was not compensated? What if people were not paid for doing what they are naturally inclined to do, i.e., for doing what they love?

What if we only compensated people for doing "boring work"?

Remarkably, this actually does not sound too far from reality. Because that is exactly what many people do in order to be compensated: boring work. Similarly, many of us do plenty of "work" for which we are not compensated.

What's different about the thought experiment is that we reassess whether persons who refuse to do boring work in favor of interesting work should actually be paid. After all, they are doing what they love. And they would presumably do this regardless of payment.

If only the "grunt workers" get paid, then we have created an incentive to do grunt work. We have not removed the incentive to do more interesting, "higher level" work because that incentive does not find its basis in compensation, for this is the "work" that people actually want to do, regardless of payment. Or so that's what they always tell us.
You need to step up to better quality women. ;-)
Metaprogramming in Sinatra: A Peek Under the Hood
This Comedian's Startup Is Still In Business, 30-yrs Later
Developer releases app to remove region lock of Galaxy Note 3
Simply crossing borders doesn't give you citizenship.
No, but if my complaint was that I didn't have the money to staff it with the fraction of a full time employee it takes to run and administer (periodically, I might add; There is no full time staff for any of the particular monuments in DC), I would have a hard time justifying paying for multiple guardsmen, police and park rangers to keep people out of them.

The rental of barricades I can see as sensible -- the rental of barricades as well as a 1400% increase in staff? I cannot.
Ok, 1 year is reasonable. My daughter started sleeping though the night pretty early, too, but the first few months were weird and hallucinatory in their sleeplessness.
Relative to your overall weight, that doesn't seem like it's highly variable, but I've never been much for stats. Try weighing yourself daily after dinner and see the difference.

How much water do you drink per day? I have found that in times where I'm not drinking enough water, my weight will fluctuate more.
The idea that you need a Xeon for VM "stability" and "decent speed" is one of the more asinine things I've ever heard. There's no real advantage to a Xeon over an i5 for 99% of developer workload.
Well. If my poverty line definition wasn't foggy it sure now is.

The map and the snapshot of different food make it very hard to compare different countries.

KWh and a KCal+nutrimental value per $ ratios would have made the comparison easier.

Am I missing something ?

Note: on a 1024x800 screen the food of eastern countries can't be seen because of horizontal scrolling.
I haven't done it in a while but I did run virtualBox on a linux host and WinXP guest back on my old EEE PC 1000 - 1GB netbook with 1GB ram and Atom CPU.

I mean we aren't talking about creating a functional desktop here, all they need is a image that boots runs a text editor and has all the ruby packages pre installed - you don't even run heavy weight IDE like eclipse - this should easily be doable with ~512MB ram image.

But I agree and Ubuntu might not be the best choice of distro for this, especially with that unity monster.
A lot of the necessary boring work could also be done by people who want additional disposable income. They just wouldn't be forced to work full time, instead opting to only work as many hours as is necessary to meet their disposable income needs.

On the other hand, I'm wondering what a minimum livable wage does pricewise and scarcity-wise for all goods and services that those on a minimum livable wage earn. There would probably be an upwards inflationary effect on the prices of those goods, countered by economies of scale. This would apply to pretty much all basic expenses except housing, which would largely only go up because you can't make more land in desirable places.

If there is a minimum livable wage, I would still imagine that opting to only use it and no other income would still force you to leave city centers where rent is too high to afford. You may still have to worry about losing your job, because the minimum livable wage wouldn't cover your rent or mortgage.
Good job !

The logic used, based on pattern detections is pretty clever.
Reminds me of cellular automata algorithms.

Even if you are not interested in puzzle games, reading the "first steps" part of the site is quite interesting and enlightening.

In the "make a game" part, one thing is not clear enough, though : in order to launch the games, you'll have to hit the "x" key.
netbeans can use maven out of the box
Oh for fuck's sake. Do we really, absolutely need to drag political correctness into every god damned issue?
I Built it For Me
If this is pet peeve time then I'll go with the alarming number of sentences people want to start with the word "So". It makes you sound like you're in constant rebuttal mode and trying to lay out the one true world view.
Patching a WHMCS zero day on day zero
Woah, looks like this was made by Steven Lavelle (http://www.increpare.com/) too, who has made a staggering number of bizarre and fascinating indie games over the years. My personal favorite is Mirror Stage, where you navigate patterns in a kaleidoscope:

http://www.increpare.com/2009/03/mirror-stage-done/
> Nightmares in response to melatonin suggests low serotonin.

Could you please provide a source for that statement? :)
Nah, it's not that variable, it just fluctuates a bit. By "it's not as useful" I mean that weight loss/gain happens at larger timescales, so you can't look at normal daily noise and say "omg im so fat".

I think the noise has more to do about the time you last drank water (right before bed, for example), also the time you last ate (the later you eat, the more food you'll still be digesting when weighing yourself). It's not a problem by any stretch, it's just normal data variance.
Ask HN: Switching from finance to tech?
I work in finance in a nontechnical role. Since I graduated from college six years ago, I have felt like I am on the wrong career path. I really feel like I need to switch industries. My job is very demanding. My heart isn't in my work and I feel like I'm underperforming as a result. I've also had a difficult time dealing with the stress of the job and the work culture.

One of my big regrets is that I never took much math in college. But I am a very independent person--a self-learner with a hacker's mindset, and I try to fill in the gaps where I need to. I self-taught Python and enjoy working on personal coding projects. My idea of a good time is reading Gilbert Strang's Introduction to Linear Algebra, Concrete Mathematics, etc.

In my spare time I've been taking the Coursera and EdX courses on machine learning. I've found this to be fascinating and it's got me pondering data science as a potential career.

General Assembly in NYC offers an 11-week Data Science program. Students pick a research project and then present their projects at GA-hosted employer meet and greets after the course ends. The vast majority of students already have a technical background, although there also are some people in fields such as finance looking to make a career change. Admission is selective though, and there's no guarantee that I'd even be accepted, let alone have traction with the job hunt that follows.

I feel very lost. I've been referred to a career psychologist (seriously.) by someone I trust and respect, so we'll see how that goes.

Going back to school is always an option, but I don't know what I would study. I suppose I could do an MS in Comp Sci or an MBA but I'm not sure either would be a good fit. The former, perhaps not being career oriented enough; the latter, I'm not interested in the types of doors it might open and I feel burnt out from business in general.

And so I turn to you, HN.
you can also use the strategy described in the hacker's diet[1]

[1] http://www.fourmilab.ch/hackdiet/
I found certain aspects of it really interesting. In particular, the way that the author interacts with the crawling software to gain insight into the structure of a website. Not just the process, but the way he interacts with it is interesting too.
This seems very similar to the way mobile devices use vsync/vblank to organize work into frames. [0] Very cool!

[0] Good explanation of how this process works on android: http://www.youtube.com/watch?v=Q8m9sHdyXnE
Show HN: Upbeat, HN for music - Node + Redis + Angular + Soundcloud
TBH, of all the different companies out there, McDonald's is the one that I am shocked has not become far more automated. They operate on a scale that no other food industry business operates, yet many of the tasks are still done by people. Why don't we have fully automatic fry machines by now for example?
That's fine, so long as the problem you're trying to solve is easily expressed within Maven's structure.

And sometimes, expressing it withing Maven's structure can lead to very slow builds, at least within my experience.

But perhaps I'm prejudiced; I hate maven, and have since my first experience with the Mvn 2 betas. You know when you see a new technology and you say, "this is painful now, but it's going to be worth it in the end?" I got the "this is painful now, and is only going to get worse as plugins depend on crazy ass behavior" feeling.

From everything I've seen since, I was right.
I've worked with different virtualization tools on different machines, the biggest hassle is configuring the image which is done once by the teacher - once it's set up it's really easy to distribute it and then it should work identically on all clients assuming they installed the software and image correctly.
To me cinemas / movie theaters are about the film. I never eat or drink while I'm there... maybe I missed the memo.
It's hard for me to see the food, since it's on newspaper.
Everything you need to know about the NSA and Tor in one FAQ
Can someone explain Rubinous to me like I'm 5? NEwish to Ruby and Rails.
Sure they were. Google "year zero". And Mugabe's experiment is seeing if "war veterans" make good farmers. Before he came to power Zimbabwe was called The Breadbasket Of Africa...
Fab.com lays off 100 employees (1/5th of workforce)
Check out this thread from two years ago where people argue that the opposite phrase is sexist. I guess they figure "not your daddy's VCS" is sexist because it excludes women from the set of individuals who might have a need for a VCS.

https://news.ycombinator.com/item?id=3931048

In summary, any allusion to gender with regard to tech is inevitably interpreted as sexist by someone.
> Why care if you do a good job if losing it doesn't really impact you that negatively?

That statement says a lot about how you think; everyone is not like you. Many people take pride in what they do and do it well regardless of compensation, it's not about the money, it's about the fulfillment one gets from a job well done.
I am quite sure much of the driving public never would have thought a battery powered car could go up in flames. That might be the real damage here.

Regardless of Musk's statement, a gasoline powered car would not have suffered a fire most likely in this incident as its fuel source does not stretch to the front of the vehicle. More than likely the debris would have done some serious damage to the underside of the car, if any. There is a lot of open, hollow, space in the underside of most modern cars.

He is handling it wrong by trying to tell people that this car fire is not anything special. Seeing that the fire department had to do quite a bit to contain it means his cars will burn to the ground just like any gasoline car will. I doubt any fire will leave the car in any state but salvage.
I imagine a lot of downvotes happen by accident. Whenever I get one, inevitably someone will upvote it just to get it out of the grey. It's an upvote I probably wouldn't have gotten otherwise, as it usually just stays at 1 point. My conclusion: don't sweat them.
One thing I enjoy about NodeJS is their standard library is asynchronous until you want it to be. Most of the NodeJS libs in NPM are also designed in this way. With EventMachine, you have to be careful what you're using because some of those RubyGems will probably include blocking IO.

When you're doing that kind of programming, I think it's better to use a language or ecosystem designed specifically for that purpose rather than use a library such as Twisted or EventMachine which is inside another language that may or may not support what you're doing. This has no basis in theory or anything, just my own experience. Makes things easier for me, that's all.
Ok, but the impact of hacking the official repo, vs sitting at some coffee store hoping someone in the same coffee store builds a project using a particular lib you have code to modify on the fly while you mitm that exact repo pull?

He said much more likely the repo is tampered with. Easy to see why. This coffee shop scenario, they'd have to be targeting you personally and know your habits and your build and code they need to target you. In which case, https is far from your biggest concern.
You forgot the direct causal effect this has on demand. The more labor is displaced, the more demand will need to come from somewhere else, and that is a massive problem to have.

When automation increased productivity during most of the last century, demand grew and economy prospered. When towards the end of the century, automation started to cannibalize jobs, we started to rely more and more on debt. And that's where we are today.

While there is likely some inflation, it would be really interesting to see how it balances out (if it does) against the benefits of added extra demand.
Since I've built user/admin systems for the majority of my career, this is really interesting to me. The site looks great and the Family Guy stuff is funny ("No,n0_p4ssword!") Hah.

I agree with the lion share of what WA said.

The MVP/prototype argument is a valid one, but remembering that nothing lasts forever, it's probably wise to think of these services as temporary tools and not permanent solutions.

I believe that user management is such an important (and basic) thing, that you should own it. For the hackers out there, feel free to checkout my Drywall project, which is a website user system build for node. https://news.ycombinator.com/item?id=4951605
Raising in the Valley as an Austin company
When people refer to 'malware' on Android, they tend to mean sketchy apps that mine your contacts and other metadata the app requires access to.
It seems like you're the ignorant one here.

Center for Social Cohesion: One Third of British Muslim students support killing for Islam

http://www.dailymail.co.uk/news/article-1340599/WikiLeaks-1-...

http://www.socialcohesion.co.uk/pdf/IslamonCampus.pdf
I really like this. I had this concept in my head for a while now. It's a great execution.

What I never could wrap my head around is how to monetize it without using ads all over.

I see you are using "Buy on amazon". Is this giving you a share of the profit?

Anyway, great job!
Can't wait to try this out at work!
6 weeks?! That is the worst I've heard since 1999, a year or two before all the software jobs disappeared...
If the tax is also based on improvements and use of the land, then it's not "Georgist":
"Many municipal governments of the USA depend on real property tax as their main source of revenue, although such taxes are not "Georgist" as they generally include the value of buildings and other improvements, one exception being the town of Altoona, Pennsylvania, which only taxes land value."
http://en.wikipedia.org/wiki/Georgism#Communities

Actually, I think Georgism is designed to make it difficult to get money by renting property (unless you provide additional value)! This would help to better distribution of wealth because it would make it difficult for rich people to get richer by just buying and selling (or renting in this case) without providing additional value.

BTW, what's your state?
So this is for "block pusshing" games. Maybe the domain space is bigger than I can imagine at the moment, but at least it's an interesting application of declarative programming

One thing I don't get: [>Player|Crate] ->[>Player|>Crate]... does > mean 'right' or does it mean 'towards'?
Bizarre Healthy Foods (HILARIOUS)
> the job market would probably flip: You would have to pay people very well for doing unpleasant work, and not so well for fulfilling jobs.

Isn't that already the case? Boring jobs = accountant, lawyer, engineer (to most people), fun jobs = musician, actor, artist (again, to most people, or at least teenagers). I shudder to think what the median income is for those fun jobs.
I also love Clojure, but I would recommend learning Scala. Its essentially a vastly improved Java. Or you could say its vastly improved on many previous languages. But at its core it is Java (JVM).

Its easy to read, succinct, functional or OOP when you want it to be, and you can work directly with any java library. Its really a well designed language.

The only downside is that the compile time is very slow, whereas with Clojure you can develop on the fly.

The downside to Clojure is that the code is very dense to read. But if you have the time I also strongly recommend playing with it for a week.

Scala play! is a pretty good web framework.
Wow, what a journey!
One can be skilled (or become skilled) in multiple areas.
Great video. To me this work is far more valuable than expensive iterations of impractical walkers that are great for show and good for little else.
> This would apply to pretty much all basic expenses except housing, which would largely only go up because you can't make more land in desirable places.

You can build up, which most places don't do. What we'd see is fewer houses and more condos/apartments.

> You may still have to worry about losing your job, because the minimum livable wage wouldn't cover your rent or mortgage.

Yes, but it transitions the effects of this loss to "move somewhere else and have fewer luxuries" not "have no home and be unable to eat", which I think is an improvement.
We've started up http://hostghost.io that provides a simple hosting solution for the new ghost blogging platform.

I also built http://ami.responsivedesign.is over a weekend and it won net magazine side project of the year. Hooray!!!
If you like this article's ideas, are fascinated by social graphs and smoothing communication among nodes, enjoy functional programming (functional Scala, Clojure, etc), and are interested in a new job, drop me an email.
I wouldn't say "holding back essential features" - I've used the OS version of Sidekiq in numerous projects and it's exactly what I'm looking for!
Amusingly, there was one technical snafu during the presentation. Steve's clicker stopped responding [1]! Of course, the way he handled it, in my opinion, made the presentation that much better and that much more human.

1) http://www.youtube.com/watch?v=9hUIxyE2Ns8&feature=youtu.be&...
Namespaces in Objective-C
Right, and that's why the first item on my list are artificial muscles. If we had efficient, pliable, moldable, rugged, strong artificial muscles robotics would make a step change for the better overnight.
> Popcorn wasn’t widely eaten in homes, mostly due to how difficult it was to make: consumers needed a popper, oil, butter, salt...

That's wrong, it's insanely easy to make. You don't need a "popper", just a pot with a lid. Any pot. And what kitchen doesn't have oil, butter and salt around?

But since TV wasn't around yet, what were you going to eat it to? ;)
or maybe because it was less off-putting than building a web chat in erlang or java?
Problem is the DOM API can't solve this - not in the general case. Or rather, they're already solving it as well as they can. Modern browsers don't cause a reflow when you set a property: they invalidate the DOM so that it reflows at the end of the script block. However, they also have to reflow whenever you get a DOM property, because the value of that property might have changed based on the DOM manipulations you performed earlier. The full list of getters that trigger layout is here:

http://gent.ilcore.com/2011/03/how-not-to-trigger-layout-in-...

This library gets around it by assuming you have no data dependencies between your modifications and subsequent queries of the DOM. That's a dangerous assumption to make in a large JS app. Oftentimes you want a data dependency, eg. you're introducing new content into an element and want to measure how high it'll be so you can add a transition. (BTW, a common hack to measure elements without actually rendering them is to stick them in a hidden iframe.)

I think the right solution is for application developers to carefully consider layout and architect their apps appropriately. Usually you need a separate "measure" pass and "modify" pass. In the former, read out all the DOM properties you need and attach them to the element (if you're using JQuery, $.data works great here, otherwise you can use data attributes). In the latter, read out the properties you measured earlier, perform any computation, and then set the final state of the DOM and kick off any transitions needed to get there. You may need to interleave multiple measure and modify phases, but at least then you know which phases will trigger a layout.
Compromise of the State Department’s strip cipher by Axis codebreakers in WWII