skysight-inc/HackerNews huggingface dataset:
Agreed, I've come to view callbacks as a tool to enforce application-level data integrity and relationships, not a place that higher level business logic should live. The line is often fuzzy, but I think the question you alluded to, "should this happen with every conceivable create/save/etc.?" is a good general guideline.

One thing to keep in mind when moving logic out of callbacks is that you'll no longer get the implicit transaction that ActiveRecord wraps around the whole callback cycle, so you have to be a bit more hands-on with managing transactions.
It could have to deal with scarcity, as time that is scarce is perceived to be higher valued, as booking office hours with a professor, for example. But that's just my economics take on it.
Yep. We plan on launching the css component our our offering in the near future.
I think the Atlantic is regarded as vaguely liberal/left. The important thing in the article - far more important than car ownership is the energy usage figures. The US uses a lot more fossil fuel per capita than Western Europeans - even if they have fewer cars.
Yes, that's what TFAA definitely hints at:

> the Scala number is a bit misleading: it was written before I got really familiar with Scala, and could probably be condensed to about 150-200 LOC’s

A factor of 2~3 sounds about right for the difference between "scala as a better java" and "scala as scala"
JSBooks - free javascript books
Ask HN: Recommendations for becoming a git guru
There are dozens and dozens of git tutorials out there, some are no doubt very good, some are certainly completely dire.

Yes, I can read the manual. Yes, I will be using git obsessively. But equally, it's useful to have some sort of guidance as to where to start, the gotchas that await, and what to try next.

So I turn to HNers.

What git tutorial would you recommend?
I use s3cmd sync to keep my files backed up.
But for my pictures, tunes, I use a Linux server and rsync. Now glacier is perfect for my tunes and family pictures.
The S3->Glacier lifecycle-feature must be a welcome thing for you I guess?
They don't have to understand, they just need to see the word.
Apples and Oranges. The GDP is the income of a country (roughly), the market cap is more than the current annual income of a company. Not at all comparable.
>> On the other hand, the long-term effects of never cleaning your code can be devastating. Entropy is the code-killer.

I love that quote.

Can I have "Entropy is the code-killer" on a T-Shirt please.
Are you on the ethics review board? Or can one speak frankly here about engineering?

You do not need a degree to be an EIT.
You do not need to have studied engineering to be a PE.
The CAD tech who assists in design (to the review board:"so I've been told by our competing firms") does not even need a high school diploma.

The PE who seals the plan is human. He had four projects going, they all have deadlines, and he trusts his staff to get it right. He checks as much as he can, but he doesn't have the time or the skill to check everything. He often cannot even check his own assumptions on many calculations because half his focus and career development is on project management and business development. It has not been on double checking the basis of the formulas his software has implemented.
Happy to see this name in the news again, and excited to see them blossom out of YC. Good luck guys. Any metrics on total users?

Are you guys monetizing yet? Would love to talk re: clinical trial recruitment.

Last question: Can anyone provide the citation behind the giant prevalence numbers thrown out by TC?

I work for a startup in drug development in IBD and those numbers are the biggest I've seen. (1.2m US and 2.5m worldwide are biggest I've come across). Would love to know if they have merit.

Email: briggsbio {at} (Buchheit created me)
Android NDK Cross-Compile Setup (libpng and freetype)
Ask HN: Anyone ever use Fiverr for SEO? 
Hi, I am considering using some of the fiverr jobs on offer to give my website a bit of a traffic boost. Anyone have any experience doing this? Any particular jobs better than others?
I may be misunderstanding you, but from your description, that more describes functors than it does monads. The difference being that in a monad, the `someFunc` you pass in is responsible for creating a new context (of the same monad type).

Pretending that javascript is immutable, I think it would probably look something more like

contextObj = monadBox(myObj)
// someContextReturningFunc gets myObj as its argument from contextObj and generates newContextObj
newContextObj = monadBind(contextObj, someContextReturningFunc)
newNewContextObj = monadBind(newContextObj, someOtherContextReturningFunc)
...

To make this more concrete, let's take the Maybe monad/functor in javascript and compare them. The Maybe monad is described by johnpmayer elsewhere here.

