skysight-inc/HackerNews huggingface dataset:
You're right, I was a bit short in some cases. But really, it is aggravating to have to explain why PMT() should not be a builtin in the global namespace.
Yep. Seems like the author "remembers" some information, then conveniently "forgets" other information. He leaves it open for the rest of us to straighten it all out.

One of the other commenters took me to task (quite politely) for not arguing the facts. There is a good reason for that.

We don't want to get into a situation where one side posts all the knowledge it has about the attacks, only to see the other side adapt. Let's not use the free press as a means to shoot ourselves in the ass.

So a lot of articles and a lot of details like this will go unanswered, and that's fine with me. I've watched my server logs, I've seen enough details here and there to know the score. I don't need a public debate with all the witnesses present and cross-examination and so forth. Maybe if this evolves into a shooting war, but not right now.
In other news: Emacs is better than Vim and static typing is better than dynamic typing.

What I'm trying to say is that discussion about comments in code is useless unless it's based on real code - and then it's still largely a matter of one's habits and expectations. In case of your post here, for example, I can already see that we are talking about different things and that we have very different ways of working with code. To convince you that good comments are good I'd have to first explain to you how I work with code already written, then how I write code, then how I write comments and then define what a "good" comment is. I'm positive that I would succeed, however I have no time now to attempt this and you're probably not that interested either.

Anyway, I'm much more productive when working with heavily commented (with good comments) code. I don't like the loss of productivity I see when working with code without comments. It's entirely possible that you're working in a way that doesn't benefit from comments, and it's nothing bad in itself, but you shouldn't use this as an argument against comments in code.
The use of this method is also described here: http://en.wikipedia.org/wiki/Coin_flipping#Use_in_clarifying...
A Hadoop Alternative: Building a real-time data pipeline with Storm
Again! I've been hearing the "switch to functional!" spiel since the 70s (being honest, since sometime in the 60s, but I digress)... stop it already! Hasn't happened in 40 years, won't happen now.
I worry more about the quality of my comprehension than the speed at which I read. I"d rather take ages and get a good understanding than speed up the pace at which I read. Depth over breadth any time. In product features, in overall understanding, in capability, in testing, art, in all things life. This is akin to a get rich quick scheme, do things on the cheap, doing more with less. You can only do less with less.
Yeah these sort of questions are pretty ridiculous.

Though I wonder what the intent is here, say for the first question - "What is the pattern here ?"

After looking up the solution on wikipedia - http://en.wikipedia.org/wiki/Look-and-say_sequence I would have to admit there is no way I'd figure that out without knowing the concept ahead of time.

So are they looking for someone that knows the 'look and say sequence' explicitly ? Same way if you presented the meaning of numbers 80 or 443 to someone they'd either know or not, but not be able to guess.

Or did they actually expect someone to work it out on the spot ?
Pretty close.

http://online.wsj.com/article/SB1000142405270230387960457741...
Trivial, but was using these irritations as an example. What isn't trivial is how poor and inconsistent the UI is (not just 7, but shockingly, 8). All OSes have warts, all companies are out to make a buck. I have been hoping MS would look at the competition and the business climate and really come up with some new ideas.
Either the author has a shiny new keyboard with a λ key, or they really really like to copy and paste.
Well... If by XML-based things you are thinking of Maven, they're not really at the same level. Maven is much more higher-level, and is fully declarative, which is both a blessing and a curse. I would not describe it as a general-purpose build system, it's really made for the Java ecosystem, but in this context, it works well for a majority of projects, because they can follow the rails. And it does handle out of the box automated retrieval of dependencies, which is way outside the scope of make.

