skysight-inc/HackerNews huggingface dataset:
What you asked for is whether `await` is idempotent. No it isn't. The "argument" to `await` is a Promise, and the "return value" of it is the resolved value of the Promise (i.e. `Promise#then`).

EDIT: I missed the `.json()` part, but I suppose it doesn't return a Promise, no?
As I said, these essays propose and defend additional restrictions on building new housing. His restrictions are slightly less sinister than moratoriums, and come in the form of affordable housing requirements. He is still adding regulatory burden to the legal code, just slightly less burden than some of his peers have proposed.

I'd also like to point out that Wiener strongly advocated solar panel and beautification requirements for new construction. Requiring solar panels on homes is a great way to pat yourself on the back, but not a great way to generate electricity. Let's build solar power plants, not require every new apartment to cover it's roof in panels regardless of the economic sensibility of doing so.
With this natively in V8 the debug experience ought to be much better than now, too
Is using async/await through babel a good idea? When I last looked at it I thought it was using a busy loop which didn't seem like such a great idea to use in shipping code.
Python multiprocessing made really really easy – Peterbe.com
The Hunt for the Death Valley Germans
We seem to have two impulses:
- Hold up a higher standard to nations and feel somehow entitled/obligated to "enforce" it.
- Attribute such deviations from those standards to "culture".

I'm not sure which is worse. Nation-states sort of don't judge other nation-states in that way. The US has been ... innovative in that, and it's been no end of trouble. Why Pearl Harbor? Because the US embargoed Japan after the Rape of Nanking. And that ended well...

Maybe its changed since '73 but the "access to the kingdom's oil reserves" seems hollow, since my understanding is that there is a small army of engineers and workers who rotate in and out of Saudi to maintain the fields and other infrastructure. Second, there is that Dilbert cartoon about the meaning of "fungible" w.r.t oil.

The '73 embargo was at least in part a reaction to the Six-Day War in '67 so it seems typically Kissingerian to pursue a balance of power rapprochement with one of the the seats of opposition to our friendly relations with Israel.

The US also ... sort of "inherited" the British Empire after WWII, and Saudi was very much a part of the actions of those within the Empire. Again, I can't recommend "A Peace To End All Peace" enoughly.
The Open Web Application Security Project (OWASP) DevGuide
Impact fees can help solve this @ 40+k per apartment it adds up fast. However, rent controls + property tax limits are the real issue.
They could have been a major ARM vendor if they had gotten over their NIH attitude, seen the writing on the wall, and kept on with StrongARM/XScale.
At $120 million, it's the largest security bug bounty in history! Someone will 'claim' it soon...
@Im @guessing @its @because @you @could @get @around @the @message @size @limits @if @at @marks @did @not @count @against @your @total @size?
3 Ways Predictive Analytics Can Drive Business Growth
Logtalk 3.5.0 released with improved developer tools and compiler lint checker
You can get blank 'java' smart cards and load open source applets on them, you don't need Yubico.

Personally I only tried IsoApplet, but openpgp applet should work too.
Is this malicious hacking scenario realistic?
Hi,

I am a complete novice. So, thanks for any help on this! I am having a problem in which people I contact (or who contact me) on online dating are repeating words or phrases that I am using online in communications or searches on the same device or on other devices. A related problem that I am having is with people IRL repeating words or phrases (in a pointed manner) which I have used online. I have noticed similar things in my cable TV descriptions.

I had two questions:

1. How would a hacker hack multiple online dating profiles such that they were "repeating my words back to me"? Would how they do this even involve "real" hacking or would they more likely just be creating dummy profiles and watching me at the same time?

2. Are there hacking groups (or other groups) which do "demonstrations" or intimidations by repeating words people use in private online conversations to their face? Have you ever heard of this kind of thing?

3. Could a hacker hack the cable TV box (DirectTV) to input my phrases or are they likely telling someone who adds them in from inside the company that creates the TV show descriptions?

Thanks!
Deep Dive into Extendible Hashing
I forgot they bought Tumblr

= 50 million visitors/month https://siteanalytics.compete.com/tumblr.com/

Yahoo Answers is still a big useless SEO machine

