skysight-inc/HackerNews huggingface dataset:
Good question. I'm not sure I have a great mental list that differs from the "go community conventional wisdom" (whatever that is), but it was basically:
- Avoid creating garbage unnecessarily, but don't go too crazy. It's often enough to, e.g., statically size those things you know are static. We tried adding a structure cache to our RPC/marshaler to further reduce GC, but it didn't prove helpful and just complicated our interface.
- Pre-size data structures when you can (maps, arrays): Reduces performance variation as they dynamically resize.
- Be careful of using introspection for things like marshaling. It's easy to create a bottleneck.
- Batching is just - or more - important as it is in C++.
- When you're doing complex stuff, be deliberate with how you prioritize request handling ().

More on (): We found it incredibly important for the performance of our system to prioritize processing of existing requests over processing new request arrivals - up to a point. Making progress on an existing request helps reduce the number of goroutines/objects/etc. that're processing, so that everything runs faster. But you don't want to go too far or you starve for work. The key here was to think about it instead of letting your design happen to you.

The most important is already known: Profile, don't guess. The profiling Go article is a good start.
You have two options; say what you like and what don't, get to know yourself, what you really want, talk about it. Say you are a real engineer not a code monkey. You want to build something great, not fool around. Tell them they're wasting just time by not being organised.

The second option is to still find what you really really want and find it, and quit.

Being in resistance is just wasting time sorry :-) Good luck!
MCDs actually killed the dollar menu recently http://www.theatlanticcities.com/jobs-and-economy/2013/10/wh...
Hofstadter is about as much of a science researcher as Goethe was in his day.
Also a very large anti-fanbase.
You can also use ixquick.com or startpage.com that doesn't show banner ads for me.
We do have an "Exclude Patterns" setting that accepts a dir globs in the repo settings area.\

Edit: We also automatically ignore minified files. If you need a hand with anything please shoot us an email and we can help you out (hello@codeclimate.com)
Sort of unreadable text.

https://www.dropbox.com/s/ofhe1grumt5tyyq/7846322.PNG

Chrome 30 on Windows 8.
This article is not about Apple, it's about the tech press's failure to uncover big stories such as the NSA case. Yet the author chose to tack on a cookie-cutter lede about Apple and to make the title about Apple. Seems hypocritical.
(FYI, I think you mean equate, not equivocate)
Like said, the word "exchange" is critical here, and isn't pedantic - this is a key part of the modern western understanding of contract law.

A contract must be quid pro quo to be valid.

"Bob, I'm going to come fix your fence this weekend" is a promise, but it isn't a legal contract.

"Bob, I'm going to come fix your fence this weekend for $100" is a promise, and because there is a quid pro quo exchange it can qualify as an enforceable contract. Bob can potentially come after you for damages if you renege on your end of it.

One-sided promises (like the one Google made) are generally not considered contractually obligated[1].

[1] http://www.nolo.com/legal-encyclopedia/consideration-every-c...
No one is complaining about profit or exploring ideas. People are complaining about this specific idea.

Profits only show up if customers like the decisions that corporations make. NBC picks its shows to make maximum profit, just like CBS does. But CBS has made more popular decisions.

Complaining about a corporate decision doesn't mean people are naive. It means they just don't like that decision. That is a data point for Google to consider as they think about whether to roll this out broadly.
While it may not be a banner ad, it's a foot-in-the-door technique. Display these branded search for a few years, so when they're ready to implement real banner ads, users won't be shocked.

Just imagine the press release.

"This isn't something new we're doing. We've been experimenting with showing users highly targeted banner image when querying for specific terms. We're only expanding that target to help users find what they need faster."

Bam.
Yup - there were some growing pains associated with such a big change. The first versions of Windows after they switched from DOS were pretty painful, too. I don't think the desktop became useful until Windows 3.1.
As he said in the post, what a customer asks for and what a customer actually wants can be very different (and by wants he means what they will actually act on). Apparently they didn't act on paying per ticket but they DID act on a single no hassle price.
That means Microsoft did something right. Same way a new i-whatever is supposed to make the old i-whatever look old, slow and ridiculous.

