skysight-inc/HackerNews huggingface dataset:
I agree with you it's a very opinionated article but despite I program every single day on C and C++, I agree with some points he claims.
For example, I think the implicit conversions in C++ it's very problematic.
Another point is regarding undefined behaviors they still surprise me.

Even I agree with the part in he complains about the size and complexity of the c++ standard.

And the third footnote is simply true.

My complaints are more oriented to C++ than C, often I feel that something went wrong, and we fail to try to reduce the complexity.

When I remember the following quote "A programming language is low level when its programs require attention to the irrelevant." Alan J. Pelis. I always remember modern C++ and I realized how regardless of an apparently simpler syntax, we start to think about l-value, r-value discard, contexpr, we start paying attention to details no related to our original problem.

That's why I feel you are right C++ is a low-level language, but sometimes I feel the modern C++ is not a higher level, but even a lower level.

Sometimes I ask myself if despite the lack of standard library and high-level structures if working with c and Glibc it's higher or lower level, my experience tells me that sometimes I can concentrate better on my problem I try to solve, instead of struggle with the compiler.
You should note well that the study you point out made no assessment of whether mask wearing reduced the risk of spread from the mask wearer to others, which is a key point of the utility of mask-wearing during this pandemic.

It is very deceptive for you to claim that this is the only trial of “masks and COVID” when you omit that nuance.
> > 4. Use masks for such fields as dates and phone numbers so that users don't guess the correct format.

> Strong disagree, with prejudice. Masks are evil. Unqualifiedly so. It’s difficult to implement them in a way that won’t lead to unpleasant surprises anywhere, and outright impossible on the web. Do not use masks. Rather, prefer to validate and reshape data afterwards. e.g. accept all kinds of date formats, then on blur rewrite it to an unambiguous and well-understood format if possible, or at least a canonical and clearly-described format (e.g. for dates if you really want to put the month as a number rather than a name, make sure the order is clear, otherwise you’ll confuse either those pestiferous middle-endian people or the rest of the world).

I get the argument, but how would you determine something like 06/09/2021? In the US, that would mean 9th June, but in most of the world it means 6th September. The format doesn't give us any clues as to which.

Granted, masks, don't help us out here either (!), but structuring the input might?
Preventing Surprisingly Large Objective-C Type Encodings
I rented 3 different flats from 2006-2008, and 3 different houses from 2011-2016, ranging from a brand new flat to a conversion in a 1850s house to grade 2 cottage from the 1700s.

Can't think of any issues with landlords, but then most of them were dealt with by a management company (estate agent or whatever).

