skysight-inc/HackerNews huggingface dataset:
Bookmarklet to force firefox to remember any password, even on pages that have autocomplete=off (like outlook.com)

https://www.squarefree.com/bookmarklets/forms.html#remember_...

Drag that to your bookmarks toolbar and run it once before submitting the form on the website you want to remember passwords on.
Way back when I was at Uni the same thing was possible, if I remember rightly though it took them about 3 days to rectify and we were told to just not use email during the period. It was pre-meme days so most of it was just random insults and yo momma jokes.
Facebook Gifts Now Lets You Buy iTunes Credit For Friends
Yeah, I don't see a scenario where a company would decide not to hire me because of any of this activity.
The API was quite simple. Essentially it just processed a donation. It had some other functions to it that involved saving a users payment information to their account as well.

Yes, the donation submission was an POST request executed with JavaScript (AJAX) from the user's browser.

Thanks for noticing the bug! I'll have to check that out.
Bitcoin are "mined" by miners across the globe who run special software on their machines/mining rigs. Each time a block was mined before block #210 000 miner earned 50 bitcoins (+transaction fees). Now, it will got only 25 bitcoins. It's part of Bitcoin specification. More reading: https://en.bitcoin.it/wiki/Mining#Reward
Have you thought about providing an export function? (Just plain HTML - so one can attach custom CSS)

I can imagine myself (and others) clicking together a complex form within 30 seconds.
Yeah, everybody knows tin foil hats are a cheaper and more effective alternative.
I see a lot of current libraries in the Ruby world taking this Patterns are law approach.

Particularly the Law of Demeter and the Single Responsibility Principle are frequent offenders.

You end up with something that could have been handled in one or two small classes and/or Concerns split up over 30 or so files neatly organized in a module hierarchy.

End result is that every single file has a single responsibility yet it's extremely difficult to see whats going on.

Rails 3 I think unintentionally started this. Through it's use of Concerns. This is good in a very large framework such as Rails and when the Concerns like in Rails contain a decent chunk of related code grouped together in one readable chunk.

I use Concerns within my own apps as well to maintain readable re useable code that can be used in multiple models.

If you have 20 Concerns each containing one or two methods split all over the file system it's difficult to maintain, but even harder to understand.

The Law of Demeter has also brought us ActiveModel wrapper classes that wrap all of this code together and when you add a column to the underlying table you can't use it with the wrapper class since it's not a real AR model. So you now have to fork the library or write your own models.

(edited to use the word Concern instead of the more generic Mixins)
Ask HN: How do you gain reputation on Hacker News? 
Hi everyone,

I've been lingering around the site for a few months now, and I've submitted a few articles / blog posts that I have found interesting. However, they seem to get few views. It is mostly chance which posts become popular and get a lot of views? Is it a function of timing? Do you gain reputation by commenting on posts?

Just trying to get a better idea for how to engage well with the community here. Any ideas are appreciated.
https://en.bitcoin.it/wiki/Mining#Reward
Friendly advice: your rate just got another zero or two added to it. (This goes to anyone who can write a similar case study, too.)
I ordered mine from Element14 and got it after almost a month. If you are willing to pay a little more you can also find them on Amazon and Ebay.
Thank you for explaining it in this fashion. "Nervous habit" and "spinning a pen" completely capture the feeling and reasoning behing why I select text. I usually rapidly select random chunks of text while making my way through a piece. At some level, I think it may also help me stay focused on the page itself (as I have a tendency to get distracted easily).
The second is avoided if you use C++11-style initializers:

string a{"Hello"};
string b{};
string c = string{"World"};

Many of the others also disappear if you stick to a "modern" style.
The model is here: http://michaelochurch.wordpress.com/2012/11/25/programmer-au... . I don't claim that it's perfect, but it's the best simple model of devonomics I can come up with.

