skysight-inc/HackerNews huggingface dataset:
I don't mind the tiny screens of laptops so much, it's their keyboards murdering my wrists that do me in. I can type on a generic PS/2 keyboard for hours and hours, but I literally cannot use my Thinkpad for more than 10 minutes without cursing the gulf of space between the edge of the device and where the keys are situated. The worst part is that I have the touch pad disabled in the BIOS, so the placement of the keys at the back of the device is not only painful but also completely pointless for me.

I otherwise love the hardware, but I would readily chuck it for something with a "cellphone-class" CPU, if it looked like this:

http://images.businessweek.com/ss/08/02/0215_laptop_history/...
I thought setTimeout was still blocking... Javascript isn't threaded, after all. When you do a setTimeout with a large interval, doesn't it simply keep track of how long it's been since you made the call, and at the appropriate time blocks the current code and runs the function? If so, what difference does using setImmediate/setTimeout(x, 0) make?
Heroes of software engineering - part one
That grey in the middle. Feels wrong (reduces contrast too much and thus readability).
Navigation looks ok, but I don't understand it. The icons are a bit too cypher'ish.
People from Europe & Oceania (Australia, New Zealand, etc.) get 80% of the DV. If you're fromm elsewhere you have around a 1% or less chance of winning. (For Oceanians it's about 5%.)

Source: Wikipedia article on it.
Why promote the (ab)use of the class attribute for binding user interface behavior?

It's 2013, people that write blogposts should be directing their readers (imo) to using the (html5) data-* attributes (which works equally simple) and actually removes the declaration and mixture of behavior and styling from your css.

For instance your button example:

<button data-behavior='addtocart' data-somespecialparameter='iamspecial' class="add-item">Add to Cart</button>

Would behave on some javascript:

jQuery:

$(document.body).on('click' 'button[data-behavior="addtocart"]', myHandlerFunction);

MooTools

document.body.addEvent('click:relay(button[data-behavior="addtocart"])', myHandlerFunction);

Handler:

function myHandlerFunction(ev) {
console.log("I just got clicked. ", this.getAttribute('data-somespecialparameter'), this);
}

Also, using observers on a container element makes sure that you can dynamically add and remove html elements without having to worry about cleaning up the even handlers. (binding it all on document.body or the nearest container can be debatable for speed reasons, but this is up to you)
Tory Burch Reva Flats Hot Sale
I've noticed, that in some of the videos you play same color twice at row. For example, see (1), when on 5:10 black castle, then you decided to play "a few more moves" and play for black again at 5:40 without any movement from white.

BTW, thanks for the great resource.

[1] http://chesscademy.com/videos/stages-of-the-game-an-overview...
I don't think anyone is arguing for that. There are literally thousands of services govt is required to provide that do not currently have an OSS analogue - and yet there are proprietary solutions for them. We argue that taxpayer money should only go to fund development of code that is already or will be reased under a free and open license.

Look at http://www.oss4gov.org/manifesto
That's great unless you're loaded down with baggage and traveling in rush hour.
Styler.js - A javascript library for add, edit and delete stylesheet(s)
also STL vector in C++?
Great read!

I have a question to section "Exporting a C API": All methods in class Task are marked const. Yet only yl_task_is_pending in the C API takes a pointer to const. Is there a reason for that?
Why was crypt banned?
Nice trailer.
Disputes about the contract, yeah. Disputes about parties' conduct which would include a breach of law, no.

E.g. if you and me sign a contract stating you'll kill somebody for me with a sledgehammer, and you kill him with a chainsaw, an argument regarding the weapon mismatch will be resolved in whichever jurisdiction we specified in the actual contract, but arguments about the, ahem, nature of the activity will follow different rules (ok this is criminal rather than civil law, but i believe the reasoning is the same.)
What I love most about his work is that I think he really managed to nail down one of the original concepts of Star Trek in a way that actually worked without neutering the element of conflict entirely (a problem Roddenberry ran into head long): The post-scarcity space-faring society.
It'd be good to see a guide on creating beautiful Python binding for native C/C++ libraries.
I really like this project, however I'd prefer that they go the open source route. I.e. they should publish the source code and preferably the hardware design documents after launch so a community can build around it.
You certainly meant a basic scientific calculator vs a TI-83 vs a HP 16c :p
As far as mac installs are concerned while i am fond of OSX for day to day usage you are way better putting your postgres install in a linux VM,it will reflect production better and be far easier to install.
The two-dimensional horizon of the gyre on the water's surface does expand, slowly, and is analogous to the three dimensional event horizon of a black hole.

