skysight-inc/HackerNews huggingface dataset:
I wonder if this is something that could at least be partly offset by an IDE. Highlighting a function and instead of being able to jump to the definition, it sticks the code for that function where it is being called (initially, only as a view, offset stylistically).

That way you can expand the selections and see what is going on from an actual code standpoint without jumping from file to file, but you could jump to where the actual source is, if you want to go change it.
- Get a docking station

- Have a musical instrument nearby

- Workout
I just put a bunch of old computer books on my desk, in conjunction with a few Amazon boxes, and that seems to be sufficient. I actually have two desks. A standup desk AND a sitting desk, and I transfer my laptop between the two. This seems to be the best balance of sanity and health for me.
Why? Why???

The overhead of spawning the shell is going to be significant versus simply opening /sys/class/gpio/... directly.

The PIC attached via SPI sounds cool, though. It'd be cool if they supported USB-capable PICs and brought the USB pins out to a mini-B header in the final or second version of the Gertboard.
I was quite alarmed the first time I used NHibernate with C#. I had some very non descriptive error, and the only solution I could find was removing a constraint I had created in the db.
Another way to think about geeks and repetitive tasks « Jon Udell
Reframe SOPA
SOPA needs reframing.

Common folks are against piracy, so it has gained traction. But the real name should be: Break the Internet On Behalf Of Special Interests, or BIOBOSI.

It's kind of an ugly name, which I think is a feature.
This is a great idea. I've always been more comfortable standing at a kitchen counter or using the adjustable-height computers we (no longer) have behind the genius bar.
That looks pretty cool, I also built my own adjustable stand-up/sit-down desk, albeit a more minimalist version.

I'll have to draw out the plans like you did before I go touting the benefits of it, but I had quite a fun time designing and building it, as it seems you did.

The basic idea of mine:

The difference between a comfortable standing-desk height and sitting-desk height for me was 15 inches, so the desk surface is 15 inches deep, and can either fold up-and-out to be "Stand-up mode" or down-and-out to be "sit-down mode".
The stack trace is generated at the moment the exception is created.

Unnecessarily catching exceptions you don't intend to deal with is a habit that is much more dangerous to stack traces, because it's easy to miss the huge semantic distinction between

// leaves the Exception's stack trace intact.
catch (Exception ex) { throw; }

and

// Replaces the Exception's stack trace
// with a trace to the current execution point.
catch (Exception ex) { throw ex; }
As someone who hardly ever uses a RDBMS (I'm in QA and most of my "work coding" is test automation and/or tool work), what happens when you try to deal with data validity constraints? In .NET-land, do you put a try-catch around it and bubble that back up to the user "well, you did something bad, I guess you should double-check what you just entered here"?
Here's a rehash of my comment on the blog which might cover this point:

From my experience, performance is a tough question to answer because you really have to think of the system as a whole. The weakest link (slowest piece) usually dictates the overall system perceived performance. Having a slow DB isn't going to make your choice of Java or Node.js matter that much...

So assuming that everything else is equal (like architecture, data structure choices, database driver quality, database design and queries, etc) it might be that Java is faster.. but it might be a moot point.

Writing asynchronous code in Node.js is much more convenient than Java and helps in doing more at the same time so that you aren't waiting for all those database queries to run one after the other, for example. Check out the Node.js async module for some cool patterns to use (https://github.com/caolan/async).

In all, I wouldn't make the choice to move to Node.js because it has better performance or not, but the overall holistic view.
gfortran is just fine! Intel fortran is a step up on various optimizations (especially parallel architectures) but gfortran is a good baseline.
The Pros, Cons and Risks of Bootstrapping
Sorting Lists with Backbone.js and JQuery Mobile
Reg. You're an animal. Love the quality of your posts.
This sounds a bit suspicious to me - saying that the Lib Dems are the good guys who are tempering the bad policies of the Conservatives, but as it's all done in secret we can't see how good they are.

The Lib Dems pledged to oppose tuition fee rises for instance but in fact raised them from £3k to £9k, and apparently /planned/ to do so before coming in to power http://www.politics.co.uk/news/2010/11/14/lib-dems-plotted-t...
Google Chrome to alert on malware downloads
Sorry for the down time. My server is back up, I did a reboot because Apache was out of memory. Thanks very much for your patience :)
Like DOS, Windows had one of those APIs that was written by someone who seemed too drunk to care about details.
Mac OSX Snow Leopard at work, Ubuntu 10.04 at home. Unfortunately I can't use Lion because I have a 32-bit computer.
I've tried extending my dev environment to include Windows, but it's such a hassle making it play nice (line endings, shell scripts etc.) that I've pretty much given that up.
Do you have a citation for the claim that 'scrapping all employment law' was a Tory policy? Or do you mean that it was the viewpoint of one advisor (and so not Tory policy), or even that one advisor said something that might be construed in that way, or entertained the idea of such a thing?
My grandfather worked for AC Gilbert, which made the Erector Set, and American Flyer trains. I had rather complete sets growing up, and couldn't figure out why my erector set and toy trains were so much better than everyone else's.

