skysight-inc/HackerNews huggingface dataset:
While it works, it would be better if multiple return types were supported natively by the C++ language precisely because of this:

#ifdef _WIN32
# ifdef EXPORTING
# define DECL __declspec(dllexport)
# define STORAGE
# else
# define DECL __declspec(dllimport)
# define STORAGE extern
# endif
#else
# define DECL
# define STORAGE
#endif

// For every return tuple type actually used:
STORAGE template class DECL std::tuple<error_type, return_type1>;
STORAGE template class DECL std::tuple<error_type, return_type2>;
STORAGE template class DECL std::tuple<error_type, return_type3, return_type4>;
// etc.

Even without the above, exposing STL across shared objects leads to the games of "which side of the shared object did this get created" and "which STL did this shared object link against". Losing these games leads to sizeable butt pain.
> Yeah, I pretty much can't imagine a situation where I would lose the money in my bank account

Those who witnessed the Great Depression (or similar events involving bank runs and financial crashes) probably could.
You guys don't need to take such a soft stance to protest and discuss this any further... your intellectual discussion amounts to basically masturbation. Nothing is going to get solved and you'll end up wasting your time/energy. If you are truly against this then start protesting physically by organizing hunger strikes on the streets or something otherwise this going will keep gaining favor on its own and people will be habituated. You can keep intellectually disseminating bullshit for its lack luster quality but that won't make it any better. That is all...

Here is what mark Zuckerberg did:

http://www.takepart.com/article/2014/07/22/why-wont-white-sa...

http://www.theatlantic.com/international/archive/2012/03/the...

He is insulting your intelligence and you are letting him get away with it with his product. The rest is on the Indian community to prove itself properly. When will you guys wake the hell up?
CoreOS Fest: 10 Lessons Learned Using CoreOS
Someone more knowledgeable about solitons can chime in on this...

A friend of mine modeled soliton interactions. When one soliton passes through another, information can be exchanged such that colliding solitons contain bits of each other when they move apart. No matter how far apart these solitons get, the soliton "children" still "chat" with their "parents". One soliton can contain multiple elements of other solitons, all of them interacting at a distance. Their behavior can mimic "spooky action at a distance". Also, solitons can have wave like behavior or particle like behavior depending on how they are observed.
Why not open-source the methodology before it's implemented? They might get good feedback.
How to make Money
You have to invest in yourself in order to make money. You have to believe in your investments in order for them to come through. I'm a stock broker who can help you invest in upcoming companies, that will GUARANTEE you money back. However much you invest, will be doubled within the same week. For more info, email me at: isaiahdunbar5@gmail.com
You must be kidding... If you really had the cure you'd only have to setup a selfstarter and millions would come in no time. Thing is... Do you have proof to back your claims? Is the breakthrough published in a scientific journal? (Nature, Elsevier, Cell, etc)

https://github.com/lockitron/selfstarter
Why Don’t More CS PhD Breakthroughs Turn into Companies?
The early days of Apple
Vala is not a C# subset (though it does significantly resemble C#) and really isn't intended or suitable for writing high-performance code or reusable low-level libraries like C or C++ are; it's a way to write GObject-style C without as much boilerplate as it takes in C.

For that niche it's quite nice, and helps avoid refcounting errors which can be very subtle in C, but Vala is still a fairly leaky abstraction over the C to which it compiles.
Post the sign in Spanish and English, then?
Perl has a quite steep learning curve. Not really worth picking up for anyone who would consider using OP's solution. Not when you can use Ruby, anyway. I started to learn Perl several years ago, switched to Ruby pretty quickly.
I think he was demonstrating function syntax. This shorter version also works:

nip 'return /^var/.test(line)'

An implicit return, added if the input doesn't match /[function|return]/ would be nice, along with aliasing line as l, then you'd have:

nip '/^var/.test(l)'
> Cures don't make profit, treatments do.

This shows that you don't understand the market well.

