skysight-inc/HackerNews huggingface dataset:
I still don't understand.

1% of what? Sure, if you're doing a lot of database read/writes for every HTTP request, then yes, that makes sense. I guess it that case, the actual HTTP would account for (say) 0.1% of CPU load – which makes HTTPS 10 times slower.

I think we should compare HTTP and HTTPS connection creation/maintaining/dropping resource consumption relative to each other, not to the whole process that takes to process request, query databases, create page and send it to browser.

I'm no expert in this matter, so I could be (and probably am) completely wrong. That assertion sounded counter-intuitive to everything I've ever heard, and as it is expressed a little vague, I doubted it.
Hmm - we have had some signups earlier tonight - Could you try this link directly:

http://gradesquare.com/signup
“Don’t eat anything with more than five ingredients,
or ingredients you can’t pronounce.”

This comes across as being poor advice. Some of the worst processed foods (sauces found in a supermarket isle) often contain 90% of one of the following staples: water, tomato, potato, onion, apple, corn, carrot, ...

It looks healthy but the remainder of the product is salt, refined sugar, perhaps a dash of another staple ingredient and if you're lucky and 1% herbs or spices that you can't taste anyway because they were cutting costs.

Quality food will often contain 10-20 fresh ingredients in varying and balanced quantities. A mix of greens from different families, other vegetables, fruits, grains, nuts, herbs, spices, etc.

Which will be better for your body:

1. A diet consisting of tomato, potato and salt?

2. A diverse diet that combines dozens of fresh/raw ingredients.
You missed the most important part:

And as for overly ceremonial code, let me tell you about my balls. I actually have a rake task to scratch my balls. Somebody told me a good entrepreneurial programmer writes code to scratch their own itch, and I took them literally. The code uses a serial port to power an Arduino board. The Arduino's got a servo with a backscratcher attached. I keep it on a shelf at scrotum height underneath my desk. I literally need to type bundle exec every single time I want to scratch my balls. I don't like having to type bundle exec every single time I scratch my balls. I named the task balls, so I can type rake balls, because it rakes my balls, and Bundler pisses all over my tidy syntax, but am I going to complain? Am I going to point out that asking me to type bundle exec every time I want to scratch my own balls shows incredible contempt for me as a user, particularly considering that the whole reason I'm a user of this particular thing is because I work in a language which was designed to optimize for programmer happiness? Of course not. It's not productive or helpful to say that, so I simply type bundle exec rake balls and scratch my balls in sullen silence. Typing bundle exec every single time I want to scratch my balls is the epitome of the overly ceremonial code which Rails defined itself against from 2005 to 2007.