// Creating maybe "contexts"
maybeNothing = {maybe: "nothing"}; // maybeMonad holding nothing
maybeJust = function(x) { return {maybe: "just", just: x} }; // create a maybeMonad holding a (the '[a]' in the picture)

// Monadic bind
function maybeBind(maybeMonad, f) {
// maybeMonad is '[a]' in the picture
if (maybeMonad.maybe === "just") {
return f(maybeMonad.just); // expects f to return another maybeMonad '[b]'
} else {
return maybeNothing; // also '[b]' but the b value doesn't really exist
}
}

// Functor map
function maybeMap(maybeMonad, f) {
// maybeMonad is '[a]' in the picture
if (maybeMonad.maybe === "just") {
return maybeJust(f(maybeMonad.just)); // expects f to return a value without any maybe stuff ('a -> b')
// notice that the monad wrapping remains separate from f
} else {
return maybeNothing;
}
}

// Functor examples
//////

// possible values of 'f', note that maybe is not involved at all
function addOne(x) { return x + 1; }

// usage
console.log(maybeMap(maybeJust(1), addOne)); // returns maybeJust(2)
console.log(maybeMap(maybeNothing, addOne)); // returns maybeNothing

// Monad examples
//////

// possible values for 'f', notice x is what was contained in the maybe (not the maybe itself) and the return is a maybe
function maybeAddOneIfOdd(x) { return (x % 2 == 0) ? maybeNothing : maybeJust(x + 1); };
function maybeAddThree(x) { return maybeJust(x + 3); };

// usage
console.log(maybeBind(maybeJust(1), maybeAddThree)); // returns maybeJust(4)
console.log(maybeBind(maybeJust(1), maybeAddOneIfOdd)); // returns maybeJust(2)
console.log(maybeBind(maybeBind(maybeJust(1), maybeAddThree), maybeAddOneIfOdd)); // returns maybeNothing (due to 4 being even)
console.log(maybeBind(maybeBind(maybeJust(2), maybeAddOneIfOdd), maybeAddThree)); // returns maybeNothing because the first bind returned nothing

// and of course, composition
function maybeMultiplyThree(x) { return maybeJust(x * 3); }
function maybeMultiplyThreeThenAddOneIfOdd(x) {
return maybeBind(maybeMultiplyThree(x), maybeAddOneIfOdd);
}

console.log(maybeBind(maybeJust(1), maybeMultiplyThreeThenAddOneIfOdd)); // returns maybeJust(4)
console.log(maybeBind(maybeJust(2), maybeMultiplyThreeThenAddOneIfOdd)); // returns maybeNothing

Edit: added some extra examples and comments
> Quadfecta (is that a word?)

In case you happen to read with show-dead on: it's a "superfecta."
Applifier's Everyplay enables users to record iOS gameplay and share it
The Innovation Lull
I've been stuck in this exact same place for the last one year or so. I wanted a job in machine learning or possibly NLP and python is my language of choice, while the language is an excellent tool for these tasks I have not been able to find jobs in ML or NLP possibly because both of these fields involve quite a bit more than the programming related work.

To top this off I live in India and it has been difficult to find quality jobs here; the ones that will hire a less experienced person like me, of course :-)
This is why websites should start to adopt solutions like Rublon (www.rublon.com).

7 reasons why you should add Rublon to your website
http://blog.rublon.com/2012/why-add-rublon/

I'm the inventor of this technology. Sorry if this looks like advertising, but I think that the problem with passwords nowadays is huge nowadays and has to be solved. BTW: We're releasing a new Android app in a few hours.
That's a pretty cool site! On a related note: I wrote a little bash color reference script, which is a useful reference whenever you want to add a bit of color to your scripts: http://madebynathan.com/2011/08/15/bash-color-index/
This is worse than hand waving. It is the kind of static typing error one gets when using Astrology to reason about money.

