skysight-inc/HackerNews huggingface dataset:
Any language with modules is able to run circles around C compilation speeds, regardless of what optimizations you might be doing.

It all boils down to having the parse each include file every time it appears, because the preprocessor might change the meaning of the file in each inclusion.
Amazon Cloud Drive also happens to cost less than Google drive. $59.88 per year for 100 GB on Google Drive vs $50 for Amazon Cloud Drive. Cloud drive also has a sync app.
Thanks for reading my article. It is my opinion that Go is fun, but it's just that, an opinion. I'm glad we have the diversity in programming languages that allows us to pick what we like (esp. when it comes to the server). Best.
This strikes a chord and speaks something about cultural interactions.

Ages ago, when I was at university, I spent a semester in a Soviet bloc country. There were no clubs other than the Party-run ones; few movies to go see, little to buy in stores, no TVs, no Internet, no cell phones. The isolation could have been profound. But for many people, what this meant was that human relationships became very, very intense and valuable. Friendships with my fellow students became so, as did friendships with other locals I met and got to know.

Upon returning to my home university in the US, I was very happy to see my friends, and quickly joined them on my first day back at one of our usual hangouts, a bar. I was appalled to realize that all the conversations I had had with them for all the nights we'd been going out were utterly superficial and meaningless compared with the relationships and conversations I'd experienced overseas. I gradually withdrew from my friends, trying to stick more to non-party/bar settings so we could have what I considered to be more real, deeper conversations; but I had changed, and they had not. It was very isolating.

I gradually discovered that a few of these friends also were craving deeper interaction (cue jokes, okay, okay) and those friends became not only the people I hung out with more, but the ones whose friendships with me lasted decades until today. But there was a seriously lonely stretch until I discovered that, and it was all about social intimacy -- not physical, not being among people, but sharing our true selves in conversation and companionship.

<edit: fixed a minor typo.>
Me too. Not sure if they make it to C++14 though. :(
I don't want anything, I don't care, I'm just trying to explain the issue people took with it.
Also mirage for OCaml. Unlike HalVM--which does seem like an awesome project--it's currently under active development. They also have some clever ideas about security.
And it used modules.
If you don't think Go is fun, you've never made a channel of channels of functions.
It's not the CEO's fault if he gets fired/forced out and then the bad stuff happens, though.
Google is evil. Google is nothing ore than another mechanism for the US government to spy on us further enhancing the police state. They are in bed with the NSA and are directly benefiting from their incestuous relationship with the federal government. Look at their recent endeavuours. Google glasses,illegal wifi sniffing, google plus, google fiber, andriod phones, TOS changes, youtube requiring your full name, storing of google searches. They've found a way into every aspect of our lives and thoughts. Wasn't it their mission statement that stated: Google don't be evil? Ya right.

Anyone know how to prevent googlebot from spidering my comments? I don't want an IRS audit.
> I think it's telling that Google uses a custom build system for their Go projects, rather than "go get".

Google uses custom build systems for lots of things ;)

In fact, to not under-generalize, I think it's safe to remove 'build' from the previous sentence.
"[OKL4] is a microkernel-based embedded hypervisor". That does not quite sound like an OS.
Do you mind giving a quick rundown of how you set up your environment, or at least a point in the right direction?
Atlas Shrugged, anyone?
In the sense that he made the owner aware of it.
That sort of comment is a horrible scourge on all the Haskell articles. It's somewhat surprising to see it with Go just because of how C-like Go's syntax is.
It also highlights Go's weak spot ... it's too low level, while not being low level enough for manual memory management.

The JVM engineers have been free to do whatever they want in terms of optimizations at runtime, like code inlining or escape analysis. They may even add trace compilation or whatever they feel like it's necessary. The JVM's GC is precise and generational. The CMS garbage collection rarely blocks the whole process and you've got options for GCs that are totally non-blocking. In fact, the JVM's GC is so efficient that allocating and deallocating short-lived objects is almost as efficient as doing that on the stack.

