skysight-inc/HackerNews huggingface dataset:
Pointer safety is actually a separate concept from provenance. It was added to C++11 with the intent that it be used by garbage-collected implementations, but I'm not sure if anyone has ever properly implemented it. At least, the big three STL implementations have get_pointer_safety() always return pointer_safety::relaxed ("All pointers are considered valid and may be dereferenced or deallocated"), and there has been a proposal to remove pointer safety from future versions of the standard. [1]

[1] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p218...
I have a load of NAC on hand. Would it be a good idea to take it whenever I take Tylenol? I can't imagine a pharma pathway that would result in it attenuating the painkiller effect. Just mop up the oxidative damage.
What does this order do?

HN should have a submission statement, that’s pinned at the top of the comments. So we can review that without visiting the source site.
I know someone who ended up hospitalized from accidentally taking two over-the-counter meds that both contained Tylenol. It just doesn't take that much to cause damage.
It's far less extensive than what you presented, but on the current project we are working on at work, we are using https://github.com/swaggo/swag

It's somewhat specific to golang but so far it has been relatively good for us.

The spec is directly next to the code as code comments, so it has far more chances to get updated when changes are made compared to an external documentation.

Also, the payloads and responses are directly derived from the Golang structs, so, at least on that aspect, changes in the code are automatically reflected in the spec (apart for description and examples).

We also put the interactive documentation directly in our API under /doc. It is a useful tool for developers when implementing a new url/handler or modifying an existing one. It also creates incentives to keep the documentation matching.

Overall, we had very few mismatches between the spec and the actual implementation overall, despite not having deeply tested it (be it manually or automatically). Apart from one or two mismatches that were fixed quickly, I was able to take the spec, generate client libraries from it (swagger-codegen), and use them for quite extensive demos without issues.

We are still early in the project (not in production yet), and there are definitely some aspects we need to improve (integration/automated tests to be sure doc and code are 100% matching) or to completely figure out (ex: how to handle several versions of the same API). But overall, using swaggo/swag has been a pleasant experience.
Why? I am a person, and I am making my personal observations.

I am happy to hear other perspectives, wisdom, understanding.

I'm not that interested in people not engaging with the ideas presented, as the form is difficult.

This is sort of my point - that individuals shouldn't write themselves out of the picture.
That's clearly not true considering the navigation changes they've made to core products like Gmail and Maps.
Honestly, this one does surprise me. American doctors give out opioids like nobody's business. They give you narcotic painkillers for post-tooth-extraction pain! That's ridiculous! The problem, I think, is that many people are foolish enough to "return their unused prescription". I never do that. I make sure to retain unused drugs to their true expiry.

It must have been really quite painful. Still, I'd strongly recommend keeping drugs of all manner handy if you've got good self-control around them. They have high utility.
I would say problem is that people worship DRY like it is some kind of golden rule.

Where KISS, YAGNI and "premature optimization" are left in the corner crying.

Pointing out DRY is easy and during code review all devs know that someone will be nagging about it. Where if you build an abstraction even if not needed or plain wrong there is a high chance that no one will have any comments, because reviewers will go with low hanging fruit and point out DRY violations. It will be more work to find out how abstraction work and point out its weakness, and don't ever even try to propose that code duplication might be a better solution than broken abstraction.

Whenever I can, I try to push rule of 3 for dealing with duplicated code. Unless something is used 3 times it still is not a duplication.
Holy shit. That's insane. People don't realize how terrible it is to die from tylenol induced liver damage. That's often considered one of the worst ways to commit suicide. You're in an incredible amount of pain for a long time.
Can we all just call it “type narrowing”?
It really depends on the individual. Some people are highly motivated by a hard dose of reality. Others just get discouraged. I suspect that difference is due to having an internal versus external locus of control.
The answer is complicated. For the same amount of insulation, the amount of heat lost is also dependent on temperature. Leaving the house at a lower temperature (but still heated, not off!) while you are absent for long periods of time _usually_ is a better approach. Because you are losing heat anyway, the question is just how much.

