skysight-inc/HackerNews huggingface dataset:
> lack of women in the industry <--- means an increasingly out of whack male:female ratio in the city which has many problematic pile-on effects.

What's funny is that the skewed gender ratio in the south bay is probably what propelled a lot of male techies into the city in the first place.

As a young guy living in the Bay Area, I'm beginning to think I'll have to move to the east coast at some point just to find a wife.
Creating digital media from educational lectures
No, you don't have to know exactly what to do. The key idea is that you can always correct it later as your understanding about the problem grows, but you can always start by writing the code the way you think its going to work (sort of like a plan)

High level overview:

var form = renderForm();

form.onAddressEntered(function (address) {
renderMap(address)
});

How do I show a form? Ah, I do that part in HTML, so no need to renderForm()

form.onAddressEntered(function (address) {
renderMap(address)
});

How do I access the form? Hm, its not an object. Maybe I should make it one, maybe not. I'll simplify this time, as I don't know what the future will bring:

onAddressEntered(function (address) {
renderMap(address)
});

Okay, so how do I run something when an address is entered? (reading, experimental code in REPL). Right, so the best way is apparently by attaching to the submit handler of a form. Oh, and I also learned that the handler takes an event argument and I need to call e.preventDefault()

function onFormSubmit(form, listener) {
document.getElementById(form)
.addEventListener(function(e) {
e.preventDefault();
listener(e);
})
}

Lets modify the original code then

onFormSubmit('address', function (address) {
renderMap(address)
});

Wait, how do I get the address?

Lets see if there is a pre-made function to serialize a form. (looks up) Ah, found it.

Lets modify onFormSubmit again. It should now add an event listener to the selected form which serializes the form and prevents the default submit event.

function onFormSubmit(form, listener) {
var form = document.getElementById(form);
form.addEventListener(function(e) {
var data = serializeForm(form);
e.preventDefault(); // which is submit
listener(data);
})
}

Back to the original code

onFormSubmit('addressForm', function (data) {
// lets make sure we got that first part right
console.log(data.address);
renderMap(data.address)
});

In the process, a neat utility for forms came out - a function that attaches a submit listener that gets all the form data.

So how do I render a map? Etcetera.

I think its important to always have a written-in-code high level overview of the process, even if it turns out that the current high-level overview is potentially wrong. You can always change it as your understanding (of both the process and the tools) grows. But at the end, that overview becomes your code, and the end result will unavoidably end up as understandable as your current understanding of the entire thing.

The hardest part of this process is to stop worrying about getting all the details right (at the beginning) and only focus on whether the code you're writing is describing your understanding of the problem well.
Well, in some contexts, yes, although to be honest I don't use Vagrant myself, so it's hard for me to compare use-cases.

I see Nix as much-needed conceptual competition in the ongoing package-manager vs devops-deployment dogfight, to both package managers (rpm, yum, zypper, dpkg, apt-get...) and devops tools like Chef, Ansible, Salt, and Puppet. Nix is both, and does cool things like try to resolve a binary that will work on your architecture on the fly at runtime, and compiling one if it can't find one in the repo. It's just... better. Go try it.
However, I can say with 100% confidence that the city has become less interesting and more homogenous since 2008. Many of the things that I found culturally interesting in San Francisco have been pushed out by the skyrocketing costs of living here.

Could you perhaps list a few of these "culturally interesting" things that existed in the pre-2008 period?
Because I am left puzzled as to what was so vibrant back then. I have lived on and off in the Bay Are since 2001 and in SF since 2005 (in Potrero ,Lower Nob not Tender-Nob. Hell no! Not Tender-Nob. If you think it is a cesspool now, you should have seen it back then).

Whenever I read "culturally interesting", alarm bells go off because it is usually a couched way of culture peddlers saying, culturally interesting to us - the few dozen scenesters who are so firmly ensconced in this made-up brand of stylized misfitdom. These non-tech scene people whose coolness is threatened by the addition of new recruits (and heaven forbid they be upwardly mobile technology workers) that they actively shun all outsiders, who are trying to be "more involved in city life" and "start participating in city life."

