skysight-inc/HackerNews huggingface dataset:
What prevents me from using cmd-P is that I usually just open my entire project folder in Sublime. When I do cmd-P to open for example "foo.py", it doesn't understand that I mean the foo.py which is in the same directory with the file I have currently open. Instead it lists all the foo.pys I have in any project I have ever created.
I think I'll finally switch from Emacs to ST2. I have this massive .emacs config just to make it behave like ST2 does by default. Not to mention turing complete settings can get crazy. Well done ST!
I guess it depends on the individual. I'm a designer but I have a graduate degree in physics and I also do PHP. Some do coding and some totally stay away from it.
Like you said, promoting legalization would be political suicide. Obama, Clinton, and Bush have all admitted drug use, yet all three have taken an extremely tough stance on drugs to protect their public image.

The US governments foreign policy is the main cause of the backwards drug policies around the world. Personally, I don't believe our government is progressive enough for this to change anytime soon.
I alerted them to the fact that their passwords were in plaintext a YEAR AGO. I got a response email on June 29, 2011 saying:

"Thanks for reporting the issue of plain text passwords to us. It's how passwords are handled with the membership software we use for Tuts+ Premium, which isn't extremely well coded and something we want to rebuild from scratch. In the mean-time our dev team will be hacking the software to bring password security up to the best practices we advocate on our Tuts+ sites, like Nettuts+."

Not only was this issue brought up to them, they stated very clearly that they were working to bring their password security up to best practices. In a YEAR, they couldn't hack on a password hash or rebuild their plugin from scratch?

If anyone knows if there is a lawsuit pending that could use my email as evidence, please let me know.
> the time I invest into my tools have made my experience of sitting down in front of a computer incredibly enjoyable

I've found that too, asnd it helps me be productive. I run MediaWiki on my PC as my internal documentation system. I used to use it with the default skin, which looks a bit meh, but I recently added my own skin, which looks a lot nicer. I found that every time I looked at the wiki after that, I got a little hit of joy from looking at a nicely-skinned page.
Building a Technology Company (hasgeek): outsource vs open source
The Art of Not Doing in Web Operations
Sometimes successful web & db operations involves not doing something, resisting a push to change that might have unforseen consequences...
Progressive Architectures at the Royal Bank of Scotland
If we assume the TSA is a political response, and we consider the statement "Politics is show business for non-pretty people"* then the TSA's policies being referred to as Security Theater seems much more expected.

*yes, I took a liberty to avoid such a negative emotional content word
You are a very angry little man, aren't you?

EDIT: Downvotes and no replies? Come on.
looks good, can I do sum/average(basic calculations) too?
maybe I can 'hook' chart js like flot to draw dynamic chart from this excel table?
Keyword Targeting for Blog Post SEO
What you call research I call agenda driven grants that presuppose something and then run a contrived and canned kangaroo court style test study to prove what the agenda presumed.

One presumption the foundation promotes is that not enough people have college degrees and that more people need college degrees.

Another presumption the foundation promotes is that nationwide standardized testing and the uniform curriculum that requires is the best way to ensure teaching is high quality.

Another presumption the foundation promotes is that colleges should have high graduation rates and it is wasteful when they do not.

The foundation then provides grants for people to promote agendas which the foundation has predetermined.

That's not research.
Mirror. (For people who tried to ctrl-f and found nothing, like me.)
I don't know if it's a good place to ask this question but what happend to Firefox for Android tablets? I hasn't been updated for some time. Can developers share any details about that?
I think this is so naive. Sure a "good" boss probably won't be snooping on his or her employees. However, I'm pretty sure most bosses are humans and humans tend to snoop on each other
Oh wow, so it's the best mobile browser I've used until now.

Unfortunately being pre-Beta means it's buggy and I encountered some issues in the first minutes of usage, but I can't wait for it to get to the final release.
> If your devs are in the habit of writing lots of SQL,

> they'll often decide to do things like write one complex

> query to avoid the need for a few trivial queries.

As someone who single-handedly maintains a large codebase and a large database for a large website, I can assure you you've hit the nail on the head but completely missed the point.

Unless you're writing a hello world style to-do list, trivial queries tend to be the vast minority of the application logic needed. Most queries need some degree of tuning, whether that be to pull out specific rows, associate related data, summarise, or sort. Do this right, and you can achieve in a single query what would take multiple, dozens, perhaps hundreds of round trips to the database if written with "trivial" queries.

And let's not forget, it's particularly rare for the "complex" query to be more complex than the application code needed to implement the equivalent task. SQL isn't always beautiful, but it can often express ideas more succinctly than most general purpose languages. One GROUP BY can save you from writing big loops. One INNER JOIN or subquery can save you from subsequent database calls. One HAVING clause can save you pages of twisted logic.