Sure, if you have really amazing insulation(outside of specially engineered buildings you probably don't), the difference may not be significant and you would be right.
It's quite common. At least in Europe, available sizes of Paracetamol were severely limited not too long ago because it was the leading cause of overdose deaths.

Individual risk isn't exactly high, but OTC painkillers are ubiquitous.

Both accidents and suicide attempts are/were frequent. It's a rather terrible way to die, IIRC, with excruciating pain and entirely too much time to regret the decision/accident.
> Bernie Sanders and AOC would be considered rather milquetoast social democrats by European standards, according to their stated positions.

Then there's no real political "right" either, since neither party has significantly limited immigration (if you ignore rhetoric and look at immigration statistics). On that axis, Europe is far more right-wing - it doesn't even have any sanctuary cities.

On the other hand, Bernie and AOC's open borders stance would be considered extreme in Europe.
How Remote Work Will Change the World
Yes this, and also, it's such a pleasure to just cook food at home or visit the supermarket and meander over to the train station and eat it on the journey. No restrictions on liquids/gels, and you aren't restricted to expensive crappy airport fast food.

Restrooms on Amtrak don't make you deaf. No stupid food carts blocking the way to the restroom. Even on parts of the world that have food service on trains, the carts don't block people from walking past them.

You can walk the entire length of the train whenever you feel like for exercise.

Turbulence is not a thing on trains, and there's much more space to get from the window seat to the aisle without needing to crawl over a stranger's lap.

Also, there's scenery almost the whole way.
Im curious if there have been any blind studies that show this. I think a lot of what is conventional wisdom when it comes to taste in the wine industry is often not reproducible in the lab: https://www.theguardian.com/lifeandstyle/2013/jun/23/wine-ta...
It's a lot easier to live without testicles than without a liver.
Not a doctor.
I just take it when I feel shitty. I figure there is a correlation between not feeling great and oxidative stress in my whole system.
Ask HN: Redemption?
Outside of a few exceptions--bittorrent, bitcoin, and guys like dotcom/assange/leroux going apeshit--seems like the net effect of software is melange for globalists. If you feel the need to dispute this, please explain why the top spots are all held by spiritual abortions like Gates/Zuckerberg/Bezos/Jobs.

Damn shame though, since it's fun work. Perhaps it's only fun because I'm just as bad?

Even so, main question: Is it salvageable? Can this profession be redeemed into something that is more good than evil, or is the medium the message here as well?
So pathetic. Despite the vast amount of documentation the FTC demands (which seems wildly overbroad), I can answer their question in pretty complete substance here - for free.

1) how social media and video streaming services collect, use, track, estimate, or derive personal and demographic information;

Everything is tracked, and they have a very good idea of your demographic information. They track all interactions on the platform in giant data lakes, including clickstream activity showing sequences of actions, they collect all browser features, ip addresses etc, they collect all referral information. If their code is used by other websites, they collect all the clickstream and profile data from those services. They use publicly available datasets, census tract information, and datasets the govt provides such as DMV databases and voter registration files to enrich the data. They may synthesis what are called "features" from this data.

This is used for social media updates, fraud control and ad targeting among other purposes.

2) How they determine which ads and other content are shown to consumers;

Based on a machine learning models which look at the qualify and performance of ad copy related to folks who have been a) targeted by advertiser by specific criteria they then b) develop and estimate of which other users would also be interested and their level of interest based on all data points they maintain in the user profile, scored along an economic axis and user engagement and satisfaction targets (ie, all ads vs no ads).

3) Whether they apply algorithms or data analytics to personal information;

Yes - they do on a huge scale, and AWS / Google and others are busy designing custom chips to help speed up this type of analysis.

4) How they measure, promote, and research user engagement; and