It has its hear in the right place, though. High-level build systems should strive to be as declarative as possible. It's the rest of the design which is problematic :)
Backbone SortableView for Collections
Fn.py: Enjoy Functional Programming in Python
Censoring the Internet a Lucrative Industry in China
"Deleting an article costs up to tens of thousands of yuan, and blocking a search term can cost up to 1 million yuan (US$160,000)"
The text says it's been proven by NASA and several others that you can't remove subvocalization, yet most speed reader comments here go on to say "yes it works i removed subvocalization". It's obvious all these "speed readers" didn't read a single line of this article.
I agree with the conclusion that improving reading comprehension is the best way to improve reading speed, at least for me. There are two things I learned from my stuttered attempts at speed reading: (1) The best way to increase reading speed for me is to simply stop re-reading sentences that I already read. I do this unconsciously usually because I didn't fully understand the sentence the first time. Better reading comprehension reduces this. (2) Attempting to speed read is probably a waste of time for me because most of the material I read is technical, so comprehension is usually the bottleneck to getting through the material, anyway.
If you dynamically linked it would be quite a bit bigger, libc alone (none of the other libs like libm libdl etc) is 1.8MB on my system. But it should be manageable. Or you can force the symbols to be linked in by adding a structure with the symbols in.
Dude, why are you so impatient?
If you manage to get the code to execute on a worker or an iframe, you should have a clean environment to operate in, with your own copy of the native environment and prototypes.

The question is... how do you create an iframe or worker safely? document.createElement and window.Worker can be poisoned too.

Perhaps its possible to verify the functions you're using are native and not created in user-land? that way, at least you could identify the attack and stop execution.
Abdullah Shah
Facebook is a social utility that connects people with friends and others who work, study and live around them.
My partner's dad was evil: he taught "simple" versions of games, leaving out complicated rules like castling, when she & her sister were small, and then never explained the full rules later.

Thus, when she played me at uni, she was furious that I was "cheating," until I showed her the full rules (the internet is brilliant) and she realised that it was her dad being crazy.

In summary; it is essential to know castling exists, because otherwise as soon as you play another human, they will beat you with it.
I ran into a company that has created software that allows 3D gesture sensing with inexpensive IR devices. It would seem to be perfect for this use. WebOS with gestures is a lot more intuitive than any of the remotes on my coffee table.

http://www.gesturesense.com/products/6dof
Quite interesting, I do something similar to that on a smaller scale.
When I do a class/method, I usually just put comments describing what's going to happen and that makes me thing of cases I might have missed otherwise and then I add the code below each comment.

Will try literate coffeescript next time I use it.
Title made me think that one of their lead engineers died. Perhaps there would be a more accurate title option?
Are many devs using these products?

I'm a big fan of Phone Gap but havnt done much with Titanium, Appcelerator makes it very appealing
Good speed reading courses and books not only teach you how to skim faster and not to subvocalize but how to comprehend and learn better.
For example in Paul R. Scheele's book he teaches you how to start on a book:

read the table of contents,

then read the headlines through the book,

then speed read the book and then try to probe your comprehension, ask questions etc.

The table of contents and the probing is the most important. Teaches you recursive learning, when you first build a foundation then you fill out the details.
This just signals that there is a hole in the market for an open source smart TV platform. Google TV was supposed to be that, but it's pretty clear that they don't take it as seriously as they take Android. To manufacturers like LG, TVs are actually more important, and falling behind competitors is more serious. Forking Android for this purpose isn't really an option thanks to the recent "non-fragmentation agreement" all of the phone manufacturers were forced to sign. So they are going to try and go down the proprietary route. They'll likely fail, but we'll see.
The sidenotes were too narrow? ;)
Show HN: Our new staff management software
You are right, TV viewed as just a display is IMO not bound to die. But TV as a platform for delivering content very likely is (and this is large part of the business). Companies creating smart TVs are definitely not agreeing that TV should be just a display, because then what would be a point of putting a feature rich OS there?
A list of Entrepreneurial Events to look out for this year
It is a big mistake to ignore the result! This method only reveals its true power when you fully commit to the result.