But another toy was a lead casting kit: You would melt lead in a crucible, which would then pour into a mold. http://www.girdersandgears.com/kaster.html

Never had the atomic energy kit, probably because I was already too stupid from the lead fumes out of the crucible.
That's an interesting subject to me, because i found myself constantly working with different age groups (i was 21 when i was working in a company where everyone was ~10 years older than me, now that i 'm 31 i 'm doing some postgraduate work where i get to be with ~25 year olds). I was always considered "too serious" for my age group as a kid (and frankly i still find my age group annoying). My permanent age must be 35. Would be interesting to see what's yours.
All aspiring entrepreneurs should read "A Message to Garcia," written by Hubbard. It is one of the best selling printed books of all time, and consists of all of 2 pages. You can easily find it on the internet.
Vu903934 - Post of Doom
At 28c3 in Berlin earlier this month, Alexander Klink and Julian Zeri demonstrated this attack that uses a large input post to contain thousands of keys that hash to the same value so a single post can exploit the inverted performance characteristic of hash tables.
Thanks a lot! That's the reason why I decided to join! Felt the quality is amazing and it's a great opportunity to be part of something great :)
Hackers build anti SOPA space program to put uncensored Internet into space
What are Benefits and Side Effects of Maca Root Powder?
I guess the point I didn't make in this blog post, but that I usually do make when I'm discussing this topic in real life, is that the system we have right now, call it corporatism or whatever, will always develop out of capitalism. Because the people do not have the capacity to make checks on the government or business, given enough time, capitalism will start to crumble and create a system that is littered with problems that are practically impossible to fix by an uninformed public.
A splash like a rock into the ocean where it will sink to the bottom and stay out of sight forever.

Microsoft has no follow-through lately.
For lots of tiny images like icons, you're often better off loading one 200kb image than 100 2kb images. HTTP requests have significant overhead.
ShowHN: AlreadyHN, a bookmarklet that checks if the current page is on HN
UK–workpermit (softearn300)
Workpermit.com guide to UK immigration, UK work permits, HSMP (Highly Skilled Migrant Programme) and UK work visa Services. http://www.workpermit.com
Why The Machines Have Already Taken Over
While i did see quite a bit of options for node, i haven't been playing around with ORMs in Node too much. ORMs to me refer to those used with relational databases and I haven't done that yet in Node.js. i've just been using MongoDB (mongoose) and Redis (node_redis) - both of which have good libraries.

Also remember that the very nature of JavaScript might make the classic idea of how an ORM is implemented a little different.
Cost of not disposing isn't really high enough to be worth such code-obfuscating contortions.

The garbage collector makes sure objects are properly disposed of. The only real cost to letting the collector handle it is that the object ends up surviving for an extra GC cycle. It's sloppy practice, and it means memory consumption will be higher if your program rapidly generates a lot of short-lived IDisposables, but otherwise the difference will probably be trivial.
Simple coloured console.log() for node.js
Many times I've dreamed of having such an IDE. I'm sure others here have too.