A "complex" query generally avoids the need for a few trivial queries that are comparatively inefficient, both in terms of resources and latency. The goal is to allow the database to do the hard work of extracting every byte you need and nothing else. Databases are good at this shit, and even with a good ORM you're often forced to compromise or maintain two worlds within one app.

---------

That said, I acknowledge that there are multiple legitimate points of view on this debate. I tend to find that the SQL vs ORM debate tends to fall depending on the sort of code that's being written, and the sort of logic that's needed. Desktop apps tend to suit ORMs more readily than web apps. Smaller and self-contained apps tend to survive ORMs more gracefully than broad-scoped apps.

Nothing can excuse stored procedures though. Useless garbage.
Flowchart: how to retinafy your website
You shouldn't be paying for beta testers. If you can't find people to test your product and provide feedback then you should look over your target market again. If you e-mail an early adopter of your service you can gleam useful feedback through that and they will gladly provide more to better meet their needs. Also hints of "suggest feedback" and an easy to submit method go a long way.
Passwords in clear text.
What was Tuts+ about.
I had a summer internship in high school that foundered when we realized that we needed a grid tool to display and edit data in a web browser. The rest of the summer was spent trying to build this tool in Java.

Where were you guys 16 years ago?
Why Meditation Doesn't Directly Increase Happiness
Interesting you say that; I would argue (and have) the exact opposite. Good abstractions, by their very nature, reduce the amount of moving parts you have to keep in your head at any one time. When the number of "moving parts" created by your abstractions outnumbers the actual bits its abstracting, then you know your design took the wrong turn somewhere.
No, this is just being slopy. Developers who "hate" code will always push to deal with the smallest amount of it, so they think twice before they touch the keyboard.

I guess it depends on how you define "hate". The amount of effort you put into your job tends to some function of how much you enjoy it and how much money you are paid. At a certain point the money tends to tailor off in effectiveness too.

If you hate your job then your main motivator is "how soon can I go home today?" or "how little brain power can I invest in this?" you will not be interested in the LOC count of the project at all.
If you enjoy programming then you are more likely to want to expend more effort thinking about how you could write the same thing using less/more maintainable code. There are of course programmers who will over architect solutions but this is usually because they believe that they are creating a structure that will keep LOC count lower over the long run.

After all code saving things like MVC/ORM frameworks were originally used by the early adopter more enthusiastic programmers.

I would say it's better to hate large bloated codebases, but I can't think there are many programmers who create these on purpose, it is usually a by product of flawed assumptions made in earlier stages or less skilled programmers.

If he doesn't understand the aspects of the business and doesn't have any stake on the final product he's not a developer, he's just a programmer doing repetitive work at a software factory - "code monkey" on jargon - and is not in a position to provide the kind of disruptive, ten-fold improvement software is able to produce.

Again this is sort of semantics, most companies will advertise positions that are repetitive "factory" jobs as "developer" positions. In fact some of the better programmers I know refer to themselves as "code monkeys" so I guess this is really a cultural thing.

It's an interesting point about automation and how much stake a developer should have in a business.
Most businesses now depend fundamentally on software in one way or another, for a glaring example of this see the UK banks that have had to cease pretty close all activity for the best part of a week because of a software problem. Also pretty much also businesses above a certain size have some custom code running somewhere.

Does this mean that all businesses should have a developer present at board level? Also should that board level person simply be someone with development experience or should they be involved in the day to day code production so that they can understand all of the decisions made?

This also ties into the debate about who should learn to program, for example do you get that experience at board level by teaching executives to write programs or instead do you promote programmers to board level and teach them about "business stuff"?
You seem to be missing the main reason why people have an issue with MemSQL. The issue are quotes like this on your website and video:

"MEMSQL IS 30 TIMES FASTER THAN MYSQL."

It's an extremely invalid and biased comparison. You're quite literally comparing the speed of writing to RAM versus the speed of writing to disk. If you didn't make such ridiculous assertions, people would accept your product for the actual awesome things it does and not focus on refuting your bullshit claims.
What about the millions of prescription drug users around the world (and especially in the US). The division between illicit and "legal" drugs is comical, the addiction and use of prescription opiates and "illegal" opiates is essentially the EXACT same thing.
I think for impact there should be one grand winner each year. Otherwise there will soon be too many to count I'm afraid.

Maybe also an award for most silly password policy?
Regarding #2, we do normally run MySQL with full transactional durability at Facebook. We have for a very long time (several years at least). For example, here is a FB note regarding our enhancing performance under full durability in MySQL from Oct 2010:

https://www.facebook.com/note.php?note_id=438641125932
it can be a security risk, for example, .php config files on a web server.
Pocket Angel - An AngelList Android app (not built by AngelList team)
Well, sure, but 'my' != 'the'.
Thanks for posting that. I thought I was the only one around here to thought like that :) I write code every day, but I hate programming. What I really enjoy is building things and it just so happens that in software you have to write code to build things. Programming is a means and not an end.