These percentiles are a bit shady, I'll admit, because "programmers" isn't a well-defined group. I have a pretty strong sense that I'm 1.7-1.8 on the software engineer scale but a weak sense of how to define the population. Whether I'm 96th percentile vs. 99th depends more on how tightly or loosely we define "programmer". I tend to think of myself as about 94th because I define it tightly, but I would usually say that I'm 96-97th in congruence with the looser definition that a lot of people use.
The critical part (the cooling mechanism) has been fabricated, and validated in tests.
DRY is all you need in a language with a full implementation of blocks.
Re: #1, there was a lot more involved to the OFA web presence than just the contribute.barackobama.com pages.
Actually it's been confirmed to be just a big misunderstanding. The NASA director was talking about the whole mission as being "one for the history books". More details here: http://www.slate.com/blogs/the_slatest/2012/11/27/nasa_mars_...
I use grep in some pipelines to bulk-process data, because if you have a fast grep, using it to pre-filter input files to remove definitely-not-matching lines is one of the quickest ways to speed up some kinds of scripts without rewriting the whole thing. And in that case, sometimes processing gigabytes+ of data, it's nice if it's fast.

One common case: I have a Perl script processing a giant file, but it only processes certain lines that match a test. You can move that test to grep, to remove nonmatching lines before Perl even hits them, which will typically be much faster than making Perl loop through them.

Say your script.pl is doing something like:

next unless /relevant/;

You can replace that with:

grep "relevant" filename | perl ./script.pl
The post is essentially another take on the Single Responsibility Principle. It's a good principle, and Rails model classes are also a good choice of an example where it's frequently violated.

Rails practically begs you to disregard SRP in your models. It entices you to put all your validation logic, relationship specifications, retrieval logic and business logic into one gigantic basket. Under these circumstances "fat models" become "morbidly obese models".

Rails 3 introduced "concerns" as a means of organizing the bloat into mixins. These are a testability nightmare. There doesn't seem to be any clean way of testing concerns without instantiating one of the model classes that include them.

The only way to use ActiveRecord without sacrificing testability, SRP, and the OP's application of "the Unix philosophy to Object Design" seems to be by limiting usage of it to to a pure persistence layer. But doing so seems to preclude using most of the ActiveRecord features that make it so convenient in the first place. Can anybody set me straight on this somehow? I would love to be completely wrong about everything I've just written here.
Total number of Bitcoins hits 10.5 million, production halves to stop inflation
It's just showing both independent eye images on one single screen. Can't wait to see what the full field of vision looks like with the device.
I saw that, too, and was really surprised at the fees generated. Didn't realise it was specifically for that block, though, until I saw that the one prior only got 0.53BTC :)
Commands like cp, mv, mkdir, etc. on multiple files and directories.
Here's a documentary that was broadcast on BBC4 a couple of months ago about Bond and his quixotic journey to get HOTOL/Skylon into the sky:

http://www.youtube.com/watch?v=vZ_a21fPkYM

It includes a test-firing of the new heat-exchanger at the end.
You are aware that there are lots of anthropology studies on americans living in the United States right? It's just a field of study.
Explaining TDD to high school students
The glass on the iPhone is actually quite resilient. The problem is the drop on one of the 4 corners (technically 8). At least that is my theory. All of the broken glasses I've seen have started at one corner and radiate out.
Game performance improvement for Ubuntu available for testing
I don't know about the effects of the backlight, but there are lenses in-between your eyes and the actual display surface which allow your eyes to focus at infinity. So it isn't as if it forces your eyes to strain to focus at something an inch or so away. I think its pretty safe to say that they're not pouring millions of dollars into R&D for a system that gives you double vision and eye strain :)
Hell no, selection is too distracting, and the margin above / under the selected text is too small to allow comfortable reading.
Does anyone have guesses on how the heat exchanger might work to prevent frost?

Perhaps ultrasound?
Motivational speaker Zig Ziglar has died
Regarding her quest for good hacker films, try Jason Scott's BBS documentary or to a lesser extent his text adventure documentary.

