skysight-inc/HackerNews huggingface dataset:
A lot of extensions expose async modes, use them.

On the extension APIs

curl-multi - http://php.net/manual/en/function.curl-multi-select.php

memcached-getdelayed - http://us2.php.net/manual/en/memcached.getdelayed.php

mysqli-reap_async - http://us2.php.net/manual/en/mysqli.reap-async-query.php

postgres-send_query - http://www.php.net/manual/en/function.pg-send-query.php

gearman doBackground - http://www.php.net/manual/en/gearmanclient.dobackground.php

Something like gearman queues basically take the asynchronous processing out of the web layer into a different daemon. There were things like S3 uploads and fb API calls which were shoved into gearman tasks instead of holding up the web page.

Some of the stuff is very design oriented, for instance in most of my memcache code, there are no mc-lock calls at all - all of them are mc-cas calls. A lot of the atomicity is done by using add/delete/cas which involve no sleep timeouts. A bit of it was done using atomic append, increment and decrement as well.

SQL queries are another place where PHP doing actual work sucks for the web apps. A bunch of the mysql/postgresql functionality within a lock is actually moved onto stored procedures, instead of being driven by PHP.

https://github.com/zynga/zperfmon/blob/master/server/schemas...

So the code above is horribly written because you can't parameterize table names or column names in PL/SQL. But that essentially cuts down the involvement PHP has with the backend's locked sections.

Also a lot of the stats data was flooded onto apache log files instead of being written out from the PHP code directly using an fwrite.

https://github.com/zynga/zperfmon/blob/master/client/zperfmo...

This uses apache_note() function in PHP to log stuff after the request is done & the connections are closed. That gets into the log files as %(<name)n fields in the access log.

You can see there that every single access log has an associated user, the HMAC of the request and peak memory usage. All collected at zero latency to the actual HTTP call.

The thing to avoid though is pcntl - it absolutely messes up all of apache/fastcgi process management code.

This is not all of what I've done. I am sorry to say some of my best work in this hasn't been open-sourced & has perhaps been killed since I left Zynga.

PHP backends I built using these methods were handling approx ~6-7 million users a day on 9 web servers (well, we kept 16 running - 8 on each UPS).

Ah, fun times indeed - too bad I didn't make any real money out of all that.
Some people want these effects. Without them, the choice is to write it all by hand using canvas, or use animated gifs or Flash or something.

Sure, there are varying levels of support of the most bleeding edge features, but browsers are catching up with each other all the time. For real world sites, you use what's widely available, which corresponds to the gee-whiz demos from 5 years ago (give or take, and depending on how many truly obsolete users you need to support). So yeah, this isn't really all that useful outside of a gee-whiz demo now, but in a few years all of the major browsers will support it and people can use it. This kind of effect is most likely to be used in a game that has a large asset library to load, but the underlying functionality can be useful in a variety of designs.
I'm not 100% on whether this is serious or not, but what the hell:

1. My recent installs of node have required compiling from source to get anything remotely up-to-date, however there are packages for both,

2. Composer with the Packagist registry is comparable here - you might be thinking of PEAR.

3. JS certainly has much better async support - it being JavaScript after all.

4. PHP has JSON encoding/decoding bundled, no third party lib required.

5. For better or worse
Loaded title much? American news outlets always have a way of making social safety nets and increased qualities of life sound bad.

http://www.dailymail.co.uk/news/article-2240002/Switzerland-...
Mono has a good cross-platform GUI library? IDE is mostly very rich GUI I guess.
We are absolutely aware, we don't like the "Do Not Disturb" function. It automatically comes back on in the morning and you can't set a timer. This is in response to our dislike of the DND switch.
I used to bitch about Rails.

Then I got a Drupal project.

Drupal is a heaping, steaming pile of shit.

Now I happily work with Rails again.

Thanks Drupal!
The anecdotal cultural 'explanations' here are a little ridiculous without some real data to reference.

> Logographic-based languages... actually allow Japanese speakers to become comfortable with processing a lot of information in short period of time / space