"Harvoni, made by Gilead Sciences, has cure rates of between 94 and 99 per cent. It is the successor to Gilead’s Sovaldi, which has accrued more than $7bn in US sales since it became available in the final quarter of 2013.

Early data suggest Harvoni is poised to be even more of a success."

http://www.ft.com/cms/s/0/7ac62214-5e1c-11e4-bc04-00144feabd...

Also, the goal of ALL cancer treatments is to cure the cancer (other than maybe slow growing prostate cancers and cancers where there is no cure available and the best you can do is palliative care).
I don't believe you could vary Mizar to the extent that it mimics HoTT. Much of the basic properties that follow from the axioms Mizar uses (roughly ZFC + the Tarski-Grothendieck axiom) are built in to the internals of the Mizar prover, in order to increase its proving capability, at the expense of tying it to its axiom set.

By contrast I can tell you that Metamath (http://us.metamath.org/mpegif/mmset.html), whose main library is also built on ZFC, does not at the most basic level assume any axioms at all (not even first order logic), so it is possible to do type theory or HoTT with no change to the verifier.
Right, but at least it would be locally-run code that you can (potentially) verify and run offline, similar to existing Bitcoin/Dogecoin paper wallet generators. I agree most people wouldn't or couldn't though.
Free flashcards for founders
StartCards are free flashcards for serious entrepreneurs. Founders can use them to quickly memorize key concepts so they can spend less time studying and more time growing their business. StartCards will always be free in printable format.
Good luck finding a language out there that doesn't have pitfalls.
You're not doing anything wrong. And I think it's better that way, to have the error possibilities visible and very understandable. All the context you need to see the error handling is in front of you, not hidden in 25 different files. That's a blessing.
In physics, there is a mathematical foundation upon which to build theory. In biology there is no theory. There's no way to design drugs based on an equation or a back-of-the-napkin doodle. There are no examples of therapeutics breakthroughs that arose other than through (very costly) experimentation, which is unlikely to occur at the desk of a patent clerk.
Though there is truth to that quip, not all the pairs of that triangle are equal. Its much easier to deliver quick and cheap, easier to deliver cheap and quality, and really hard to deliver quick and quality.
Why use this instead of perl/sed/awk?

Because you program in JS all day long and don't want to look up man pages every time you want to do some simple text processing, that's why.
It's weird that OCZ tries to somehow salvage itself from the reputation of a company that knowingly produces unreliable hardware and knowingly lies to customers.
Currently, Go makes some decisions that hurt it for high performance systems, bare metal, and so on. Rust barely survived some beginner OS projects without its bloat and performance problems showing up. Once comparison I read showed Rust's compiler caught many bugs that slipped through Go's due to Rust design choices. I'm pulling for Rust in particular because its team made clever, design choices for their safety-vs-performance&control tradeoffs. Yet, right now, both are inferior to C, C++, Ada, the old Modulas, and even Fortran for bare metal applications.

So, it's not a dream so much as me wanting to see an excellent middleware implemented in a language proven for decades to do what the two you referenced hope to do someday. Using proven methods, even if ugly or unpopular, is just what engineers do when solving new problems. I'd happily use the same thing built in Rust (not Go as it's less safe) if they can get it more compact and fast. Meanwhile, I have to use C++ and C implementations because that's what's available.
A "zero secrets policy" is still not tenable. There are enough legitimate government uses for secrets. For example:

* Police are investigating a crime and have not made all details of the crime publicly known. Under questioning, a suspect independently corroborates these details, which he would not have known unless he was the perpetrator. The prosecution now has a stronger case.

* Three high-ranking members of ISIS are in fact CIA informants. They meet their CIA contact biweekly in a falafel shop in Mosul. The identities of the informants, their contact, and the falafel shop are all state secrets.

* A defense contractor is building a secret weapon that is decades ahead of competing powers. The design and specifications of this weapon are state secrets.

* The government maintains a health insurance system for the disabled, poor, and elderly.

* The military is performing operations somewhere in the world. Their exact order of battle and battle plan are secret.

* The military is planning an amphibious assault on Beachhead B. Using a ruse, they convince the enemy that they are instead landing at Beachhead A.

There are reasonable and good-intentioned debates to be had about state secrets, but to say there is never a legitimate purpose for them is the practical equivalent of anarchism.
It depends on why you've decided. If it's by some predetermined rule that applies the same to everybody, it's probably OK. If it's something like "I didn't like that comment supporting same sex marriage you posted on my blog" maybe not. At what point are APIs considered public accommodations?
iOS 8.3 iCloud activation – iosjailbreak-download.comiosjailbreak-download.com
You could give them smartphones to make them less social.
This Gizmodo piece pretty much sums up why we should just let them all die.

http://gizmodo.com/5841175/should-we-just-let-pandas-die-off...
Unless you really want to leave -- and it sounds like you don't -- I would think your best strategy would be to negotiate a reduced role. Get together with the owners and figure out, of all the things you're doing, which are critical and can't be delegated. Maybe one of the newer engineers can take on team leader responsibilities. Or, maybe they need to find another VP of Engineering and let you be team leader, or even go back to an individual contributor role.

Unless there are hard feelings involved -- and you haven't said anything to that effect -- I think, surely something can be worked out here.
I looked at what imgix was using a few weeks ago on HN. The resampling they do is really poor. You can do much better with imagemagick.

https://news.ycombinator.com/item?id=9501601
Creepy, and worth a novel.
I think joshstrange has it right: the easiest way for everyone is to do it yourself and take the original developer out of the loop. There's no reason the person who writes the code and the person who handles the certified distribution need to be the same. Set up a site 'pdabbadabba's signed distribution of putty (and perhaps of whatever other open source programs you think merit such),' get the certificate yourself, offer downloads and ask users for money to cover the costs.
I agree strongly; I never really mastered C++, but I've done lots of Java development and enough C developments in anger to consider myself at least a journeyman C developer. (I know enough C++ to be dangerous.)

The message-passing syntax is such a funny thing to me; it looks weird, but it takes about 1 minute to grok if you try, and then the rest is very simple. It's really dynamic and lets you do some very powerful things that you wouldn't expect to be able to do in a C-derived language (NSProxy, respondsToSelector:, etc.).

I find it very natural when doing ObjC development to write all my high-level code is very "objecty" style, and then call into pure C methods when I'm doing something tricky/low-level/fiddly.

On the downside, though, mostly due to it being old and not very well adopted, ObjC never got a proper generics system, which is really annoying if you're used to Java or C++.
What is collecting pictures of photo ID supposed to do for you? Honest question.

Far as I can tell, it only means the scammer was able to copy the photo that was sitting on my computer (likely via the same malware they used to steal my other credentials to begin with). Why was it sitting on my computer to begin with? Because companies like yours demand a copy of my photo ID. Sure I could delete it but we both know most people won't. IMO its a poorly thought out policy to collect photo ID without verifying the person in the photo is in fact the person you're talking to, ala face to face conversation via Skype or similar.

I don't buy things from sites that demand photo ID without verification, I'm not saying you should change your ways, but you're losing customers like me by enforcing that policy.
Rand Paul filibusters against Patriot Act renewal
I've always been confused as to what takes a long time to calculate in finance. What are the common difficult problems that aren't getting solved?
> 1. Bus #1's signage updates so it doesn't show the bus route externally; it's no longer "your" bus, so you aren't upset when it passes by

They do that sometimes here in Brisbane, Australia.
If Bitcoin really takes off, 99% of its users will buy it rather than mining. So a new currency could be distributed by auction and it would be no worse than Bitcoin.
> Texting, vegging out, and drinking: truly the heights to which the soul would soar if not crushed by the villain of driving.

How about, "Providing efficiencies that would allow us to reduce the work week from 5 days to 4, thereby providing more time for people to actually live their lives"?

Whenever another self driving car or truck article hits hacker news, I cringe at the inevitable post from someone who says "Ahh! Now they can code why the vehicle drives itself! They can be even more productive!"

That is not what life is about. To you, it might be, but the purpose of life is not work. Work is simply a means of supporting yourself while you experience life.
My quick perusal of online links show that Objective-C is slower than C++, maybe due to its dynamic typing. It has the C compatibility and basic OOP. Yet, my idea was a language like this which is faster than C++. Maybe a statically typed version of Objective-C would do?
>There is zero reason why entry needs to be mediated through expensive academic institutions staffed by professors who are generally not practitioners. If people want to go to law school as a luxury, that is fine, but it should not be required to participate in the justice system.

I would have agreed with you before I came to law school, but now I see why having intense legal training before being able to practice is required.

Being an attorney requires a very specific type of thinking which is somewhat different from normal human reasoning. It is less about understanding what is wrong or right morally, and more about knowing who or what sources have power, what laws and rules are relevant, and which levers should be pulled to argue for your desired outcome. It is this "thinking like a lawyer" that law school purports to teach, maybe even more so than the actual law itself.

Being an attorney is a huge responsibility, and I think the American Bar Association is right to set the bar high for prospective attorneys. My only gripe is that this bar seems to be not only ability and knowledge based, but also intensely financial as well.
The version he gives is smaller than the source image, which makes me think the image is upscaled from the grainy preview.

I tried it on the actual source myself (using http://waifu2x.udp.jp/), and there was very little actual loss of this kind.
Hundreds of tech companies line up to oppose TPP trade agreement
What are you adding to his productivity? I'd pay it if you were as useful as putty.
Reputation systems and multi-sig escrows are not substitutions for chargebacks.

There are plenty of instances where you need to refund something the day after you received it, by which point the escrow money is long gone. Then the solution becomes "Hold transactions in escrow for 30 days" which isn't a solution.

And reputation systems don't work on the internet, especially when purchasing is involved. How do you competitively solve this problem?
Meta-study of twin studies finds near 50/50 nature/environment split
I agree, except for the part where you say bitcoin is currency.

Most people will not accept bitcoin as a medium of exchange. I cannot go to my local grocery store and buy something with bitcoin. I can, however by something with dollars. Thus bitcoin is not yet a currency.
I think they were eventually acquired by Toshiba.
I don't think they are updating their list very much. I've certainly gotten things on Forgotify that Spotify gives one bar of popularity instead of zero.
That is entirely intentional.

There are 64 bits for the network prefix, and then 64 bits for devices on the network.

So you'll have a network like 2001:f4dc:2110::/64, and then you can allocate ::1, ::2, ::3. Real had to allocate by hand, right? Not really. Sure, billions of addresses go unused, but who cares? With expansion it's fine - you just write 2001:f4dc:2110::2.

If you had to write 2001:f4dc:2110:0000:0000:0000:0000:0002 then I would sympathise. But you don't.
While I completely agree that regular releases and an evergreen browser are extremely important in today's world (and that is the direction that Microsoft Edge is moving towards), I am not sure what point you were trying to make by saying that comparison against competition should be with a grain of salt.

All three blogs that you point to talk about SunSpider benchmark (from Apple), and since IE9, or the day the first blog was published, the story holds true. Across platforms (32-bit or 64-bit), Microsoft Edge and IE remain as leaders in that benchmark across all competing browsers. The nearest competitor is around 40% slower. Here are the nos. across major browsers on SunSpider

MSEdge: 103
FF Nightly : 176
Chrome Canary: 171
There are two levels of deepening your understanding of C.

Level 1 is what this article describes: your eyes are opened when you see how various features of C map naturally onto things that are simple/efficient in hardware. You see a pointer dereference and in your head you think "aha! load instruction." You understand that there is a real difference between "char ch[10]" and "char ch[10] = {0}" -- the latter emits extra instructions to zero out the memory.

Level 2 is when you realize that the optimizer is free to screw with all your intuitive ideas about C -> hardware mapping that you learned about at level 1. You learn that writing correct C means that you need to think in terms of the abstract machine that C defines, and not assume that any specific C statement will translate to the assembly code you expect. You can't think "pointer dereference means load instruction", you have to think "pointer deference reads an object."

There's nothing wrong with level 1, as long as you don't stop there!
No dependencies at all, runs on Docker 'FROM scratch', Nice! - https://registry.hub.docker.com/u/0xff/asmttpd/
World Battleground, 1000 years of war in 5 minutes
Rofl. Good luck with that. 99% of the people don't even know wtf's WSHttpBinding.
Nice write-up and useful links to Typingcat and Typeracer - thanks.
every single one of our ancestors was able to, on average, obtain more food-calories than they needed

I think what's lost in the discussion when looking at food consumption from a calorie-centric view is that non-processed foods require energy to process them. This is due to sugars/carbohydrates being trapped in matrices of cellulose, which require a lot of chewing and digesting to extract the maximum amount of energy.

Processed foods on the other hand are just that, processed. A machine has pre-chewed and pre-digested your food into a neat package. Now the energy required to extract the maximum amount of value has been lowered significantly, so you wind up with more energy than you need. But it gets worse...

Glycaemic Index. When sugars/carbohydrates are slowly extracted from a thick matrix of cellulose, they're delivered slowly but surely to your system. Highly processed foods have done away with most of the cellulose or at the very least broken it down significantly. Eating these processed foods you get what's generally called a sugar rush. Your blood sugar spikes, insulin is released to deal with this incredible spike however the spike only lasts for a short period - now you're having a sugar crash.

You lose your temper easily, you can't think straight...you reach for another soda, burger or fries. The cycle repeats.

This doesn't even touch on what happens to your digestive system when you remove a significant amount of fiber from your diet by eating highly processed foods. Not only does fiber clean your digestive system and keep things moving smoothly, your gut-flora converts the fiber into short chain fatty acids, which play a role in mitigating intestinal inflammation [0].

Don't eat food-machine excrement.

[0] https://scholar.google.com.au/scholar?q=short+chain+fatty+ac...
You want a pretty web page for a terminal client? Are you not seeing the irony here?
> upsetting for upstanding charities like Susan G Komen.

err......
I understand all the negative feelings our society has towards lawyers, and I don't blame anyone for having them. But there are a lot of us who are entering the profession because we have a sincere desire to do good.

I also think that if you talk to those interested in justice equity, especially public defenders, they will tell you that, while there may be too many lawyers in some places, there are many, many underprivileged communities that are underserved by our legal system.
After 5 startups, here is Kevin Rose’s top advice for founders
The only other idea (and it isn't a very good one) I've seen is to put the error as a parameter and let the called function early return if given a non-nil error: http://play.golang.org/p/bRdFWBZp5r
> * Police are investigating a crime and have not made all details of the crime publicly known.

This isn't exactly the same as the government itself having secrets, but a secret police can generate a lot of problems, as you're doubtlessly aware.

> * The government maintains a health insurance system for the disabled, poor, and elderly.

These are not government secrets either. The secrecy is for people who are being served by the government, not for employees of the state.

> * Three high-ranking members of ISIS are in fact CIA informants

> * A defense contractor is building a secret weapon that is decades ahead of competing powers.

> * The military is performing operations somewhere in the
world.

> * The military is planning an amphibious assault on Beachhead B.

These are militaristic problems created by having a state in constant war to begin with. These are webs of lies that have to be perpetuated due to initial lying.

As an outsider, it's really amazing how blind US citizens are to their own country's incessant war-mongering. They breed war with lies and have to maintain that war with lies.
To be fair I think most languages don't have pitfalls as defaults in the C++ sense :D
I like the explicitness of Go error handling.

I don't like that I can't locally hide the boiler plate. There's obviously some measure of essential tension there; I could cope.

I still haven't gotten over the use of product types for return values rather than sum types, and I'm not sure if I will.