skysight-inc/HackerNews huggingface dataset:
I was using node-ipc for an Electron app I'm developing (not published yet). I considered removing it way earlier in favor of just passing messages via Electron main processes, as I considered node-ipc an unnecessary attack vector potential.

I was absent from development for the past 2 months, so I did not update the package, and I'm not in Russia or Belarus. However, if it did affect me, I:

- Take full-data daily backups to external hard drive (I have 3 in total and rotate them)

- I have setup multiple user accounts on Linux for different applications and run them via su / sudo. All it could delete was only the source files which were backed up anyway. I always considered it stupid that a random node module downloaded from Internet with Internet access should have access to all files on my filesystem.

I guess all it could do to me is require me to spend an entire day installing the system. I have a detailed spec on what packages to install to replicate exactly the system I have at the moment. Sometimes it pays off to be an Arch Linux geek. In the future, I will have a setup where I will have a full emergency system backup on the pendrive, so even losing the entire computer I could hook all my data and the OS to another computer in a matter of minutes and would lose a maximum of 1 days worth of work.

An npm package removing all files on system just because a user is in a country is pure evil, but really, having a backup can go a long way.
>Injections into the penis

Pass.
I think the reliability part is what most are missing here.

Devs, you have to think like the 90s. You are shipping software on a CD or floppy l, with no updates ever. Ever.

You get it right, or you may bankrupt the company.

That is an ejection seat, and the simplier the design, less to QA! And on top of this?

The hardware under your software is possibly decaying, and your software still must work.

Sort of like designing software for an apollo mission.
Everything is totally fine until it bites hard enough to beat the marketing and legal campaigns run to promote and protect it. "Totally fine" is simply the orthodox professional position towards new potentially lucrative practices. Because it is a burden on the career opportunities to those who think otherwise.

Putting cattle remains in cattle feed was fine until CJD was discovered, mass producing CFCs was fine until the chemisty of the ozone damage was understood. More chemists assured leaded petrol was fine and the few who complained were attacked... this list is huge. Its totally fine to mass produce plastics still. So to assure the generally well informed about the safety and wisdom of a technological proposition - you would need to be able to carry more detail than just adding 'I am a related professional - this is fine'
Lithium is $17,000 per tonne. Even if you found a pure Lithium asteroid, it wouldn't be worth shipping in a 100 tonne Starship that would need a dozen refueling trips to make it to the asteroid and back
I'm a licensed commercial Qt developer, been so for about a decade now. My current org is still on 5.15 (the latest LTS release) and that's as far as we're going. I'm relieved they at least offered to go beyond 4.8 (the LGPL3 switchover) but that's mostly because other projects were already doing it.

We're never going to Qt6, the newer licensing terms are just too much for us. Calling v5 old and outdated is subjective - we develop 2D interfaces on Linux framebuffer and that's good enough for the task. It's a bit sad that Qt is focused on 3D stacks and particle effects and acceleration and - mein gott in himmel - I just got an email about in-app advertising coming to Qt6. While core features and deficiencies in the system have gone unaddressed for years, sometimes nearly a decade.

Sadly the next generation of our products will be going to React or Electron. So now we need to beef up our hardware and burn millions of unnecessary watts over the decades because we will need Node or some other backend server running on our little devices.

They've won, and I'm sad about it.
Unfamiliar... for whom?

Are we at the point where all developers, or all GUI developers, are expected to be familiar with HTML/CSS/JS/DOM concepts?

The QT stuff is familiar to me (from python mostly), but I have only very barebones knowledge of HTML/JS and almost none of the DOM and CSS.
Scientist yes, in the same way that anyone who follows the scientific method can be a scientist.

Professor however, no, except as a honorary title.

I know exactly zero tenured professors who do not have a PhD.
There are people who are just scum; there are people who have morals but sometimes do scummy things, possibly due to circumstance; there are people whose morals differ from your own.

I would not choose a future where everyone shares my own moral values - that would be bleak.

In that context, sadly, crime will exist.
I believe that's exactly what they are doing. They're drowning the big political issues of their model into the noise produced by the scientifically debatable issues. Ultimately, it's about bringing back up a feudal regime that can't be bypassed.
This is getting meta, but I agree: I usually can't see what I'm writing before I have hit submit. It's as if the simulating-what-the-other-person-sees doesn't kick in until they actually have an opportunity to read it.

It'd be trolling if the intent was to gaslight.

Otherwise, toning down aggression is a virtue.
That's a different point though: the fact that it tastes different does not mean it is harmful to consume (which is the point I was trying to make).
Me, too, but I'm betting that's already all they can say (and probably more than they should have).
Looks like its the only solution in this thread leveraging Xpra.

https://www.xpra.org/
>"This is proof that we have plastics in our body—and we shouldn't,"

