skysight-inc/HackerNews huggingface dataset:
It sounds like there are two issues here. One is how the depth map is generated, and the other is how the resulting image file is formatted. For the former, several still images are collected while the camera is moving, which provides parallax which can be used to generate the depth map. For the latter, I don't know, but it would certainly be possible to bundle both the depth map and multiple "layers" of photograph that could be used to actually expose new pixels in the background when the foreground moves.
Yes, it's very popular with JS to make code more modular. Remember that, although JavaScript is a object-oriented language, it isn't a class-based language - it's a prototype-based language.

The best way to grasp the idea is by following various code examples (and how and why they were implemented that way). Also, I found Douglas Crockford's video presentations on JS _extremely_ helpful. I have a list of them here:

https://www.zeitgeist.se/2014/03/26/list-of-helpful-javascri...
Strlen(buf) – Not as simple as you’d think
I agree about consistency but I don't find that style more readable. It wastes vertical space to little benefit.
Version Control Software in 2014: What are Your Options?
thanks !

really look forward to this..
Great Sass Tools
I posit that the "just work on X," where X is the dominant player does not contribute anything to the discussion. Why can't we trust people to have investigated this possibility ahead of time?

Given the author's level of gumption, I'm glad he's not hacking on Rhythmbox. Rhythmbox is probably my favorite music player, but it's good to shake things up.
I think you just helped to generate an extra 50% of the hype they're after.
Celery guys, please fix your documents
Guys I dont have a blog but I must say this words, please dont blame me, I think someone will think exactly like me someday

As a non-native speaker of English, sometimes I do have trouble with documentations, but read them again and again, until I feel comfortable which can take me 2-3x more effort than native speakers.
Recently, I got my hands dirty on celery. Celery is great, first steps is fine for very basic task management. But it sucks when it comes to Django. Hey Celery guys, as a beginner I have totally suck my brain when I read django first steps. Lets start from the beginning,
1) "If you have a modern Django project layout like: ", hey guys when you type django-admin.py startproject it doesnt create structure you mentioned.
2) app.config_from_object('django.conf:settings') , why the hell I need this, if you didn't mention what should be inside django.conf.settings yet.
3) celery.py: from __future__ import absolute_import. first we import absolute imports from the future, so that our celery.py module will not clash with the library. Hey guys please rename your celery.py instead of making ambiguous file names and fixing it with kind of "patch". You are explaining celery to the world where 4/5 is not native speaker or has basic level of language.
4) Using the Django ORM/Cache as a result backend. Maybe you will teach me how to use django orm as a broker first? instead of saving results but requiring 3rd party for message transportation.
5) pip install django-celery. so what about: Django is supported out of the box now so this document only contains a basic way to integrate Celery and Django. so do we need 3rd party or will you support it out of box?
And so on.....
The whole benefit of hiring based on recommendations of your technical staff is that nerds generally only recommend people who can do the job. They aren't going to recommend someone who can't pull their weight, because it will hold the whole team back.

If you take the nerd judgement out of the equation, as this article seems to suggest, and just spider their connections? you lose most of that benefit. Yes, if you are a connection, you can spider my linkedin; and yeah, people on that are probably above average. But if I'm in the loop? I can give you more information than a recruiter could possibly understand about the technical abilities of many people on that network.

As an aside, I /really/ need to find an app to keep private notes on my linkedin profile. I have a lot of customers as connections... more, really, than my tiny brain can handle. I need some (private) way of recording what's what (as well as a public way of telling them to mark their relationship with me as a prgmr.com customer)
Well, it helped that I'd been discussing the topic out of band not that long prior to the original comments...

The initial detail was that VHDL, unlike "software" languages, has very different consequences. Can you imagine a language where (1 / 0) wasn't defined away as a DIVERR, but otherwise managed to remain mostly self-consistent? Where something can be logically / syntactically coherent, but not physically possible?

