skysight-inc/HackerNews huggingface dataset:
> In real C++ codebases the same headers are unnecessarily re-included and re-parsed hundreds of times.

This scenario is only conceivable if you do not use include guards, and not protecting includes with include guards is a very fundamental mistake.

This whole blog post is baffling. Include header management is a basic thing in C++ development for decades, and there are countless techniques to minimize the need for includes and interfaces in include headers. Include guards were never a problem and they are taught as programming 101.

And also taken from the blog post:

> Over time the sloppiness accumulate and we might end up with inter-dependent, circular mess. You just want to #include "Button.h" and somehow it ends up bringing in NuclearPowerPlant.h

I think this hints at the root cause of the blogger's problem: failure to architect projects and properly modularize them.

You only risk including stuff you don't need if you design your interface to include stuff you don't need. Your modules need to provide a set of interface headers, and those interface headers are designed to be included everywhere and anywhere. You only include things in those headers that you need to access to interface with your module. This means stuff like vocabulary types and your own components.

If you provide a set of interface headers that include NuclearPowerPlant.h, that is on you.

There is a very easy way to keep this sort of thing in check in a C++ project. For each and every single module in your software project, you explicitly separate a module's interface/public headers from source files and private headers. Interface/public headers are kept in a separate ./include/<namespace> folder, and you make absolutely sure that header files stored in this path don't drag in anything that should not be a part of the interface. Afterwards, any component that drags in a module as a dependency only gets access to the include/public headers. That's it.
There is a lot of nonsense projects, right, with git not being one of them.

PS. If you would like to continue the discussion, it's beneficial to not mix into the topic every single thing disliked by you at the moment (like, how do microservices relate to the topic? Or devops? We are talking about version control)
> The complex carbohydrates

Fructose says hi.
This is a terrible, substanceless article. Nowhere within does it offer anything more than vague abstracts, all the while keeping this bizarre idea that a "forum" that provides information is directly responsible for doing something that people should be allowed to do. It ends by twisting deaths caused by a society that from the perspective of the "victims" isn't worth living in to propaganda for fascism.

What they call poison is most likely referring to curing salt one can buy off of Amazon.

As someone who contemplates it regularly, it's insulting to rob the attempts of autonomy. A person who is able to commit suicide is exercising autonomy. They are not mindless, and they are not insane.

Everything about this, from the framing of its subjects, to the dubiously-real "letter," to the British press harassing a foreign citizen, is rather disgusting. It's a thin, opportunistic attempt to validate a terrible law and claim it doesn't go far enough.

I don't know a thing about the site, but from the way it's described, they aren't going out of their way to hurt anyone, or being actively malicious. Is this really where we want to head? Suicide deaths have barely moved at all per capita since 1970. If it's really about the facts, like the article says, then it might help more than it hurts.
https://www.testufo.com/framerates#count=4&background=stars&...

This is better, because we're talking about the lower range right now anyway.

That said, I think the difference between 144Hz and 72Hz is a lot more subtle and can't be seen if you try to glance at them directly. Try viewing them with peripheral vision and there's a difference in smoothness. That shows up in things like moving a window around (or even just moving a mouse). It makes a huge difference in input latency/response, but the difference can't be seen easily by just staring directly at a moving image.
> It funny, usually people on HN diss NASA et all hard for being those big, inept governkent agencies, with SpaceX being so so mich better because

Many of NASA’s problems aren’t the fault of NASA, they are the fault of Congress. NASA didn’t come up with SLS+Orion all by themselves, the high-level design was dictated to them by Congress and NASA was left with the job of fleshing out the details and making it all work somehow. SpaceX needs NASA as a customer and a source of valuable expertise, it just wants it freed from being forced by Congress to spend billions on super-inefficient projects such as SLS+Orion, when SpaceX has a solution which can do more for less (Starship+SuperHeavy) and is likely to be available soon (bureaucratic delays due to the FAA and environmental agencies such as the FWS being under-resourced being the current biggest obstacle to that)
Linux ARM works perfectly well.

