skysight-inc/HackerNews huggingface dataset:
Serving from a cookie-less domain, still good?

I understand the points made about sharding and concatenating (and also the limits of the arguments), but the short article just mentions cookie-less domains and then just seem to forget about them. So this practice is still valid? Or is there some feature in HTTP2 that also obsoletes this?
Also: Come work for us, we'll give you free added responsibility and medical bills!
With ASP.NET, this is easy enough for JS and CSS bundling since that can be done as part of the runtime handler. (You keep the files on disk all normal, then specify which ones belong to which bundle names. ASP.NET does the rest for you.) So a simple if/else should be enough (I'm actually doing this for debugging on a site, just not based off of HTTP/2.)

Caching could be an issue, but if you're frontending with a reverse proxy, you could append another querystring parameter for http2 then do caching in the proxy level.
It's a simple implementation of an Ember/Glimmer demo[0], which is a reimplementation of this React demo[1] from this React Conf talk[2].

[0] https://dbmonster.firebaseapp.com/

[1] http://run.plnkr.co/plunks/Wwgjjpl9NHMO5Nd1TUyN/

[2] https://www.youtube.com/watch?v=z5e7kWSHWTg
I don't understand why would you advocate almost-copy&paste in situations where you have to deal with types of similar structure. I mean you already use generic ints in almost every programming language out there. You don't write `a int32+ b`, or `a uint8+ b`. It's just `a+b`.

> It's faster to write (because you don't need to figure out how to do in a generic way)

And every time you copy/paste code, it's easier and faster to make stupid copy/paste mistakes either the first time, or when you change one version, but not the others.
A fork in general results in evidence of double signing by at least 1/3 of the voting power, so fork attacks (and thus double-spend attacks) are expensive to launch (depending on the market cap and existing owners of the blockchain). After slashing the double signers, the remaining validators can regroup as in a hard-fork and carry on.

It would be as if launching a double-spend attack in Bitcoin resulted in the destruction of the attacker's mining equipment (and whatever other fixed cost investments that were spent in setting up the mining equipment). This isn't actually possible with mining because mining power is anonymous. Pubkey identities and traditional quorum-based byzantine consensus allows for this kind of antifragility that Bitcoin cannot have.
Wow that thing looks nice. I wonder what MSRP will be.
Nobody wants to live in that heat. I wouldn't move there, and I work in tech.
Not too long ago you guys took a big and extensive survey. The survey had business-speak written all over it. One could sense you're going down that path in the near future; and you have.

Me and my two tablets will survive without using this service for syncing. I wish you good luck with the business model.
> microsoft are dicks

It's triggering an error because you're using the word "are" (plural) after "Microsoft", which is singular. I'm sure "Microsoft is a dick" or "Microsoft is dickish" would pass muster.
Great question! The company doesn't actually give the person a puppy. They reimburse for adoption fees, etc. So, it's up the new employee what kind of dog to get and where they want to get it from.
That's not just what it says. If it just said that, that would be fine.

It says making "any claim" against a Facebook patent will terminate your right to use the software. Facebook gets to protect its own software patents: "that any right in any patent claim of Facebook is invalid or
unenforceable."

The other lines are okay, it seems.

I am not an IP law expert or lawyer though, but the writing seems pretty simple.
I think this watch looks much, much better than the Apple Watch (though I think the Apple Watch is a bit garish).
The watch on the left in the first picture appears to show a heart rate graph labelled with "bmp", which is a file format. The unit of heart rate is beats per minute, or "bpm".
The real explanation is that someone would want to version binary data. Like say, images. The parent poster claimed that anyone who would want to version binary data is an idiot.
Another individual who doesn't know what does DSL stand for.

Clever Python API will never be a domain-specific language, since a) Python is not domain-specific and b) API is not a language.
If you are an ordinary guy then even if Dropbox steals a file it won't matter much. If you are a government, Airbus, Snowden, Aselsan, or Comodo you should not install Dropbox even if you trust Dropbox.
Because an essential task after layoffs is to re-assure stakeholders and investors, so you push other work back to later.
Uber Acquires Mapping Startup DeCarta
I've been in startups for about 15 years. One of the hardest things I've had to do was lay off 4 people we had just hired a month earlier.