I rented out my own flat (which I'd bought in 2008) from 2011-2016 and let the letting agency sort the management. I certainly didn't hear of any issues, occasional bills for plumbers, gas checks, replacement appliance, were taken from the rent, but otherwise it just worked.

The primary reason to buy for us though, as well as being far cheaper (£350pcm mortgage interest vs £800pcm rent), is the security of tenure. If your landlord wants to sell up, or dies, then you might find yourself needed to rent a house with a couple of months notice, which means you might not be able to find anywhere near to your kids schools, or afford it if you can.

renting "somewhere in zone 2" is very different to "renting in the small village you live in". Currently there is just 1 house within 5 miles of mine, but it's in a different council area (so different schools etc). It's also more than the total price of a 90% mortgage on the house value (not just the interest part, the repayment part too)
The article is about Canada, which has 5 years maximum mortgage term. After 5 years, you need to renew your mortgage at whatever interest rates are currently available.
> There are not even any reliable studies showing that surgical masks help during surgery.

That's fine, because I am not a surgeon and I don't care.

I do care about fogging up my glasses and having to speak up without any proper evidence that wearing a mask helps significantly against covid.
I Lost over 20 KG
Graphqurl v1.0: Open-source cURL for GraphQL with autocomplete and subscriptions
> I'm fairly certain that INTERCAL introduced 'COME FROM'

Yep. In fact, INTERCAL uses labelled COMEFROM, e.g. `COMEFROM foo`, in analogy to labelled GOTO like `GOTO foo`.

If you think that's silly, there are languages which have an unlabelled COMEFROM, which doesn't even specify where it's going to take over control from! This symbol is usually written `catch` or `except`.
When Semmelweiss invented handwashing, all the other doctors ignored him because they didn't like his model, even though he had empirical evidence.

Similarly, people like to argue against things like the minimum wage because it doesn't fit some economic model, but they don't realize those models are made up post-hoc to fit older real world data that turned out to be biased and incomplete.

Oh, and the West had to deal with scurvy for hundreds of years after discovering the cure (lemon juice) because we'd invented the food poisoning and germ theories of diseases and so we refused to believe you could cure one with food.

So don't worry too much about modeling things.
Wearing masks when sick is a good hygiene practice in general. But in COVID context with significant asymptomatic spread it won't help as much as it does for colds and flu.
Spaltmaß Is Killing My Software
In America, lifetime fixed rates are normal.

In the UK the norm seems to be 2 or 5 years. There are 10 years too, and 3 or 7, but I haven't see a 15 year fix.

I'm looking at a new mortgage and trying to decide between a 2 year mortgage (in 2 years I'll have a lower LTV so better rates) and a 10 year (which is slightly more expensive in the short term - 5% extra or so - but will be far more expensive in the long term, unless interest rates go up).

So it's up to me to hedge based on where I think interest rates will be. Might split the difference and go for 5 years.
With and Without My Ritalin
Swapping isn't CPU-intensive, and Apple also implemented the memory compression as custom CPU instructions. Swapping is I/O intensive, and these machines have stupid fast SSDs which is why they can get away with it.

When you think of swapping as slow it's not because it eats CPU, it's because it blocks on I/O.
A Million Dollar Red Pixel NFT
On Ransomware and Cryptocurrency
Number of people killed on the roads every year due to cyber attack: 0

Number of people killed on the roads every year due to normal crashes: 1,350,000

If you're optimising to reduce risk of the former at the significant expense of increasing risk of the latter... I think you're a fool.
Similar, and I like the idea of Elastic Tabstops. A significant difference is that Elastic Tabstops won't look right in an editor that doesn't support them. What I'm suggesting would use spaces in the file and put metadata in a comment (though it could be stored elsewhere, too).
I think it's hilarious that everyone who commented on this completely ignored your given examples of Florida and New Jersey, and instead chose to compare Florida to completely different places, that just-so happen to make Florida look bad.

Regardless of strategy, every country in the northern hemisphere that had a decent number of cases in spring 2020, got absolutely hammered in winter 2020.

Of course there are examples of regions where the one with more restrictions got a better result than the one with less. But there are simply way too many counter-examples where regions that did more, tried more, had more restrictions, still got a similar or worse outcome than comparable regions that didn't.

Here's a pretty fun quiz that highlights this complete lack of correlations in the actual data: https://www.covidchartsquiz.com/
I would imagine that a theoretical physicist on LSD would sound like these comments. I love it.

But more seriously (and with tons of respect, because these topics are difficult) - why invoke all these complicated concepts? When we discuss statistical mechanics it is kind of understood that the ferromagnet we try to describe is not placed on the innermost stable orbit around a black hole, and similarly when I look in a mirror there is little need to worry about the difference between P and CPT.

I guess one can say that the essence of a physical system is not always in the fundamentals of physics?

Having said that, I do not know what "intelligence" is, so I do not know how to relate it to entropy.
New study predicts more Covid-19 patients to die in Africa
> If there existed a car with no entertainment system at all, and I just stuck a specially adjusted tablet in there, with industry standard connectors, everyone would be happy, and if anyone hacked my entertainment system they would not be close to the important stuff

