skysight-inc/HackerNews huggingface dataset:
Step away from your computer (and HN) and talk to people. Socialize with folks who do other things besides programming and genuinely ask them about their work and how they do it. Get involved with people in your company outside of software development by volunteering to work with your Operations, Marketing, or Sales Engineering.

My point is that you're stuck in the Machine. The Machine will get you where you want to go but you don't know where that is yet. Get out of the Machine and look around you. The Machine will be there for you when your desire to get somewhere manifests as the result of having some life experiences.
Ok, done it. Try this:

https://gist.github.com/findel/5099737

Credit for the selection code: http://stackoverflow.com/questions/4652734/return-html-from-...

[Edit: created gist]
Hello Pong; teaching kids to programme
Jesus Christ what a dumbshit comment. You quoted him correctly, then failed to apply what you quoted, at all, to the words you wrote. Do you think bacteria suffer?
you can still patent applications of it.
it greatly depends on where you look, there are some very surprising and advanced data sources both on the EU level and on member state level, UK, Poland and Bulgaria come to my mind as positive examples.
It would be cool if I could click anywhere on your comment and get to the "reply" page - except if I click on the small "link", a nested link.
Because the browser should have no way of verifying that the file was really constant, and to do that it would need to ask other authorities who have downloaded the file in the past.

GPG only allows you to sign something, not guarantee it was always constant.
Matter, "Y Combinator for public media," picks its first class of six startups
I think that TDD works great only when you have a clear idea of what you're building.

I think that TDD is probably not appropriate for a team that is still trying to figure out what they should be building. Software needs to be incredibly malleable at this stage, and the developers can expect to be constantly refactoring and throwing away big chunks of code. Most early-stage startups find themselves in this situation, this is why you are getting so much pushback here.

But yes, once you have a solid vision of what software should be, TDD will help the software stay true to that vision.
The password caching was removed and a fix pushed this morning (v1.3.33). Fogcreek team should be commended the fix came less than 7 hours after being made aware of the bug.

Well done Trello!

Reference: https://mobile.twitter.com/hamidp/status/309303911150395392
Ask HN: How do you do customer validation for a "toy"?
In his essay "How to get start up ideas", PG wrote that one should build something small number of people want in large amount. He also writes in the same essay that building something that looks like "toys" often produces good ones. It's cool; users love it. But it doesn't need to be important.
Can something be a toy and still some people want in large amount (without being important)? How do you do customer validation for such a product?
Or, do they represent 2 different customer validation approaches for 2 different markets (such as enterprises, consumers)?
The first version is pretty standard Haskell. Certainly not caricatural.

For generic code, writing first:rest is not bad but it does look a bit superfluous, somewhat like writing

quotient = numerator / denominator

instead of simply x = y / z. It doesn't really give you any extra information, and for me it sort of suggests that the programmer needs to remind themselves of what the operators : and / mean.

Of course, if the code is not generic and the variables do have concrete meanings you should name them appropriately, e.g. roi = return / investment. But when we write x:xs it's typically polymorphic (or otherwise generic) code.
Because the error specifically occurred with the introduction of Windows 7 Service Pack 1.
and doesn't tell Google.
I agree it isn't fair and I hope that, when Microsoft Windows no longer has monopoly status in the desktop OS market, these onerous regulations are rescinded.
There is actually an LRU map implemented in Java, though it is sort of hidden in the LinkedHashMap using a special constructor.

http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Linke...
The fact that you have a specific tag for linking make a lot of sense:

- it allows to have multiple links for an element.

- you can add information about the linked resource like semantic relation with the current context (rel or rev), content type of the link, language ...

Maybe it would be nice to have the following behavior: when you have a anchor tag without a closing tag it would mean that the anchor context is the parent element.
X86-64 assembler in Javascript
Mountain Bike Sale Is Where To Be Found?
Great stuff... I'm laughing so hard.
iOS requires you to have the built-in browser installed; they don't require you to use it. (You can download and install Chrome for iOS, but you can never remove Safari.)