Unless you want to play videogames, Linux ARM is probably preferable to Intel.
You may feel safer that way, but it is not. If a dedicated attacker can breach Okta, they can surely breach your self-hosted, self-synced password manager you manage, which you forgot to update on time, or you don't get an update on time.

Remember, these organizations fix the issues weeks, sometimes months, before they release the statement.

If you use open-source and a critical bug is found, you'll get a patch with a press release, while all other large services fixed that already. For average Jane or Joe, the risk-benefit ratio favors services against self-hosted solutions.
Not in this case, no, it was night time.

As for the polarized glasses thing; I recently found ad-blocking to be a feature of mine; I can't see the video/screen adverts on London bus stops when I'm wearing my polarized sun glasses; major win (shame it's not sunny very often).
dav1d can decode 4K video in realtime on a pretty normal office-class PC. The real issue for is mobile.
I learned in Driver’s Ed that if I was ever in an accident I wanted to be in a head on collision at 45 mph in a 74 Lincoln Continental hitting a 72 Chevy Vega. I think you would be hard pressed to find a heavier passenger car.
Not really, my laptop is intel 5000 series dual core, it can handle 720p AV1 video. I did get a few dropped frames, but I had to go into "Stats for nerds" to see that they dropped. When I switched to vp9, I still had some dropped frames anyway, so it's slow regardless

My laptop doesn't have a 1080p screen, but trying 1080p it could do some videos better than others.

in this one I only dropped 2 frames:

https://www.youtube.com/watch?v=m1jY2VLCRmY&list=PLAMlLc3Zgg...
> (i.e. say building a least squares model without using sklearn, etc.)

It's 2023, when I read "build models from scratch" I think about training a model from scratch and not using any pretrained models.

For your definition, there's no good use case apart from learning, or making a custom implementation for something that doesn't exist in a library.
No.

Powershell structured pipe might look beautifully to architecture astronauts, but it is a step back.

The value of the component is the higher, the more components it can communicate with. Pure stream pipes in unices are the universal language; object pipes in powershell break the language in many incomprehensible fragments, and each component there needs "translator" for each specific fragment it can understand on input or output. Yes, it means that in the unix environment you may need some tool to be a middleman to extract only few things from the bigger stream; but these tools are also universal, unlike the need to understand specific piped object in the powershell world.

CORBA wasn't left "halfbaked". It was too complex for its own good, and unlike COM, there was nobody interested in pushing it further, so it was left behind. For a more lightweight messaging, there are XPC (macOS) or dbus (linux).
I bet it doesn't even run Kubernetes.
You're right, I misspoke. I should have said it wasn't about the costs. NASA can keep updating their hardware after all this time with far fewer resources than apple has, so it isn't that it's prohibitively expensive to keep supporting old devices, it's just that ultimately "It is just about money" and cell phone companies would rather have people throw out their old devices and buy new ones.
Apple did that once, and then changed their mind. I suspect they think it degrades their brand.

They don't even let the owners of their iphones run their own software without asking permission.
SD XL understands prompts much better than 1.5. So the next version of SD might be comparable to Dall-E without censorship.
Wow - the images on that BBC article are so bad. They are processing them, adding a background, effects, lots of 'blue'.... Why? It gives the impression of a light magazine article, not news.
Are people not allowed to discuss their suicidal thoughts? Or, they are allowed, but only certain pre-approved opinions? Particularly, anti-suicide opinions are allowed while pro-suicide opinions are "illegal"?

People should have the right to choose what they want to do with their own body, including the choice to kill themselves.

Suicidal thoughts will not disappear by simply outlawing the public expression of them. You are merely pushing people more into the fringes, when you should be attempting to pull them out.
Projects are fulfilling because they have public utility.

The no individual code ownership policy is hard to bear for inquisitive minds, though.

Thus the talent shortage.
Thanks - I wasn't aware that echo was that problematic as I target bash (usually v4 and above) from my scripts.

I just tested it out with:

sh /bin/echo -n "test"
/bin/echo: 3: Syntax error: "(" unexpected

I didn't realise until recently that printf can also replace a lot of uses of the "date" command which is helpful with logging as it avoids calling an external command for every line logged.
How I spend my time on the internet is not something I want to see lol.
How about privacy issues?
I want tested code in my docs. I want my docs’ build to fail if sample code doesn’t actually work.
Just wondering how many hugabytes we will have to download just to get Hello World to link and run…
My parents' cat has been castrated, what about your pets?
Reminds me of that banner Facebook writes to the browser console to warn people of pasting stuff that will hand over their session to third parties. Handing over a HAR is just as bad if there is any form of session involved.

Browsers could add even more nag screens between the user and the tools, but those have zero effect once the assumption "I'm talking to a person from the hoster" is established. It's the old "put on a safety vest and a hardhat and you can walk anywhere" hack that only training can protect you from. And even with the best training, you'll never reach 100%. That's why you need many tiers of your operation is as sensitive as selling a trust store.

It's well possible that 1Password are still far from being breached thanks to tiers, but it's interesting to see even people working full-time on the conflict between authentication and convenience struggle with that balancing act.
Ask HN: Struggling to Find a LinkedIn Substitute?
I'm struggling to find use to Linkedin anymore to change jobs. Is there any new trendy website oriented to share job offers that I'm missiong out? I mean, the usual github site with projects and stuff I feel does not serve all use cases and Linkedin this days is more a Tiktok social thing than the old (and useful) website.
I've noticed reddit doesn't invalidate your cookies even if you click the logout button. There is a button in the site settings under your list of sessions, but I haven't tested that.

I noticed it because I delete site cookies often, and paste them in from a file whenever I want to comment. Occasionally click "logout" without thinking. Got creeped out by that year-in-review thing they do once.
Alternative proposal, don't use Google DNS since they gather a gargantuan amount of data on you as is. Personally I use Mullvad (they also offer DNS over HTTPS/TLS), but there are many fine providers out there.
Our world in data: redesigning our interactive visualizations
That is extremely cool and was probably fiendishly difficult to achieve, but, unfortunately, I think discord is the first and last word in free chat at the moment.
congratulation jatin! looks like great product.
Having lived in both Sevilla and Barcelona, the high speed lines (until very recently only operated by RENFE as the AVE service) are really amazing and a great value. Also, RENFE has a media-distancia service that isn't quite high speed rail but still pretty fast and efficient, that serves routes like Barcelona-Valencia in ~3.5 hours.

I only wish the international high-speed routes in Europe were easier to book and the prices were lower. It's still at least 2-3x the price to take a train from Barcelona-Amsterdam for instance (which I recently did) then to fly. I have no problem with the much longer duration of the train journey but they need to do something to get trains more competitive price-wise with air, perhaps by increasing taxes significantly for short-ish (<2-3 hours?) plane trips when a viable rail alternative exists, and using that to subsidize the train tickets? I don't know what can be done but it's going to be impossible to convince the public to go on a train for longer trips when both driving and flying are way cheaper.
Even though I'm a KDE fan, I usually use Meld for diffing, especially since I've set it up with a lot of custom filters for certain cases. However, when I want to compare 3 different files, kdiff3 is my go-to tool.
None, AFAIK. Canonical: https://github.com/sumatrapdfreader/sumatrapdf/issues/191
I don't think this is a topic which can be discussed effectively. Most platforms ban any discussion of the topic, even those who claim to support free speech will shut it down. But little is actually done to help people besides telling them to go to therapy or call some phone number.

Do people really think that if they restrict access to methods of suicide people will magically get better? If that's all that a society is doing then they're simply delaying the inevitable or condemning the person to continue suffering.

Worse yet, you drown someone in psychiatric drugs that kill the soul, leaving behind a walking corpse. And we pretend like it's some sort of mercy because there's an undead zombie. Even if it's but a shell of the former person.

The most likely outcome is that nothing major will change, and people will continue to lament the suicides.

Maybe people wouldn't commit suicide if they had actual help. But most of these people have probably been abandoned and isolated from society.

Within the harsh garden of reality not all plants are able to flourish.
Yes.

- Web browser, both Safari and embedded app browsers honour these settings

- You can disable apps that do not have parental controls integrated

I do not know if there are generally available whitelists for websites, and I assume this would depend on the cultural context like the nationality and religion of the parents. Please correct me if I am wrong.
This kind of stuff is the exact reason why official lineage support is the first thing I look when I need to buy a new smartphone.
And yet, there's no code completion for powershell so nice, as fish provides. In this area, Powershell (plus addons, like oh-my-posh) just mimimcs existing popular bash/zsh capabalities.
"I would have done it from this other approach". I've seen that, and it's not good when you get the feeling of "code review is when someone who hasn't thought about your problem tells you how you should have solved it". People sometimes feel they have to add value as a reviewer, and casually discarding other people's work is the way to do it. Fortunately it's not something I have to deal with at my current job.
Thank you! This is really interesting, will give OrbStack a test drive.
Like this:

https://user-images.githubusercontent.com/1711539/277602101-...
> They were touted as not being addictive in the same way as opium

Oxycotin was never touted as "not being addictive".

Hell they had (and still have) a big "WARNING: OxyContin is an opioid agonist and a Schedule II controlled substance with an abuse liability similar to morphine." in their label.

It was a confluence of medical professionals being taught "pain is the 5th vital sign", "pain is routinely undertreated" and "controlled release opioids have a reduced abuse potential".

This was not necessarily bad because many of those things were true and the pendulum had swung back from "just tough it out", "Tylenol is enough for most people", "just one dose of opioids will make you an addict".

Then layer on top pill mill clinics popping up where doctors were dispensing scripts for 120 sixty milligram Oxycotin without so much as a physical examination, the DEA doing nothing despite having ample data in front of them that some doctors were dispensing milions of pills each year and the massive amounts of money doctors made writing the scripts by charging addicts cash.
The whole "Eurorail" "pissing match" between jurisdictions/countries, where you have to confirm/book everything, sometimes manually, ostensibly because of "interoperability" issues ...
... is sad.-

It would be a gamechanger for Europe, were it to function in a frictionless, integrated, simple way.-
Amazon-sponsored The Expanse 606 won a Hugo recently

https://www.thehugoawards.org/hugo-history/2023-hugo-awards/

so there's hope!
Fair enough. Mastodon has, historically taken accessibility for visually impaired folk quite seriously.

Letting them be first class citizens is a laudable aim. I’m probably overly aware of it because I used to work at a school for VI students and I saw their frustration as they used their screen readers to find unlabelled images.

I don’t condone people being arseholes about it. But a bit of nagging to remind people is perfectly acceptable, think. You want to keep it the norm on the system.

It doesn’t need to be an essay. Just ‘a cute cat’ is better than nothing.

In my view it’s common courtesy to a group of people who already have it tough, not a ‘I don’t like shoes’ personal whim.
I can hardly imagine the people who are depicted would have consented were they still alive ... tasteless indeed.
> Add in the adult segment of Generation Z

That would be about half of them.

Baby Boomers + Gen X = 134 million

Millenials + half of Gen Z = 107 million

Young people are outnumbered, and it’s going to get worse.

Numbers from <https://www.statista.com/statistics/797321/us-population-by-...>
Comfy ui is really nice. The fact that the node graph is saved as png metadata actually makes node based workflows super fluent and reproducible since all you need to do to get the graph for your image is to drag and drop the result png to the gui. This feels like a huge quality-of-life improvement compared to any other lightweight node tools I’ve used.
1. Identify a thriving niche, and stores within that niche.

2. Copy everything they do. Steal their photos, descriptions. Everything, really. Launch a bunch of stores that sell the exact same thing, with exact same listings, etc.

3. Attack the store with bogus DMCA takedowns, deluge them with fake reviews.

4. Boost your own store(s) with fake positive reviews.

5. Replace the stores you are competing against.

If you're located in China and can do that with impunity, what are the owners going to do? Amazon seems to be happy for any business.
One would think. I have yet to find a spreadsheet program that doesn't mimic Excels behavior for automatic conversion up to the point of making it non-optional.
70 years for residential, 30 years for commercial land. But the government can seize your land for redevelopment in exchange of a token compensation
I wouldn’t be so sure. Joining the cargo cult doesn’t make you immune to the law.

https://noyb.eu/en/noyb-aims-end-cookie-banner-terror-and-is...
Are we rooting for an ecosystem where there are next to no standards? Not even a standard boot protocol. The world is going to be full of devices with one off SOCs with terrible after release support.
Under the Hood of Rosette
> People should have the right to choose what they want to do with their own body, including the choice to kill themselves.

Many suicide attempt survivors don't try it again.
To be honest, Spain is almost ideal for high-speed trains. Big conurbations with millions or at least hundreds of thousands people, separated by mostly empty land where few people ever see or hear the trains rushing to and fro.

This article is from the Guardian and it would be fair to mention that densely packed English countryside is on just another level when it comes to NIMBY obstacles. Any high speed track out of London must either be wholly underground, or cut through hundreds, if not thousands of private gardens, and their owners will be hard to placate. Population density of Southeast England is pretty extreme even for Western Europe.
1 - Two ways we ensure we're secure & private.

* We take security seriously and understand that storing sensitive information is risky. Therefore we're undergoing SoC2 Type 2 for our hosted version to ensure that we follow the best security practices ourselves in how we store data.

* If you still don't trust a third party like us you could use the self-hosted version of Revert and use it in your own infra. (we can assist you in this)

2 - The way we simplify the schemas is such that you don't have to learn the nuances of each CRM for example. (what field X is called in CRM A vs CRM B)

We ensure that you need to learn only the API schema (for example Leads API endpoint) that we offer and in the background map this to the downstream CRM (Salesforce, Hubspot or anything else).

At the same time, we ensure that you can call the native CRM APIs if you need to, without managing the OAuth or refresh of these OAuth tokens.

Happy to answer any follow ups here!
If the trend is so tiny it's invisible to the naked eye, that's another way of saying that human activity is having no perceptible impact on CO2 levels, which isn't meant to be the case is it.

BTW your paper is a bit of an odd citation, could you explain further? It itself states that its own conclusions are "unintuitive" and that they need a complex model in which there are vast non-linear sinks absorbing human emissions, as otherwise they face problems explaining the data. Also, that "measured atmospheric CO2 concentration values continue a steady decline as one moves backward in time from about 1925 to 1750". So CO2 concentrations were steadily rising during this time that climatologists usually call "pre industrial", where was it coming from?
> Young people are vastly outnumbered

Not by the elderly, though. Just like I said, and by your own numbers, Generation X holds the balance of power. They are not yet elderly. Even the oldest ones are still in their 50s – the youngest are still in their early 40s.
Bubbles inflate, deflate ("intrinsic values" cath up) or burst, never go away
As a user, I don't give a shit? The service is unusable. Every time I try an archive.is link, I try the captchas 6 times and give up.
I wish to know the same... I've been doing it as a hoby for years, but now I'm having financial FOMO lol
KnowledgeWorks update most likely.
While this is intriguing, SQL has been around because it’s good and the right tool. In fact, more devs should be picking it up.
"Marcel" is a common male name in some parts of the world. That would make a trademark infringement claim somewhat difficult.
> everyone will just start squeezing all the tracking information they need into the WebSession cookie

Why would you need to put more information into the cookie if it's already unique?