Russ Cox speaks about the boxing that Java does, but Java makes boxing almost a non-issue. Personally I've learned to appreciate the JVM and what it can do in the context of servers receiving tens of thousands of requests per second.

And here in lies the problem - Go is too low level to achieve the same level of optimizations that Java is able of. But on the other hand it's totally dependent on a per-process GC and personally I don't think we'll ever see a precise, generational GC for it precisely because Go is too low level. The Rust engineers at the very least redefined the problem by making individual threads in a process have their own heap and their own garbage collector.

Go on the other hand feels like a hack on multiple accounts. And to me it's not a beautiful hack either, plus once a language achieves inertia, you cannot change its fundamentals without redefining the language to be something else entirely. If Go will indeed get popular, it will join a long line of languages that people hate, because they have to maintain code-bases written in it, with no easy way out.

Its authors say they don't want Go to be like C++. In many ways, it already is.
Does anyone have experience with Go as REST application server? I'm in prototyping phase (in Python) of something that is basically going to be a big REST API frontend with a lot of application logic and a db backend. I'm worried about scale as if this thing is going to take off it needs to scale big and support tens of thousands (or more) of requests a second. From the article it sounds like Go would be a great choice, I found the "gorest" framework and it looks decent, but I'm wondering if anyone has experience in this area? Specifically the DB interfacing, JSON marshalling, and writing lots of classes with complex application logic parts.
They're delayed to C++17. C++14 is an incremental release only.
Why not Go? Mandatory GC.
At least a nice pretense to tax those company which regularly escaping tax.
As far as I remember there was a digital storage tax in France for that purpose (blank media, extended to HDD, and finally extended to computer )
Walmart Cambogia Garcinia: Right for You? | Garcinia Cambogia Review
Terra code can execute independently of Lua’s runtime

How about concurrently? That might be nice to have for asynchronous applications.
Cyber caper: behind the scenes of the $45 million global ATM heist
Go's aha moment is its low cognitive overhead. It eschews power and conciseness for clarity, everywhere. It takes the exact opposite approach to functional languages, preferring boring simplicity to powerful but cryptic abstraction.

It turns out that an uncompromising devotion to clarity is quite powerful in its own right. It's not right for every use case, but highly compelling for many.
Go doesn't have exception handling.

How practical is it to use such a language for large code bases?
Yeah you have to have your chromebook in dev mode, so you'll see the warning. You can press ctrl+d to skip it.

I have the original Series 5 which has a dual core Atom.
Switching career is hard, but I am not giving up
A pseudo update to a submission one year ago
https://news.ycombinator.com/item?id=3843905
That's certainly weird, I've never seen that mystery bottom bar!

Not uncommon for Facebook though, it still annoys me that they have a footer on their main website which is impossible to access because of infinite scrolling..
I don't know where you're getting your information, but your claims do not match my experience or, apparently, that of pretty much anyone else using Play (embedded Netty) or Dropwizard (embedded Jetty with a handler). Or anyone who is writing a Rails app or a Django app or anything else that lives as a standalone HTTP handler.

I have a Puppet script that sets up deployment on a new server. Puppet does not care how many machines the application is running on. Neither does the load balancer/reverse proxy in front of it; it takes a list of IPs and does its thing across them.

I have never seen an app server do anything that wasn't essentially this process, only with more XML and aggravation.
I'm guessing you copy/pasted the title in from the blog but you should probably remove the CAPS.

I like this way of doing meetings, I haven't heard of anything similar before. Although I've always hated slide shows. Do I read the bullet points? Listen to the presenter? Does the presenter read the bullets and go into detail on each one? What does it mean if there is a bullet but the presenter doesn't mention it during the presentation? There's too much going on at once. A good slide show can work very well (using a slide to illustrate your point with a graph etc.) but most people can't create good slide shows.
You've provided literally no evidence or reasoning for any of your statements.

