skysight-inc/HackerNews huggingface dataset:
Yeah it's weird. My web developer side is impressed by the technical detail that go behind it. But my other web developer side asks why the f*ck should achieving a simple video effect on a web page should be this hard in 2012?

There is a whole pattern of similar things like this in web that is killing me a little bit every day.

Want to center a div on the page? No worries just wrap it in these 5 divs and apply these 20 css properties and you are good to go. Oh btw, IE doesn't like that, you need this.

Honestly I think we developers should stop putting up with crap like this, and accepting the burden of broken technologies using hacks, etc...

If we become less tolerant of crap, there will be less crap. As long as we accept it by using workarounds, etc... there will be more shitty things to come.
Hey, I'll be visiting NYC next week too, I'm from Colombia(South America), I'm attending startup weekend and trying to connect with some people over there, let's meet if you want, builes.adolfo at gmail dot com
Malware MITM attack against bank two-factor authentication
I've been using CFLs for a decade, and the vast majority have lasted for years. (I think I can remember one that burned out in a few months.)

As with many things, buying the very cheapest is not the way you're most likely to have a good experience.
New Fitbits can sync with iPhones, Androids via Bluetooth 4.0
Anti-Japanese demonstrations are spreading across China like wildfire.
The subject matter of your software doesn't really matter. Building software is what is fun, using the latest tech is fun. Who the end user is, won't affect your day-to-day very much.
Thanks for feedbach, this is much appreciated!

I fixed the obvious bug in the most recent version. Here are some comments:

- The Ai in the Law of Total Probability indeed have to be disjoint. I
indicated this by using a squared union symbol, though have not introduced
this notation elsewhere. There are several implicit notation assumptions
throughout the cookbook. For consistency reasons, I'll either address all of
them or none.

- I demoted the wrong equivalence to an implication in the sum of variances. I
purposefully did not write "if Cov[X_i, x_j] = 0" because that is obvious
from the statement above.

- I simply removed the unnecessary finite variance restriction from the LLN
discussion. With the notation E[X_i] = mu I mean to imply E[X_i] < infinity,
I hope this is clearer now.

- The Stochastic Processes is section has a very narrow focus. Indeed, it would
benefit from further extesion. At this point, I unfortunately do not have the
cycles to add new content myself, but feel free to do so by submitting a pull
request.

- Similarly, if you find a consistent way of integration Kolmogorov's extension
theorem, I'd be happy to merge a pull request. However, note that I have not
yet introduced the notion of a measure in the cookbook, which appears to be
necessary ingredient of the theorem argumentation.
The fact that they allow horrible entrepreneurs on the show tells me that it's more about making an entertaining show than getting some good companies through the door.
My other comment was in response to your assertion that speed limits are set by engineers. It was a simple proof by counterexample. I don't see a point coming out of all this, so I'll most likely withdraw from the discussion now.
For those such as myself that didn't catch the reference, nor hear about this the first time around: "Amazon Erases Orwell Books From Kindle" [1].

[1]: http://www.nytimes.com/2009/07/18/technology/companies/18ama...
Leaving aside the pesky little issue of what the spec actually says, in practice Apache or nginx will serve nicely.
Yep, if you must use the variables, much much better to use "require 'english'" and these more meaningful names than the cryptic originals.
Google Course Builder Intro Video: Peter Norvig
You're 100% right, of course, it is in apple's best interest to have you use their app.

It's just that downloading a bulky app for something you'll use infrequently is a crappy way to to business.
This whole implementation could just have been someone's weekend hobby that made it to production. Remember how Apple got its intel based macs? http://qr.ae/8eDNG

Just want to mention it before we blurt out the obvious over-engineering argument. ;)
John D Cook's blog post actually inspired me to rename this work from cheatsheet to cookbook, as it outgrew the form factor of a classical printable cheatsheet.