One of our partners had agreed to terms on a project that required us to staff up. When the project fell apart on their end the whole thing was cancelled. We just didn't have the budget at the time to keep those people on.

It absolutely sucked. We tried to be generous with severance.. but these were people who had just turned down other jobs to take this one. We just kind of dumped them back into the market. It absolutely sucked.

I vowed then and there to never hire people unless I was absolutely positive the money was in our bank account.
> To be fair, you can't reach Asia by sailing west across the Atlantic.

Ahem: http://en.wikipedia.org/wiki/Drake_Passage

Remember Magellan?
git practically already has this with the --depth option to git-clone. The only thing that it's missing is the ability to enforce storing the last single commit.

I'm sure that you could probably build the system that you are describing on top of git, but you would still run into problems with large files and local commits, even if it was just "commits since last pull/push."
But they do not support a common right-bitshift operation, nor sign extend. Which is what both the compiler and the poster above you are trying to make clear.
Survivor bias strikes again.
Or whether you should even be using a web app.
agreed, I think INI-style (specifically https://code.google.com/p/gcfg) is a better choice for simple config files. That said, they might be anticipating more complex configs in the future.
It's decent, but the complication introduced from the possibility of different tags in different source files poses a problem. I'd rather have all my deps in one place.

Additionally, it completely breaks if you depend on a package which depends on a specific version of another package. You are stuck using that version or forking your dependency to update the dep.
The authors admitted in a Gamasutra article they didn't really understand their own model, but it was getting too much traffic for them to mess with it. Does that sound like credible academic work to you?

Aside from all the methodological issues with modeling human behavior by discrete transitional states on a 2D Moore neighbourhood, the entire thing is just dishonest. It pretends to be about general biases, free from context, but it forces everything in a binary model, which only reinforces the "white/people of color" and "male/female" progressivist battle lines, even as they insist this is not what it's about. That's just wanting to have your cake and eating it too: either this model is meaningless and we shouldn't expect it to say anything at all, or the model is meaningful and we should be able to interpret it as applying to real issues.

I love Vihart's math videos, but this article is interactive propaganda coloured by her social justice views, and I won't pretend otherwise. Disappointed but not surprised it comes from the MIT Media Lab clique.
That trait is going to end up being selected against very quickly. Humans are much more plentiful.
I agree with you that the random number generator in tendermint isn't good enough. I am going to add one I have put in a different cryptocurrency before. Each validator gives the hash of a secret, and later gives their secret. All the secrets are XORed to find the random seed.

Tendermint consensus is based off the solution to byzantine generals for partial synchronicity explained in this paper: http://groups.csail.mit.edu/tds/papers/Lynch/jacm88.pdf
I remember talking to a rep at Morgan Stanley that was explaining to me that you can perform patches on kdb as well so that you have zero downtime. Although, I believe that was implemented a bit differently where you have a compiled program and the patch that is read by an interpreter. I didn't get down to learning how it would eventually take the interpreted patches to be part of the compiled binary.
"Full circle design" in contrast to the Moto 360.
We don't have to get a puppy. I work here and I wasn't forced to get a puppy. I plan to get one this year though, so this is really welcomed!
Does the president, alone, have the ability to pardon him outright?

Just thinking it certainly would be nice if Obama used that card on the way out given he's not up for re-election.

I suppose he has to be convicted first, but maybe he could convict him and pardon him on the same day!!
Well, he did steal and leak state secrets, which is illegal. Absent a pardon by Obama, the government can't just pretend that didn't happen.
I am, by most measures, pretty smart, and I agree with Dijkstra that the question of whether a computer can think is as interesting as whether a submarine can swim.

The Strong AI hypothesis assumes a mechanistic universe, if not necessarily a materialistic one, and I think that condition is false.
I sort of thought that when I first read the headline but then when you actually see what's going on, I think the moves makes sense and is more a demonstration of a reasonable attack that ultimately didn't make sense vs calamitous failure.
“One of the things he didn’t love about those campuses was that they were very exclusive,” Maria Phelan, a Downtown Project spokeswoman told me. “He liked the idea of more of a NYU-campus feeling—you don’t know for sure where the campus ends and begins.”

I can really appreciate this. I've never liked the tendency of the tech industry to create bubbles (2*entendre) and enclose their campuses and workers.
Wow: sapphire cover! Now there's a differentiator.
Here's an outstanding article that goes into the nuance of actually achieving floating point determinism: http://gafferongames.com/networking-for-game-programmers/flo...

My takeaway: It's hard enough that I'm probably never going to attempt to implement lockstep simulation, and if I was forced to I'd probably do everything in fixed point for my own sanity.
Business Owners – FreePhoneQuote.com FreePhoneQuote.com
So essentially the way ML works is you have some error function that you test your output against and then you have some model (neural networks and their variants seem to be performing the best currently, but different models do better at different tasks) that can be thought of as a function between inputs and outputs. Typically you have lots of inputs (for example a picture could be represented as an array of pixels, so you'd have one input for every pixel). The model then guesses how to transform the input into an output and measures the result against the error function. The goal is then to improve the model iteratively (and hopefully not overfit!) to eventually minimize the error.

I'm not very familiar with Numenta or Hawkins, so take what I'm saying with a grain of salt, however, I think there are two important things to consider.

First, you can have intelligence without having superhuman any sort of general intelligence. For example, the best neural networks for handwritten digit recognition can perform better than I or most other humans can at the task. However, if you asked this same neural network to predict whether an image is a dog or a cat, it wouldn't terribly. At least until you retrained it and tweaked it a bit. But it certainly wouldn't have human level performance. Similarly, the best computers can beat any human at chess. So these are all demonstrations of "intelligence", and I'm sure you can think of a lot more.

Second, the problem isn't so much that any given task is very difficult (although many are), but that generalizing solving one task requiring intelligence from the specific cases we're good at (namely classification) is a really hard problem and we don't seem to be getting better at it. We're pretty good at learning a model on narrowly defined tasks, but then if you take that model and use it on something it wasn't designed for it will just give you garbage.

So I'd say that intelligent machines are already something we're seeing, but machines that learn how to navigate the world and retrain themselves on arbitrary problems are a long ways off and this seems like it will be the case for the foreseeable future.
Starwars Opening Scroll – CodePen
Is it much faster than GUACAMOLE over RDP/VNC?

http://guac-dev.org/

(Click for streaming DEMO)
If you use tmux, there's tmuxinator that uses a YAML file to describe the initial setup for a tmux session.
Yes, it stinks, but SF/NYC real estate brokering is one of the more in-demand talents these days.
Sysdig Adds Container Visibility
> Does the president, alone, have the ability to pardon him outright?

Yes.
Scrolling with the mousewheel is funky in Chrome. Hate when websites hijack the scroll event and misuse it.
Yes, I think your assessment of the situation is correct.
What if, instead of binary build artifacts, they were images?
Price and battery life, without those two stats it is hard to comment.
> It'll be really hard to ever make that appealing

How about folks drinking beer on the street, the ceaseless outside speakers, and totally shameless flaunting of the sex trade on every corner? I'm not a prude, but there is something to be said for a little class. I didn't even notice the block/street size when I was there.
Yeah, I was using "commit" in the SVN sense. Which is another good complaint against git that it rewrote the established lexicon to mean different things. Sure a git commit may be technically equivalent to an SVN commit, but when I "commit" I mean that I'm blessing a change as ready to share via a shared repo.
How does Android L achieve strong encryption with a low entropy passphrase?
What does limited liability mean in practice?
I've said it before and I'll say it again. Kickstarter is basically Skymall 2.0 with added suspense. Will they actually ship it?! Will it actually work?! Will it actually work well?!
The main criticism of circular smartwatches is that they unnaturally truncate text. The screenshots don't even try to hide this. While I do think circular watches look better, circular smart watches are just silly.

Edit: I mean to say, they look better when off or when displaying a circular watch face. They look silly when displaying text.
The Freak Attack SSL/TLS Vulnerability
One of Top women's colleges in country, Sweet Briar College, to close
Perhaps people who are driving could consider not driving around the railroad gate (which was working when the idiot in that article decided to commit suicide).

There are remarkably few good ways out for humans in our society, so this kind of spectacle is often what they end up resorting to.
This failure reaffirms the most undercelebrated genius of the last century; George Phydias Mitchell — father of fracking, savior of the alpha magnetic spectrometer[edit], pioneer of the particle accelerator, and developer of the most successful master planned community in America; The Woodlands.

http://en.wikipedia.org/wiki/George_P._Mitchell
The whole point of that Tidbits article was "the WSJ is probably wrong, because the idea that Apple would use 1/3 of the world's gold is an absurdity." Treating a reductio as if it were a proof is just deeply silly.
Given that it's an intentional, purposeful design element of Android Wear, why in the world would they "hide" it?
The CPU usage drop is impressive, and great news for embedded devices.
FullStack 2015 – The Conference on JavaScript, Node and Internet of Things
And this picture which is actually on huawei site as the part of the promo (!) illustrates the best why Jony Ive said (1) that "a circle doesn't make any sense" for a smartwatch:

http://consumer.huawei.com/minisite/worldwide/huawei-watch/a...

----

1) http://www.newyorker.com/magazine/2015/02/23/shape-things-co...
I'll admit, I did little research other than looking for media players using the same name. There's only so many relevant words or variations of words I could use.
Definitely, I feel bad for them too. Getting fired/laid off sucks.

But remember that the opposite scenario, where companies only hire folks when they are sure they have a permanent role for them, is far worse.
Secured at Docker – Diogo Mónica and Nathan McCauley
Blackberry is at it again
Hey Kevin,

Thanks! I've implemented your change in the latest version. It makes sense to check the "input" event rather than "change" as it occurs first. Only downer is no IE10 support.
Does anyone have a link to the chart described at the bottom of the article?
Sony reveals updated Morpheus VR headset specs and release timeframe
I'm not a lawyer either, but isn't the word "claim" a term of art in law. Doesn't it have a specific meaning distinct from the common usage?
TOML seems to be a popular INI successor, however the idea around suggesting JSON (or native Go) is that it can be easily parsed with standard libraries.
Uber just bought a mapping startup
Good project, to write a shell in Rust. There are other efforts underway to rewrite the low-level UNIX utilities. An all-Rust BusyBox is probably not far off.

The author's problems with language and library stability, though, comparable to my experience with Rust. The libraries aren't there yet.

I've been trying to write a program that uses RSS feeds. There's no RSS feed reader library, so I have to write that. RSS requires an XML parsing library, an HTTP library, and an ISO date parser. There are several choices for an XML parsing library, and one of them worked and produced a good tree. It doesn't have any functions for finding elements in the tree, though, so I had to write those.

There are at least three HTTP libraries. One is obsolete, one isn't done yet, and one, "hyper" is usable. Or it was, until last week, when the "io" library had a major redesign. Using "old_io"? That's so last week. Right now, the "hyper" HTTP library is broken, due to some upstream problems with the SSL and cookie libraries being broken by the change at the "io" level. The appropriate issue tickets have been opened and many people are working hard on fixing everything that does I/O to do it the new way.

ISO date parsing wasn't implemented for the date/time module, so I wrote that, forked the date/time module, and submitted a pull request. The author of the date/time library rewrote the code and added it, and now the stock "chrono" module does the date/time formats needed for RSS and Atom feeds.

Compiling my own code, I now get messages like

rssread.rs:262:23: 262:25 warning: obsolete syntax: []
rssread.rs:262 p.feed_str(&string[]);
note: write `[..]` instead

The syntax for a slice that includes everything changed since last week.

The documentation for all these changes runs behind the code, of course, so you have to read blogs, issues, and pull requests to figure out what the language does this week.

Daily Rust development cycle: "sh updaterust.sh", then for each project "cargo clean; cargo update; cargo build; cargo test", then fix what's now broken.

I can understand what the Rust developers are going through. Their public pronouncements [1][2], though, create the illusion of a higher degree of stability than is actually the case. If you have to do any real work, I'd hold off on Rust until the 1.0 release, and maybe a few months after that.

Rust is going to be an important language, but it's not ready for prime time yet.

[1] http://blog.rust-lang.org/2015/01/09/Rust-1.0-alpha.html
[2] http://blog.rust-lang.org/2015/02/20/Rust-1.0-alpha2.html
To summarize, the author has two problems:

1. Bit shift is not part of the IntegerType protocol, when it should be (although the author could avoid the issue by accumulating the bytes in a UIntMax instead of the generic type).

2. Construction from (and conversion to) a UIntMax bit pattern is not part of the IntegerType protocol, when it should be (done correctly, this addresses the author's sign and construction complaints)

The author incorrectly claims/implies that these are problems with generics or protocols or the diversity of integer types in Swift. They're really a problem of omissions in the standard library protocols that are forcing some very cumbersome workarounds. The necessary functionality exists, it just isn't part of the relevant protocols. Submit these as bugs to Apple.

Edit:

As a follow up, here's a version that gets around the standard library limitations using an unsafe pointer...

func integerWithBytes<T: IntegerType>(bytes:[UInt8]) -> T? {
if (bytes.count < sizeof(T)) {
return nil
}
var i:UIntMax = 0
for (var j = 0; j < sizeof(T); j++) {
i = i | (UIntMax(bytes[j]) << UIntMax(j * 8))
}
return withUnsafePointer(&i) { ip -> T in
return UnsafePointer<T>(ip).memory
}
}

Of course, at that point, why not simply reinterpret the array buffer directly...

func integerWithBytes<T: IntegerType>(bytes:[UInt8]) -> T? {
if (bytes.count < sizeof(T)) {
return nil
}
return bytes.withUnsafeBufferPointer() { bp -> T in
return UnsafePointer<T>(bp.baseAddress).memory
}
}
IANAL so I didn't get that. Thanks for explaining!
You'll still see performance benefits of HTTP2 while supporting HTTP/1.1 content.

HTTP2 requests have (sometimes significantly[1]) less overhead, and most sites following good HTTP/1.1 practices still make many requests.

Open the network panel in your browser and view a few large sites. Despite minimizing requests with sprites, concatenation etc, most still make dozens of requests, with some large sites pushing over a hundred.

(for example, I just loaded a page for a single tweet on Twitter and it involved twenty requests, with a size over 2MB.)

I think your list of options are incorrect:

- You can optimize for HTTP/1.1 and it will be fast over both protocols.

- Or don't optimize, and it will be fast over HTTP2 and slow over HTTP/1.1. The main benefit is saving development time & complexity. This will not be a worthy tradeoff until HTTP2 is more widespread among your users.

[1] The reduction in latency can be massive, for instance, as the HTTP2 server can push resources immediately without waiting for the browser to request them.
Thanks for the feedback fellas. I'll look at this. You're totally right that they're both not obvious enough.
Because it looks terrible?

http://i.glui.me/1EetEHO

Why emphasize a major failing of your product?
> As for a presidential pardon, I don't think that can happen without a conviction. Can you get a preemptive pardon?

Presidential pardon power is plenary, can apply to any and all offenses against the US, and can be applied before any criminal process has started. (Probably not apply to acts committed after the pardon is issued, though, so not really preemptive.)
Is that DBMonster app becoming the new todo app for all JS framework to implement?
I thought they had done a good job with scrolling because I was using the arrow keys, then I tried mousewheeling on a magic mouse and I kept flying to the top/bottom.
> Trillions? The total amount (2014 nominal) given to NASA since 1958 is less than 1.1 trillion.

Thus it's likely that the sums involved across all nations in the world are 2 trillion or more.

> If you don't think there have been advancements in biology, chemistry, physics, and mathematics as a result of NASA's research then I'm at a loss.

Oh, they certainly were, but those advances were for the most part accidental and incidental.
That's the first thing my eyes jumped to, I am a bit surprised that they didn't pick a nicer looking `view`, instead of one with awkwardly truncated text.