skysight-inc/HackerNews huggingface dataset:
Excellent article. I'm not sure I agree with all the points, but none of them are stupid or necessarily wrong. It's a very constructive argument.

I've been thinking for a while that the problem with C++ is that 100 decisions have been made both in the library & language and in "best practice" that all individually are good, but the combined effect has been unfortunate.

I'm not quite getting from the article why you can't write in the C "subset" of C++ and add in a few of the more helpful parts of C++ though.
very cool.

only one thing is that fgrep -E (or egrep -F) might not have the result as intended (and indeed doesn't work on later Debian or Ubuntu versions).

See also http://credentiality2.blogspot.hr/2011/03/daily-wtf.html
Apple Car Challenges: Sobering Thoughts
Run an Linux application in a container like FreeBSD jail or Sandboxie, that's what I want. I don't need the management overhead

Give me Docker "light" or a good tutorial for LXC(?).
Dear open-source maintainers, a letter from GitLab
Can someone explain to me why they can't just put a huge net around/under the rocket so that even if it does tip over, it can be safely caught and recovered?
Are there any other sources of information on "modern C"?
I'm thinking particualrly on how to handle memory allocations well and safely, and how to write clean containers and algorithms. It's been a long time since I wrote pure C and I'd like to try it again!
New Approach to Anonym Social Networks
I read a fascinating book on the the Art of Memory by Francis Yates some years ago [1] in which she explores the topic with much depth, a pleasure to read. I have certainly been surprised we forgot about this - once I became aware of it, it made so much sense. I personally try to use my memory where possible, especially in this day of immediate access to digital diaries and calendars. It's a challenge and I'm not sure our modern world can support such ideas for much longer.

If nothing else, read the reviews on the Amazon link below to learn a lot more of interest on the subject.

I remember that when I this in the discussed BBC Sherlock Holmes episode I was not at all surprised that the writers had thought to use this technique. I suppose Arthur Conan Doyle didn't know about this specifically, or it would have made quite a lot of sense to have written it into Sherlock's story.

1. The Art of Memory, Francis Yates pub. 1966

http://www.amazon.com/The-Art-Memory-Frances-Yates/dp/184792...
That's a nice soundbite, but not really fair.

Modern Smalltalk-style languages can be fast. Look at Javascript! And in Obj-C, you can drop down to plain C when you need the speed.

It's possible to get your types mixed up when using non-generic collections, and that will throw an exception at runtime. No different from Go or Python.

In terms of memory safety, it's a step up from C if you use ARC, as all your object lifetimes are managed automatically. You can still get memory corruption if you're careless with arrays, but it's not really an issue with objects.
Because of all the animation and parallax scrolling madness I got used to just scan new articles and immediately post them to instapaper or pocket for actual reading.
Yeah, even $200k is very good, that's like 4 houses in India. Most people don't even own one.
Advice for Local Dating
I agree with your depiction of C++. In fact, one of the benefits of C++ is that it is convenient to use stack allocation rather than heap allocation. This can really simplify memory management. The trick is that you have to choose a different idiom for your idiomatic C++ ;-). The trick is to always know who owns the memory and to never allocate memory in libraries. You use dependency injection, always pass by reference and always clean up in your destructors. If you are forced to allocate something in a library, you build a wrapper to deallocate it (or sometimes copy it when you receive the memory so that you can own it).

It takes some experience to build applications this way, but it is well worth building that experience. C++ is still my language of choice for anything that requires fine control of memory and attention to performance. Rust looks like a very possible successor, but I agree that the lack of incremental compiling makes it not useful for large projects at the moment.
Honeydew isn't tit secretion, it's vomit/shit. And how can a symbiosis of ants and aphids be a parallel for humans and cows. We do not protect cows from their predators, we slit their throats and they know that that's coming. We also do not eat cow's shit. Hilarious parallel.

When did we ever in history of our evolution have a need for another mammal's milk? From an evolutionary perspective, from a perspective of natural parallels, it makes no sense.

The milk you need is the milk your mother gives you. If you seek calcium there's more of it in parsley, basil, origano per mass than is in milk. If you want iron it's also there, more than there is in some of the available animal flesh.

There are also many parallels in the diets of other mammals, 75% of species are herbivore on this planet. If we are seeking parallels in nature to mirror, why are we cherrypicking?

75% herbivores means that genes for plant-based diets are all over the place.
Indians squeezing out the most from US education
There are two questions:

Will the current portfolio become profitable over time?

Are they able to continuously start successful companies?

At least for the 2nd they need excellent people in the headquarters.
For the first one churn can also be an issue. If turnover is high one explanation could be that local management doesn't have enough long term incentives to build sustainable companies. As a consequence they optimize short term output to please the Samwers and jump ship to the next best offer.
> A clear, simple, straightforward & easy format so that I could process my images easily, simply, clearly and straightforwardly.

