skysight-inc/HackerNews huggingface dataset:
You sir have inspired me to learn this monstrosity purely so I too can insert art into my code.
Increasing people's IQ is pretty straightforward. Just have them do a couple of IQ tests, and tell them what the right answers were afterwards. This can get you as much as 10 points of IQ.
I've never seen an open source developer that cared about line count except in a negative sense.

Can't imagine one. People like that don't do open source.
How can I view a history of posts to my Facebook wall?
Each "hour long" episode of "24" was only 45 minutes when it was broadcast on the BBC.
That doesn't happen in Greece. Shows usually air within five minutes of their specified time, but it's not clock-like by any stretch.

One show, in particular, regularly airs 40 minutes after its specified time. I find countries with TV shows that air exactly when they're supposed to to be almost magical.
Mostly disagree. Pure functions are beautiful and have their place, but not every function should be a pure function. And a Rails controller method is the opposite of a pure function - it has a database connection, several file descriptors and hundreds of objects at its fingertips. That is its strength, and DI has no place there.

That said, if you have a pure function, and you need to know the current time, consider keeping it pure with DI.
Also, is tea in the evening really that popular?

Oh yes. People drink tea throughout the day. Basically black tea with milk and depending on the person sugar. Water is boiled in an electric kettle and poured onto tea bags.

Is there some etiquette that says you must wait until the T.V. show is finished before you may start making tea

It's not an etiquette thing, but more just co-incidence. When a TV show is over, lots of people might want a cup of tea and so it's more that lots of people are doing the same thing at the same time (i.e. a spike).

(why not switch the kettle on during a commercial break)

Channel that have ad breaks would have them every 15 → 20 mins, so the water would go cold.
IM/VOIP software isn't like email where you just need an option, unless your only use for it is for making out-of-network calls (e.g. Skype-to-phone).

If all my friends, all my colleagues, and all my clients are on Skype, then having an alternative doesn't help at all.
You are correct.

Sometimes the choice is between risk of "secondary screenings" in the US and high chances of harm and hostilities in the home country.

And maybe you just want or need to visit the US, most likely for business reasons. Still, I spent my last vacations in the US and it was great.

People shouldn't take the whole country for the government.
Are the prices the same? When I wanted a new iPod a month ago, Amazon's prices were significantly lower than Apple Store's, even for the newly released generation of Nanos.
Electricity networks are all about ensuring there are multiple independent ways to deal with uncommon problems, so that you don't get failures.

If you get an uncommonly dry season and the reservoirs are empty, then the BBC will be forced to stagger your coro, or more likely you will get in line at the post office and receive ration-books for your tea breaks ;-P
Right? I've found a multitude of scenarios in which it does well like skiing (check the snowpack and quality before you go) and nightclubs (see if people are having fun inside or if its totally whack before you pay to get in).
There are some interesting consequences of this. I heard about a "Earth Hour" or something, a campaign for people to turn off their lights (or something) for a hour (or minute) to use less power.

However unless the National Grid can plan for how many people will do it (nigh on impossible), they'll probably wind up wasting power, and more people can be used preparing for everyone to turn things back on, resulting in Earth Hour/Minute actually use more power than if they'd done nothing.
Things I learned by pretending to be blind for a week
Perhaps when entering the country, and there is a risk of deportation, and the difficulty of immigrating legally puts far too many people on unsafe footing due to the constant risk of being reported, but on a basic, everyday level you have the same rights. If you get pulled over on the road, the cop can't search your car without a warrant, whether you're a US citizen or just a tourist.
I think it's become a bit of a problem that people make jokes about his wizardlike ability to "predict" and "calculate" everything.

I hope he takes some time to clear up what it is he actually does, and what statistics are and aren't capable of.

As much as he's done to draw attention to statistics, a lot of misconceptions seem to go with the popularity.
(who is, as is required by the job, blind)

ha!
Can somebody tell which is the price range for this product?
Wait, wat?
Excellent excellent post.

