skysight-inc/HackerNews huggingface dataset:
Ken Thomson was (and is) also involved with creating Go and he was also one of the writers of Unix. He actually invented the B language which preceeded C, so it was close :-)
I think he wrote a lot of C in Unix and was therefore part of making C popular.
Ummm... where is this store located?
Go has a garbage collector, that makes it not like C.
Oh, didn't see that.

I really understand what you mean with the dependencies, it is by far the heaviest plugin I have installed.
>Every time there is a claim of "near C" performance from a higher level language like Java or Haskell, it becomes a sick joke when you see the details. They have to do awkward backflips of syntax, use special knowledge of "smart" compilers and VM internals to get that performance, to the point that the simple expressive nature of the language is lost to strange optimizations that are version specific, and usually only stand up in micro-benchmarks.

I see this kind of statement a lot, and it simply does not hold up to even a cursory look. Where are the awkward backflips of syntax, special compiler or VM knowledge, or version specific optimizations here?

http://benchmarksgame.alioth.debian.org/u32/benchmark.php?te...

http://benchmarksgame.alioth.debian.org/u32/benchmark.php?te...

Why are there so many java web frameworks/libraries/servers that offer performance close to C?

http://www.techempower.com/benchmarks/#section=data-r9

>Critically important to developer efficiency and productivity is the "build, run, debug" cycle.

This is a pretty bizarre claim. Sure, having an equally archaic and primitive process but 10 times slower is obviously worse (C++), but that doesn't mean having an archaic and primitive process is good if it is fast. I rarely ever run my code, much less debug it. Freeing myself from that horrible way of working was one of the greatest things about working in a language with a useful type system.
How to stay fit
If you're using emacs in a native window (not curses/terminal), various modes render e.g. section headings, emphasis, etc right in the buffer you're editing, no need for a preview window.