But what does this give you that the NetPBM tools and formats don't?
Air pollution: a dark cloud of filth poisons the world’s cities
1000 years isn't long enough for evolution.
ISP offering 100/1000 Mbit connections with a data limit of 2 GB /month is absurd. I think that is the problem here, and not heavy content.
Then there are bandwidth monitors ...

I noticed though that the video continued downloading even though I had hit pause.
I don't disagree with you that this is how things work, but my god this process is prone to corruption, both deliberate and unconscious. As a manager it is very hard to not reward your allies and punish your enemies and if you have a process that enables this then this is exactly what happens.
Not true. If you're really sure of yourself you can leverage up without much money.
I don't understand your point, poverty in Eastern Europe has fallen tremendously after the switch to capitalism, but you're saying it has nothing to do with it?

Inequalities might have risen a bit though, I don't know.
Bug trackers:

Chrome: https://code.google.com/p/chromium/issues/detail?id=500639 (reported 2015-06-15, unfixed as of yet)

Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1174811 (already fixed on 2015-06-16)
Ignoring your implication that someone must be "productive" to be worth saving from death... You don't have to go any further than this comment page to find likely examples of that (there are personal accounts of opiate abuse, and it's probably a safe bet that someone who bothers to read Hacker News meets some definition of "productive member of society").
Open Problems in Theoretical Computer Science
> Not if the "experts" do everything in their power to marginalize and poison the public image of those non-mainstream platforms, unfortunately.

Why not? I mean I can see how the "victims" wouldn't like it, but a society without any such form of influence is a society without interaction. For example, one person living in an empty world can be completely free (within their abilities), but two (or more) who may interact cannot. Either you allow one the freedom to restrict the other's freedom, or you limit both persons' freedom to exclude mutual freedom-limiting actions (by whatever means, be they forceful enforcement, internalized ethics or any other). The best you can do is manage freedom to some mutually acceptable level.

As the accusation directed towards those "free" programmers is precisely that they marginalize others (and contrary to the insistence of some of those programmers, that accusation is backed by actual data), this "persecution" is the best means we have curtail their behavior (unfortunately they are not persuaded by other means), and since the framework of our society allows this form of persecution but not actual punitive legal actions, it seems quite fair to me. Further restrictions against such persecution would naturally cut both ways.

So, given the current legal framework where marginalization is legal but may of course have social consequences, those developers would just need to be tough and bear them, which is pretty much what they say their own victims should do. Then why do experts prefer the well beings of some marginalized groups over that of exclusive programmers? Well, as any form of full or partial freedom-restriction works both ways, the thinking is that social groups with less power deserve more protection. Obviously, no one like to be marginalized in any way -- even the more powerful members of society -- but if someone must be hurt, we prefer it to be a group that will suffer less real damage.

In any case, if you prefer that such persecution would be prohibited with more forceful enforcement (say, legal), I'm sure that could be arranged, but I'm not sure those programmers would like the result any better.
"Very little about the real estate market is emergent. This is an excellent example of a market created by society."

What is the difference between the market being "emergent" and being created by society?

Isn't "created by society" just code for a process that's happened without any one person planning it, over a long time, adding more and more rules to make the world like it is? That's sounds pretty "emergent" to me.
Tennis match fixing: Evidence of suspected match-fixing revealed
Ask HN: What do you listen while you do your job?
I am curious what's rolling into your headphones while you do your job: music, books, ted talks...

I am tired of listening to music and useless stuff. Maybe I can learn something new while I work.
I'd defend the word 'transpiler' and I did my masters and PhD on language implementation, and that's where I work professionally now, so I'm not ignorant of compilers.

I think it implies a translation from one high level language to another (not that 'high level' is well defined either), with only desugaring and maybe type-checking - no real lowering or optimisations. That's a useful subset of compilers, so can have its own word I believe.
Much is still some.

Edit: I got down-voted because I've got no money?
The library thing is huge. If you're in C++ land you've got UE4 and a large number of open source graphics engines (Ogre3D), plus far more options in every category of engine (OpenAL, Box2D, and so on). If you're in .NET/Mono land you've got Unity and a plethora of engines built around Unity.

It's ridiculous how much work these engines will save you, once you know how to use them, but ecosystem is key because these engines are HUGE.
Open Letter to the Global JSConf Community
Yes you would have to program in a subset of python.
But type annotations are not always needed.

For the array I do a little hackery. You can define
the array without an initial value in the container and I
can guess the value type.

arr = []
arr.append(1)

it will spit out

