skysight-inc/HackerNews huggingface dataset:
Apps don't actually have any control over when they get woken up for background fetch (you can set a minimum interval, but it's very much a minimum), and the more work you do when you get woken up the less often it happens.

In practice for occasionally used apps it seems to happen once a day, and while you're on wifi and charging if possible.
Attoparsec is a whole lot faster than Parsec. Orders of magnitude faster for many parsers.

There is a common problem with most of these parser combinator libraries in that they do no state machine optimization whatsoever... with the (sole?) exception of uu-parsinglib.

Applicative parsers, avoiding monadic extensions, readily support optimization and error checking much like flex/bison, Ragel and ANTLR. The cost of running these optimizations once per program execution (not parser evaluation) is fairly minimal and may not be noticeably slower than a precompiled parser.. particularly if the cost is amortized over many parses.

I do wish more of the parser combinator libraries actually did this though. And there are lexx/yacc-like tools for Haskell as well: Alex and Happy (famously used by GHC to parse Haskell source), and Ragel can be bolted in when performance is absolutely critical.
When I was young, on my route to school there was a bicycle crossing that worked like this. Cars always have green unless there's a car approaching from the side street. Bikes always have red unless they press the button. So when I approach at reasonable speed and see that the cars have green, I have to stop, press the button, and then build up all that speed again.

Nobody does that. Until there was a police car hidden just after that crossing. I suspect it was a very good day for fines.
Why the United States should redesign its nuclear submarines
That's the thing. It will be in the background. You won't even notice.
`make` also takes an optional size param that will let you pre-allocate a certain amount of memory if you know the size the map will grow to in advance.
Magazine of favorite tweets
Groovy 2.x makes a bit of a nod in that direction. There are annotations to turn static typing on (or off) on classes and methods as needed.

This allows you to be "safe" in most of the code, and explicitly label the parts with needed "magic".

I agree with you that it's probably best to limit def or type-inference-like operations to local variables within functions/methods.

Tangent: I like how Go does strict typing with interfaces, but still allows duck typing of parameters by not binding classes to interfaces at class definition time.
I can imagine scenarios where it might increase battery life - prefetching means that you won't be staring at the battery hungry screen while waiting on data to load, for example.
>Immutable (Everything the user does, sends or receives is tracked and stored in a distributed database)

We already have that! Haven't you read about this prism thing?
Having a bunch of people working on a prototype, with responsibility spread over all of them, seems a good way to have the prototype fail.

Musk is busy and can't help, but you need someone like a Musk who has the attention and energy to be in charge and make sure you have useful goals and you are moving towards them.
Follow that logic and we would never put out new features on anything. Not broken, don't improve.
It's a hell of a slide deck, the dumping of serious amount of experience, there's some great nuggets in here too.

The only thing I would long for when decks are this long is a page that is a bit like a transcript, that lays out all of the key points.

I do like consuming things slow so that they sink in, but then I also like being able to search them quickly in the future.
"In our defence we never thought Britain would get enough sun for it to be a problem"
Can I use this for Glacier parallel uploading?
I sort of like the "discrete" part, but what happens when the manager at your current job logs in and feigns "interest" in you, just to see if you're looking?
It's not hating on JS for for the sake of it though.

Some environments are very hard for cryptography. Javascript in the browser is inherently tricky for cryptography.
Screen size isn't the only relevant factor. Given any size of screen, more resolution means that viewers can sit closer to the TV, thus filling more of their field of view with the screen.
Reports of up to 15% of the worlds memory production being affected, no reported casualties.

Memory shipments are on hold from the Far East while the effect on supply and pricing is determining.

Also see: http://www.kitguru.net/components/memory/faith/far-east-memo...
Forgive my complete ignorance on the topic: Can't you just push down the information the customer needs? I get that it might be more difficult to use the push API but could an app theoretically have achieved the same experience via push?

