skysight-inc/HackerNews huggingface dataset:
Why is simple, it's in pursuit of improving the language, just like anything else. And while the bloat and increasing effort to keep up with new developments are obvious downsides, C++ has definitely benefited from the fact that it is a moving target overall. C++11 move semantics for example can help eliminate unnecessary copies and some class of memory errors (when dealing with non-copyable things)

C++ and C have both been around for ages. When they first arrived, most (all?) computers were single threaded and therefore neither of them put threading utilities in the standard library and in updates to both languages, now C and C++ both have libraries for dealing with multiple threads (and I believe an improved memory model that takes threading into account.)

Almost all programming languages evolve over time. Programming changes, computers change, and people gain experience and figure out what the pain points are in a given language. Naturally, we take what we learn and apply it to future language versions.
I'm glad we're waking up to this fact.

It's not enough to hold a belief... in our system, action is required. I think this is why young people are so frequently screwed by political decisions and policy - we are, uncoincidentally, the age group that votes least often.
> Japan has significantly more debt than US and it manages without reserve currency just fine.

Wait wait, hold up. Do you really think Japan's economy is doing well? Is this a joke?
Further to this, I recall Darwin (the BSDish system running under OS X) x86 images being available to download from Apple up until Intel Mac's became available.
New language features. Lambdas, std::move, stuff like that. It's notable that new languages like Go and Rust measure their release cycles in months or weeks.
Dialect Quiz: How Y’all, Youse and You Guys Talk
> I think there's reason to debate whether large corps should be able to hold an auction like this

It wasn't an auction. As the letter points out, each location put in a single, sealed bid, invisible to everybody else. There were no multiple rounds of bidding, as is typical for an auction.
from my perspective, the biggest changes are:

- auto var = eval()

- add_observer([this](int value) { this->log(value); }); // lambda expression

- vec2 = std::move(vec1); // everything in C++ by default is value-type, so this saves a copy

- for (auto&& [k, v] : treemap)

- auto ref_ptr = std::make_shared<SomeValue>(42); // ref counting

- auto unique_ptr = std::make_unique<SomeValue>(42); // non-sharing, uniquely owning ptr. can only be moved

- module foo; import "some-header.h"; export something_from_header; export void your_own_func();

In reality these are 90% features you need to migrate from C++98 to latest version. Don't be terrified by thousands pages of paper, just use them as a reference when you need to.
Ah yes privacy in a process that requires full identification, security scrutiny passing through likely the most surveilled place any person without access to Area 51 would pass through but the major concern is a camera on what is likely a commodity tablet/infotainment system that isn’t even in use.

I wonder once airlines allow you to make Skype calls from it what would people bitch more about being exposed to yet another webcam or being on a flight without WiFi and not being able to FaceTime.
C++ is not low level in the sense that C is low level, one of its primary goals is to support "zero overhead abstractions" meaning offering higher level language features without compromising on performance as most high level languages do.

And yes, there is a big difference between C++ 03 and C++17 and an even bigger difference from C++20 but C++ has done a good job of maintaining backwards compatibility so almost all C++98 code will still compile with a C++20 compiler.

How does anyone keep up with the changes in technology over the last 20 years? At least with C++ much of your old knowledge remains relevant, more so than a Visual Basic programmer who is now using JavaScript with the latest UI framework flavor of the month.
The Future of Design
I've been fighting c++ recently with qt. Something as simple as iterating over widgets on a page isn't possible without casting to every kind of child widget and checking it. I get why, it's because if static typing, but I wonder if it'd ever be possible to 'type hint' and make it possible to implicitly downcast. For example qt will let you iterate over QWidget * type, but you gotta cast it to the real type of QLineEdit and such to get the widgets values.

Of course the 'c++' way is doing event listeners and recording data when it's changed.
Who Owns Buried Treasure?
Since the language is shifting and changing so fast, how do teams pick style guides and coding standards for multi-year projects?
Network with infants. Early investment is best; you get diminishing gains as they age. You need someone trustworthy to delegate your empire to when you're older, so better get your propaganda game on now.
>It’s not a monoculture if you can listen to something else. Nearly everyone I know who listens to top hits music also listens to other genres.