std::vector<decltype(1)> arr{};
arr.push_back(1);
More and more I'm getting in the habit of hitting the "Reader View" button in Safari. It removes all ads, gifs, "related content" etc. and gives me the pure content: the article in an easy to read font.
If you want them to be happier, preoxygenate before administering the Narcan. They aren't pissed because you "ruined their high". They're pissed because they're hypoxic (and therefore confused, disoriented, etc), and surrounded by people in uniforms, and don't know how they got there.

Bag them up before you push the Narcan and you will have much happier patients.
Same feelings here: nice post but bad typography. To the author and anybody writing their own CSS: please use line spacing to make it easier to get the starting point of the next long line of text. See https://www.w3.org/TR/WCAG20-TECHS/C21.html and, believe me, it doesn't impact only "people with cognitive disabilities".
No. For security reasons, nobody wants Javascript to be able to open actual TCP connections – Javascript is supposed to be sandboxed, and if it can open TCP connections it can do any number of malicious things. So this whole Websockets thing have been invented, which is just like TCP sockets, except it’s understood that Javascript can access it, so nobody should implement any service accessible on a Websocket which could be misused by malicious Javascript. I’m not sure this is a solid plan.
I would certainly say yes. They're using your bandwidth to serve another one of their customers, for free, without compensating you in any way.

Whereas loading a 150MB image from their server is using their bandwidth (that they're paying for) to serve you.

Legally, I have no idea. Morally, it'd be nice if they at least asked and actually had a working site if you say "no".
I learned this technique as an undergraduate in a seminar meant to help with exams. I thought it was so much woo but it does work. For me anyway, though I never used it for exams- I use it to memorise shopping lists.

I find that for that sort of thing I don't need a whole building. I just visualise an array of empty abstract squares, and fill them up with groceries etc. I think the important thing is the structure you give the memory. I can usually memorise ~15 items in less than a minute.

I also visualise my house sometimes, very convenient for things that actually go to, eg the kitchen or the bathroom irl. I just put them in the proper place in my mind, then to remember them I imagine walking around the house. It helps to do it in the same order both times: start at the front door, proceed to the kitchen, then the bathroom etc. I think I'll try placing them in the actual store next.

It's a bit of a hassle to be fair but I'm normally very absent minded :)
[1] https://www.jetbrains.com/mps/

Tried to visit that site, but all I get is this message:

"Sorry, your browser is not fully supported.

There may be some issues with pages layout in your current browser.
Please use an alternate browser until we resolve the issues.
Thank you."

Since when is it OK to just refuse to serve a page if it's not 'the right' browser? Is this a thing now?
Self-Filling Water Bottle Converts Humid Air into Drinkable H2O
Show HN: New hybrid web app that's changing the way you order coffee and lunch
The threat level is independent of the predicted time it happens.

Also AIs won't think like human, and that's part of the problem (no shared value system).
As a long-time C++ coder, I need to add that project-specific prohibition of some C++ practices is a pretty normal, even recommended thing to do. Introducing such prohibitions is not a fault of C++.

Also, I observed that "bad experience with C++" is often related to someone using, while not completely understood, some more advanced C++ paradigm.
PhoenixOS – Android distro for ARM and x86 PCs
This... does not sound good at all. Frankly, I wasn't expecting that scaling the block size would be so taxing on normal nodes.
But there is a risk of reverse Ikea effect. That happened to me.

I bought a bed from Ikea, but it came incomplete. And it never was exactly as I wanted it. So I threw away most of the parts and made my own bed around few of the side boards. It didn't take one evening but a week of evenings.

Empowered by that experience I made legs for my desk. Shelf from scratch. Painted one old shelf that would have otherwise gone to garbage. Assembled sliding boxes to go under that bed. Sanded my girlfriends old table. Etc.