Also, I'm not quite sure API enhancements are what a release is "about". Admitting that the crazy 3D designs were over the top and adopting a design similar to Metro and Android Holo seems like a rather large shift for Apple.
People who enjoy games at a competitive level don't just out grow it once they hit late 20s or 30s. I'm 33 by the way. I'm extremely confident that anyone playing a fast paced game at a highly competitive level would notice the difference between 60 and 120 fps+hz -- even in a best case scenario where the frame rate wasn't varied. Frame rate variance is one of the most noticeable things, but even a rock solid 60 fps+hz is choppy.

Look at how many grown men/women play or watch televised sports. There is nothing different than some 40 year old person watching an NFL game and a 40 year old person watching a quakelive or heroes of newerth tournament.

I don't watch regular sports but I can see the appeal. I mean, look at a sport like basketball. It seems like a single player can almost carry a team by himself as long as the other players are somewhat competent. Watching someone who is so good that he makes "professionals" seem like amateurs is really entertaining.
Most Americans care a great deal about what happens in other countries, but Europe, the middle east, and the rest of Asia are a long way from the drug war on the border or economic tensions with countries in south and central America. It's easy to forget that the planet is very big, and we're very far away from your local concerns.

Brazil and Alberta are more urgent interests for me than the debt crisis in Greece. That doesn't mean I don't care about what's happening over there, but I have to prioritize. There are over 100 countries and at least as many things worth knowing in each.
Kickstarter for millionaires, but you don't have to be a millionaire. I think that's what kickstarter already is.
Are the security 'what if's' preventing you from adopting BYOD?
Unfortunately, it seems that the tool hasn't been worked on.

https://github.com/myusuf3/rainman
> Well, 100 audio channels 50% lossless compressed files would go about 60 GB for a 2-hour movie. So not really "less than the video".

My losslessly-compressed (Lagarith FTW!) VHS captures are ~60GB for a 2-hour movie and that's at 720x486.
This race for more pixels is misguided. The change I most want to see is deeper pixels, at least 10bpp, preferably more. I'm getting really tired of all the banding I see on what should be smooth gradient images. If a landscape aspect image is P pixels wide then to display a gray scale gradient, black to white, you need

ceil(log2(P))

bits per pixel. So a "2K" display needs 11 bits, "4K" needs 12, etc. Then each column of pixels gets a distinct value and there is no banding.

So sure, give me a 4K screen. I've seen them and they are sweet, but you MUST also increase the pixel depth at the same time, or there will be artifacts.

And don't get me started on the horrid compression artifacts on basic cable. A crime against quality imagery.
Eh, I can't say that I have any love for the ternary if operator. It is an ugly construct made necessary by the other flow control constructs being statements. Scala lets you just use if/else like that, the result is much clearer at the cost of 4 or so characters.
> Maybe we can copy-paste without requiring the original program to stay open.

Probably no, we will not be able to copy and paste without requiring the original program to stay open. If you think of plain text, yes, that can work. But what about images? In which format should they be stored? Who should take care of converting these images from the internal storage model (the one used in Gimp is quite strange, for example) into plain bitmaps? And what about rich text? How can I copy and paste a bold, red, Helvetica 16pt text? In which format will it be stored in the clipboard?

Copy and paste, in its modern form, requires some form of MIME type negotiation that, in turn, requires applications to be around to negotiate.
Maybe this guy did think about it.

I'm sure the guy _DID_ think about it, as he was the one that architected the "death ray" building in Las Vegas, as pointed out further up the thread

And the crescent-shaped Vdara Hotel and Spa in Las Vegas, designed – astonishingly – by the same architect as the Walkie Talkie, was briefly known as "Death Ray Hotel" when it opened in 2009 after guests complained a 15 sq m area of the pool deck was hot enough to singe their hair and melt plastic.

