skysight-inc/HackerNews huggingface dataset:
The great thing about Transit is that I can extend the data layer with new types (like JodaTime). Even without that, I really like Transit's builtin support for sets, keywords, symbols, lists and vectors (which really helps in a clojure environment).

Another great thing (again, for someone using functional languages) is that Transit can ensure identity for equal values.

When it comes to structural validation, that is something I use prismatic.schema for. Of course, it helps that I can share the validation code between backend and server (using Clojure and ClojureScript).

When using plain JSON, I had to convert types myself after decoding/encoding, which was error-prone and gave a surprising amount of bugs (especially regarding dates).

Transit solves a big problem for me, while still retaining the easy to read syntax which JSON has, and also has great tooling in browsers.

Also, caching isn't only about smaller size. It allows for faster parsing of the initial data, allowing Transit to be just as fast as plain JSON for certain payloads, even considering that it has to expand from cache and decode values.
XML is not schemaless. It was designed to be extensible through schemas. It's in the name, after all: eXtensible Markup Language.

XML also doesn't suffer the problems of a limited set of pre-defined types that JSON has. Its type system is extensible through schemas.
That last statement -- that it takes a household income of ~$100k/year before you "pull out the other side" and end up genuinely better off than you would be earning nothing -- seems extremely surprising.

The great majority of households in the US have household income less than $100k. Are you saying that they are all worse off, or only insignificantly better off, than they would be with an income of zero?

If so, I'd love to see some data.
Just so you know, you don't need to sign your comments (with Baptiste). You may wish to review the guidelines on commenting here:

https://news.ycombinator.com/newsguidelines.html

"Please don't sign comments; they're already signed with your username. If other users want to learn more about you, they can click on it to see your profile."
> and maybe even wheel their bike through stores as they shop, with a sleeping baby in the bike carrier, or use the basket to hold groceries

Anyone who has ever actually had a bike for more than a week and who actually shops for their own groceries will know this is a terrible idea.
Also to make the ramp reach a reasonable height with a reasonable angle, you'd have to have incredibly long buildings that would require going all the way to one end to reach the top floor.
The benefits you cite for planetary living could also be enjoyed living inside an O'Neill space colony, including controlled gravity (from centrifugal force generated by spin).
I use it to watch media from my laptop and phone. It basically allows me to do things I'd normally do with a HDMI cable without the hassle. Sometimes my roommates and I will sit around taking turns throwing up youtube videos. I like the other comment on this post, it does allow me to make my 'dumb' TV smart.
Why the downvote? XML could also benefit from automated tag-shortening (in my last place of employement, we encoded XML-tags and attribute-keys manually).
Show HN: Training and onboarding software for teams
I never viewed sexism this way. But now that I am taking this perspective I can't help but notice how some to many women play a part in this as well. To put it a bit blunt and simplified: a considerable amount of women want to be treated like a princess. I guess those type of fantasies are an exaggeration of how a woman should've been treated in the early Victorian era. Another variant that I have experienced is the (partially) subconscious behaviour that women want to be dependent on males, but they don't want males to depend on them. If these cultural notions of dependence and being treated to the point of being (almost) spoiled don't go away, then a form of modern sexism will always exist.

Note/nuance: I'm just stating the contribution of women here, because I've never thought about it this way. Males contribute to modern sexism as well in obvious ways (to me).

Edit: could down votes be explained? A down vote is not enough feedback for me to adapt my posting behaviour.
What exactly are you basing this on? Because if it's based on what you read on Hacker News, please realize that you are seeing a very distorted view of the world through the lens of HN. Angular is nowhere near dead, and is still one of the most widely used frameworks in the web development world. Unless, of course, you can provide some actual evidence that supports your claim.

Angular 2 is looking pretty awesome, for the record, and is something on the order of 10-15 times faster than React or any other modern framework out there. I would check your assumptions and look at things objectively.
That's an oversimplification at best. Right now, NSF grant funding rates are so low that scientists feel they need to submit 6 good grants to get one funded, so they are forced to spend most of their time allocated to research writing grants. But if this environment went away, most of these people would love nothing more than to do the actual science.

I think a couple of bigger issues are (i) we reward the first person/group to reach a conclusion, so there's incentive to be sloppy and get your name on the research first and sort out the (hopefully minor) problems later and (ii) there's an expectation from the general public that scientists have to be "productive" all the time. Productive is of course defined as producing new and exciting results, rather than carefully verifying old results, or trying to fill the gaps in previous work. See how much pressure there is on scientists to do "transformative" rather than "incremental" research.