You just cannot compare the value of a projection/guess that doesn't account for inflation with the current instantaneous GDP value (thus completely ignoring the fact that money today is worth more than in 2020) while at the same time not projecting Brazil's current value.
Was not aware of this service. Thanks!
"In the coming months, Amazon Simple Storage Service (Amazon S3) plans to introduce an option that will allow you to seamlessly move data between Amazon S3 and Amazon Glacier using data lifecycle policies."
There are three stages when learning a skill ( http://en.wikipedia.org/wiki/Cognitive_apprenticeship#Overvi... ) :

The cognitive phase where you think about what you are doing and develop strategies to complete the task.
The associative phase where you practice, eliminate mistakes and learn what works.
The autonomous phase where you don't have to think about what you are doing anymore.

It is likely you are reaching a plateau because you entered the autonomous cognitive phase. To get off this plateau you should : focus on staying in the cognitive phase by thinking about what you are doing. Set yourself goals in proficiency and most importantly, stay off you comfort by going (~10%)faster than your cruising speed or performing a task more difficult than you are comfortable with.
e.g : repeat the harder parts of songs you haven't mastered yet instead of playing the same old song you have mastered, type 10% faster on the keyboard and note the mistakes you make,...
tldr; there's no secret sauce; just work hard.

Applies to other professions too.

edit: Congrats to the author, and refreshing to see someone document, the effort involved as opposed to some "clever hack" of the system.
What if you sent a read notice? That would let the sender know that you have seen the email.
Well, it's Techcrunch.
Here you go http://en.wikipedia.org/wiki/Grok
If there is a human element in the loop, and with a government process it is fairly likely, then shutting down the website after hours and on weekends makes sense from a workplace environment point of view.

Walking in each morning to a huge backlog of work generated overnight is bad for moral...generating a backlog over weekends and holidays is even worse - spending one's Veterans Day off from work knowing that the backlog is piling up sucks.
It applies to #2 as well - not just in tech but across all of the functions. Top level A sales people are wildly more productive than average joes, and can deliver millions more in revenue. Meanwhile spreadsheet jockeys, deal makers, marketing people, engineers, production engineers and even HR folk also fit the curve.
Can anyone outside the U.S. - preferably in Europe - share similar stories, if any?

I find that the U.S. has so many cool ways to work your way into a programming gig, it makes anyone outside red with envy, but I struggle to find something similar in Europe - especially in smaller countries.

What would your advice be for us who can't get a U.S. visa?

EDIT: I'm thinking mainly of Python/Django jobs and communities here.
Yes. Though I bet the real lossage probabilities are dominated by failure events that take out a substantial fraction of all the objects there are, and that happen a lot more often than once per 10^11 years.
I use a combination of Dropbox and S3.

I have my MacBook and a Linux server linked to my Dropbox account. So changes in my documents are synced to my Linux.

My Linux run three cron-jobs. One daily, one weekly and another monthly. The command is.

s3cmd sync --delete-removed ~/Dropbox/documents/ s3://backup-daily/

There are buckets for weekly and monthly too.

Note: the command is not exactly like that, check the man page.

That way I have backed up all my documents very cheap.
The definition is pretty clear: The pixel grid is not visible.

For that three variables have to be taken into account: screen size, screen resulution and viewing distance. Actually, four: visual acuity, too (though it makes sense to just set that at 20/20).

That's the definition Apple repeadtedly gave in so many words. They were actually pretty explicit about that. Sure, it's their trademark. They are in no way obligated to respect that definition. They can turn around tomorrow and call every one of their screen a retina screen - but when people use the term retina they usually mean Apple's original definition.

It's a squishy term, sure, but I like it. It makes a ton of sense since it puts human perception on the center stage and that's what matters. Human perception is squishy, so it makes sense that the retina term would also be squishy.
Examining the Ponzi Scheme Through the Mind of the Con Artist
This isn't too different from an algorithm I used to clean up mech. turk.
Not quite the Tuskegee Experiment.
Definitely! Hopefully it can enable us to provide a good trade-off between cost and restore time.
Its not difficult at all actually.

Just requires a timeout for the onmouseover event. jQuery's hover intent would work wonders.

Basically show the submenu onmouseover of parent and if no mouseover is detected on the submenu within 400ms => hide the submenu.

It gives the user a slight bit of time to move the mouse to the submenu rather than relying on perfect mouse movements.
This isn't the worst thing ever, therefore it's not bad? Apt handle, pessimizer.
Website Security tips - Sql Injection and its prevention with Java
Let it change your intuition. It will make you look at people differently.
Hey thanks for the hattip! Infact we created tourmyapp mainly because we found such plugins to be inadequate. We envisioned a solution that will make it easy for app developers to add the tour without any coding. Encoding the tour steps in the page in which it needs to be displayed, ties the tour to the build deploy cycle. We wanted to create a solution that would make creating tours and editing them easy so that the marketeer can go ahead and do it without having to depend on the developers. This also helps clean the developers off any additional workload and also helps ultimately keep the code base cleaner.
Link to your thesis? Its okay, not everyone here is english-only speaking.

Also, how does this suggested approach differ from other recommendation-systems such as netflixs?
People like it :)