- http://www.theguardian.com/artanddesign/shortcuts/2013/sep/0...
I dunno why they don't just put some solar panels down there in that parking space and use the free energy and stop bitching about it... I mean come on people. If a building has the energy to melt a car... could we not somehow use this somehow?
Picking the right hackathon
I guess we won't come to an agreement. I think chemical weapons are immoral and their use must be punished, even if there is a one in a thousand chance we are hitting the wrong party. The party that, incidentally, is single handedly responsible for cleaning up and avoiding any solid investigation.

You think that because the US (and every other country) has acted immorally in the past, no such punishment must be carried out, and Assad should be given a free hand in dealing with his civilian population...
Glitch iOS 7: Calendar & Calculator Fail
Reasonable defence
There are an infinite number of things that could be super-awesome if only everyone just donated $X to them.
bitcoin.org and the SecondMarket Bitcoin Education Center (https://www.secondmarket.com/education/learn/bitcoin-educati...) are great resources
A thoughtful speech by Bill Watterson on his notion of the real world.
Your manager will not know anything unless you also select her/him. And if you both select each other, that's just a re-validation of your synergy :)
Why Did We Think Large Scale Distributed Systems Would be Easy?
great Idea. tried it and found it very useful.
Looking forward for the final release.
It was only a matter of time before they added Redis to the mix. Glad to see it happening sooner rather than later though.
Umm... If you have a way to get 9 million people to agree on something, why aren't you president of a small European country yet?

Also, if you think it's easy to get $6,700 out of a millionaire, perhaps you aren't understanding why they're millionaires.
That will help me a lot in el5odary.com,
I am willing to pay but I have to see ur pricing first :) do u give it for free for early adapters ;)

Looking forward to see how this nice idea goes.
That's sad to hear. Part of it is an ideology that code that needs commenting should simply be rewritten. But I've written many paragraph-long (or page-long) comments, especially at the class and module level. Where comments are really necessary is to give a big picture overview how all the parts come together. Or to explain the "why". My personal theory is that comments are like chess annotations. Sure you could just read the notation, but the comments show you what is unseen, like what would have happened in six moves if white had taken that pawn. . . .
Indeed. It would have been better as "CS degrees from JavaSchools."
We Post Nothing About Our Daughter Online
I think I'll go get a kit kat out of the vending machine...
Easier said than done. This is trivial for single-purpose apps like Calculator or Weather, where it's easy to predict what the post-launch UI will look like (hint: there's only one screen...)

For much larger apps the "fake screenshot" is harmful. Take the Facebook app for example - what should the "fake screenshot" be? iOS does not differentiate between a completely fresh launch vs. a simple restore from background, and will show the same image no matter what.

So now you're in a situation where you've presented your users with a fake/blank Facebook stream, but really they were restoring to a photo they were looking at. Oops.

Or hell, do you even know if your user's logged in? Would be a shitty experience to show them the fake/blank stream but suddenly pop them back to the signup/login page no? What if they are logged in? Would be a shitty experience to show them the signup/login page and suddenly yank that out from under them.

This whole business is a shitty solution to a shitty problem: apps take forever and a day to launch.
Presumably it's only for apps with push notifications. I don't know about you, but I find it fairly easy to get rid of (or disable) apps with push notifications I don't want.
Another possible conclusion is that they selected a few possibilities, including other K-desserts (Kakao? no, too Cocoa; Kremlin Cake? too sovietic; Kaki jam? Weird, too Chinese; etc) and decided the less bad one was Kitkat.

I'd say the problem is to be too systematic. Same with Ubuntu Zoomy Zoo and Apple iSeries. Would a writer submit himself to such a gimmick for his book's names?

However, my main grip again Kitkat would be that it is the same as all other "chocolate" bar: it is industrial junk-food, making us all obese, and it do not contain chocolate.
MyOpenID will be turned off on February 1, 2014
I just received the following e-mail from larry.drebes@janrain.com:

--

Hello,

I wanted to reach out personally to let you know that we have made the decision to end of life the myOpenID service. myOpenID will be turned off on February 1, 2014.