Still, this isn't a monopolistic concern until iOS has a monopoly. iOS's marketshare is nowhere near Windows' was when the anti-trust regulations were enacted.
They were found using monopolistic tactics to crush Netscape Navigator. Bill Gates et al were the decision makers. The web browser and Internet are a threat to closed proprietary operating systems like Windows and iOS where applications run exclusively rather than cross platform. Windows used to be where most all applications run. Apple iOS now has the same situation and you will notice Apple less and less happy to help applications run in a web browser and will continue to update Safari iOS less. But it was Microsoft that was found guilty in court for monopolistic anticompetitive actions.

I think it's funny now that if you sell an operating system where you want to talk about number of apps on your OS how important it is those apps cannot run on another system. The low hanging fruit of apps that can easily be written as a web app run on every operating system thus giving no advantage to a proprietary operating system and really enable smaller indie developers.

Microsoft is paying for its past sins, Apple is locking you up and being anticompetitive now, Google is ad spamming you, and I guess Facebook.

Everybody is trying to make a buck. Sometimes the DoJ gets involved. See Microsofts recent efforts to get DoJ after Google :)
KiwiViewer: native 3D visualization for iOS (Android: WIP)
Really nice! Two questions:

- What's the "cross-product magic Amazon uses to detect movement inside the 'blue triangle.'"?

- How did you do those GIFs?
I guess you could buffer the selections in a temporary file and upload it to Google with a cronjob or something…
I can't help but be reminded of: http://xkcd.com/1118/ as I read this.

Bundling a browser with an operating system seems much more innocent than the lack of openness in the mobile world.
You're witnessing firsthand the stupidity people concoct when they are operating under cognitive dissonance.
Thanks... its a great pairing with Songza. Particularly, http://songza.com/listen/jazz-for-reading-songza/
Love the look of the site. A few remarks/questions:

* Is there a possibility to get PNGs in addition to PSDs?

* It's Xcode, not xCode.

* What exactly is in the Xcode project already? A storyboard? Any functionality?
You can use pbpaste on OS X in place of xsel.
Very cool post and plugin.
Sure would be nice to have the Chrome OS desktop environment running on top of a full Linux distro. I really like the minimalism, bottom bar and app launcher.
Mechanical Turk Workers Are Not Anonymous
A lot of the time it is also just lack of understanding of how others will respond.

A lot of "nerd bullying" is unintended and seem to happen through brutally harsh technical criticism that we often don't realize can affect others really badly.

I used to work with a now well known blogger who is reasonably technical, but not a developer, and I used to fall prey to this with him.

In one meeting, we were chatting while waiting for someone to bring some documents, and he told me "when I first met you, I thought you were a total jerk, because it seemed like in every meeting when I opened my mouth, you'd shoot me down". After a while he realised it wasn't personal, but he still didn't quite understand why I was seemingly picking on him.

And it was true. I did shoot him down a lot. But I was flabbergasted. To me, my criticism was essential technical discussion. What's more, as I told him, the only reason I often criticised his ideas was because they were often good. Good ideas deserve thorough attention. Good ideas deserve criticism, because it is by fixing the rough edges we turn a good idea into something great. I had, and have, a huge amount of respect for his ideas.

The reason I kept my mouth shut when a lot of the rest of the management team came up with suggestions was because I often didn't believe they were interesting enough to be worth it, and I had a good idea for when any of those ideas might get traction enough to be worth shooting down, but mostly the bad ideas just got me to pull back and think about something else.

Sometimes we do bring out the heavy guns for really bad ideas too, but even then there is often a tacit admission of respect on some level, though influence rather than technical proficiency: Only the really insecure or clueless wastes lots of time criticising someone with no influence. We criticise bad ideas incredibly harshly when they come from people who have the influence to push their ideas through regardless.

But that is rarely aimed at someone who would be all that phased. And at least in my environment, the less technical members of the team would often easily recognise and kill those bad ideas without any need for me to pick them apart. More often for me at least, it was people I respected with ideas I respected that got the tough responses, because they got my attention.

