skysight-inc/HackerNews huggingface dataset:
> 3. Throwing in destructors is not a C++ problem, it's a general semantic problem around resources that aren't guaranteed to be freed up successfully. They are a pain in any language and you can only do best-effort approaches for not leaking them.

C++ is quite good here, arguably quite better than Rust, since in C++ you can add a `noexcept(true)` clause to your destructor, and if it throws, your program terminates.

In Rust, you cannot really do that (e.g. catch_unwind won't catch exceptions thrown by sub-object destructors).

And well, C++ tries to completely ban throwing destructors by default, while Rust tries to support that as much as possible.. with the most common consequence being memory leaks..
Thank you for posting that gist, here are some things that I'm interested in:

- 2.2.a I would like to not be required to tell you about them at all, and not need an approval from you before I contribute/develop, unless 2.2.b and 2.2.c apply. So basically the contract should forbid me to develop a project that directly competes with anything your company is doing (as it is right now). In case it's not competing I could ask for your opinion, in case I am unsure I am advised to ask, otherwise I'm responsible, and in case it has elements that are in competition, or work relevant then I need ask for your permission.

- 2.2.k about projects that someone "might otherwise consider inappropriate", isn't this going to far? I think 2.2.m (We cannot be held responsible or liable for anything to do with your personal project) and 4.2 should be enough, you don't need to act as a moral authority to be able to defend the company against employee wrongdoing outside of work.

- not sure how this situation (that I detailed in my post) would be handled by your clauses: a project/library I develop on my free time but end up using at work. The company should not claim it as it's own, any thought on that?
The Pandemic Isn’t a Black Swan but a Portent of a More Fragile Global System
The President should use the Defense Production Act to get pulse oximeters to everyone. In our household we have been following Dr. John Campbell's videos on youtube for sometime now. Dr. Campbell suggested in February that everyone should have a pulse oximeter at home and we got one. My friends who have been looking to get one now can't seem to find them (the affordable ones)anywhere.
Train machines like it's 1979 Gesture controlled Atari 2600
Yes, I've said exactly this a bunch of times. My advice to young programmers is always this: work for a while in a city with high salaries and lots of demand, then after some years when you are experienced and high value (genuinely so), make the jump to remote, move to a smaller, less expensive place and buy a house. I honestly think this is the best life advice I can give and I wish I'd done it a decade sooner than I did.
I'm currently reading this book, and it's clarified a lot for me with regard to structuring events https://www.manning.com/books/the-tao-of-microservices
This reminded me of Adobe's burrito ordering program (http://www.mit.edu/afs.new/sipb/user/marthag/postscript/burr...).

> Tired of standing in line at La Costena? This file documents an
automatic facility for sending a fax to La Costena that orders 1 or
more burritos, quesadillas, tacos, and whatever. The command will
compose the fax, and send it to your favorite PostScript fax printer,
for direct transmission to La Costena, and no paper at this end will
be generated. Then, when you get there, your food will be waiting.
No worries.
> when a fabric wanted to expand they would transfer the walls

Having trouble parsing this. How does fabric have walls? How does fabric "want to expand"?
Here, sadly, I disagree. I believe a lot of problems arise from having a concentrated two party system but up here in Canada Trudeau #2 the re-trudeauening has happened - now, Trudeau isn't a terrible leader and hasn't felt significantly different from any other Liberal candidate, but nepotism and dynasticism is a problem all across the world when not actively fought against.
I think OP's context on the question is which real world problems for other people were solved with blockchain better than with other means.

Parting suckers with their hard earned money is not likely count.
It generates a ~10km route in my Canadian city that starts off in meters, and switches to miles. I know we're somewhat used to flipping between metric and imperial, but it's not a common thing to do mid-trip.
"Expanded upon" is a funny way of saying "incorporated into systems that removed their users' freedom".
Again, Sweden is not the US, they have not been hit nearly as hard. More people will die today in the US than have died total in all of Sweden. Sweden is not immune from the effects of Covid. They have imposed measures to limit the size of gatherings, have closed secondary schools and colleges, and have imposed restrictions on restaurants. Despite their looser restrictions they are still expecting to see the economy contract and have experienced record unemployment:

```
A record 36,800 people were handed their notice in March, more than 10 times the number from the same month last year.

The government has offered loans and guarantees and expects to increase expenditure by around 84 billion Swedish crowns ($8.35 billion) this year.

At the same time, the central bank has poured money into the financial system, offering 500 billion Swedish crowns in loans to companies via banks and boosting its purchases of securities by 300 billion crowns.

Banking group Swedbank said recently it expected the economy to contract 4% this year.
```
https://www.reuters.com/article/us-health-coronavirus-sweden...
I guess the problem is that the analysis can't find a variable for "is critical". I know lots of people with age, experience, hours worked, etc, that are not critical. I can think of a few that are exactly the opposite of critical.

The only decent variable to measure whether someone is critical is their salary. But your anlaysis makes it sound as though [remote -> high salary], when really [high salary -> critical] and [remote -> critical].
I'll add technical section to readme, but for short. I've used tui-rs[1] with crossterm[2] backend (which handles the actual terminal interaction). The docs may seem intimidating, but it's surprisingly easy to use.

I've considered using curses, but tui-rs seemed that it will be easier to handle. I can certainly recommend it for making tui applications.

I didn't actually use any documentation at all, it wasn't in the man page and I didn't feel like hunting for it, as it was pretty easy to understand just by looking at the output.

Sed debug works by running the code specified just as normal, but it annotates what it does to stdout. So it might look like this: https://gist.github.com/SoptikHa2/a50e90bd1b34c7238944c20d1a...

Sed actually has pretty well-designed interface IMO, it's pretty minimal and has no nasty surprises.

Edit: Here[3] is something I've written about it.

[1]: https://github.com/fdehau/tui-rs
[2]: https://github.com/crossterm-rs/crossterm
[3]: https://soptik.tech/articles/building-desed-the-sed-debugger...
As far as assigning copyright, that clause probably has no effect, simply due the legislation already saying the employer holds the copyright.

The IP rights part may have an effect depending upon how it is phrased, and what it covers (say patents).

See Copyrights, Designs, and Patents Act, 1988; section 11

http://www.legislation.gov.uk/ukpga/1988/48/section/11

"11 First ownership of copyright.

(1)The author of a work is the first owner of any copyright in it, subject to the following provisions.

(2)Where a literary, dramatic, musical or artistic work [F1, or a film,] is made by an employee in the course of his employment, his employer is the first owner of any copyright in the work subject to any agreement to the contrary."

Computer programs are deemed to be a "literary work".

The important part is that the work has to be "in the course of employment".

If the s/w does not relate to what the company does, then it would not be such. IANAL.

There are some employment contracts which widen the scope to cover stuff which is not in the course of employment.

You have already stated how one gets such resolved. Discuss with the employer and agree a change, or leave.
This is just lovely. Clean, exactly what I need, and the on-boarding/privacy experience is best-in-class. Well done.
I find it interesting that smoking itself isn't a pre-existing condition that makes you more likely to be hospitalized if you get Covid-19.
I was lucky enough to get a great remote job that was happy to pay me as if I lived and worked in SF, but let me live anywhere I wanted to in the country.

Remote devs that have this arrangement definitely take home more money than their peers who live in more expensive zip codes.
Of ones I'm a familiar with, LLVM IR is probably the best, although it has other issues of its own (in particular, floating point is done even worse than C). I'm not aware of any language which is going to beat a retargeting compiler's processor-agnostic IR.

But even the "better C" languages tend to not really attempt to expand C structurally. The changes amount to fixing the egregious semantics (fixed-size types, no int-promotion, define signed overflow, etc.), add vector types and other operators, maybe tweak ABI a little bit, and add a whole lot of syntactic sugar. And those languages that explore beyond C's limited structural repertoire do so at the cost of C's specificity.

That said, ever since the last time someone asked me this kind of question, I've been trying to design a portable assembly language.
> The current count is ~21,000 with the number of confirmed daily cases declining for 6 days straight

Yes, but all of those 6 days are still higher than 7 & 8 days ago. In fact, all the days you picked are also higher than they were through March 15st-April 4th too - and several days between April 4th onwards as well.

Today's new cases in Japan are many multiples higher than most days in March - but I do hope they continue their recent trend of decline.

> So... not only wrong on the numbers themselves, but also on the scale, trajectory and impact on society.

Maybe, but they did use the term "true count" which appears to mean: asymptomatic and those who have it but haven't/won't get tested.

As the US has learned, once you start to ramp up testing the case count ramps up too.

Looking at Japan's testing, they are testing more per day now than in March[0] but their total number of people tested is still not very high at almost 117k[1] - given they have ~125m population.

[0] https://ourworldindata.org/grapher/full-list-covid-19-tests-...

[1] https://ourworldindata.org/grapher/full-list-total-tests-for...
It's too risky because Apple will go after you even if you're not infringing, not because you're using trade secrets or patents from your job.
Optimised CPU Ray Marching in a Voxel World
I dunno. Often they are good at giving you an RMA for a failed drive.
I'm kinda late to this conversation but there are companies and Engineers trying to solve this problem basically adding more "semantics" to visual content. Good place to start is with this blog from Pinterest.

https://medium.com/pinterest-engineering/pinsage-a-new-graph...
But Iceland is a part of the Schengen Zone and is open to free travel with Europe, I don't see how New Zealand is NOT more isolated than Iceland
How many people were not even aware/were barely aware that Google had a shopping service? I wasn't.
AWS and Facebook launch an open-source model server for PyTorch
It was on February 25th. Most of North America didn't do anything until mid-March, no?
Of course, but that's comparing apples to oranges, so not really relevant.
>I've been waiting for a discount on factorio.

Don't unless the company is bought out. They will never discount the sale price as it leads to the behaviour you just listed, people will only buy the game when it goes on sale leading to low sales when said game is not on sale.
Apple announces one of its biggest regional expansions for the App Store
So Louisiana is more densely populated, and much less isolated. Not sure what point you're making.
We often conflate asymptomatic and presymptomatic people: my understanding is that asymptomatic people aren't very infectious, but presymptomatic people are. I can't find a solid citation for this, though.

The mechanistic basis for that is simply viral load: asymptomatic people have some virus, but not enough to ever make them really ill, whereas presymptomatic people have loads of virus, but it hasn't made them really ill yet.
Right, and are your valued contributions rewarded as such?
... and not even all of that.
economic profit, gross profit, operating profit, or net profit?
Demand for Hermes Birkins Is Virus-Proof, Resellers Say
About 18K git & hg repositories, for about 13.5K users. We also run about 5,000 CI jobs per week, including for some large projects like Nim and Zig, Neovim, OpenSMTPD, etc. We have 10 dedicated servers at the moment. And I didn't throw an open source solution on these servers - I built these open source services from the ground up.
I actually am one of those weirdos that has to use an equalizer for android because i can't stand how loud the lowest setting is. When you work in a relatively quiet office, you sometimes want to be pick up on what other people are saying without having to ask again.
Much of this may be the effect of averaging a power law.

Whenever you remove barriers to entry (whether geographic, skill-based, or social), you get regression to the mean: if workers are actually identical, they should be paid the same. The mean of a power law distribution is always higher than the media. Hence, if you remove geographic barriers to software development work, the majority of software developers will see their salaries increase. This comes at the expense of a few developers in high-paying areas (Silicon Valley, SF, NYC), who will see their salaries dramatically decreased. We already see this - as someone living in Silicon Valley, I can't take the vast majority of remote jobs because they don't pay enough to live on here.

Someone's inevitably going to ask "If salaries are so unsustainably high in Silicon Valley, why do companies keep hiring there and paying those unsustainable salaries?"

And the answer to that is that opportunities are not normally distributed. In today's consumer markets, consumers don't split their dollars evenly between all firms providing a good, they tend to overwhelmingly go for the best product available in that market, particularly if that product gets on the market early. And that means going for a location where you have deep talent pools in the many subspecialties needed to build that best product, and putting them all in one cube farm so that communication costs between them are at an absolute minimum. Silicon Valley's wage premium is a consequence of growth and of consumer herd behavior: if everybody either thought entirely for themselves or bought solely based on price without regards to features, distributed teams would have an advantage.

It's a very similar phenomena as globalization. In the 80s all of America enjoyed a large wage premium over all of the rest of the world. As globalization broke down labor & trade barriers and innovation slowed, the trend has been toward "equal pay for equal work", which means that the factory worker in America will make something close to what the factory maker in China makes. Global median wages rise (which they have done, substantially), but the gains are at the cost of the majority of American wages, with the exception of a few professions (tech, finance, some marketing) that have substantial skill-based barriers to entry. Those professions have seen their wages increase dramatically as markets get bigger.
Facebook's censorship has nothing to do with First Amendment rights, as it's a private platform.
I think I can do a fairly good job at deciding what I do outside of work, thank you very much.
What popular software contain these vulnerable versions of the OpenSSL library?
Just wanted to interject that browsers (other than IE 11) have over 98% coverage for ES6 without transpiling.
I was an early adopter of Now v1 and loved it. I evangelized it to all my clients, used it on every project - it was such a breath of fresh air that deploying a server was now so easy.

Ok, I get that serverless is a different paradigm. And I understand the arguments for it. But I refused to use Now v2 precisely because they violated their promises they had made -- but worse, turned it into "just another AWS". If I want serverless, I'll use AWS because frankly Zeit/Vercel's visibility into what is going on is just abysmal. And FWIW we now have several projects running on serverless -- using Next.js -- on AWS. Using the severless component, it requires NO special considerations and could easily be redeployed on a standard server in minutes. No vendor lock in, funny how that worked out? I expected to be locked in on AWS serverless. That didn't happen.

The icing on the cake was when they didn't officially deprecate v1, but made it so unstable, so unusable, that I got to the point of spending DAYS per week deploying and redeploying and redeploying our docker containers because their servers would randomly decide that the hosting server no longer had a network connection. If I see E_AGAIN one more time I'm going to spit.

And then they upped the price from $20/mo that we were paying for 4 containers, to $150. Thanks guys.

It left such a bad taste in my mouth that I spent a day, redid everything to deploy on AWS EB, and haven't looked back since. That was the LEAST amount of time I'd spent on that, in a given week, for about a 4 month period prior. To be fair, the guy running Zeit/Vercel's support is pretty solid. He did try to be helpful.

My experience with the technical leadership has been left lacking. We tried several times to contribute to Next.js and were treated like idiot children because how dare we trample on their kingdom. If you're not a tech bro, stay in your lane!

Look I'm just sharing my experience over there. It has been roundly negative. I'm sure others can come with anecdotes of it being roundly positive, good for you. Mine is just another anecdote but it's the only insight I have.

Although, the 1500+ comment thread on Spectrum when they announced v2 strongly suggests I'm not alone.
Title should be changed from 'remote'. Someone who spends two days a month wfh is not remote, yet that's what they count.
> But given a choice between being alive and being jobless, I think people would choose being jobless.

That is not the choice. The choice is between some uncertain chance of death plus a chance to spread the infection and a certain lack of income.
Building Your First SaaS: The Ultimate Crash Course
I've got OSMTracker which I think might be what you're looking for.
Wow! That's wonderful!. Forth and Lisp were my favorite languages long long time ago. Python is my current daily use language among others. I even don't know they are connected.
It's not "warmth" but Summer. Drop the smug attitude and fairly compare it to other places in the Southern hemisphere. It's not a simple climate difference but an inversion of seasons.
Directions for cyclists are just that much worse. On a long tour, unless you spend the time looking into every intersection, you may end up for a couple miles on a highway/expressway/avenue with cars going 40-60mph, and scaring the crap out of you. This isn't an argument against digital maps of course (you can still make a track and overlay that onto a map), but just wanted to add a bit more context.
Counter-counter-point: Sometimes it is about the level at which the policy is applied. It may be easier to apply it at a county level or state level, etc. It might not make sense for every single street in the county, but since many policies are enforced at a certain level (county, city, state, country) you need to match the policy to the level at which it would be enforced. Otherwise you'd have a gerrymandered law that applies on some streets and not others, which would create yet other problems.
I host data on firebase db use firebase cloud functions for "serverless" compute. I just do android development and never mess with AWS/k8s/whatever.
I don't think your article invalidates the discussion papeda and I had. He may have had "tunnel vision" and only focused on a small part of the story, but as far as I can tell the Dorr Brother involvement has not been discredited.
The worst part is depending on your search all the different options can be in different order or sometimes not even show up. My UI pet peeve is inconsistency and Google has it in spades.
Would Fraps be overkill for screen sharing?
> Most smokers know it’s bad, the problem is it’s an addiction.

Yes it's addictive, but the first step towards quiting is accepting, or rather convincing yourself, that you need to quit now!

This ad is a step towards that, making people realize that they need to quit.

Once that threshold is crossed, rest follows at it's own pace.
We have known what to do since the 70's, e.g.:

Permaculture (Bill Mollison)
Pattern Language (Christopher Alexander)
Design Science Revolution (Bucky Fuller)

Plus things like the hypercar and passive solar architecture, etc. All of this was worked out decades ago. But then... in the 80's everyone got high on cocaine; in the 90's it was raves; in the 00's it was the internet (and war); and in the 10's our phones.

I am glossing over hella stuff, of course, but my point is that we have all the answers already (just as Bucky calculated half a century ago.)

https://en.wikipedia.org/wiki/Hypercar_(concept_car)
This is already a well worn mistake. Inflation is good for the entity that controls a currency. Why would someone want to convert their money into a currency that is meant to inflate?
I'm referring to the commit to which I initially replied:

https://news.ycombinator.com/item?id=22935985

"...is it time to move away from Github?"
Pretty disingenuous comparison. You leave out:

Exposure to cross-border travel:

Louisiana: Home to one of the largest commercial shipping ports in the world, serving as an import/export hub for the largest national economy in the world. Has extensive land borders with said nation and large amounts of interstate travel daily.

New Zealand: Has a small export market largely focused on agriculture and a small tourism market. Is an island nation over 1300 miles away from the nearest other significant economy. All movement in/out of the nation has to go through tightly controlled ports or airports.
TIL google has a shopping service. Which is probably part of the problem. I had no idea google even had a shopping service. I don't think i've ever actually clicked the shopping tab before. I vaguely remember when I first noticed it existed, but even when i've been looking specifically to buy something online i've never even thought about using google shopping or even really considered its existence at all until seeing this.

This seems to be kind of a problem with google. I'm usually pretty good at noticing things in software I use, especially changes or added things, except when it comes to google products. I'm still regularly surprised when I learn about or find some feature in a google product i've been using for years or some product that came and went without me ever noticing it was there. Every new thing from them feels like some side project that just gets tacked on to their existing platform without much thought or reasoning until they get bored of having it there.
I didn't mean for the point to be about the consequences of the failure. What I was trying to argue against was the notion that it's fine for things to fail, just by virtue of them being hard. There are a lot of complicated systems in the world that work extremely reliably.