When they say that we should be "more involved in city life", what they really mean is that you should fork over more of your hard earned dollars to preserve the culturally attractive blight and color of the city, so that they could continue to make merry, uninterrupted while we sit on the outside, looking in, but never really welcomed or accepted.
I guess I just disagree. To me, what you are "paid in" is the thing that changes ownership from your employer to you on pay day. It seems like you are simply insisting that "paid in" is synonymous with "priced in," in which case this debate is just a matter of semantics and not actually very interesting.

Also, to begin with, this conversation was about what I am paid in, not what my employer pays out. In your last sentence it sounds like you are confusing them, or using them interchangeably. I see no reason that they should be considered the same thing.
Very interesting. I wonder what the numbers are when the analyst from Jane's says:

And this is where you meet the second primary problem, which is technology. There are not enough aircraft carriers and amphibious warfare ships in the combined navies of the world to force an entry past the US Navy. There are not enough attack fighters to gain air superiority against the US Air Force.  This is how amazingly out of balance the military might of the world is today. "
U.S. law has never been compatible with E.U. data protection law as I understand it though, even before Snowden. The Europeans can't seriously have thought the U.S. wasn't engaging in surveillance (and indeed, they did know otherwise, with ECHELON), so what can be said for that other than "caveat emptor"?

Until multilateral treaties are passed dictating how one national jurisdiction will handle the data of another then every EU business using a US cloud service has just been using wishful thinking. And again, this was true even before Snowden.
Well, you don't have to participate in bitcoin as a whole, but if do participate in bitcoin, even if you don't participate in any fractional reserve schemes on top of bitcoin, you will still be affected by the monetary expansion caused by them.
> The NSA is our best hope in this war

Is this an inconvenient time to point out that we're technically not in a congressionally approved "war" with anyone?
Show HN: Feedback wanted for first iOS App (Community for the Curious)
Hi!
We've made our first iOS App and we would love your comments and thoughts on it. We'd love your opinions on the design, user experience and everything else that goes along with it.<p>Quindo is a community for the curious where people can ask and answer questions on-the-go, in short form.<p>Thanks guys :-)
It wouldn't require an army, it would only require that Millenials go into public service and vote. That is one of the cool things about our institutions, they are designed that way.
Bitcoin is what it is. It doesn't have to become the only currency. It's a useful, fungible, easily transferrable commodity.

The argument that bitcoin should not to succeed because it's deflationary is silly. Lots of deflationary assets exist and people are free to put their money into them, e.g. gold, stocks, and real estate. That doesn't stop people from transaction.
This post is hilarious because it's earnest.
I agree entirely, but how does this work for FOSS? IE - if we license our stuff BSD or MIT or WTF, technically we're allowing it to be used by the military or contractors like Lockheed Martin. Perhaps we need a license that basically states that our stuff can't be used for military application?
I found a pretty reasonable table of the count of various military bits and pieces by country on Wikipedia [1].

[1] http://en.wikipedia.org/wiki/List_of_countries_by_level_of_m...
If the NSA was engaged in hacking people's personal computers then the Fourth Amendment would definitely apply. Anything else is fair game and has been fair game (even the postal mail, which is protected by statute law and not the Fourth Amendment).
Road trips with multiple cars were down right dangerous. Cars weren't as reliable back then, and you could never tell if one car had disappeared from a flat or car trouble. Meeting points, pulling over, middle men for pay phone tag. The CB radio did change things -- watch movies from the CB era and you see the rise of information exchange.

Today you can still have a car chase on the I-70 in the middle of Utah and the cell phone won't matter to your plot, no reception, no gas either. Just need to change your setting.
From what I understand as a layman, it is overly generous to call the prime number sequences found by PrimeCoin "useful".

I do think that a hybrid proof-of-stake system is probably superior and more efficient. But bear in mind that capitalism involves lots of waste, from high-frequency trading, to plastic doodads that wind up in the trash, to the vast majority of advertising and marketing.