Why shouldn’t we?
I think this answer does not emphasize the main point enough.

It's not about the quality of chromium at all, only ubiquity.

Web developers are cheap, its easy to port website's code and slap UI on it. That is the _main_ point.

The manager for whom electron is an option is least bothered by chrome being technically solid foundation. His motive is using cheap webshits and ticking a box.

Doesn't help other cross platform toolkits are either outdated, or immature, or in a weird position like Qt.

Our industry always optimized for some sort of local maxima. From a purely engineering perspective, scripting languages, or hacky UNIX/C glue, or weak typing, would not have made sense at all. But they sticked, because they fulfilled immediate commercial needs.

I don't know if this phenomenon is prevalent in other disciplines of engineering or there is a common name for it.
Am I the only one confused by the C++ referential naming / the only C-but-not-C++ developer here? I have no idea what a shared_ptr is, or how a priority_queue behaves (is that a heap?)
Thanks for sharing. We sometimes forget that we are fragile. This post needed to be read by all remote teams.
> right...OK maybe it will if that's how it is employed. Quite risky though. Encrypting stuff & "forgetting" the password versus say shredding evidence isn't that far apart.

Disagree. Shredding evidence is an active action that can be used to establish guilt. Forgetting a password requires none of that.
> I drink the milk raw, and it is far superior to pasteurized milk both in taste and purity.

I've grown up with cows, sheeps, goats and my family lived on farming

Pasteurized milk is not in any way less pure or tasty than raw milk.

Actually the opposite is true: pasteurized milk flavour can be taken for granted, raw milk? not at all.

> Raw milk is nearly perfectly sterile when it comes out of a freshly cleaned teat

But the environment is not.

Unless you farm your animals in a sterile environment, which is highly unlikely and probably undesirable too.
They're near the border so obviously they can be seen as vital. They also were preparing for years.

If you're willingly getting a job that entails killing brown people overseas for no legitimate reason you're kind of a fascist :) If you voted for trump you're kind of a fascist.

>Right, because there is no way they would draw more support after being lionized as heros.

Like I said, I don't think this is the time to think about this, if your city was getting destroyed by a foreign invader, would you really care who's fighting the invaders? If they committed crimes they can be dealt with later once Ukraine assured its survival.
Sweden didn't have a high death toll. On a per capita basis they're lower than many other comparable EU countries such as France.

https://www.worldometers.info/coronavirus/#countries
who would thought that the "safe" system language rust needs a formal model checker, plus formal concurrences checkers (loom and shuttle). what about a type checker also? or maybe just redefine "safe", so that truly safe languages stand out a bit.

note that formal model checkers cannot prove termination, only memory and type safeties.
If you were a true ally you would be more like Alex Hesse.

https://www.youtube.com/watch?v=-yabNRlqCCk
A quick search gives me Godello: https://github.com/alfredbaudisch/Godello
But there isn't just a correlation. There's also a fascinating idea: better grip strength might help prevent a common cause of death in old age: falls. I've never made that connection before, but it seems very reasonable now I think of it, and compelling in its implications. That's good enough for me to want to discuss it, maybe even to motivate me to work on my grip strength.

If someone ever brings me evidence that having stronger grip does not help you avoid falls, then (a) that would be surprising and interesting, and (b) I wouldn't feel like a fool for having improved my grip strength anyway.

Empirically proving causation is often difficult or impossible. It's irrational to expect every potentially useful idea to meet that high bar before taking it into consideration. If someone is trying to sell me something, or if the idea goes against common sense, I'll demand proof, but that's not the case here.
I would argue that doomer is a waste of time. Time to be a prepper and realign our relationship to the planet. We could go on and on about climate doom, etc, but the most productive thing we can do is expect change, not apocalypse, and adjust.

Lead by example. Everyone reading this can go full wind and solar. Can stop driving or drastically cut it down (move closer, use public transport, work remote, etc). We can all grow food in our backyards, or living room, we can all participate in local garden coops etc. We can all refuse to take part in wars, buying new cell phones every year, wearing synthetic fibers that lead to microplastics, etc.

If we, the ones who know and care dont take action today, by example, who will?

Que excuses in 1, 2, 3...
ssh -X will do, but in this thread is a project using Xpra. Assuming your docker is remote, that’s probably better.

https://www.xpra.org/
> If ANY country got invaded some of the soldiers defending against invaders are going to be fascists, it's inevitable

> Defending against an invasion from a foreign country is not really the time to discuss political ideologies

Yeah, yeah, it is like they just popped into existence on February 24.

