skysight-inc/HackerNews huggingface dataset:
Agreed, but the bad design is not in ZMQ, but the way it is being used.

A client should never just wait forever for a response to a message. Any reliable system has to implement something like timeouts our immediate message acknowledgement (at which point maybe you can wait forever for a reply.)

There's a comprehensive discussion of this in chapter 4 "Reliable Request Reply" of the ZMQ guide.

TCP doesn't give you guaranteed response either. Just guaranteed delivery (or error.) In this case, this is exactly what the author's getting with ZMQ. The client's Request socket makes a successful delivery, then the server crashes before generating a response, and the client waits forever for the response that will not come.
Tuts+ accounts hacked - User passwords stored in CLEARTEXT
I'm confused by your statement. When your data fits the tool that was designed to work with that data...everything is great? Isn't that the point of using the right tool for the right job?
Clickable: http://pitchremix.com
Both the value (and the experience) of getting a PhD is very field-specific... Out of curiosity, what field? Are you going into academia?

I enjoyed my PhD (in economics)... but I think that's pretty rare. It was also less useful to me than 5 years of work-experience, since I didn't want to go into teaching.
A very valid question for Enterprise start-ups. There might be multiple ways but what's the best way depends on what you did best and are good at.

Email-marketing might sound great for enterprise startups to reach out to businesses directly, but ofcourse there's a limit to it. In my opinion, its the brand and visibility you create for yourself (via blogs, media coverage, backlinks,sensible website) which carries long-term paybacks. If people know about you, they'll come to you when that specific need arises.
Ppenz: Dolphin 2.1
Making a startup is not about coding or ideas. You have to learn a lot (some boring stuff) that will help to reach your goal. Learn marketing, negotiation, social media, blogging, bussiness management, how to treat your customer. After this you will have the answer
Re: SPs, no, I meant people used to say all your data access should be through SPs, which seemed to turn about 5-7 years ago as the general consensus moved to parametrized queries and freedom from DBAs overseeing your changes. I haven't seen anyone say that in a long time now. I used to use them for complicated TSQL and helper functions, like some crazy recursive tree building stuff, but these days I haven't actually written one now in a couple of years.

On a more individual level I'm also now finding myself even shying away from complicated SQL queries. I'm finding these days they're unnecessary 90% of the time. Often it's actually faster and more maintainable to pull out a larger amount of data and then do the more specific calculations in code. Even with good indexes, etc.
It's mainly to keep everything (where everything == files, REPL, docs, etc.) in a single window, which I can then throw full-screen and have absolutely nothing but my work in front of me. I'm sure one could use ST2 (or any other GUI app) on Linux with a tiling WM like xmonad and achieve a similar workflow, but there doesn't seem to be a way to achieve this on OSX that doesn't involve ugly/unstable hacks.
Honestly I don't think their tutorials are half bad and I enjoy reading Smashing Magazine. Mainly for fluffy stuff. For security & scaling stuff go elsewhere.
Finally!

Sublime Text 2 is really a wonderful piece of software. I can't live without multiple cursors anymore. Of course it can improve (anything can), but in my opinion is the best text editor available.
In principle I agree: it is bad practice.

But let's remember that either plain text or one-way hashed they will be broken eventually. The only thing hashing passwords buys you is a little bit of time before the "hacker" can use those passwords to access the compromised system.

It doesn't, for example, protect you from password re-usage issues. You also have to reset the passwords either way.

I think getting broken into is the biggest problem here; everyone has recently spent far too much time talking about hashes instead of asking questions about how the real break-in occurred at these businesses.
That's the view I've come around to. The more I learn, the more I see that the ORM problem isn't just hard, it's effectively unsolvable. They don't map. There is no such map. It turns out to be a general principle that just because something is basically impossible doesn't mean that you can't write code that sort of kind of does it mostly most of the time, but the usually when that happens you end up with an enormous endless tar pit of a mess that even after massive resource expenditure still has lots of quirky problems and doesn't really work. It's better to build your system on foundation that doesn't involve solving an impossible problem.

Another example: "Multitasking" in Mac OS prior to OSX. No amount of hackery can turn a cooperative multitasking system into a preemptive one... but you sure can make a big mess trying. There's a lot of other examples if you look around. Look for a big, endlessly-growing mass of code that never seems to stabilize no matter how many resources are poured into it, and you'll probably find it's trying to do something impossible deep down in its core.
Most likely a typo, I'm fairly sure he/she meant d3.js
"I detest what you write, but I would give my life to make it possible for you to continue to write." --Voltaire (1770)

There is _nothing_ "to be said for not giving a platform and a voice to every nutjob out there." The balance must always lie with not restricting speech. If that means that a nutjob (as you call it), gets to say unpopular things, then so be it.
In other words, ORMs are at their most useful when solving the least challenging problems. To which we must ask: why bother?
Alot of fun. Makes the google minimoog not seem so lonely now.
Show HN: HireHand Makes Hiring for Skilled Positions Easier
Even better, put that in Preferences, Key Bindings, User.