A culture is what people (more or less) share. That part is very narrow today, when it wasn't e.g. in the 60s and 70s.

Niche genres people listen in addition to the top hits but don't share don't enter the cultural sphere.

>It’s like claiming salt is causing a food monoculture because so many people are using it.

No, it's like claiming that whereas once people used to see a variety of movie types in the theaters, now every second movie is a superhero one.

That's true for what people see in the main, and it's true as to what the celebrated, talked about, and influential movies are, even it's easier that ever for everyone to also download and watch some niche movie from whatever era (which most don't bother).
Here's an article by a graduate of GW law arguing it could be an equal protection issue: https://taxprof.typepad.com/files/65st0033.pdf

I didn't actually read it, so I'm not sure how sound his argument is. Even if plausible, it's obviously just an article by a recent law grad and not actually the clear controlling law today.
I dont understand this. For sort codes why not just type six digits?
What do you get from inserting the dashes?
What’s the best source for getting into C++ these days? I ask this as someone who already knows a good bit of C. I’m finding it difficult to know where to start, especially after reading about the proposed changes in C++20.
This would work even better in AR if everyone's facial expressions and other nonverbal cues could be included.

Also speech recognition or something should replace that pointer keyboard.
Actually no, because other locations would have given tax incentives, too. In fact, LIC wasn't even one of the highest ones by that metric. For example, Newark was offering $7bn:

https://www.seattlebusinessmag.com/business-operations/new-j...

It's also important to realize that the majority of that $3bn would have come from pre-existing programs open to any company moving to LIC.
You've literally described a silent auction.

https://en.m.wikipedia.org/wiki/First-price_sealed-bid_aucti...
>What the majority is doing doesn't seem so scary when it's easy to opt out.

It doesn't seem scary if what scares you is "what choices I have as an individual".

What scares me, on the other hand, is how diverse and open my society in general is, and the shared culture (including pop culture) we all participate in.

>It seems like the issue here is conceptual? If you care mostly about what the majority does then it's more of a problem than if you don't.

There's a saying about politics: "It doesn't matter if you don't care for politics: politics still cares for you". In other words, one might not care "what the majority does", but what the majority does is still gonna shape the society that one is living in, and their interactions with others.
In my experience you stick with a certain version, even as new stuff comes up. My current work is in C++14 and will not move to newer versions.
Apple had always maintained (and publicly released!) Darwin on x86 dating back to OPENSTEP and the Rhapsody DRs, but much of the “Mac OS X” frameworks and pieces on top were definitely not running on x86 without more work. Think Carbon, QuickDraw, etc. Pieces critical to running the Finder and most 3rd party apps.

ISTR blog posts by an Apple engineer describing how little of the graphical system actually worked (basically just WindowServer and small Cocoa apps) without a lot more work to fix endian issues
Besides not having everything ALL IN UPPERCASE SHOUTING UNREADABLE I'd like to see:

dogs at work

patriotic

IQ > EQ

asperger's tolerant

stability > risk-taking

no inclusion/diversity shaming

not taking work home

short work hours

no wellness shaming

open floor plan

offices with doors

life-critical (autopilot, pacemaker, etc.)

uses waterfall methodologies

uses proven technologies

slow-paced environment

long-term stable company size

does timecards

works for military

hires felons
Works in VSCode with the Julia extension too.
Here's my experience working as a SWE in Australia for about 4.5yrs, mostly in Brisbane and recently in Melbourne. I don't know what is "normal" for SV/SFBA so I'll just list everything I can think of. The first three points are mandated by law in Australia.

* Maximum of 38hrs per week + breaks (~40hrs). I have never worked or been pressured to work overtime, paid or otherwise. I happily do my 9-5 and everything outside those hours is my personal life, especially the weekend.

