skysight-inc/HackerNews huggingface dataset:
Try that on a code base that's 10 years old and the one who wrote the code, including the rest of the core team, probably changed jobs several times already.
This is just an implementation of a binary encoded Property Tree.

And not the best implementation out there since it lacks the redundant key/value elimination that more compact serialization formats use. Consider an array of maps where each of the maps have the same keys. By eliminating the redundant keys (have each subsequent occurrence simply reference earlier occurrences) you can halve the encoded data size relative to implementations without redundant elimination.

It also lacks a canonical string encoding. All strings are saved as raw binary data making it terrible for data interchange between environments with different string encodings.

C/C++/Objective-C users have many better options than this. In Mac/iOS/Cocoa/CoreFoundation, you can use Apple's Binary PList which is open sourced here:

http://www.opensource.apple.com/source/CF/CF-476.10/CFBinaryPList.c

In non-Apple C/C++ environments, you can use the open source implementation of Apple's PList here:

https://github.com/JonathanBeck/libplist
Perhaps his Econ degree is the reason Harper disdains stats...
That font size was uncomfortably large.
Sarcasm notwithstanding, can you explain how the long form survey would have helped here? Adding to this, the short form survey is still mandatory where "mathematically justifiable claims about the nature of Canada" can still be made particularly with respect to demographics. Furthermore, compared to the census requirements elsewhere, the long form was unnecessarily intrusive (which included mandatory questions like how many rooms in your home have "missing or loose floor tiles.")

The decision to cancel the mandatory long form survey and make it voluntary was made June 17, 2010. The issue raised by Diewert suggests "that Statistics Canada has badly underestimated the growth of so-called multifactor productivity as far back as the 1960s."
> Does that make sense?

Honestly, it sounds overly complicated and I still dont understand the basic principle.

Why not just put a music player program on my computer that streams the song into my existing network and have speakers that connect to the network and play it?

You say "You get one Play:5 device". So what is that? Why cant I just buy "speakers" that play whats send to them over the network?

You say "CIFS/SMB". Well, I could make my files available that way. But somehow it feels wrong. Will the song that is played then be streamed to some central device and from there to the speakers? Seems like twice as much streaming as necessary.

You say "Windows/Mac/iOS/Android". So I would have to bring one of my tablets into the game. ANOTHER machine in the mix.

You say "at least one Sonos device must be connected to a wired network" and I still dont understand why. I would understand it if you said "to access your files". Even thought I would prefer it to just swallow an usb stick so I dont have to fiddle with my existing IT. But you say "to act as a wireless AP to allow other Sonos devices to connect to the network and use standard internet services" and I wonder why do they have to? I want the "other devices" just to be speakers and play music.

The Squeezebox thing makes more sense to me.
The Story Behind the Stories You Loved This Year:..
For some advanced use take a look at http://www.ip-symcon.de/

It uses KNX / EIB Bus industrial standards for Home automation, as well as enocean and other 3rd party automation tools.

And it's fully customizable / programmable with php.
So you replied in agreement with a tortured graph theory analogy devoid of concrete ties to reality? I'm confused. Usually when people say "actually" they are correcting someone.
Saying that 90% of business don't need the advanced capabilities of office and will find google apps sufficient for their needs is not in any way the same as saying google apps is equivalent for office.

You could certainly discuss the veracity of that number, but there is really no need to misinterpret the message, what a poor article ...
Yup, the 'messages in the comments' aspect reminded me of the early days in mid to late 1990s.

I will get round to doing a mind map in this. A 'run time' steerable navigation mode would be great (I tend to do 'random walks' while teaching, and I use slide sorter view a lot during lessons).
A signed bootloader that loads a signed kernel(with things like signed filesystem drivers) which loads a signed antivirus executable will actually be able to detect bootkits.

A few references to widespread bootkits:

http://www.chmag.in/article/sep2011/rootkits-are-back-boot-i...

http://www.theregister.co.uk/2010/11/16/tdl_rootkit_does_64_...