And if that example didn't hit home for you, so it goes, but there was plenty of detail unrelated to the specific example that I thought was more important / interesting to discuss. :shrug:
I also had a quest to build the ultimate music player. My motivation was that most music players got complicated to the point I was unable to use them.

My player is 200 lines of Python, utilizing MPD and Qt (for Docker icon), and has about 3 features. It plays all the mp3 in a directory (including subdirs) randomly, and you can "like" or "dislike" song, which modifies the probability of it being played (and these data are remembered in MPD database). Also has "pause" and "next song" buttons (from the tray menu) and that's it, literally.

To each his own, but that's my personal definition of "ultimate".
I miss http://kunagi.org/ on that list. It's the best ever tool for SCRUM teams and it's open source. With public issue tracking, stories, tasks, burn-down chart, powerful search, real time interaction etc.
How is the parallax effect working without using my mouse and shaking my laptop? Am I going crazy or do Mac Books Pro have accelerometers?

Edit: Had to google it, they have something called Sudden Motion Sensor http://support.apple.com/kb/HT1935
Very interesting case study. We ran into the Fuse issue ourselves, but in our case we were able to drop back to a headless JRE install. Other than that we have run into very few major issues using Docker in our prototype production architecture. We currently have images for quickly deploying elasticsearch, our logstash logging infrastructure, and a number of custom components. The main benefits for us so far have been the improved maintainability and ease of deployment of declaratively configured images, and the strong sandboxing and dependency control.
Ex-Soldiers Are Being Given MDMA to Help Them Forget About War
As the_paul said, this is incorrect.

https://en.wikipedia.org/wiki/Python_(programming_language)#...
U.S. justices show little support for Aereo TV in copyright fight
PAVEL DUROV'S 7 REASONS TO STAY IN RUSSIA (12 March 2014)

http://rusbase.com/news/author/benhopkins/not-going-anywhere...
Subject of the talk?
You will never get it in a camera the size of a cell-phone camera. This technology relies on the fact that each patch of their lens sees a different image of the subject; it's like stereo, but with a single lens, and many views rather than two. It fundamentally has to have a large-diameter lens.
> E.g. when I see something like _(array).filter(...).map(...).reject(...).reduce() I like to think of taking a value and following it the way you would across a spreadsheet and think of filter, map and reject as "columns".

This is the practical use of functional Javascript methods after they are written, though. Following the code in the filter/map/reject/etc functions themselves is a bit more difficult.
You said viable, so I guess you mean production ready, which excludes still experimental or "in gestation" languages like rust or ATS, but they are indeed worth a look (note that ATS in its 1st incarnation targets C).

I'd like to point out that there was a post several weeks ago on /r/haskell of someone having implemented a BSD kernel module. There's also MirageOS, an OCaml implemented framework providing all the services of an OS, thus letting people boot their apps in a VM very easily (that's the aim of the project afaik, given that it comes from the same lab than Xen. While not specifically tuned for OS development, they seem able to cope well with the task. Note that both languages also have a native SSL library development ongoing, which is a part of the MirageOS framework in the case of OCaml.
Digging for answers: The “strong smell” of fraud from one Bitcoin miner maker
$900 bucks for a $350 phone ? :) I would say stop giving freebies and see if they still need a lottery..
congrats on launching! hope it goes well for you.

small suggestion: try to add some screenshots to the play store that give a better idea of what the game is. at the moment i paged through all of them and i'm still unsure of what kind of game it is.
It's not well sourced, but this Wikipedia about the Shuttle Launch Complex at Vandenberg provides further details: http://en.wikipedia.org/wiki/Vandenberg_AFB_Space_Launch_Com...
The number one reason is that you learn more when you experiment and try doing it on your own.

Same reason Ritchie and Thompson didn't continue to try to improve MULTICS.
"mainstream atomic batteries would be so cool"

Disposing of the regular kind is hard enough.
With your non-mission-critical software, you also probably don't have hard limits on recursion. Writing iterative versions of naturally recursive functions can blow up function sizes fast.
Here's the extended tutorial as well from Mike Rooney:

