skysight-inc/HackerNews huggingface dataset:
I share this desire, but it's important for end-users to remember that even if a feature seems arcane and unneeded, you're likely using it indirectly through the libraries you use. Take variadic template parameters for example. The average developer doesn't use these. But very popular library features like make_shared would be at least an order of magnitude more code.

And by making library code easier to write, understand, and maintain, we make it more likely that the more obvious features (like filesystem operations, database abstraction layers, new kinds of data structures, etc.) can be written and maintained.

All that being said, there are completely unecessary warts in C++ that need to be cleaned up. The best thing in-the-trenches C++ developers can do to help with this is to improve the software development lifecycle tooling and practices on the projects they are responsible for. Good automation, static analysis, and testing will make the C++ community more agile and more ready to do the much harder work of deprecating and deleting old technical debt. And it's good for the health of the project anyway.
Validated thesis “Twitter mood predicts the stock market” and get 60% accuracy
- Diversity hurts middle class white collar worker in the long term and used as a tool by elites to keep them in power.

- forced diversity never works

- hiring based on the race or gender has never worked and never will.
Agreed, a tremendous work with a dream like quality, a phantasmagoria contrasting vapid American consumer culture, against bloody reality in the lands the great powers toy with.

Also interesting observations on William Gibson's work and the genesis of the EFF.

Definitely worth watching in it's entirety.

It's central thesis, that the current state of affairs has become too complex to predict for elites, and that either a fake, simplified reality is both created and presented to the masses, and also willingly retreated into.

Plus great stuff about the cynicism created by the failure and capitulation of social movements.

One of it's assertions is that Gaddafi willingly accepted a false role as a global supervillian because he liked the attention and status, and was in fact not actually responsible for some of the terrorist acts attributed to him, was completely new to me.

History and reality is hard to know in an age of state sponsored manipulation campaigns, intelligence and counter-intelligence, spycraft and subterfuge.

One has to look at any attribution as highly suspect in this environment. Cui bono?
Software bugs haven't been "single point of [entire fleet] failure" for a while. You just need the appropriate processes in place.

- Rolling Deployments

- Feature Flags

- Automated metrics analysis; With automated rollbacks if an issue is detected

Where I work, this has been standard for at least 5 years, and we are just building websites.
Nebraska Democrats Include Voter Registration Forms in 'Refugee Welcome Baskets'
I read this whole article and am quite puzzled by it. No place I have worked in at least the past 10 years has been responsibly staffed. While there were indolent people working at a lot of those places, I didn't notice any "bullshit jobs." So is this author really out there looking or just surmising that they know what's going on?

The only place I have seen what the author is talking about is in government--most all municipalities and the federal government have an excess workforce and that is another form of welfare, basically--make-work jobs have always existed there.

Also, I don't think the author understand the complexity of a market economy. Jobs that seem like bs are not that if they are somehow contributing to the bottom line and in this complex regulatory and legal world, there are tons of roles that are required even though they are inessential to the company's main pursuits. It's not like the healthcare firm I worked at wanted to pay a "compliance officer" six figures each year, but they did that to have someone in that role to demonstrate their devotion to be compliant with an incredibly ridiculous and overbearing amount of regulatory burden. So while the role may be "bs" in some sense, it is not "bs" to the company that created it.

One other matter: The US is not a capitalist country and hasn't been since the 1890s when Marx and Engels inflicted their mind virus on the world. The US is a mixed socialist, fascist nation, with an oligarchy thrown in. We are so far from capitalism we can't even get a bus back to capitalism. The entire Military and Military Industrial Complex is a socialist enterprise that leaches on the remains of the free market system. We have a tremendous and overbearing tax structure, we have many regulated industries, and a police state apparatus designed to keep everyone in line.

If only we had capitalism we might actually evolve out of this slave-state and into something far more enjoyable and uplifting.
That's neat, but it feels like it would work better with a trusted central authority. I guess there are a few reasons:

1. The central authority takes pressure of the manufacture to build a verification system.
2. They could provide a single unified interface to consumers. Single QR validation app etc.
3. They could help track a product though resales. Which maybe more in the consumers, rather than manufacturers interests.
4. They could proactively investigate counterfeit claims. Potentially across different product lines.
Everyone assumes that each of the Five Eyes governments can, in a pinch, get any certificate they need issued.

What people overlook is that on the modern Internet, browsers themselves form an ad hoc certificate surveillance network. If you get a certificate issued for a site that pins, or create a CT discrepancy, there is a very good chance Google and Mozilla are going to discover the CA responsible. And, as you can see, even if you operate the largest, most important CA on the Internet, Google will, if that happens, fuck your shit up.