= 50 million users/month https://siteanalytics.compete.com/answers.yahoo.com/

Yahoo Sports is very popular from what I understand

= 12 million users https://siteanalytics.compete.com/sports.yahoo.com/

Yahoo Finance, ditto

= 14 million visitors/month https://siteanalytics.compete.com/finance.yahoo.com/

Yahoo News, ditto

= 20 million visitors/month https://siteanalytics.compete.com/news.yahoo.com/

Yahoo mail is still doing alright isn't it?

= 50 million users https://siteanalytics.compete.com/mail.yahoo.com/

Flickr is still ranked pretty high on Alexa but on a definite decline: http://www.alexa.com/siteinfo/flickr.com

= 15 million visitors/month: https://siteanalytics.compete.com/news.yahoo.com/
High CPU use by taskhost.exe when Windows 8.1 user name contains “user”
So he was paying ~ $10 mil for 85 employees, assuming ballpark $100k cost per employee. Automatic has been around since 2012, which means they hired an average of 2 employees per month.

Is that hiring too fast? I wonder what went wrong.
What do you find similar between Melbourne and Houston?
I think that's a model response. Explain the situation and then make it right.

What else can one expect them to do? They've already said that they'll make sure it never happens again.
My best guess is that you have previously issued a certificate using the apache plugin on that system, and the renewal config file for that certificate is still there.

$ echo "BreakThisConfig" > /etc/apache2/sites-enabled/000-default.conf
$ ./certbot-auto --apache
2016-05-16 21:33:31,252:ERROR:certbot.le_util:Error while running apache2ctl configtest.
Action 'configtest' failed.
The Apache error log may have more information.
$ ./certbot-auto certonly --standalone -d example.com
- Congratulations! Your certificate and chain have been saved at
/etc/letsencrypt/live/example.com/fullchain.pem.
$ ./certbot-auto renew --force-renewal
Congratulations, all renewals succeeded. The following certs have been renewed:
/etc/letsencrypt/live/example.com/fullchain.pem (success)
Your comment made me check the repo. It has tests, good naming conventions, and a good program structure. It's actually better than other widely used python packages. Yet for some reason the import statement stood out for you. It would be more constructive to bring the point in a better manner. The comment:

- Publicly shames the library author. This is not acceptable. For all we know the import statement simply slipped unnoticed. The way to bring it up should have been a github issue or a pull request.

- Undermines the work of the library author by simply focusing on a simple issue that can be easily resolved. One of the biggest issues in open source projects is how we treat fellow programmers. Too often we forget that people write the code. We should take their emotions into consideration. Just like I'm not publicly scolding you. I believe that we should treat each other with kindness. You probably had a bad day. Or you posted without much thought. But imagine being the library author and seeing this as the only comment in the thread. In a board read by thousands of people. How would you feel?

I thought very hard about posting this because I don't want you or anyone to think that I'm calling you out. My aim is to make a point about the comment and how it undermines the effort and work of the library author. Not about you as a person. I hope you don't take it as harsh criticism.
I'm assuming what you're really asking is; why is this news when their peers are venturing into amazing new fields like self-driving cars, immersive VR and AR, AI, chat bots etc., meanwhile, Twitter continues to agonise over how many characters to allow in a tweet (and subsequently presenting the decision as an amazing product update). Valid question!
We use both Hangouts and Google+ pervasively, every single day. Seriously every single chat in the company goes over Hangouts. Who told you this?
Agreed. I'm a pretty big guy, and one Benadryl is like getting shot in the ass with a tranquilizer dart. (I think the dosage is "1-2".)

No way would I drive after that.
actually .json() returns a Promise. The first fetch only returns HTTP status code and some other details. The content itself is streamed. You can also access the stream if you want too. In general you would rather just call .json() and get the parsed data.

The fetch function can for example also be used to get images. There you would use .blob() and assign that to an image.src with URL.createObjectURL(blob);

See here: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/U...
Did you lose your wallet in McCarren Park?
Good idea. I'll put something up soon.
It's fine. It transforms async functions into a state machine.
A Programmer's Guide to SEO Profit with Ruby on Rails
> Unused RAM is wasted RAM.