I'm absolutely in favor of a Star Trek / Buckminster Fuller neo-communism, if it can be achieved. In the meantime, we have to fail forward and innovate as best we can, and I think proof-of-work cryptocoins are far less wasteful in toto than the current global banking system. (What do you think it took in terms of energy and waste products to manufacture and distribute the dollars in your wallet?)

Note also that intentional wastefulness shows up frequently in nature: costly signals are honest signals. http://en.wikipedia.org/wiki/Signalling_theory#Costly_signal...
Think about what kind of business would benefit the most from your skillset and experience. Contact them and explain how you could improve one of their projects, services, or products. If you can write well and you know truly know your stuff, people will notice, but you have to put yourself out there and make it as easy as possible for them to say yes. It's a difficult technique to master, but once you do, the world is your oyster.
Is the Primecoin proof of work actually useful?
The products I listed above were all written off as being doomed to fail by many when they launched. They were incredibly risky products.
So, an interesting question is, how many people do you think believe that all COINTELPRO targest in fact were 'worthy of targetting'? For some targets, the number of people who today think they were 'worth of targetting' may be way different than the number who may have thought so at the time. (If MLK was held in as high regard 40 years ago as he is now, he would have had a lot less work to to do).
C According to Beej
Is not just "food" what is passed with breast milk, also beneficial bacterias
http://www.sciencedaily.com/releases/2012/04/120429234641.ht...
Not sure how that regulates itself regarding sex, age or health of the child, but seems that it happens.
John Mearsheimer called it the "stopping power of water," i.e. that "large bodies of water limit the power projection abilities of militaries and thus naturally divide up powers in the globe" [1]. It is a centre-point of his theory of great power politics, which I see more and more explicitly driving foreign and military policy in the U.S., NATO, and China.

As an interesting side point, a defence analyst in D.C. once quipped that until very recently (and perhaps even now) China lacked the naval transport capacity to invade Taiwan. The Taiwanese army, standing on the beaches, would always vastly outnumber the number of Chinese infantry the P.R.C. could simultaneously land. Thus Taiwan's strategic imperatives of building anti-shelling and counter-subterfuge capabilities.

[1] http://en.wikipedia.org/wiki/The_Tragedy_of_Great_Power_Poli...
"Many suspect that the US did not have nearly enough gold..."

That's an understatement! It was the national policy of an entire country i.e. France (well I guess not all their citizens directly practiced this suspicion) to withdraw its gold reserves in the US for precisely this reason, until nixon closed the window in 1970.
Yes, and by the time it's done doing that, you basically have a CSS processor that does all the cascading rules. Or, you could just use the CSS processor you will already be running on the same file. The whole point is that just inlining a constant value with a preprocessor will not work, because the values follow CSS rules.
Even if a serious flaw in the current encryption algorithm is found, it's feasible to create a new encryption algorithm and support both, simultaneously, allowing people to transfer their coins over to the new one.

If some quantum computing mechanism is developed that negates all cryptography entirely, then we will probably be living in a world with unlimited computing power and the robots will have taken over anyway.
I actually thought this was going to be an article about whether people with a smaller risk appetite have more stability, but nope, really is about chicken.
Male fetal DNA is found in the brains of mothers.

http://www.latimes.com/health/boostershots/la-heb-women-brai...
Networking Programming According to Beej
http://www.youtube.com/watch?v=4dWIQ9N_tSc
Yeah well back then we had actual opponents. North Korea are crackpots, and some fundamentalists prefer living with goats in caves to comfortable air travel, but never in a million years will those cranks be the threat that the Axis or even the Soviets were.
It does amaze me that a colossal nation such as China, with all the manufacturing resources at its disposal, has only one carrier. It almost feels like they haven't even bothered.

