skysight-inc/HackerNews huggingface dataset:
Agreed. I know that when I am speaking to a "women in tech" I know that my every word would be put under microscope. I am a result of society like everyone else with its baises and prejudices.

So instead of talking about and examining my/our own prejudices, i have to pretend to be a morally infallible saint who is incapable of thinking "wrong" thoughts.
> Can people tell me why they start projects in broad C++, and C still? I may be completely missing some piece of the puzzle.

Sure.

---

Compelling features:

- Unrivaled portability (yes, contrary to folklore C - and to a lesser extent C++ - is more portable than Java)

- Excellent libraries

- Excellent documentation and learning resources

- Unrivaled tooling

- perfect mapping to how the computer works

- Unrivaled performance (other than Rust)

- exceptional, engaging, and intelligent community (specifically referring to the cpp community)

---

Why start a C++ project today?

- you want to write a web browser

- you want a platform agnostc GUI

- you want to learn OpenGL or Vulkan

- you want to use Unreal and you're not a visual learner

- you're want to write the business logic for a cross platform application and share as much code as possible

- you're implementing you're own programming language

- your implementing an algorithm or data structure you've been studying

- you're bored

- you like programming in C++

- you want to learn template meta-programming

- you want to learn functional programming

- you want to learn how to write a device driver

- you need the performance

- you are not writing mission critical software (aka 99% of all side projects)

- you're a curious person

- you're a contrarian and everyone you know uses Java

- you want to become a more well-rounded engineer

- you want to learn about the ins and outs of language design and features

- you want make a lot of money

- you only know C++

Those are a few reasons. Hope that helps you solve your puzzle.

PS: Do the anti-C people realize that a kernel in Rust/Nim/whatever would be under a big unsafe block anyways?
Yeah, you have to program "unsafe" code eventually. Those nice high level abstractions are not omnipresent, you know. They need something to abstract.
there are a lot of forks of linenoise out there now.

this one looks good, but it's a big task to pick through all the divergent copies of the code and figure out which ones have genuine improvements and which ones are now rotting.

there's a rust one too which i recently added mingw/msvc support to. that's actually an example of how this splintering could be causing problems because we've just vendored some upstream version of the native c code and changes may be difficult to send back upstream.
> Repeat after me: there is no silver bullet!

Nonsense. How many buffer overflows - a vulnerability that simply doesn't happen in any modern language - would it take to convince you that the language is the problem?

> Languages like Ruby have had their host of ridiculous security errors.

Ruby isn't great, but it's not had anything like the same defect rate as C.

> One advantage of legacy code is that it is battle-tested. It's not sexy, it's not clean, but neither is the real world.

Then why do we keep finding these embarrassingly basic flaws in that "battle-tested" code?
There's a definition nuance I don't follow. When https://en.wikipedia.org/wiki/Military_of_Costa_Rica says "Costa Rica does not officially have a military" and "abolished the military of Costa Rica", that makes me think it has no military.

When http://www.coha.org/costa-rica-an-army-less-nation-in-a-prob... says "Without a formal military force, Costa Rica had no need to regularly invest in naval vessels, warplanes, or tanks, which typically make up the heavy equipment of any traditional armed forces." and "It is important to consider that a state that has no military is by nature nonviolent.", that makes me think it has no military.

The same with http://articles.latimes.com/2013/dec/15/opinion/la-oe-barash... which says "Henceforth, Costa Rica would take the almost unheard-of step of renouncing its military."

I don't understand why I should believe it has a military. At best we have different ideas of what a "military" means.

You mention "gendarmarie and other paramilitary forces" as a type of military. SWAT team are paramilitary forces, no? Would it be fair to say that Los Angeles has its own military? What about paramilitary support for anti-poaching and other conservation efforts?