If she's looking for a big name formulaic Hollywood blockbuster, don't bother, because there's no original comic book for them to make a sequel or remake of. Maybe in a generation (or two) Hollywood could turn xkcd or penny arcade into a movie remake?
Good comments (thoughtful, insightful etc) will generally attract good reputation. Adding posts is a tricky one, and is a combination of timing, quality and luck.
I've never heard of any of those companies. I'd be careful going with someone that you don't know a single other person who uses. Social proof matters for service businesses like hosting, because point in time performance is such a weak indicator of overall experience.
#StuffMicrosoftSays: “Don’t Get Scroogled”, Launches Holiday Bing
http://shop.oreilly.com/product/0636920025061.do

http://www.packtpub.com/postgresql-9-admin-cookbook/book

http://www.packtpub.com/postgresql-server-programming/book (forthcoming)
So, unless we are selling CPU hours, like owners of a mainframe or a hosting provider, we don't need any virtualization?

Is it possible that the inefficiency and added unnecessary complexity makes a virtualized servers unusable for the most common server's tasks, due to I/O interference and cache/memory access complications?)
Gets 12 million pageviews on Comscore. That's really good.
Add Chrome, Gmail, and other Google services to Windows8 as native apps.
Two-thirds of millionaires left Britain to avoid 50p tax rate
Transaction fees are a 'gift' from the person doing the transaction to the person that's processing the transaction. Processing transactions is done in blocks, and the process is called 'mining' because for every processed block, the person who processes the block gets 25 BTC (before today that was 50 BTC) plus the transaction fees. Obviously 25 BTC is a lot, which is why it's so hard to mine blocks. Mining is often done in groups, and the person who mines a block has to share the profits with the rest of that group.

IIRC the entire Bitcoin community mines 6 blocks per hour, and it's the mining process that keeps Bitcoin going, because without miners there couldn't be any transactions.
Bootstrap your electronics projects on circuits.io
Bing launches aggressive campaign against Google
Bitcoin works by having "blocks" of data, containing transaction history (every Bitcoin transfer someone has made - it is only actually made when incorporated into a block), "mined" by a network. These blocks are mined by incrementing a value in the block of data computing a hash of it, until it falls within a certain range. The fact the hash must be in this range results in Bitcoin miners having to do millions of hash computations until they find the correct one, creating a significant level of difficulty in producing a block. This difficulty means that it is difficult to spend Bitcoins twice, since you would theoretically need to control 50% of the computing power working away at it. Each miner is competing with every other to mine the next block first. Whoever does so can add a "reward" of Bitcoins to the block of transactions, and this is how new Bitcoins are made. Over time, the Bitcoin network increases the difficulty by making the range of valid hashes narrower, so that even as more miners join the network, it will still take roughly 10 minutes until the next block is mined. What's happened in this case is that now the reward, previously 50 BTC, has been halved to 25 BTC. I should note that miners can also deduct transaction fees... anyone who makes a transaction can add a small fee. This adds an additional incentive for miners to mine a block beyond the other reward. It also means, of course, that they prioritise whoever pays the highest fee.
What's new in Mathematica 9?
Thanks. I guess no one else gets the sarcasm in my initial comment.
You may want to checkout this short book by Giles Bowkett: http://gilesbowkett.blogspot.com/2012/11/i-wrote-ebook-in-we...

It goes into the areas (like AR models) where Rails breaks the classic "OOP Golden Rules" and why it is able to get away with it in some cases.
> If you have 20 mixins each containing one or two methods split all over the file system it's difficult to maintain, but even harder to understand.

This is a consequence of the source code persistence mechanism being also used as a browsing and organization system. It's an impedance mismatch problem only Smalltalk tried to tackle in the past. Code Bubbles and Light Table have mentioned it more recently.

What if one could tag code and easily browse it by tag?
indeed. Windows has come a long way too. I'm not the biggest fan of Windows (strictly personal preference) but I used to love Windows 2000. It was clean, simple yet had a lot of power behind it. Yet Microsoft left telnet turn on by default (and this was back before most homes had routes and thus hardware firewalls).

It was an amazingly short sighted move, but such things were typical back then. And it's only from learning the hard way that we've managed to get to the stage we're at now.

