skysight-inc/HackerNews huggingface dataset:
So. The question I'm asking myself now is how to fix this. Giving <wildcard>.domain.com a shared quota will allow one tumblr or github pages user to monopolize all storage, effectively removing local storage for this kind of scenario (also removing it for the host which is even more annoying).

A maybe workable solution would be to only allow creation of new keys for the first-party origin. What I mean is that whatever.example.com has full access if that's what the user is currently viewing directly in their browser.

<wildcard>.example.com embedded via iframes could either get read-only access, or read-write access for existing keys. Also maybe limited to, lets say, 4K.

This sounds like a really complicated solution though. Any better ideas?
http://www.freeprintshop.org/download/eats_english.pdf
Put a LICENSE on there too.
I think it's rather that there is another totally reasonable and historically accurate assumption that catastrophic environmental costs need not factor into the projection.
Literals in Programming Languages
Idea for Colorblindness and Google Glass
But why would you ask a question like that in an interview? What does it tell you about the person you're interviewing? Or does it tell you something about yourself?
Dell Laptops are really very confusing with the fn key. My inspiron required me to press fn key and f4 so it works as if you just pressed f4. If I simply press f4, the screen brightness reduces. Very inconvenient!
Maybe I am naive, but can't we do even more to make patent trolling impossible?

Like forbidding their transfer to such non-practicing (or any) entities to begin with? Or maybe not having patents and finding a new way to encourage development in medicine - which afaik is the only area where patents have a measurable benefit.

(to make clear i mean /benefit to society/ not money)
Isn't it time browser implement a "safe" mode:
- Sharing cookies between tabs? Nope, unless you personally opened it another tab, and expires as soon as you type in a new url.
- Access or url on a different domain ... maybe, but certainly not to localhost.
- Font access ? No
- Plugin listing ? No
- Whatever the hell I don't know about: No.
Then either allow the user to whitelist the site, and/or allow certain parts.
Would it be easy for the user? No.
Would we weed out a lot of issues? At least a few !
One on One: Sugata Mitra, 2013 TED Prize Winner
This article sounds so incredible to me, I think I might have been holding my breath reading it. These are two major mistakes that the company is responsible for, not the author. Why would they let anyone in on the production password and do direct queries onto that database instead of working on a different environment, it's laughable that they sent this to their customers admitting their amateurism. Secondly, no backups? At my previous project, a similar thing happened to our scrum master, he accidently dropped the whole production database in some kind of the same situation. The database was back up in less than 10 minutes with an earlier version. It's still a mistake that should not be possible to make, but when it happens you should have a backup.
I've observed that people actually want old school style games but they en masse don't want to install emulators to play them. I think HTML5 is just a redeployment device to the time when computer games were just simple and fun.
Clearing the Storage Areas

Session state is released as soon as the last window to reference that data is closed. However, users can clear storage areas at any time by selecting Delete Browsing History from the Tools menu in Internet Explorer, selecting the Cookies check box, and clicking OK. This clears session and local storage areas for all domains that are not in the Favorites folder and resets the storage quotas in the registry. Clear the Preserve Favorite Site Data check box to delete all storage areas, regardless of source.

http://msdn.microsoft.com/en-us/library/cc197062%28v=vs.85%2...
Tangentially related -

The demo page is a representative case of the "designer font-size" setting. I get exactly 4 lines of text on the first pageful. Not everyone surfs on Retina displays or humongous iMac panels at 1080 vertical resolution. As much as I appreciate being able to admire individual glyph curves up close and personal, it comes at the expense of being actually read the page without constant scrolling.
It seems nobody has mentioned the climate. San Francisco is temperate and mostly warm – you can be outside all year.

I spent a lot of time in Montreal. There are homeless people, but they tend to be more organized. You don't want to weather a Montreal winter unprepared. I've always wondered how many of them die in the cold every year.
sure email martin at gameclosure.com
Well, I meant you can use these tools to gain access to the remote machine to do some real damage. Nmap and friends are usually for finding running services, list of open ports, knock on a few doors (run some queries?) etc... and if someone were to gain access to a machine this way, filling up their hard drive may not be on their list of priorities. Unless incrimination was the intention.
Because most of the browser vendors see "standards" as more like "suggestions".