They make their platforms as addictive as possible, with notifications, stimiulations. A popular book for these companies might be "Hooked: How to Build Habit-Forming Products" if the FTC actually cared about being educated at all in this space.

5) How their practices affect children and teens.

Affect them significantly, children are much easier to "hook", be it with computer games, e-cigs, or social media or even sugar or lack of sleep. The effects of all of these are very negative. Parents can have a power impact on these items.

Does anyone think social media companies do not use personal information and monetization of that to provide their hyperscale "free" services?
For context: medium sized European city will have anything from 12-30 platforms - and often several main train stations and several dozen local ones in the city. E.g. Brussels, Paris or Berlin have several huge stations.
They also thought it was pointless to even try to compete with air travel.

Hartmut Mehdorn, the CEO of DB AG (German rail) from 2009-2019 was an airline executive before and after he wrecked/lead German rail. Rüdiger Grube, who succeeded him, was a former aerospace and car executive. Many (all?) of the chairmen of the board through those years were also aerospace executives, e.g. Christoph Franz was at Lufthansa before his stint at DB AG and the Lufthansa CEO a couple of years after it. Karl-Friedrich Rausch was at Lufthansa for 15 years before becoming a leading executive at DB AG.
Perhaps this one: https://castle-engine.io/modern_pascal_introduction.html

Or this with Delphi syntax for generics: http://newpascal.org/assets/modern_pascal_introduction.html
Mentioned many times on Hacker News, but very relevant here: https://eater.net/. A great way to understand what's going on by building a computer from the ground up.
Prefab Tiny Home Is Designed to Be Nearly Indestructible
I tried Patreon simply off name recognition as you say. With that said, I did try to switch over to Liberapay after reading this, but they don't support automatic payments via Paypal (only Stripe, which the receiver has to support), so unfortunately a bit of a non starter for a set-and-forget supporter mechanism.
Case Study on AbCellera – antibody developer with EUA for Covid-19
I still would like to go back to the days where not all my feeds on things like YouTube, Twitter, Facebook, etc... all became just an algorithmic feed of what they think I like. It would be nice to go back to that day in age when it was chronological. I'm all for also having a recommended feed on things like YouTube because I do want to find similar content I may enjoy, so I appreciate that YouTube still has a normal chronological subscription feed I can view too.
Surely he COULDN'T care less?
Absolutely. In the olden days, the industry would make direct revenue off of this discovery/remembrance through sampler or collection albums/CDs. Usually cheaper than regular media, but not free. What they lost in revenue with YouTube, they gained in the frictionless process of a potential customer tasting or revisiting new material, and the social networking gains through instant sharing to new audiences. I assume the industry has seen this as a net win, and a win-win with their customers. The formal legal protections get in the way, and so they are in practice ignored unless the releases get out of hand. Seems to be working...

Same dynamic with archive.org and used book sellers, although there everything is PD. Would be nice for the not-yet-PD-but impossible-to-monetize book content from, say 1930-1980, had the same scheme in place for online content. I suppose the books-to-borrow function on archive.org or the online lending platforms in local libraries provide that function.
The thing is, the cost of building rails is amortized over, in some cases, well over a hundred years. Most of train travels emissions are fixed emissions, marginal emissions being much lower. On the flipside, air travel has a much smaller fixed emissions amount but drastically higher marginal emissions.

Also, it is not my particular field of engineering but there is likely no scenario where fuel efficiency of planes is better than trains. That you can find sources for pretty easily.
I tip my hat to you sir. It is very true. My Irish neighbours were always surprised at how warm our flat was since they ran heating at 18 degrees in winter. Me having not grown up in the U.K. still run it at 23 to this day.

Two of the places I lived had beautiful old sash Windows. Only problem was you could see the curtains move as the breeze came through them in winter.
> in the PC space you're not getting anything close to what Apple has with the LPDDR4x on package.