* 20 days paid-time-off (annual leave) per year. Never tried negotiating for more.

* 9.5% on top of base salary contributed by employer to your superannuation (similar to 401k). I believe 17% if you work for government.

* Comfortable salary. Definitely not SFBA rates but comfortable for CoL. Fresh grad would be ~$40-60k/yr, going up about $10k/yr for the first few years until you reach a point where years of experience becomes less relevant than the type of experience (~5yrs). Some regional variance to account for CoL. I stupidly started low, but then pushed for more until I felt comfortable that I'm paid average market rates. My history was $40k, at ~6mo $55k, at ~1.5yr $70k, at ~2.5yr $77.5k, at ~3yr $90k, at ~4yr (job change and BNE->MEL) $110k. This is plenty to live off and save for the future, especially if your SO makes similar.

* Somewhat flexible working conditions. Some companies are butts-in-seats 9-5 from the office, most will allow some WFH and variance in hours (7-3, 11-7, etc.), some allow full WFH/remote and your own hours.

* Pretty easy to find a new job. Each time I've tried interviewing I've received multiple offers within about 1 month.

* Sane interview processes. Most places will do a 15-30min phone screen so you can decide if you want to proceed, a take-home technical test that takes 1-2hrs, and then a 1hr onsite, before making an offer.

* Offices are mostly open-plan.

* Some companies offer small perks on top of all this, e.g. retail discounts, device allowance, phone allowance, personal development allowance, etc.
Ironically, much of the visible 'local' opposition, which was happy to appear at press conferences and protest at City Council hearings during work hours, were actual organizers paid by one union: RWDSU. (If you are wondering if that is even legal, probably not).

That is a pretty strong accusation to put in writing. I get the feeling that some investigation is going to happen on that one. Paid protestors presented as "concerned citizens" is not exactly a new tactic, but money is a lot easier to track these days.
I guess this is my feeling. We are learning nothing from the class-based OOP of the late 90s and early 00s.
thanks creating for nice software. it is great work.

my profile:- https://goo.gl/UaAbuA or https://goo.gl/RDRxqt my blog:- https://goo.gl/2dedEu

thanks. because someone decided to optimise their content to an acceptable extent.

https://goo.gl/R8Kmuu, https://goo.gl/h8n3sW, https://goo.gl/ZDjHuD,

https://goo.gl/LnWe4y, https://goo.gl/NrNgRN, https://goo.gl/pHuwzL,

because someone decided to optimise their content to an acceptable extent.

https://goo.gl/WgZVVq, https://goo.gl/i3rx4U, https://goo.gl/jPedd5,

https://goo.gl/sKde7G,
And amazon's incentives were tied to the number of jobs and how much they paid.
There was actually a case where the court of appeals held these types of tax breaks to violate the commerce clause, but in 2006, the Supreme Court dismissed the case on a procedural issue (that the taxpayers did not have standing). See the below article for more.

https://www.citylab.com/life/2018/01/the-case-for-the-case-a...
This has super broad applicability, beyond mobile, federated learning could become the answer to invasive, data hungry centralized applications that "need the data to make the system better"... no, you just need to learn locally & send a learning summary to a central system, not the data.
> While genetically female, the transformed insects have mouths that resemble male mosquito mouths. That means they can't bite and so can't spread the malaria parasite. In addition, the insects' reproductive organs are deformed, which means they can't lay eggs.

I'm confused. If these mutated insects are unable to reproduce, how do they spread their mutation to the rest of the population?
It had to be in violation of their lease; it's unlawful to do that in NYC.
Eh, a sealed first-price auction is still an auction. It’s fair to call it that.
so were GE’s.
>the differences between Java and C#

Not much.
Taxes on hotel stays are popular with politicians because the people who pay the tax aren’t typically residents. It’s more likely that these taxes were an easy sell rather than something that offsets a negative externality of having a hotel nearby.
That's not obviously true.

