skysight-inc/HackerNews huggingface dataset:
Right now, a large number of Android sales are Samsung devices. Samsung is very profitable. [1]

There is a risk to Google that if there is not sufficient diversification in the Android market then Samsung can do what they want - including in an extreme scenario forking away from stock Android and creating their own lock in ecosystem to go up against Apple. (this is an extreme scenario - but I don't think its impossible)

Remember non-tech savvy people may just enter a store and think do I want an Apple or Samsung phone/tablet.

I also wonder if the real purpose of the Nexus devices are to help get other devices makers up to speed to compete with Samsung.

[1] http://www.asymco.com/2012/11/14/google-vs-samsung/
I've made the move from Washington to Bay Area, and the salary reflected cost of living. Was a big company, with salary bands, and all. You should consider it for your specific case. You also don't have to live in San Francisco as long as the office is close to public transportation.
I think that more focus, at least in the short term; needs to be put on making crypto accessible to windows users. As an example, consider the following project website:

https://www.gpg4win.org/

An invalid security certificate, and even that only if you go out of your way to specify https. If the vast majority of users saw this, they'd go running; including myself. I can't in good conscious recommend crypto that doesn't have it's own security certificates under control.

I have as yet not seen any less shady open implementations of PGP out there.

Of course, because of the proprietary nature of windows, it is totally possible for them to have back doors which will break your encryption, but I'm fairly sure that there are ways to verify, even without source code; that Microsoft isn't pulling any funny business.[0]

[0]: Besides, I'd prefer a situation where politically unsavory backdoors have to be used to read your data, as opposed to it being plain text and free for all.
To add some more complexity: the reason he is in a dodgy situation in the first place are rape allegations. Looking at some "leaked" parts of his biography this doesn't sound too far-fetched to me.

I definitely appreciate his engagement in disclosing many interesting documents about the micro-social diplomatic environment. But after all, what about the more interesting stuff? Leaked documents from the center of the turbo capitalist universe are still pending. (IIRC those were promised for around last christmas...)
I noticed today that my submitted stories page shows upvote arrows for my older submissions (as if I hadn't upvoted/submitted them). Only the 20 first ones have the red asterisk. And my saved stories page does not show old stories.

So it's not just me. Just to make sure, you know that link only works for yourself, each user can only see his own saved stories page.
For advanced performance testing and benchmarking you can use JSPerf http://jsperf.com/
This will only work for awhile.
how so? We are just trying to help small businesses get their social up and running :)
What is unique about this? There are thousands of services online that offer the same. What makes your site any better?

Moreover, this is not at all relevant to the HackerNews community.

If you can share valuable insights as to why this is a good or bad thing for businesses to do, then that might be more useful.
Game developers, if this were your game, you'd get 25% of the play fee each time your game is played in the competitive high score format.
Yes. I can stream large (up to 20gig) x264 mkv files from a machine running ubuntu/samba. It doesn't play HD xvid files though.
Similar, but less intensely so. Great city. Love it.
Yes and Backbone has its source annotated to make it easier for you to understand the code http://backbonejs.org/docs/backbone.html
100 frames per second. He probably changed that during development.
Yes. It's the calculations and direct pixel setting that's slow, not the actual "rendering" of the canvas (which is accelerated like crazy in most browsers now).
BitConcierge.com, Bitcoin's Black Card?
Is it not possible to implement swipes on Android widgets?
Riding a bike fast is not all that dangerous. Ignoring traffic controls is. One would expect that the "king of the mountain" rating is based on a combination of lucky traffic light timing in addition to raw cycling skill. Otherwise, Lance Armstrong would win every route, right?
Great chatting with you too, Kevin. Keep me posted on how things go.
I find this amusing because I predicted that the whole address thing was just a publicity stunt:

http://news.ycombinator.com/item?id=4848528

This could be too. It sounds just a little too convenient for something to be getting this much media attention on its own.
The difference is that an icon library can probably only be completed by the initial designer, because all the icons should match in style.
500 likes on the website and checkout goes to 1000? what is going on these days
Sure they do. Think about all the other search engines people use. With only a few exceptions (Bing, DuckDuckGo), they are niche. If I want to look up a restaurant, I might use Yelp but I'll use a different search engine for a different niche. It's the same pattern, just in a different form.
Indeed. It's easy to think that, and it's easy to convince people of that. But once you get into the messy business of creating a police state to enforce what people eat then things take a turn for the worse. Good intentions don't always lead to good destinations, it's funny how well that is known and how often it is failed to be understood.
Yes, but when you write in a high-level language like javascript without taking advantage of all of the high-level features like webgl (which are provided by the implementation and assumed to be fast), performance suffers.

In this case, Notch is writing code that doesn't necessitate the overhead of using JS. It could easily be rewritten as C and probably run faster that way. Not that it isn't interesting, of course.
We've added 3 rounds of features to the language and it's still too complex.
NSA Whistleblower: Everyone in US under virtual surveillance, all posts stored
Shit... you're right. We should have checked that, we'll have to find a better solution (S3 might work but also might be too expensive).
It is relatively straightforward (at least conceptually) - you're just projecting 3D vectors down onto a 2D plane (your screen)[1]. Conceptually, this is just the bread and butter of vector algebra (first year physics undergrad).

[1] Of course, it gets more complicated if you want to be more realistic, like including a field of view (cone) rather than a screen-sized chunk (prism) of 3D objects, and so on, but these are just details.
The biggest problem is having to use old LTS distros in production that only have python 2.6 for example. I'm glad that most LTS versions are soon to be using python 2.7.

I know 2.7 has been around for a long time, but so much production software is running on RHEL/Centos systems with 2.6.
Ruby seems like a bad basis of comparison, as it appears to be designed without concern for runtime speed at all and the main implementation uses a slow, simple design. High-level languages in general can be very fast, but it doesn't mean any particular one is.

C# and Java can produce very efficient programs, and for a lot of CPU-bound problems the obvious solution in either of those will be faster, particularly stuff that needs to perform lots of little allocations or where the obvious C++ program does too much accidental copying.
Beyond 7 billion: Bending the population curve
JavaScript: The Good Parts is definitely a good book for what you want. But there are more:

* JavaScript Patterns by Stoyan Stefanov

* Learning JavaScript Design Patterns - Addy Osmani

* High Performance JavaScript - Nicholas Zakas

After you read these three books you might become apt to write great, efficient JS code and know the underpinnings of the language, which IMO has a particularly curious design and might make you confused sometimes.

P.S: Check out the WTFJS website for being introduced to some strange behaviour of the language http://wtfjs.com/

Have a nice and busy week!
I think smaller is always better, it would be fine to take on 10 companies and just hot house them. I think that would be awesome.
Probably just to emphasize that clock will be called 100 times per second (which will result in 100 fps).
IMO, having been involved in a co-founder dispute, in hindsight the issues were not at all petty and reflected major differences in attitudes and long-term goals of the co-founders. They SEEMED petty at the time, because people, specifically young people, tend to do a poor job of identifying core causes for interpersonal disputes. One risk of investing in young founders is that this sort of thing will happen at a higher rate than if they were older, but for a number of reasons that PG has discussed at length, the pros of generally investing in younger founders trump the cons relating to emotional immaturity.
A lot of people on HN are starting companies and trying to establish themselves with social media(twitter, facebook, etc.). This gives them the jumpstart they need to get their pages and handles running.

People don't like to follow a handle or like a page that has very few likes. Getting those first 1000 followers or 500 likes makes a huge difference in the amount of people who actually end up hitting "follow" or "like"
Interesting, and pretty damn cool!
I'm sad the article doesn't have give really good and substantial reasons for c++'s continued popularity (whether c++ "is back" or "never left" is a judgment call).

I would say that the basic reason is we still need systems that both customize their low-level (literal and metaphorical) bits and use large scale, powerful abstractions. Indeed, it worth remember that very high-level abstract systems (such as databases) often wind-up simultaneously crunching lots of data in unique ways and thus needs *particular" sorts of low-level operations along with a variety of high-level constructs.

C++ has succeeded as a tool allowing you to do nearly any kind of abstraction up from the low-level operations implicit in c. And given that this is a broad mandate, the language comes out "too big" seeming, "too wordy" seeming and so forth. Not a nice language but efforts targeted to a similar area have wound-up making similar compromises and thus having equivalent problems (see the D Language - not that its failure but that it seems to have failed to be lots better than c++). C++ can be "the best language" (for its purpose) without being "a good language" (without being a pleasant or sane-seeming language).

As jandrewrogers said, (at least the best) c++ projects use less than the entire language and use it according to their needs. Merely having good parts is not enough to make a language good but until we have a good alternative to c++ or until we have garbage collectors and virtual machines that are guaranteed to work best for any significant system whatsoever (good luck with that), c++ will have a place.
Well this just sucks. I wouldn't want to be living in the UK.
At 86 companies YC is more likely to hit up against the limits of Dubar's number than at 66 companies (or 50) - assuming, of course, that Dunbar's number is meaningful.

As an aside, funding to the point of creating financial carcasses in the previous cycle could have effectively lowered the Dunbar number for that batch.

http://en.wikipedia.org/wiki/Dunbars_number
Is it better to have no likes? While it does give a slight hit on engagement, the increase in the amount of people who are willing to like your page increases dramatically, resulting in actual engagement much quicker.
I think this is very relevant here - interview with the NSA whistleblower, William Binney, on how NSA is storing every post people are making online, so they (and FBI) can use it later:

http://www.youtube.com/watch?v=TuET0kpHoyM

No wonder NSA and FBI want warrantless access to private companies by lobbying for new laws like CISPA, and trying to build backdoors in services like Facebook, Skype, Twitter etc. They want to know absolutely everything you do online, besides your public posts:

http://www.wired.com/threatlevel/2012/05/fbi-seeks-internet-...

I don't know if they are doing it out of malice/power grabbing/control, or purely as a way to make their jobs more "efficient". But their #1 priority should always, always, be respecting the Constitution, and not trying to skirt around it. And I think they've forgotten all about that long ago.
And this is why a "save story" feature should be added. I do this too and it's probably breaking the logic behind why upvote exists in the first place.
I personal do this for legibility and ease of comprehension. Kinda loses its value when dealing with such nicely rounded numbers but, as an example, 1000ms / 24 is easier or me to comprehend as 24 ticks per second than 41.6666ms.
Oh, just as I was moving to Singapore (where Derek now lives).

But Derek has been incredible helpful more than once in my life already. He is an example to follow.
When you say you vary your methods, what do you mean by that? When you were in your networking class and it wasn't structured in a way you found convenient, could this have been demonstrating that you're overly dependent on certain learning techniques, and need to become adept with some new ones?

Your repeated references to hard work stood out:

> I worked hard on that class but it didn't matter.

There's a pattern you can fall into where you stare at the page and get stressed, and then come away hours later none the wiser but exhausted and feeling unduly virtuous from your hard but meaningless work.

Hard work doesn't count for anything of itself. Only when you're pursuing effective strategies.

> I'm likely to not ever know.

If you want to, you could dig up your syllabus notes or email the uni for a copy of them. Identify the topics, and see if you understand them. Get past exams out of the library and identify the topics in them. Find a mentor and go back over the stuff again until you have an easy understanding of each of the concepts.
I'd say a lot has changed in Libya since 2010...
The Scala compiler itself is written in Scala, so improvements in performance will also benefit compile times. Or so I hope.
Quantify "significantly". There's a gain, but whitespace compresses Really Damn Well.
I'm sorry but the only good password is one that isn't used on other sites (and only using sites you can trust). The issue, by and large, isn't people guessing passwords, it's websites insufficiently protecting passwords.
No, it's a JVM optimized for "not being something Oracle can demand money for."

It's an okay JVM at best, and it's a pain in the ass to deal with because of its lack of support for things that are at this point basic on the JVM, i.e. code generation. And it's not just the different-to-be-different bytecode environment that does that, but bad design decisions like a laughably low class limit--which, in addition to making Groovy, Rhino, etc. unusable, hobbles Scala, too, and will hobble Java 8 when that comes out.
Intel has a CRC instruction built in to the x86 instruction set on newer CPUs. It turns out that using this instruction is a substantial performance win.

The problem with the "sufficiently smart compiler" argument, as always, is that the compiler may have a lot of optimizations, but it's still not an artificial intelligence. It can't tell that what you are trying to do with your set of operations is actually perform CRC, and there is hardware support for that.

Check it out at:
http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-comm...

We have written custom memory allocators, our own network stack and protocols, measured and optimized every operation in the years before the accelerator went live.

I would actually argue that you don't need to do these things in most cases. SCTP and DCCP are alternatives to TCP/IP that have been in the Linux kernel for a while now. If you want to trash TCP/IP and go full custom, you can do so without writing a line of protocol code. However, a better approach is to use TCP/IP with tweaks like Fast Open (what Google uses internally.) You can then continue to buy commodity hardware.

Similarly, memory allocators have been done to death. Just use tcmalloc or jemalloc rather than rolling yet another malloc(). The exception is if you want to create something like a slab allocator where you just hand out lots of mostly identically-sized buffers, or a database-like application where you manage your own writeback to disk.
Yep, the hard part is the calculations required for every pixel being displayed.

It does get better framerate changing the variables: http://jsfiddle.net/wATAp/
Hope you don't have any <textarea> or <pre> tags on the page.
I enjoy that everything is procedural generated. The software rasterizing is pretty cool too. I don't mind that he uses short variable names, sometimes it's nice to have multiple lines line up perfectly. But this is just silly...

for ( var x = 0; x < w; x++) {
var ___xd = (x - w / 2) / h;
for ( var y = 0; y < h; y++) {
var __yd = (y - h / 2) / h;
var __zd = 1;

var ___zd = __zd * yCos + __yd * ySin;
var _yd = __yd * yCos - __zd * ySin;

var _xd = ___xd * xCos + ___zd * xSin;
var _zd = ___zd * xCos - ___xd * xSin;
>"when is that useful?"

I would like to be able to listen to youtube music videos while doing other tasks.
It's a common curtosy to mention it. Ufnortunately otherwise, when you recommend a link it sounds more like your trying to make a buck than help someone out.
If you want to solve his original problem, detecting treble and bass energy in an audio signal, you might want to read up on the Goertzel algorithm. http://en.wikipedia.org/wiki/Goertzel_algorithm

For limited numbers of bands it will use less battery power and be faster.
These particular ones, likely not. It was more of a general observation about performance when dealing with crippled environments like Dalvik.
Nothing more will be added to Core (though a few things might be removed), and very little more will be added to Base. Most new stuff in the future will be in separate packages and modules.
Any Apple v1 is usually going to have one downside. That's the rMBPs.

I was crazy enough to buy a v1 MBA. That thing ran so slowly due to overheating it wasn't funny. Now they're the most awesome portable notebook you can buy. :)

The v2 of a 13" rMBP might be the perfect laptop. :)
I'd wager that's the goal.

Media - music, news, movies - from the West (Western Europe, US) is one of the many things that sparked discontent in Soviet-bloc countries. It countered much of the propaganda put out by the "workers paradises."

In more current times, putting out video, images, and information has shed light on atrocities that are going on around the world. Some of it drives people to action.

Anything the regimes can do to cut off communications is a win for them.
I feel pretty safe predicting that most communications are moving to mobile, vs. desktops. Even if you have a desktop, most of your communications will happen on a mobile device.

The thing we really need (and what I'd fund if I had a spare $Xmm or so) is a great crypto API and solution to the user key management problem for iOS and Android, hooked into apps. It's technically easier to do on Android. On iOS, you're kind of stuck due to the core apps (mail, messages, etc.) being first-party Apple). It basically would take Apple deciding they cared about this issue, then building it into the OS in a way which didn't actually require trusting Apple completely, to work very well. Android has some steps toward this with some NSA projects, and wouldn't even necessarily require a full forking.

Some way to do tokenization and thus fairly transparent encryption on the client (phone) inside apps like the Facebook App, Twitter, etc. would also be nice. That's both a technical challenge and a UI/UX problem.

Silent Circle (from Jon Callas, Phil Zimmerman, Vinnie Moscaritolo (the PGP team...) and some Navy SEALs and defense contractors I knew from Iraq) actually seems like a pretty viable choice for sms, email, and voice right now. It unfortunately doesn't integrate into the social networks and other services people use, though.
Lifebooks are amazingly awesome for non-Apple hardware, but yeah, low res has been letting them down for a while. The build quality is insanely good though.
This kind of over-the-top writing confirms what I already thought, which is that despite whatever good he might do in terms of exposing corrupt governments in the world, Julian Assange is just desperate for attention.

Being this paranoid he should be advocating "post-quantum cryptography", i.e. cryptographic methods that are secure even once somebody develops a quantum computer.

https://en.wikipedia.org/wiki/Post-quantum_cryptography
Links to any of those recommended reading lists?

The closest I see to such a list is:
http://www.eecs.berkeley.edu/GradAffairs/CS/Prelims/
And also damages other useful communication structures for people, so probably (?) counter-productive
I feel pretty safe predicting that Desktop computing will be around for a while yet.

I also feel pretty safe in saying it's not an either or thing, we can have both; and should.
We need a standard for namespacing localStorage keys
Thanks for the livecoding link. I assume there's some overhead in constantly checking for and applying code changes - that's probably the reason for the lower frame rate.
A sufficiently motivated government has a nearly infinite amount of tools available for breaking encryption. Ignoring the possibility that it might know proprietary weaknesses to various systems (a hypothesis that is unknowable), there's just so much you need to secure at each node in a computer system.

Are you personally sure no backdoors exist in the physical hardware you use? In the operating system you use? In the compiler used to build your OS? In any of the applications on your system? Are you sure that there's not a hardware keylogger on your keyboard, and do you check every day before sitting down that there's not one? Are there any secret cameras pointed at your keyboard, or sensitive microphones hidden nearby that can distinguish what keys you hit?

And once you're sure of all that, are you just as sure everyone you communicate with is equally diligent?

And, while we're at it, have you come up with a solid patch to prevent the well-known rubber hose vulnerability that exists in all cryptographic systems?

That doesn't mean the crypto-anarchist project must fail. Encryption is invaluable: while the vast majority of other technological advances--sedentary agriculture, writing, maths, roads, sewage systems, paper, the telegraph, electricity, the light bulb, cars, "computers," satellites, Google--have all increased the legibility of the world to the State, encryption does the opposite. The panopticon isn't an existing, established system but instead an equilibrium point that the State has to constantly push us toward: anytime the economic cost of that push is increased, it gives us more opportunities for creating spaces of genuine human autonomy.

But once you recast crypto-anarchism in that more moderate and stronger form, encryption moves from "our one hope against total domination" and a "hope that with courage, insight and solidarity we could use to resist" to something more banal: one tool of many. Not even a particularly effective tool: governments don't care about a bunch of nerds throwing PGP parties, and all the encryption in the world hasn't prevented the State from throwing Assange into jail (a pleasant jail with some fine Ecuadorian decor, but a jail nonetheless) and obliterating his organization.