If Ukraine government was really bothered with them they wouldn't exist now (or at least they wouldn't be a part of the country military forces) and it couldn't be used by Putin as one of the means to justify the invasion. Yet...
Maybe more of these articles should be flagged then.
Having aimlessly driven through lots of economically challenged areas in varying MSAs, the businesses present give the most consistent confirmation of an area's status. Unfortunately, many of the businesses are vice targeted and/or highly exploitative in nature. CSL Plasma, generic tobacco/liquor/vape/lotto shops, payday loans, Metro/Boost (just their marketing strategy), and greasy box restaurants are the typical signs of lower commercial rents. This also means that larger national brands may avoid the area because the census data doesn't line up with their ideal demographics, so you end up with way more diversity in mom and pop restaurants and random niche hobby stores.
Is murder, not euthanasia.

Euthanasia requires the explicit desire of being killed, clearly expressed by the patient, normally with the family knowledge and after legal consultation that proves that there is excruciating pain are there is not a better alternative for treatment.

And this is killing a helpless person unable to defend his life or will, and blocking their relatives to help him/her in this task. And it was not exclusive from Sweden, probably.
Sweden did not have a good response to the COVID pandemic. More people died than in many comparable countries, we can agree on these facts. But that the response was poor because authorities did not "listen to scientists" is a difficult claim to swallow.

Before 2020 the concept "national lockdown in response to a virus outbreak" simply did not exist. There were no consensus in the scientific world that a lockdown would be an effective measure to improve peoples health, all things considered.

If anything I think the Swedish weak response was an effect of listening too much to expert opinions and politicians not taking initiatives and making their own judgements.

Early in the pandemic there were many predictions made on number of deaths etc by some scientists. These models often overestimated the number of deaths/cases. Science is important but it's messy and it takes time.
I am a Swede and I think most of my peers are delusional fans of our institutions and leaders. The leaders tries to cover up everything, and holds no accountability. People are such fans of Anders Tegnell - the man who uses an extreme amount of words to say almost nothing, in addition to almost never admitting to failure or being wrong. They go hand in hand with the politicians on this part.
It's possibly still around: http://www.ambiencia.com/overviewgalaxytd.php . Expensive as fuck, though; if I understood the pricing page correctly, it's $1.5K for a single-developer no-support license of the cheapest version. (Dunno what the differences between versions are.)

Free Pascal / Lazarus is a FOSS cross-platform language and GUI IDE. I'd recommend trying that in stead.

Found via: https://news.ycombinator.com/item?id=19754073 -- Thanks, @DonHopkins!
Anecdote: I have written flutter apps in 4GB of RAM, with both Vim+Dart LSP and IntelliJ (somewhat tuned for low memory, but it was fine for me).
"This is quite shocking. I didn't think this would be possible in a country like Sweden."

None of us living here thought it would be possible either. These irrational procedures, and the fact that the social democrats have repeatedly been stating in no unclear terms that Sweden's biggest problem is the elderly/geriatric demographic "who provide nothing and just cost us a lot of pension money", is why people think the strategy was entirely deliberate.
Yes. I don't understand the question. Perhaps you want to only use examples from there, instead of some random country from "most of the world", is that it?

Bahrain is mentioned. It voted with the Ukraine, isn't doing anything more, and isn't doing anything at all that Putin asks for. Not that it can — Bahrain can't very well buy Russian gas or oil, or sell Russia anything it needs. I suppose it could reduce its oil production, that would help Putin. Anyway, I like Argentina better as an example because Argentina is a customer for things Russia can sell and a source for a few things Russia needs.

But Bahrain's position seems broadly similar: Ukrainian-friendly but not exerting itself at all. Feel free to inform me of aspects I've overlooked, of course.
I was not able to achieve what I wanted with Selinux. As far as I understand it, SeLinux is a blacklist approach, rather than whitelist.

You can go far on Linux without SELinux, by making user accounts for specific applications and tasks. I.e. I have an account just for the browser so if I was affected by 0-day, it reduces the chances of the system being compromised. I have an account for JS projects, so if some npm module has a RAT in it (or deletes everything in the system), it would only be able to access the files in that specific-user directory.
Do companies like Monsanto hold patents on their GMO products and techniques?

Because trusting a company (like Monsanto for instance) to play nice with their patents as it relates to our food supply is a non-starter.
> Maybe taking 1/100th of the value created for ourselves?

It’s relatively rare for an SWE to create $20M/yr in value every year. It’s quite common for one to make more than $200K in salary, with total cost being higher.
In Ursula Le Guin's book "Changing Planes", there's a story called "The Island of the Immortals." Spoiler alert: living forever is no fun.
> And we accept that.

You do. I certainly don’t. And you’re just doing that because it’s the status quo, not out of any analysis.
"And this government have put much more money into infrastructure than you might expect given their ideology... And often in less sexy areas like rail electrification, smart motorways etc."