"The US government is better than every other government!" isn't a valid argument.
This reminds me of when I was back in school and the instructor would have stuff in Powerpoint on the projector screen. It was only interesting when a photograph or image would be displayed (this was an East Asian history class) but the rest of the time was just me listening to him speak about the topic rather than paying attention to the slides at hand.

Why? Because he was pretty much just narrating what he already had on the screen.

I have always found that Powerpoint is useless for displaying anything in a meeting or seminar and yet I still find myself doing that when I myself choose to give a presentation. Additionally, I have yet to see anything that replaces it well enough that also mimics the speed and simplicity of the application, and I also find more value in just listening to the person rather than seeing what is on the screen.
Ask HN: Sports Betting is illegal, what about Fantasy Sports?
Does anyone know the answer to this? It seems to be quite a gray area, even among lawyers. Basically, I would love to build a platform where people can bet on specific players (using real money) or such using fantasy statistics. I am just not sure if it is legal or not.
6 hacks to boost the conversion rate of your content
I suppose if you're writing a Triple-A video game or real-time/firmware? (neither of which are "server")

Outside of those cases, Rob Pike has given some discussion on interior pointers and how it's possible to limit the amount of garbage generated:
http://talks.golang.org/2012/splash.article#TOC_14.
(along with the usual techniques, like object pools, used with good success in JavaScript and Android games).
Interesting how similar this is an advanced 4G cell network. In previous generations of networks there was always a "controller" node taking care of the handover between the cells. This of course didn't scale very well when there was a spike in traffic usage. So in 4G cell networks there are no controllers and all handovers are done via the cells instead.

Interesting to see this thinking applied to something slightly different, thanks for the link!
I just put a small go learning project up on github.

https://github.com/danenania/go-promocodes

It's a tiny rest api for generating promo codes to bypass in app purchase locks in an ios app. It uses gorilla/mux[1] for routing, mongodb with mgo[2], and is heroku-ready[3]. One file and 129 lines all told.

Perhaps it can help.

1: http://www.gorillatoolkit.org/pkg/mux

2: http://labix.org/mgo

3: http://mmcgrana.github.io/2012/09/getting-started-with-go-on...
>> Tell me, what are you going to do about hunger?

>> If you really cared about the water problem, couldn't you have donated part of your (steady) income for that?

Lets look at this way -
Regarding donating (or paying some one to do what you wanted to do) - Just look around and you will see serial entrepreneurs building their next company bootstrapping from their previous savings. They could well have paid some one to do it (coding, managing etc). Still you will see then right in the middle of the action. The simple reason is, most people love it.

Now regarding if you can't solve all the issues, then you should not solve anything (what are you going to do about hunger,,,) .
So I want to solve the issues with payment processing and I plan to start a Paypal alternative. Here comes some one asking me "what about all these issues with banking " what about "all the other 1000s of problems with the financial sector" ? Can you solve everything ? If not, you should are you trying to just solve a Paypal issue ?
Should the title of the article match the visual type of the article... or ignore the 'text-transform: uppercase' css. I vote the latter :-)
3D Printer Google Glasses :)
let make urself 3D Printer Google Glasses
> I find people as confident and dismissive as you [...]

But what do you find about the cites? The evidence, and the arguments?

> [...] your conviction in a fringe view of genetic determinism.

Oh, that's easy then. It's easy to disprove perpetual motion crackpots, or infinite compression weirdos, the homeopathic fringe, etc. So trot out a few choice articles.

> You are being condescending and rude [...]

Okay, once is enough - now you're just playing for sympathy. If you don't like someone's tone, don't answer it.
> Oh wait so in Google land, if I have an Android phone and have instant upload enabled, photos go into Google+ rather than Google Drive? I think that alleviates my concern.