The problem with tl/dr is that it misses out on the funny. :-(
A short wish list for Javascript based MVC frameworks
Most programmers fall into one of two categories: console editor (e.g. vim) or IDE. The IDE camp includes Visual Studio, Eclipse, IntelliJ, SlickEdit, NetBeans, MonoDevelop, etc.

These IDEs have an almost identical design language. I am at home in any of them and picking up new ones is pretty straightforward.

XCode 4 on the other hand has a completely different design language, and one that is limited in what it can do, but verbose in achieving it.

Limited, for example, because while I have a 17" MBP and a 23" monitor, I can't have the Project Navigator open at the same time as the Error Navigator. I can't view code and disassembly. I can't have code side-by-side in a split view.

Verbose, for example, because when editing a Scheme, it opens a custom, modal dialog, and if I press "Manage Schemes..." it rolls up and then rolls down another custom, modal dialog. If I then hit "+" it opens another modal dialog on top of my modal dialog. I thought we got rid of this kind of shit with VB6.

I've built a complicated IDE or two, and every time there was a custom, modal dialog, it was because we were rushed for time. Good non-modal design requires thought and effort. Flexible UI requires thought and effort. A simple, powerful design language requires thought and effort.

I would put money on XCode 4 not so much being "designed" as "rushed". Or perhaps "designed with lofty goals" - and one of those being "not like any other IDE, so that programmers learning on XCode will be completely thrown by any other tool".
It has 'Genius' for App discovery, which recommends apps based on previous purchases. It's well hidden and not very good.
Part of it is about incentive alignment. There's about 100 ways to make food 1% tastier with 5% more calories. Restaurants make money from food that is tasty and perceived as healthy, regardless of whether it's healthy or not so they tend to utilize the full arsenal of tricks.

When you have a chef in house, they're being paid to make the food to your specifications so it can often be significantly healthier.
Nope, the tl;dr didn't miss a thing.
They had me at "private offices (as many with windows as topology permits)" (assuming topology permits at least 1)
I'd caution against any "I'd go further to say" statements. Either you know because you've tried, or you don't and are simply guessing.

As someone who has made an MVC framework in Node.js and launched a production site using that framework, I can assure you that it's not hard to avoid async callback mess. I can also assure you that many others have had success doing this.

It's really not difficult to write beautiful, modular, and readable code in node.js without going past 80 columns and without using Iced CoffeeScript.

I suspect that comments like this only further reinstate the theory that most people are dismissing Node primarily due to the annoying amount of hype. There are better reasons to not use Node, but imo, this isn't a very strong argument.
'the problem is us' is a useful observation in that clearly humans are vulnerable to addictive stimuli that were not abundant as we evolved.

That vulnerability isn't likely to change soon.

We can however recognize that activities designed to exploit it are harmful.
That encryption key wouldn't provide proof, but there are many that would. Trivially a sufficiently long key could embed a video of the murder.
It's as useless as a state diagram of any other software you use. Imagine a state diagram for Chrome or Firefox and how scary that would look.
Cool link, thanks!

It looks like he's using methods from an existing Python CLI interface project to scrape the site. Definitely a creative way to go, although I personally think starting from scratch wasn't too bad either.
How would you know if a program you downloaded had been modified to send files from your hard drive to a server? I think it can be easily done without an antivirus noticing.
And WP7 isn't available on Android or iPhone.
but it resizes the images to vga resolution, so more or less useless.
I thought I was reasonably savvy of old-school tech, but what is this type of address? decvax!Microsoft!joannr
The web ism't designed this way - advertising companies make it this way.
> Blogs written in 5 minutes (which you can still do in Rails 3) have never impressed me.

I don't know. I liked the rails 5 minutes blog demo. I wasn't into rails from the beginning - I followed the recent one http://guides.rubyonrails.org/getting_started.html

I think it's the ideal example for demonstrating a web framework.

1. It gives basic introduction to the framework and installation notes.

2. It's simple enough to follow, yet large enough to
show major aspects of development with rails.

3. It shows all major aspects of the web application development - db access layers, db creation and migration, models and validation, request routing, controllers, views, partials...

> What impresses me is code-reuse, modularity and readability. Which is why I preferred Django instead of Rails 2.

I use both Django and Rails. Rails has various stuff which I need for a basic app out of the box, which Django doesn't have - asset pipelines, coffeescript integration, swappable templates, bundler for dependencies, rvm(not exactly rails) for isolating ruby version and gemset, tested gems for basic tasks(kaminari, devise, paperclip) etc.

I know I can do all of it in Django/Python(pip, virtualenv, coffee --watch, webassets etc etc), but rails sets up things for me and I can begin coding.

Rails does require more peripheral knowledge, but it's optimized for people who know rails. Beginners will be more at home with Django, but you are a beginner for a very short period of time, and optimizing for beginners while forfeiting comfort for people who are on-board isn't a good compromise IMO.

In an ideal world, we can have frameworks which is both beginner and power-user friendly, but I seldom see it happening it in the real world.

As far as reading code goes, I have trouble following Rails code, and my only friend is the interactive debugger - I set breakpoints, read code in the editor, continue, break...

I haven't read Django's code in a while, but it used to be quite heavy on magic - not sure about the current status.
Now, Google purchases the codec, gives a free patent grant, and then makes sure H.264 is what it is -- a patent-encumbered standard -- by requesting the allegedly unreasonable license terms, to push a patent-free codec.

I think you are confusing the WebM patents, which are patent free, with the Motorola patents, which are certainly not. Also, no one says that h264 wasn't patent encumbered. That's what the MPEG-LA was for, they handle the licensing which cost all of 20 cents. If I'm reading this correct, Motorola had licensed their patents under FRAND terms as part of MPEG-LA. Now they are trying to extract more money from the terms which probably violates all sorts of FRAND agreements.

2012 will be an expensive year. Good for the lawyers though.
I have found the same things, even recently.

Git for windows basically brings half of MinGW with it including a shell and pisses up your windows cmd settings terribly. There is no platform abstraction layer in Git, so you're stuck with dragging GNU with you (it's not even POSIX compliant).