It's not exactly the markdown / wiki output (because you still see e.g. the `+++` at the beginning of header lines) but you can at least see when you've messed up the markdown (because it doesn't render correctly). It's a bit like syntax highlighting now that I think of it.

See the screenshot on e.g. http://www.neilvandyke.org/erin-twiki-emacs/ for what I'm talking about.
DNA survives critical entry into Earth's atmosphere
I've been wondering about another somewhat intuitive way to see the problem: suppose a third person enters the room and he is allowed to finish the game, knowing nothing of what went on before. In particular, he doesn't know your initial choice. Now it is obvious that his chances of winning are 1/2. It is also obvious that if you stick to your first choice, your chance of winning is still 1/3. Now it is odd that somebody who has LESS information about the problem has a better chance of winning than you. Meaning that you must have some way of getting at least the odds of the other guy. But there's only one thing you can do other than sticking to your first choice: taking the other door. So that seems the correct thing to do.
Why is it "second class citizen"? I've used it exclusively with Win7 and it works fine (granted it does need 7 Taskbar Tweaker for best results..). I have never ever liked the Aero Peek feature of Win7: it invariably adds extra steps and mouse work to the simple task of switching between apps for no good reason (no, seeing a mini thumbnail of an app I already know is running does not make anything clearer or better).

ReactOS, I will be happy to go there if I ever get the chance from a compatibility standpoint.
All that fascinating technology, yet they're still afraid of gay people.
I don't necessarily think launching/announcing it in its beta state was the wrong thing to do (as opposed to launching a finished product like Apple does). Imagine if they spent all the resources to "finish" the product and then find out it was a failure?

They obviously learnt a lot from the initial public reactions and I am sure that a lot of Glass technology has made its way back to smart phones and smart watches (especially voice recognition).
The "Show HN" posts are for things that can be used now, and not for
collecting email addresses.

https://news.ycombinator.com/showhn.html
Your project sounds very cool. Will it have the Go methods and interfaces system too?
One nitpick:

> That some of the most heavily used and reliable software in the world is built on C is proof that the flaws are overblown, and easy to detect and fix.

Easy to detect? Multiple times per year we find out about a security bug in Linux or Windows that has existed since the 90s.
Its not prevalent at all. The HN echo chamber makes it seem like there are many people who do this, but the number of people in the real world is basically zero.
VB is actually faster to compile than C# and probably a lot of other languages. Not very used now but VB.NET works well in a .NET environment.
Ken had nearly as little involvement in Go as he had in C, they just asked him stuff. Did he write any of it at all? "From the same people as C" is a factual claim, and it is factually incorrect. Ken absolutely did not bring us C, and it is very sketchy to claim he brought us go. Go is brought to us by the guy who came to bell labs after it was all over and decided to try to pass himself off as "the bell labs guy!" for the rest of eternity.
Apple should bin [UIApplication canOpenURL:]. Apps can call openURL: and provide a fallback if it fails.
Meditation study shows changes associated with awareness, stress (2011)
I've used OmniMarkupPreviewer, and it has worked very well under both Sublime Text 2 & 3.
https://github.com/timonwong/OmniMarkupPreviewer
He also predicts that the entire workforce will become purely remote workers (telecommuters). While this is technically possible, it has met quite the opposition (and lack of proper tooling to make it as efficient and effective as it needs to be). Of course, maybe that is the idealist view. The realist view is that it will only lead to easier outsourcing? :p
I've offered showers to homeless people where I live, but had to discontinue that after I had my bathroom wrecked by one.
This is really cool, but what about porting the go standard library to C instead? Will this make that easier? Does the ABI of g meet C's?
I think its important only add those things after the language can run the same sorts of programs C can currently.

For the future, some of my ideas include:

a form of combined data types that require a type-switch to disambiguate (and is checked by the compiler), like algebraic data types. (essentially sugar over tagged unions)

It may also have a form of defer blocks similar to Go defer statements. (sugar over the C idiom goto cleanup;)

A final thing I considered was a built in reference counted pointer type. Just to partially alleviate memory management, but without resorting to a garbage collected run time.
Are you retarded? I asked why is is wrong using SEP. I fucking know that there was SEP involved. I'm asking why you say it is wrong suing using SEP.

So, when you're wrong, when you don't have a fucking clue about what you talk about you insult.

Get a life.
Interesting that Microsoft on its end has invested lots of years into its own compiler infrastructure, Phoenix, but AFAIK it has never reached the maturity of Visual C++ and has been abandoned circa 2007.

http://research.microsoft.com/en-us/collaboration/focus/cs/p...
I shopped at RadioShack just one time in the '90s. I bought some walkie talkies, and the cashier insisted that I provide my name and address to make the purchase. I said I didn't want junk mail. He assured me that it was only for recordkeeping purposes and that my info wouldn't end up on a mailing list. Within weeks, I started receiving RadioShack catalogues and flyers. I'm pretty sure they spent more on postage, paper and ink over the next few years than I had originally spent on the walkie talkies.
"Nothing distracts the user from what's really important" Except all the Ads.
Looks like a decent start, but not enough there to really judge it yet. Best of luck, I'll keep an eye on it! If you'd like feedback (ignore this post if not):

Caseless switch is a great idea, especially no-fallthrough by default. Consider extending it with substituion, eg "case > 7:", "case >= 13 && < 16:", or "switch longvariablename as N { case N > 13 && N < 16:". Return types after function parameters are nice, consider saying "function foo(params) returns type" instead.

Tuples always feel important but in practice I tend to not like them. Variable definitions are a bit clunky, and inconsistent with struct variable definitions. Consider ctors/dtors and/or inline member initialization. I would recommend not to compress keywords: func -> function, const -> constant, etc. "type name struct" would feel better and more consistent as "class name". The C. prefix feels like it'd be great if you only use a very small number of C APIs, and very annoying if you used a lot of them.

The boldest and coolest part is building this directly on LLVM. My thought was always to transform the IL into C (trying my best to preserve line numbers and variable names), and then let GCC or Clang build that.

My ideas were unified function call syntax (never any functions inside classes), subclasses (declare a class inside another class, but the child class has direct access to the parent class' scope), namespace-aware multi-line macros (trailing \ is grotesque), and if implementing a backend instead of a translator, zero undefined behaviors in the language (do what people expect on eg signed integer overflow instead of GCC doing whatever is fastest yet obviously wrong. Aim for hardware that is actually used today instead of worrying about hypothetical PDP-11 programs, so no 9-bit chars.)
C is not the fastest language. C++ is faster than C. For example, the only way you can hope to match C++ inline template algorithms in C is with a horrific macro scheme.
What's horrible about running your own code?
I rarely ever run my code, much less debug it.

I'm not sure what you mean by this, because it sounds horribly wrong.
G will use llvm as its primary backend, and my intention follow the C ABI exactly so interop requires no work.

I haven't considered the standard library much beyond the fact that I would G to have its own that is inspired by the good parts of other languages. At first it would have to rely on C libraries.

G won't be able to support every way that the Go standard library works. But if you need everything Go has, then you probably want to use Go to begin with.
In the last few years many in north america we were introduced to a new phrase 'polar vortex' which has been unstable and resulted in colder winter storms, yet as I understand a milder winter overall. Read more here on it's relation to climate change http://www.ucsusa.org/global_warming/science_and_impacts/sci...

Regardless you are getting hung up on 'colder', the key is more extreme weather. To that point the IPCC does mention more extreme storms, if you want a reference googling that yourself will bring up plenty.

I'll assume you live in sunny California and extreme weather to you means rainstorms not crazy ass cold polar vortex dumps of snow and ice.
Lots of commenters are focusing on the high burn rate and missing the point of the article.

If you have product market fit, high growth rates (20-30% MOM) and a large market (>$1B), you can rationalize burning that much.

For the rest of us, normal people. It's back to business basics, which is spend less than you earn. That's all.
Oops the site says "you've been hacked by the sirian electronic army (sea)"
tuples + destructuring may or may not be the way I decide to implement multiple return. Structs overlap in functionality a fair bit.

I think if you emit C code, it is much harder to get good debug information, which is important.

I am also thinking hard how to approach macros/preprocessor. For now there is none, but a powerful system could make all the difference.
Yep, I used to hang out at Radio Shack every day after school, playing around programming on the TRS-80, along with a few other kids who I still know. They had a box of cassette tapes we could keep there for our programs.
Unfortunately, no one will agree exactly on which aspects of C to change and which to keep - that's why we now have hundreds of languages used by less than 10 people each.

E.g. while I applaud the idea, I found many aspects of your example code snippets ugly and un-C-like. This is not to say that I'm worthy of judging your work, but that a) so much of it is a matter of taste rather than objective thought and b) humans can adapt to literally anything, given time to get used to it.
Read anything about the publishing and funding climate and it will be clearer. For comparison, it's like the music industry but 100x more pitiful. Worse is the whole "excellent sheep" issue.

This is not sour grapes. I excel supremely at the "game". I just don't want to be a part of it anymore.
Show HN: Sandbox – instantly mock REST and SOAP web services
Works on URLs too.

‮http://myspace.com/#/segami/moc.koobecaf//:sptth
Per my comment, "...she apparently decided to change ("re-frame") her vision so that she could appease investors who were telling her the opportunity wasn't big enough to justify an investment."

The CEO of a company is ultimately responsible for setting the company's vision. Period. If the OP changed her vision to win over investors, she doesn't own that new vision any less. She had the ability to pursue the original vision.

There are lots of startups in Silicon Valley that have the potential to be profitable small and medium-sized businesses. They'll never get there because they are run by founders who are drinking the kool-aid and trying to turn their companies into businesses they will never realistically become. But this isn't the fault of the investors. It's the fault of the founders who lack the ability to recognize that the VC path isn't a fit for the type of company they're building.
What's a good practical way to get my feet wet with C? I want to learn it, but I'm the sort of person that can only learn a language by actually trying to build something useful in it. Sometimes it seems like a language that everyone thinks is important to know, but that no one thinks should actually be used in a real world project unless you're working on embedded systems or building an OS. What are some ideal (and beginner-friendly) use cases?
No one has claimed that arithmetic trains you at critical thinking. It trains you at a certain kind of abstract thought, and I'm specifically stating that I have found that very valuable.
Yeah right, I have no idea why I deserve a downvote.
Yeah, the links at the bottom don't work yet. When you refer to the "first blocks are to short", which are you referring to?
This reminds me of a quite wonderful talk at Oscon earlier this year: http://www.oscon.com/oscon2014/public/schedule/detail/33943 (slides available, but I don't recognize the file format)

The high point for me is where he installs Linux on the hard drive. In the sense that the hard drive itself is running Linux.

There are quite a few venues for attacks like these: A single computer is sprawling with processors.
"We all line up in expectation of hordes of customers. Six on one side of the store, six on the other side, pallbearers of an invisible casket." Lol.
How to Build Killer Products: Founder Obsession Pt3
I'm working on Let's Encrypt, and I'd be happy to see domain registrars reduce the need for Let's Encrypt by issuing cryptographic credentials to domain registrants.

Every CA that issues DV certs for public DNS names takes registrars' databases as the ultimate ground truth about domain ownership -- at least for the domains that the CA is willing to issue for -- so the DV-cert-issuing world is reliant on them to be correct, secure, up-to-date, and so on. That's true whether the CA is using whois data plus DNS data, or just DNS data, to verify domain control.

(In saying that, I thought about the idea that Let's Encrypt may use safeguards to limit issuance based on historical observations of domain control and prior issuance history by other CAs. For example, our draft ACME spec has a mechanism where we could ask a requestor to prove control of an existing subject key from a cert that we know was issued for the same subject domain by another CA. So if we've already seen a valid cert in the wild, or in Certificate Transparency, for example.com, we could say that you have to show that you have control of the key in that cert before you can get a new cert from Let's Encrypt for example.com. But all of those things ultimately go back to what registrars said in the past, even if some of them are independent of what registrars say today.)
My point in the parent post was that I have a lot of anecdotal reason to believe this. Enough to be pretty confident I could find actual evidence, but I haven't looked very hard.
Imagine if just compiling your code told you all the things you get from running a good suite of unit tests. And you didn't even have to write the tests, just add a few annotation hints to help the automatic test generator occasionally. That's what a strongly typed language can get you, impossible as it sounds.
This is true! I've used keyboard macros with webpages and textareas to save myself lots of time. =)
Display rate, rendering rate, and persistence
this is ace, it's stopped me writing my own little test stubs over and over again.

SaaS and on prem options are good too.
Those crazy Russkies. They've certainly achieved 'cheesiness-parity' with their American rivals.. What the fuck was that ad and website supposed to be telling us?
And the arrogant and elitist facial expressions and body language of the glassholes posing for pictures of themselves wearing glass certainly didn't help either.

http://www.droid-life.com/wp-content/uploads/2012/04/google-...

Hey Bob, did you ever take a class from Sergey's dad, Dr. Brin, in the UMD STAT department? The apple doesn't fall far from the tree...
http://www.reddit.com/r/Entrepreneur/comments/2niwce/who_are...

I also posted a reddit thread.

Seems everyone agrees on Elon Musk being one of the best.

Some obscure entrepreneurs/founders:
Samuel Zemurray (dole)
John Paul (paul mitchell)
IMHO the Windows 8 standard desktop theme is a "better Classic than Classic". With the Aero excess gone, the remaining design is clutter-free.

I also like the current Office UI a lot [1]. Maybe I'm weird.

[1] On Windows only -- Mac Office 2011 is a mess.
Globe and Mail Canadian CEO of the Year (Profile of Shopify Founder Tobi Lütke)
The truth is almost nobody cares about js being disabled anymore. Even if today you think it's an overestimating (I don't think so anymore) over few more years it won't be even for you. Just 2 years ago it was like "What if a customer doesn't have js enabled? We don't want to loose him just over that! Let's support both versions.", today it is already more like "No js? Weird, lol. Well, it's his own problem anyway, no reason to spend time&money on that in 2014.".

When I for some reason was forced to use lynx, which I don't normally do, I was simply amazed by how smooth browsing is, it doesn't feel like the usual "internet" anymore, more like navigating your project via text editor on the local filesystem. But unfortunately as you go further than browsing ArchWiki it becomes almost unusable due to lack of static (in the sense "no js") sites support.
Restrict pointers in C let you write code that's faster than the C++ equivalent for functions that copy a lot of memory.
Haha. walked into a restaurant in SOMA and asked around.
You are not alone. Here is some guy doing something similar but his syntax is not so heavily inspired by Go (but still steps forward): c2lang.org
Ask HN: “Join ex-Googler team at *”
Always wonderer what people thought when they see "Join ex-Googler team at *" in a job listing. A lot of such listings are for YC companies without comment threads.
Not many, but helped our domain authority go up.
Momentum Blog – Add Your Favourite Links to Momentum
I've put some thought into macros into my various cross-assemblers. One thing that's important is to have different types of macros, and different types of argument values (some that are evaluated for you, some that are intentionally not evaluated.)

macro function square(integer value) {
return value * value;
}
integer x = square(foo() + bar()); //foo() and bar() each only called once
//square(integer) will exist as an exported function symbol

macro inline twice(statement operation) {
operation;
operation;
}
twice(foo()); //invokes foo() two times
//twice() will not generate an actual function

macro class vector(type T) {
T* pool;
integer capacity;
integer size;
function append(type U) { ... }
...
}
vector(integer) powersOfTwo{2, 4, 8, 16, 32, 64};
//any vector(type) will generate all the class functions for it
One might assume he is using Haskell or similar, and is assuming that because the compiler accepts his code it is therefore correct, of course this is a fallacy. I will use a particular apt quote from Donald Knuth "Beware of bugs in the above code; I have only proved it correct, not tried it."
I don't appreciate your straw man attack. I honestly don't recall ever hearing anyone argue that we should abandon fossil fuels outright. Instead what I hear from most people is a desire to increase research into alternative energy sources and evolve from fossil fuels to something new and better.

Keep in mind this energy transition has occurred before, back in the 16th century. The UK used to depend on wood for its energy. The US led in adopting coal, which was used only marginally for thousands of years. Coal was dirty, it stank, required new technologies to collect and distribute, while wood was cheap and plentiful. As it turns out coal was fundamental to the industrial revolution, the US as a leader in coal developed new industries and led in industrialization and leap frogged Britain.

I see human kind at the same crossroads, but with bigger stakes. Do we want to stick with fossil fuels until we potentially destroy our climate or can we discover new sources that will potentially introduce a new energy revolution, and who do we want leading this new energy revolution?
Yes, that sounds pretty impossible. Is there an example of this?
He's a bit late isn't he? Both have existed for years.... Mind you, he has been dead quite a while, so he's likely a bit out of touch.
But nobody ever thought they could impress people how cool they were by posting a picture of themselves using their phone in the shower.
I think that is exactly what Rust[0] is trying to do.

[0] http://www.rust-lang.org/
http://benchmarksgame.alioth.debian.org/u64q/c.php

Gives the indication that C++ is faster in practice only when your algorithms are so complex that writing them in C starts to become tedious.

And frankly C++ can never match C until they introduce restrict. Only with C99 C was able to match Fortran. C++ does not have that luxury yet.
My parents live out in the country and have to use wireless internet (limited to verizon in this case). They and everyone in the area use noscript now. It spread like wildfire after I made the point a few times to my dad that his bandwidth was being chewed up by javascript ad-polling when leaving tabs open with javascript enabled. HN might indeed have a vacuum effect, but that cannot compare to the city-folk effect. I also browse without javascript enabled. Javascript has become a plague on the internet in my opinion due to ad networks overrunning simple content that is document-based (news and article sites). Now you have JS MVC and single-page sites that spiral out of control in regards to both RAM and CPU usage due to bad developers (generally) looking for a shortcut to web development.
I am afraid you are being rather disingenuous.

Type correctness does not mean your program does the right thing.