I don't think we as a society have a solution to these problems even outside of science. To pick a familiar example for HN, programmers who write overly-complicated messy code are often rewarded over those who write simpler, cleaner and well-architected code because the former looks like more work. Similarly, there's little interest in writing test benches or documentation in open source projects, because there's little reward or incentive for these things. OpenSSL pre-heartbleed era is a perfect example of all the wrong incentive systems working together to produce a steaming pile of bullshit that everyone involved in the field kept claiming as being the most secure solution out there.
Generally agree with the sentiment, but I think the line is fuzzy along the periphery.

For instance, economics has, I would claim, far weaker levels of model validation than engineering fields, but often is presented as a hard or 'close-to-hard' science.
The Rocket Man Who Wants To Beat the Billionaires
It sounds like you've concluded that because comet-cloud stirring happened in our solar system, it is "not even that rare" elsewhere. What's special about ours? Intelligent life also happened in our solar system, but you seem to consider it unlikely elsewhere.

It seems hasty to extrapolate either way without more data.
Maybe it's just me, but these rules are contradictory. The sentences seem explicitly designed to make that so.

For instance, your email address and birthday, for, say, amazon.com, could easily be argued to "need to be kept in order to conduct business". After all, your email ... amazon spams it ... that's certainly part of the business they conduct (and frankly, they'd be more expensive if they didn't do that, so there's easy arguments that it'd be harder to do business if they didn't). Your birthday ... same. They spam you harder on your birthday ... also part of their business.

Laws like this won't protect anything. The simple fact is you can't have easy to use sites like google, facebook, amazon and the many millions of easy webshops and have protection of private data, it just wouldn't work as well. Since people prove time and time again that they want the webshops and "private" chats far more than they want privacy, there is no way to win this fight. Everything is decided already (and already today kids don't have anywhere near the expectation of privacy that adults have, this will get worse), there's just a few decades of denial remaining.

Take the single account (real name policy) on facebook. We all know that's the reason facebook comments don't work like youtube comments do. That's why not every second post on facebook is about hitler. That's why it's easy to find people on facebook. And so on. You can't drop it and expect the same functionality, and people have proven with their feet (/mouse) that they want the functionality more than they want multi-name policy.
The sender and receiver SDKs have mature APIs for playing video. The session and media channels/objects are well documented and leveraging them on your custom receiver ensures far easier integration on the senders (iOS, android, and web). If you venture out of the cast-a-single-video experience, it can get pretty complicated as there are best practices for how to handle multiple senders, how to fetch a playlist and continue autonomously if the sender disconnects without stopping the cast, and maintaining a good user experience on all senders that represents current state of receiver. You could (and would be advised to) handle all this via the provided "media" channel.

More to the point of the article, there is also a custom messaging channel, you can create your own interactive experience (the receiver is just a website displayed in a chrome tab). Here's an example of tic-tac-toe: https://github.com/googlecast/Cast-TicTacToe-chrome.
You can already develop a custom receiver for an in-store search feature or something more interactive and playful.
You can connect to it via the same wifi.
I don't understand what additional value nfc provides in this case as you'd still need to maintain an open/persistent connection to the receiver from the sender, would nfc be able to provide that?
Of course you do not need a URL redirect to get the primary domain to go to www.domain.com That is handled in your DNS "A" records.
Are these the real life version of conveyor belt sidewalks the scifi autors wrote about?
Agile is the new Waterfall
You can thank congress for that: https://en.wikipedia.org/wiki/Bayh–Dole_Act
Twitter Taps Former Google Officer as Executive Chairman
HP Compaq NC6120 Intel Motherboard 378225-001
As I said, his opinion is what matters, but I stand on my previous comment.
Why do we have skateboards, bikes, scooters, inline skates...? Fun. Don't be distracted by the "personal transport" jargon.
Remind me again why journalists would do this over a factory that builds. . . batteries?
Quanta Image Sensor – a new breakthrough in photography
It isn't a question of testing changes. The more people working on the codebase, the more people it impacts. Adding manual steps is tempting the fates.
totally agree and that's why we made Beaker: http://beakernotebook.com/

you can code in multiple languages in your noteobook, and they can all communicate, making it easy to go from Python to R to JavaScript, seamlessly.