Perhaps building such ships would actually harm their international relations because it could be seen as a precursor to aggression.
Top 5 Best SMF Mods You Should Use On Your Forum | Onenaija Blog
That still doesn't account for the fact that having a mathematical model for inflation is hugely advantageous for a currency. Current btc should be inflating at upwards of 10% considering how little money movement there is in the network due to the investment hoarding.
What to ask yourself when creating a startup
> It doesn't have to become the only currency.

No, but arguing from the analogy of a gold standard hints at doing so.

> The argument that bitcoin should not to succeed because it's deflationary is silly.

Deflation and inflation are both, at the extremes, destructive. Bitcoin, by intention, is deflationary. However I have already demonstrated that it can easily turn inflationary.

Not through the dynamism of an open market, and not through the governance of a central bank. Simply because it is a closed system. Entropy will eventually destroy all bitcoins. And then what?
I don't think so. I think the reality is that the "yuppy" stereotype is much more malleable than people think. It only conjures up the image of a young guy with slicked back hair in an expensive suit talking about models and bottles because that was the most apt caricature of the investment bankers in, e.g., Manhattan. In SF, though, it's going to start conjuring up images of the coder typing on a Macbook in a coffee shop while casually dressed, talking about his startup ideas.

This is why I disagree with Crito and think the fundamental issue here is economic, not bigotry. The bigotry is just a concentration of vitriol against the offending party, and it morphs to reflect whatever that offending party might look like. There's a lot of emotional pain in being displaced. It's going to create resentment against those who are perceived as doing the displacing.
Could humans live to 500 years old?
Does the LLVM TBAA information work for non-function arguments? i.e. one can pull a `* mut` out of a `static mut` or from TLS inside a function, can we still tell LLVM about what this (possibly) aliases?
Possibly, but there is likely to be enough time to upgrade the network between the time it takes to crack a private to drops from 50 universes to 1 universe.

That is of course precluding the discovery of a major flaw.
The research backs up the claim that saturated fats are good for you "in regards to weight loss, cardiovascular disease risk factors..." I don't see how there are any conflicts.

Honestly, this is why I am glad I made these statements with a throw away account. Look your are obviously not interested in having your mind changed. You can keep eating the food that has lead to more heart attacks and other food related deaths per person than any other time period. Or you could be willing to learn a little. Learn that the latest peer reviewed research shows grain and sugar are causing the epidemic we are in. Research that shows saturated fats are what our ancestors ate [1] and are extremely healthy (if coming from wild or grass fed sources, thus high in omega 3 fats).

[1] http://thepaleodiet.com/wp-content/uploads/2012/04/CRC-Chapt...

At the very least do you not agree with the author of Brain Grain? http://www.drperlmutter.com/about/bio/

"David Perlmutter, MD, FACN, ABIHM is a Board-Certified Neurologist and Fellow of the American College of Nutrition. He received his M.D. degree from the University of Miami School of Medicine where he was awarded the Leonard G. Rowntree Research Award for best research by a medical student. After completing residency training in Neurology, also at the University of Miami, Dr. Perlmutter entered private practice in Naples, Florida."
Less explicit, but perhaps more telling:

http://en.wikipedia.org/wiki/List_of_countries_by_military_e...
My run-in with unauthorised Litecoin mining on AWS
with long-time locals priced out by tech companies that pay high salaries.

I hope and dearly hope that you also meant to include the Germans, Italians and Irish who constituted the major demographic of the Mission once, when you say "long time locals" and not just the recent Hispanic arrivals.

I am appalled by everyone, from the New York Times [1] to Al Jazeera [2], white-washing the facts to make it seem like what is going on in the Mission and the rest of the city is somehow a Noah's Flood-like grand sweep of gentrification that the city had never seen before.

People were displaced before. At least a casual mention of it by the media, would be nice.

[1] http://www.nytimes.com/slideshow/2013/11/20/us/20131122_TECH...
[2] http://america.aljazeera.com/watch/shows/the-stream/the-late...
It would be nice if Whatsapp, which is so popular, would help make its users a lot more secure by adopting end-to-end encryption, perhaps like what TextSecure v2 is using.