The Chinese practiced this a long time ago - called it 'I Ching'. 'Ching' is the sound the coins make when they hit the table ;)
As far as I know, it isn't. I just figured that anyone who understand '\' might understand 'λ' as well. And those who don't know Haskell might just figure that 'λ' stands for 'function'.
The Phoenix Project – The Three Ways – The Hello World App
My current company is making a big push to deploy our flagship app in the cloud around the world. This is a suggestion I recently made in a meeting regarding “How” we should start and how we can prevent making the same mistakes we make today in our physical infrastructure.
> There is something seriously FUBAR with the design when you must choose the size of simulation (the rendered rows and columns of ASCII representing the playable zone in the window not the physical dimensions) at the beginning of a game before embarking.

Minecraft does that (the fog distance).
Writing an article to bash a company for not hiring him doesn't seem like what a great engineer would do.
Hack: Typography
How Collective Wisdom Shapes a Talk
Shiny new keyboard: http://bepo.fr/
I have recently written a general literate programming environment that one can use to write just about anything: https://github.com/jostylr/literate-programming

It also uses markdown and its code conventions.

It is still early stages, but it seems to be working fine. It compiles itself, of course.

It has the ability to compile snippets mid-compiling. So one probably could, for instance, write small self-contaied snippets of coffeescript and potentially merge the compiled version into a normal javascript script, all of which is being compiled from a single (or multiple if you like) markdown documents.
Syntax error: Either data constructor not in scope.

Perhaps you meant one of these:

Left "the author has a shiny new keyboard with a λ key"

Right "they really really like to copy and paste"
How To get Media Attention For Your Startup - Think Like a Journalist
While these are neat for things like a programmer's interview question I would be very careful about actually using these in real code, for two reasons:

1. It obfuscates the code for very little benefit. Readability suffers more than performance gains.

The JVM could employ similar tricks under the covers for performance reasons if it detects that this is on the hot path.

2. The code is sensitive to overflow, sign handling, Not-a-Number, and divide-by-zero.

Both these points should be raised by an experienced programmer.
The cult of Swery
Why Is Nobody Talking About The Social Implications Of Google Glass?
The software is called Team Sheet and it provides a cloud-based timekeeping monitoring service through Android tablet and iPad apps.

It's designed as a replacement for sign-in sheets/logbooks. The tablet apps provide a quick interface that allows staff to clock in using ID numbers and PIN's set by their manager then the app will snap their photo and the employee can go to work.

It's much more efficient than sign-in sheets and leaves no margin for error in tracking worked hours.

It's the main product on our website http://heyjimmy.net and it comes with a 7 day free trial period so you can have a look at it if you'd like.

We're adopting the traditional lean approach to this launch, constantly working to improve the product and would really appreciate any feedback from HN.
Do you think they only failed you because you didn't know how to compute the square root? Did they tell you that you underperformed? There are tenths of reasons why a candidate might be rejected, outside of "did not perform well in tongue twisters".

The fact that you got rejected does not mean that you suck. It means there is somebody who scored better feedback. He could have given the exact same answers like you, but better worded! Perhaps he would fit better with the FB culture!