we just released v1.4 with all kind of new features, check it out: https://github.com/twosigma/beaker-notebook/releases/tag/1.4...
That site is terribly broken until Flash is enabled. There's no obvious way to play the episode, just a tiny "stream" button that doesn't stream. Why does it have to use Flash anyway?
Are there any plans from any of the browsers to show HTTP sites as insecure, rather than as some sort of "normal" state?
Google Launches Cloud Datalab
Varnish HTTP/2 with SSL/TLS Offloading on H2O
Almost didn't click on that link because it looked like a joke link (Sarcasm and irony!!). Glad I did and found something new :-)
To be clear, with most of the celebrity adopters, they're often given the device and sometimes paid to use it.

Here in Toronto, I've seen marketing teams of people handing out this device and rolling around Yonge-Dundas square (sometimes cast as times square in feature films) in a guerilla marketing push.

It doesn't mean they're not cool and fun, but the breathless articles about how cool, hip, and trendy people are "suddenly using the device" are often coordinated.
25 quotes about money and finances that could make you a millionaire
I've seen people using them for transport (actually, a big wheel unicycle version).

In a place like London that's very walkable, but very large, it makes sense.
I'd love to hear the opinion and recommendations of the guy who read 22 primary/secondary texts on the subject and have him help shape policy now. You're not going to get better data than the expert views and analyses presented in these texts, barring the constant surveillance, recording, and analysis of every transaction ever made within and without the US economy, every email sent within and between banks/regulators/credit rating agencies/mortgage brokers/loan originators, etc. - data that is impractical and currently illegal to collect.

We'd all love to have more/better data, but that doesn't mean we shouldn't draw conclusions or act on the data that is available to us now.
An interesting thing about marriage is that no matter who earns wages it is ultimately an economic partnership.

Someone must keep the living space clean, someone must obtain food, etc. If there are children, someone must care for them.

Because of this, when marriage is freely chosen, it typically starts out as equal. Both participants have roughly equal costs and benefits, and are both happy with the exchange of value.

But time changes things. Wages often increase, looks often decline, personalities evolve. Profound setbacks occur as loved ones get sick or die, careers suffer failures and successes, etc.

Most people are morally average, of average attractiveness and average intellect. Most have an average work ethic, average level of discipline, and average level of fortitude.

Life stretches most people beyond their endowment in many areas. We lie or deceive, we get lazy, we get complacent, we give up, we cheat, we fail to observe data without significant and harmful bias, we let life happen, our faces take on a habitual grimace that becomes permanent as our skin's elasticity diminishes.

For a marriage to work long term it must be resilient to this abundant averageness and the inevitable decay that occurs over time... when the weak or neglected parts of the mechanism start to falter.

The question is, should a marriage work long term? Is it a failure when it does not? What if it lasts 10 years, or 20, or even 5? Should it not have occurred?

We marry because we are the primates with dogged optimism about pair bonds. We seek another who will provide us with the validation or the comfort that we seek, and who will dull the harshness of the world in some specific way that we consider most wanting and most sacred.

Even the gay marriage debate, for all the focus on equality, is fundamentally about the symbolism of the pair bond and its primacy in our primate society. We are herd animals, and the minimum viable herd size is two.
The app needs to support Chromecast - so while I agree it's pretty awesome, some video (see network TV) apps won't support it for competitive reasons.
After 8 years and $128M raised, the clock is ticking for men's retailer Bonobos
And NoScript. I have NoScript + uBlock Origin. Why/How would the adblocker matter in this case?

EDIT: After looking at the source, the entire article is stored in a JSON document embedded in the script. I don't see an http-equiv meta and the document returns a 200. I guess I'm not creative enough to RE how this redirect happens w/o javascript or an http header.
We recently deactivated our account. We were excited about the idea of being able to informed of our entire neighborhood, not just our street. Instead, we found out that in our neighborhood of 8000, there are about 50 crazies that spend all day posting on Nextdoor, and everyone else had basically given up. In the real human interactions I have with neighbors, 'How's the weather?' has been replaced with 'Did you see that Nextdoor post? That was hilarious!'

Some gems in recent memory:

1. Someone posted an urgent 'BOLO black men with what appears to be a weapon or something to be used to break in to houses' accompanied by a picture of a man with a rake. Another neighbor commented, "That's my landscaper and he's been my landscaper for 10 years".