In 2006 Janrain created myOpenID to fulfill our vision to make registration and login easier on the web for people. Since that time, social networks and email providers such as Facebook, Google, Twitter, LinkedIn and Yahoo! have embraced open identity standards. And now, billions of people who have created accounts with these services can use their identities to easily register and login to sites across the web in the way myOpenID was intended.

By 2009 it had become obvious that the vast majority of consumers would prefer to utilize an existing identity from a recognized provider rather than create their own myOpenID account. As a result, our business focus changed to address this desire, and we introduced social login technology. While the technology is slightly different from where we were in 2006, I’m confident that we are still delivering on our initial promise – that people should take control of their online identity and are empowered to carry those identities with them as they navigate the web.

For those of you who still actively use myOpenID, I can understand your disappointment to hear this news and apologize if this causes you any inconvenience. To reduce this inconvenience, we are delaying the end of life of the service until February 1, 2014 to give you time to begin using other identities on those sites where you use myOpenID today.

Speaking on behalf of Janrain, I truly appreciate your past support of myOpenID.

Sincerely,

Larry
PT is centre-left. It is no more "socialist" than most mainstream European "socialist" parties, none of which are socialist in anything but name.

PT might have been socialist some years back, just like many of the European socialist parties used to be (many even used to be communist).
Web Design Book of Trends 2013-2014 - Free eBook
Ask PG: Accents vs Verbal Communication skills. Which has a bigger impact?
In your most recent essay (http://www.paulgraham.com/accents.html), you discuss the correlation between founders having very strong foreign accents and their companies doing badly. The reasoning according to you is not the cultural signal accents send, but the practical difficulty of getting a startup off the ground when people can't understand the founder.

If this is true, then there should be a correlation between founders' verbal communication skills and their companies doing badly even when we exclude those with accents. Have you seen this in Y.C. companies?

I do agree that most people (investors, press, potential employees, partners) don't consciously discriminate against foreigners, but their models of the ideal founder are current successful founders, who are mostly north american fluent-in-english men. Could this be related to the correlation you have seen?
I totally relate to your frustration here, but you are being petty in your reaction.

If you would like to change the way the language works, hostile personal attacks are more likely to turn people against your cause.
Well I recently saw a MacBook Retina and was shocked at how amazing it. I dislike the OS, the case design, the keyboard -- everything about it. But wow, that screen. Painted on is a good description.

On game performance, I thought pixels were a fairly parallel problem? That is, the Xbox vNext could simply overcome it by not using a low-end video card like the XB1? Just add shaders and whatnot.
It's a sad human trait that thinks they know best and do not heed the lessons already learnt from history, and therefore bound to make the same mistake someone else has already made. Worse still is when is the same mistake you have already made!
Stay classy, ponyboy.
Heroku API issues (for several hours)
About two weeks ago I started to explore a concept with a friend where people wrote the AI to a fleet of ships in browser using JS, which then got executed. It seems to work alright, but I'm no expert when it comes to JS, so I'm not sure what would need to be done to sandbox it and make sure the user-generated scripts didn't do anything nasty.
Thanks David. I agree (esp about the nuggets obv ;) It's a slog going through slide decks and on the few occasions that people have uploaded videos it's hard to make the time to watch them. Is there a "Pocket for Video"?
I don't mind designers and/or developers changing their products. If they think they have something better(disregarding the contrived-ness of the term for now), they're more than welcome to provide me the new stuff.

Just don't take back my old stuff which I'm familiar with. Give us the choice, damn it.
That's... wow that's a really naive idea of how engineering works. You think that you do a few sin's and cos's and then mistakes just can't happen? That stuff you did in middle-school? I guess civil engineering really needs you.

Why are you referring to a singular "this guy"? I hope you understand that the design an construction of a skyscraper involves more than one person at every step.

I'm not sure why you are floating the conspiracy theory stuff - I really hope that's some kind of straw-man you're trying to pull, because otherwise... seek help.
I see your point. Not sure companies would go this way because it requires either a more tech savvy customer or a highly commoditized server appliance in every home and business. If internet connectivity companies delivered micro-servers to every customer instead of a dumb DSL modem/router things could be very different. Every home/business could have their own internal and externally exposed (if desired) server. That could be cool in a million different ways.
Keep in mind that as long as you're driving the economy (by production or consumption), you're enabling whatever pre-existing incentive-structures the economy supports. $5 of vegan bread gives the grocery store five more dollars, which it will then use to pay that loss-leader butchery that brings in the saturday shoppers, etc. Putting $1.50 in a vending machine to buy a Nestle-competitor's product, results in the vending machine company renewing Nestle's contract either way (because they're the draw), that competitor paying Nestle $0.40 for pre-processed milk-chocolate product, and Nestle spending $0.40 more not to market their products to you (they assume you a lost cause), but rather to your children directly.

...Or, in micro-econ terms, if you pay me $5 for vegan bread, I'll spend that $5 on several kit-kats (I am, after all, craving them now), and put some away to save up for a new phone. You've effectively multiplied the harm you're doing!

It's the same general argument as "a portion of every tax dollar goes to killing brown people", but escaping the economy entirely is actually harder than plain-old tax evasion. Basically, voting with your wallet only sways sole proprietors; anything larger may be externally capitalist, but is internally more socialist/syndicalist, driven by long-term contracts, quotas, "consumer confidence" ratings, futures, government certifications, and insurance-risk-purchases more than hard revenue. All that is opaque to you as a consumer, so there's really no way to influence any entrenched player by purposefully tugging on money-strings. They've purchased entire portfolios to hedge against precisely that effect!
Interesting aside, it is made by Hersey in the United States: http://en.wikipedia.org/wiki/Kitkat
Which one is the simplest? I rest my case.

Of course the regex is simpler as everyone who knows regexes will understand it.

If you don't know regex you should invest time on learning it. It's the same if you say:

I don't know german, look at this german sentence builder, it's so much nicer!
> builder.firstPersonPronom().verb("like").directObject(new SecondPersonPronom());
> => "Ich mag dich"
The transitions to mainframes, Personal Computers, laptops, mobile phones, smartphones, are textbook cases of fixing something that wasn't 'broken'.

I think if you're not careful the future will creep up on you without fixing anything.
Windows 9 concept
saw the story about the Jag yesterday, "fryscraper" made me chuckle though :)
Especially having two buffers is a productivity booster, if I would count how many times per day I take some data from a source window/view with ctrl+C and another one with selecting it, then pasting one of them with ctrtl+v and the other one at the correct position with middleclick it would be quite alot. Like I just did with this text. Then I have klipboard which keeps both of the buffers in a history, so awesome Im baffled how my collegues at windows can even do their job.

Especially useful in terminals where ctrl+shift+c/v is awkward to press compared to a middleclick.
And yet, imagination is what haptic feedback and whatnot is all about. Phones vibrate in a way that sorta feels like you're pushing a physical button, which has the same effect in the brain.

I'm seeing a market here. Smartphones that emit a cloud of weed/acid to enhance the experience.
But think of all the cool tings I could do if they just gave me their money.
My first project in Rails – Pastebin for Mathematicians
Made this using Rails and Mathjax JS library. Sort of like the Gists for Latex. Would love to get any feedback.
Well except you have to model the position of the sun for every hour and day of the year, but sure other than that just like it.
We got visited once. Turns out the CPS for the most part isn't really interested in Parents who love their kids enough to let them experience a little pain. They were there less than 30 minutes.
if you're feeling overwhelmed (these are your words), why are you doing so much?

seriously. why?
If the same serial number keeps popping up, you can generally assume it's been compromised.
You might find the work coming out of MIT's Fluid Interfaces group fascinating.

The "Smarter Objects" (http://fluid.media.mit.edu/projects/smarter-objects) project seem to tackle some of the things you're talking about. This article (http://singularityhub.com/2013/05/20/virtual-and-real-object...) explains it a bit more.