I mean, that's exactly how an 11th Gen Core laptop is constructed.
>I deeply reject the incel rhethoric (not by you but generally) that society must somehow nudge or influence the choices of women such that unattractive men also can find partnership, a demand that is most often presented on the backdrop of a dystopian image of violent hordes of disenfranchised men. In other words, a thinly veiled threat.

I'm not too familiar with this, but aren't we doing this for women already? (All women are beautiful, plus-sized models, etc.) Why would that be wrong to do for men?
Having a clear, short and concise overview of public API is a good thing. interface allows for that. Object Pascal had this feature by default: you have to declare public methods and then implement it in a different section. I always missed that in Java and separate interface allows to recreate that pattern.

Sure, you might want to say that I should just use IDE which will show me all public methods in a GUI tree control. But I don't like it, I like code. May be some feature which completely hides anything in the class except public method declarations could substitute, but I did not see that feature yet.

Honestly I don't know what's wrong with an interface, even if there's a single implementation. Idea and Eclipse allows you to jump to implementation with a single click if that's what you're looking for. JIT will replace virtual method calls with direct ones.
> If you replace a variable with another, don't you need to keep information of the original variable?

Note that ip and iq are integers. If you can't replace integers freely, it makes it really hard to optimize arithmetic.
U.S. Attorney General Barr steps down as Trump election defeat confirmed
> Upset about revenge porn? What if it's just a really close copy of your face/body generated by machine, stitched together in a very believable fashion? You could maybe claim ownership of your likeness, but I don't think it's going to be possible to really enforce - Many people look near identical already. Or they add a mole here or there and claim - look - clearly not you!

People make all kinds of claims all the time, including transparently self-serving ones like your example, but that doesn't mean anyone buys them.

I'm pretty sure what's going to happen is the law will make it clear that porn generated from your likeness and distributed without your consent is as illegal as revenge porn. Then a bunch of people who did it anyway will go to jail and that will put a strong chilling effect on the whole thing. In most cases, the people with the motive an ability to make machine-generated porn of a particular person will be relatively easy to find.
MayaData Launches Kubera Propel and Kubera Chaos
MayaData, a leading developer of open-source software for using Kubernetes as a data layer, announces the commercial availability of Kubera Propel and Kubera Chaos. Kubera Propel is based on the most popular open-source Container Attached Storage project, OpenEBS, which MayaData started and continues to lead
Dominion Voting Systems Uses Hacked SolarWinds Orion Platform
That's probably because they split the train and/or attach another half train from another departure.

From my experience my Nightjet left Düsseldorf to Salzburg or Vienna. It split in Nurnberg and merge with the train from Berlin (which also had 2 destinations).
> It was mostly just tedious grinding

I haven't had a grindy experience in most single-player games, but MMOs have perfected the grind system to keep players in the game and spending money (particularly in a subscription MMO.)

Oddly enough, I tend to enjoy the repetitive activities of MMOs such as gathering, crafting, and simple quests; they put you in a sort of relaxed flow state and you get to see the game turn from day to night as other players and monsters wander by. You also end up exploring more of the game world in detail and noticing interesting details that you might miss otherwise. Daily quests are repetitive but they have a bit of variety because you have a different set of players every time.

I wonder whether MMO players might be good at real-life grinds that seem tedious but are actually worthwhile, such as exercise.

As a data point, I'm still grinding away at Ring Fit Adventure, which is fun and seems to be beneficial to fitness in terms of increased strength, balance, and energy after several months.

I haven't managed to enjoy grinding housecleaning yet but I might if I can figure out how to gamify it....
>Gmail was snappy, quick and and had possibly the best UX in any mail client. Now it takes >20 secs on a broadband connection to give me a white-washed mess of a page with no real discerning advantage over the plain html version.

Spot on.

As soon as i started seeing the “a new version of gmail is coming soon, click here to try it” banner, i knew that the end of my great gmail experience was nigh.