I got my hands on a VW Up! in part because they decided to not bother with an entertainment system: you have a better one with your phone. So you get a USB port, a phone holder and an app if you really want useless crap.
It is written like an undergraduate essay, which is what it seems to be. Judging by the responses it seems like most people haven't actually read it beyond the title.
MacBook Pros and Airs from 2012 are supported by Catalina, and that is still getting security releases. It does require 4GB of RAM though if you didn’t have that to start with.
No, but still not even that gets the love it deserve.

And a famous commercial variant of it has been PC-lint from https://www.gimpel.com/.

Being available on open source compilers does little to change the culture, as per latest surveys only 11% of developers care to use any kind of tooling for improving their code quality in C and C++.

At CppCon a couple of years ago, only about 1% of the audience answered positively to Herb Sutters' question.
I'm in favour of banning hate speech.

My worries about this law are that it compels sites to host some speech that they'd define as hate but which the current UK government doesn't.

For example, a forum that provides peer support to trans people could be forced to host transphobic views because the person making those points could claim it's political, and thus protected, speech.
Google bookmarklet
Mine is low carb, but also no wheat. Even when I do small (or even sometimes medium) amounts of rice, enough to absolutely not be in ketosis, I am still better than I was when eating bread or bread-containing/adjacent things (breading, pasta, sandwiches, et c). We know I'm not celiac. Perhaps it's some weird allergy; in addition to acid reflux eating such things also used to cause me ENT issues like coughing/congestion which have gone away entirely since I stopped. None of the traditional "allergic reaction" symptoms, though.

Who knows?

All I know is that it's different for everyone and for lots and lots of people, eating totally normal things is what causes or contributes to lots of bad symptoms misattributed to some disease or disorder. More often than not it's not you, it's the utter garbage food that our society has standardized upon. Just because it's common to eat a sandwich, or pasta, or a bowl of cereal or granola, or a bagel doesn't mean that human evolution has caught up with it yet.
In NYC the less dense areas had worse infections.

The problem in California might be crowding, ie it's not designed for the population density and so everyone has roommates or lives with an extended family. That would cause more indoor transmission, and I believe a lot of cases in CA were among working class people and Latinos.
I mostly agree with your overall argument, but the "mostly" qualification goes along with a small but important correction:

>The fact that ARM, an open-source architecture

ARM is in no way open, it's fully proprietary. Unlike x86 it is not vertically integrated and is available for anyone to license all the way to the architectural level, and that's huge. But said licenses certainly are not free either, nor Free.

There are promising actual open architectures, in particular OpenPOWER and RISC-V come to mind as interesting with a lot of solid work behind them. So that's one small remaining opening IMO, even if it's more work on the dev side I wouldn't mind having those stick around and get more competitive.
yes true. I think that the Defender's low number of driver casualties might be due to the type of people who drive them (conservatively). Unlikely that somebody wants to race in that car. My previous cars were BMW's and these things turned me into a reckless douche the minute I sat behind the steering. The saying is Defenders "don't go fast but they can go everywhere". I changed my driving habit and attitude on the road considerably (I started taking the scenic routes and learned to enjoy the ride, with an unusually high sitting position, wave at other defender drivers if I see them, and could fit all friends of my kids inside).

AFAIK the pedestrian safety rating for them is why older models (after the Ford/Puma engine) was abysmal and they discontinued. If you hit a pedestrian or cyclist that's probably it. That has always been my main worry. But I think the safety for the driver/passenger is pretty good when using common sense and when not driving them like the stig. I hit a wild pig once in a forest in France and it was splattered across the front but not so much as a dent in the car.

They also come with roll-over cages on the US market which tells something about what can go wrong if you lose control. Never got one since I don't drive rallys. Still their handling (directness of the steering) is much better than a Wrangler (where the steering is horribly "spongy").
It gets worse.

You should look at the the observational studies measuring vaccine effectiveness in Israel coming from Balicer and his group.