That is to say, the portion of the gyre which extends below the water, which is not visible to us, is analogous to the hyper (or hypo, depending on your frame) dimensional interior of a black hole.
Wow, I had no idea anyone did any development for Blackberry.
I knew a British lawyer who went to work for Google in the UK, I wonder what he spends his time doing?

Perhaps Google expects to invoke UK law when it is convenient for them but not otherwise. If so, they should be slapped down hard.
Wedding Rings in UK
Buy perfect wedding rings or engagement rings at Warren James Jewellers UK. Browse our exclusive collection of half price jewellery and make your day memorable. Free Delivery on orders over 49 GBP.
As journalists are free to make up their title when reporting news, interpreting by their PoV, why are we not allowed to do same?

We are, just not here.
Have you considered sending the control commands for the aircraft using the same UMTS/LTE link?
No, just a stupid copy paste mistake. I fixed that, thanks.
Google Outage: Internet Traffic Plunges 40%
I've recently got back into chess and have been playing a lot on chess.com thanks for the link to chesstempo as this also looks useful.
Signal jammers would be a problem as well.
Nice to think, but no, they needed each other. It's not just the skillsets that differ. But the perspective, the model you build up of reality, which details you attend to. A person - even a genius - only has so much bandwidth, and if they're doing something difficult and worthwhile, it will take all of it.

FWIW, they really did appreciate each other. I'm not sure what could have made things work out better - but note that Jobs left too (i.e. kicked out). It's turbulent waters, hard to plan.

fun fact when the iPhone 4S was publicised as having "dual-core graphics", Woz complained that this technical detail was not relevant to users, only the result was. He appreciates Jobs' perspective better than present-day Apple does.
> And I believe that's partially caused by scientists not selling themselves properly.

From a public relations perspective, yes, that makes sense. But from a professional perspective it's a non-starter, because scientists are trained to doubt everything, including their own work. Scientists who become boosters for science itself end up being shunned by other scientists -- witness Carl Sagan's inability to be inducted into the National Academy of Science, thought to result from his science popularization activities.

So don't count on scientists to be public science representatives or boosters -- it conflicts with scientific skepticism and objectivity, normally thought to be a "good thing".
HTML video still can't beat GIF
Mark,

This is the second article from you that I find through HNews, and it also the second time I'm disappointed by the lack of depth and, the negative and aggressive tone of your writing.

1. Hacker seems to be the new trendy word like rockstar programmer once was, and I think is misused to be honest.

2. "I think I have learned the most about programming in non programming books" Really ? I find that statement ridiculous not by the fact that you can't benefit from non computer science book but for the fact that there are so many amazing books related to computer science; The art of computer programming by Donald E. Knuth comes to mind, have you at least read that one ?

3. Yeah some online schools are gimmicky but not all of them and they are often a good step for beginners.

4. Why not? Oh wait I forgot you are going for the whole hipster programmer vibe here. "No man, all the languages I know don't offer a certification. You probably have never heard of them" Yeah, some certifications can be a complete waste of time and useless but discard or reject a programming language just for the fact there are certifications available is just dumb.

5. Scenester, by your own definition; you are a scenester your article hasn't provide a tiny bit of depth so far, and you are building hate towards whoever doesn't think like you do.

My intention is not to aggravate you and if I sound aggressive with my previous comments it's because I find articles with lack of depth and flashy titles infuriating .