If you want one (of many) dispositive arguments against DNSSEC, just consider that Google and Apple and Mozilla are not in fact in a position to fuck shit up for .COM. You can't revoke or distrust a TLD: the use of those TLDs is encoded into the brains of hundreds of millions of users. Not so a CA!
This was mentioned here a couple weeks ago. I watched it and his previous film, Bitter Lake, in quick succession. Both were really interesting and well worth the time.
I hope c++20 will be c++18 ：）
I disagree completely. What we need is to allow even slashes in the file names – not restrict (for what an end user may feel arbitrarily) even more writeable characters off file names, just so we can avoid fixing our replacing our tools or writing one line more in a shell script.
> Is it really unthinkable that smart phones that you carry around in your pocket are the dominant platform for the next 50+ years?

Nobody knows the future, and maybe phones really are the end of the line for computing form factors, but I doubt it - there are too many problems with phones. Tiny, hard to read screens; poor battery life; fragile and easy to break, etc.

They certainly won't go away, because not even mainframes have completely disappeared, but they're already not the hot new thing, and the more time goes by the more people will be looking for shiny new devices.
When you visit NYTimes, it hits: KruxDigital bug, GoKeywee visitor prof…
>They can't keep counterfeits off (I just recently got a 'samsung' battery that would only charge to 80%),

Are you sure that it is counterfeit? 80% is a common charging cutoff point for Li-ion batteries to minimise wear-and-tear. Usually it is enforced in software.
Security Podcast (SHA1 Collision, Drones)
My Secret Job: I didn’t know how to explain that I treat kids with cancer
I don't think stock price is a leading indicator. It goes something like

Profits -> hiring decisions -> stock prices

Stock price could be many months behind the profits as you don't do dialy earning reports.
First of all, the world isn't that black and white. Second, the advantage of C++ is that you are not forced to use these abstractions. You can pick and choose when to use them and pay the performance penalty.
Singapore teen blogger Amos Yee granted U.S. asylum
Counterfeiting is an old problem. Straight razors were being counterfeited in the 1800's. They had a number of interesting patterns to counter it. Stamping of the company logo could be changed regularly. Certain groups were the only ones allowed to sell under specific companies. Some razors (GW Pipes for instance) were so well made that counterfeits were fairly obvious. But, some counterfeits were just about as well made as the real product. This is still an issue with those razors, as so many thousands of counterfeits were produced, that determining the authenticity is quite a process.

To link this back in to the original comment, I bought what was clearly a counterfeited Spyderco directly from amazon. They didn't seem to care, but did refund me. (The knife sharpened extremely easily - VG10 is a tough stringy steel that takes more than normal effort to hone)

I won't buy new knives from anyone but the manufacturer anymore.

Edit for clarity: Most fakes were unstamped or generic Solingen/Sheffield stamps. Most branded razors pre1900 are authentic. Only a percent or two of those produced were fake. Still makes authentication difficult. And to make it even weirder, some fakes were actually better made than the brand they were being sold as!
Push Notification Preview Tool
People in the 60s were protesting the draft and the Vietnam war, mainly. The hippies and the peaceniks were experimenting with all kinds of collectivist living arrangements, none of which were successful for any long period of time. The amount of drugs those people consumed may have been a contributing factor. It seems like very few intentional communities survive, though.

The Amish are probably the most successful and I do so appreciate how they give a huge middle finger to the modern police state system and all its trappings.
Singapore teen blogger granted US asylum over fears of political persecution
> What a compiler enforces is not best practice, it is bare minimum.

-Wall gives you a lot more than bare minimum. But, you can't really call it bare minimum when you compare compilers to linters in general. If a compiler enforces bare minimum, then a linter enforces less than bare minimum. Linters in general do not detect type errors that compilers catch and that prevent the program from running. A compiler is a bigger, better safety net than a linter.

I have ~25 years experience with many linters and many compilers, and my opinion is that compilers provide more security than linters, on the whole. When I can, I try to use a real compiler for production use of scripting languages, for example Google's closure compiler in JavaScript rather than linters like eslint or jslint.

> it's not an either or situation, use a linter on top of the compiler.

This is true, and I agree completely, it's not an either-or situation. That's in part what I was trying to say. The compiler already does linting and it does much better static analysis, so you don't need to choose, you can just use a compiler. There are certainly higher level style analyzers, clang-tidy was mentioned already, and there are others.

PEP-8, and Rubocop are in part a set of guidelines designed to prevent code mistakes and type errors precisely because the languages they represent don't come with a static type-checking compiler. Many of the linting rules and best practices only exist to prevent unsafe code that would have been prevented if there was a compiler involved, and only need preventing via style guides and linters because a compiler is not necessarily there.