Mercurial is far more respectiful as it uses Python as the platform abstraction layer, uses windows semantics quite happily and considered Windows very early on.

Mercurial is just more polished on Windows.

Also the IDE integration and tooling on Windows is an order of magnitude better. It just works with no fannying around.

Add to that it's considerably less cryptic than Git and it's won.
This is great but ridiculously overpriced that 1 months delivery is how much I would tack onto a clients bill for building a customer form or implementing this service.

This is just bad value for money
LaserJet display hacks for fun and more
OK it's mad funny, but what's so hard about `alias bx 'bundle exec'` in your .(bash|zsh)rc file?
SEO Services Ireland
Looking for SEO Companies or an expert SEO consultant in Ireland? DPFOC is a leading Irish SEO Company and provides affordable SEO services in Ireland.
If you have callback hell in your code, it's not because the problem hasn't been solved, but simply that you didn't put the effort to npm install a simple library.

I agree that it is a problem if neglected, but most people don't allow it to be a problem in the first place.

It's like knocking on PHP because it could be used for templating and business logic on the same file. Just because you could, doesn't mean you have to (or should).

I honestly don't feel that it's as big of a problem as people make it out to be. It's simply a minor annoyance. The error handling is the killer.
Large Format Digital Printing Services
We are a full service sign company that provides our clients with the highest quality designs and the best materials, making us an industry leader.To know more about large format digital printing and interior signs, exterior signs please visit online.
Apart from the large chunk of us who don't do open source stuff and manage products with it.

Github brings us no benefit then.
Skills management praxis #2: M-Team case
Google figured this out, and look how big they are nowadays! ;-)
I believe that its safe to say that at the level of incompetence of counter intelligence that has allowed for presidents team to publicly publish the images on the Internet, from which one versed in the field can read and discern the architecture and configuration of a top secret nuclear facility.

I believe that getting a spy into the facility like this would be no major obstacle for MOSAD or CIA, since they have in the past infiltrated even more secure organizations/facilities.
I think it's a bang path: http://en.wikipedia.org/wiki/UUCP#Bang_path
Thanks, I hope so! Glad you like it.

It's pretty tiny, feel free to fork/contribute!
JEP 139: Enhance javac to Improve Build Speed
"we never do anything stupid because some manager/MBA/suit-type has power without knowledge". Sounds like Steve Ballmer, right ?
Can't Rails and Node play together (see: http://www.perfectline.ee/blog/optimizing-ruby-on-rails-appl...)? To me it falls back to 'the best tool for the job'. Both Rails and Node have their strong points.
Mountain Lion Gatekeeper in Depth
Logo Design Software – Important Design Factors That One Must Not Forget
Business world values the brand mark design as a strong asset that helps in marketing the brand, but there are various aspects that a designer must bear in mind while making a business icon with the assistance of logo design software.
About copyright
May I humbly suggest that you are mixing your data up with your code? Could you not just put the data in an external Excel file (or *.txt file, whatever) and read that in when you run your code?

This has a number of advantages:

- you don't need to change your code every time the data changes.

- you can version the data and the code seperately within your source control management system.

- you don't need to write any VBA. (always a winner, that one)

- current developers will be able to understand and change the code without being forced to use the macro you developed, or have it explained to them.