Back then, I didn't understand that this kind of harsh language was not taken as impersonal technical discussion aimed at helping to improve their ideas by "normal" people, but as intense personal criticism.

I hope I've improved in that respect, but I still far too often cringe at when I see my "old self" reflected in overly harsh responses that still seem to be well intended.
Can't items leave when getting kicked out by a new item?
It's economics. I can attest to the fact that most five-year-old chips are good enough for 95% of software I want to use. So there's no real demand outside of big data and data center applications.

The only way to keep pushing performance would be for software writers to invent new and compelling things to do that genuinely require more power. It can be something as simple as a game-- I was a teenager when Quake came out, and I remember scraping together as much money as I could to get the absolute fastest machine I could (A P120) to play it. Before Quake came out, my old 486 DX2/66 was fast enough for the Linux hacking, adventure games, and BBS/Internet stuff I was doing at the time.

We need another Quake... or something equally cool. We need killer apps. Otherwise computers are going to go over like the aerospace industry did. We stopped pushing the envelope there in the 70s, again for economic reasons.
I just tried it in Chrome. View > hover over Encoding. Move mouse down over Developer and onto the Encoding submenu. There's a definite delay, although it's much shorter than Amazon's. Move the mouse over Developer in the other direction (down and to the left), and there's no delay.

I never appreciated this, yet it affects me many times a day. Really thoughtful UX design.
Unfortunately that doesn't do anybody any good when you Ctrl+F "unsub" and click that link.
Are you in Europe? This isn't entirely a demand issue as such; the EU has introduced regulations (relating to cage size, treatment etc) which make battery farming of chickens a less attractive proposition for producers, especially for egg production. The production cost difference is now small enough that, given that there _is_ a bit more demand for free-range, it's not really worth it, at least for eggs to be sold commercially.
You are not required to user either browser, and for example you can easily set the default browser on Android to Firefox.

On iOS you must use the system provided webkit as other apps aren't allowed to download and execute code. Alternate browsers do exist, but these are based on UIWebView and don't perform as well as Safari.
Universal search has been available for some time, and it is more of a backend thing than a client thing.
Show HN: OSX HN Search, Inspired by QR-Codify
This would be a pretty easy thing to polyfill, I think.
Fortunately, OS X now has Services

This feature originates in NeXTSTEP, and I'm fairly certain it has been in OS X since the beginning.

http://en.wikipedia.org/wiki/Services_menu
There were a number of online eyewear stores that sold online only direct-to-consumer glasses before Warby Parker in the “upscale” price range of $100
GlassesUSA.com (2007), ~ 45% of SKUs are private label
Glassesshop.com (2004), ~ 90% SKUs are private label

and many more online stores that sold even cheaper private label RX eyewear:
zennioptical.com (2007), 100% SKUs PL, price range $6-45
Eyebuydirect.com (2005), 90% SKUs PL, price range $6-45
39dollarglasses.com (2000), 100% SKUs PL, price $39-109

So, at least part of your argument is unjustified. The guys at Warby Parker created a very unique product perceived at the edge of cool/”retro-intellectual” / boutique-quality / affordable / with a noble mission. That was unique.
Oh, I found a problem in your clean solution: nobody knows how to detect, in non-humans, the presence or absence of a mind sufficiently capable to pass your test. Or have you been interviewing all the animals you eat?
This is actually pretty nice. Considering buying xcode version. Would be better with a video overview of working xcode project.
Watch As I Desperately Try To Get Support From Stripe
Just a general software position.
This is much nicer than bootstrap.
Just at a guess, really really good speech recognition might be a "killer app" for big, vectorized chips. I haven't tried to implement it, though, so I don't know how much power it would really take. Apple and Google seem to do all right with a little phone CPU.
+1 on all 4 points.
This works really quite well - great work, airblade! For reference, this is what I placed in my vimrc to get things how I like them:

highlight clear signcolumn
let g:gitgutter_enabled = 0
nmap <leader>gu :GitGutterToggle<CR>