It’s funny because i NEVER even had the slightest doubt that the new UI would be shittier, and it turned out to be just like i expected it.

Gmail got big due to their extremely snappy ui and is now used by people who cant be arsed to migrate, like is the case with yahoo mail.

And every other google ui is getting worse every week.

To the googlers here, please show me a product where the UI has actually improved and is not just a whitespace inferno.
Is you sense they will maintain the promise? That is commitment (and I wouldn't be surprised if true). Could they add a flag / toggle to the existing API you could toggle to change behavior or do they need an entire new API?
OpenID Connect seems to be pretty well established: https://openid.net/certification/

It defines an authentication protocol on top of OAuth2, and is a different beast from the older OpenID standards.
He can object to having his private sexuality publicised. That's reasonable. He can refuse to object to others of the same sexuality not so much having it publicised but having their heads cut off with a sword. That's his choice.

If he choses both at the same time, everyone will draw the obivous inference about his principles or lack of them.

It's not "whataboutism" it is literally the same man being judged against one principle that he applies with strength to himself, using the power he weilds as a senior manager of other people's assets and simultaneously he applies not at all to others who are having a much worse time of it. I call that unprincipled. You can draw your own conclusions. That's completely fine.
> Austria's ÖBB

They were sponsoring some Rust thing. I'd say they are on top of their game in more ways than 1.
In 70s - 80s there was custom inspections in every european country, and it's still the case in Switzerland and UK.
Read the label. Switch to Aspirin, either completely or half/half. If possible, try fixing the underlying problem, not the pain.
<cough>Google's SDK C# Documentation</cough>
Hence the most valuable open source package ever: isOdd.
I keep hearing about Twilio but what is it?
The Pattern on the Stone is also excellent, especially for audiences less familiar with computers. It has always struck me as a paramount example of "education" in that it shares relative illumination in a very digestible format. I wish I'd read it years earlier.
I agree in principle. Unfortunately, the audience's brain does not work with logic, it works with emotion.
> Gravitational "sweet spots"

a G-spot, if you will
By some metrics, iMessage is the biggest messaging service in the US. Arguably, from the POV of the FTC as a US regulator, WhatsApp shouldn't be included but Apple SHOULD be.

This is of course ignoring other social features of Apple products such as Game Center, Find My Friends and Facetime.
Btrfs Has Many Nice Improvements, Better Performance with Linux 5.11
How would SolarWinds know about it if it wasn't publicly disclosed until today?

Also, I realize the SAML -> SolarWinds connection is a bit of speculation on my part, but SAML is mentioned in Microsoft's advisory: https://msrc-blog.microsoft.com/2020/12/13/customer-guidance...

It sounds like a privilege escalation using the Go/SAML issue.
LinkedIn has a lot of teens on it actually. Very talented teens some, others are teens of average talent level. But they do have teens. They are also about 3 times bigger than discord. I think you could argue either way, because there may be a larger absolute number of teens on discord? The numbers are not broken out enough to tell. But given the nature of what we're dealing with, I wouldn't discount the idea of them not wanting anyone taking a closer look at what they are doing.

I myself am always suspicious of the "Think of the children!!!" crowd.
Diablo 2 is exactly the kind of game I felt like a pointless time sink. Your character gains new skills, but you? Not so much. At least playing a competitive FPS (or something like Starcraft) you're gaining skills.
Nah, flying is totally defensible. I fly everywhere. The problem is offsetting your emissions. Most people are offloading their externalities to the Earth. Since climate change is a non-local phenomenon you can be carbon negative for very cheap if you pay to reduce carbon emissions.

Also, it's a little bit rich to listen to any sort of climate talk from anyone in cold countries¹. They emit so much carbon just to be warm. Well, I don't, because I live in California.

¹ Between 14% and 30% of total emissions are from heating in Germany for instance https://www.bmu.de/fileadmin/Daten_BMU/Download_PDF/Klimasch...