http://mikerooney.rowk.com/2014/04/22/easily-sending-postcar...
I am not at RailsConf and haven't watched the talk yet, but:

"In many ways, the prism of computer science is harmful for the development of information systems" - https://twitter.com/wycats/status/458616115451527168

"DHH is essentially talking about how getting overly concerned with testing millions of isolated pieces is more trouble than it's worth." - https://twitter.com/wycats/status/458620203711344640

"A good TLDR of this talk is that pseudo-CS exploits your desire for "science" but does more harm than good." - https://twitter.com/wycats/status/458622138099183616

EDIT: I'm most of the way through the talk now, I agree with wycats' summary.
Project Naptha: a browser extension that enables text selection on any image
It might seem ironic to people who do not understand the difference. OpenSSL includes wrappers and (probably untested since N years ago and therefore broken) code branches to work around bugs in old broken exotic systems that do not get fixed. This sort of code is a maintenance burden if you try to keep it working and just useless if you don't. It is also likely to introduce bugs. Getting rid of it simplifies the code and gets rid of bugs along with it.

OpenBSD's system level support for exotic platforms has more to do with drivers, compiler & tool chain support, boot code, etcetra. These do not create a jungle of ifdefs and workarounds in userspace applications. And if these platforms are broken, they are fixed instead of worked around with more jungle and weed. So support for these things does not add bugs for others.

On the contrary -- getting your software to run on a SPARC64 is more likely to expose flaws in your code.
It's one thing to focus on the code over the website and another to deliberately thumb your nose at people with an ugly font.

It's not all just window dressing; a pleasant, professional website will help to attract more attention and resources.
It is annoying, but it is necessary to avoid users choosing longer passwords where the necessary randomness is beyond the 72nd byte. Allowing a password of unlimited length when you support only e.g. 20 or 50 bytes is just as bad as putting in a maximum length restriction when you don't have one.
Ideally, just use scrypt or PBKDF2, which don't have length restrictions.
Next generation banking a reality
Yes and in Go (and hopefully all curly-brace languages of the future) this is actually a syntax error, you need the braces:

if (a < b) {
a = b;
}
A post-mortem of our failed Kickstarter project
> Again, asked another way, is it ever a problem to create a "small type" if it follows that rule?

IMO the biggest problem isn't having too many distinct types, because they represent information you'd need to track manually anyway, like knowing that $time is seconds rather than milliseconds. I'd be more worried about:

1. The risk of conflicts between different groups of people who both defined their own type called called "Newtons" and want their libraries to work together.