There are certainly best social practices that some linters enforce that many compilers don't, but for that it doesn't make any sense to avoid learning C++. The OP's comment - that he feels like C++ is a minefield without a linter - is missing the forest. It is easier to know you're writing correct C++ than it is to know you're doing correct Python, because of C++'s compiler. Unfortunately no compilers or linters are that good at preventing you from writing code that runs and then crashes.
Amazon isn't going to take this seriously until a major company gets burned and the FBI gets involved. Then Amazon will experience what every other company does that gets burned for selling counterfeit goods... the FBI will raid their warehouse and hold all the inventory as evidence until they complete their investigation. Like you said, Amazon doesn't seem concerned that they're selling counterfeit goods -- probably because they don't understand that's a serious crime.
Wow, congratulations for the Kickstarter! I’m a bit flushed that you’re asking for my opinion, I am no phone expert.

But okay, my opinion as a random consumer. I apologise if I’ve misread anything.

You say that the phone is human-centric, but my first impression is that it looks very millennial. There’s a lot of mindfulness going on such as hitting the pause button and rescheduling tasks. The Kickstarter blurb also mentioned that new features will be added, like popular app compatibility. So for me, this phone is still a smartphone but with a specific flow to reduce distractions and build good habits. And that is fine!

But if I’m honest, I probably won’t get it. I’m not bright (definitely not HN level), but my mind is devious. It’s what makes me such a good procrastinator, and no productivity app or technique works for me. It took me a while to realise that to address this problem, I have to really introspect myself, at all times, and adjust my workflow to it. As I get better, even if tiny and slow, I feel accomplished as a person. This, not the phone’s good-habit-designed flow, is empowering.

If there’s going to be a dumb phone, then it has to assume that its users are like that already. That rather than a phone to organise their lives, it’s one that they can forget about until they really need it. Let this drive your design and then do the Apple thing: go radical and make the design so irresistible that these users are like Hell yeah, this is what I WANT. (Rather than need.)

But! I am a random consumer, comfortable with spending Saturday afternoons in my armchair. My fully stocked iPhone SE makes me a tad hypocritical too. Stepping out of my analytical/cynical zone, actually the Kickstarter looks really good, and clearly there is great interest in it. I wish you the very best luck :)
They could comingle and still solve the problems whenever they get stock from a seller they slap on an Amazon barcode that identifies both the UPC and the Amazon seller. That information gets included in the purchase details and when problems are identified with a product they pull those products and identify people who got the bad product. To cover the cost of that problem they can require sellers to insure their product or put down a deposit to cover the cost of a recall.
You're only looking at demand figures and totally ignoring the supply side of the equation (supply of laborers in or seeking these jobs)
Probably https://download.lineageos.org/athene / http://wiki.lineageos.org/devices/athene/ (LineageOS is the successor to CyanogenMod).

That supports Android 7.1 on lots of devices the manufacturers don't (I have it on a 1st-generation Moto G).
> In 2005 few people thought mobile phones would change much at all.

Uh, where were you in 2005? While the final form factor was unknown then, I think there was a ton of realization that carrying around all these different devices (cellphone, mp3 player, PDA, GPS, ...) was a total pain in the ass and that device convergence was coming.
> In 2005 few people thought mobile phones would change much at all.

Uh, where were you in 2005? While the final form factor was unknown then, I think the was a ton of realization that carrying around all these different devices (cellphone, mp3 player, PDA, GPS, ...) was a total pain in the ass and that device convergence was coming.
well we always can have a ST:TNG generation inspiration and use jewelry or similarly disguised devices at the communication device. Still the one point against miniaturization is how do you visually communicate something?

if anything the smartphone will just become. become an everything. it will seamlessly interact with whatever device is nearby that you want to use and be the source point for your data and inquiries. get in your car, it takes over the center console. sit down at your desk and you work is right there like you left it. need to show a group something, point it at a display.
I agree, but I did see this one that seems to be working for traffic tickets, 160,000 wins and counting. https://venturebeat.com/2016/06/27/donotpay-traffic-lawyer-b...
This is documented properly though.
In SpreadServe the core spreadsheet engine is in C++, and there's a process management and messaging framework in C++ too. The framework is wrapped in a Python API, so new processes can be written in Python and/or C++. A deployment is a cluster of co-operating server processes running on the same host, talking asynchronously to each other via pipes. The web server and REST API are coded in Python. RDBMS integration introduces two more processes, one in Python, and one in Java. So low level performance critical framework code is in C++. Higher level integration and UI code is in Python.
"I'd call that a big negative externality to the accessibility of loans for higher education."