Using the user file has two advantages:

First, you avoid mishaps when some future version makes changes to the default bindings file.

Second, you can quickly check what are your non-default settings.
Olark is Hiring a Devops lead in Ann Arbor, Michigan
At least in Hibernate, you can set to print the actual queries in console (or text file, depending how your logger is set).

http://stackoverflow.com/a/2538954/228692

That way, during development you can see which are the actual statements executed. I say during development because after that, in production, you'd be better off filling log files with these stuff :)

And I can answer your question (for Hibernate), that will be one query.
I don't like the implementation of ORMs as run-time layers. I very much prefer using a tool that generates code. It's orders of magnitude easier to maintain... for me anyway.
More potential "winners" are here http://plaintextoffenders.com/
The important thing to note is:

"When Treehouse was <25 people, I actually did a lot of execution. I’d write newsletters, sketch wireframes, answer support emails, start marketing campaigns, etc.

Now that we’re about to hit 50 full-time employees, I spend all my time ‘steering the ship’.

I suspect some of the vitriol here is due to the relatively large audience of entrepreneurs in startups less than half his size. To be more relevant, I'd love to see his schedule when he was a 3-5 person company.
VimClojure https://github.com/vim-scripts/VimClojure is something similar for vim. LightTable seems to focus on showing execution trace which isn't always desirable(a function that delete files, gets file over the network, does a lengthy computation etc). VimClojure provides you completions, repl, looking up doc, going to source etc.
Very rarely is a company of any type acquired to just be left intact. Typically you acquire a company for
a) the talent
b) the technology
c) you believe you can make changes to the business to drastically increase the margin. Typically that would be integrating it into your company and sharing resources.

I think you are going to be hard pressed to find a company that was acquired and basically left alone and then flourished.

You know those movies where one civilization just destroys another and abuses the resources, then moves on. It's kind of like that, just slightly more "civilized".
Because they want to slow the process down to figure out what their response should be. Don't like that? Tough shit. Freelancers get Net-15 or Net-30 payment terms if they're lucky. Clients have weeks to honor invoices.

I am speaking here, by the way, as a representative of the "consultant" camp, not of the "client" camp.
He says that in poor areas then if not as many kids had to make it to campus that would be a good thing. But I expect in a lot of circumstances that is dead wrong. It's their insane home environments that are the biggest problem for a lot of those kids.
Keep in mind that updating Sublime will revert this file. Add the bottom two lines to your Preferences > Key Bindings > User file if you want to keep them.

This goes for all preferences files in Sublime. Any declarations in the User file overrides Default settings, and Default settings are overwritten on any upgrade. This caveat has bitten me quite a few times with my packages in Package Control.
>I don't think there is an easy answer.

Uhm, ActiveRecord at least will print the SQL it generated. If you think it's inefficient, you can just… write your own sql that maps out to that query. With Arel/scopes, they're also composable and lazy loaded. What's not to like?
Watch This Mind-Blowing Quadrotor Performance
Well, given a sufficiently advanced code parsing module, I'd consider Sublime Text an IDE. It's just that CodeIntel might not be sufficiently advanced enough (for your language of choice or in general). It's a port from the Komodo editor, where it doesn't work perfectly, either.

I don't see anything really fundamental that should stop an improved/better plugin from working, the hooks should be there.
If you're going to store passwords in clear text...

You're gonna have a bad time.
Your sir, are a gent and a scholar. I've been using Sublime primarily for a few months and the awesome keeps on coming.
You're missing the forest for the trees. The topic of the article is about how good was motivated by creating a better language for systems software than C++, and hypothesizing why it's nevertheless getting more traction with the scripting crowd than C++ programmers.

"We—Ken, Robert and myself—were C++ programmers when we designed a new language to solve the problems that we thought needed to be solved for the kind of software we wrote. It seems almost paradoxical that other C++ programmers don't seem to care."
> I don't know many people who wake up at 5am

Maybe because you know intelligent people.

http://www.psychologytoday.com/blog/the-scientific-fundament...
it depends so much on the context. i work with a wide range of different technologies. when i'm doing "enterprise" stuff, i tend to avoid the heavy orm like hibernate and go for things that give me more control (spring's helper classes, say). so you can say that i am "avoiding orm".

but then recently i've been writing c code that needs to use a small database and boy, it's tedious working with sql directly. so i'm actually writing an "orm for c".

it's all about balance...