This is just ignorant cliche.

> Gmail has an internal behavior that adapts its memory usage on available memory. It may fail in some specific situation (short and wide memory leak), but as a whole the idea is to use RAM as much as possible to make gmail faster.

This has nothing to do with Gmail, this is entirely to do with chromium. When my X-Server starts to freeze because 8 tabs taking up 2GB of memory means the OS is intensely swapping to and from disk; I'll take my unused RAM, thanks.
Perhaps not its intended purpose but to me it looks like an upgraded version of Google Keep. As someone who likes to collect resources and notes on topics for both research papers and personal projects I see this as a useful tool for that. I don't imagine any of my 'spaces' having more than one or two other people in them.

In reference to all the 'Google will kill this soon' posts. I agree there seems to be a growing list of discontinued products but their Takeout [1] service almost always lets you get your content out. While things like social interactions on G+ might hold value on the platform itself, as long as I have my notes/photos/data at the end of the day, I am happy to treat these products like I would a text editing app, just a tool to work with the data.

[1]: https://takeout.google.com/settings/takeout
Would available living spaces in downtown areas reduce congestion in some way? I could see it going both ways.
The inline images feature looks neat. Thanks for the suggestion!
Oil is $1 a barrel for them. I bet solar is 40x the price per MW.
So evil-bank-of-america.net would do?
Too big to fail in year 2066
I don't recall not liking The Cat in The Hat when I was a kid just because it was a more simple version of The Ego and The Id by Sigmund Freud.

In the same vein I can see these languages as the equivalent of a picture book for programming languages.
I have yet to see a convincing argument that this feature is necessary or even helpful beyond one-liners. The Q promises API, to me, is the right way to reason about asynchrony. Once you understand closures and first class functions, so much about complex asynchronous flows (e.g. multiple concurrent calls via Q.all, multiple "returns" via callback arguments) become so simple. The "tons of libraries" argument doesn't make tons of sense either. I've done a lot of async and I've never needed anything beyond Q that I can recall.

This feels like a step toward added confusion rather than language unity. Much like the majority of of ES6 feels to me: bolted-on features from popular synchronous languages that themselves are only now adding features like lambdas.

I don't want to write faux-event-driven code that hides the eventedness beneath native abstractions. And I definitely don't want to work with developers, new and old, trying to learn the language and whether/when they should use async/await, promises, or fall back to an es5 library or on* event handlers. I want developers who grok functional event-driven code with contextual closures.
It is usually hard to know what the real reason is in this type of situation. Politicians will say they are veto-ing to allow for a rework when they are really just killing it.
I've studied high-assurance security and hardware for a long time. This looks to be motivated by a few things:

1. Hardware cost money to develop, has to make it back, and is easy to clone. They'll keep hardware secret by default for this reason like everyone does. Also lowers odds of patent suits. All kinds of people demand open, secure hardware but almost nobody will buy it. Just like software. Number 1 problem in the INFOSEC industry.

2. There's three companies IIRC building the kinds of secure IC's they need. They NDA the stuff critical to understanding it. Plus, the implementations are secret with tamper-resistance mechanisms. Pointless relying on open-source model to understand or evaluate such a thing. Some marginal benefits but major risks would still be there. Whereas, open-sourcing the stuff adds risk in terms of issues with the suppliers. So, no OSS is an acceptable choice here.

3. Restricting some of the firmware/software is a tradeoff of the protection methods they're using. Again, reduces value in open-sourcing it as you'd have to dump it off the chip to verify it anyway. The kind of people that can do that don't need Yubico's help.

4. Yubico might not know how to build secure HW/SW combos. It's a rare skill whose techniques are a mix of published and trade secrets. Plus, attackers are always coming up with new stuff. So, obfuscation... not security by obscurity... but obfuscation of aspects of design to increase work of attackers between product releases is both justified and a proven method. If no other measures exist, then it would be the garbage known as security by obscurity. This seems to be better practice of proven mechanisms plus obfuscation which can hamper even nation-state hackers. Who knows how good their mechanism are going to be but there's potential.