The essay at https://medium.com/war-is-boring/costa-rica-doesnt-have-a-mi... attempts to convince me that the UEI is a "small military force in all but name", and that "the distinction between police and military work in Central America is a lot fuzzier than it might seem". I am not convinced by their comparison of how the police in Costa Rica have a drug interdiction role which is done by the military in other Central American countries - after all, in the US there is both military and police involvement in the same role.

Perhaps I can resolve the topic with two questions: 1) did Costa Rica have a military in 1990 (which is before the gendarmarie and the UEI)? and 2) what would Costa Rica need to abolish in order to say it doesn't have a military? Just the 70 people in the UEI?
Haven't looked recently but I think the Google Images API is really expensive to use.
Hospital equipment is a sector where we need to push strongly for open solutions.
Besides their own security, they are putting people's life in danger.
An informed citizen should have a way to check the running software and that the equipment is working properly. An example is X-ray equipment. In some cases, patients have been exposed to strong doses of radiations because of malfunctioning equipment for more than 1O years. Nobody checked. And then you add the risk of hacking.
@alanwatts,

that is the kind of talk that left US exposed in 1812 War and the West Point, Naval academy were a product of realities post-1812 war. You can quote all Madison you want, but the need for professional army was evident through out the world and worked like a charm in 1845 When US wrested massive land from Mexico.
From what I've seen, if you add only sugar and no facts you'll be better at persuading people than if you mix the two, as long as you can hit their emotions correctly.
That doesn't apply, and you know it. The fallacy is constructed as "A has said B, A is great, therefore B must be true".

The GP never stated that B must be true. Simply quoting somebody is not in itself a fallacy.
Nope. Using a"simple" API is exactly what you don't want when dealing with graphics hardware, because then the burden is on you.
You missed this equally sparkling gem (emphasis mine):

"The most obvious revenue stream could come from ‘ad words’, where a Giphy search could turn up sponsored content based on what the user was looking for. If it worked for Google, there’s no reason why it wouldn’t work for Giphy, and founder and CEO Alex Chung hinted on the phone that this would likely be the main source of revenue for Giphy when it decides to flip the switch."
FIS and Paydiant Modernize ATMs by Replacing Cards with Mobile Authentication
Top 5 Facts – Isambard Kingdom Brunel
Oooh, think of the lawsuits after that one...
Ask HN: Productivity tools- Useless, useful or incomplete?
I'm trying to gauge the zeitgeist around productivity tools- todo lists, mindmaps, time trackers, pomodoro timers, trello variants, habit builders, Omni-*, etc

This is because I am building an app, called "tymtu", in my spare time that would enter into that crowded arena. Tymtu is thus far without a clear category or well known description, so I'll just describe it as a product management tool, where you, the user, are the product. But it aims to fill the same role as many pre-existing tools and it should be classified as a "productivity tool".

So my question is "Are these sorts of tools truly useful to you? Or are they just distracting noise? Do you believe that there is some undiscovered country left to conquer? Is it a fool's errand to attempt what so many other's have failed?"
I try to, but nosql discussions get pretty heated.
Just because it's not perfect doesn't mean it's not better. Yes Android runs x000 lines of C and that's x000 lines too many, but it's still a substantial improvement over desktop systems.
Top 5 Facts – Aristotle
Calling it sugar also seems a bit disingenuous, since so much persuasion is based on guilt and shame.
Minimal FFmpeg Docker Image Built on Alpine Linux
Excuse me if it felt personal it wasn't my intention, just the way I write.

Non native speaker here.

As I mentioned in the reply and in another thread, I do use the NDK, but I wouldn't if there were better alternatives.