not true - article with references: http://persquaremile.com/2011/12/21/which-reads-faster-chine...

> Japanese doesn’t have italics or capital letters which limits the opportunities for adding visual punch that you get with latin alphabets

Italics and capital letters have little or nothing to do with how 'Western' web layouts are generally created, and are far from the only way to create emphasis or hierarchy in text.

> Language Barrier... Although much gets translated this still causes a delay in new technologies and trends being adopted

Is the claim that the Japanese are technologically behind the rest of the world? Why would web development/design be different than almost every other technical industry? This sounds much more like surface intuition than considered insight

> Risk Avoidance

This might help explain why Japanese websites look similar to each other, but not why they look different from 'Western' websites. You could make a similar claim about big sites like Microsoft and Yahoo that have copied the look an feel of Google, or the mass of slightly-modified Bootstrap-based 'Western' sites. Risk avoidance/copying is universal - it does not explain the difference between Japanese and non-Japanese websites.

> Consumer Behaviour - People require a high degree of assurance, by means of lengthy descriptions and technical specifications, before making a purchasing decision

Evidence, or is this just a personal observation?

> Advertising – Rather than being seen as a tool to enable people Japanese companies often see the web as just another advertising platform to push their message across as loudly as possible

Haven't Google, MS, Yahoo, Facebook, Twitter, everyone demonstrated that this is the goal of what they're doing? It's not culturally unique.

> Urban Landscape

This has some research to back it up - Nisbett, Masuda, Shah, others

Other claims also read as casual inductive observations that don't hold up to much scrutiny. There probably are very interesting reasons why web design appears to be so culturally influenced, but this article doesn't really elucidate much.

/end rant
Is there a blend between the two? I really like loops...
As covered in the company blog: http://plumbr.eu/blog/happy-to-announce-a-1m-seed-round
We're not expecting to steal any die-hard fans away from Excel. We couldn't possibly pry Excel from their cold dead hands :)

From the signups so far, it appears there are plenty of people looking for an alternative, so we'll focus on satisfying them.
I think his point is that from an adoption perspective, whether or not it's actually a genetic feature of humanity or merely might as well be is basically irrelevant. Either way, it's a giant hurdle from a practical perspective, especially a commercial one.
To be more precise, Facebook knows hash(random_salt, facebook_password), and could do a check on the actual facebook_password when a user logs in, but I assume that it's not stored. Everyone knows encrypt(key, adobe_password), since that was what was leaked, and presumably adobe still has the key, so they know adobe_password.

Facebook wants to determine if facebook_password == adobe_password. Without the key, that's impossible. And I think 112 bit keys as provided by 3DES are still secure, even considering an adversary with the resources of Facebook.