I'm sure any web developer will tell you it's been a problem from the moment there was more than one browser. This is just a particularly hilarious example.
For those interested in changing the amount of storage per domain in firefox: about:config -> dom.storage.default_quota. Also, dom.storage.enabled to change whether you use local storage at all or not. I don't know if chrome or iexplore also give those options.

It's nice that this exploit is presented openly as a proof of concept, and includes a button to undo the damage. Many people, upon finding this, would try to use it for shadier ends.
for efficient diffs, I suggest the author (and anyone else who cares to explore having an efficient diff based backup of lots of data) look into rolling hashes. great way to split data into chunks that are robust against insertions in the middle of a file! (uniformly splitting a file every X bytes means you resync the entire file after an insertion!)
survivor bias. you just don't see all the other people "sticking to it" and never making it.

you're discounting luck, chance, etc.

one bad decision or just bad luck moment and you're toast. and for female singers - if your genes made you butt ugly, no career for you, no matter how great you sing.
Some analysis of how this works,

1. The main page contains an iframe which serves this script:

https://github.com/feross/filldisk.js/blob/master/static/fra...

2. This script writes a 2,500,000-length string to local storage, which should occupy at least 2.5Mb (probably much more). This matches the maximum storage per sub-domain.

3. This script then reloads the iframe on a different subdomain but the same script. GOTO 2.
No, that this is a double standard people have. They gripe about any non-YouTube site playing audio, but say nothing when they click a bit.ly link that redirects to a YouTube video page.
Opera is safe! It prompts for most disk space.
It's cumbersome, but visit the site in question and use the web inspector. The resources tab lists the various keys and values for that site.
A Cheat Sheet for Markdown
Most of the time, getting the right answer is a matter of asking the right question. If most experienced people can't ask a fairly simple question, then maybe the question is to blame. That bit about the "computer science point of view" may be a little bit vague. Asking for implementation specifics may be more appropriate. I do know that arrays in PHP are implemented as hash tables as this is a common rant about it. But from your question I did not understand what you mean.

I'm still curious what do you mean by "ordered" because the PHP arrays don't order their keys. The common rant previously mentioned aka having to use asort() for getting a proper array:

php > $arr = array();
php > $arr[2] = 2;
php > $arr[1] = 1;
php > var_dump($arr);
array(2) {
[2]=>
int(2)
[1]=>
int(1)
}
Les nouvelles technos ne detruisent pas le cerveau elles s'y adaptent
How bitcoin is worse than cash in this regard?
Is it a West Coast thing?
So this "SEO" who helping his clients to "clean up their profiles" doesn't even know how to disavow links [1]. Well, it's not surprising that somebody who hired spammers once would hire another idiot later.

[1] http://www.youtube.com/watch?v=393nmCYFRtA and https://www.google.com/webmasters/tools/disavow-links-main (login required)
Gengo ports GitHub Survivor to JIRA
I ran into a similar bug fiddling with home and end.

Repro:

Delete the intro text, type 'wat'.
Hit 'home'.
Hit 'delete' three times.
Observe breakage.
It didn't work but I know why: I use a different browser for Facebook—not because of these hacks but because Facebook itself is more invasive than any of these tricks. I don't want to accidentally connect what I browser with Facebook. I have a separate browser icon that launches:

google-chrome --user-data-dir=/home/myaccount/.config/facebook-chrome