The land is still there. Other companies could use it. Unless everything Amazon might have purchased goes totally undeveloped, the impact is less than the 25k jobs.

And given the time horizons involved, I'd take that bet.
Right. And the parent can take advantage of that to nurture their curiosity. Asking questions and learning (however little or even just trying) == having a good time with dad.

Making them associate that behavior of curiosity with having a positive experience is what I consider to be important here.

Plus, you also get to flex those brain muscles. Even if nothing seems to stick now, I imagine it does help them learn in the long-run.
The 2 major parties agree on almost everything (even on hating on Trump who is nominally Republican) -- with the exception of a few token societal issues to keep their members polarized.

They have never been more interchangeable.
The faster you drive in the wrong direction, the earlier you realize that you drive in the wrong direction, maybe.
For there to be an actual increase in tax revenue for the state via income tax, those workers would have to be receiving higher salaries than they would have otherwise, would they not? Or emigrating from somewhere else, which they would be unlikely to do if they are not receiving an increase in compensation.
Ted Nelson's magical inspirational book(s). A original, a large print, and a revised edition are mentioned on Amazon and are available only used from third parties.

The first edition was self-published. The second edition was published through Microsoft Press. Nelson, Theodor. 1987. Computer Lib/Dream Machines. Tempus Books of Microsoft Press. ISBN 0-914845-49-7. Sad to say, this gem is now pretty much out-of-print and priced up. Still, recommended reading for everyone thinking computationally.
You assume there is no economy of scale for government spending. For example, building a road to serve 10 million people may be cheaper per capita than a road for 1 million people. Same on the revenue side: doing a single large deal for $27B is probably cheaper than doing a thousand deals for $27M.
Yes, the letter asks us to believe that Amazon, after a lengthy nationwide search, ultimately chose a deal that only offered credits that were already on the books.

If the benefits of the deal are already available to all comers, why doesn't Amazon just continue with its plan?
Big picture: Microsoft is a major defense contractor, not just in one-of contracts, but US MIL and other militaries use Windows extensively to conduct C3 and other tasks that facilitate warfare. So, in my view, protesting a single contract shows either a lack of common sense of lack of awareness about how pervasively software is used. Granted, on its own, software and hardware is amoral, but knowingly selling to defense and other questionable industries whose use isn't as morally-defensible seems to be willful cognitive-dissonance.
Very disappointed that coroutines will be included in their present form. Did the committee just want to push something out?
Great letter!

And as much as I support unions, RWDSU really messed up on this.
"If New York only allows unionized companies to enter, our economy is unsustainable"

Dear workers: you must remain poor and powerless forever, for the greater good.
In my view, recruit is a sales company. They have very strong sales team covering SMBs. That allowed them to build gurunavi (similar to Yelp), airregi (similar to square), and so on. Couple of years ago they started focus more on hiring top engineering talent and I think it is absolutely right move, but frankly I don't think they can compete grobally as tech company in near future.
FYI the audiobook version narrated by Tim Robbins is fantastic. It is more of a performance than a reading.
Maybe the idea is that the wild male mosquitoes will mate with these sterile, genetically-modified females instead of with some of the wild female mosquitoes, and so the total wild mosquito population will be reduced.
We'd Based Game
A philosopher argues that an AI can’t be an artist
I think people are overly concerned with 'performance'.

So long as the approaches meet real world thresholds for specific things, particularly the speed of certain time-sensitive requests - then the technology is 'viable'.