Great hackers are not about what languages you learn or what major/minor you took in college. Being a Great hacker is about passion, about curiosity, it's about the feeling of discovery finding something completely new. You can be a hacker eve if you don't know a single line of programming.

Passion is what drive people into becoming great hackers and building amazing things, passion(and coffee) is what keep us going after hours and looking for answers to question that no one necessarily asked.
There's also a nice set of FFTW bindings.
https://github.com/runningwild/go-fftw
12 simple rules: How Ted Codd transformed the humble database
What's everybody's favorite chess site here on HN?
More like, "set shared_buffers", "set effective_cache_size"..

Also, seconding rgbrenner re: "Tuning your PostgreSQL server" article.
Conferência Soluções Inovadoras de Revitalização de Zonas Degradadas
It is a very good platform :)
But no worries, we do an Android and iOS Ground Station app as well.
Show HN: Bookmarklet: remove links from HN that contain 'in Go'.
Because these days everything is being rewritten in Go.
I went with:

function marks {
ls -l $MARKPATH | sed -E 's/ +/ /g' | cut -d' ' -f9- | sed -E 's/ -/ -/g' && echo
}

where the "\t" (looks like a bunch of spaces in the second sed statement) was typed in using [Ctrl] + [V] and then [Tab].
They are a problem no matter what kind of technology you use.
So... CoffeeScript with curly braces?

On a more serious take: as a Node.js developer I can't wait for generators to be ubiquitous!
Sure, we might add this via software update in the future. But it is currently not scope of the project.
True

However, the evolution of math often goes towards generalising a certain behaviour, operation or set.

For example, first we had the natural numbers and the addition operation. Then addition was generalised as an operation on different 'objects' like matrices, equations, etc

So, yes, the strong typing idea makes sense, maybe someday math will be able to generalise addiction for any set and any object based only on their properties, regardless of what they are.
Front page of the BBC News right now.
Your college explanation was so skimpy as to be useless. An IP, at best, identifies a particular endpoint at a particular point in time, consider dynamically allocated IP addresses or virtual machines with externally visible IPs.

Whoever allocated the IP may have records showing which telephone line was allocated that IP at a particular time. That might narrow it down to a residence, building or office.

But this is all irrelevant. As I understand it, there was a court order forbidding 3taps to access a particular service. Additionally their IP was blocked. Changing IP to try and circumvent the ban is the kind of thing a 13 year old thing might think was clever and 3taps should be slapped down very hard for this it is, in effect, contempt of court.
Amazing... exactly like codeacademy
Not entirely fictional. https://en.wikipedia.org/wiki/Moskstraumen
Can't remember the other, but this is the second website I've seen that seems to have lifted the Treehouse look.
Really? How would the charger discriminate between your phone/laptop and any other piece of electrical equipment in the vacinity?
> You have a citation for that claim?

You can use google just as well as I can. Search for "insect feel pain".

They don't have the necessary nerves to carry pain signals.

As an example, if you cut off part of the leg of an ant it keeps walking like normal, and doesn't show any indication that it felt anything. (They used this with a cool experiment that showed ants count steps when navigating - the shorter legs meant they walked a shorter distance, but kept the same number of steps.)
Employee Retention Now a Big Issue: Why the Tide has Turned
-f9- for me in cut, but otherwise it works :). Thanks!
"If you live each day as if it was your last, someday you'll most certainly be right." - SJ
Yep. Look no further than the top comment on Hacker News to find a dismissive comment that explains exactly why the case in question is very half-assed.

You guys should really give Notch a break. He's a human like everyone else. It must be incredibly hard to work under the pressure of 100,000 derisive hackers that will use every opportunity to point out why he is inadequate. My reaction on this story is rather to call him up and go have a beer and relax somewhere. That's what you do when someone fails a project. You don't start pointing out all his previous flaws and explaining why his effort was doomed in the first place. That's antisocial. Can you imagine saying something like this to his face? Can you imagine someone saying this to your face?
nope they are just using bootstrap+flat-ui template.

Please developpers, hire actual designers. Using the same theme everybody uses will make your product forgettable.
> The reason for this is that Microsoft's C compiler is notoriously bad at receiving language updates and you would otherwise be stuck with C89.