I prefer my buffers to start with it disabled by default and toggle as needed.
So now we know why Sinofsky was shown the door after the release of Windows 8. It wasn't a petty power struggle, it was a 3/4 billion dollar fuckup and he was responsible.
I just happen to have this open in another tab, but only helpful if you are a Mac user: https://gist.github.com/dergachev/4627207
Kind of remind me of App Design Vault:
http://www.appdesignvault.com/

Not associated to that site, simply got a few existing templates a few months back when there was a super promo discount.
Yes, inserted as-is into BST without rebalance. Good to know it was an unusually tough ph screen question. But also good to know that there are harder on-site questions! Man!
Document the Why
+1 for quick iteration!
Bartendro - A Cocktail Dispensing Robot powered by Raspberry Pi
Announcing point-and-click access to Amazon RDS database logs
Looks sweet! Is there a way to do that on Ubuntu?
Until more than one person uses this template, and you have many apps that look identical.
Looker Takes $2M To Build ‘A Sequel To SQL’ For Business Intelligence
Plus even more scary, on iOS they only allow a single browser/engine. Yes, you can get "Chrome" for iOS but it is really just a skinned Safari.

Android might not be perfect but at least you get a real choice of browser on there.
It's not magic, it's just math. The cross product [1] between the vector of the mouse movement and the vector of the mouse's location to the menu's top left corner tells you the relative orientation of the two vectors. Compare that to cross product in regards to the menu's bottom left corner and you can easily figure out that the mouse must be moving towards the menu. This is much easier than figuring out the bounding triangle that the person drew in this article and then figuring out if the mouse is inside of it.

[1] http://en.wikipedia.org/wiki/Cross_product
I think most people lack common sense. Otherwise, how can you explain such basic issues such as high levels of obesity?
FSF Europe president's thoughts on € 561 million anti-trust fine for Microsoft
The following sentence leaped out at me. The latest version of Internet Explorer is considered to be on a par with its rivals. Really? Considered by whom?
Hard to do the experiment, as you need two countries with otherwise identical production practices, where one washes and the other doesn't. For instance, the US and the UK would be a bad example, because egg producers in the UK generally vaccinate for salmonella, while those in the US don't; regulations on things like cage sizes also differ substantially.

You also need identical reporting regimes, which may actually be a greater problem; salmonella is not generally a mandatory reporting thing, and many people infected with it don't go to the doctor with it anyway; if you're a healthy adult it's pretty much just nasty food poisoning.
Until more than one person uses this template, and you have many apps that look identical.

Which, as Bootstrap proves on a daily basis, is a non-problem for the majority of the world.
"See the delay? You need that, because otherwise when you try to move your mouse from the main menu to the submenu, the submenu will disappear out from under you like some sort of sick, unwinnable game of whack-a-mole."

How will a delay before displaying the submenu prevent that? If it would be a delay before it disappears I would understand but in the example it doesn't seem to have that.
https://support.stripe.com/questions/do-you-have-a-phone-num... (Stripe doesn't have a phone number)
One form of "graceful" degradation that we're considering is to have a single <td><a href="">Content</a></td> on each row that users can click when JavaScript is disabled.

Users with JS get <tr data-href=""><td><a href="">Content</a></td></tr>, with JS doing as in your example.

The downside is that we'd have to repeat ourselves, but at least the system will degrade somewhat-gracefully.
I prefer a little explanation here.

"I've just had to track down bugs due to globals defined in this context when they don't need to be. If you use this approach it will save everyone a lot of time in the future."

Not confrontational, it's educational, and you're saying why it's wrong. Just saying "it's wrong" doesn't help if the original author didn't realize it was wrong at the time. If they did realize it was wrong and did it anyways, giving the full description just reminds them why they should go and do it the long way.
QR codes on billboards and in marketing are kind of rubbish

On a big billboard beside the freeway, sure. In a home for sale sign, or in a bus shelter, or anywhere else where people are either a) very interested or b) captive, they are fantastic.
Apple and Facebook were never had a monopoly and Google, while arguably still never having had a monopoly, has been investigated.
There are many employment-related hashtags you can be using when you post to twitter that may increase your audience. I'm sure there are some for working remotely as well.