30 years ago those microcontrollers would probably be programmable in Assembly and Forth, Pascal, Basic and C dialects. At least when I think about Z80 like ones.
I used this for writing two books. Nice stuff, but I have simplified my writing workflow using leanpub.com - simple markdown but you can still embed formulas, etc.
While there's much truth in your statement, I wouldn't be so quick to discount the knowledge and experience of archivists, who have collectively as a profession put a tremendous amount of time and effort into researching archival theory and practice, both physical and digital, and who count among them extremely knowledgeable technologists. They are acutely aware of the fact that you can't just burn a cd and call it a day. With that said, I don't know anything about the Digital Preservation Coalition; you may be right about them in particular. [Edited for clarity]
IIRC, that's because it's a C++ library, not a real C library. Aside from a few exceptions, it only includes the parts of the C standard that are required by the C++ standard. Hence the dismal C99 support on that platform.
Can anyone explain (or at least provide a glimpse to) why the difference is so huge?
> Repeat after me: there is no silver bullet!

There is no single silver bullet, but there exists silver bullets for a variety of problems. When was the last time you saw a pure Python or pure Java code segfaulting from invalid memory accesses? When was the last time you saw a C/C++ code doing the same? It is simply negligent to use a language or system that exposes you to that many more classes of vulnerabilities.

Imagine a language where the compiler randomly accesses another variable if you mistype a name. No error, you just get a random value. Would you defend such a language? "All languages have faults! There is no silver bullet!" Except for this* particular problem, there is a silver bullet.

I agree wholeheartedly with your dismissal of rewriting battle tested code. But the need to migrate is clear, and we don't have to do it at once. It can be done slowly, one piece at a time. And it should be.

* For non-trivial code exposed to untrusted input.
Show HN: ReportDash – Reports and Dashboards for Digital Marketers Made Easy
Glibc bug patched by Google
Anonymous Hacks Turkish National Police Server, Leaks a Trove of Data
Might isn't right. There are groups for pretty much anything out there, even when it's factually, morally, and ridiculously wrong.
Thankfully, there's no possible way nuking an asteroid that's coming close but definitely already going to miss Earth could turn out badly. /s
Interview with Durandal's Rob Eisenberg
The headline's a bit misleading.
Hard to say, considering tech will continue to evolve over that time. Who knows, 100 years from now we might have found an extremely reliable way to store digital information long-term, thus we'd only have to do the "copy from one medium to another" dance for a few generations. Or we might not.
e-ink? So you can't see the buttons in a dark room?

Hope they did some usability tests in this.
Just remember it's not serverless. It's just someone else's server.
Basically every piece of hardware with a clock in my house is blinking, yet I'm fine with Linux. The problem isn't that it's too hard to set, but usually they will get unplugged at some point, and you have to set the clocks again. It gets boring very fast.
This is indeed the goal of formal debates, which is why debaters are trained to argue both sides of an argument, and the winner is judged by who the audience found most convincing, rather than by drawing concession from one's opponent.

The goal of rhetoric is not to make your opponent admit defeat, which is why you don't see politicians try to actually engage with an opponent's argument.

Likewise, a lawyer arguing in court is not trying to convince the other lawyer.
Glibs uses /etc/nsswitch.conf to decide at runtime which libraries has to be loaded dynamically to implement DNS resolver, user lookup etc. One in principle can compile those libraries statically, but it is rather complicated for no gains, so almost nobody is doing that.
Cambridge is an excellent example of what's wrong with the UK housing market at the moment. What we need is a range of homes with enough availability to support a range of buyers. What we're getting is super-expensive flats (often with 7-figure prices or close to them) in the city centre aimed squarely at London commuters, combined with new estates built around the edge of the city. New estates typically have conditions attached to their planning consent about providing a certain amount of so-called affordable housing. In reality the developers seem to be able to build the high-end and most profitable houses first, drip-feed them into the market to maintain high prices, and somehow never quite get around to building and selling all the mid- to low-end property that was supposed to be part of the deal.

Until the government changes planning policy to be realistic, such that it's economically attractive for the big homebuilders to build at about twice the rate they are doing at the moment, or it's economically viable for individuals to buy a plot of land and get their own house built as more commonly happens in continental Europe, or both, no amount of tinkering around the edges is going to do anything particularly useful. Schemes like Help to Buy just pump money into the existing system, without actually generating much new housing stock. Token tax rises on second homes bought for letting out won't do anything either, as they'll just get passed on to the tenants through higher rents. And even if they didn't, many UK homes "earn" more than the people living in them, so taking a 3% hit on stamp duty is basically pocket change to professional landlords.