(And let's also assume 'reliability' as a key component of 'viability')

Once the tech is 'viable' - it's really a whole host of other concerns that we want to look at.

#1 I think would be the ability of the tech to support dynamic and changing needs of product development.

Something that is easy, fewer moving parts, smaller API, requires less interference and support from Devops - this is worth a lot. Strategically - it may be the most valuable thing for most growing companies.

'Complexity' in all it's various forms represent a kind of constant barrier, a force that the company is going to have to fight against to make customers happy. This is the thing we want to minimize.

Obviously, issues such as switching costs and the 'proprietary trap' are an issue, and of course 'total cost of operations' i.e. the cost of the services are important basis of comparison, but even the later is an issue later on for the company, once it reachers maturity. (i.e. A 'Dropbox' type company should definitely start in the cloud, and not until they have the kind of scale that warrants unit-cost scrutiny would they consider building their own ifra)

In the big picture of 'total cost of ownership' - it's the ability of the system to meet the needs of product development, now 'how fast or cheap' it is, that's really the point.

Something that is 2x the cost, and 10% 'less performant' - but is very easy to use, requires minimal devops focus, and can enable feature iteration and easy scale - this is what most growing companies need.

Unless performance or cost are key attributes and differentiators of the product or service - then 'take the easy path'.
Friends mom was a ICU nurse. She said the effects of drinking and smoking begin to kill people in their mid to late forties. The most susceptible develop liver failure or COPD[1] in their forties and start checking out soon after. Not that many people at that age but grows substantially each decade after.

[1] She said about liver disease and COPD, you think cancer is bad. Cancer isn't a death sentence.

She said in your 20's you don't know which group you're in.
Perhaps they were looking for Amazon to guarantee they would only hire unionized workers (or X% unionized workers) for certain positions, as part of the deal?
Interesting. None of your concerns have anything to do with New York. Each would apply anywhere Amazon would choose to build.
I yearn for the return of Denshi blocks:

https://en.wikipedia.org/wiki/Denshi_block

I think a modern update with microcontroller/digital-microelectronics would be awesome.

I really wonder why this hasn't been mashed with the Maker/rPi crowd, and we don't have Denshi blocks for the kids these days. Seems like a no-brainer ..
Did you miss the surrounding context? His point is that NY has very strong worker protections, and that it's much better to let a non-unionized company set up in NY and then organize it, rather than trying to make organization a condition to entry.
A Database for the Edge of the Network (2015) [video]
They weren't "handing out billions" to Amazon, as the letter explains.
Ok, we'll go with that for now.

I rejected it originally because there are already 'past' links on thread pages that point to HN Search, but perhaps those meanings are compatible.
tfw you can't make a profit renting housing in San Francisco.
A tour of C++ from Bjarne: https://learning.oreilly.com/library/view/a-tour-of/97801335...
I don't think that C++ is write-only. Now rewrite-in-Rust-only, maybe!
> First, some labor unions attempted to exploit Amazon's New York entry.

When a company sees a market opportunity and increases prices to take advantage of it (or benefit from tax exceptions, which is the same as generating inflation on everything but their prices), it is praised. When a labor union does the same, it is evil.

The 1% want to have the capitalism cake and eat it too.

And for some reason we are boasting a letter from the person bought to defend the tax break in the first place. If you want one single proof that this is an "advertisement" for public opinion, i will give one on the very first paragraph: he compares "25,000-40,000 jobs" as if 100% oscillation is an acceptable negotiation scale (hey, i can pay you $100 to $200k a year if you accept now to work 12h a day every day!") and then proceeds to compare it to non-tax exempt jobs. Which is like comparing one thing to another completely different, for either incompetence or malice. Since he is a Budget Director, i will bet the later.
when I read brave new world, a part of me wishes I could live there. to be transplanted there as an american adult would be pretty jarring and likely miserable, but perhaps if one grew up indoctrinated in that society, they might actually be happier.

the society in brave new world also has a place for those who simply can't be happy in an idyllic, meaningless world. I'm not entirely sure what the author's intentions were, but I often wonder whether that world is actually dystopian or if it just seems that way to a 21st century westerner.
Its very common in NY for high profile issues.

When fracking was the cause de jure, hundreds of people were being bussed to Albany weekly to protest.

I’m not sure if it’s good or bad, but it’s a thing.
Being 13 year old, knowing to make some HTML then reading stories about how people were making $50 per web page (!!!)

My MBA father told me to try it out, but I couldn't find any buyers and it was a huge pain without CSS and all that.