However I think it's often forgotten that servers need a different set of security profiles depending on the server's role and where it is sat. For example, a webserver sat behind a hardware load balancer wouldn't necessarily need much SSH protection as the webfarm HTTP traffic should be on a different VLAN to the internal systems administration traffic (which in turn, would be another different VLAN to the company's staff VLAN). So it would be almost impossible to get access to an OpenSSH log in, let alone attack it. Where as most consumer VPS solutions put all their customer servers in the DMZ, which means it's up to the customer to provide software preventions to harden against access that would normally be protected with a complex hardware solution in more professional / clustered set ups.

And this is why you can't fully trust default configs; there simply is no "one size fits all" solution so package maintainers instead opt for the best compromises.
Yes, it can be boiled down to the usual recipe - focus and time. The other component, that I think is really important for learning how to code and is often overlooked, is knowing your learning style and finding the resources that match it - that is how you learn the fastest.
Yes, Microsoft did it : https://twitter.com/FredericJacobs/status/273816162125615104...
Jesus is that supposed to be inspiring? It sounds unbelievably dick-ish.
PHP-Queue - A unified front-end for different queuing backends.
For the 210,000th block some people voluntarily provided high transactions fees to reward the miner of the block:
http://www.reddit.com/r/Bitcoin/comments/13xd05/idea_for_the...
RTW ticket may be cheaper but it also limits the direction you can go. Buying a one way ticket gives you the ultimate flexible.

Also, working with a travel agent allows you to get "fake" return tickets which many visa's applications require.
it's clear people really need an alternate of some sort.

The fact that pillow[1] this exists proves this.

[1] http://pypi.python.org/pypi/Pillow/
Retraining Your Brain to Focus on Content Creation
Microsoft had an incident, "Bedlam DL3" which took a couple of days to sort out. There's a neat writeup with details on the Exchange blog:

http://blogs.technet.com/b/exchange/archive/2004/04/08/10962...
What I think would be nice was to setup RPi as a open Wireless network with a captive portal that you could carry with you.
I see a lot of concern for integration with API, hosting, etc. but what I don't see is disgust. Disgust because to become president of the US, you must participate in this monumental financial circus of who spends what. Is this what people want? To know the best candidate will need to raise over a billion dollars to compete? Campaign costs should be in line with needs. Remember when Color got $40 mil for doing basically what other startups manage to do with a couple thousand dollars? Why would HN readers champion this kind of spending? The reasons are probably in line with the SuperPAC reasoning, which is "in order to change the game, you must play within the game's rules". Sure. But when do you say enough is enough? In Canada, our candidates spend on their campaign, but dollar-for-dollar, they are getting more done with less money. Somehow.
I never said anything about selling CPU hours. It has nothing to do with that. In fact my example about organisations directly contradict that.

It has to do with organisation and about being able to abstract logical servers away from physical hardware.

There is very little inefficiency (see hardware assisted virtualisation point above) and very little overt complexity (go play with any modern HyerVisor solution).

As I said above you don't understand how virtualisation works. Your points about "I/O interference" and "cache/memory access complications" just make you sound ignorant.
Unknown or expired link.
Why I can't go back in http://news.ycombinator.com/ but can in hackerne.ws??

I read 1 day with the first, at the next day I ALWAYS get that error. But then I switch to hackerne.ws (that redirect to the first) and can go back...
Moving to a 7 inch display seems like a much bigger compromise than they are willing to let on... Wish it could have had the 1080p droid DNA screen...
3D Printed Robot - Transforms From Car to Mecha
First impressions with Twitter bootstrap
Your sarcasm was too good for anyone else to notice it.
I've been thinking about this and I have one major question.

I'm not a particularly nervous person and I'm comfortable in a lot of situations, but I'm not very good at being pushy and as a younger chick, not going to intimidate anyone. I'm not saying I fear for my physical safety, but even as a target to hustle into buying things.