Maybe they failed you for your attitude? I mean, you made a post 2 years later saying "Ha! Look at me Mark!!! I am the king of the world!", good for you buddy. But I don't think anyone is going to weep for facebook's loss...
I would argue that they're harmful even as interview questions. This sort of thing is never a good idea, so why risk giving the other party the impression that maybe it sometimes is?
Prototyping Responsive Typography
And this is exactly how we generate random values with a certain distribution.
Sony patents way of identifying pirated software by measuring load times
He totally forgot Haxe (http://haxe.org) as a language and NME (http://www.nme.io) as a cross-platform library for Haxe.
Firefox 22 Will Block Third-Party Cookies by Default
If they make Bayesian analysis illegal only criminals will use Bayesian analysis.
A lot of people use `TV' to refer to both the thing on the wall, and the industry that produces things to show on the thing on the wall. I think that's the case here.

Assuming I've read the OP right, I don't agree with the assessment that the TV industry ``is bound to die''. The demand for high-quality, well-made programming remains relatively stable (maybe increases gradually over time), and even with the best will in the world, amateur producers can't produce anything to match something like Game of Thrones. So there will probably always be something akin to the TV industry producing that sort of programming.

What probably will change is the means of distribution -- it'll be over the internet instead of over the air -- but I don't think there will be a radical shift in the style of broadcast for a long time. People are happier paying $XX for a cable/satellite package and getting an Eat-As-Much-As-You-Like experience instead of buying each course separately. If this wasn't the case, we'd already have seen a massive uptick in people cancelling their TV service and just buying $PROGRAMME season-by-season on iTunes. As far as I've seen and read, that just isn't the case.
Or if an overflow occurs (while methods 1 and 2 work fine even with overflow, in Java at least as overflow semantics are well defined).
Yeah, cause it looks worse that way. How to lie with statistics!
I don't normally expect to see the words "hissy fits" in a Forbes article ... I wonder if Forbes will be blocked by the great firewall now.

In any case, I tend to agree with the sentiment that you'd better be seen as sane if you want the rest of the world to include you in the global economy.
Anecdotal personal stuff: I learned to stop subvocalizing in grad school. I had no idea it was a canonical speed reading strategy. I can read really fast now, with unimpeded comprehension.

Common sense stuff: The author says that scientists say that reading without subvocalization is impossible. The fact that deaf people can read is extremely inconvenient for this theory. Seriously, man?
> Or did they actually expect someone to work it out on the spot ?

My hope is that they'd hope a candidate would be able to identify the connection to run length encoding within the pattern.

Why do these puzzles emerge at big companies? It looks like a sort of institutional power trip emerges: "if you want to work with us, you need to be real good, and these are the sorts of problems we want you to think we deal with every day!" Except in most cases, they aren't, and there are plenty of mediocre folks already employed there. But the institution NEEDS to believe it only hires the best, and one way to perpetuate that belief is to haze new applicants more and more. All it really produces is candidates who are very lucky, or very compatible with the existing culture.

Hiring is hard, and puzzles are a fail-fast mechanism that is terrible, but produces some sort of results, so it gets used.
Leap interface? https://www.leapmotion.com/
Teach Computer Science To Kids On Your Way To Work
I just realized that same thing happened to me, I attributed it to ADHD. Helps me when I am skimming through news but reading manuals or technical textsbooks is a disaster.
C only got ubiquitous due to being UNIX's system programming language.

Who knows how it would have turned out if UNIX did not became as it turned out to be.
That was my though too. Are there any languages that let you write specs inline with the functions/classes that they test? That would be cool.

Edit: Having thought about it for a second, this could easily be done in most languages (with some preprocessing to strip out for deployment. Super easy in C-based languages). Not a convention I see anyone follow, though.
Which Windows services are safe to disable & when?
2012: a BSD year in retrospective
Heh, we (miner community) were selling out Newegg of GPUs 18 months ago. If you were just getting in 6 months ago you might as well just buy bitcoins and store them.
Maybe people are finally waking up to it. The articles that people read, such as this one, prompt them to go out and get tested, or do their own experiments with good. I've not actually been tested but I dropped gluten out of my diet and feel great because of it
What Facebook's Search Engine Tells Us
I think it is important that recognize that neither company here has a "vision" at all. Both companies are just attempting to steer computing in the direction of the thing that they have been most (financially) successful with. For Microsoft, it's PCs, for Apple it's devices.
I think when windows xp was the predominate install. yes
> ... case of jvm - dependency on sun/oracle ...

Why the dependency on Oracle?

There are other many other JVM available, even not certified ones, and you can also use compilers to native code if you wish to do so.
Cool, but the template examples leave me unconvinced. When I get to work, I'll paste in an epic template error; hard to see how clang could make it all better :)
Actually, it's worse than that.

In both Java and C/C++, doing this kind of thing actually makes code slower. It only makes sense in assembler.

When the compiler can deduce that two variables already in registers have swapped value, it simply relabels the registers, making swap a 0-cost operation. Obviously if are swapping two memory locations, you have to read, but a temporary optimises to:

mem1 -> reg1
mem2 -> reg2
reg1 -> mem2
reg2 -> mem1

While a swap trick, if the compiler can't backward-enginner it out has to add a bit of xoring (or adding).

gcc actually has an optimisation pass with the specific job of trying to take out this trick. Unfortunately, it can't always work because if you try using these tricks on two pointers to the same memory location, you end up zeroing out the value rather than doing nothing (which a proper temporary would).
depends what you mean by sub vocalisation - some people move their lips when they read - this slows things down. You still read the words in your head - so you could call that sub vocalisation - but don't move anything physical (throat, mouth, tongue) - that slows you down.
You'd have been just a cog in the machine at Facebook anyway. If you listen to some of their seasoned engineers speak they seem to take great satisfaction from delivering some inane and tiny little web app feature, seeing it through a year of testing, and seeing it in production. Whilst I'm sure that is satisfying if you've never known any different. It sure as hell isn't anywhere near as satisfying as building and scaling out a product or service of your own or one in which you are vested.

The article is well written but you really shouldn't put Facebook on some sort of pedestal. Especially after two years, it seems like you still feel sore about it. It really isn't "all that" to work at Facebook. Do you really want to write PHP all day, for example? For an engineer it is more a bragging right and CV fodder than anything else.
There is (was?) actually an isometric add-on. It really only makes things slower and more confusing as far as I can see. The UI isn't the part bringing one's computer to its knees, rather the very detailed simulation going on (and a whole lot of pathfinding over ever-changing maps).

His goal has always been a sort of "fantasy world simulator" which is anything but simple. I should know... I helped find a ton of physical properties of random materials. Saguaro wood in particular was a pain & had to be determined empirically because there simply weren't any good sources.

Lastly, there is one guy helping with the interface. I don't think it will ever turn into a simplified GUI, though. To be honest, that would require so many different buttons that I wonder how it could work.

Chalk it up to the price you pay to play a game where you can drain the ocean, trap whales, load them into lead cages in lead minecarts, set them on fire, then push them down a giant ramp to ram them into the demons down in hell (yes, you can really do that). I'm not sure he wants to be a huge success anyhow. I think he sees this more as a lifestyle business.
My 5 Favorite Development Analogies
Yes, the problem with the look-and-say sequence is that it's not something that you can derive; it requires having the right insight.

This makes it a bit different from other problems, where the interviewer is often not even so much interested in the solution, but in how you go about finding one. Many other sequence problems are amenable to a more systematic approach that at least tell them something about your problem-solving techniques.

With the look-and-say sequence, you either see it or you don't. Regardless of whether you got it right or not, it doesn't tell an interviewer much about you, and is therefore not a good use of the limited time they have with you that could be used more productively.
The layout of your front page is a little weird and cluttered.

I would also use a black iPhone or a darker background, as there is not enough contrast, and the edges sort of blend into the page.
As a frequentist I fully support this endeavour.
"At my current company, we hire based on provable real-world experience."

That is also a pretty bad hiring schema, you are leaving out a great deal of potential great programmers that are just starting, so, which strategy is better? I guess you always leave people behind, if it works for you, it's the right choice, and it has been working for facebook.
Except Ruby is to a certain extent Smalltalk with another name without the nice developer environment.
Google Maps API now open to all iOS developers
Hang on. That's not true. At one time the ELSE phone was hyped.
http://youtu.be/M4sVGR5uRhc

It went nowhere, but at least it was something at one time.