Anyone ever tried writing it? Just wondering if there's a reason why it doesn't exist yet.
Sprites are used for a lot more than just adding icons to links.
I am my startup's only customer, and it's already profitable
Because it's where all of my other domains are registered and I was lazy. I found that the domain was available and rushed to get it, only to think "crap... I used GoDaddy...". If the project gets traction, I'll switch to gandi.net or something.
A little more expensive, but I made mine by taking an L-shaped IKEA Galant desk with extension and putting cinder blocks underneath the A-style legs. Felt pads are important to keep it from sliding off the blocks, but works great and gives you a TON of desk room :)
Brings to mind the 2003 attempt to backdoor the linux kernel: http://kerneltrap.org/node/1584 - even that wasn't spotted at first glance.
Of the smartphone OSes and hardware currently available, only RIM has what I'd consider good security, and Apple iOS is pretty good. Android and WP7.5 have basically no hardware-based protection, and given the UI/UX of the phone, it's unreasonable for people to use passphrases resistant to offline brute force attacks -- all the work factor stuff with scrypt/bcrypt/etc. doesn't apply when you have a huge asymmetry between normal use hardware (slow, cheap, low power phone) and attacker (general purpose CPU attached to the wall).
I agree. And the skills he listed? Well, they're great and all, but they are implementation skills. Implementation skills alone in a vacuum is useless. You first need to know how to think critically and apply a high level solution to a problem.