And that launches directly to Facebook. I keep Facebook stuff nicely contained in that browser. I mostly just follow links out of Facebook. The real Chrome never even knows that I'm on Facebook.
Example of what this looks like, http://imgur.com/jYc0nHU
Lavash – Traditional Armenian Bread
Armenian cuisine is quite popular with its traditional bread called lavash. It is flat, thin and soft bread that can be dried and kept for quite a long term. It is the most widespread bread in Armenia and no festive table can be imagined without lavash.
Why do you assume it would be a negative signal? History is full of counter-examples.
Sounds interesting, would you happen to have a link?
Yep, I included lots of comments in the source code so that people could check it out and learn how it works: https://github.com/feross/filldisk.js
As a Colemak user, I would suggest remapping Caps Lock to backspace instead of Ctrl.
you are paranoid a bit :) do you have browser for each site?
I've also been using VPM for about one and a half years and it's been great.
Surely the BTC price couldn't have anything to do with factors external to the market participants themselves ... ?

Whenever the BTC price moves up or down, do you honestly believe "It's those blasted early adopters, at it again I tell you"

You also appear to assume, incorrectly, that early adopters are just itching to exchange out into fiat currencies, as if their eyes are glued to their computer monitors, just waiting for their lucky day to "cash out BIG" ... into fiat currency. Hmmmm

This goes without saying. As with PM investors, many Bitcoin holders see real issues with fiat currency, specifically that banks are a terrible place to put your life savings.
I'm not trying to discount the value of risk avoidance they are both important and should both be used, but mitigation should always be the priority of the two.

1) When you have neither you should focus on risk mitigation first.
2) Having a great and complex risk avoidance policy in place is a good thing but doesn't mean that you need a lesser mitigation system.
> until Microsoft's intentions for that platform are made more clear

Here are the intentions from the latest shareholders letter

http://www.microsoft.com/investor/reports/ar12/shareholder-l...