That's only one side of it though. The other being the expectations discussed in the article. You see this quite clearly in housing markets where the price is dictated by the profile of who's going to live there and when they are expected to pay off the loan. A house with an expected 100 year loan in a professional market is of course much more expensive than a 30 year loan in a worker market. For what could be more or less the exact same thing.
What are the chances of In college stud, whom drop off school to work on their startup and apply to YC. And its a first experience. But totally obsessed about the idea involved and also open to changes.
I'm going to jump on the AR train when implants become mainstream. Glass and those watches seem silly to me as a normal consumer. The professional applications I've seen recently look quite useful so I'm very positive about future development in this sector.
Same thing happened to me.

The funny thing is that the Samsung website sends you an Amazon seller.

I noticed this the second time I needed a battery. The batteries look identical. The only difference was that the counterfeit battery only lasted a couple months.
I thought that story was cool, but I was intrigued why he felt demo day was so important to their success. If anything, writings from Sam Altman and Paul Graham encourage one to focus on customers and product and ignore everything else.

They could have privately taken those LOIs to VCs and ended up with the same funding.
You're correct. The worldwide network was already assumed by 1990. The only question was whether or not it would become mainstream to muggles.

I gained internet access via my midwestern college in 1991. Within a few weeks, I was a regular on a MUD hosted somewhere in Bavaria, chatting (and arguing) with Israelis about middle eastern politics on newsgroups, and had (very slow) shell access on a system in Taipei thanks to a woman there I was flirting with. There was no question this was the future. The only question was: would this be limited to corporations, academia, and interested geeks? Or would this ever hit the general public? Considering the state of the interfaces in 1991, I vaugely remember I assumed it would be geek-only for a while, though I did my part in getting my non-technical friends online. Largely for the selfish reason of wanting them to have email so I didn't have to use the telephone as much.
> high end AI

What does that even mean? You say it as if it were an end unto itself. You don't even mention a single usecase. Without that, how is that different from saying "general purpose computer" or "turing complete language"? Or dirt. If you have no uses for it, might as well carry an sdcard with a minecraft savefile. It is turing complete.

More, you say it as if the AI itself would do things (what?), not you.

Thinking about it, we are high end intelligence without predefined use cases. And we walk around full of purpose, perfectly happy just existing for a while.
Running xubuntu on my 2007 now. Will do the same on less expensive pc hardware when it dies. Apple wants to only sell iphones, so they're weaning users off their computers in the same order they weaned them on: starting with power users and long-time users.
TypeScript's strong part is the IDE support. It worked great with Eclipse years ago (using the same language server), it worked with Atom years ago. It has Sublime plugin that also uses the language server (not tried this myself). This is because the whole language is build with IDE tooling in mind. It's also approachable, as more language servers are being built the same way, like the PHP language server that is now gathering steam and will be used in several IDE's also besides VS Code.

Webpack and fancy loaders could be issue if you want type checking on really fancy syntax plugins. (Not sure what they are, since JSX is part of TS) These days you need one Webpack loader anyway for new ES features. It's really great that you can just remove Babel and use ts-loader in place as many of the ES features are already in TS.
Yet thats what happens and why women at some places have pushed for gender neutral bathrooms. So yes it makes perfect sense.
That's a good question and the short answer is that we're deliberately breaking decidability to allow people to use types that are relatively in line with what we're used to in Erlang (I get into this a bit in the talk linked above). There's a reasonable argument to be made that we should knock this off of course but I'm generally biased in favour of making interoperation with the ecosystem simpler :)

We should actually clean up that example you pointed out, matching on the `Fetch` constructor first. What we're really trying to support is unions like:

type number = int | float

There's a yet un-had argument about the utility of this as well of course and we may want to remove the ability to do this entirely. The way we type this is by actually using type-checking guard functions like `is_integer` to convey information to the typer at compile time.
The only things I've ever backed are FTL, Torment, Cryamore, and um... SnotBot (not a game).

I must say, you took a lot of chances that I decided not to, and most of them turned out pretty well. This reinforces my belief that Kickstarter is really what you make of it.
Right, I make a point of avoiding 'FBA' sellers on Amazon, this one was listed 'Sold by Intuit' but what I received was (I hope) a co-mingled inventory item that was counterfeit and, in the case of software, possibly downright dangerous had I tried to install it.
I always thought the reason why there is a CEO is to avoid such clusterfuck.
That's correct. One issue we've faced is that people will give the counterfeits one-star although most people reviewing the book give it four or five stars. That just ends up hurting us unfortunately. It took Amazon over three months to remove those one star reviews from one of our counterfeited books.
The post uses the term "internal state" pretty early on(initialize internal state, etc) and continues to reference it frequently for the algorithmic steps but nowhere is "internal state" defined. Can someone explain to me what this "internal state"?
I was under the impression that items "Sold and shipped by Amazon" were actually purchased by Amazon as well, which would imply quality control (for example, I don't expect Amazon to buy Apple products from anyone other than Apple). I don't think that's an unreasonable expectation, yet I learned from this thread that it's not the case.