2. The sliding-scale of inconvenience if your implementation gets in the way of the mathematics, like having to call `foo.asFloat() * 2` rather than `foo * 2`. (You can relax things a bit by relying on best-effort annotations.)
If you create a code block with ```php I think you'll get php syntax highlighting in a GitHub comment.
The company writing this blog seems to do well though :-)

(In case anyobe wonder: basecamp, formerly known as 37 signals, most known for basecamp project management and ROR framework. )
The Bank to Developer (B2D) SDK and Business Model
I thought you were making a distinction between quoting in fractions of a dollar vs quoting in pennies. It isn't really material. If you quote in fractions but allow the minimum price variation to be 1/128th of a dollar you have a market that allows for tighter spreads than one in which the minimum price variation is a penny. There is nothing wrong with prices in fractions of a dollar. What matters is the minimum price variation a.k.a. the tick size.
My impression is that people writing Web interfaces reach for Node while people writing CPU-heavy programs reach for Go. It so happens that Ruby people are more often writing simple Web apps while Python is somewhat more likely to be used for more computationally intensive tasks, but I think that's about as far as the correlation goes.
It actually "compiles" into bytecode, then consumed by the interpreter.
I won't argue that the US healthcare system isn't horribly inefficient.

My point simply is that the US not some horrible crap hole where everyone goes bankrupt when they get sick and kids can't go to college because it's too expensive.
Hahaha, yeah, the legal angle is.... interesting. I'd love to see a lawyer's analysis of how many minefields this idea introduces.
The subject of start-ups and regulators has come up a few times recently and there tends to be a view espoused that regulators are intent on legislating away innovation.

My experience of working alongside or for regulators is that they overwhelmingly do not want to write new law unless they absolutely have to. Law is hard to write, hard to schedule and politically difficult to agree.

Generally regulators prefer industry associations or similar creating 'best practices' that the regulators can then rely on for evidence of recklessness or negligence compared to peers in the industry.

This can lead to established players in a market controlling the regulatory framework for innovation but this is solved through either new players engaging with the industry associations or a truly valuable innovative approach forcing legislators hands.

By not engaging with regulators and industry associations to address best practices the only route left is to be valuable and disruptive enough to require new law which is resisted by all those involved until the last moment possible.

It is always worth remembering that no matter how good your relationship with the regulator is their goals are not yours, they would like you as an industry to be successful but they exist to protect society as a whole and when placed in a position between your success and the perception of harm to society they will enforce regulations strongly.
Ask HN: How to sell a small Internet business?
I developed in a small internet business for some friends that makes about $1,000/month at the moment by connecting performers (artist, musicians, educators, etc.) with libraries and schools for their child and adult programs. The founders are done (for non-business reasons) and the business needs to be sold. However, the price is too low for a business broker. What is the best way to sell a small business like this? If you need more info on the business it is unboundbooking.com
You are correct!

https://research.nvidia.com/publication/near-eye-light-field...

https://www.youtube.com/watch?v=deI1IzbveEQ
Even in C, always remember the rules of Macro Club[1]:

1) You do not write macros.

2) You do not write macros that violate expectations of normal code behavior.

3) If this is your first time, you must write a macro.

4) Don't think object-oriented.

5) No shirt, No shoes, No dynamic scope.

6) Don't create new scoping rules.

[1] http://stuartsierra.com/download/2010-10-23-clojure-conj-mac...
He's certainly within his right to work on whatever he wants. From an effort vs impact perspective however, it is usually better to build on something than reinvent.

In fact I would say this is major drawback on the Linux platform where there's a lot of duplication of effort that ends in half-baked solutions.

In any case, I merely asked; as I said the OP is free to pursue his interest as he sees fit.
> (that explains why node.js is a bit faster than Go for handling HTTP requests at the moment)

Pretty sure node's http parsing is handled by http-parser[1], which is written in C (originally pulled from nginx as I recall).

Go's http parser is written in Go.

[1]: https://github.com/joyent/http-parser
gspread is a little-known Python module that uses the Google Spreadsheet API and offers a simple interface atop it. You don't even need to download the .xlsx file -- you can keep in sync with the file in real-time.

https://github.com/burnash/gspread

I use it for some internal proj management tools at Parse.ly.
It makes a difference to me what I put on my server. I don't run any rails apps at all because I don't understand the security implications enough and I haven't had a rails app I wanted enough.
What's the limitation on the size of each lens?
Right, but as I said in the other thread - if someone wants to work in Ops/Ops-ish, but can't learn a recipe/packaging system, I doubt a GUI tool is going to improve the results.
Just purchased, well, purchased for free. Will review it this evening.
Imagine Zuckerberg selling his Facebook shares, then claiming to flee from USA for not willing to give the data from the Facebook to the FBI. Which of course Facebook (just like any other competitor like Google and Microsoft) gives since it's all regulated by the law:

https://www.facebook.com/about/government_requests

Disclaimer: I don't know how much Durov actually sold. Any additional info welcome.
An Interview With Eric Lippert
Decisive, Born From Texting.ly, Brings Real-Time Info to Mobile Ads
Awesome story. I did a similar pro-bono job for this sweet old couple that run a music school together, even with their very limited understanding of technology they were able to figure out weebly. If technologically-illiterate people can figure out how to use their interface, there is really no limit to the markets that they can target.
Google Code Jam has just started and so Google has the infrastructure and experience to handle large online coding contests. They should have just made Google I/O registration a simple programming exercise. Even a 10-minute in-browser exercise would have self-selected the right audience for I/O.
Exactly. You learn more by doing.
Craigslist...
foobar2000 is the best reason to use Windows.
Yes and no.

Some of this is that JavaScript is just not very well equipped to do functional programming. For instance, the nesting of functions in JavaScript is not only verbose to write, it also introduces a lot of noise in the code.

One pretty simple/obvious setback for JavaScript is that declaring an anonymous function (or a lambda) entails quite a few characters. In ES6, [this will change with the introduction of "Arrow Functions"][2], but that's not going to be a cure-all by any means.

Languages geared more towards the functional edge will handle things like curried higher order functions almost without you realizing it. For instance, taking an excerpt from my next post in the series (still unpublished):

var uncurried = function (a, b, c) {
// do something with a, b, and c
};

var curried = function(a) {
return function (b) {
return function (c) {
// do something with a, b, and c
};
};
};

There we have two ternary functions (3 arguments), but the first one is uncurried (how you would expect it in javascript), and the second one is manually written in a curried fashion.

Some programming languages, such as Haskell and OCaml, have function currying built into the language. What that means is that, technically, every function is a function of one argument, and one argument only. Syntactically, however, they may make this restriction almost unnoticable.

For instance, in OCaml, one could write the two functions above like:

let uncurried = fun a b c ->
// (* do something with a, b, c *)

let curried = fun a ->
fun b ->
fun c ->
// (* do something with a, b, c *)

The difference, however, is that in OCaml these are exactly the same thing. In OCaml, no functions have multiple arguments. However, invoking curried functions syntactically looks the same as what one would expect invoking a function with multiple arguments would be. To call the functions above we would write:

uncurried foo bar baz
curried foo bar baz

Whereas in JavaScript, we have the obvious difference:

uncurried(foo, bar, baz);
curried(foo)(bar)(baz);

Many would argue that the readability of the former is much better than the latter.

---

Anyway, what I am trying to build up to in this series is building a set of tools to make writing code like this a little more fluid in JavaScript than native JavaScript would allow.

This goes back to my example in [Part 1][1], where I show an underscore example:

var firstTwoLetters = function(words){
return _.map(words, function(word){
return _.first(word, 2);
});
};

Which, the exact same thing can be represented "my way" with:

var firstTwoLetters = map(first(2));

I would argue that this is much more readable, and perhaps you would agree?

[1]: http://tech.pro/tutorial/1953/functional-javascript-part-1-introduction
[2]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/arrow_functions
Or hash it first using SHA3. Then you get the slowness of bcrypt (which is what you're using it for) and the variable length input of SHA3. You're only risk is a SHA3 collision, which is not something that is realistically going to happen.
The Harry Poter novels. Sometimes underrated, but those works are serious pieces of literature. You will learn a lot about story integrity and using your fantasy to accomplish anything your mind implies is possible.

Not only will you see a slight fathom of the concepts behind a successful chain of best-selling books, you will also have a great narrative of things which are in no way possible yet seem so extremely likely to exist.
You can usually get away with it if you have actual thought in your criticism.

But then, you have to be prepared for actual thought in the replies. You may have to learn something, or even - horrors - change your mind...
No, I think we're honestly even more sold on protocol buffers' wire format than before.

That said, if I did want to go looking elsewhere, I think the main serialization format I am really interested in is Cap'n Proto: http://kentonv.github.io/capnproto/
hi. bowerbird here, checking in with you two.
i haven't forgotten you, just been working on
smoothing out the latest wrinkle in my thinking,
which i do believe has made a huge improvement.
i'll get some stuff to both of you, quite pronto.

-bowerbird