We have like one very cheap piece of furniture from IKEA and made lot's ourselves. So it's very bad business model to sell stuff that's not quite right, but has obviously usable parts. If you allow people to design their own shit, you run another risk. Especially with current prices of power tools.
I find myself in the middle - I love reading the joke comments, but I don't see the use case for letting someone review a product that they haven't purchased - Does anyone have any ideas why it would be a positive thing?
Professional mourners to street dentists: India's dying professions
I don't think this is useful for startups in general. It sounds like it's good for gigantocorps like IBM and Facebook (and yes, I'm lumping them together, as they have more in common than they differ). For a lean startup, I don't think you're going to have the depth in your staff nor the time to put into these sorts of activities. It's all-hands-on-deck, and we don't have time to slow down and hand-hold each other through their own work. I'd be hiring people I trust to get their work done without me needing to tell them they are or are not doing a good job.

I mean, at a particularly early stage startup, establishing the "three roles" could be the entire company. In such a scenario, how do we not already know each other's intimate business?
It is all magic of Clang or GCC.
Once you call the template with T1 the C++ compiler will enforce that your passed type supports the <= operator.
People tend to behave differently when lives are at stake.
1. I wouldn't consider working for a boss who regarded me as an enemy.
2. The manager also gets evaluated, and word will get around if he's promoting cronies, and if his dept gets poor results as a consequence.
3. I mentioned that everyone knows who is naughty and who is nice. A rating system can be as simple as "who do the patients prefer" and "which teachers do the parents want for their kids". I expect that would be pretty accurate and pretty hard to game.
Cgo is not Go
24 years later, the description/criticism he makes of the American university culture is accurate for (at least most of) Europe as well. We even have "management science" everywhere.
The "standard" middle class way to wealth is to work hard, save as much as you can, and put your savings into investments that will grow your money.

While a lot of people go the "buy a house" route, and make most of their investment gains from the house appreciating, others will put their money into e.g. the stock market and make their returns there.

Which part of this do you think "doesn't count" or has "nothing to do with hard work"?

If we were talking about only people who worked hard, put X% of each salary into the stock market, and ended up wealthy because their investments paid off, would that count as "getting rich from hard work"? Is your objecting specifically with the fact that their chosen investment was in a house?

Don't forget, buying a house is the same as putting money into a diversified stock portfolio in terms of work - they had to save X% of their salary to pay off a mortgage instead of putting it into the stock market, but effectually they worked the same amount and saved the same amount to end up at the same place. I don't think it's worth making a big point of difference over which exact vehicle they chose to put their investments in, as it obscures the point.

Note: I recommend the stock market instead of buying a house because, like parent says, investing in a house is more of a lottery.
It's not "docker or VMs", it's "docker or other container frameworks". Compared to those, Docker seems to come with a ludicrous list of caveats and workarounds.
How would you know as a lowly neuron?
Go eaters!
EDIT: (controls were unintuitive on tablet/mobile) It seems like you need to select the shape then tap on the line you want to apply it to. One tap previews the change, a second tap on the same line applies the change; tapping elsewhere cancels applying it.

For those who want to read up on it: https://github.com/sgentle/scrawl/
Completely agree, this is why most game developers use only a subset of C++ as "C with classes", and at the end of that thought process some are going back to C completely (I haven't made the jump yet though, but have been pondering this for at least 2 years). What I still like about C++:

- user-provided code called when an "object" goes out of scope

- operator overloading sometimes makes sense

- simple template-meta-programming sometimes makes sense (but could be replaced with other sorts of code-generation)

3rd party libraries are usually a pain to integrate when they have a C++ interface, and usually simple when they are just a C header, and when they can simply be dropped in as source into the project.

A good middle-ground is probably to build the building blocks in C, this way they are way better reusable then writing C++ code, also across languages, and tie the low-level buildings blocks together in whatever language one likes (even interpreted languages).

[edit: formatting]
Interesting, since I feel just the opposite. In C++, most of the time, I can write the precise intent of what the code should do, and I can also choose the level of abstractness, without compromising on performance!

I think the main trick with C++ is to learn the best practices first, and only use those one thoroughly understood.
It might be good to explore some of the books that are considered classics with regards to free market capitalism. Adam Smith's writings, along with Milton Friedman and Friedrich Hayek, will give you a much more nuanced understanding of the philosophies behind the ideas of the 'right'. The Road to Serfdom is one I would suggest starting with. I think you will find some much more powerful arguments for right wing economics from these authors than you will find in most of today's writing on the subject as well. I think it will help you think about the issues more clearly and independently as well (by better understanding both sides), to come up with your own arguments. IMHO, I've tried reading what are considered 'classics' of left wing economics, and fail to find the same nuance, or arguments that are materially different from what is written today. Of course this could be just my own opinion, so I would love to hear your views after reading.
Online Payments (greater-than) Credit Cards
How to Write a Good Status Update
or pretty printing
Or go to sleep? (or maybe coffee, timezones are weird.)
d3js + underscore + jquery for a 20*100px sparkline. Sounds like you only want to use that if you're already using d3.
*of a user's activity
Writing code that writes code in Ruby. A beginners guide
Everybody needs a mentor
I have zero interest in understanding how Google or Facebook or Microsoft or Apple or IBM or even Twitter does anything right now. They are big. I am not.

These companies have deep-pockets of capital to spend on such luxuries as individual contributors who can make it their jobs to deep-dive into single, esoteric, poorly specified tools. I do not.

Late September last year, Twitter laid off 336 people. In 15 years, I've never worked in a company that had more than even 150. A company the size of Google could probably hire and fire more people in a single year than I've ever been in professional contact. I cannot.

So how they operate, from soup to nuts, probably has zero bearing on how I should operate.
Meanwhile it really is a change that this guy wins isn't it?

I really don't get you america, never will. Its like a bad movie.