"Helping businesses move to the cloud is one of our largest opportunities. All the online services people use today — both from Microsoft and other companies — run on servers in datacenters around the globe. The volume of Internet services used will continue to grow as people connect to the Internet from more devices for more purposes — fueling incredible opportunity in our server business. Unique to Microsoft, we continue to design and deliver world-class cloud solutions that allow our customers to move to the cloud on their terms. For example, a company can choose to deploy Office or Microsoft Dynamics on premises, as a cloud service or a combination of both. With Windows Server 2012, Windows Azure and System Center infrastructure, businesses can deploy applications in their own datacenter, a partner's datacenter or in Microsoft's datacenter with common security, management and administration across all environments, with ultimate flexibility and scale. Our business customers tell us these capabilities are critical to harnessing the power of the cloud so they can reach new levels of efficiency and tap new areas of growth."
On a new Lenovo laptop, the configuration hackery was rather limited:
- disable UEFI and use BIOS
- install Debian (wireless didn't work during the installation, but worked without a hitch afterwards)
- copy-paste a script for decent powersaving settings (might have worked out of the box with KDE or GNOME, but I don't use desktop environments)

The only thing which does not work at the moment is most of the special function keys, which is no big deal for me as I don't really use the functionalites anyway.
If a homeless wanted to do some simple work (e.g. cleaning) in exchange for food and shelter would he be able to do so?

Aren't there modern-day monks? Wouldn't people rather spend their life doing honest work with church than beg on the streets?
Author here. It works for me. I test on IE10 on Windows 8.
Indeed. The news here is not that a junior developer made an error with SQL db (everyone makes them, eventually), nor that the company did not have proper safeguards against problems (this happens far too often). The news is that despite such basic management incompetence, the company had been able to get a large number of paying customers.
A thousand times yes.

It's often said that there are several cognitive stages to learning to program:

* Concept of variables

* Iteration

* Recursion

* Parallel / thread programming

However, it's also been said:

"Debugging is twice as hard as writing the code in the
first place. Therefore, if you write the code as cleverly
as possible, you are, by definition, not smart enough to
debug it." -- Brian Kernighan

Similarly, if my code requires wrapping my head around all of it before I can start or re-start work on it, there comes a point where I can't work on it any more because it takes too long to get it in my head. One interruption, it all falls out, and I've got nothing done.

Writing in "big-project mode" lets me be productive in small chunks, and projects get finished, rather than stalling.

Learning to write your code in small chunks of time helps develop this skill. Definitely worth doing. Definitely valuable.
Oh certainly: that is the way I studied and enjoyed it but a book is not a teacher. I am not claiming books should always be "imagination" driven, on the contrary. But teachers should.
I would say sometimes qutting is good option. Not absolute quitting, but quitting from current plan. Being open to bending and open to modifications in the 'way to success'.

I remember Bruce Lee said, "Empty your mind, be formless, shapeless - like water. Now you put water into a cup, it becomes the cup, you put water into a bottle, it becomes the bottle, you put it in a teapot, it becomes the teapot. Now water can flow or it can crash. Be water, my friend."
I also hope you use rule-based blocking on any third party crap Facebook might be serving - i.e. tracking - you on different websites by matching your IP.
Yes many thanks for that, it's made the trip to SF all the more worthwhile; looking forward to dropping by again.
Pretty bad for a company if someone injects a HD-filling script to their site.
MailBox app like minimal iOS status bar
rm -rf / some/specific/path
REBEL - a declarative programming language
Creepy: FB uses your Google searches to suggest friend (and who knows what else)
Just noticed that people I googled appeared after a few weeks in my FB "people you may know" list. Try that for yourself.
most homeless are mentally ill to some extent

I'd love to see some numbers on that.
I love building sites too and I find it even more rewarding building on top of Bootstrap.

While it's not rocket science some of us enjoy a little help. Don't take my word as gospel, it's just an opinion.

I don't do this for a living yet but hopefully one day soon...
I'm pretty sure there's no way I can convince you, or any SEO, that you're merely proving GhotiFish's point here.

The ethical disconnect is painful.
Any kind of DOM storage (cookies, localStorage, IndexedDB, etc.) is ephemeral. The browser needs to decide the maximum amount of disk space that it wants to consume, and then when it hits that limit, it needs to start throwing away (garbage collecting) some of the data based on some policy like LRU.

If the web app really needs permanent storage then that permanence of storage needs to be granted explicitly by the user.
First Debian/Ubuntu Bootable ARM64 Images Released
Not if they have the right density. I think their business model is viable at scale.

Assume they pay their pick-up guy $20/hour.
Each customer is paying $5 for 12 pickups = 60 cents a visit.
To break even they will need to do pick-up 33 mail boxes/hr.
This seems like a lot in a suburb but it's possible in a dense city. They will probably need to tweak their model but it's not unreasonable.
Another happy customer of Virtual Post Mail since 2009. Great service, great team!
And yet 99% of bitcoins in circulation have traces of cocaine on them.
Thanks! Nothing better than well documented code. I found it very easy to follow.
Although fib grows exponentially, so it does the same for not so big numbers (a back-of-an-envelope calculation gives me that fib(91) doesn't fit in 63 bits).

OTOH, if I had to calculate fib(X), and not fib(1..X), I'd use the exponential formula (relying on floating point) instead of the recurrence (which uses integer), so I guess the error would be detected at the conversion to integer.
lol, glad you got a laugh :)
It's a mirror rather than a redirect though. And I notice there's no rel=canonical tag. Not like Apple needs it, anyway.
Interpreting Brainf*#k on an AVR
That's not much to give credit for. They could certainly have done more to help him recover from this.
This idea just doesn't seem to want to die.

I saw an investor presentation for Earth Class Mail back in the day. They would scan the front of your mail, and then you could choose which items to have them open. They would then have to manually open and scan the items you instructed them to open at additional cost.

Earth Class Mail blew threw most of their funding (http://blog.oregonlive.com/siliconforest/2011/01/earth_class...) and rebooted with a different focus.

I don't see how this company plans to run a courier service to collect your mail from random places, then scan it, for $5 a month. The economics make 0 sense.

More importantly, snail mail is dying off. This is like building a business to make your horse and buggy move faster just as the automobile is being developed.
What makes you think it won't become the defacto digital currency in the future, and thus a "general-purpose currency"?

You may say that's just a baseless speculation, but not any less than yours.
I personally like this far more than the usual bias towards fonts that are too small. It looks better and is far easier to read. Moreover, even on a pretty bad 1280x1024 display and in a non-maximized window, I see both of the top paragraphs as well as part of the downloads--enough to know to scroll.

For whatever reason, most sites seem to err on having fonts that are far too small. I would much rather they err on having fonts too large, and I do not think this particular page erred at all.

Perhaps it doesn't work well on a cell phone or tablet, but it works perfectly fine on any even moderately modern laptop or desktop.

As an aside, I really love the GitHub and Twitter icons. Most sites have icons that don't quite match each other or the overall design; these icons match both all the while being very simple and elegant.
Playing Teardrop with vegetables
Thanks! (Thats part of why I asked!)

I'm actually slowly spending a bit of time on the side chewing on how to write a simple user land network stack (mostly because I want to really understand standard transport protocol semantics and performance), so looking at the low power / embedded regime and trying to understand that piece too is just kinda fun :)
There really isn't an easy way to avoid this problem even if you follow the standard fixed quota per domain and subdomains don't count policy. You could just embed iframes to diskeater1.net, diskeater2, etc and fill up the disk that way.

In the end, the problem is that one page can itself infer to other domain / subdomains in its document and those can execute and utilize localstorage. They have to, though, so you can embed an html5 game in your blog from some other site that you liked. It comes with the territory.

Sadly, it seems like the best answer is the horrible UX'd prompt - "do you want to allow x.y.z to store local content on your computer?" the same way you have to verify downloads and know exactly what you are running locally.
What will be the next touchscreen?
How Egyptians are Using Social Media [Report]
That is because MS just released IE10 for Win7.
"Did you just get used to OS X Lion’s inverse scrolling? Me, too! "

I initially thought the author was being sarcastic, but the next few lines suggest he was serious. There's a really easy way to change the OSX setting (and I do this on every mac I use):

System Preferences -> Mouse -> Scroll & Zoom -> uncheck "Scroll direction"
That's just to pay the pickup guy. You have to pay for gas. And the costs of operating a batch scanning facility for mail. And most mail is not of uniform size and does not have uniform contents, so you end up having to manually open and scan the items.

It's totally unreasonable. The only place it makes even a hint of sense to do this is at the Post Office, before it goes to the actual customer. The customer could then choose scan, shred or deliver.

Maybe I'm just not clever enough to get it. But this just seems ludicrous to me.
I'm working on a project with United Way in NYC that's addressing the data issues around food banks and shelters. We could use some additional tech help.

It started after Sandy hit. All of the major charitable organizations would send resources to the areas impacted the hardest. This resulted in over servicing these areas and left about 30% of affected areas without any services at all. Also, people would be directed to food banks and shelters that were full, out of stock, closed for the day, or shut down. While other shelters and food banks remained underutilized. No one had the necessary information to direct these people to the right places.

A hackathon yielded some interesting solutions for disaster recovery - one of which was a text message system (data services were unavailable for a while - coincidentally, many homeless people have phones, but not smart phones) to coordinate volunteers and service providers. We've begun to coordinate with many of the largest service providers, non-profits, local government agencies and corporate sponsors on this.

There are so many needs of the homeless population that can be addressed by technology. We have no money to contribute, we're a struggling, over-worked, early stage startup, but we've found that even just a few hours a month makes a difference. Entrepreneurs and techs talk poorly of lawyers, but how many hours of pro-bono work do we perform each year? It's not all sexy work, but sometimes just cleaning some data one evening can impact thousands of people.

If anyone would like to volunteer for this effort, or initiate a similar effort in their community, please reach out to me: community (at) 42stats.com
Compromising an up-to-date machine is usually a bit harder than just pointing nmap at it and enumerating running services.

Getting someone to visit a web site is relatively easy.
No, he has a browser for Facebook.
Im from NYC, and it does seem like there is a bigger problem here. (or at least more apparent)