http://www.johndcook.com/blog/2010/10/04/probability-and-sta...
Want to learn Django? Start here.
Stop calling student loans “financial aid”
CSS's flexible box model will eliminate that issue once it has wider support. There is a solution in the pipeline, it's just a matter of time.

Not the best link, but here's some more recent info: http://css-tricks.com/old-flexbox-and-new-flexbox/
I was wondering about the security as well. I would imagine it would make it easier for thieves to rob a house where they could turn off all the lights. Or turn on the lights and see if there is any reaction (to see if anyone is home).
The post I was replying to wasn't the goo.gl one; it was the @selfrefer tweet link, which has a link to the tweet at twitter.com in a tweet: http://twitter.com/SelfRefer/status/3128391843
> You can see this in action on the Retina Macbook Pro "Features" page -- which loads about 5MB of JPEG images (using lots of separate HTTP requests) just for that 2 second effect.

I immediately thought of web1.0 sites of 1990-s, with lots of animated gifs floating around. Weird times.
Should be plenty of papers on the Prokudin-Gorskii images on how to overcome this.
I believe we agree.
The former ubiquity of Perl made most of these common knowledge. For example, $? works in both Perl and bash (actually, I don't know which did this first...). So in the context of shell scripts, where Ruby started, having these magic globals makes a lot of sense.

IMO they can make code easier to understand, once you've learned what they mean. $2 conveys the same idea as matches[2] without having to think about array indices, and why the matches aren't zero-indexed like a normal array. This is obviously totally subjective.
I think that's a very keen insight. There may be a detail that gets in the way, but nothing comes to mind at the moment. Did you know that PostgreSQL's referential integrity checks are -- in the most literal sense -- implemented as triggers that construct SQL, and then plan and execute them just like a client program?

http://doxygen.postgresql.org/ri__triggers_8c_source.html#l0...

I don't think anyone has measured the effect, which seems it would be greatest on tables with wide rows, whereby the wide rows would cause cache thrashing but the smaller index would not.
Your constant mentioning of cygwin tells me its been a long time since you've dipped your feet in microsoft OSes. Windows 7 has an extension called Subsystem for UNIX-based Applications (SUA) that basically makes a full POSIX compatible layer and a full shell (and you can install all your GNU tools).

I think they pulled an OSX and embraced and extended to deny cygwin their market. Typical. But whatever you think about the strategy, SUA works really well.
Founder of Commando.io (http://commando.io) here. The tutorial on SSH was particularly interesting, since we are doing some of the same sort of things to help with orchestration of servers. Currently we are using `libssh2` via a PHP module, but switching to a sparkling new node.js interface for the SSH and SCP connections and executions shortly.
Human Muscle, Regrown on Animal Scaffolding
I think that he's an arrogant little bastard and a few years in the slammer is just what he needs to teach him about the consequences of hubris.
What you do when a cluster has no points depends on the details of the problem you are trying to apply clustering to. If you don't actually care how many clusters you have, you could just drop such cluster centers from the final output.

If, on the other hand, you really want the number of clusters you asked for, one common approach is to abort the run if a cluster becomes entry and start over, with a new set of initial clusters.

I'm not sure if it really matters much how you pick the initial clusters. Random within the space, rather than random from among the points, can simply be easier. Suppose you've got 100 points and are trying to split into 10 clusters. If you pick from the points, you need to pick without replacement so that you won't pick the same point twice. This can complicate things a little, depending on what data structures you are using and what's in your language's library.

If, on the other hand, you are just picking 10 random points in the space, the chance of picking the same point twice is so low you can get away with not worrying about it.

If you are curious, another place K-means clustering is used is in choosing points to serve as the centers for modeling a dataset with radial basis functions. There is an excellent set of lectures and slides on this in the Caltech machine learning video library here: http://work.caltech.edu/library/
Some of the points seem a bit silly.

+ For instance saying it "has no tracks" but then ... it's in a tube. This seems to be nitpicking, as the tube is effectively a track. The question of whether something uses a track or not is mainly of interest because things that don't use tracks have more flexibility, and can go off-route. Something that requires a fixed guideway (like a tube) is for all intents and purposes, on a track.

+ Most importantly, the tubes would considerably safer than traditional high speed rail, since debris or other obstacles couldn’t get in and block the vehicles.

Er, is "debris and obstacles" an actual safety problem on existing HSR lines? Oh wait, Shinkansen: perfect safety record over 50+ years of very intense operation.

It's pretty clear that grade separation, and some effort to avoid trespassers, are important, but these things are of course standard practice. Putting everything in a tunnel would appear to at best offer a minimal safety improvement, at great additional cost.

+ Similarly, the vague hand-wavy discussion saying that the tubes would be "cheap and easy to construct" seem a bit specious. Either precision is required or not (and at 500+mph, one had better get this right!), and the form of a tube doesn't seem to make much difference compared to other maglev technologies, e.g. the "U-channel" being used by the JR maglev (one of the notable attributes of the JR tech is that it has a very large gap size, and so is less susceptible to precision issues, as compared to e.g. the transrapid tech).

So if you take existing JR maglev tech, and ... add a roof, is it actually any different than the vague "tube" notion this article talks about?

Maybe Musk does have some truly transformative idea, but certainly nothing in this article is that.

[I think Musk's coyness about this is pretty annoying... if he really has a great idea, and intends to make it public, why not just say it instead of making flirty glances and beating around the bush?]
What's difficult about centering a box? Was that just sarcasm? A couple of approaches:

Margin Auto w/ a fixed width

Absolute 50% w/ negative margins

Text-align center parent w/ inline-block display on children

If it was sarcasm, disregard my stupidity.
It is cheaper, in time and money, to take a fully formed organ than grow one. I hope that kind of crime would disappear, but I doubt it will.
You need more than that. Comparisons and bullet points and blog posts aren't the problem here, there's already billions of those.

What's needed is more "PostgreSQL for SQL Server People" type conversion material and tools to help facilitate this process. NaviCat is not an acceptable solution here.

Years ago when I switched to MySQL it was because it was easy to get going, a lot of community support around the product. You have questions, you get answers almost immediately.

Postgres is a much more sophisticated offering and still needs to file down a lot of the sharp edges on their toolset. The psql command line tool for one is very bewildering to the uninitiated and has two conflicting syntaxes, one for the backslash commands and one for actual queries. This is not unlike other SQL shells, but MySQL, while highly non-standard, does have the advantage of a unified interface here.
Ooh, espresso. There was also a tool called eqntott for converting boolean logic expressions in a human-readable form into the truth tables that Espresso takes as input. The source code was written in an archaic dialect of C, but here's a resurrected version that should compile on modern compilers:

http://code.google.com/p/eqntott/

I haven't touched this code since 2008, so beware of grues, but I remember it being a really slick system for minimizing boolean logic when you combine eqntott with espresso. Just the thing for an electrical engineering student who's sick of doing K-maps, which described me nicely at the time.
I think much of the color bleeding is due to the colors being shot at different times. Prokudin-Gorskii images have color bleeding and most of the subjects photographed are static and still. Motion interpolation and color enhancement is a bit different than merging the RGB channels from different moments in time back together. It's similar to deinterlacing fields of video together to make a progressive frame. Results can vary and artifacts will probably still exist when there is a lot of motion.

I guess one could attempt to get a luma(greyscale) version of the film together using the different channels and then attempt to fill in color using approximations. Sounds like a lot of work.
Sublime Text was already doing the same with the big animation of its home page: http://www.sublimetext.com/
(you can actually see three animations there, depending if you use Windows, Linux or Mac).

What I'm really curious about is how those images are being generated. Is there a tool already available for that?
> I started thinking it was some type of high-altitude blimp network, surfing low-earth orbit and dragging capsules with commuters inside

I'd like to hear more about that idea.
I know that it's the publisher, or at least I am aware that Amazon puts the blame on publishers, but I am baffled that Amazon, which is THE BIGGEST online bookseller, has to bend to such insane demands.
Does this include scp/rsync?
Spritely.net — JS sprite animation
Yeah it's surprising they don't have a mobile version of the site. (Side note, I don't see what responsive design has to do with it -- why does the technical implementation matter?) But then it occurred to me that maybe they leave it as the desktop version to emphasize how well iOS is able to view the "real" web.
My plan is to be on my wife's plan
The patent for the Mirror File System was applied for in 2001, years after Novell Netware had exactly this sort of thing built into the operating system. That is just one example of dozens that will surely come to light. Distributed, replicated filesystems have been around for decades.
It doesn't look like Sublime is using the same technique as Apple, but it does look really interesting. It looks like their system allows for better reuse of images, and it is a lot simpler too. It might be less optimal though for frames with a large number of small differences, since they just use plaintext encoding for that stuff.

Sublime's example does highlight a solid usecase for this technique that Apple's example doesn't really emphasize: <canvas> + JS video compression is still the only way to do this stuff losslessly, which is pretty important for what Sublime is doing.
Usually this argument is summed up more succinctly by adding two words to the phrase: "is neither"
I disagree with your last statement. Most current drug therapies are dirt cheap compared to the costs of organ implantation (even when you assume no long term care afterwards). This cost difference also makes me think insurance companies won't cover replacement organs when there is a normal treatment, thus keeping the current costs the same.
don't forget income tax shield --

for every $1Mn shouse shielding ^=$60K in tax

you are making 2x median wage earners pay double Tax

That's really the worse, most regressive tax right now.
+1 to white-boards
I'm a bit put off by their claim of 133 lumens per watt. (6 watts for 800 lumens) and I've bought / used several LED lights and designed lights for my RV which runs off batteries when not hooked up to an external AC source. Love their demo video though, think it will be a killer product. I look forward to being able to buy one once they are in production.
If we could live off of a handful of ideas and had no want of food, shelter, or clothing, I'd be in complete agreement.
CORBA.
I'm not fully informed about Dart's optional typing, but how is it different from ActionScript 3's optional type system?
Quora's team thoughts on Facebook's mobile redesign
You made an account just to bash this book?
Purchased! Can't wait to start it. Keep up the great work Guillermo!
How does this square with the Golden Rule? Last I checked, that rule didn't say "I can break rules I don't like to get gold."
Probably depends on the person.

My current issue is self-interruptions. Even with nobody around and the phone turned off, I'll be working away and with no conscious intent I'll suddenly have spent 10 minutes checking Facebook or something.

Sadly, I don't have a shed, so my project this weekend was to rehab my old laptop to be the "fun" laptop and my main one to be the "productive" laptop. I've set up LeechBlock, removed the personal mail account, and deleted a bunch of other distractions. I hope keeping the fun-capable computer physically separate (and probably switched off and in a drawer) will have some of the same context-setting power as a shed.
Facebook’s embedded option
Wow, that light looks very similar, I wondered if there was a design patent so I just did an 'Insteon' search on the USPTO database [1]. Could be a challenge ahead [2].

[1] http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sec...

[2] http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sec...
It might be possible to build a tube system with a blowback mechanism so that the displaced air can be temporarily pushed aside without wasting too much energy.

Most long train tunnels have a secondary tunnel that acts as a buffer for this sort of thing.
History Uncut: Bill Gates unveils Microsoft Excel (1987)
CloudStack in VirtualBox
I have an axiom "any sufficiently complex if-then-else ruleset can be modeled as a search problem with boosts".

I have modeled a logistics lookup system (assign "best" courier for an ecommerce setup) using a search solution. The rules were modeled as documents in a search index and looked up using weights. Fundamentally, what I did was flatten an if-then-else hierarchy and assign weights based on (roughly) level of nesting.

The con of this model is obvious - it is at best a heuristic. However, with clever overrides built in (as a separate search index?), you can get pretty close to the ideal solution.

The pro of this model is scalability - when your rules are in millions, this system scales beautifully.
Don't blind yourself. Using blackberries insulting your employees.yahoo still make profits so buying newphoneswouldnt be a big cost stall. With newer and their own choie of smartphone the employees can now communicate more efficiently. Hence higherproductionrate.
Indian Tablet - Cortex A8 1GHz processor, 512 MB RAM, Android 4.0.3 - $55
Knock Lock – Unlock a Door with a Secret Knock (2009)
Daily #perl6 summary
I don't think that's crazy,. Have you ever try to search people on Facebook? The results from my own experience are 99% crap. Their research results are naive adjust because the volume is big, it doesn't not say anything about the search quality. They cannot beat google on that. Google search is the most sophicated one besides wolfram alpha
Great link, definitely worth reading.
Given the department of energy's smart grid/home/appliance goals. They might be better off with a DoE grant than a kickstarter (better for them, not necessarily better for consumers/taxpayers/etc)
This reminds me so much of this Calvin and Hobbes comic:

http://3.bp.blogspot.com/-2NHLFdK16uU/T3mU5fc6x0I/AAAAAAAAA8...
IPhone5: Why I am excited, and why you should stop whining about it.
Ask HN: what type of sources should I use for my novel unsearch engine
Yes you read that right we are building an un-search engine. We are very different from existing search engines. However we are in a dilemma to choose data sources to build out our MVP. Our search is most effective and value clear when multiple heterogeneous data are indexed (obviously we have anything but a Google data farm indexing power).
We are trying to pick a domain or source that is manageable scale for a small startup, and yet shows the ability to "weave" interdomain knowledge. The obvious ones are wikipedia, wikibooks etc. but would the community have any suggestions on on other sources? news perhaps? Thanks in advance!
Well they are talking relatively small rounds as well, I concur that is to make it entertaining. To someone like a Mark Cuban spending $50K - $100K is not going to materially change his future outlook, its more like playing the ponies. It is certainly more entertaining than playing blackjack too.
Hm, maybe he could fund a full restoration with Kickstarter...
FTE at the moment. Salary, full medial/dental/life insurance paid for by the company, 6 weeks paid vacation, flex time.
Keep in mind that Apple outsources a lot of this front-end work to their agency, TBWA/Chiat/Day Media Arts Lab. As a services firm they have less incentive to use standards created by Apple, though I think they do really great work.
Golang-weekly issue #4
Some previous discussion:

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

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

I wonder how easy a similar set-up with a Raspberry Pi would be. The option to use the same hardware, but provide a web service to control the door as well, or other authentication methods would be cool to see.
"This program was originally written at Berkeley in the early 80s"

This phrase gives me the same feeling I'd get from finding an old Thomas Bangalter track or something.
LEI think that wasn't an insult. Ever you knew that person really well or you are are way too serious. Obviously the guy was complaining the trend of herroducts. It Becomes stressful when her works end up in either one direction. If that was the case. I would not trust her work either.
I was just about to comment asking whether Apple engineers actually did this. For sure this is some cool stuff, but I think it'd be a bummer to say "I work at Apple" and then in response to "oh cool, what do you work on?" say "I work on the iPhone -webpage-"
Superficially that seems ok, but it won't come across that way. By letting the employees decide for themselves they will feel far more empowered - contrast that against "a random number generator says you get this phone - deal with it".

And what will happen in the good teams is that they will work it out amongst themselves. And maybe they'll get them in proportion to the market, or maybe they will swap phones every month, or maybe they will come up with other good ideas. But if they don't feel in control they are far less likely to act as though they are.
An experiment in static compilation of Ruby: FastRuby
Reiterating the sentiment. Seems great so far, but there are some errors that could create confusion. The good news is the author left his email address, so I dare say he's well aware by now :)
Peter Diamandis - Eric Ries Google Hangout [video]