Way too many people think programming is the end. If I could build awesome stuff without having to write code, I would. Unfortunately, I still have to write code today. That's why my current project is about writing lots of code now, so others don't have to write code later :) As the article points out, that's where current tools are heading. Hopefully in the future we'll have better abstraction so everyone needs to code less to get more done.
Okay, let's take the monopoly example from wikipedia. Firm prices at monopoly price (60 cents), deadweight loss because all transactions for buyers with marginal benefit between 10 and 60 cents do not occur. Assume some identifiable group of people exists with marginal benefit < 60 cents (e.g., students). Firm introduces student discount => deadweight loss is smaller. Therefore, price discrimination can reduce deadweight losses.
Giving kids with ADHD medication at a younger age may help their math scores
> Hi, that's Martin Sustrik here. Couple of points:

Out of curiosity, was it impossible to prevent the fork from happening? I do like the idea of ZeroMQ quite a lot but this can only work if it will end up on kernel level at one point and if two projects compete for that spot that probably does not help its cause much.
I think the parent is referring to the actual scrolling mechanic of the browser with a standard mouse-wheel rather than a performance issue.
> Or because of the shortcuts it has taken to avoid the "hard stuff", which results in developers taking shortcuts by using MySQL to avoid the "hard stuff".

I am deeply interested in what you think this is
Collaborating on GitHub with Subversion
Thank you to everyone who took time to stick up for me here. I can take it though, don't worry. I appreciate it nevertheless.

I wrote the post because I'm interested in the details behind everyone's daily life. It's where talk meets action. I don't think I'm a celebrity. I merely wanted to be transparent about my routine so that other CEOs could see how their life compares.

I submit my articles to HN, but it's the community that puts them on the front page. Take them or leave them. It's just my blog :)
Vendors lie. That is the sole truth of IT purchasing. When testing network gear, some of our network engineers would say, "Vendors lie, but packets don't".
So ... by extension, there might just be a spot for a philologist on a distant world.
Beliefs of Remarkably Successful People
Yes I just tested it.
I second that. I've built a dozen awesome apps and never even took them live due to the burden of having to market them
If the software met my criteria, yes.

If the app were plugin driven (much like Notepad++) but had some of the rich features like checklists in-line with regular notes, I'd be sold.

One thing that's kept me to notepad is that the file is simple and I can open it in several applications on any platform I wish. Further, having the file in my dropbox folder allows me to access it anywhere.

This is a tough market to get into. I started sketching up plans for a similar application a few years back (with a focus on the supermarket). It's tough to beat out the main competitors: plain text and a piece of paper.
This is exactly right, and should be addressed.

memcached is probably 30 times faster than MySQL too, but they don't go around claiming it's a durable database.
Gates has spent years and many millions of dollars on tinkering with education and running experiments (some randomized controlled experiments) on education, which I'm sure he read the results of at least some of them. Given how easily 22 year olds can fool themselves, I'd venture to suggest that Gates after internalizing just one RCT of education has learned more than that 22 year old.
I am involved in re-registering the Polish Pirate Party.
For some reason Mozilla blocks it for Android 3 devices but allows it on Android 2 and Android 4. I copied the apk over and it works fine.

If anyone on the team is reading this, I also happen to have a page that renders correctly on the desktop Firefox and Chrome, plus mobile Chrome and the native Android browser, but messes up on Android Firefox (style information looks like it is getting ignored). The page however has some very personal information on it hence not using regular bug reporting.
Twitter Pushes Mainstream Advertising
I doesn't have to be dishonesty. It might just be bias(conscious or subconscious) not to waste time on this question.

Even doctors show this kind of biases when advising people on choosing treatments(which is a much bigger moral issue).
JavaFX 2 Introduction by Example Book Review
I've been doing marketing for national and international brands if you send me a mail me[at]ilkthomas.com with a short description of your project, I'll send you some free tips.
Looking at your previous comments on this site, you may want to lurk for awhile to get a better sense of how people generally conduct themselves here.
I think the problem is people come into zeromq expecting a high level library that handles all the details, zeromq does not do that, you need to handle reliability and disconnect behavior yourself. I agree that the default behavior in this case could be saner, but it's pretty easy to build reliable request reply in many different ways as illustrated in the guide, so I'm fine with it.

The benefit though, is that in zeromq you get to (and are forced to) choose exactly how your messaging patterns are reliable (or not)
I'm guessing the site is making an API call to pull each user's thumbnail. Remember, your capped at 350 API requests per hour per APP ID. You should cache image links to avoid all the broken image icons.
Totally unrelated but I like the little rocket logo, maybe it is the curved flame or who knows, it is just too cool.
As soon as you have arbitrary one to many relationships you have relational data so there are a lot of add hock systems out there. As to larger scale ones I often use linq to do in memory query's of objects with relationships.