[the orm for c thing is basically two layers - a simple library that helps make sql queries a little easier to mangle and then a python library that, given some structs and a database, will auto-generate some basic boilerplate via the library. nothing fancy, but it will save a pile of tedious work.]
K-POP Idols To Be Immortalized As Robots
Econet Solars launches home power station
Mobile phone company launches solar energy unit
As mbafk and josephturnip state, they simply put online the same copy that was published in the conference. Academic conferences typically publish papers in PDF form.

But, that doesn't actually answer your question, which I think is "Barely." I feel silly preparing PDFs for publication when I know that most people will read it on their computer, not print it out. Many conferences no longer even have an actual, physical copy of the proceedings, instead just giving out USB sticks with all of the PDFs. (Which is what we want anyway.)

I think it would be fantastic if there was a standard HTML5 template that researchers could use to publish their papers. There are Latex-to-HTML compilers, but I've never been impressed with the results. I think people outside of academia would be more likely to read our papers if they were in HTML rather and PDF.
I could be oversleeping but I cannot really fix that. I don't use drugs to sleep or wake, and I don't wake via an alarm most days (alarm is for 7, I wake up at 6:40~55).

I could set an alarm for 5 am but I predict that I would be even more tired compared to my 10 to 7 schedule.
I haven't used ST beyond a trivial play, I'd like to use it more but I'm also a "die-hard" vim user, everytime I try to switch I discover some feature of Vim isnt there, like half decent macros (at least stored in a buffer and editable in the editor itself), or text objects, or pathname completion, or sensible shortcuts for switching panes etc ...

Rather than spend a few hours before abandoning, do you think and advanced vim user could successfully make the jump?
Building and Marketing a Lean Startup
So far, the best source I can recall is this study:
http://www.tomshardware.com/reviews/ssd-reliability-failure-...
What I got out of reading about his "non-business" items on the list was an emphasis that his life is not solely focused on running his company. He values his family; he values his life. His entire existence is not summed up in what he does for his company.

Does this matter, since he's a relatively-unknown CEO of a small company? Would it matter if he were a famous CEO of a huge company? That might attract the interest of more readers, but I don't think it really matters any more or any less. He's a fellow human who is offering his insights. Maybe you don't need his insights, but that's okay. There are lots of people offering things that I do not need, but that doesn't mean they should keep to themselves.
Come on - how hard is it to write

"select id, username, email, nickname, date_registered, pass_hash, first_name, last_name, middle_initial, home_phone, mobile_phone, work_phone from user where username=?" and manually do escaping whenever you want user info?

You seem to be suggesting that

user.findByUsername('joe')

is somehow more worthwhile or usable. It's certainly more noble, because an ORM doesn't solve 100% of a set of problems 100% of the time. OBVIOUSLY it's better to never use them, ever. In any circumstance.

"select id, username, email, nickname, date_registered, pass_hash, first_name, last_name, middle_initial, home_phone, mobile_phone, work_phone from user where username=?"

is really more readable because I always want to know every single piece of data, and read it every time I look at code (and update all my SQL queries every time I make a schema change) all the time. I'm finding that my monitor is often devoid of code - I have too much space on the screen just begging to be filled up with useful boilerplate code so I don't ever forget all the column names in every table.
130 hours a week!

Workaholics are bad for the long term health of any large company.

Workaholics can be wonderful, incredibly productive people. Most of the time they are not. But let's just concentrate on the ideal workaholic.

Workaholics enable last minute heroics disaster management. But if you're doing that, even if you do it successfully, just the fact that you are doing it, means you messed something up. You shouldn't need last minute heroics on your projects. Well managed projects don't do that.

And even more importantly the more long term your project is the more important it is to manage it well and avoid last minute heroics.

The long term quality and maintainability of large projects really suffers with such emergency heroics. In fact, each and every one of your death marches over the years could have been a great success. But together they've made all future progress far, far, far slower that it could have been had you not had the need for death marches in the first place.

Exceptions apply to small projects who only care about reaching a milestone NOW, not about long term TOC.

On any large and complex project there will be huge pressure to engage in last minute heroics. If you literally do not have that option THAT forces you to manage your project better.

But combine that huge ever present pressure with workaholics and you're almost guaranteed to take advantage of a death march.

Imagine it is a death march for only one person, the company workaholic. A wonderful person, who is also a technical genius. That person takes on a complex feature, and implements it over a weekend, pulling at least one all-nighter. Normally that person is 10x more productive than average so in that weekend they make HUGE progress.

Now remember the old adage about any developer who is indispensable should be fired immediately? Sounds harsh, but think about it.

I pride myself on working hard to never make myself indispensable. Produce maintainable code, far less complex than I am capable of, document, train colleagues, etc. That's the minimum needed for long term health of any large and complex projects.

What happens if the ideal workaholic gets hit by a buss right after that weekend death march? Now everyone else will have to come up to speed on their code, and that will take longer than if they had been allowed to write it themselves, over a week or two, with that workaholic's help and guidance.