So, it seems like a combination of sustaining their business by stopping clones and lawsuits with improved branding from effects of obfuscation & hardened IC's on low-skilled attacks that dominate the press. Two, very-good reasons to make a decision in this market. It's just economics in action. :)
In what case would tbonds go down but not the dollar?
The most interesting part of this article is the bunch of home-brewed "learn programming" environments listed in these comments.
I recently gave an intro to coding to young Girl Scouts using Pyret (http://www.pyret.org). The screencast is here:

https://vimeo.com/163949506

I had to wing it because the ages turned out to be younger than I expected. I've taught my 6yo son using Racket and Pyret so I had the basic approach already. Although I shot over their heads in spots, overall the girls seemed to be really engaged, as were their parents. For my money, Pyret is THE language for an intro to programming, almost regardless of age.
I think it already happened with a troll baiting racists. He waited for a lot of RT then changed the source of the embedded racist picture with something like "I am a big disgusting stupid racist". Something like that. It was a good one, though.
IMO, San Francisco is an ugly city. It's got that smattering of high rises in a mostly low rise city that just screams slums in most of the world. I mean there is a reason most photos are of a bridge not the buildings.

I accept everyone has different aesthetics. But, the city just screams fake to me without any of the organic charm an old city or the brutal asthetic of say NY.

PS: I guess you can call it unique...
Isn't this a common concern with most startups which seek to grow beyond 6, 7 or 8 figures?
Maybe on a per-event basis, but probably not on an annual basis.
Case Study: Mapping German ZIP Codes in R
? Why is it redundant? For the love of God, why is HR redundant?

Let alone the other answer ("HR" == "other engineers"), which is brilliant, the HR department is the greatest weapon a large firm can deploy. Do you want insurance in case your kids get sick? Do you want days off to relax after a month of hard work? Do you want to ensure your boss ain't making inappropriate advances?

Why on earth would a smart people want to be burdened with all of those works? Why on earth would a smart people hitch non-core work onto main work hour? Why on earth would a smart person refuse to delegate?

"HR resources" is redundant. Such arrogance.
If its such a obvious model why not create another obvious model and make billions?
M Burge, there are literally many court cases saying that you can copy compendiums of facts, and exactly phone books are copyable. https://www.peoplesmart.com/blog/how-the-supreme-court-paved...
> If I was to propose my own cod theory of why big companies don't innovate, it would probably involve them seeing innovation as driven by MBAs formulating "innovation strategies" based on articles full of interesting anecdotes and open-to-interpretation theories rather than management saying yes to a higher proportion of projects their underlings want budget for.

Well said. Even at innovative companies like Apple or Amazon, it's amazing how many interesting and exceptional ideas get budgeted out of existence due to prioritization of top down initiatives from senior level executives that are several levels removed from customers and the people capable of solving the customers' problems.
oblig pointing out of incorrect oblig correction. network effect[0] is absolutely correct.

edit: for the downvotes-
[0] https://en.wikipedia.org/wiki/Network_effect
This is how Standard Oil completely dominated their market, vertical integration brought prices so low no-one could compete.

Once same-day delivery and/or drone delivery takes off I predict the grocery store market will start to look similar to retail music/book stores.
AnandTech iPhone SE review
The DAO crowd could hire a CEO, similar to how regular shareholders can vote for board members who appoint a CEO.
Confirming that Hangouts and Google+ are both used internally.
Maybe try this out — QBASIC is accessible in the browser via archive.org's dos emulation:

https://archive.org/details/msdos_qbasic_megapack
For what it's worth, I follow this space closely and have seen several recent things that look like money laundering to me that I won't name- This project is not one of them (though I have other concerns with this project)
Elon Musk apologizes for Tesla workers paid just $5 an hour by subcontractor
Sure. I was just stating that the exaggerated point would have been...an exaggeration, not that this is the point you made. Sorry for the confusion.
Article is back up. He accidentally deleted his 9 years' worth of posts. https://twitter.com/gassee/status/732368830190620673
It's not hard to believe at all. White flight to suburbs after the war is a pretty well known phenomenon that happened in every major city in the US.
IBM is a master at reinvention. They regularly discard unprofitable businesses and expand into profitable ones. In 2014, they disposed of businesses representing $7b in revenue but -$500m in profit.

Managing to the future by getting rid of the dead weight is the only way you can survive to be a 100+ year old company in the technology space.
AI learns Nobel prize-winning quantum experiment
It is a very limited for of control, for what it's worth.
> Knowing strategies to avoid just nasty people

Perhaps refrain from using childish insults like Gamer Gayers. Like attracts like.
Honestly, it is elegant, simple, and serves the purpose they need. I have worked with a few agents and talent representatives and this is the ideal they seem to shoot for even if they are not in such a tier of excellency.
(extended the fact that its key people were allowed to slip out of the country in the immediate aftermath, despite a nation-wide travel ban on everyone else)

This is an urban legend:

http://www.snopes.com/rumors/flights.asp
I like Pyret a lot. The guys banging on Pyret and Racket are a great bunch as well.
> (e.g. multiple concurrent calls via Q.all, multiple "returns" via callback arguments)

How about:

async function main () {
try {
const responses = await Promise.all([
fetch('https://api.github.com/orgs/facebook'),
fetch('https://api.github.com/orgs/facebook')
]);

const jsons = await Promise.all(responses.map(res => res.json()))
} catch (err) {
console.log(err)
}
}

I think this is pretty clear and not needing any library for this is quite nice.
Yea, 281 billion is just not a lot of money when your talking US debt around ~1.5% federal and a little less if you toss in state and local. In just about any other context that's a lot of money.
The prison rape thing is a little more complicated than that, but thanks for bringing it up, since I wasn't aware. More context here for anyone who's interested: http://www.theguardian.com/commentisfree/cifamerica/2012/feb...

I do think evo-psych tells us a lot more about human nature than we sometimes want to admit.
see the information above regarding "splits"
Clicking on the Berkshirewear link there gives you this:

http://www.berkshirewear.com/

Kinda funny.
It's okay but clumsy. It's a state machine, not a busy loop, but the compiled code is a lot more verbose than the input code (and so you pay a latency penalty on the client). The developer experience is also sub-par: you'll get regenerator stack frames in any of your stack traces, and it interacts poorly with babel-watch.

You can do it, it's not insane, but native async/await will be much, much nicer.
How rising regulatory compliance costs squeeze entry-level home construction
Iran’s Hard-Liners Crack Down on Models Not Wearing Head Scarves
Yahoo has over 1B MAUs. One. Billion. The vast majority of those don't even touch the homepage.
Is this why we aren't getting Google's and Facebook's and Twitter's out of Europe though?
HN Vimmy Bot Now Tweets Hacker New Discussion Link Along with Story About Vim
Most grocery stores have their own brands, even the small to medium regional stores. So this should not come as a surprise that a large store will develop its own brand.

What I do want to see is the packaging. Most items are meant to be sat on shelves, and displayed to the consumers. But Amazon items won't need to sit on store shelves (just distribution centers) and don't need the packaging to sell themselves. Will Amazon come up with novel packaging optimized for delivery, or will it be more of the same?
Not just bridges, I mean, SF has stuff like this:

https://en.wikipedia.org/wiki/Painted_ladies#/media/File:Pai...

Linking into https://en.wikipedia.org/wiki/Painted_ladies:

> "Painted ladies" is a term in American architecture used for Victorian and Edwardian houses and buildings painted in three or more colors that embellish or enhance their architectural details. The term was first used for San Francisco Victorian houses by writers Elizabeth Pomada and Michael Larsen in their 1978 book Painted Ladies - San Francisco's Resplendent Victorians.[1]

Such housing is virtually everywhere in SF if you bother walking out of the urban core. I used to lose myself for hours just wandering around SF neighborhoods.

I really wonder if you really know what slums really are. I live in Beijing, a high rise city by any definition, which has slums galore (though not the ones found in India). Even the tall buildings are dingy, lack character. I also lived in Lausanne for a couple of years...supposedly a nice city, but it definitely had its share of grit and urban fake-ness. Especially high rise social housing (say in Renens), which, while not bad, definitely had a feeling of sluminess to them.