It's called incremental update or improvement.
Was going to post the same, unreadable. (Chrome 30 on Mac OSX)
Yes it would run OSX (On the vanilla kernel too, just need to inject FakeSMC and an AppleHDA mod). AMD's newest offerings are obviously supported under Mavericks as well as 10.8.5
Personally I bought a surface just because i wanted to be able to play old games on it, but turns out now i use it as:
A standalone desktop replacement with a blutooth keyboard/mouse combo (seperate keyboard on a mobile device is heaven).
Replacement for note taking with the wacom digitizer.
An on the move gaming console for even modern games (blutooth game controller + steam)
A picture frame on the coffee table that tracks all messenging applications (only need to look to the side, not go for the cellphone everytime something updates)
Vine Update Lets Users Edit Videos, Save Multiple Drafts
Need For Speed World Hack Boost, hack Generator Money, hack add Powerups
Saw the hash statement and thought the same thing especially when you store the last 4 digits and BIN unencrypted for looking up accounts and analytics.
Seems plausible, so much so that this is also what the article is saying.
Absolutely, that's the exact genre I'd want to target. The RTS world is way too baroque, I love the minimalists.

The problem is that even a simple RTS has some brutal challenges - pathfinding is hard, and if you want to go multiplayer you have to find a way to get lockstep logic (in C#/Unity this means doing all your simulation math using custom fixed-point numbers and using lookup arrays for all your trigonometry) - that and you need unit-AI.

RTS is hard.
the author chose to tack on a cookie-cutter lede about Apple and to make the title about Apple. Seems hypocritical.

Also, seems like an effective demonstration of the very point he's making.
Innovation does emerge from the competitive forces in capitalism, but it doesn't have to come from the old companies (and usually doesn't). B&N sells e-books, but it was a new market entrant, Amazon, that brought the innovations in e-books and readers
Here's a little story to add context. When I was 8, I was hit by a car by a hit and run driver. The guy took a corner without stopping and clipped my bike, throwing me over the handlebars. He got out of the car, said "oh shit", and sped off. (Luckily, I only twisted an ankle, but the cops sent me to the hospital to get checked out) That's hit and run, and was illegal in 1980's NYC.

All I knew was that it was a blue sports car with a white dude, probably a Camaro. But a bystander was able to jot down most of the license plate, and the police found the guy. Because it was an accident, my parents health insurance wouldn't cover the ER visit, but the guy's auto insurance company did.

If this happened to you today, and you were hit by an unregistered vehicle, it's far more likely that the operator will get away. There's no license plate, and it's much more difficult for the cops to find a bike than a car. And there's no insurance, so accident liability is a bigger issue as well.

As you pointed out, you need to draw the line somewhere, I'm not sure where that line lies.
You are not alone in your confusion :/
1) Templates
2) SIMD, but also auto-vectorization. gcc/g++ do an OK job of using SSE instructions when they can. If you have a loop like:
for (int i = 0; i < 16; i++) {
vec[i] *= 16;
}

gcc can sometimes emit SIMD code for you, without having to think about it. If you need to go farther, it's easy to use something like ispc to write vectorized code and link it into your program. It's more work to take advantage of hyper-optimized C from Go.

Cache-optimized layouts: Not where it comes from, but things like forcing a structure to be aligned on a 64-byte (cache line) or 4096 (page) boundary, in order to, e.g., eliminate false sharing between threads. It's harder to micromanage the memory layout in Go while retaining its safety benefits and native datatypes.