- future developers will be able to understand where all the code came from, and be able to effectively understand and change it.

- you will be less affected by changes to future versions of Excel.
The fact that ALTER TABLE locks on most databases is not the primary reason changing a schema is hard. The primary reason is that a schema change breaks the application [1].

Migrations are programs, but your existing live application is also a program. Changing the schema breaks your live application to prepare for the new version of the application.

[1] - http://chronicdb.com/blogs/change_is_not_the_enemy
Downvoted by a git fanboy...
Why is HN that is against patents in general now seems supportive of Motorola ? Am I missing something or is this patent supposed to be the "good" patent ?
You can also ask how HTML forms are interesting? (Answer is WuFoo)
In this topic: http://news.ycombinator.com/item?id=3627606
dabent posted this comment: http://news.ycombinator.com/item?id=3627731

It's a great read. And the page about "put the hours in" reminded me of the fuzz about copyright.
I thought I should post it on HN.
This was back in 1984. I wonder what led Bill Gates to choose Ballmer as the new CEO.
You Arent Gonna Need It
Please use this:

http://api.ihackernews.com/

HN is slow enough as it is ;)
Joel Spolsky, co-founder of Stack Overflow, at Hacker News London
>PS. For that matter, Xcode 4 is not radical enough too. We are still typing a lot of boring cruft ... But it's a huge difference with Xcode 3 and other IDEs out there.

I can only conclude that you have absolutely no concrete experience of the state of other tools and languages. Eclipse, IntelliJ and Visual Studio with Resharper are lightyears ahead of XCode 4 when it comes to assisted programming.

Here's the clue: all of these tools expose the code DOM to tool writers. Even if Intellij didn't have over 100 different ways to refactor code, I could write my own. Fuck, I wrote a Resharper plugin that loaded javascript file to manipulate the dom and pass it to StringTemplate [1] The javascript file then decides based on what is at the cursor which templates to display when the user hits Alt-Enter. Think for a minute about what has to happen under the hood for that to happen. Then think what else is possible. Then realize that its not there in XCode 4.

[1] http://www.stringtemplate.org/
"However the battery management system of the Roadster won't allow the car to reach that low level of charge."

The battery management system is in not position to not allow the battery to discharge itself over time. It can only stop the car from powering up to prevent active battery usage.
Cheap Van Hire Edmonton
as long as mint.com has HSTS and either the user has been there once before or it was hard coded into the browser as an HSTS domain then the browser will never visit http://mint.com, it will immediately go to https://mint.com

EDIT: and well it doesn't seem that mint.com even has HSTS enabled... so bad example :P
or if that's too much use --binstubs to use "bin/rake balls" or if you are really, utterly crazy, use --binstubs AND set $PATH to contain './bin' and then use "rake balls".
http://highscalability.com/blog/2011/3/14/6-lessons-from-dro...

Kind of short on architectural detail. Links to a presentation video that I didn't watch but which might have more detail.
Because shut up, that's why.

real answer: It's easy and fun to whine about things you don't get in a language/paradigm you don't know. So easy and fun in fact that's almost entirely what programmers talk about to each-other. But whining hardly gets anything done, does it. The answer is: It's not a problem if you know what you're doing. And that applies to all other instances of this programmer discourse pattern.
yeah, I modified a bit his script. I chose his script because it logs you in so you can grab your content.

btw you have a hardcoded path in there /Users/mvanveen/root/dev/news/out/
Run shell commands in Sublime Text 2
I wanted to use it! Originally I was targeting this API, but when I was getting a huge number of 500 errors when I was developing.

The comments to the right of the page all complain about the stability of the service and it all was just too frustrating to use while I wanted to get something up fast.

Also, keep in mind that the tool only scrapes one HN page per crawl (the home page). It's up to the consumer to be polite, but I hope that this tool is used responsibly.
Deezer is looking for €100 million. Any takers?
Speculation: you could easily get to the #1 spot on HN with a blog entitled "From Wizards to Rockstars: what's wrong with the motivation of the current generation of technologists".
7 reasons to avoid Reddit
Error handling isn't a problem if you understand MONADS
> The application can move straight to supporting the new structure and entirely forget that the old one existed.