Beautiful site - nice work.
Maybe, but I'm not aware of Amazon being a patent troll in its recent history. I'm aware of the fight they had early on with one-click checkout, but since then?
That page for Tokyo looks suspiciously like the internals of a natural language processing system. I can't wait until someone hooks up a probabilistic speech parser to Wikidata. A talking computer with the knowledge of Wikipedia could be incredible.
Building the StartupGiraffe website
We launched our new StartupGiraffe website a few months ago, and we’ve been meaning to write a post about how we did a piece of the frontend for anyone interested. Our goal was to create a fun and responsive site that showed off our brand. Once our friends at Barrel NY agreed to do the graphic design for the site, we knew we’d also be able to pull of some neat tricks.
Which bundle was that? The ones I've purchased have always had more variety than that.
If I'm having trouble concentrating I listen to some Brandt Brauer Frick.

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

http://www.youtube.com/watch?v=gR8KGam3m9Q (ignoring the intro)
It's important to acknowledge personal differences while trying to see them as separate from the people themselves. It's when the two are confused that problems arise.

If you ignore personal differences, or don't understand that they're opinions (albeit based on experience) you will fail.

That's therapy training for you :)
Indeed. If only it weren't stuck with a slow js interpreter.
> "but that's not what's going on here."

Not with the NSLs, no. But when you consider the not-so-secret rooms at all the ISPs: that is what's going on there.
The Unraveling of Ellen Pao and Buddy Fletcher
> in fact these differences make such an agreement rather unlikely

These are manageable. Some EU countries have derogations on local practices which would be illegal under food safety law; those goods obviously cannot be imported into other EU countries. In practice, this doesn't present a major barrier to generally free trade.

After all, even within the US, there are goods which are legal in some states but not others.
Monitoring Drupal with Opsview
Missing a closing apostrophe.

javascript:(function(){var a=new Image;a.src="http://chart.apis.google.com/chart?cht=qr&chs=300x300&chl="+encodeURIComponent(getSelection());a.onclick=function(){a.parentNode.removeChild(a)};a.setAttribute("style","position:fixed;top:50%;left:50%;margin:-150px 0 0 -150px;box-shadow:0 0 20px rgba(0,0,0,0.2)");document.body.appendChild(a)}());
This gets posted in every qr code topic. You can't deny QR Codes are popular in Japan and Korea...
For you and me, hacking means grokking stuff.

For the mass-media influenced population, who are about 90% of population, hacking means breaking into systems and damaging or controlling them.

Now what you mention is another different redefinition of hacking. Like a watering down effect, going from grokking to simply tinkering to even dabbling something.

I don't like it either, and I would rather have hacker to keep its original meaning, but it is what it is.
> Why do so many people get this wrong?

Because it's impossible to get correct. Even Net Market Share can't boast 100% accuracy. The best we can do is form educated estimations.
Scaling from 2 to 100 employees. Where are you?
Microsoft probably couldn't care less that the EU just fined it $732 million
Is node actually able to use more than one core now?
Well not I am wondering was it a real mistake, or did the company decide they'd rather pay what ever fine if it means they get to delay presenting any other browser for as long as possible?
Funnily enough, I disagree. I think nested links just shouldn't be allowed at all.

As ever, people are the great blockers to any implementation :-)
Only an idiot thinks being logged in has anything to do with whether or not they log your data? ;)
Great idea! Never knew about the Automator. That got me inspired to create a HN Search service for myself: http://news.ycombinator.com/item?id=5331370
How easy is it to change aspects like the colour in the Xcode project?

I'm interested in seeing the source, do you offer a refund if I don't find it satisfactory?
Been using http://code.google.com/p/pyqrnative/
Oil Producer Saudi Aramco Twitter account hacked - Hacking News
Google shows example of pages they consider spam
it belongs in the header of the page to be loaded

Yes, but they have no real incentive to put them there, since they want people to see the paywall (and possibly subscribe). Besides, many paywalls are dependent on the user (e.g. she may have some free views per month or so).