Finally, gcc havs more CPU-specific builtins such as __builtin_prefetch(), which let you have even more control over what data goes into what level of the cache (or doesn't).
Well you should always ask someone who has worked with it but lately I had to come up quickly with a phone formatter class. I didn't have a clue how it worked, no comments. So I start to rewrite some of it, run it see what happens. Then when I learned what the stuff did I renamed it so it made sense to me. Used real long variable names which were meaningfull not just tmp and temp. Can really recommend it and it was very fast.
I've been playing it several times a day since you hit the front page of HN. That's very unusual for me with anything other than puzzle type games. I read your entire blog and that, in part, fuels my interest in the game... but aside from that, it's just a darn fun game. There are a few things I'd do differently, but overall, I'm extremely impressed with it.
Still more readable than the (presumably) intended look:

http://i.imgur.com/cLZMhoD.png
Is anyone else experiencing optical illusions on this page? I'm getting black dots between the swatches, and the swatches look like they're slightly in motion.
Judge accused of texting prosecutor to aid case
Yup: the Costco generic zyrtec.

A vitamin D supplement in the winter months.
Maybe the article doesn't get it across, but the anti-establishment crowd doesn't think that doing things the "human way" is always the best solution. In fact, they acknowledge that it's often, even usually, not. Hofstadter does not want to replace (e.g.) GPS AI with human-style intelligence, or even more ridiculous, replace the AI that flies airplanes with one that gets bored and does crossword puzzles instead of paying attention. Instead he wants to understand human-style intelligence because that opens doors to tacking really interesting scientific/philosophical problems like personality, self, consciousness, autonomy, etc.

In short, the camps have different goals. One is trying to solve problems optimally. The other is trying to understand what intelligence means, biologically. AI as a sub-discipline of Engineering, vs. AI as a sub-discipline of Cognitive Science, perhaps.
It's a prediction. Google's trend has been to get further and further away from their original design and core principles and push harder and harder on the boundaries of ethics and good taste. The end-game for that trend is to end up looking like a 1990's-style portal (which they already pretty much do, except at the moment all the content is still mostly Google properties). I could be wrong. I hope I am. But I'd give you long odds against.

And I'm not outraged, just disappointed.
Okay. So I've been using Windows 8 nearly every working day for the past year. I'm a programmer, multi-monitor user, and a "power-user". And how do I use Windows 8? Pretty much exactly as I used Windows 7. I've never used a "metro" app outside of playing with a few on day one. The learning curve was insignificant given my many years of experience using all sorts of different computers and operating systems.

So am I less productive now using Windows 8 than I was using Windows 7? Not at all. However I'm also no more productive than I was. Which is disappointing in way: many of the previous OS revisions have seen huge gains in usability and productivity (2000 -> XP -> Vista -> 7). But not this one.

But even though the changes in Windows 8 haven't affected my day-to-day productivity, there are plenty of annoyances that I've learned to live with. Such as:

- Start menu search is nearly unusable in Windows 8 despite the "improvements" in 8.1.

- Metro UI "leaks" in some places such as Outlook notifications, and the Open With -> Other dialog. Though that open-with dialog gets worse in every Windows revision.

- Before 8.1 the charms bar and hot-corners sometimes got in the way.

Edit, more comments:

So why upgrade? It's probably safe to say that being on the most up-to-date stable version of any OS is ideal for any number of reasons ranging from security, platform features, and general "future-proofing" of the software you use.
Windows 8..n can be bad and good.

It's awful when used on old hardware - just like vista.

It's sweet when ur using hardware that supports it fully. 1. Gesture aware trackpad 2. Touch screen

These are very important, without them, windows 8 will hell. i've been there, hated it until I got gesture sensitive mouse. I'm sure touch screen will do wonders.
Didn't check all of them, but the middle 2 colors of the bottom row (red & black) seem to have the wrong hex codes on hover.
in chrome inspector, deleting the fake-placeholder nodes makes it look okay. maybe just change their styling to display:none?
Tintin And The Copyright Sharks
I started something around the same as Groove and I was told that our users only want to pay per ticket. After doing an AB test, it was clear that a small amount of people actually wanted this option but they were quite vocal about it.

My guess is that is what gives.

To add to this, even when we had implemented this for users, they were our worst customer by far.
Ok.. I know the discussion is going way off-topic and getting pedantic connotations. To illustrate the point in my original comment, I would like to make a last cite from Britannica.

@dragonwriter: For some reason I can't reply your comments, I guess HN is delaying replies after a while precisely to avoid long off-topic threads (although they are fun :)

"contract, in the simplest definition, a promise enforceable by law"
http://www.britannica.com/EBchecked/topic/135270/contract
You know how hard it is to get people to migrate from something as ingrained as an email app? Even a great client will suffer from the migration pain.

And to respond to criticisms of "plugin dev difficulty," that's bs. Browser clients have a world more complication when it comes to supporting a plugin environment, and they make it work just fine.
Hack to find investors and investors at DublinWebSummit
There is no straw man here, as the article says the "do-gooders do everything they can to raise energy costs"; the article does NOT say 'do-gooders try to raise energy costs' or 'do-gooders want to raise energy costs', which would indeed be a straw man. The article is arguing that the "do-gooders" raise the price of energy, which has a disproportionately negative impact on the poor; it does not say anything about their motives. If you disagree with the argument, you should refute it with evidence.
The reason is that the press is waiting for Apple to drop that next hit as they did with the iPhone, iPod etc. They want to be there when it happens and report it first. The thing is that in between those hits, you have down periods where Apple is just going to put out incremental updates, add colors, change sizes and change materials. When that hit drops, every press outlet wants to say "This is where you heard it first."
> At some point, people realize that corporations exist to maximize profit and not necessarily for the good of the customer.

Trite, but disputed by many (most?) leading authorities, including Peter Drucker.

http://www.humanresourcesiq.com/drucker-on-management/column...
How about "The way media covers apple is ridiculous."?

Not every new consumer product gets a mention on national nightly news when a new iteration arrives. I find that odd and gives less credibility to the news organization in my mind.
The black dots are the Hermann grid illusion, I think.

http://en.wikipedia.org/wiki/Grid_illusion

I'm not seeing any motion, but there are some illusions that look like they're moving and it has something to do with the way they are light and dark on opposite sides, although there must be more too it than that: http://en.wikipedia.org/wiki/Akiyoshi_Kitaoka
Tutorial: Diving in (Elixir)
http://blog.golang.org/profiling-go-programs

Profile first, always.
A good point to note is that none of the major reports on snowden leaks came from tech journalists. The best op-eds and reporting came from the Guardian, WaPo and other main stream outlets. This speaks volumes about the path taken by Tech Journalists.
Having said that, I am not sure tech news sites (mashable, techcrunch, cnet etc) are capable of "newsie" stuff. A lot of the top "Reporters" who established the industry were techies first, journalists next. We need more traditional journalists understanding and writing about the tech industry (not in a naive way, which is what happens in traditional outlets these days) in a competent manner. This will probably lead to the kind of journalism the author hopes for
How about this part?

http://i.imgur.com/IhQLUoD.png

Edit: Judging by your edit, you seem to be confusing "what should they show" with the original question, which is something like "Why is the right 50% plus the top block of the left column ads?"

The answer to your question is "whatever links match the search terms based on their wonderful, wonderful indexing algorithm."
I find iOS 7 so awful that I'm still refusing to install it. Please don't take it as an example for UI anything.
The list of lists page[1] is a great place to dive in for a nice long Wikipedia binge.

[1]http://en.wikipedia.org/wiki/List_of_lists
How OS X 10.9 Mavericks Breaks Gmail
I agree with you mostly, but I do have a complaint about the all programs list in Windows 8.1. For some reason, I still find it difficult to actually parse the list of all applications. The titles of the program groupings don't stand out well to my eyes, and it gets impossible to read with a lot of things installed. I tend to just use the search rather than trying to pick something out of the list.

I agree on Android vs Windows Phone. I'm currently pulling double duty between a Nexus 4 and a Lumia 920, and I'm looking at a Nexus 5 for my next phone. Lord knows I love my Windows Phone, but I really want a 5" phone next. I was disappointed when Nokia announced the 1320 as a 6" screen and a huge case. The 1520 may be an acceptable size for my hands, but the $750 price tag is too much for me to justify.

See, this is the type of conversation I was hoping to have after the recent Nokia event, until all of the articles were inexplicably pulled from HN.
Sending Cat Pictures Over The Phone Via Space Age Technology
Not sure why estebank's comment was downvoted; Resolver One was truly awesome. DataNitro's stuff is also interesting, but it's a different approach, and Resolver One's model and work shouldn't be forgotten.
Ask HN: Are there any good Twitter API tutorials out there?
I've been searching for a while now for a good tutorial on the Twitter API. It seems most of the articles I find are outdated. Has anyone used a good tutorial recently that gets you familiar with developing a new Twitter API?
Email your customers to make money, but text them to make a fortune
After years of windows bashing, Microsoft seems is trying to correct it's security nightmare past.

Security is a higher priority than functionality right now (from observation). Until they can get a way to secure windows apps without hampering functionality, we will always have both desktop and metro mode living together.
We're looking at spreedly right now. Do know if they use Hardware Security Modules? Working in E-commerce field i've seen some pretty bad "secure implementations" like storing all the credit card data in a separate database encrypted, but they put the private key into the code base.
Hi, is something supposed to be happening after i enter my e-mail (using Google Play format)?

The e-mail says: To redeem your e-book: To begin reading simply go to your library and click "Read" to begin enjoying it on your computer.

Where is this "library"?

Google Books for Android shows nothing. Google Play > My books shows nothing. http://books.google.com "My Library" shows nothing.

Whatever happened to plain old .pdf?
Public Transit Is Worth Way More to a City Than You Might Think
I think you meant "The way the press covers tech is ridiculous".

Regardless, you've got a good point. As the press adapts to new technology influencing the way it does reporting, so much it adapt to the subjects which it reports on. This is an ongoing process and I think that it is happening. The NSA case is actually a good example of that, since although maybe it could have been covered in a better way, or earlier (as seems to be your point), it was still covered quite comprehensively and continues to be covered by many organisations.
Note that their diets are poor, by choice. They are making bad choices, which they're not being forced into. Not by money shortage, at least. You can say education, but I'm willing to bet that these people were in fact instructed in balanced diets (in high school, not at a very high level, but still).

Of course, this is the perfect illustration of how you'd expect natural evolution to respond to lack of evolutionary pressure on something. If you "solve" the hunger problem, thereby eliminating dietary evolutionary pressure, people will no longer worry about it at all, leading to "dumb problems", like this one. If we solve this problem, by, say, forcing every food to contain vitamin K, C, D and things like Iron, evolution will find new problems.
Hey, Marissa Mayer, You've Got it Wrong.
Online news is about chasing pageviews, not conveying truth or looking out for the public interest. It pays them more to milk the bajeezus out of Apple events by spinning each minor bullet point into complete articles.
Exactly which company doesn't exist to maximize profit?
I was ticked off that my 2007 Mac Mini couldn't be upgraded to Mountain Lion, until I realized Snow Leopard ran all the software I needed on that box. I think I'm happy with the hardware and form factor of my phone, too, so I've got all the electronics I need for years to come. Good thing, too, because my rent just went up, and I need a new couch.
Basically this, computers hit good enough a while ago, now you just have to replace parts when they die.

Yes, on paper, the latest processor is faster than the one released two years ago but you have to be doing specific types of workloads with it to really make a big difference.
It's not that tech news it out-of-whack, people (albeit non-technical) care about the latest iPad. Such events represent for "tech reporters" short windows to report on something that a broader audience will consume & appreciate.
Microsoft cuts Surface Pro prices by a further $100, now starting at $699
Thanks for the response! It seems exclude patterns are only available for paying customers, not for open source projects.
> When your processor is too slow, buy a new CPU, or you get a new heat sink and over clock it

The motherboards for PCs built 5 years ago are completely different from those built today, and the CPU sockets have changed every other year. New processors from Intel will be soldered on.

The performance of a PC from five years ago is probably adequate for web browsing and office tasks. For anything more demanding, the advances in power consumption, execution efficiency and process node are huge leaps from five years ago.
Excellent news! Loved using New Relic for Ruby, can't wait to start using it for Node.
Yeah, for sure. Very hard to look at.