More limited examples often fit the hierarchical database model such as graphics API's that have can handle object -> Vertex relationship, and or recursive relationships between objects. But, games frequently need 1:M or M:M relationships between things like factions, so there are plenty of addhock API's out there that fit the relational data model.
It's post's like this, knowing others are going through the tough emotional cycles, that inspires and helps all of us. Yes building a company is still really f*cking hard!!
CouchDB and Me
I think you can avoid this problem by setting up projects and then switching projects you're working on to contain the search space.
Why would you avoid saying the word ugly?
> In the author's situation, the normal loop of the client shouldn't be to just call blocking receive forever, as he discovered. Instead it should loop, polling the socket with some reasonable timeout, and between iterations do things like check for shutdown signals, parent process exiting, and the other typical housekeeping tasks. Then you only call receive when poll has told you there are messages waiting, and then you call it without blocking.

I think in my case the confusion behavior came from the fact that I started using a project that used ZeroMQ and build part of its implementation on REP/REQ sockets and showed that behavior. Then I went to the ZeroMQ documentation and it does not present the REP/REQ examples with a caveat that they might block the client if the "server" goes away unexpected.
I didn't think of that - I actually have a Logitech mouse where I can switch between the clicking scrolling and the freewheeling.
AngryParsley: the Tom's Hardware article wazoox mentioned above also has those return-rate stats (page 3): "...returns can occur for a multitude of reasons. This presents a challenge because we don’t have any additional information on the returned drives—were they dead-on-arrival, did they stop working over time, or was there simply an incompatibility that prevented the customer from using the [device]? ... If online purchases account for the majority of hard drives sold, poor packaging and carrier mishandling can have a real effect on return rates. Furthermore, we also have no way of normalizing how customers used these drives. The large variance in hard drive return rates [between data sets] underlines this problem. For example, the Seagate Barracuda LP rises from 2.1% to 4.1%, while the Western Digital Caviar Green WD10EARS drops from 2.4% to 1.2%..."[1]

In short, the available return-rate data is too noisy and inconsistent to be a good proxy for failure rates.

[1] http://www.tomshardware.com/reviews/ssd-reliability-failure-...
No free market in New York taxis: the little guy’s lament
My email to Envato:

I seriously can't understand how Envato found it responsible to even implement something that saves plaintext passwords. You must of known when inplementing it. If this "3rd party" plugin was so important, then implement the plugin later on when it is secure - you don't fuck around with private details. If it was important for the initial release, you shouldn't of launched until this was sorted.

You have hereby lost a customer. I now have to reset my password on a ton of forums and probably also themeforest. I will give you some other feedback. Maybe I'm blind but to login on Nettuts, don't make users have to scroll and look for a dinky login text.

On ThemeForest, seriously remove the fucking Captcha from the login form. Sorry for my French but seriously, on a contact or registration form, I could understand why. If you are afraid of brute force, there are other great ways to do so.

Fail,
Sam Granger

Ps. You should read your own tutorials on security, they aren't too bad.
While I disagree with how the parent worded his statement (there is really no need to be uncivil), I agree with the sentiment. I don't see how an announcement of funding in any way qualifies as worthy news for Hacker News.

Regardless, congrats to the owners of Freshplum. Curious to see more about your product in the future.
Good article, although short and without too much actual research or science. Not a fan of the second page that only contains a few sentences, though.
Found via: http://goo.gl/mE9Oh
If we wish to count lines of code, we should not regard them as "lines produced" but as "lines spent": the current conventional wisdom is so foolish as to book that count on the wrong side of the ledger. -- Dijkstra

(I got this from akkartik but can't remember where.)
Sorry, but this is a dupe! :\
Are you specifically not mentioning Oracle by any chance?
It's also possible that she chose to rely on you for the easy grade as well...
Amazon is great, but we had a huge outage last year. This helpful to those who are worried. Keep a watch out for these guys at Kinvey. Corn dogs.
And here I thought http://svnhub.com was an April Fools joke.
Clickable link to actual freshplum site : http://www.freshplum.com/
Hi Tim, we're not comparing "the speed of writing to RAM versus the speed of writing to disk." You can run InnoDB with a buffer pool large enough to keep the entire database in memory and we'll still outperform it significantly. We're actually working on a blog post right now with that comparison.
reading hacker news is a pain with that browser. but to be honest, HN is one of worst 'simple' design sites that i've ever seen. i have no idea how but it breaks zoom on most browsers and makes moving the cursor inside the text area painfull.

firefox will refuse to adjust text size. and trying to zoom will click all links under my fingers... just too weird