I worked in Western Power (Western Australia's distribution power utility) for a short while.

The thing with the smelting plants is that they are usually located far away from population centres, and close to a port (or they have their own port!). This doesn't help with the situation, as they are usually quite a long way from the generation plant. But it usually means they have a very substantial connection to the grid.

I'd love to go back there and learn more about this stuff. Power engineering is fascinating.
The html5 spec is clear [1] : "The placeholder attribute should not be used as an alternative to a label."

If you really want to do this kind of layout, you should find some accessible way of hiding labels.

[1] http://www.w3.org/TR/html51/forms.html#the-placeholder-attri...
They do also get the recognition from teaching the class. Andrew Ng is now universally renowned as a machine learning expert (I imagine the consulting fees he could charge to businesses could be immense). Martin Odersky's excellent class on functional programming graduated 10,000 new Scala programmers, which can only help his company Typesafe.

Come to think of it though I actually would send a donation if a large portion of it went to the professor, although 'to advance the field' and 'because it's my passion' as reasons for teaching do make for better classes.
It's hard to talk about opposite.

Some people with borderline personality disorder have a hyperactive amygdala - this means they're hyper aware of perceived risk and what people think about them, and what they think about themselves.

BPD has a high correlation with various eating disorders and with attachment problems.

Sometimes people with BPD can be involved in horrific deliberate self mutilation, but without wanting to die at that point.

I guess that comes quite close?
How to use Java for performing Matrix Operations
Yes. This goes around every year Earth Hour comes up. It's a 1 hour shut down. If people actually did this, then yes, the coal power would stay on. Some would be stored (pumped hydro), but most will be burned off.

National Grid do have very good prediction, as per this (old) video.
How to create a YouTube downloader using C#
The Sensor Multiplexer solves the too-few-ports problem, though it comes with its own sizeable battery pack.

http://www.legoeducation.us/eng/product/hitechnic_sensor_mul...
I also had a really cryptic error that I was able to solve by unplugging my xbox 360 controller wireless adapter. I later figured out that I could have also just started TF2 with the -nojoy option.
Things feel really beta (but that's ok given that it is one).
This is how the "diversity" complaints sound to me
That I want to see that real user of iDevices that sober will say the phrase "noncomforming apps" ... or that lack of malware will be anywhere near the top 5 reasons of liking them. And path behavior was one expected of malware. And it was approved by Apple with bells and whistles.

Malware is a solved problem already since Vista shipped even on windows. I haven't seen one in ages on the maybe 20-30 friend pcs that I am the involuntary "IT" guy.

People like iDevices. Period. But one of the engines of innovation is being able to use something for purpose other than the one envisioned by its creator. It creates positive feedback loop. Which include running software that somebody might not approve. Also unlocked does not mean defenseless. Sandboxing and isolation are good things, so is the vetting of the apps in the store.

I think that the HTC model currently is best - device comes locked, with official unlock available that voids part of the warranty. If I want security - I got it. But if i want to use 300 of them mounted on the ceilings of the clubs uploading realtime feeds to show the hottest places in town right now - I can use them for that too.
I don't think a word of it is true. For a simple reason: these are serious crimes and McAfee is probably rational enough to recognize that it is harmless for him to brag about capers he didn't pull, while if it was true there would be heaps of evidence that ultimately points at him.
You may not see it but until the Samsung ARM Chromebook was released it was the top selling laptop on Amazon.
Very succinctly put.

Newspeak solves this by eliminating the global scope and eliminating "import". Every module is parametrized with everything it needs.
I still agree with the general point about valuable insights from FP. Perhaps the one applicable here is: impure functions can still make for testable and clean code as long as they are explicitly so.
FBI publishes top email terms used by corporate fraudsters
Transfer what you intended to do. Explain the TODOs in your code, optimizations that you had in mind, but didn't get the time, explain the code for handling special cases if they are not too obvious... when people refactor old code they often overlook the tiny edge cases unless it is too obvious or they had been bitten by it.
http://golang.org/src/pkg/bytes/bytes.go?s=6894:6924#L282

It uses `unicode.IsSpace` which might be slower than necessary for this use case (after all, how likely is the proc filesystem to use \u2000?). If this were the bottleneck and the program wasn't IO bound anyway, I bet someone could hand-code something clever that skipped multiple space and/or tab characters at a time.
Go to sleep, it's not good to be awake for 30 hours. You are sleep deprived and this makes it tough and confusing. MVC does not complicate matters. MVC is just a standard way to structure your code. You probably are reading somewhat right books and websites, but every source is biased towards something. In my humble opinion you have not tried any other language for http server scripting.
Google contributed 2620 changes to the Linux kernel in 2012 according to http://go.linuxfoundation.org/who-writes-linux-2012 (PDF) - and presumably many others to user-space projects.
If you like code looking like art, you should look at Piet: http://www.dangermouse.net/esoteric/piet.html

It's art that's code
My first two attempts at entry to the US on my H1-B were simple, maybe one question and in I go. It was the third entry that they asked more questions and asked to see more paperwork (which I did have with me).

I guess it's to catch people who obtain visa/green-cards and then pass them off to others or their situation changes (and they no longer qualify for the visa). I'd also guess that frequent visitors to the US go through at least one of these increased scrutiny experiences every few years. I don't think it's unreasonable given the amount of problems they have with people trying to sneak into the country; I know that I don't have a right to be there so I expect some hassle.

The only other problem I had was coming back into the US after I'd gone to Canada for a friend's wedding (all on a VWP); so UK->US, then two weeks later US->Canada->US, and I wasn't due to fly back to the UK for another 2 weeks or so. I was nowhere near the 90 days of my original VWP, but they might have thought I was taking a quick trip to Canada in order to reset my 90 days with a new VWP entry. It just took a few extra minutes explanation.

Other than that I've done lots of trips to the US (20 on the Visa Waiver Program, 5 with my H1-B and another 10 or so since I moved back to the UK) with no problems at all.
Wow, how long has this been around? Does it use the standard LEGO attachment system or is it all nuts and bolts? Looks sort of like Meccano.
Camera works in CM9 and CM10. I still use 9 because I'm not desperate for Android 4.1 (already have 4.2 on my Gnexus and Nexus 7).

The other place to look for Android on the Touchpad is rootzwiki (http://rootzwiki.com/forum/217-hp-touchpad/). Either forum will get you what you need most likely though, but I'm an admin on rootzwiki for what it's worth.
My point was that there are scenarios where data can be lost and a quick ok/cancel dialog with a short summary is not enough. Even when we know what we're doing a reminder of consequences is sometimes helpful to look at.
I believe that option is only available for down voting comments and not for parent links/posts.
It's currently on my to-do list to try going without sight for a month while I use my computer.

I figured I'd try using a high pitched tone generator to produce different buzzes depending on where I am on the screen.

EDIT: I am aware that using non-standard hardware will not help me develop accessible web pages. That's not the point of the exercise.
This is mediocre course. You get lots of information, but without hows and whys which are absolutely necessary in CS.

Compare it to MIT's course on the same page - they spend lots of time to explain you whys and hows, so later you nave no questions when faced with crap like PHP.

They not just taught you coding in Python, they explain how it works and why - they teach you environments - how all those classes are implemented, so, when you see Ruby, your educated guesses (note language usage) will be correct.)

So, Berkeley's CS61A by Brian Harvey is where to start. After this course you need data-structures and algorithms (MIT has good ones).

Then it doesn't really which crap you have to face in industry - PHP, Java, something from MS or SAP - you will be able to pick up in on the go, because you have learned those fundamental hows and whys first.
In the UK there are two systems for reducing loads I know about:

STOR Short Term Operating Reserve, reduce load at short notice
and
Triad avoidance, always reduce load during peak times.

The data centre I work at does both witching to generator power as needed. We save a LOT of money of power by doing this.
Normally electric, but we use a kettle that sits on a gas stove for aesthetic reasons.
Don't sudo cabal install whatever. Actually, avoid cabal install without sudo too, unless you're working with software using dynamic recompilation like xmonad. Use cabal-dev instead, this will save you a world of pain.
Wow, very similar style. I don't think we were aware of those!
Origins of Go
Sounds like the controllers described need some major refactoring. How many hundreds of lines are their unit tests?

http://en.wikipedia.org/wiki/Single_responsibility_principle
I, for one, think that he's telling the truth. Belize is a very corrupt country and I'd take McAfee's word over theirs any day of the week.

http://www.7newsbelize.com/sstory.php?nid=15542

> "Belize's corruption perceptions index is off the charts - literally!"

Same problem for last year's corruption perceptions index:

http://www.plustvbelize.com/Featured/NewsDetails/tabid/63/Ar...

> Observers say Belize is not disclosing the necessary information for it to be ranked.

This is a huge red flag, since, as the article says, Belize would actually stand to benefit from releasing their data:

> Experts say that if Belize provides that information, it stands to benefit in various ways, by showing the rest of the world that it is serious about tackling corruption.
Interesting. Assigning a bounty to difficult bugs might mitigate that effect (as mentioned elsewhere).
This is the answer. Chromebooks are a buy-in to the web platform. That's why it's good for the consumer. It de-emphasizes the OS; users can seamlessly switch between Windows, Mac, another Linux distro, iOS, Android, etc. and stick to the web platform. Chromebooks are an optimization for the web and in some ways a "less is more" prospect for consumers.

From the HN "it's my hardware, let me do what I want" perspective (and count me among you), it's a bit of a paradigm shift. Sure there are some restriction but it's not as if we are completely shut out. We have Native Client to get at a lower level and the usual tools like SSH. If this isn't good enough, you aren't restricted to a single piece of hardware or just install Ubuntu.
You clearly don't live in Britain :)

"EastEnders" is the most-followed national soap-opera (rivalled only by "Coronation Street"(aka "Corrie"), but that's not on BBC and has a more Northern focus, so I guess Corrie's kettles are less powerful? Who knows). It's aired twice every day except Sunday (when they air all episodes for the whole week in one go). Like every soap, it will end every episode with a carefully-timed emotional cliffhanger. Episodes are filmed well in advance, but edited fairly close to the actual airing date, to avoid too many plot-leaks. Hence, episodes can be slightly longer or slightly shorter, and they usually make up for it by cutting the credits reel (which starts with the famous "tum-tum-tututum" sound you hear in the video); nobody cares about that, of course, so I guess programmers are just guaranteed "at this time there will be credits", which is not enough for the "electricity watcher" because people will fire up their kettles as soon as credits roll.

Cutting short actual EastEnders footage to accomodate some abstract timing issue would result in a lot of angry calls to the BBC!
Actually I think the limitations on this device are a good thing, AS LONG AS there is the 'developer switch'.

I don't want the normal user to have any kind of root access to their machine - and actually most users don't want it either! With power comes responsibility, and non-tech people don't want responsibility with their laptop - they just want it to work.

As long as there's a switch on the back to drop me to a proper bash prompt, and as long as I can tell whomever I support/recommend this laptop for "don't ever touch this" and it will continue to work for them, this is only a good thing. If you know that the user will never be doing rooty things like installing software, you can put a lot of extra security on a device without compromising the user experience, and the Chromebook does exactly this.

Better security, easier user experience, and as-in-speech freedom is one switch away if you want the responsibility. Honestly, I don't see the down side.
I always new that computers kill :-(
The CA itself wasn't demonstrably compromised. They issued intermediate CA certs, which makes them untrustworthy as someone who holds the power to issue intermediate CA certs, but doesn't necessarily undermine the trustworthiness of certificates issued through them directly (rather than through their bad intermediate certs), as their bad certs are not part of the chain of trust for end-user certs issued directly through them.
This looks fantastic. My main limitation so far has been memory, but 16 MB ought to be enough for everyone (plus there's an SD card slot).

While NXC is pretty simple to program in, I would like to see someone port a Go-like language to it. This would be a more natural fit, as the NXT brick works concurrently and NXC has coroutines doing the work.
Timecop.freeze(Date.today + 30) do
assert joe.mortgage_due?
end

vs

assert joe.mortgage_due?(Date.today + 30)
At my company we confirm the customer's identity before we blab about their orders. For obvious reasons, it's hard to do this in public on twitter!
PHP is old.
OO was added later, same for Funcional syntax and IMHO they feel a bit awkward compared to other languages that were created with these contructs from the beginning.

The only real difference I find is that you need more discipline than you would with django/ror because you can mess it up more easily.
PHP feels like C for web programming.

If you feel your MVC framework complicates things it probably is for the former reason (more awkward syntax compared to dj/ror).
"Even more locked than windows"

Do you mean Win RT? In which case that's much more locked and you can't run your own binaries or alternate OS's on it, or did you mean Win 8, which isn't really locked at all?

I agree it's not that 'open' for the average consumer, but the very existence of a developer switch makes this substantially more open than RT devices.
How many followers do you have? I find the number of followers you have directly corresponds to how successful using twitter is for support.

It's only if you have 100+ followers, that companies are more likely to go out of the way to help, in my experience.
How to search and copy Stack Overflow data without leaving Vim
The google/samsung xe303 chromebook isn't an x86 device...
These are orthogonal axes. Good nonfunctional languages like Python also offer better abstractions than Java, and bad functional languages don't.
It's interesting you mention your reasoning for wanting to add the functionality. I believe this falls under the "Better Than Reality: A Fundamental Internet Principle"[1]. This is such a common pitfall in the web that I feel like it needs to be reiterated over and over. That's not to say your effort wasn't worth it - you achieved your goal and that's important.

http://www.useit.com/articles/better-than-reality-a-fundamen... (note - this is from 1998 and is still relevant!)
Are you suggesting developers would start adding bugs for the purpose of killing them off later?

FYI, we've had this system[1] at Twisted[2] for a long time, and that hasn't really happened. When it was first introduced, I argued that it might lead people to review too much; then Glyph counterargued that that's a feature, not a bug. History's proven him right.

It could be that because it's an open source project, and most development on it is by volunteers, that that mechanic is less strong: it's not like people collect bonuses or anything because of their scores... Nor would I suggest that in any other context :)

[1]: https://twistedmatrix.com/highscores/
[2]: https://twistedmatrix.com/trac/
So... back in the day I cross-compiled GCC to write code for the original Mindstorms in C (and to some extent, in C++). That wasn't easy for my early-teen self, but it was possible.

To which degree is it possible to program Mindstorms NXT or EV3 in a "real" programming language?