I'm really not sure: should there be any concerns for a girl traveling alone on a non-tourist-beaten track?
As a developer, why the hell do I need stylized text when I'm having a user fill out, say, a shipping form? Why should I have to worry about whether someone applied italics to their zip code? Should I really have to try to make the thermal label printer print out Zapf Dingbats if someone pastes that in there?

Also, forms go far beyond text input. Are you seriously suggesting that dropdown menus, multi-select boxes, sliders, radio buttons, datepickers, etc. should all be reimplemented on top of a rich text element?
You could have kept your old address and still gotten the "Outlook.com experience". You could also have created an alias and left your existing email address as your login. You chose to rename your account, which makes the new address your login, and also makes your previous address an alias (which means you'll still get mail sent to it, but it's no longer your login).

I'm not clear why you'd expect that your new address would be completely separate from your existing account. That would be a terrible experience for most people. "Sure, I'll upgrade to Outlook. Oh wait, now I have two separate accounts, with two separate inboxes, and two separate logins. I guess I'll just never use the new one, because it's a pain."

If you are unhappy with the outlook.com address you've chosen, you can rename your account again. (This link is harder to find than it should be, especially if you want an Outlook.com address.)

https://account.live.com/ChangeId?fl=nd

If you do want a completely new account, you should create one without "upgrading". Just log out (or open an InPrivate/Incognito window) and go to Outlook.com. From there you can sign up for an account that will indeed be completely separate from your other.

Disclosure: Microsoft employee
That's Shit HN Says worthy.
Hardcoded Password Enables Remote Attacks on Samsung Printers
Don't Depend On Third Parties For Anything
Bitcoin Block Reward Halving Successful
As an American, I parsed the title as "a British aerospace company..." not "the British Aerospace company..."
I'm always surprised people actually use the web browser in full screen. I usually divide my (23" 16:9 2048x1152) screen in at least two, sometimes three "panes".

This is a lot easier to do when using a tiling window manager -- but I hardly ever use the entire screen for the browser.

Still, even with just half the screen -- the browser pane is roughly equivalent to an A4 page -- way too wide for a single column of text -- so on poorly designed pages I frequently end up resizing the window to get a usable line width.
Bootstrapped Web - bootstrapped startup interviews and case studies
> this nifty little feature in all unix filesystem related commands

Actually, it's a feature of the shell, not of the commands themselves. It surely works in bash and probably in zsh as well, but I'm not sure about (t)csh.
At the scale you are talking about (10Gb+ files), it's far more efficient to put primitive filtering in the application generating the lines in the first place. you pay two penalties for using grep: having another process touch the data and having to generate superfluous lines in the first place.
Google shopping has always been a weak link in the search chain for Google. The May iteration did wonders for the interface and usability, but the basic search functionality and content still sucks. Seems like they've gone the route of sales to source the data, I still think there is has to be a crawler solution to this.
No, we get the sarcasm, we just want it left on Reddit.

Every community has its own quirks. You just encountered one of the more important ones for HN.
HackerNews is the only place I've ever heard of this happening :) In the "wild", I've never witnessed it once, so I'm actually curious what it means. Do you select the entire block of text you are in the process of reading? Do you drag your mouse cursor along as you read? Isn't this horribly frustrating most of the time with all bad style sheets and ad overlays and embedded ads, etc, on most big news sites?
There will be an export function in future, but I highly doubt it will include HTML. The challenges with generating clean HTML from a mockup are quite painful. For example, all the elements in the mockup are positioned absolutely. I doubt this would be viable for people who wish to export HTML.
Git is 42 times more space efficient than SVN
Perhaps it means Charles Elachi didn't read the articles you linked to, which could indicate he's not really in the loop.
> Rails practically begs you to disregard SRP in your models.

That's because the Active Record pattern is explicitly double responsibility: http://martinfowler.com/eaaCatalog/activeRecord.html That's why it's called "active record" -- there's domain logic and persistence in one object.
Kyle, great post. You said the final donation was made via an XHR POST, did you guys have a plan B for users without JavaScript or were the numbers small enough to ignore?