Doesn't have to be an Android phone either; G+ app on iOS does it, too.
I had so many professors that just read me the powerpoints. I would literally miss nothing from the lecture if I just downloaded the slides after every class, but no, attendance was mandatory. Makes me feel all warm and fuzzy to know that I'm still paying off an education I could've gotten most of by reading a few pages of bullet points every week.
AP Phone Records Seized by Justice Dept.
Of course, this is France we are talking about :) So either large politically connected media companies or large state bureaucracies will benefit from this.
Play Atari on Google image search
It has explicit error handling (via multiple return values) which the authors argue is superior (even if more verbose) because they know from experience that programmers tend to make mistakes forgetting to check for errors in their code. If the error code comes back as a return value the programmer has to consciously decide what to do with it immediately, leading to better code on average.
That's because it _is_ manipulative bullshit! Heartiste is famous for spouting misogynistic garbage. Pretty terrible stuff.
What does that particular event have to do with American intervention? How did American intervention save anyone from death-by-tear-gas?
Infinite number of prime pairs within 70 million of each other
Dont try too hard.
Yes, every browser has an inspector that lets you change elements in realtime. Right click somewhere on the page and select "Inspect element".
I guess to be sincere, be kind, be supportive and always be prepared to listen, treat love given to you as rare, so don't spoil and throw it away. Be there for her.

That's just my solution though I haven't met mine.
Practical is subjective, but there are a lot of large, successful projects written in C, so it's definitively feasible.
Picking up someone's phone that they left at a bar and doing a teardown on it is theft. Not in a "I think this is equivalent to theft" sense; it is theft in the legal "you can be charged with theft for doing it" sense.

I know this because I know this is what happened to Gawker.

It is illegal to take things that other people use and appropriate them for yourself. If someone finds your phone on the street, they need to try to return it.

I don't know this. That's what I've been saying. Can you point to laws that succinctly state that? Can you point to stories of law enforcement actually investigating such losses?

You might be right, but I've never encountered anyone saying that they lost something and the law helped them get it back. With the exception of money I've never encountered anything in any class growing up detailing what the citizen's duty was when finding a lost article. And even with money, it's pretty clear the responsibilities of the authorities differ from location to location and much of it is on the order of "turn it in, if no one comes for it within 30 days, it's yours".

Is there law that states that?
Portland startup Lucky Sort acquired by Twitter
Oh hey! This is exactly what Edward Tufte taught us at his course the other week. Now I'm curious as to who originated this practice...?
IRS Scandal: Targeting of Tea Party Groups Overblown
My Medical Choice
Yes! One of the benefits of making sure that Terra code can execute independly of Lua is that you can use multi-threading libraries pretty much out-of-the box. For instance, we have an example that launches some threads using pthreads (https://github.com/zdevito/terra/blob/master/tests/pthreads....).

There are still some limitations. You'd still have to manage thread synchronization manually, and I think LuaJIT only allows one thread of Lua execution to run at a time, so if your threads call back into Lua they may serialize on that bottleneck.
Please please please don't tell me people actually believe this. Some of the things you are saying here are laughable. I'm pretty sure people in Palestine, Korea, Chile, Cuba, Syria, Iran, Guatemala, and any other states where the USA has decided it should stick its gun in would have some choice words for you.
I'm not sure about just reading a six page memo out loud to everyone. That seems like a great thing to email to everyone. Some of my least favorite memories from college are the couple of classes I went to where the professor basically read the book to us. The difference is, I'm guessing, that attendance isn't optional at an Amazon meeting.

Personally I like keeping presentations on the short side - only using slide shows for ancillary data like citations (which I find awkward to fold into the flow of a speach) and graphical data. Unless something is really interesting or very important, it's only going to get 5-10 minutes of people's attention.
Not the OP, but the last time I submitted an article on HN, it auto corrected the title to match what the link said (which was much more vague than the title I gave). Perhaps HN auto corrects verbatim, including caps.
Of course, you could have:

def parallelWrite(data: Array[Byte])

No pointers to worry about, generics, etc ...
"So get in touch with yourself; get in touch with your family and friends. Start with some affection, that's pretty easy :-)"

That's an interesting assumption. Perhaps there's another form of separation: playing the role of teacher ;-)