They report the effect of the vaccine on number of positive cases without even mentioning that the vaccinated individuals are not routinely tested by ministry of health policy, or that the main reason people get tested is to shorten the isolation period after contact with covid-19 cases, which vaccinated individuals are exempt from.
Nope, the tait lies 100% on the copy-paste compatibilty with a C subset.
Sublime Text is my first tool to install on any new notebook. As someone who spends more time in meetings than in writing code, I almost purely use it as a note taking app and nothing’s come closer with just how easy it is to fire up a new note and get started! Thank you for building this.
Why the housing market is important to investors
New jobs in Galway at cybersecurity company A-Lign
An alternative to worrying about two ethernet ports on the Pi itself is getting a managed switch with port tagging, and just setting up multiple VLANs on the Pi itself. I'm doing that myself with another small single-port board, works quite nicely.
Geez, I really wish they showed upcoming features/ui tweaks plain and simple instead of this overdone cheesy "showcase".
I want to encourage that you continue your great work, have a nice day!

https://stopelon.org
Taps head meme: Your car can’t be a cyber security risk if you don’t own a car.
I don't think it works that way. Your kids might develop some new allergies if you sanitize them too much, but just rub some dirt on your face or eat sauerkraut or something, it'll work out.
Presumably black pepper cost considerably more than the locally produced (Europe) long pepper. So it kind of makes sense that black pepper had to be substantially 'better' than long pepper for it become popular.
I don’t blame you for this, but this is a bit of a narrow view in my opinion. There are lots of people that lost their jobs (eg in retail) and now face a total crisis because not only are they out of work, but the entire sector that they worked in has imploded and will never be the same again.

At least in the UK, government support was not enough to replace full-time incomes, so those living month to month would have had a very tough time on a reduced income.

I know of lots of well paid people who were happily furloughed and took “free money”, and others who carried on working, with arguably better working conditions (from home, no committing, lower costs)

But for many people in lower paid jobs and with lower incomes I’m sure the situation has been very depressing at times. Not to mention those who I’ve been very ill or lost loved ones.

I have had a very positive COVID experience. Really all of the benefits and none of the downsides (so far). I expected many on HN will be the same. Most of us can comfortably work from home, many already did, and we are (on average) a well paid group.

But I’ve also felt incredibly guilty at times at how “happy” I’ve been at various points during lockdown, while knowing full well that many others are having the exact opposite experience.
Would you recommend the unit you have?
I love this editor, but this detail annoys me:

https://i.imgur.com/wu6ZfSa.png

Folding code with curly braces doesn't "eat" the brace. It's indent-based, not syntax based. There is a 2 or 3 years old issue on their github, and they don't plan to fix. A little annoying for a paying editor.

Maybe they fixed it and I did not look up new settings?
I will ensure that I bookmark your blog and will come back sometime soon.

https://stopelon.org
Some developers know their stuff,

https://devblogs.microsoft.com/aspnet/grpc-performance-impro...

Others are doomed never to move away from new.
Twitter users post even more misinformation after other users correct them
Meh, you can rewrite curl yourself in just a few minutes.

Joke, of course. Nice work!

Don't know how many protocols curl covers and I am no expert here, but wouldn't it be sensible to see this as part of curl? Or would it be too much out of scope?
Ask HN: Is memory fragmentation with C still an issue?
I'm looking to create a game in C++ using OOP extensively. One requirement is the use of references to handle objects. I have read that dynamic memory (new/mallo) causes heap fragmentation, i would like to know what the solutions are to the fragmentation, thanks!
Linux on Chromebooks is finally coming out of beta with Chrome OS 91
You're right. Macs have excellent build quality and are durable as hell. Planned obsolescence with Apple is seen more with iPhones. There was the recent story about Apple slowing down older iPhones via software updates [1]