On what basis? They've scaled down HS2 and the Northern Rail Plan. Smart motorways is purely a way to avoid expensive, complicated, often necessary road widening with an unsafe technological solution. A lot of the safety issues of smart motorways has also been due to cutting costs - less frequent emergency refuge areas, less cameras than are needed to detect accidents. Now the press has caught up to them they have stopped rolling them out entirely.
QML has finally become useful and efficient enough that developing on it is...kind of fun, actually.

Sadly, like you mention, the rest of the ecosystem is languishing and the company's attention is elsewhere. Licensing has become a major headache (not just cost but terms) and I've grown tired of spending weeks and months trying to get it through management and explained properly.
Rolls Royce are developing small nuclear reactors. Doesn’t rely on foreign tech or contractors.
Why Gamers are right to hate NFTs
That's a lovely system. I would definitely put my hand through the spike accidentally!
I have no knowledge of the deal and am not involved in anyway; this sounds like the 409A for the common stock came down not the preferred valuation. Valuations can't be moved without someone buying stock at a lower price to make the lower price "real". If there was no investment, they didn't Lower the valuation. 409As are different, happen every year to enable common equity grants to the team. What is probably happening is the team's option grants are at a lower price because the inputs to the 409A formulae (including how the stock market is doing) have come down.
>Why is it illegal to not wear a seat belt in most societies? Why are there limits on lead content in food stuff? Why are there any regulations at all?

These are false equivalencies to the question of restricting raw milk consumption. E.g., it’s illegal to not wear a seat belt because i don’t want a stranger splattered on my windshield - that affects me yet i would have had no choice in the matter.

Think about the question of limiting lead content in food stuff; the equivalency would be bacterial testing requirements in raw milk, not the restriction of consumption of raw milk. You can support advances in microbiology and hygiene without legally restricting raw milk consumption. The consumption of tuna isn’t illegal yet undoubtedly if you ate tuna every day for a few months you would likely contract lead poisoning!
One advantage one running GUI apps within a Docker container is that it is, in my experience, totally trivial to put RAM/CPU quotas on piggy apps. Sure, you may put quotas using other means but it can get tricky (if I'm not mistaken it's particularly tricky on processes forking themselves like there's no tomorrow).

Using a Docker container, which you may already have anyway, putting CPU/RAM quotas is a one-liner.
Sooner or later the pendulum will swing back, hopefully, and we'll have a new generation of secure and easy to maintain local services.
> this is a peer reviewed paper

Note that this paper is published in "Nature Humanities and Social Sciences Communications" journal, not in the plain "Nature" journal that is a totally different journal published by the same editorial. I'd also thrust more a pare published in one of the many journals of Nature that has something about medicine or biology in the title, because the reviewers and editors are more specialized in this subject. https://www.nature.com/siteindex
That’s one of the appeals of infrastructure as code. For my own hobby work (where I might put down a project for months between serious work sessions, I often am that replacement). Some projects I have well enough structured or documented to pick right back inside of 30 minutes; others are more archeological in nature.
How does the saying go, "if you sit down at a table with 10 Nazi's, there is now a table of 11 Nazi's"?

It's been interesting watching how quickly this narrative changed once Ukraine became the center of attention on social media.
YouTube blocked news channel for showing Russian foreign minister's speach
Succinct way of putting it
For some reason I never considered RPi4 as build server. Thanks for your comment, I have one spare and will try to utilize it as gitlab runner.
I just read an article about how immigrants (to the us) working in elder care were more culturally suited than Americans to the work, having more respect for old age. So it might be just the opposite, or perhaps respect for elders is a consequence of the demographic shift over time? Or just correlated?
>>"This would provide a degree of protection against social media platform cracking down on sock puppet accounts being used from single setup because traffic is kept separate for each account and cookie cross-contamination is being prevented."

This can also be accomplised by using Firefox's Multi-Account Container extension in conjunction with the Container Proxy extension.

The Multi-Account Container extension is also great for non-dirtbag purposes. For instance testing different user profiles in an application - create 1 container for User, 1 for Admin etc.
Apparently 45% of US pregnancies are unintended. https://www.brookings.edu/research/preventing-unplanned-preg...
There's a difference between:

1) Drinking raw milk from the same cow every day

2) Drinking raw milk from a different cow every day (e.g. from a small market)

3) Drinking raw milk from hundreds of random farms mixed together (e.g. as might be processed)

If a cow has a 1% chance of carrying a disease, #1 means you have a 1% chance of getting sick. #3 means you have approximately a 100% chance of getting sick. #2 means you have an estimated time of 3-6 months to get sick, depending on the size of the pool of cows.

Personally, I believe these are the sorts of risks people ought to be able to accept, but only with full knowledge and transparency both about where the milk came from, and of associated risks.