The all alone together expression is a koan, presumably you "get" it.
Naïve question: why isnt any service on the internet providing sso using kerberos? The protocol seems to be appropriate.
One of the 3 original designers of Go is Robert Griesemer, who worked on the Java HotSpot compiler, so I think it's safe to say that the Go team is quite aware of what the JVM can and cannot do.
Is this a parody? I seriously can't tell.
One feature I'd really love would be the ability to video chat and share views with other glass users near by without Internet.

I'm aware this won't probably happen for another few years at least, but if I could go skydiving with my friend and have a viewport of what he's seeing up in the top right corner, it'd make things really pretty cool
We call it a justice system, but it's not. It's a legal system. That was my point. Once you start trying to dispense justice you fail.
I don't think powerpoints are inherently bad, but they're misused enough that I wouldn't begrudge anyone who wanted to ban them outright.

The two best ways to use them, from experience, seem to be:

- Super dense slides. These slides have a lot of text and are information-rich. You're not expected to read them, and the presenter will just skim over them, presenting a high-level view of each topic, but definitely not reading off of the slides. The slides are there as a rough guide to the talk, and as an in-depth resource afterwards.
- Super spare slides. These slides have few-to-no bullet points, and are heavy on pictures. They're pretty much there to guide the speaker's narrative, and nothing else. At worst, there might be an inherently visual data element, like a graph.

The common element being that the slides are there to guide the talk, not be the talk. The reason powerpoints are so reviled is because people tend to just write a speech, put a bullet point in front of each sentence, and read it off a projected slide.
It isn't as cut-and-dry as you're pretending. The AP's complaint is that the records obtained were unreasonably broad in scope, which goes against the DoJ's guidelines w/r/t news subpoenas.

>Rules published by the Justice Department require that subpoenas of records of news organizations must be personally approved by the attorney general, but it was not known if that happened in this case. The letter notifying AP that its phone records had been obtained through subpoenas was sent Friday by Ronald Machen, the U.S. attorney in Washington.

>A subpoena to the media must be "as narrowly drawn as possible" and "should be directed at relevant information regarding a limited subject matter and should cover a reasonably limited time period," according to the rules.

>The reason for these constraints, the department says, is to avoid actions that "might impair the news gathering function" because the government recognizes that "freedom of the press can be no broader than the freedom of reporters to investigate and report the news."

Regarding the attorney general approving subpoenas,

>Rules published by the Justice Department require that subpoenas of records of news organizations must be personally approved by the attorney general, but it was not known if that happened in this case. The letter notifying AP that its phone records had been obtained through subpoenas was sent Friday by Ronald Machen, the U.S. attorney in Washington.

In general it is really shady that so many things are 'unknown' about this. Presumably the reporters who wrote this article should have been able to gather this information (since the article is itself written by the AP). That they didn't implies either a) that the journalists are supremely incompetent, or b) that the DoJ is intentionally withholding information it normally has to hand over by law or regulation. That may be why the journos are calling this "secret" information gathering.
Don't know how old this is, but it has been there a good many years: http://norvig.com/Gettysburg/
Had to upvote you for the being in the same boat. Even worse though when the slide is two lines and contains the following only:

[Title]

* [Title]

I'm not kidding, I've seen this a couple of times. And worse yet is that there is literally no extra content to listen to in the class.

(Not all courses of mine are like this one, though.)
You don't read it out loud. You bring printed copies (or send electronically) and everyone reads it for themselves, in silence, at the beginning of the meeting.
People read the memo silently.
In my experience the people who give shitty presentations with powerpoint would also be perfectly capable of giving shitty presentations without powerpoint.