Things like domain expertise, and exposure to hard problems are what we need first: not the ability to code, design, sell, and definitely not the ability to manage and hire (that's so trivial compared to other things). Learning all those skills will make you great at designing cool things, but not at designing cool things that solve problems people will pay for.
Interesting, it could work like code folding. Bonus points for graying out dead code paths according to arguments given. Modification could very well be in place as the folding can be a partial inline buffer.
Here's a direct link to the actual schedule:

https://us.pycon.org/2012/schedule/
WebGLGap: PhoneGap plugin that enables WebGL
Electronics Sets | New Electronics Review 
All About Electronics Sets and New Electronics Review
Adding icons to links was just one example. If you're coding semantic correct HTML you very rarely have background images that are exactly the size of your HTML element. The way that glue generates sprites makes them only useful for when you're replacing img tags.
Presumably I know why I want to use git before I look at this guide. Also, I know what a repository is (in the English sense), but just in case, I typed define repository into google: "A place, building, or receptacle where things are or may be stored." Now "Create a new repository" really is dead simple.

The term commit and it's function are made clear in the "add and commit" section. Perhaps the order of "trees" and "add and commit" should be switched, but this hardly makes the guide unusable.

If in doubt, type the commands and see what happens. And, at the very very least, the article is titled "git - the simple guide", not "version control terminology - the simple guide".

Perhaps not everyone is the intended audience, and perhaps some people could supplement this guide with additional reading. I've never used git, and I found this guide clear and useful.
Light gray on pure white is not exactly the ideal scheme to foist on people whose eyes already hurt enough.

(My turn for broken-record public service announcements, I guess. Those pages show little sign of abating ...)
I don't think the story is that different for the UK, the main points:
The UK now has monthly quotas, which makes it impossible for business to sponsor visas some months.
Companies have to become licensed sponsors first, which makes it hard for a small, new company to start sponsoring.
They're limiting the number of certificates a licensed company can sponsor at the moment. This is not mentioned as part of the official caps, it's something they could silently do to limit immigration severely. In fact these are so effective that the quota limits are rarely reached, allowing the government to claim that the quota is not too low.

With all the challenges above, it's still possible to get visas sponsored in the UK, but you have to be clever about it. I suspect the same is true in Spain. I have been told the same is true for the USA.

You have to use the right immigration lawyer, one that large companies use and that have optimised their process with getting visas, and adapt that process weekly to deal with changing attitudes from the authorities and has a good ongoing working relationship with the authorities. You have to start talking to them early on, to get an idea how to time these things to increase the chances of it working out. Also be willing to fork out the extra $1000-$2000 or so instead of trying it on your own.
Beautiful Wallpapers Calib 4
Analysis of Zynga valuation
A browser cannot always recuperate when JavaScript fails to arrive - what should it do at that point? A recent example: the outage of googleapis.com CDN caused problems on many sites using JavaScript hosted there all because OpenDNS blacklisted the domain as a phishing domain.

Well, that's just bad planning on the part of people that are relying on a third party service for a core feature. Always have a backup for remote CDNs.

If you've done that, non-JS functionality is a tiny, tiny edge case. In an ideal world we would all handle it, but I just don't think it's realistic to expect developers to set the time aside for it.
Programming should take pride of place in our schools
Sounds somewhat like Code Bubbles:

http://www.andrewbragdon.com/codebubbles_site.asp
When I saw that the first time I had to think a lot about how such systems end up in the end-user face instead of a scriptable system. Is the fear of exposing users to actual programming so huge or is there simply no 'simple enough' language available?
So no one really is safe. Android users have to contend with secret keyloggers, RIM, Nokia and Apple have secret backdoors, and from what I've heard even the fabled "security" of BlackBerry messenger is just a global cypher, it's not even an encryption...

When will be masters of our own devices? When everythign is fully open source and free?
Never draft a baseball player with blue eyes: science
Польский прокурор снес себе пол головы.
Just resonating on one point

> I think there is something narcissistic about saying you aren't really the age you are. You're saying that you're different. That you're really more mature (if you're claiming an older age) or that you've hung on to more of your youth (if you're claiming a younger age). Almost everyone feels that they're mature or youthful or both.

I would read the OP rumbling more as "Everyone has an age it longs to match" and not as if you fooled yourself thinking you're not your age.

Having your eternal age at 40 would mean, holding yourself to the standard of your ideal 40 something man/woman for the most of your life.
That would also mean trying hard to meet this standard for 40 years, swallow your disapointment when you reach your 40s and are still far from the image you had of it, and using the rest of your years to reach this ideal afterwards.

This is of course an naive and exagerated view, and as usual with Scott Adams the idea is just to have thoughts provoked by the assertion. But the idea of a "perfect" age you long to match rings true enough to my ears.
The problem outlined in this post is explained in chapter 2 of K&R. I sympathize with the author and I agree it's insidious but it's also a rudimentary and well known snag.
You 're being idealistic, critical, slightly nihilistic, your permage must be 19
That sounds excellent. I spent a long time thinking about techniques for expedient adjustment, and ended up deciding that I didn't trust my engineering skills (or lack thereof) enough to warrant the additional cost.

I'm excited to see some more about your build, hope you can post details soon.
The Willpower Trick
Watching Instantly Is Not Currently Available For Your Account

Unfortunately your account is restricted to streaming only within the 50 United States and its territories.

You may still access your account, but you will not be able to play any title.

I'm disappointed that as a US based customer with a US billing address and a US credit card, even after this changeover I'm still unable to watch movies I'm paying for while staying in the UK.
Looks like it's still struggling.
SOPA has changed my political views. I used to be a democrat, but watching politicians discuss the internet has firmly convinced me that as little government as possible is for the best. I'll be voting for Gary Johnson, the little known libertarian candidate who sadly is too simple and honest a man to be elected.
Is Your Online Bank Vulnerable To Currency Rounding Attacks?
I live in NY and the situation is much worse here than in the cities I've lived in in Spain (Madrid and Jerez). Spain's internet and cell coverage is generally better.
A Bar, an Idea, and a Garage: The Story of CodeFlow
If you want a "real Republican", vote for Gary Johnson. He's pro-choice and fiscally conservative.

http://en.wikipedia.org/wiki/Political_positions_of_Gary_Joh...
True, but the reasons for that are historical, not performance-based.

Lapack depends on a BLAS implementation for the primitive matrix and vector operations (the actual number crunching), and while the reference impl is in Fortran, the high-performance ATLAS implementation is written in C, and I believe Intel MKL is as well. These implementations parallelize the matrix and vector ops, leaving the single-threaded fortran code in more of a "controller" role.

There's also work being done to parallelize the LAPACK operations at a higher level than delegating to parallel BLAS, it's shown promise but isn't done yet, see the PLASMA package released by some oak ridge national labs people.
Cognitive Decline Sets in at 45, Says New Research
My point is, jumping in with vision and method but zero skills results in pretty much guaranteed failure.

On the other hand, if you can acquire the skills while, say, at university, or working for someone else, and then jump in with the method/vision, you'll have a much better chance.

The manner in which you decide to implement your vision will necessarily depend on the skills you have. If you're a programmer, you will tend to dive into implementation first. If you're a salesperson, you'll tend to dive into sales first... etc.

To maximise your chance, you need a reasonable level of skill in each of those core areas, so that you don't avoid obvious shortcuts just because you don't know anything. Some obvious shortcuts that are often missed by people with limited skills:

- building a product for 6 months instead of making a few phone calls and preliminary paper-based demos to validate the demand;

- hiring an outsourcing firm to "build your prototype" instead of rolling up your sleeves and doing it yourself;

- building an unusable or ugly product instead of using a baseline competence in design to create something reasonably ok...

Etc.

Reductio ad absurdum: by itself, with no skills, the lean startup method cannot achieve anything. It assumes some skills. The more skills you have that fit into whatever method you've picked, the higher your chances of success.

If you don't mind needlessly failing over and over again for years, though, feel free to jump right in with no clue what you're doing.
The year ahead for Apple: the iPad dominates (and Apple TV))
Ask HN: 10k+ node _windows_ cluster in AWS?
For testing purposes, I'd like to know if anyone has successfully created, controlled, and torn down clusters of 10,000 nodes or more of Windows instances in AWS? Or in other cloud providers?

I'm looking to setup a large scale QA test that will drive Windows client traffic (think Outlook, CIFS file sharing) to a data center installation.
Opa (the programming language) Enters 2012 With Strong Customer Adoption
It's a similar approach to the same problem. Code Bubbles make the jumping more palatable. I'm not sure you would need such a drastic change to the traditional IDE look to implement what I describe. You could (for instance) simply have the code (set off stylistically) expand in-line pushing the code below it down the screen. This would get rid of the jumping altogether.

Of course this approach raises its own issues. Can you expand a function within an expansion, how would that look, usability, and so on.
I just wrote a post about my even simpler system for using git for people who know SVN/CVS: Teach yourself git in 2 minutes http://www.jperla.com/blog/post/teach-yourself-git-in-2-minu...
What is keyboard-unfriendly about Unity that was not more keyboard-unfriendly about stock Gnome?
Yeah, it went down again so I'm doing some RAM upgrade which might take 5 to 8 minutes. Sorry.
I know I'm being overtly political and should probably be banned from HN for repeatedly endorsing a candidate, but you have an alternative: http://en.wikipedia.org/wiki/Political_positions_of_Gary_Joh...

Johnson could benefit from an internet-savvy marketer. The campaign seems undermanned and underfunded.
How to Enjoy the Often Exhausting, Depressing Role of Parenthood
Caching is probably a good reason for using the sprite approach. Sprites are probably less dynamic than the HTML being generated, so the client will likely be able to just pull up the sprite from Cache.
Ok I see what you mean: circles. I agree that circles are old invention. But I think security of those circles is very compromised. I like the idea about encryption with social media.
The State of the Kiln
You should really try to appreciate how a musician relates to their antique violin.

Their violin. Not some random stranger's on the Internet.

People are losing their lives and homes every day. An emotionally healthy and sane person's psychology allows one to not cry or get "cut up" about every such incident, while allowing one to feel empathy for the afflicted.

A strong attachment to one's own material possessions is unhealthy enough without taking on the emotional ownership of a third party's.
Considering how the previous government blew 12 BILLION pounds of the nation's money on the infamous NHS project (http://www.cs.st-andrews.ac.uk/~ifs/Teaching/Socio-tech-syst...), I'd have thought they should now be treading very, very carefully in matters of national IT policy...