http://www.computerworld.com/s/article/9217953/Rootkit_infec...
Instagram use surges on iOS and Android, falls 25% on Facebook
Censorship: Facebook deletes pages of political activists
Yes, there are huge areas without cell coverage

Still, having a gps is helpful (at least you know where you are and can wander but knows how to get back)

Having an automotive gps with maps is even more helpful

But yeah, it is a very bad situation nonetheless
Control YouTube, Pandora, Grooveshark, & Netflix In Chrome With Flutter’s..
It irks me to find a paragraph break in the middle of a sentence in a document which is, broadly speaking, about doing html et al. correctly.

One inconsistency that I have noticed blighting pages all over the web is defining a dark text colour and just assuming the background will be white. Try to view this using a 'dark theme' and often the undefined background colour will be dark but the original css will be respected for the text colour, meaning dark text on a dark background.

Try to force a light text colour in the user/theme css and you mess up all the pages that did it right in the first place (i.e. specify text and background colour to have suitable contrast, or leave it all up to the browser/whatever to render nicely)

I wonder if this is something that could be adressed by the tools in the article.
I wonder who will take on the responsibility on educating people like my mom on who to trust and how to enroll public and private keys.

Or how about we have it secure by default and allow people who presumably know what they're doing to turn it off or enroll their own keys or ones they trust because of their heightened knowledge? Are there really a lot of people who are able to partition their hard disk but unable to turn secure boot off? How does that compare with the number of people running Windows and vulnerable to malware and bootkits?
You can have an FB account and just be smart about the information you put on it.

You know, just like everything else on the internet.

Also; https://disconnect.me
I see no reason why inequality would trickle down on any time-scale.

IMHO concentration of wealth at the top is not conducive to innovation at all - the wealthy and powerful would largely prefer to lock things down and keep the status quo than encourage disruptive innovations. e.g Gates and guards not highways. Patents and copyright extensions not free exchange of ideas and media. Monopolies not cheap goods.

You talk a lot about teh powers of innovation without any reference to any real world data or being specific about how to encourage it, so I feel that I can also present a vague, handwavy counterargument.
> Nobody outside the US actually uses DUNS numbers

As far as I can recall I think all UK Ltd's get a DUNs number automatically?
Microsoft enticing iOS developers to build apps for Windows
Fabricados para no durar (Comprar, tirar, comprar) SUB
Within the space of {schema-ful, schemaless} x {binary, text}, protobuf, {BSON, MessagePack}, JSON each occupy a distinct position. The position (schema-ful, text) is not very meaningful combination in practice and not covered by these, whereas the position (schema-less, binary) is a valid practical use case supported by {BSON, MessagePack}. For example, you don't know the schema before-hand but still want to minimize data size.
Quite true. In fact, comparing MessagePack to JSON can only be interpreted as comparing $own_project with $most_popular_project, with hopes of getting some attention.
It is a bit more complicated than that, which doesn't become clear in Way of the Superior Man. I read almost all of Deida's books and liked them a lot, but they all have the downside of too much spiritual babble and being a bit too abstract like "giving your deepest gift". What does that even mean?

Thing is - and this becomes more clear in his other books - men and women both have similar skills, but both have a TENDENCY to feel more comfortable in a specific skill set.

So, on the one hand I love Deida's advice. It is oftentimes on the spot. Very clear and even actionable at times. But on the other hand, it oftentimes is also too abstract, too simple, or too black-and-white. It almost feels like he's describing his favorite action movie star and if you read it that way, you can get the impression that he describes film heroes (super clear purpose, cannot be distracted, live on your edge). While a film hero can be an inspiration, it is oftentimes still a heavily simplified character.
Twitter Users Viciously Attack Deceased War Hero Gen. Norman Schwarzkopf:..
True, typically you don't know in advance of a data mining operation. Nonetheless, you have some invariants that you know you'll need and these can be modelled with a schema.

Additionally, when attempting to put a model into production, you'll normally know what it is you need, and this can be put into a schema for ease of interoperability with other requirements (CMS, booking etc).
I wonder if I will be able to read this post in 3 years. I'm sure Facebook will have deleted it by then and the link will get dead in 6 month already for sure (first break it, maybe fix it later)

