skysight-inc/HackerNews huggingface dataset:
Sky Drone FPV Head-tracking Demo
Hey all, check it out, we've posted a new demo video on YouTube. It shows off the Sky Drone FPV being controlled via head-tracking using the Oculus VR/Rift: https://www.youtube.com/watch?v=arvLm4DnMg8 Let us know what you think!
Nope. The claim calls out that the author complained without also offering a constructive, alternative solution.
> Maybe the successor to C++ will be C++

Maybe ISO could do a Python 3 and remove the C cruft someday.
This thing keeps getting hyped but all I've seen so far is this periodic table demo which doesn't really do very much - just move some images around with css 3d transforms. I mean, it looks nice - but it's not very functional. Have there been any demos of useful, interactive, data driven apps or interfaces?

It also rubs me the wrong way that their private beta is basically bringing people into their office to work for them for free so they can showcase the demos they come up with.
A python version of PHP's '@' operator, nice!
But there isn't a way a doctor can sell drugs they get kickbacks for that...

Plus what would the carb, sugar producing companies say!
> There is, but you seem to be hellbent on ignoring it. And you're shouting.

There isn't. There is a difference in the way git and mercurial handles anonomous branches (git removes them after a while), which i've already said a couple of times. There is however, no difference in how checkout and update works.

And I'm not shouting, that would make people at this office stare, and I don't like them staring. I instead wrote in all caps as I've repeated the fact that the two commands does the exact same thing, but you seem to be hellbent on ignoring that simple fact.

The commit is not lost in the git UI. You can either use "git reflog" or "git fsck --lost-found" to retrieve anonomous heads. If you want to keep them around, give them a name and you're done.

If you really want to view all branches, even anonomous ones, like you can with hg log, you can use "git log --graph --decorate $(git rev-list -g --all)"

> After 90 days, it's actually lost, or sooner if you do a casual "git gc".