Getting people to use services with proper encryption is going to be a very slow process unless we convince/pressure the big ones to do it.
Meanwhile, the supply of bitcoins is fixed. For all time. And they are destructible in a way that gold is not.

But they are divisible in a way which gold (or even dollars) are not: https://en.bitcoin.it/wiki/FAQ#How_divisible_are_bitcoins.3F

"A bitcoin can be divided down to 8 decimal places. Therefore, 0.00000001 BTC is the smallest amount that can be handled in a transaction. If necessary, the protocol and related software can be modified to handle even smaller amounts."
(I think that Google is overstepping its boundaries with Dart/NaCl/PNaCl, but didn't downvote you and don't see why people would or should.)
useful? not really, unlike money it requires digital equipment, bitcoin is NOT fungible (each bitcoin is uniquely identifiable and can be separated, isolated and even removed from circulation and it is not 'easily transferrable' (a bitcoin transaction takes several hours until it is confirmed)
Incredible program, incredible company.
Carriers are a relic that have very little to do with modern warfighting.
It raises the question not just about twins but also about wet nurses. I mean its a pretty normal tradition for mothers to 'outsource' their breast feeding to other mothers, especially if they're tired or sick.

Also what about formula milk?
I set up an account to reply to this comment; I have an informed opinion.

I expect that the blog post is sincere. If the NSA or another government agency wanted to manipulate the discourse on this or a similar site, however, they would (not could, would) do so by setting up a large number of active accounts over a long period of time. These would promote articles without triggering voting ring algorithms.

For the last couple of years I have been an active participant in a part of the blogosphere that is inspired by Unqualified Reservations, a contrarian ("(neo)reactionary") blog. I recently discovered that many of the (active and quite long-standing) blogs and commenters in this online community are fraudulent. It is the situation described in Wikipedia's article on COINTELPRO: "pseudo movement groups run by government agents". This includes people with whom I've had email and even a Skype conversation.

Since the realisation, I've managed to have a little awkward and plausibly deniable dialogue with these "bloggers" and "commenters". The message seems to be that they view neo-reactionaries as a group of potentially violent dissidents whose memes, if they were to spread, would lead to serious public disorder. So it's a political broken windows theory, in which the NSA or FBI are guardians of public opinion (although I happen to be English). Apparently they have been watching closely and collecting "data" for over a year.

So, mtgentry, I don't think you are too paranoid at all. (Although I would have done until quite recently.)
> but sometimes having an office can make you look more legit.

That's just your ego. Validation, growth and profit are what makes a business really seem legit.
Ah, RAPHT is so much clearer than MVC: https://github.com/DanielWaterworth/Raphters/blob/master/RAP.... I would love to see more projects adopt this architecture.
Yes, TBAA works on any SSA value.
> I think proof-of-work cryptocoins are far less wasteful in toto than the current global banking system.

Maybe, maybe not, I don't think anyone's crunched enough numbers to make a reasonable measure of that yet.

> (What do you think it took in terms of energy and waste products to manufacture and distribute the dollars in your wallet?)

I doubt either of us know.

I'm a Bitcoin supporter, but one has to think there are useful hard problems to solve rather than just banging out SHA-256 hashes over and over. If that's true at all, then Bitcoin is wasteful.
How's this different from Quora?

Great design and overall presentation though.
Breast milk is the best choice.
What language was your class using? There are so many ways to do what the students wanted to do, be it the tertiary function or a lambda function or even, defining a method/function like (Ruby):

def foowiz(x, threshold = 5)

if x == threshold

foo

else

bar

end

end

And then a call to func(foowiz(x)) would work - even in an OOP language like Ruby.

What did the students need to unlearn?

In the intro CS class I took an age ago, we had to implement OOP as a final assignment in Dr. Scheme, which is a derivative of LISP that is most assuredly a functional language rather than OOP. That did not mean I had to unlearn how lambdas and tail recursion worked.
There's always this ever-popular graphic of all the active aircraft carriers in the world:

http://www.floatingpath.com/wp-content/uploads/2012/10/All-T...