Is archive.org even allowed (by Facebook's robots.txt) to archive this?

It's sad if technical people post important information on Facebook

Edit: facebook's robots.txt has this: User-agent: *, Disallow: /. :-(
I totally agree. First unlock the bootloader of the iDevices and some Androids and then we can talk ... it is hypocritical to rage against windows machines and leave phone and tablet vendors have its ways.
Build a Twitter Clone From Scratch: The Design
Except when performance is important.
Amazon: The dark horse of 2012
This article seeks solutions to non-existent problems.
- as are c and c++. What gives?
If you're having 3 different codes reading the same DB you're doing something wrong

"check whether fields exist or not in his code, and enforce constraints, and provide default values,"

Well, you need to do that regardless of the DB type. What can be a non existing value in Mongo may be a NULL in SQL, or a many-to-many relationship that's currently empty. So you will get the data in a format or another and your code still has to work it out.

And I chuckle when I see SQLer saying 'how easy it is to add a column to Postgresql on runtime' that's like saying a car is faster than a plane because you can't go to the grocery store by plane.
Will New UK Censorship Impact Torrent Sites?
I would freain' love a "Wikipedia: age of people rapidly using automatic tools (such as rollback; twinkle; etc)", and then extend that to "How many of those were good changes vs how many of those were poor changes vs how many of those are discussable changes".
Books that actually caused changes in my life:

Yes Man ( http://www.amazon.com/Yes-Man-Danny-Wallace/dp/1416918345 )

This book made me realize that I was defaulting to "no" in many aspects of my life. After this book I changed many things in my life, and ended up meeting and dating my future (now present) wife. Overall my life has been much improved by defaulting to "yes".

The Pleasures and Sorrows of Work ( http://www.amazon.com/Pleasures-Sorrows-Work-Alain-Botton/dp... )

Gave me insight into how there is a huge invisible fabric of society that we take for granted, and how I consistently underrated many categories of jobs. One change I made after reading this book is to respect the jobs that I took for granted, like the clerk at the checkout counter. I now give attention and respect to people that I used to treat like furniture before.

Books that would have changed my life had I read them sooner (and not have to learn their lessons the long/hard way.)

The Happiness Hypothesis ( http://www.amazon.com/Happiness-Hypothesis-Finding-Modern-An... )

The notion this book puts forward of the subconscious as a powerful but stubborn elephant and the conscious as its well-meaning but often impotent handler provides much insight into why people act against their own interests, and why they tell lies about themselves and their own actions. One of the things I had realized beforehand (through many years of struggling with social interaction) that the book also covers is how we all tell a story of our life in which we are the hero, and how we rationalize our actions to fit the story instead of adapting the story to fit the facts.

Peopleware ( http://www.amazon.com/Peopleware-Productive-Projects-Teams-S... )

The book covers why building software is primarily a people problem, not a technical problem. Again, I had already realized this, but it would have been nice to learn it sooner. Some stuff is outdated, but it's still one of the top books on building software in my opinion.
It's not complete. OS X also includes the user interface as a core part of the OS and, to be honest, I can't find it here.
TV Broadcasters Amp Up The 'Second Screen' Experience
So completely off-topic -- but if you like Darth Vader Rapping - then I need to suggest Epic Rap Battles (Of History):

Pt1: http://www.youtube.com/watch?v=AFA-rOls8YA
Pt2: http://www.youtube.com/watch?v=CeLrlmV9A-s

(The rest of the series is quite fun as well -- and impressive for an indie outfit)
Oops no sorry. I didn't pay close attention.
I think that's an issue in his study. It means that the age is restricted to the age range of Facebook users (and maybe to the younger FB users, who are more likely to give their date of birth).
Ah yeah, thank you!

I have everything 'working' now, although it's quite glitchy, making loads of static sounds. After a few restarts etc. it is playing okay now, I don't want stop playing it incase it doesn't work again!
The Weekly Good: DonorsChoose And “Big Hairy Audacious” Goals To Help Teachers
You can input your age on a Stack Exchange profile.
EDIT : Comment based on wrong assumption : string are actually smaller than in JSON, see judofyr comment.

I have to disagree on that news title, for the "It's like JSON" part.

As pointed out in a link[1] of Someone in an other comment here :

> A major use case of MessagePack is to store serialized objects in memcached.

This also seems very relevant (in article linked from here):

> typical short strings only require an extra byte in addition to the strings themselves.

So, stored strings are actually bigger (even only by one bit) than plain text json.

Of course, I'm biased because I'm a webdeveloper, but I see JSON mainly as a message exchange format, meant to communicate across languages and, most of the time, to communicate between server side and client side. Typically, I'll use server side helpers to format strings like value with currency, i18n messages, etc, which makes a lot of strings in any JSON document transmitted.

The original author made it clear it was not intended for server/client side communication : it's a very specific format intended to offer better performances on very specific use cases (I would rather know how it compares to BSON than to JSON).

JSON, on the other hand, is a generalist exchange format. Messagepack is definitely not like JSON.

[1] http://news.ycombinator.com/item?id=4092969
Hackers Steals 36,000 Individual Details from US Army Database
Why Rails and Node.js folks should care about Project Nashorn 
When does 'gem install therubynashorn' work already?
As an former Eclipse user I had to switch to IntelliJ for the last 4 months and use it on a daily basis. I was very surprised how well the Scala plugin works. Excellent code completion, code search and refactoring options. I tried also Scala IDE in the Coursera Course and think the overall development experience of IntelliJ (with Java and Scala) is much better.
Http://vas-y.com/dicas/default.htm
For starters: there's no electronics involved. It's all relays and stuff.
And perceptions match up with reality, the oldest users are the ones with the COBOL, Delphi, ADO and Legacy Code tags :)

The young guys are working on Chrome extensions, JQuery animations, HTML5 and CSS3. There are also several young users of PHP so beware :) .
Consider the pattern of using None (or null) as an error. You want to compute:
var x
x=f(x)
x=g(x)
x=h(x)

however, if either f,g, or h return None, then the final value of x is None. The standard way of doing this is:
def f(x):
if x==None:
return None
...

The monadic solution is the Maybe monad. Maybe has two constructors, Just(x) and Nothing. The above code would be equivilent to
var x
x=Just(x)
x=x.apply(f)
x=x.apply(g)
x=x.apply(h)

The definition of Maybe is pretty simple. The Just object takes a value of a given type, and will run that value through a given function:
Class Just():
def __init__(val):
this.val = val

def apply(f);
return f(x)

The Nothing object is even simpler:
Class Nothing():
def apply(f):
return Nothing()

Using this, we can see that in our original example, once one function returns Nothing, we skip all the other functions and end up with Nothing. When a function does return something, it needs to wrap it in Just, so we have:

def f(x):
...
return Just(x)

In general, to be a Monad you need to satisfy the type
class Monad():
def apply(f)

Of course, using Monads like this can end up being somewhat messy, so there is much syntactic sugar around them.
It looks cool, but be very careful about using it (in a browser, at least). Browsers have super-fast JSON parsers and parsing msgpack is much, much slower than parsing good old JSON.

This great comment (from 201 days ago) is exactly about this issue:

http://news.ycombinator.com/item?id=4091051

I quote a bit of it here:

JSON size: 386kb
MsgPack size: 332kb
Difference: -14%

Encoding with JSON.stringify 4 ms
Encoding with msgpack.pack 73 ms
Difference: 18.25x slower

Decoding with JSON.parse 4 ms
Decoding with msgpack.unpack 13 ms
Difference: 3.25x slower

and also this comment: http://news.ycombinator.com/item?id=4093077

MessagePack is not smaller than gzip'd JSON
MessagePack is not faster than JSON when a browser is involved
MessagePack is not human readable
MessagePack has issues with UTF-8
Small packets also have significant TCP/IP overhead
> > typical short strings only require an extra byte in addition to the strings themselves.

> So, stored strings are actually bigger (even only by one bit) than plain text json.

Strings in JSON require two bytes (the quotes) in addition to the string itself.
Yes, it doesn't always work and is not always feasible.

But there are plenty of occasions where it is, because the changes broke the system. A broken system is not going to sit around for 10 years.
Some of the answers are specialised e.g. "The Easy Way to Stop Smoking" - I don't feel the need to read that, nor e.g. "The Easy Way to Stop Shooting up Heroin" either. If you do smoke then go and read it, sure. But "I don't smoke" isn't the most unusual or most super of powers.

At least one of them - Ishmael is junk. I've read it, and it's facile newage woo. I'd suggest instead one or two good scientific books on human nature and history by the likes of Pinker, Dennett or Diamond.

And one or two good books on coding. Coding well, instead of hacking out unmaintainable buggy code, is an unusual power and will keep you gainfully and happily employed for a long time ;)
As soon as you start having constraints such as "from date must be before to date" and "the quote must have at least one line, and these lines should sum to > 0 and < 1000000" then relational modelling fails. Hard.

Why?
Oh, I see. I thought it meant "one bit more than JSON". Thanks for fixing it.
Oh, yeah. My mistake. Although what you describe is a lot more functional in style. You could probably emulate it in a language with higher-order functions.
Aside from what tptacek has to say, there's generally a strong distinction between intelligence and law enforcement that's more or less enforced by the exclusionary rule. Ironically, there might actually be benefits to outright warrantless wiretapping as opposed to use of the FISA court to obtain warrants, namely that any such wiretaps could only be used for intelligence purposes, never for law enforcement.
There's an enormous assumption here -- the assumption that we are on a shared memory computer to begin with. At the lowest level, memory devices are implemented using "messages" that go over wires, and locks are implemented on top of that.

But it's a feature of small systems that you THINK you have a flat address space and not a message passing system. CPU cores send messages to L1 caches to fetch memory, and the messages go outward to L2 and RAM, all in hardware. With a modern OS kernel this message will often be intercepted and fulfilled with disk IO.

So if you pretend you have a flat address space you won't be miserable or anything, because the entire system (hardware + software) is designed to make it look that way.

Once you get interested in performance details the flat memory space abstraction goes out the window. L1, L2, RAM, and disk latencies are really message passing latencies for messages passed between physically separate devices. Designing your algorithm to minimize the number of messages passed between devices (a.k.a. the number of "cache misses") will improve its performance. Optimizations meant to minimize message passing can have unintended consequences. For example, Linux once allocated memory on the region of RAM closest to the core running the process which requested the memory -- I'm sure it made some benchmarks run faster, but it turned into an absolute disaster for MySQL, because it meant that MySQL would only use one region of RAM. (Google "MySQL NUMA" for the full story. You can probably imagine most of it if you just think about the consequences of mixing on-die memory controllers with multi-socket systems.)

The degree to which the flat memory abstraction applies is related to the size of the system. An single-core, embedded microcontroller with 256 bytes of RAM really does have a flat address space and you can often count processor cycles just by looking at the assembly, the abstraction is basically perfect. A modern desktop with a quad-core processor is going to act less like an ideal shared memory machine because the message passing overhead of using contested cache lines can affect performance. And a world-class super computer might be split into N units of M cards of K chips with L cores on each chip -- the shared memory abstraction will only extend so far before it's all explicit message passing in software.

So the real question is not "how do you plan to write a queue without mutable shared state?" The real question is, "How do you implement mutable shared state using messages?"

Footnote: I think it's very telling... the shared memory abstraction is so convenient, the work behind the scenes is so good, we almost want to argue and say "Look, it's shared state, and everybody knows that it's shared state." Buddy, it's one fine illusion.
That mostly younger generation uses Stack Overflow and thus age-over-languages cannot be extracted from the data analysis.
We are just learning statistics and probability and i think this happens if the sample data is incorrect or not diverse enough.
Nathan: i think you should run that discounted sale again because i was one of the person who missed to buy it even though i had subscribed to email alerts (because i was hospitalized). Wouldn't buy it for $250 so im still waiting for another round of discounted sale and expecting an email obviously.
what's the differences between setting up remote desktop on Raspberry Pi and on PC?