2. A heated debate over tearing down old houses and replacing them with bigger ones ended up with a guy crawling into someone's backyard, taking pictures of their house, and posting them and critiquing their design choices on the forum.

3. A neighbor created a small sculpture of stacked stones, each stone being about fist-sized. Another neighbor posted photographs and personal information, asking that he take the stones down, because if they fell on a kid, he would sue him.

4. Multiple occurrences where someone posted 'surveillance' video of dog poop not being cleaned up, which always resulted in another neighbor identifying the dog owner, and the dog owner almost always being an elderly woman, who embarrassingly had to indicate she ran out of poop bags but went back later to clean it up.
Sweezyjeezy asks which are breezy.

Sorry, couldn't resist!
I'm primarily a Python user and can say that there's no contest that R has many packages that Python does not have an equivalent of yet. This includes stats stuff and especially finance/trading. Definitely not a showstopper for me but if I were to recommend one or the other to people at work with no programming skills, I would have to choose R for the breadth of existing packages.
Misleading title and absurd idea: they suggest having bike lanes inside buildings. This is wasting precious real estate: the indoor bike lanes and parkings are nearly as big as the apartments they service. Why not build streets in buildings if you prefer cars? or a river if you're a boat person? or a half-pipe for skaters?
Link for the curious?
Of their army or country.
Irregulars as in terrorists, spies, mercenaries etc. Are not protected by the Geneva convention and are not considered prisoners of war.
From the (5 paragraph) article:
"In the long term, Google eventually plans to reduce Chrome's security states to just two: secure (full HTTPS) and non-secure (everything else)."

And the actual proposal: https://www.chromium.org/Home/chromium-security/marking-http...
Show HN: New Aha.io and Slack Integration
If you only have time to learn one language, learn Python, because it's better for non-statistical purposes (I don't think that's very controversial).

If you need cutting-edge or esoteric statistics, use R. If it exists, there is an R implementation, but the major Python packages really only cover the most popular techniques.

If neither of those apply, it's mostly a matter of taste which one you use, and they interact pretty well with each other anyway.
"Why do Segways provoke this reaction? The reason you look like a dork riding a Segway is that you look smug. You don't seem to be working hard enough."

http://www.paulgraham.com/segway.html
particular small areas with extremely high pop density might improve if cars were banned but for the most part adding separate bike paths that don't interact with roads much is the way to go. The sloped apartments seem dangerous and stupid.
And patents!
Ask HN: Effective comparative testing of an LRU
Dear HN,

Would appreciate pointers to state-of-art test suites (or how-to recommendations) for LRUs. Library for a new design (not yet released) is written in C. 32bit (k,v) variants preferred but 64bit is also supported.

Thanks.
> A jammer has to keep the right side up and not hit anything, and anti-jammer has a much more complicated task of finding, reaching, and destroying a jammer.

Is this 100% true? I don't know much about RF jamming, but isn't it sufficient to fix on the strongest source of the RF signal you're interested in and guide a cheap penetrator at it?

DARPA's Exacto bullets are doing that with optical guidance. Would it be that much harder with radio guidance?
Packrat is good for making production "packages" that need specific library versions etc.
https://rstudio.github.io/packrat/
You have to fund that stuff somehow, the state governments certainly aren't doing it anymore.
USB Killer can fry any computer in seconds
Get the Latest #ReactJS Know-How in Reactive 2015 Workshops
Depends on what your definition of a side project is, but I would add a security list as well.
well they did, but you wouldn't want to live in most of them.

what about ambulances? fireworkers? once your place is on fire, or your dad is having heart attack, you want help to arrive in eco-friendly manner half an hour too late?

even places like Zermatt in Switzerland, which prides itself in banning all cars except electric has medical, technical and police guys routinely cruising the village in... you guessed it, normal cars. and that's a tiny holiday spot, not some vibrant metropolis.

you want more bikes in your town? look at Denmark or Netherland how they achieved it. dedicated bike lanes over WHOLE city, not just here and there. Bikes have dedicated time and dedicated traffic lights. every major road has bike-only side road, no pedestrians allowed.
back in the day we used to call that a "lifestyle business"
See "Marking HTTP as Non-Secure" from Chromium:

https://www.chromium.org/Home/chromium-security/marking-http...

and "Deprecating Non-Secure HTTP" from Mozilla:

https://blog.mozilla.org/security/2015/04/30/deprecating-non...