The bottom line is that what we need is lots more homes, but since any change in policy that brings that about will hurt the values of existing homes and/or the profits of the big homebuilders, it seems unlikely we'll see any meaningful change in this direction as long as the Tories are in power. That said, for a variety of reasons I wouldn't bet on the Tories still wielding much practical power in government by the end of the current five-year administration, and housing is the kind of issue that could come back to bite them at election time if we do see another 3-4 years of huge price rises between now and then.
Folly futures
Thanks for the link. I think that just looking at the "simple" triangle example tells quite a lot about how low-level the API is (at least for me). The source C++ file is >27kB and ~760 LOC..
It's the beginning of the end.
There's something I don't understand: if it's from 2015, how come it hadn't been fixed until now? At least for debian.
From my limited experience - bullying is prevented by having friends. Groups of people don't get bullied, loners get bullied.

Once you develop a little circle of friends, you'll largely be left alone.

So the key is to give people enough time to develop friendships - in Russia, I had the same classmates, give or take, for years. The students were separated into gradations of capacity where those who got straight As (in Russia it's a 2-5 gradation, for F-A) were put into the same class after a couple of years.

This way, smart kids end up with smart kids and those who don't do so well, end up with those who don't do so well, but then their curriculum is made a bit easier so everyone is happy.

What I experienced in Canada is that you are thrown from one set of kids to another every year and as a result, you know everyone but you don't know anyone. The 'cool' kids here were determined by looks and clothes largely because most classes were a complete waste of time.

If you made school challenging enough that those who did well were respected and those struggling, made to feel like they need to keep up and give kids enough time to get to know the same people (5+ years) - a lot of these problems would go away.

Russia is far more aggressive than Canada and violence much more common - and yet everyone I knew was ok. You come to Canada, everyone is babysat their entire lives to a point where people remain infantile in their actions and worldview - to a point where you need to implement rules of conduct in a workplace. Do you really not know how to act by the time you're 25? Should've gotten beat up a few times as a kid...
Quantity has a quality all its own. If you look at what Google is doing with their code indexing, deep integration with LLVM, etc ... it's about tooling at a certain point, not so much the language.
So Italian cheesemakers could never sell adulterated cheeses? Let's be realistic here.
This seems very cool. Is it possible to develop locally offline? Or do you always need a connection?
I will not, in any way, defend the actions of the current programs being run.

However, your statement:

Arrest them and try them in a court of justice. End of story.

Is not at all easy to accomplish. The government of Pakistan doesn't control a significant part of the country.

Add to that the corruption at all levels, and it would be difficult to pursue an arrest warrant effectively. If you try to negotiate your way into the areas where the suspects are, it will take a while (and likely a lot of bribes) and they will hear of it and go into hiding. If you want to ignore all the formalities, and just rush in and grab the suspect, you're effectively mounting a small invasion, which the central government AND the tribal leaders will oppose. So you're back to shooting people again.

Again, I'm not saying what the USA is doing is a good solution, I'm just saying I'm not aware of a good and effective solution at all.
Go is an incremental improvement over the C++ ecosystem without all the legacy baggage.

By controling the platform, Google can leverage the ecosystem to attract and cherry-pick early adopters to the language.

Once the language becomes populat enough that the Enterprise starts to adopt it, Google will already be onto their next 'ground breaking' technology.

Once people settle on a perception they tend to hold on to it for life. One day soon people won't want to use Java. It'll be seen as "our Dad's language". Steve Yegge (ie now a Googler)
said as much during his OSCON 2007 talk.

The value isn't in the language/platform, it's the people who adopt/build/use it.

Microsoft knows this, developers are what kept them afloat during a decade of stagnation in product development. Oracle thought they could buy their way in by acquiring Sun; except, while they were busy suing Google, Amazon sprinted ahead of the pack with their cloud services platform.

This is how the biggest players make long-term investments. Guarantee an abundant stream of top tier talent and success will follow.
It likely won't help. I excluded glibc from using ASAN to let this work.

It is theoretically possible to use ASAN on glibc as well, but it's complicated and certainly not ready for any kind of production use.

Also although this is my work, it's far from clear to me whether using ASAN in production really is a useful thing. Practically I'd rather suggest looking at the safestack and CFI features of clang for production use instead.
I feel too bad right now for I had the exact same product ready and developed with a hell of a traction 4 years ago (for I have not seen the value in it back then), yet I dropped it for another idea that failed a 2 years later.
Huh.

I guess I just hope the founders took some money out in this round.
Of course, they also use bullets.

/s
Containerized Data Science and Engineering: Dockerized Data Pipelines
Non-blocking TCP communcation in pure Python
Do you think there are fewer currently unknown bugs in software we have yet to re-write, in languages that are currently untested?

Don't make me quote Rumsfeld.
Consumption is differentiated from investment in that consumption is stuff you intrinsically want, while investment is things you don't want except because it gives you other things later.

That’s fine, but as I've argued previously, almost any purchase can be argued to fit either description. People do actually buy e.g. fine wine as an investment. How will the IRS determine if a purchase is an investment or consumption?

How can they produce more? They haven't devoted any physical resources to building that new factory or otherwise upgrading their productive capacity.

Presumably they make a profit from selling the stuff. And maybe they produce less of the stuff that doesn't sell well. But how do you even get that from what I wrote? Consumption is not antithetical to investment. I am not arguing against investment. It's not clear to me if you understand that investing does not automatically create a market. All those Chinese ghost towns we hear about are the result of investing in something for which there is no market.

This is completely NOT the point.

In that case I apologize for misunderstanding you. Still, it's an empirical fact that taxes act as a disincentive. And you would need to tax consumption very heavily if it were to replace current forms of tax. A large part of the population would simply not be able to afford anything but the bare essentials (if that) let alone have any money left for investment.

Read the Scott Sumner link I provided above.

I enjoy our discussion, but I am not interested in reading someone else make your argument for you.

The point is that a capital income tax penalizes consumption in the future relative to consumption today. A consumption tax treats them equally.

I am sure that's true, but so what? It's such an arbitrary point to make. It doesn't point towards any real world problem that we are having. The economic challenges that faces us today are not caused by people consuming too much today and saving too little for the future. Quite the opposite in fact. There is also no indication at all that there's any lack of risk seeking capital. It's never been easier to get funding for a new venture. In fact there are sign that it's become almost too easy, and that investors are taking on too large risks in order to get a return.
It's a fun product, but won't they run into copyright issues if it gets big? Seems like all the content is owned by others, and I'm not sure it counts as fair use.
"Could that be because the efforts have focused on having students, mostly those not subject to bullying, stop the bullying?"

The article didn't go into a whole lot of detail on the other less effective programs. But it did talk about how this program was effective precisely because it focused on students instead of focusing on punishment[1].

[1] I realize punishment isn't the only way to get teachers and administrators involved, but it does seem like programs focusing on punishment would have to get teachers and administrators involved.
Thanks for these. Has anyone seen a link from/for CentOS yes?
Is that really persuasion though? I mean, it's used as a form of persuasion, yes, but how often do you see guilt and shame successfully persuade someone to another side? I think the prevalence of those tactics is what feeds the attitude that any form of debate will do nothing but further entrench each side in the initial opinion.
Developers and the Tech Bubble 2.0
IBM launches Quarks, APIs and lightweight runtime for “Edge” devices
obviously no one over there ever watched the movie: https://en.wikipedia.org/wiki/Armageddon_(1998_film)