And what Armin means by "notoriously bad at receiving language updates" is that Microsoft has repeatedly and explicitly stated through Herb Stutter that it does not want C, the C90 compiler is essentially an anomaly, it will remain but it will not be updated to a more recent standard, and only the C++ subset of standards more recent than C90 would ever be supported (by the C++ compiler, if you want pure C you're out of luck)

http://herbsutter.com/2012/05/03/reader-qa-what-about-vc-and...
> It's interesting to see that more and more internal projects at Google are getting redone in Go.

I think one of the key drivers of this which hasn't come up yet in the comments is this one:

"The #1 benefit we get from Go is the lightweight concurrency provided by goroutines. Instead of a messy chain of dozens of asynchronous callbacks spread over tens of source files, the core logic of the system fits in a couple hundred lines of code, all in the same file."

I think it would be quite rare to see a project of any significance at Google which didn't have an async aspect to it. My guess is that this is particularly the case when it was decided to be written in C++ over Java or Python: speed for this project matters, and the way to get the fastest execution is a distributed C++ program.

When you combine that with Rob Pike's assertion that most of the programmers moving to Go are from Python rather than C++, and you can see why rewrites are starting to gain momentum. I think there are a handful of people who truly do love C/C++, but I think most programmers (Google or no) see it as a necessary evil to meet the desired speed requirements. Now Go is stable and proven to work at Google, I can see lots of teams getting internal pressure to start trading out components from C++ to Go. I can see managers greenlighting it (perhaps as a 20% project) if only for the readability argument.
The Thing I Didn't Build
tl;dr - nothing on the web is private.
>which isn't keen on eating insects.

which is actually very wrong, because this only counts for the last 100 years. Before that many dishes contained insects or their like. May beetle soup was very famous for example, and dont forget that lobster and shrimps are very similar. Oh and when you brush your teeth, huge part of the paste is made of Chitosan, which is part of almost any care cosmetics.

And the word "worm" is very similar in all European languages, which makes us believe they were eaten regularly in ancient times ..
Don't make the mistake of putting the cart before the horse. Just because things worked out a certain way is not proof that the end result was intentional.
There's very little "technology-enabled disruption" needed to have a pleasant taxi experience. Perhaps a change in the culture, yes, but that's a bigger challenge.
I think he'd have preferred "Meatfucker".
To be honest I've spent about 4 hours last week trying to install homebrew PostgreSQL on a friends MacBook ... it took me forever to figure out why it wasn't connecting to the right socket, just because he had some things out of date :\

While it is really easy to install most of the time, I'd say the Postgres.app works well for people who aren't developers but need to use PostgreSQL.
I received use of weapons as a birthday present some years ago and have been hooked ever since. Having an asteroid named after him is a super cool move. Maybe one day we'll see actual spaceships named after the ships in his books.
Right, that makes more sense, could have guessed that tick() shouldn't be const :)

(You missed one more detail though: In the implementation of yl_task_get_result_string, it should be AS_CTYPE now.)

Another question, different topic, about the memory allocations: In your example, why do you provide implementations for calloc and strdup instead of letting them be set as well? I do agree with your stance on (not) dealing with allocation failures in the library. But if I as a library user use (anything like) standard malloc (and NULL pointer checks after e.g. yl_*_new()) I would probably be annoyed at your implementations of calloc and strdup (which would crash somewhere in your library when malloc returns NULL).
Nice, have always wondered how I can use my superpower of programming for the good of mankind. Anyone knows what programmers have done earlier?
Here is a demo of the Daniels escapement [10], http://www.youtube.com/watch?v=PVhSQ_Azkr8

Wonderfully elegant solution. Oh, and great post, uxp.
I have a small insect farm as a side project with a friend who is a real farmer, our products are shock-frozen for local restaurants or freeze-dried for shipment orders. They dont feel anything.
> The early Apple I's came with a complete explanation of how they were laid out, hardware-wise.

Publishing details at pretty much that level was the norm at the time, nothing particularly special for Apple. E.g. up until at least '87 or '88 (and quite possibly later), pretty much all Commodore hardware had proper schematics in their manuals, and they provided separate documentation with much more detail.
In this day and age of blogging, everyone can be a journalist. Interesting fact - when the US constitution was written, the phrase "free exercise ... of the press" did not refer to news reporting, it referred to literal printing presses. Over time the phrase "freedom of the press" has been reduced to nominal news reporting agencies. But at the time it basically meant anyone mass-producing text.
Guido: How Twisted Deferred really works
DISCLAIMER: I was an intern at Google

As with most programming languages, there is a small Scala following internally, but it's not a production language.

I don't know anything about any discussions about Scala. If I was thinking of deploying Scala, I'd be worried that Scala just doesn't offer enough over Java to warrant writing in a new language. Writing in Scala means not that you have to know it, but everyone who inherits it, and everyone who has to interoperate with it. The overhead is just too great to make a good case for writing something in Scala.
How rude. I prefer Grey Area thank you very much.
Basic Dependency Injection with RequireJS
Carfree.co Presentation about Customer Discovery Process
Dev Tools with Free for Open Source Plans
This is an engaging, worthwhile read about the difference between U.S. and Vietnamese computer science education. But if anyone has any lingering doubt about the state of math and logic education in Vietnam and how it compares to the U.S. version, one need only look at the history of the Vietnamese war and the key role played by relatively simple mathematical thinking.

What do I mean? It turns out that the North Vietnamese, while evaluating battlefield losses about the time of the Tet Offensive (early 1968), performed a simple calculation and realized that the North Vietnamese birthrate was high enough that they could (and would) tolerate their losses in perpetuity and would therefore be able to continue fighting forever if necessary.

What I find astonishing is that no decisionmakers on the American side ever figured this out -- the U.S. military and political leadership persisted in their belief that the other side would eventually run out of young men and women to send into battle, and would therefore have to give up. A simple demographic calculation argued otherwise.

The above central fact about the Vietnamese War made American withdrawal inevitable, yet nearly no one in the U.S. even realizes it now -- it's not included in most histories of the war and its central significance to the outcome isn't widely appreciated.
The debug cycle is just as much a product of the environment and language you are using, as it is the hardware.
Though if you prefer hard sci-fi to space opera, skip Culture and start with The Algebrist. I can't pin down why, but it was a much more enjoyable read and has a higher density of parts that make you think.
This seems peculiar. I can't understand why, if this relatively straightforward modification in the production of EPSP conferred such a major advantage to the organism, that it didn't develop as a result of natural selection.

There has to be a downside that this study didn't pick up. Perhaps the change makes the plant more attractive to pests?
> I wonder from how high up this order came. After all, it's not like Greenwald is going to take this lying down and that's something that they could predict quite accurately ahead of time. To abuse these powers on the partner of the journalist that is reporting the abuses is the worst tactical mistake made by any government to date, short of the diversion of a diplomats plane.

They are MUCH cleverer than this, it is likely to have been a deliberate provocation to try and get Greenwald to do something rash. It is also a sign that the gloves may be coming off.
It used color pixels, which meant it could encode more information in the same space. [...] every barcode is just an ID number that points at a Microsoft server, which then forwards the client to the actual URL.

If it's just an ID number, what is the extra capacity for?
Pivot, The Art of Changing Everything At Any Time
Best Tumblr ever
Open-source infrastructure for realtime exploratory analytics on large datasets
Jobs disappoints on US box office debut
This year at build was reported that vs 2013 will have C99 support (not complete).

http://blogs.msdn.com/b/vcblog/archive/2013/07/19/c99-librar...
Serves them right, there was genuinely no reason to use this in the first place. I'm guessing MS paid them to adopt it in things like the Alan Wake game, that's usually the case with MS tech.

Remember them trying to pay us to use Silverlight and sell Silverlight projects to clients.
Scanlife takes over Microsoft Tag -- Press Release
How much data the NSA really gets