skysight-inc/HackerNews huggingface dataset:
I'm very confused by your first sentence. If there's a shortage of something, shouldn't I not want that thing if I can help it?
Urgh, why didn't they just follow the conventions set by Q or bluebird?

The fact that I've got to pass a resolver/rejector callback in to the promise when I make it (isntead of, say, creating a pending promise object and handing it off to other things to resolve or reject) is really ugly. Like, really, really ugly.

It's not a horrid syntax, but I much prefer the ability to treat a promise as just a boring little mutable-once state machine, which I can pass around to others if needed.

Consider:

function qPromise ()
{
var ret = Q.defer();

runNodeback( function _roflwaffles( err, result) {
if (err) {
ret.reject(err.toString);
} else {
ret.resolve(result);
}
};

return ret.promise;
}

function ecma6Promise() {
var ret = new Promise( function _lmaonade(resolve, reject) {
runNodeback( function _roflwaffles( err, result) {
if (err) {
ret.reject(err.toString);
} else {
ret.resolve(result);
}
};
});

return ret;
}

Alright, not so bad...but note: I cannot easily pass that promise down into helper functions to do more work on it--I have to somehow cram all of my scoping and functions and nonsense up into that callback at the time of creation.

Also, how easy is it going to be to swap the parameters of the promise callback (which came first, without thinking--resolve or reject)?
Does it mean even companies like Mozilla/Apple pay Microsoft for the patents for FirfoxOS/iOS phones ?Or is it only android phones that end up with heavy patent fees?

Why are the list of patents kept so confidential?
There are posts on HN from people asking why they should diversify their workforce; stating that they would feel uncomfortable employing someone who disclosed a history of mental illness; asking why it's acceptable to give womenTernity leave (and blaming the lack of women in tech on those women for becoming de-skilled during motherhood); and the "cultural fit" thing is really strong on HN.

SF companies do well on one measure of diversity (they employ Asian males) but pretty poorly on other scales (women; older people; people with disabilities, etc)
"crime" is low, mainly because you can get months in jail for kissing in public, and as for women, well, that's probably best avoided, since they (the Dubai state) have a really backward view of women and what they should or shouldn't do.
FreeBSD CheatSheet
No, you should just post whatever you find interesting and the site allows you to post. If it gets upvotes it means the community likes what you submitted. I'd say karma whoring is encouraged.
Because it's a massive impedance mismatch for most nontrivial cases. Relational and object systems have never played particularly well together. The contention is, and it's one that I agree with, is that the tooling that inevitably builds up to address this impedance mismatch is too hard to usefully generalize in a way that doesn't end up taking over your project.

(This is why I dig mappers for document-based databases and avoid them for relational ones.)
And Google makes all of their money by scraping other websites while not allowing you to scrape their website.

And Apple makes all of their money by locking down their hardware and software and creating a virtual monopoly for themselves which they then proceed to abuse their customers with.

But Microsoft is just the worst for licensing their patents.
Watts gives great introductions to Zen concepts for the western audience, his The Way of Zen is a fantastic book for that purpose.

If you find the "theoretical/analytical" side of Zen interesting, look into Seung Sahn's teachings. I recommend the book Dropping Ashes on the Buddha. I've yet to come across more direct pointing that's in the form of text.
Until they work out the heating issue and start using an external power supply, they possibly could trigger it manually (picture instead of video).
> it'd probably be just like we never existed. Or barely.

The Anthropocene would leave a distinct layer in the fossil record.

http://www.economist.com/node/18741749
Stealing is the future of retail
Oh... That's a bit surprising, then. I didn't realize starting packages in SF has gotten so high.
He certainly does take a potshot at reductionism and science's prolific use of that thinking:

--- While it is refreshing that Zen philosophy is supported in many ways by present scientific knowledge, it is also a critique of scientific thought. The scientific tradition requires things up to be cut up — both mentally and physically — into smaller and small pieces to investigate them. It suggests that the only kind of knowledge is empirical and that the rigid laws of scientific method are the only kind that are valid.

Zen implies that this is like throwing the baby out with the bathwater — scientific thinking might be immensely useful, but it also does violence to a meaningful conception of life. It tends to screen out the essential connectedness of things. We live in an imprecise world. Nature is extraordinarily vague. Science promotes the idea of hard, clear ‘brute facts’ — but some facts are soft. A ‘cutting-up’ attitude to life gives us dead knowledge, not live knowledge.---
The editor doesn't have to do crypto itself to know it's dealing with sensitive content. A somewhat overblown concern in the age of encrypted swap, anyway.

Cleartext doesn't have to be saved to disk for a separate tool to be used. You can pretty much use GPG from vim as-is just by piping the buffer through it: ":%!gpg -e -a -r yourself" and ":%!gpg -d". The vim GPG plugins can take care of the remaining annoyances.
vim ships with xxd since decades
> No, you should just post whatever you find interesting

That's terrible advice. No wonder /new is full of shitty submissions.
Thank you for your thoughtful reply. It matches my thinking, except one part -- I'm constantly wondering if implementing the MQ over an RDBMS is a more pragmatic approach for us at this point.

Conceptually it's still a queue and still affords us the benefits of decoupling. Downside is probably locking issues in the DB. Upside is that is uses components in our stack that we already understand really well.

Thoughts?
I'd need evidence for that claim.

The data protection directive was passed in 1995, almost two decades ago. Google didn't exist back then. That would have been the EU playing a very long game, not to mention requiring amazing precognitive powers.

On the merits of the case, the ECJ's judgement was about the narrowest judgement that was possible given the text of the directive.

The part of the judgement that created the issue we're looking at now was that the ECJ decided that Google was subject to jurisdiction of other EU member states for purposes of data protection if it did business there (e.g., by selling advertising there). While there are some tricky legal issues involved here, that was hardly an outrageous ruling, given the goals of the common market.

Suddenly Google couldn't hide behind the Irish courts anymore, but people with a complaint were able to bring suit in their own country.

You can make a good argument that the outdated data protection directive is in dire need of revision, but claims of subterfuge by EU bureaucrats are tinfoil hattery in this case.
I'm aware of the situation/culture having lived there the majority of my life.
Because it gives them something to bitch about.

I bet that all guys in that company had nicknames. She got one for someone who was considered the most beautiful person the planet - and she's upset about it.
Brian FTW!
How Boulder Became America's Startup Capital (2013)
It should be pretty simple to add collaboration with node and something like socket.io. We are working on a project using threejs, node, and socket, just no Oculus support (yet.)
That's a very good point Patrick. It was intentional because I didn't want to add extra buttons and clutter the interface, but I might rethink it. It's always tricky to add functionality without sacrificing simplicity.
Ello: Be ready to say goodbye
The history of our world in 18 minutes
That is why neovim maintainers decided to remove encryption from the codebase.

check https://github.com/neovim/neovim/issues/694 and https://github.com/neovim/neovim/pull/699
That's much better than everything I found during my short research. Well done!
The dogma of "cofounders or death" is overrated. If you have the prototype, customer pre-orders, and investors, get some cash and hire engineers.

Sure, if you come across someone with an amazing track record by all means re-evaluate this, but I think you can get away as a sole founder with employees here.

It seems you've come a long way. Great job.
>> The main change, as I see it, would be a sudden dramatic reduction in the amount of carbon dioxide entering the atmosphere. Humans burn fossil fuels. That would stop.

That's assuming we disappear into oblivion w/o having to decompose or otherwise ignoring biological/chemical reactions that usually follows our death ...
That's why I trust git more than anything else, especially compare to the typical "Anti-virus" software.

git is written by Linus, open source, whole algorithm is based on file content change detection, base on hashes, etc.

If my server software is corrupted initially by XXX gov agency at the Debian website, well, I can't do anything about it. If someone did management to add any additional software to the server after I add all file contents to git and clone it to a different server, I have strong confident I can detect any changes happen in the system with ease.

Patio11, I have great respect for you works, blogs, etc. Assume you can hack/overwrite any piece of code in that server to anyway you want, what kind of changes can make so my git clone/backup system failed to detect your changes?

Even if you can hack the git executable to tell me nothing has changes, I think when I do a remote git pull with the original git binaries, I can see the modifications. Right?
To see your keyboard, I can imagine a few hacks but all of them are a bit awkward:

- Have a "keyboard cam" that only shows you the keyboard (and your hands when they're over it) displayed at some natural spot in the VR.

- Have a keyboard with capacitive sensing keys, reproduced in the VR with keys highlighted as a function of the proximity or contact with your fingers.

- Something like this [1]. Typing in thin air or on a table probably wouldn't work very well, but if the leap motion senses the keyboard as well as your hands, and the whole thing is reproduced in the VR, that might work.

[1]: https://www.youtube.com/watch?v=TRhoQ6o4mI8#t=142
I just saw this video earlier today: http://www.dailymotion.com/video/x276y8d_et-si-l-humanite-di...

It makes me realize that temperature would slightly go down since we won't heat and pollute our planet anymore!
while it's neat that you can type code into a window in the VR space, this is far cooler (just add VR):

https://www.youtube.com/watch?v=FfxG_uB66vI
Wear a burqa, problem solved.
>> "... sending an always-on video stream to home base."

The trouble is, so long as the cops have the ability to switch off the camera/pull the battery/cover the lens, we lose all the benefits of wearable video for police.

Before beating up Rodney King 2.0, they just flip the switch. Then in court, "The officers' cameras had a technical malfunction at the time and there is no video of the incident."

But if they want evidence of you doing/saying something incriminating, you bet your boots those cameras are rolling.

This is actually an interesting systems design problem, wherein the users are adversarial but in total control of the hardware.
I think that articles about lawsuits should allow readers to actually see the lawsuits themselves, and should always at least mention the case number. So, in that spirit, here it is:

http://www.plainsite.org/dockets/1zzhdj2de/louisiana-eastern...
I apologize, we received a lot of intern applications and we are really just starting the intern search. We will get to yours for sure and send you a response. Or you can just send me an email at skhalsa@climate.com and we can go from there.
Not long ago all the software one wanted to run[1] was only available on Windows. Then the Internet happened, then[2] the open source movement, then Apple's return from the brink of death. One doesn't need to be very old to know what it feels like.

[1] to a first approximation of "all"

[2] to a first approximation of "then"
> the lying bird will first evauate the question in the exact same way as the truth-telling bird, to arrive at its answer. Then, instead of telling that answer truthfully, the lying bird will lie

A liar's goal is to fool you, not to predictably invert answers. Actual lying would involve evaluating the query exactly as the honest bird would do and then inverting the answer. I would think this means there is no winning in a single-question scenario, and winning strategies for this type of game necessarily rely on some defect of the liar (which is why they are counterintuitive).

As such the proper course of action is to ask no questions, pick up both birds/girls, and head towards a door. If they violently protest, other door.
I have looking into tripwire before. It is old and complex. Git uses the hash of all files also and I am use to it.
Keynote: Dries Buytaert. Scaling open source projects
Majorana fermion
Unit Testing with Flask
I quit for $20k more than I was making. The extra $20k made me pretty happy.
ironic :)
Dubai's laws are atrocious. It's trivial to become implicated. Severe imprisonment of citizens and unwitting travelers alike is the primary reason to stay out and not support Dubai's economy. Only an illusion of legal modernity exists through wealth. Google Glass with facial recognition is an excellent fit.
Bitcoin falls below $300, lowest in 11 months
But it is a specialization.
It might be better to include a parachute above the rotors.

The Cirrus SR22 single engine aircraft has this (their system's called CAPS.) It lets you sail to the ground in the event of some catastrophic failure preventing you from landing the aircraft safely.
http://en.wikipedia.org/wiki/Cirrus_SR22
They are working to add Novell & Nortel patents to the list:

http://www.computerworld.com/article/2475344/e-commerce/micr...

http://en.swpat.org/wiki/Software_distributors_paying_Micros...
I first learned of Alan Watts by hearing samples of his lectures in Starfucker tracks and googling the words. Here's an example, "Hungry Ghost" http://youtu.be/qPjZu14uAfE
Because there are too many people who suddenly got terrified about the fact their faces are visible in public and they could be recognized.
"he picked up his racist habits in prison" is different from "[his racist habits] got a lot worse in prison", so it sounds to me like you shifted your stance.

We are, after all, talking about someone who published Kathy Sierra's "address and social security number, together with publishing fictional abuse allegations concentrating on Sierra's daughters", and then "later reversed himself and denied responsibility for posting Sierra's information."

It's hard then to know which of his positions are a facade and which are true, or if prison made him somehow "worse" or if he's using that as a justification for his change when there are other reasons for it.
You mean he got what wrong exactly?

In 2012 the TSE did call professors to test the system, he did demonstrate an attack that recovered the identity of most of the votes registered at the device's memory, and it was widely published. Since then, there was no other test.

It's clearly an unverifiable system, where we don't have even guarantees that the tested software is the one running on it. And the government is not responding to request of improving the overall system.

What part exactly are you saying he got wrong?
Just a wild guess, but I wonder if there could be a nice connection between probabilistic programming and logic languages like prolog, if only due to the fact that both Bayes graphs and unification both have this "run forwards and backwards" characteristic that is so unlike imperative programming
It's patchwork as doing all this is not intuitive, it needs to be explained, spec'd out, needs examples and requires a learning curve. I'm fine with the entities behind Stellar and totally not fine with the shady, questionable, and faceless ones behind Bitcoin! The only character I cared about within Ripple is now with Stellar - Jed McCaleb. Last thing - the distribution is not Ripple's fault, it's the uselessness of cryptos for the 99% of the population, which is leading the imminent crash and burn across the board!
>>Last year Dubai announced it would supply its police with $400,000 Lamborghini sports cars for use at major tourist sites. Dubai's deputy police chief said the vehicles were in keeping with the Gulf capital's image.

Lamborghinis are fashion or do they have specific functions being part of police scheme of things?
A key point is that the distribution used to generate the coefficients is the uniform distribution over an interval. What happens if, say, a cauchy distribution (centered around 0) were used?
I think the comments so far have been telling you to focus on your startup/idea and not worry about "being in Silicon Valley" - that's more or less right.
Let take another view of this: Instead of trying to secure h1b or equivalent visas for you/your team - how about joining an existing team here in Silicon Valley. I am a tech founder looking for "co-founders" to join me. Happy to discuss more including potential ways of sponsorship/co-working remotely. You can reach me at paymentsguysv@gmail.com
I'd need a blog for that and the time to do it :)

Not a bad idea though.
There are two functions here, the first

randomPoly[n_, x_, {a_, b_}] :=
x^Range[0, n].Table[RandomReal[{a, b}], {n + 1}];

Simply generates the expressions {x^0,x^1,x^2...x^(n-1),x^n} using 'x^Range[0,n]' and multiplies that list elementwise with a list of random numbers (in the range a,b) of the same length (Table evaluates an expression over a parameter range, in this case, the parameter doesn't matter, he just wants RandomReal evaluated n+1 times). This will generate a random polynomial of order n with coefficients in the range {a,b} if you pass in a symbolic variable for x_.

Show[Graphics[
Point[{Re[x], Im[x]}] /.
NSolve[randomPoly[300, x, {27, 42}], x], Axes -> True]]

Now he invokes the ranNo, it really doesn't matter whidomPoly to generate a polynomial of the symbol 'x' of order 300, with coefficients between [27,42]. He passes them into NSolve which returns a list of replacement expressions for x (NSolve assumes it's being asked to find the roots of the expression in the symbol variable 'x'). Mathematica has this idea of a replacement operator (/.) that will take one expression and replace all occurrences of a symbol with a new expression. If you provide a list of replacement expressions, you get a list of expressions as output. So the output of NSolve is something like

{x->1+i, x->2+i} # Except it's going to have 300 entries and be closer to 1

And he replaces the expression like

Point[{Re[x], Im[x] }] /. {x->1+i, x->2+i}

which would yield

{Pint[{Re[1+i],Im[1+i]}],Point[{Re[2+i], Im[2+i]}]}

Which results in

{Point{1,1},Point[{2,1}]}

He then wraps them up into a single Graphics object and displays it.
Windows 95 on Android Wear [video]
Machine Learning with Knowledge Graphs [video]
On the contrary, I think this shows that despite the strong backlash that Google Glass has been receiving, we are beginning to find legitimate use cases where such technology will soon become indispensable.
The mystery egress
That metaphor - that non-cashier mediated sales is 'stealing' - was also the premise of this IBM ad from about 10 years ago, http://www.youtube.com/watch?v=eob532iEpqk .
The best public source on recent face recognition performance is NIST's latest tests:

http://www.nist.gov/itl/iad/ig/frvt-2013.cfm
> What happens when someone is falsely identified?

I'm guessing the same thing that happens if someone is falsely identified without Google Glass. Why would it be different?
The badge of ignorance
There have been various attempts to build logic languages that deal with uncertain information (eg http://www.is.informatik.uni-duisburg.de/bib/pdf/ir/Fuhr_99a...).
How a Trillion-Dollar Market Remains Hidden in Plain Sight
> I don't understand why Google has banned face recognition apps on Glass.

In ten years from now, everybody will probably wonder as well since by then, this technology (Glass + facial recognition) will most likely be mainstream.

But right now, it's prudent from Google to make a theoretical stand against that while Google Glass gains traction.
I know it very well, as I live in Luxembourg[1] and I have to explain it to everyone I spoke to in my native country, Italy (normal questions are "so, how is it your life in Bruxelles?" "what about your living in Belgium" etc..)

So thanks for your unneeded geography lesson and now if you would be so kind to open the link you'll read why Luxembourgish newspaper were talking about some pesticide in a Belgian lake...

[1] and if we want to be really really precise, the south province of Belgium at the border with Luxembourg and France is called Province of Luxembourg, so we should talk about Province of Luxembourg and Grand Duchy of Luxembourg.
I would add the free, short, book "Mindfulness in Plain English". It changed my life.

Here is the PDF:

http://www.urbandharma.org/pdf2/Mindfulness%20in%20Plain%20E...
Timeline of 20c art and media
The arc of development is clear. This is only a small beginning step.

Existing boats are an easy low risk low cost platform to develop on. Expect air, submersible, and larger surface units with the same capabilities within time.

Thought no sexy, the same sort of technology will be used in logistics. Some argue the truck and the liberty ship won world war II. Automated over the beach resupply without paying for air assets would be a large cost savings and allow resupply of larger and heavier inventory items like bulk fuel, food, aircraft parts and tanks.
Ask HN: What to learn and where to focus your time and attention?
I a software engineer with 9 years of experience, mostly in Java/Python space. Recently I started learning C for fun. I was beginning to enjoy it. Then someone claimed I need to know AngularJS, so I tried that. Suddenly in an interview I was asked if I had ever read 'Clean Code' book (which I hadn't). Another friend said I should learn a cloud service for web app hosting, so I delved into Google App and Compute engine. My boss said Android is hot and I should pick it up, I immediately installed Android studio and tried working on it.

Now I feel stuck and in a quagmire. I have a problem of attention deficit and this quandary is causing me lose sleep. I am passionate about technology and don't mind learning anything, literally anything. But where to focus time and efforts is something I have never ever been able to figure out. The result is that I know very little about a lot of things (very very little), but nothing substantial about almost anything. This is driving me crazy. Any suggestions from anyone who faced this?
Police need to be able to give chase to others who are speeding (away) at 150mph.
In my experience, Zen and Vipassana take you "up and out", which may be why they become a path of ascetism and negation. Advaita is a more embodied practice. Advaita Vedanta (also known as nondualism) has been called the "cream of the Vedas." Zen is more like skim milk (also nutritous but not as tasty). Awakening or enlightenment is actually far more common than literature leads people to believe. Most people just continue to live ordinary lives (enlightenment doesn't give you superpowers or turn one into a saint). Some become teachers and you can find them in most large cities (and on YouTube). The "Buddha at the Gas Pump" site collects lots of interviews (batgap.com) and there's even a snarky ratings site at Spiritualteachers.org. Not for everybody, but then what is?

I used to work in the enlightenment industry.