If the reflog contains the last 90 days (doesn't it default to 14 days?), that commit will remain for 90 days, unless you delete the reflog. A "git gc" doesn't change this. As the commit is still in the reflog, "git gc" can't remove it, becouse the commits are referenced by the reflog. As a side-note, git push internally calls git gc (last I checked).

> There is no problem to solve when you commit at an earlir commit on hg.

Actually, this creates a new head which means you either have to use a named branch or --force the push. In git you don't have to make this choice. You do however have to tell git that you want the changes to stick around by adding a reference (branch or tag) to that anonomous branch within 14 days (before the commits exit the reflog).

If you're just testing something out, and find out you don't really need that code, you leave it unreferenced, and it will be removed eventually. I prefer this to manually using "hg strip" whenever storage gets low.

Besides, if you create a head with work you want to keep around, why wouldn't you reference it?
So you mean you don't use GPS in Google Maps on your phone?

Showing where you are in some city or other location is the best feature of it, what use does it even have without your location?

A flashlight app needing to read your contacts is obviously ridiculous, but a map needing your location is rather handy.
This is 2013 calling. Init daemons now handle all this for you. Your silly experience building servers out of matchsticks is hereby considered irrelevant.
Great. How about the FDA deal with the claims made by homeopaths next?
Forgotten but not gone: Why mainframes remain the power behind tech's throne
They will look like complete fools when Bitcoin goes way beyond their "maximum" value $1,300. This seems like a very shallow analysis, done by someone who's new to Bitcoin, and within a single day.
Heads up: Demo doesn't work. I get a sinatra error:

Errno::ECONNREFUSED at /
Connection refused - connect(2)
> What's so hard about asking yourself - why the hell would a flashlight app or screensaver want to know my location or my contacts list or whatever? Are people so dumb that we need to disallow them from hurting themselves?

The problem is you are trained to completely ignore permissions. After installing your first 5 apps which all come with a billion permissions and you have no idea what they mean or why they are used, you really stop caring.
> Mongodb expects that your working set fits into RAM along with the indexes for your database.

I don't really get this. Surely any database system is going to be faster if all frequently updated/accessed pages fit into ram...what makes mongo special in this regard? Why does it degrade so badly when it has to access disk (beyond the obvious)?
This is ridiculous, you take extreme examples to prove your point. So let's see, you can still read about all this and worse on the internet, do we still have people taking arsenic en masse to cure baldness? No. Because most people are responsible and giving them the freedom to do what they want with their body is more important than anything else. Plus, if someone is ignorant enough to drink arsenic to cure baldness, he'll probably find other ways to hurt himself anyway, FDA or no FDA.

So let's go back to the FDA, is it so effective? Here is the FDA authorizing a drug that killed lots of people http://www.undergroundhealth.com/fda-approved-prescription-d... Also, the time the FDA takes to approve a good drug can take more than 10 years, how many people die because of this unseen consequence? http://en.wikipedia.org/wiki/Criticism_of_the_Food_and_Drug_... Not to forget its reluctance to approve drugs for political reasons (canabis).

So let's see, many people die because of wrongly approved drugs and many die as it takes too long to approve good ones because of the FDA. Now let's imagine a world with no FDA, many people would still die, but at least they'd have the choice to do so on their own decision and not have to wait on a nanny state bureaucracy to tell them what's good or bad for them and many times wrongly so. Why not let people freely decide what they can do to their own body when not doing so still kills a lot of people too? Plus, allowing so would make it much faster to detect when a drug works or not and save way more lives. If you don't even own your own body, what do you own?
Maybe, maybe not. I'd like to compare it to social media. Facebook has a massive user base and is very hard to defeat, because there's no way in for competitors. But Bitcoin has no central servers, no one company calling the shots. Someone, somewhere could decide to exchange Bitcoins for Xcoins. Then Xcoins could exist next to Bitcoin, no problemo.
To me, the most revealing part of this post is how much of a difference the profile picture made: adding a fake beard increased response rate threefold!

I am often told that I look very young; I am 27 and people think I'm 20. I've never really thought much of it, but it might explain how disrespectful some people (especially in academia) have been treating me. Maybe I should grow a beard.
I wouldn't put much stock in that.

If the results were 2/17 vs 7/20 that would not be a statistically significant result; in any case, there could be other major factors such as time-of-day and experience-building which are not discussed.

The job applications limit and 2 week period of this trial suggests that the sample sizes were not any bigger than that.

It's likely just a coincidence.
Other exception: litecoin (or, well, just scrypt in general). Things may change eventually, but for now the scrypt hashing algo has staved off ingress of ASIC miners. This matters because ASICs are not commodity hardware- you need deep pockets to play that game. That takes us right back to more centralized control of the network.
No, you end up with a single wallet with multiple addresses. FWIW, by default, every time you make a transaction you send the change to a new address, too.
What is the best approach evaluate criticism on your product?
Engineers and programmers needs to overcome many obstacles to build something that they are proud of. It is very easy to become defensive when people criticize your products. When you are overly attached to your product, you might be blind to its problem. Look at what happen to BlackBerry.<p>Is there any good approach to maintain a objective view so you have better chance of recognize problems regarding your product?
Wow, $60/hour. Define "poor".
I don't think you understand proper exception handling. Catching and wrapping DiskFullException is pretty pointless because what are you going to do about it? Nothing. It's nonsensical for a preferences class to deal with that situation. Instead let it bubble up and so that the caller has the option of handling it, for example by showing a dialog "Delete temporary files and try again?"

You'll never be able to catch all exception. In addition to your DiskFullException, you have PermissionDeniedException, NFSException, NullPointerException, InvalidFilenameException, PathToLongException ad infinitum. By trying to be "nice" by trying to wrap all those exception you are actually doing your api users a great disservice.
Why can't I up vote this ?
Citation please? Popping up a dialog isn't something Java-specific. I don't believe MS would license those patents to implement UAC either. This just sounds really improbable.
Hate to burst the Litecoin != ASIC bubble, but...
http://www.coindesk.com/asic-miners-litecoin-soon/
You can use just one. Some like to play it safe, though, and keep an "active wallet", where they have a small portion of their money (especially if they have a lot of Bitcoins), and they keep the rest backed-up (and encrypted) and somewhere safe, locally, to protect themselves against hacks.
Ask HN: Help me find an article posted some time ago
I am looking for an article posted some days ago, I would say around 1/2 weeks ago, it was showing some javascript or similar and had a beautifully commented source code, i remember the documentation was on the left and the code on the right. I don't really remember what it was so if someone does it would be amazing. It was not on codepen/jsfiddle etc...

i know it's a long shot but I am can't really find it with hnsearch...

Thanks

EDIT: I found it, if you want to see some nice documented code see OriDomi:

http://oridomi.com/docs/oridomi.html
It's very long? Do you have the patience of a gnat? This is exactly the kind of journalism that should be championed instead of short, fact-less articles about the latest celebrity to accidentally release a sex tape.
The ups and downs of the HTTP header
so a wallet is just a bunch of addresses?
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming; but who does actually strive to do the deeds; who knows great enthusiasms, the great devotions; who spends himself in a worthy cause; who at the best knows in the end the triumph of high achievement, and who at the worst, if he fails, at least fails while daring greatly, so that his place shall never be with those cold and timid souls who neither know victory nor defeat."

"Nelson Mandela gave a copy of this speech to François Pienaar, captain of the South African rugby team, before the start of the 1995 Rugby World Cup"

http://en.wikipedia.org/wiki/Citizenship_in_a_Republic
BoA Merill Lynch current price is 231% of it's target price.

Best regards,
Bitcoin.
The assumptions they made are quite insane. To calculate how much value in bitcoins is required to facilitate online trades they fixated on proportion of total US households cash and deposits to their total expenditures. They assumed they will have amount of wealth in bitcoins that's in same proportion to 10% of their online expenditures. Then they extrapolated it to whole world.

Do Americans actually have cash and deposits at all? I was under the impression that most of their household expenditures are either directly coming from their paycheck or are credit based.

Not to mention that they "calculated" (how? they say that they divide 11trn by 0.7trn to get that) proportion to be 0.07 then they sliced it down to 0.04 because Americans have recently started saving money which is unusual.

They also assumed that shops will convert bitcoins back to dollars immediately.

When assessing bitcoins as a store of value they state bizarre things:

"Furthermore, the reputation of gold as a unique and safe store of value has been
growing for the past ten thousand years. It will take some time for Bitcoins to
acquire that reputation. We don’t know how to quantify the value of gold’s
reputation, but this reputation is probably the main reason that its value is 60 times
that of silver."

Personally I though that the reason gold is many times more expensive than silver is the fact that silver is vastly more abundant.

So for me it sounds more like: "If two questionably likely events both occur, BAML think that Bitcoin might have a maximum value of 1300 USD. Unless of course it turns out that pigs actually can't fly, then it could go higher."
I worked with PHP for a while and I found it to behave like you describe: I rarely found bugs in code once it reached a stable state. I haven't used Python (I might be the only one), so I can only speculate on whether it's truly more bug-prone than PHP. But one possible reason could be the relatively straightforward behavior of PHP, and C code. (My experience is with non-OO PHP, mainly from hacking Drupal modules, which might make a difference). C and (older) PHP have a small number of data types and few or no hidden behaviors. Neither is OO. I wonder if OO might contribute to long-term instability, because since OO languages are rich in types, they tend to let the language make inferences and allow types to alter the meaning of syntax. For predictable code, you probably want a language that isn't too smart and always gives the same meaning to the same code.
There is a node js driver and even an integration into JugglingDB. See https://www.arangodb.org/drivers. And in the end, it's all bascially HTTP calls that you are making to query the database.
Companion read, "Python Packaging: Hate, hate, hate everywhere" by Armin Ronacher (June 2012):
http://lucumr.pocoo.org/2012/6/22/hate-hate-hate-everywhere/
I agree, they could exist. But why would anyone want Xcoins, Ycoins or Zcoins instead of Bitcoins? It's not a choice between meaningless desktop wallpapers or your favourite cheeses - this is a currency. And for that you need faith that other people will accept it.
Is the wallet just a local concept?

The understanding I got after reading those guides online is like this:

the addresses are public keys

the blockchain knows how much money every address owns

the wallet holds the public and privat keys

is this right?
You are in for a treat! Watch "The Trap" and "All watched over by machines of loving grace", two documentaries also by Adam Curtis.
Interesting reading, coming from BoA, but nothing really new there, except from a rough estimation that BTC's intrinsic value is/will-be ~ 1300 USD, which could be way off the mark.

So nothing new anyway.
So you'd like your genome to be in the hands of a Cayman Island company?
Yeah, make a decent video and add an annoying soundtrack that's louder than the speaker. Unwatchable.
I was about to post something very similiar.

There's nothing uniquely strange about Python's list type being backed by an array: that is even given its own type in Java (ArrayList: http://docs.oracle.com/javase/7/docs/api/java/util/ArrayList... which implements List<> so it "is" a list).

I think the perhaps weirdest thing about Python's list API is that it supports indexing, which is rarely done on linked lists due to the cost involved. In Python I got the feeling that it's known/expected that indexing is fast.
Can anyone explain to me, what all this has to do with "adults"?
How does removing checkins and making one big group for dinner have anything to do with adults?

I really don't get it...
How this is relevant ?
Well, to explain the phrase "My results are generally very robust to choice of prior parameters"?, just look at my section on what happens if you pick different priors. In the example I give, the startup guy and the VC choose different priors but the posteriors are nearly identical.

I believe that's what RA_Fisher was describing. That exact situation happened to me and my cofounder a few days ago. I'll be blogging it soon.
Clint Eastwood's movie Invictus has Morgan Freeman giving an excellent performance as Mandela - the film is centered on the true story of how the Springboks won the Rugby World Cup in South Africa but it does this in the context of the wider situation in the country at the time:

http://www.imdb.com/title/tt1057500/
The suit is back! Seeing this exact headline about a blowout sale all over the web[1] at once, reminds me once again of paul graham's submarine - http://www.paulgraham.com/submarine.html

[1] https://www.google.com/search?q=Moore%27s+Law+Blowout+Sale+I...
Provided there's no conflict outside of python, that is. This is also sounds like a deployment scenario, in which case it ought to be non-interactive, in which case you can set sys.path in your entry point. That's the point.
I'll say this much. The article you linked to is much, much easier on the eyes.
All of his films can be watched here: http://thoughtmaybe.com/by/adam-curtis/

You can find them on archive.org too. He tacitly encourages people to share and distribute them.
Ask HN: What could be the next technology boom like bitcoin?
Bitcoin is here around 4 years. Would you expect it to explode in value 3 years ago ? Potentially.
I assume, that next technologies which will boom in next years are already here, in its infancy. What do you suggest it might be ?
I agree somewhat with the documentation part. The getting started is nice, but the gap between reading about concepts and the actual references, how to use them is a bit large at times. Best would be a reference based documentation, e.g. as in http://underscorejs.org/
Well, he seems to be complaining about exactly that, "Python lists aren't lists because they're implemented internally as arrays". I agree that this article is pointless.
Git? We're hustling out our MVP to disrupt the industry paradigm, we don't have time for version control! Next you'll tell me hacking on our live server is a bad thing...
How to create a Twitter proxy for mobile development
I read the wheel PEP. I got to the part about munging #! shebang lines and stopped reading. Shebang is just totally irrelevant outside of interactive command line convenience. Just run the python you want to run explicitly! Just like java.
It's a shame they don't offer torrents.
And just what are they going to do with it? Target me with a biologically engineered virus? I'm shedding DNA with every breath. Your DNA is currently private thanks to security through obscurity, but if you've ever watched GATTACA, that security will disappear as DNA testing becomes faster, cheaper, accurate, and ubiquitous.

People really need to get over paranoia over this and focus on what matters: laws against discrimination based on genetics.
Thanks a lot for your comment. I'll definitely keep that in mind. The reason why I've become so obsessed with this idea is that maybe the events organized within the school, or all the other smart people around could provide me a network. But again, thanks for taking your time to write this.
I think you may have hit on something subtle. To me, it's better to have two completely distinct modes: I'm either dealing with errors or not. Then if an error occurs, I can expect one of two things -- either it should be handled or it should crash. I've noticed in some exception-using code I've encountered that a lot of times, error conditions are tested and then not really handled -- they're either silently ignored, or dealt with by some half-measure. To me, silent failures are much more insidious than crashes. This halfway style of error handling is the worst of all worlds, IMO, and it might be encouraged by exceptions. Java forces you to acknowledge errors that you have no need to, and probably pushes you toward this gray area when you're not sure how to handle things yet. Then, later, it's totally non-obvious what's truly handled and what isn't. It also clutters up your code. Clarity is often more beneficial than reflexive error-checking.
Newbie Python question: What does a Python List do that a Ruby Array doesn't do? Regardless of the implementation, this is a question of the abstract behaviour of a data structure. If a Python List is functionally equivalent to an Array (which is a sequence) then why coin it as a "List" ?
Kiwi IRC
A list is called a list in python for the same reason the term dictionary is used -- these are the high level concepts for abstract types. The specific implementation details aren't too important, as often times you just want "the fastest in general" which python does fairly well given the constraints.

As an example, a dictionary is implemented by a hash map, but after investigation, CPython may very well decide that any dictionary smaller than N is implemented as a constant table lookup. It wouldn't be renamed to TableLookupToHashMap. That would be silly.
Nope, PYTHONPATH just prepends to sys.path. Does exactly what you say it doesn't do. It's virtualenv that can drop the system, thus necessitating a local copy.
Where do you see this company in 1 / 3 / 5 years ?
I fully agree. A lot of people say Moore's law is the transistors density doubling every 18 months (or 2 years, it varied). But this misses the economic angle that was present from the start: Moore talked about the density of the least cost process.

So Moore's law stops either when we cannot cram more transistors in a given area, or when we cannot increase density without raising the cost per transistor.
From what I've read I agree it's the economics variant that will end Moore's law. We'll have ways to shrink / increase performance, but not sure if there will be enough market to justify the rising costs.

A lot is riding on the continuation or end of Moore's law, so we should expect a lot of spin on this issue. I note that Intel claims they will decrease the cost per transistor until 10 nm at least, which is not the case for other fabs. But those other fabs are more transparent on costs than Intel, and Intel said they will produce a low cast modem+AP chip at... TSMC. Mmmm...

We have very interesting times ahead of us. Not only in silicon: a lot of progress in all areas was fueled by cheap computing power. A halt in silicon progress would be felt everywhere. Case in point: I'm in telecommunications. Every big steps was enabled by more computation per watt. That's what enabled to move from single channel TDM to CDMA to OFDMA with wider bands. If we can't increase exponentially the amount of computation per watt, then don't expect an exponential increase in wireless throughput either. It will progress, as everything, but at a slower pace.
A new version of the GPU language Accelerate
Could you share how you got the $60 number?

I recently relocated to a low income country and guestimated my needed hourly rate to be around $20 when doing a 30 hour work week.

Biggest differences that I could think of is that I bought my house mortgage free and that I have a partner that also makes $20 per hour.
Crisis Management - The Pacifier Model
Fraud fears grow in Bitcoin's murky world
Show HN: NetLua – Completely managed .NET Lua