[1]: [https://www.bbc.com/news/technology-51413724]
What are the options for sharing an object between threads then? And even with having good atomics, it is a very significant overhead. Also, the primary reason for modern GCs having significantly better performance than refcounting is that with GC one can move the majority of work to another thread, letting them continue the work.

Refcounting is good for some simple programs where ownership is not trivial, and the language doesn’t support a GC/or when memory is constrained, etc. But it is not an accident that high level languages with GC doesn’t choose refcounting, and having the cost of destruction at the given thread is just one point, afaik circular references are similarly not an easily solved problem. And basically with every single “solution” to these problems you are moving towards a full-blown GC.
If it helps, skip to section 6 for the conclusions (spoiler: Angels are). The section you've quoted is academic signaling (in 'entrepreneurship research') to context and differentiate this paper from other research and entrepreneurship books/papers. And yes, I strongly agree with you: perhaps someday academia will embrace plain English and real hyperlinks.
> Derives from the Latin Iacio, From Proto-Italic jakjō‎, from Proto-Indo-European (H)yeh₁-‎ ("to throw, let go"). JK I just made that up, but it's actually plausible.

I think you're way overestimating the people who come up with new words :P
Do you honestly believe Tesla's safety hype? All modern cars are very safe. If you crash head-on with a Ford explorer, then nothing will save you.
There are a lot of tangential career paths you can take with a background in engineering.

As a case study of one, I transitioned from engineer to being a technical writer last year. I now run a small agency, but I could have stayed employed in the field just as easily.

The money isn't quite as lucrative as in software engineering, but it's very livable, unlike many forms of writing.

You also don't have to limit yourself to dry documentation. Companies hire technical writers to do blog posts, case studies, and even marketing copy for technical products.

I've also had friends transition into fields like product management and network security, which might also be a nice change of pace. I wrote more about this here: https://www.freecodecamp.org/news/alternative-career-paths/
At least the technolgy of those "shit, low quality side show SaaS apps and mobile" allowed people to build apps that wouldn't be able to do so before.
https://news.ycombinator.com/item?id=27232271

I love this editor, but this detail annoys me:

https://i.imgur.com/wu6ZfSa.png

Folding code with curly braces doesn't "eat" the brace. It's indent-based, not syntax based. There is a 2 or 3 years old issue on their github, and they don't plan to fix. A little annoying for a paying editor.

Here is the github issue: https://github.com/sublimehq/sublime_text/issues/101

Maybe they fixed it and I did not look up new settings?
How to set goals that work
It should be noted that Canada has some of the highest home ownership rates in the world, almost 70% (in 2020 and highest in last 30 years).

https://www.canadianmortgagetrends.com/2019/03/homeownership...
I was taught that "there should be less" is the plain meaning of "too many".
I find that the browsers eat all my memory. Have to exit them for data crunching.
Number of people killed on the roads every year due to cyber attack: 0

Number of cars that should have complex, proprietary, hackable software: 0

It's a regress
Could be how Google solves the under-display camera problem
Hi, Ninjabot author here. The idea of Market Change is to compare your strategy with the "buy and hold". It means, buys at the start of the period and sell at the and. We also use avg price, because the user can create several buys and a single sell. And the profit is based on the average price in this case.
The kind with a bendable bar or tape at the top for your nose don't affect my glasses.

Anyway, you're going to run into the same problem doctors' advice has, where everything not required is forbidden. If a 100-year problem like a pandemic comes up, try some unproven precautions, it's better than not doing anything until it's mandated.
Building a Movement of Corporate Philanthropy
Many overdoses are the result of inconsistent potency. This is trivial to solve by letting addicts get their dope from a licensed pharmacist instead of the sketchy dealer down the block. Another common cause of overdoses is people who lost their tolerance taking a dose that they would have with their previous tolerance.

To attribute every suicide as an overdose is wrong on many levels.
Freesound just reached 500K Creative Commons sounds
Show HN: I wrote a APK analysis, change, icon Pick And Icon Preview Tool
apkinfo is an online Apk parsing、Apk modification、 Apk Icon Pick and Icon Preview tool.