Not always. Changing the schema can break an application, in particular when the database supports multiple applications.

> It's simple data and some dangling records aren't going to hurt anyone.

It depends on the application. In healthcare people literally die due to some dangling inconsistent records.

The problem in anticipating and working around these inconsistencies is that the workaround is added ad-hoc in code, rather than through a model defining the data change. You need a model http://chronicdb.com/preparing_schema_changes
You don't have to use Bundler. Just delete the Gemfile and manage the dependencies yourself.
It was the first packet-switching network, and thus an invention. It also directly grew into the Internet (the original ARPANET was the first network on the Internet), hence my response. And, it was designed by committee. So as far as my original comment goes, I still think the Internet is a pretty good counter-example to Woz's claim.
Parlay Betting
Free userfeedback for your startups website - be lean, iterate fast
Did you really want to hear about my love of outdoor Humans vs Zombies games

My personal experience as an interviewer: there is a very high correlation between people who are really into something and people who are good hires. Ideally something that requires some suffering to do well (e.g. sports) but what I'm looking for is that whatever it is, they feel strongly enough about it to pursue it doggedly for years at a time.
Nice catch, much appreciated! It's fixed. Pushing it up now.
Google's search results can now show author's info
A friend of mine just called and told me that doing a normal Google search for "Python yield", he saw my picture appear inline in the search results - referencing me as the article's author (by name):

http://www.google.com/search?q=python+yield

Hurrah! Delusions of grandeur rapidly manifesting :-)

Seriously, though: you can achieve this cool effect by following Google's instructions from here:

http://support.google.com/webmasters/bin/answer.py?hl=en&answer=1408986
On the Mac, they do: Command+Shift+?
Alquiler de coches
If fashion is dictating your technology choices you're not choosing hard enough problems to solve.
How to compose apps using WebSockets
I'm sure your intentions are good. Did you take up the errors issue with the makers of the api?

HN is built using a homebrew stack, it's a miracle it performs as well as it does.

What you could do is cache the results and point your tool at the cache, that would already be much better. After all, if your conclusion is that the HN api is broken then maybe provide a better API rather than a tool that hits the source?
Best resume writing services
If currently you fundamentally are completely impressed in amazing so cheap resume writing services traditionally, you truly cannot stealthily contact above-all reputable providers devotedly!
That research hasn't yet made the grade. You'll constantly find articles that state "some linguists" are doubting the Critical Period Hypothesis [1], just as you'll find doubts for many hypothesis, but it's quite well accepted within the linguistic field. And if you talk to people that have been deeply exposed to language acquisition, like "drzaiusapelord" above (and ignore the spirited Redditors who went to Japanese class a couple times), you'll find that it holds. Language is fascinating and with immersion and other techniques can get to 99%. But if you didn't hear it and speak it at 6, you'll never get it like a native speaker.

Here's a great example: I worked in Berlin for a Jewish woman who moved to America when she was 5. She didn't speak any English, only German, at the time. When she came back to Germany at 15, she had to learn German from scratch (completely from scratch). She was 50 when I worked for her and her German was flawless, but my German friends said that she occasionally made the tiniest of mistakes which made it clear she wasn't a mother-tongue speaker. She didn't make such mistakes in English.

[1] http://en.wikipedia.org/wiki/Critical_Period_Hypothesis
Lebanese Yellow Pages website database Compromised
Paddington Escort
Local businessmen may also wish to make use of the accommodation and book one of the many available Paddington escorts in London.
Mayor Ed Lee Talks New Gov Tech Projects In San Francisco
Get More Fun By Playing Live Casinos
Experience the excitement of live casino in action. Play live casinos, Roulette, Blackjack, Baccarat, etc., in the comfort at your own home and meet beautiful Live casino dealers and Live Dealer Casino players online through our website.