What happens if the workaholic does NOT get hit bu a buss? Great, but again overall development is slowed down. it went a lot faster for that one weekend, but everyone now still has to come up to speed to keep the project going.

You rob from the future to save the present and you drop a lot of the money on the floor while doing that.

Really, really well managed projects explicitly forbid last minute heroics. That's how you know management knows what it's doing.
I like it too. The main problem I have with it—and Textmate—is the lack of an emacs-like Follow-mode: http://www.gnu.org/software/emacs/manual/html_node/emacs/Fol... . It's 2012, I'm using a 27" monitor, and yet I can't find this feature, or one like it, in anything other than emacs, which has a learning curve far too steep for my pretty simple needs.

At one point, the Textmate website mentioned that a follow-mode-like feature was in the works, but 1) I can't find that mention anymore, and 2) even if it is, I'd rather not wait forever for it.
As someone who "naturally" reads fast, I would love to know if this technique tops out at a certain level, or if no matter what your starting speed you'll be able to increase your reading speed the 30-300%

I already read at somewhere around 600WPM... if I could increase that into the 1200WPM range, I'm interested. If the technique tops off at 600 WPM... color me disinterested.
People always say "blogging" and I always hated that response. I didn't see the direct benefit; it seemed like a waste of time doing the wrong thing.

But in my experience over the past year, it's surprisingly beneficial. Blog about related topics, helpful resources, etc. That's where a majority of our links pour in from on a typical day.
I agree, I have a hard time with it as well. However, I have noticed that if I force myself to workout a few times a week and get in a routine then I sleep better so maybe 10PM to 5AM is achievable...I just need to get back into that routine. :) But I think a lot factors in such as stress, sleeping comfortably, sleeping enough but not too much, etc.
Somewhat interesting, it also seems like a very easy app to code.

(do you happen to know what kind of accent is that?)
I think a lot of the frustration with relational databases in general comes from a misunderstanding.

People conflate "relational" with "SQL", because of the historical accident that SQL is the most popular way to query relational data. Then when SQL isn't a good fit for their problem, they think relational is not a good fit for their problem, which is almost certainly not true.

The original motivation for relational databases is to have path-independent access to data. This is a really powerful idea.

What I think we really need are better APIs around relational data access that embrace real relational semantics, instead of dumping them in favor of an object graph at the first opportunity (which throws away the path-independent access).
Hello world:

(javax.swing.JOptionPane/showMessageDialog nil "Hello World")
I'm going to make an argument here, and you might disagree but that's fine:

If you don't understand the purpose of an ORM, you haven't worked on a sufficiently large enough software project or don't fully understand what the definition of an ORM is.

If you need to write a report of any fashion, do not use an ORM. You can help write the report with your ORM of choice, but at some point you need to get down to the language that the database speaks because you're doing the kind of set mathematics that ORMs aren't made for.

BUT, if you need to add a user permission, and you're doing anything other than:

$user->addPermission( Permissions->get( 'CAN_EAT_CAKE' ) )

you're doing something wrong.
Yes, because whipping up an Internet mob over not having an invoice instantly paid is exactly the same as leaking the Pentagon Papers.

Sheesh.
False. Getting broken through will happen because there are so many holes to plug, while strong and slow hashing + salting (while being extremely easy to set up) will make it so it's not even worth it for the attacker to crack passwords when he/she inevitably gets in.

Of course we need to plug holes in security and prevent people from getting in (SQL injection vulnerabilities are just as important an offence) but might as well protect the user's information when a breach happens. Especially since it's so much easier than the other way around.
The World3 Model: A World Population Forecaster
Thanks man, that does indeed add working search/replace!

Giving Sublime a whirl now. If nothing else it's going to be an interesting discovery of which Vim features I really use in my daily workflow.

Edit: Sadly bumped right into the next issue. It seems in addition to the lack of Vim's visual-block-mode the native multi-select (Ctrl-Shift-L) doesn't work in vintage either. No multi-line editing at all is a bit of a showstopper.

Anyway, there's always a next version, I'm not giving up hope. :)
I strongly disagree with this. I'm consulting for a project where I cannot discuss technical decisions about database modelling; sometimes we need to query 20/30 tables or more in a tx, with very complicated mappings 5+ levels deep. If I was to write the sql for this, I'd take 10x the time and it would be wrong anyway.

Of course, this is one end of the spectrum where the ORM just enable me to shoot in the foot faster. I've also worked in the other side of the spectrum where I could use an ORM and generate exactly the sql query I wanted.

At the very least, ORMs can save you substantial time because of typesafe queries (if they are typesafe) and expressiveness (specially on join syntax).

My teacher used to say that you can solve half of your problems with an abstraction layer; I think for lots of cases an ORM does just this.
I agree. It would be great to see some revenue numbers, if it's really successful (which I think it is), it would be a nice model for other developers or software companies.