A lot of the articles analyzing the adobe passwords seem to be comparing known-common passwords, passwords hints, and the insecurities of ECB-mode, which doesn't really scale. It seems like it would be better for facebook to just have a blacklist of common passwords (123456, password, etc), although then I suppose they don't get credit for pro-actively responding to a password leak (note: I'm not claiming that's why they're doing it - it seems like a good response, and I'm genuinely curious how they're doing it).

Edit: I just thought of way they could do it. Generate a histogram over the first 8 bytes of each encrypted password. Pick a threshold (e.g. 2, or 10, but you'd have to look at the data to get a good number) above which the password is considered "common" and therefore insecure. Go through the list of email addresses in the adobe dump that have a "common" password, and if there's a facebook account with that email address force a password reset. That seems like it would work fairly well, and doesn't require any knowledge of the plaintext passwords.
> Password hints are an absolutely ridiculous security measure.

Password hints have multiple uses. For identity management and verification systems, it's used as an additional identity check after the password if the host seems to have changed. For password recovery, it's a "need to know" factor you have to pass before you get to the "need to have" of e-mail account access. Since it's trivial to bruteforce, multiple hints of different categories are usually deployed.

In the real world, hackers compromise accounts by finding out the personal details they need to subvert password-recovery steps. Find the last four of the social, their birth date, address, and phone number, and you can basically hijack any bank, telephone, utility or government account a person has. Password hints are (when properly implemented) more secure because they can leverage other access methods.

Did they need to keep the hint plaintext? No; they can hash it just like any other password. But as the complexity requirement of the hint is much lower than that of passwords, it should be required to use another factor (such as an e-mailed confirmation code, SMS, or many more hints or sensitive information) to allow the hint to succeed.
An Introduction To Reverse Engineering for Beginners [pdf]
Sounds like Glympse. http://www.glympse.com/
I'm half convinced that we're seeing the result of a brilliant conspiracy by Getty Images, Shutterstock and Corbis to infiltrate the design landscape of Silicon Valley and sell more stock photography.

Also: the Golden Gate needs a better agent. Given how many times that bridge has appeared in photo backdrops, it should be rich enough by now to stretch further into Marin.
i'm not sure where you're getting that info:

http://www.newegg.com/Product/Product.aspx?Item=N82E16822236...

http://www.amazon.com/WD-Red-NAS-Hard-Drive/dp/B008JJLZ7G

been running 3x of these in a raid-5 NAS, no issues so far (not that it's any kind of indicator on a system which idles as a backup all day)
> No part of the article supports any kind of idea of a crisis in the Swedish police's ability to solve crimes

I can't be reading the same article as you, but I'll leave it at that.

Since you claim to read Swedish, try this google search for Swedish police solves fewer crimes:
https://www.google.se/#q=svensk+polis+l%C3%B6ser+f%C3%B6rre+...

I paraphrase the first few hits:

- Despite more money, fewer crimes a solved (SVT.SE)
- The police solves fewer crimes despite new billions (DN.SE)
- Police solves fewer crimes than ever (Aftonbladet)
- Police increasingly worse at solving crimes (Expressen)
- Finnish police solves 80% - Swedish solves 17% (Exponerat)
- Swedish police solves even fewer crimes (HBL.FI)

and the list goes on.

I can't be reading the same internet as you, if you can't find quote a few recent articles about the abysmal police work in Sweden.
User 5vForest has pointed something out I meant to make the first comment: There IS a "Do Not Disturb" function on Mac, but we didn't like the level of control it gave us. You can't set a timer, you can't turn it off for longer than a day, and it's hidden in OS X Mavericks, you have to pull down the notification center to see it.

This is in response to that - we want more control. Maybe some of you feel the same way!
It only took him 26 playthroughs (66 hours), but by Jove did he figure it out!
Why We Search
I default to using treemaps for viewing composition of a whole http://en.wikipedia.org/wiki/Treemapping
>>True joys only derive from the reality.

Well a dream is as real as things get.

The whole problem is really in describing reality. Ask any lucid dreamer and they will explain you than the key to lucid dreaming is to constantly question your current state(are your dreaming or not?).

And after some time it just doesn't matter. Because every thing is just a electrical impulse to your brain. If your brain is sent a signal to treat hot as cold. You will hold a hot iron in your hands and be perfectly OK with it. The reality of things 'hot being hot' doesn't change, nothing changes but your perception of things.

If you ponder deep enough when you dream this is what happens in a dream too. You are perceiving things. Whether they are real are not, is as useless argument because your knowledge of it is the way your brain is telling you about it and not what it actually is.

I've had inception like dream within dream, losing lucidity while dreaming inside the dream and there after. In stages like that its difficult to say what is reality and what isn't. The safest way is to not do any thing harmful or dangerous. In fact I didn't know of it until I woke, it was then during a usual dream recall that I got a surreal feeling that I had woke up from three levels of 'reality'.
This method would still preserve a free market and not require top down control. In fact it could remove a great deal of government/bureaucracy.

I think the key would be to make sure that people are paid not too much so that the low paid, menial but essential jobs are still filled and inflation doesn't sky rocket.
Not meaning to troll but:

1. apt-get install php5 ? Seriously, that's it. On the other hand, neither Debian stable nor Ubuntu LTS have any usable version of node in their package repository (Debian has nothing, Ubuntu has 0.6)

4. json_decode() ?

5. If Atwood's law ever becomes reality, it will be a consequence, not a source of benefit.

(I don't use either Node or PHP as my main language)
Interestingly Minnesota has the largest population of Swedish descendents in the US.
Even though there may be a cultural difference, it's not enough. Look at Modern Japanese architecture. There are tons of different styles. Some clean and minimal, others maximal and extremely busy.

Japan is a very pluralistic country and there are going to be all kinds of different styles and personalities there in any field you choose.

My feeling is that big companies take a long time to change design. In the US, sites like the new york times, Dell, yahoo, Ebay, Techcrunch, zappos all had, at one point recently, really old-looking or just plain bad websites.

Even amazon is busted. Try searching for something and navigating to the 10th page of your search results. amazon is a wasteland in terms of usability and design.
In my honest (and probably unpopular) opinion, There's a limit where this 'offended' thing starts getting ridiculous, and, to me, this is where it is. You really can't please everybody, and if you do try to please everybody, the only thing you'll end up being able to do is stand there and/or walk. Even then, you'll eventually offend somebody for standing and walking. The best thing to do is take this for what it is; a light-hearted joke. and move on. It's not worth the debates and arguments that come with it. there are bigger problems to worry about than a guy dressed in women's clothing.
Thanks! When humans are involved, things get way more complicated than expected, that's true. It's all about finding a good balance and a set of metrics that makes sense for your business & team.
Hi Brador,

here i can give more infos on that:

Our partnerplatform Bitcoin.de will enable near-relatime trading & settlement of Bitcoins for German customers. And with realtime, we are talking about seconds to max. a few minutes.

Regards from Munich,

Florian
Yes man, stop doing that.
> must also allow users to do remarkably stupid and wrong things.

These systems can at least put up speed bumps ("are you SURE you want to do this potentially work-imploding operation?") for those sorts of things.
6 reasons Tony Bates should be the next Microsoft CEO
*at the top of
This person is pursuing a PhD in Computer Science?

"If you look deep into them, monads make programs complicated and hard to write, and monad transformers are just ugly hacks."

Wow. Just... wow.
Does this have the ability to filter by application? In particular, can it turn off the incredibly irritating "please update software now" that is perpetually posted when you have outstanding updates that you don't want to ignore but also don't want to install right now (perhaps they require a restart)
I would keep an eye on MonoGame. It's open-source for a all desktop and mobile platforms and they have recently announced a paid PS4 support is in the works. I think it's likely to be much cheaper than Unity3d. Of course the tooling is not there yet...
Yes, you can sync /opt/ and make sure to have some key excludes in there (/var/ and /etc/ being the most likely)
Great idea man! We'll look into it, but right now it's unilateral.
I don't see how that would work. I'd say that the two snippets describe different intentions and using one when you want the other is a case of not saying what you mean.

A function call in a loop condition might have side effects or do something very unorthodox.
No, communism will not grant basic income. Communism tried to force everyone to work in exchange for "income". That's a pretty different concept. The article also contains the awesome phrase "countries less socialist than Switzerland" - while Switzerland is the country of banks and has a strong history of pretty straight-forward capitalism.
Perhaps you should have read it, because the proposal has nothing to do with communism.

Under communism the means production are owned by the state - consequently everyone is an employee of the government, and from that springs equality. Only it doesn't, obviously, because the people organising it all tend to keep more for themselves. People are greedy when they have the opportunity.

The system the article is outlining is essentially the notion that if you give everyone a small amount of money, enough to live without being in poverty but not a fortune, then the societal benefits from lower crime, lower healthcare bills, improved quality of life all round, and so forth, makes everyone better off. There'd still be plenty of incentive to work because you wouldn't be able to afford the luxuries we enjoy if you didn't, but on the other hand people would have the option to work less and, for example, care for their relatives rather than having to work more as they do now. Ultimately society wins.

It's a very interesting proposal. Especially if you're a liberal (small l).
This is an important point and what I wish the author had made.

Your choice of where to live is determined by a plurality of factors that are hard to boil down to 'satisfaction' vs. pay.
This seems like a good idea. (With a setting to turn it off, of course.)

Ideally git itself should record this information somewhere, though.
You brought up the failure to guarantee "decades of stable purchasing-power" as a failure of g.v.rnm.nt and actual money, which is a claim that you think this is a problem solved by bitcoin.
Would be nice to have the tooling on the web :)
I expect most people would refresh after seeing the big word 'error' and not read any of the rest.
This REALLY needs to be upvoted. This is drastically better than the analysis in the OP.
This is already why the author did though; the original benchmark that he replied to used Cheerio vs. phpQuery, but he rationalized that that was a losing battle anyways, and decided to test Cheerio vs. ReactPHP -- which requires a non-standard PHP extension called libevent.
It's fixed in master already. Test with the latest 0.11 to verify.
It was several comments, that's why. Maybe I should have chosen one of them? Didn't think it would be confusing, sorry.

Edit: Reading timje's edit, I think I should have chosen that comment as parent.
I read somewhere that his totem itself was flawed. For example, others totems had something different; a loaded dice. In dream, the dice would act normally, in reality it won't, that's the way to differentiate reality. Cobb's totem would topple in dream as well as in reality.

That's something I read and wondered.
Who is afraid of the Digital Signature?
I would have respected the "unobtainium" in Avatar more if they had called it something other than "unobtainium".
There's a load of this that can be quite heavily customised as well.

Changing the contents of '~/Library/KeyBindings/DefaultKeyBinding.dict' modifies text editing behaviour system wide - though not all applications will honour it. I assume it's due to developers implementing their own text engine type stuff.

With DefaultKeyBinding.dict you can implement things like 'delete current line', 'move current line up/down', 'duplicate line' etc. and have these as keybindings almost system wide. It's very nice, but really grates when I work in an application that doesn't support it.

Mine is here: https://gist.github.com/ryecroft/7433433 (a bit messy, but has loads of examples I've found).
It's targeted at scripters not professional programmers though. I think in their paradigm professional programmers are focused on creating components for the store and everyone else (level designers, gameplay scripters etc.) just consume components along with some scripting.
I think that the empirical evidence shows that spreadsheets are hard to learn, and that unless people can take their hard-won knowledge to a new product, they aren't going to switch. Or that there are a lot of other types of software where you can make money but don't have to compete with the MS Office monopoly. Or, maybe, the empirical evidence hasn't shown anything conclusively about spreadsheets that it hasn't shown about word processing, presentations, web browsers, or photo editing: if you're the legacy brand of a complex industry standard, you have to be really awful not to own the market just based on your own inertia and deep pockets.

>the rarity of similar observations regarding Excel calculations.

There is no rarity of these: https://en.wikipedia.org/wiki/Numeric_precision_in_Microsoft...

>Excel, not Windows, is the killer-app for Microsoft

Agreed:)
I don't really see the added benefit of the timer.
Does this silence the relentless "Software Update" notifications?
I've used drupal, and it has its place.

That said, I think the drupal community is the single worst offender in the "our software can do anything and everything and is perfect and you never need to use another one and you can't tell me otherwise" camp

"Drupal doesn't scale well" is met with "there are sites doing XX mn pageviews a month in drupal. Not, "Yeah, it is really optimized for sites that will have less than 30,000 users and less than 500,000 pageviews a month."

It is software that tries to be all things to all people -- that's fine, its a swiss army knife. But I really hate the fact that when you tell a drupal-fan that "This problem really needs a cleever" they try to tell you that the saw blade on the back could do that fine.

I learned web dev by way of Wordpress -> Drupal -> Django. Of those, I still use and love Wordpress and Django -- they're great tools for their respective jobs. Drupal? I personally just can't use it. You can't trust the drupal community to accurately participate in a conversation about "what is this optimized for" (they always say "everything!"), so you have to fact check every claim and that takes as long as building it in django.