(I don't.)
As a frequent user of the .Net stack, this sort of thing is common and very annoying indeed.

I'd guess that it's probably using a temp path which is close to the length of the path limit on Windows and is either not handling it or truncating it. Either that or it's just shoddy code.
Interesting, but with an important flaw the author acknowledges:

> The important downside of these results is that the people using the system were not aware that points are calculated in a different way.

As I mentioned in that HN-meta-whining thread, you can't engineer away jerks, and social problems need social solutions. People will naturally adapt to any sort of engineered restrictions and find away around them regardless. Personally I think the only way to maintain a very high standard of quality in a community is strict hands-on moderation and swift ejection of members who don't match the community's goals and vibe.

(In either case I think the thread this post refers to was about the negativity in comments, not the quality of submissions. Though I might be remembering wrong.)
Well then use your own repo, or bring a usb, have it veted by IT and get your configs on your dev machine.
I notice many players these days that their entire strategy is based on aqui-hire. Essentially building a "feature company" and trying to grab a user base to piss off the company that "should have the feature anyway". If you ask me, thats a rather narrow game plan and it leaves a lot of risk in case something changes. If the "target company" implements the feature themselves, well, then you either need to pivot or continue in the delusion that the company can stand on its own (hint: It wont because it wasn't ever part of the plan).
Turns out there is less of a need for direct support: https://news.ycombinator.com/item?id=4411649
When Insiders Sell an IPO, Is it "Bad"?
Historically it's a literary magazine. It's changed focus in the last 5-10 years. Andrew Sullivan was an editor there. Sullivan is an "openly gay Catholic" conservative. Jeffrey Goldberg is a writer there. He was at The New Yorker, wrote about international human rights, and Castro invited him to Cuba. James Bennet is the editor-in-chief. He was at the New York Times for about 15 years before then. As editor he "featured a cover story on Britney Spears, a change from The Atlantic's tradition in higher culture." (All cribbed from Wikipedia.)

I would say it's literary and good journalism. If Colbert is right, and reality as a well-known liberal bias, then it's liberal. Or, see the Talk section of the WP page for a rather lengthy discussion: http://en.wikipedia.org/wiki/Talk:The_Atlantic .

I think it's shifting to include more technology coverage under its traditional cultural commentary/literary style. Sort of somewhere like a mix of the Economist and Wired.

While I would like that, I'm irritated with them for spamming various sites, including HN and Reddit. See http://www.dailydot.com/society/atlantic-slaterhearst-jared-... . I've commented on some of their self-posted links here on HN, including questions about the article, and got no followup, which tells me it's more spam than trying to engage in dialog. So I tend to ignore links to their site.
There are some pretty old commercial organisations out there. One list [1] has several that have existed for over 1000 years. Whether they would be capable of storing data (or would even be interested in doing so) is hard to say, but there have at least demonstrated that long-term organisational continuity is possible, and that presumably requires some organisational 'memory'.

Having a long history obviously isn't a predictor of future stability. According to the Long Now Foundation site [2], a Japanese company that existed since 578CE went bust in 2007.

[1] http://www.bizaims.com/content/the-100-oldest-companies-worl...
[2] http://blog.longnow.org/02008/06/13/the-100-oldest-companies...
One thing to be a little careful of - you are sending all of your data to S3, which is, of course, the backing store for Dropbox.
I agree that sometimes a new job might bring into light a toolset you;ve never used. I've never taken more than a day or two to get everything up to speed though. Interestingly enough, after being a unix guy for more than 10 years, my latest job required me to use visual studio. My first commit was three days after I started. This days I even have a file with all my VS configuration.

You also gave a perfect example of the only case I explicitly said you shouldn't point the finger to "new developers", which is when IT - or even the senior developers - are at fault for having a crappy development environment.
Pro Git is good and free: http://git-scm.com/book
Working with tables - Course Cascading Style Sheets (CSS/CSS3) - Part 9
Writing a simple WebSocket application
The goal of the attack may be to lockout the accounts, not guess the passwords. That's often overlooked.
<tears of joy>Yay!</tears of joy>
My guess is FundersClub gives equity as a perk - but not necessarily voting control or a board seat?
I really like code school's hands on approach where you can try out all sorts of git commends. Learn as you go and quite fun! http://www.codeschool.com/courses/try-git
The test page still exists, but isn't currently surfaced on the project page - http://necolas.github.com/normalize.css/2.0.1/test.html. Thanks!
Keep in mind that even if your data is in one AWS region, it'll still be stored in multiple different datacenters some distance apart. Just not on the other side of the US.
Cigarettes Price New Smoking Appeal, Price War
Cigarettes Price New Smoking Appeal, Price War
I assume you are the creator of cdnjs - what are your relation with cloudflare beyond just the sponsorship? Are you working for them? Do you advise them?

I'm wondering what is the performance increase delivered by cloudflare. I've heard many mixed opinions and I'm at the interesection where I have to decide whether I'm using them or others.

btw - kudos to Cloudflare for sponsoring this - seems like a great way to put yourself in front of developers.
Wait, do I understand this correctly: You sync your dropbox to S3? Do you overwrite your previous daily when you do so?
Makes me kind of sad that I got used to the Solarized color scheme already (I use it in VIM, iTerm, Visual Studio etc... ), so I have no use for customizing my color schemes any further. I'd love to use this :(
It always seem funny though that these companies say

"We will keep your data safe! *

* T&C's apply, if we lose it, you're on your own."

I shouldn't imagine Bank Vaults deal the same way with physical property. Can you get insurance for digital assets the same way you can for physical ones?
No, certainly not, as bcrypt doesn't "know" it is getting md5, there is nothing wrong with passwords being hexadecimal strings. Sorry, I miswrote there.
I do not really see how you would do this... care to explain a bit further?
I'm also a big fan of ASCII diagrams. The ones I use to explain my Rails authorization gem, Authority (https://github.com/nathanl/authority#the-flow-of-authority), were made using a great tool called Asciiflow: http://www.asciiflow.com/
Aeropress for filter or my rather ridiculous-toy-for-in-the-home Expobar Leva, complete with latte art.

Again, I'll stress the importance of fresh roasted beans - I like mine a few days old so they can degas a bit.
Oh that's horrible then, sigh.

Well hopefully the public and funding won't get bored with Mars.
It's perfectly fine for a company to ask for a developer with more years of experience. However, the post mentions a junior developer position, which means they do not expect him to know things that developers with 20+ years experience (according to your surgeon example) do.
nothing says "cloud" like sending a physical hard drive through the mail.
I've been hoping the rails team would implement two phase commits since the 1.0 days. Does anybody know if the idea has been considered?
only if that gif is from 10 years ago =/
>>Not like anyone can do follow-ups on this research any more.

A modest proposal:

Places like Syria seems to not only torture dissidents but also their children -- and the regime need cash because of all the sanctions.

The Syrian Bath party was even inspired by the nazis, so there is precedent for getting experimental data.

(Sorry about this, sometimes my humor disgusts me too.)
Keyboard instruments have the advantage that note formation is relatively straight forward compared to (say) the violin, but then you do have to play two handed, i.e. at least two lines of music.

"It partially depends on how you define the ability to play music."

We tend to judge ourselves against recordings of the best artists, and those recordings may have been heavily edited. Before recordings were easily available, amateur music making was much more widespread. I think I can see signs of a return to social music making for the fun of it.
The big advantage with the US in this case is that it is often cheap and easy to fire someone. This makes companies much more likely to take a chance on someone, since they know they can get quickly rid of them if it doesn't work out.
Embedded and kernel work? I do web-app programming because I thought I wasn't smart enough to do that stuff!