skysight-inc/HackerNews huggingface dataset:
Show HN: Switch Git Users (Rust)
Yesterday this utility was published: https://github.com/geongeorge/Git-User-Switch

After reading the comments and seeing multiple alternatives, I tried to Rewrite it in Rust. In comparison with the original, this one does not depend on Yarn/JS and can be used by downloading a single binary:

https://github.com/cquintana92/git-switch-user
Discussed previously in 2012 with 49 comments: https://news.ycombinator.com/item?id=4728862
I had been taking D for almost a year every day. (4000 dose) and wasn't feeling well at all. Once I stopped D and take it occassionaly I feel much better.
The P4X series is also working quite well - I went with that for the smaller footprint. Since I mostly dock it, the smaller screen is acceptable for the limited amount of time I use it undocked.
That’s not really hypocritical if apple is doing this to help ensure that malicious applications are not running.
It probably just gets a fingerprint, or the cert’ information.

But when the endpoint is dying and it gets called every time you try to run any binary…
How it is on portability /tdp front?
"On the other hand, lockdowns may lower the risk of accident, transmission of other diseases, and even the nasty effect of pollution."

On the other hand, isolation leads to depression and suicide. Less sport and fresh air, to lower health.
As the article says, he can not farm that field, but the government is compensating him for it. Don't know how much, but this is Norway, so probably reasonably well. And they do take pride in their history, so the farmer might be proud to be part of this.
> encourage them to ditch Chrome for Firefox

You should probably start advising that they ditch Firefox for IceCat.

https://spyware.neocities.org/articles/browsers.html
That has happened for the last three years in a row.
Can you tell me a bit more about how Java uses Cairo to draw? I was under the assumption that Java interface with the underlying OS to draw.
Saving money? I spending more money than before I worked from home.

More money on electricity, heating, had to get better internet etc. Spending more on food as I am snacking and drinks more at home. It's not like the employers are sharing in this increased cost. The independent owned coffee place near my home is more expensive than the coffee can buy in the work canteen.
I coach newcomers through setup once every few weeks and it is a nightmare.

My aim is to get them to a state where they have a recent Python 3 on their path and they can create virtual environments for their projects which work in a predictable fashion.

Inevitably they have already tried several different ways of installing Python and their system looks like this XKCD: https://xkcd.com/1987/
Long-lasting? Sturdy? You mean the ones tuned by Apple to maintain silence by overheating?
I have X1 Carbon 7th and need to use throttled to get full power.

Try to run performance test with s-tui if you see a difference.

On Arch the command to enable the fix is:

sudo systemctl enable --now lenovo_fix.service
It's not perfect but it's pretty darn close. Using the dev tools in Safari daily and it works like a charm.
Apple Support System Status Page - https://www.apple.com/support/systemstatus/

> macOS Software Update - Resolved Issue
Yesterday, 7:00 PM - Today, 2:15 AM
Some users were affected
Users may not have been able to download macOS Software Updates on Mac computers.

> iMessage - Resolved Issue
Yesterday, 9:00 PM - 10:47 PM
Some users were affected
Users may have been unable to sign in to iMessage.

> FaceTime - Resolved Issue
Yesterday, 9:00 PM - 10:47 PM
Some users were affected
Users may have been unable to sign in.

> iCloud Mail - Resolved Issue
Yesterday, 1:49 AM - 5:00 PM
Some users were affected
Users may have been unable to send or receive mail.

> Maps Traffic - Resolved Outage
Yesterday, 9:00 PM - 10:40 PM
Some users were affected
This service may have been slow or unavailable.

> Maps Routing & Navigation - Resolved Outage
Yesterday, 9:00 PM - 10:40 PM
Some users were affected
This service may have been slow or unavailable.
Google Photos hooked users with free unlimited storage. Now that's changing
I'm generally of the opinion that if a creator doesn't want you to watch or listen to something, you shouldn't watch or listen to it.

The solution to DRM is not to work around it, it is that everyone refuses to use or pay for it.
TIL. Thanks so much for sharing, this is wild...Reminds me of pair-production. Nuclear physics is so fascinating.
Does this apply to creating a manual invoice?

2.9% + 30c for a card payment sure, but it's less clear whether making an invoice through their dashboard counts as "Invoicing" as described under stripe Billing. It looks like it does.

That's a bitter pill to swallow when all you're doing is creating the odd (large) manual invoice and have zero need for all that other jazz.

Time to go shave another yak and write a tiny stupid abstraction for this. Useless economic activity for the gdp win!!
There's still a massive difference between eating food that's digested over a long time and eating candy with the same calories. It impacts the whole process and how much people will realistically restrict themselves. There's issues with body image where people don't realise they're actually obese. There's comfort food related to life stress. And so many other issues. Sure, calorie restriction is an important piece of the puzzle, but saying the rest is a distraction is a really shallow understanding of the problem. It's like that "how to draw an owl" meme - true, but the instruction are so simple they're useless.
The semi-inevitable downvotes may be because xkcd links are seen as cheap canned injects that although relevant and often funny don't really add anything novel to a debate. And perhaps - the horror! - they might not actually always be correct in a specific case.

Disclaimer: I really love xkcd.
Congratulations, you have proposed the least ecologically sustainable vitamin boost I've ever heard. Every day brings new surprises.
"A desktop app would normally just bundle Python for its own local use"

I've been working with Python for nearly twenty years and I find the idea of bundling Python with my application daunting. I want it to be easy.
> It comes as part of WIPO usually.

No, it does not. DMCA is a US-specific implementation of WIPO treaties. Parties residing in other countries are under no obligation to honer it (beyond complying with local laws) and will not benefit from its safe-harbor provisions even if they did.
This article is dated because these days, even the people who exclusively use vim are mostly "tool mavens" - because most people are driving the Web, and the only way to make the Web bearable is to load yourself up with huge toolchains.

It's the worst of both words: Even if you're using vim, you spend an awful lot of your time using (or debugging) tools like webpack, minifiers, live-reloaders, and of course the in-browser dev tools.

BUT, you still don't get the benefits of an old-school IDE, because no IDE can reason about a modern web stack reliably! Take something basic like click-to-code: "where is this attribute defined?" The web is such a Turing Tarpit[0] that, if that data comes from the backend, that question is literally undecidable. Between the database and that JS object are ORMs, backend frameworks, REST requests, microservices, JS frameworks, templating engines, and possibly CSS frameworks as well. At best, you can build good IDEs within one layer of the stack (I love WebStorm, and the VSCode+code-server stuff is cool - but they break down completely at stack boundaries).

[0] https://en.wikipedia.org/wiki/Turing_tarpit

And it's been like this for so long that new web developers don't even remember what it was like to have full autocomplete, everywhere in your project!

I have a dog in this fight - I founded a startup (https://anvil.works) to make web-dev tools, and we realised that to reason automatically about a web app you basically have to replace the whole stack. We went with Python - by doing Python front-end and back-end, replacing REST calls with function calls, and building a UI toolkit rather than generating HTML, it turns out you can have actual, real click-to-code, across your whole program. And full-stack autocomplete (I gave a talk about that one[1]).

If the Web is going to turn us all into tool mavens, at least we should do it right!

[1] https://anvil.works/blog/python-autocompleter-pycon17
Fun fact - before Australia was the destination... the USA was the destination !
This is a false dichotomy. My high-level functional programming etc etc is all there but I love emacs and (rather against my instincts) Visual Studio has some very nice features; for example not having to request a compile to get errors. This can be a huge timesaver. I therefore flip back and forwards between emacs and VS pretty freely. VS to get instant mistake-feedback and fix them, emacs to do most anything else.

You can be a maven for both, but I don't think you can be a complete language expert for multiple languages. Then again, perhaps you don't have to be, just a solid grasp without knowing the dark corners is quite sufficient to get real work done.

Edit: emacs has omnisharp which provides some instant feedback and some refactoring, but it's a lot better in VS.
Automated Origin CA for Kubernetes
Very good writing, I started to use linux for all my computing because of these kinds of reasons.

I will never go back and I won't take a job where I am forced to use a mac or windows computer unless I have to economically.
>America, where the poor people are... much richer than anywhere else in the world?

I've been poor in America and poor in Denmark.

You are definitely misinformed on this matter.
The ‘Alice in Wonderland’ mechanics of the rejection of (climate) science
To be fair, that's not cheap for Romania. Most people can afford it, yes, but that doesn't mean it's cheap.
https://www.nikonsmallworld.com/ was on HN this month IIRC.
Did you take a soft-gel or hard tablet?
Killer developer tools for machine learning (transcript)
Every language has something like that. In Germany it's called "Behördendeutsch" (administration german). Even as a native speaker with good language skills, you have to read all forms and letters at least twice to make sense of it.
Org-Mode Workflow: Task Management
Have a look at https://en.wikipedia.org/wiki/Librem_5 and https://en.wikipedia.org/wiki/PinePhone.
Origins of the Internet: The Backbone
> Isn't DRM... Completely fucking pointless?

It never ceases to amaze me how easy it is to boil frogs, even if the frogs in question are high-IQ, technically sophisticated HN readers.

Right now, you can still circumvent DRM, because you can still buy something that's approximately a general purpose computer (even if it will invariably already come with some remote-acessible hardware level spyware outside your control). But if current trends continue, this will not be the case by the end of the decade.

Also, preventing private individuals from receiving and distributing unauthorized copies is only one way in which DRM is useful to companies.
The exception is open source software. Free Software's biggest risk to the org is patent and license encumbrance. If we can develop an easy way to detect such things in Free Software, and we develop communities where enterprises can freely contribute to them (to make them more Enterprsey), then it has a chance to replace incumbent managed solutions.
While you've been downvoted, just to answer your points, this was an announcement by CISA, which is the government department specifically entrusted with the responsibility of ensuring the system was secure from fraud.

The argument about the Electoral College is one about the process, not the mechanisms. By definition, the Electoral College is undemocratic in that for a choice of a national leader, people in smaller population states have a greater say than those in larger states.

You can argue that as the United States of America, that is a majority of the States that get to vote for the President, but not even the original writers of the Constitution thought that. The reason for the Electoral College was to put a break on the possibility of a populist being elected.

So the original purpose has proven to be unachieved, the argument that States should vote for the President instead of people is completely undemocratic.
Agreed. I don't watch movies or TV shows anymore except for the occasional trip to the big screen (last movie was Avengers, next movie I'll go will be Tenet).

Not to mention I don't have a credit card and can't pay for stuff even if I wanted (last tv show I watched was HBO's Westworld will probably skip next season though).

Only thing I pay for is Spotify through a family plan, relative has a credit card of course.
Hmm I wonder if dang's message might already be automated rather than manual?
Journals should take sides. they should take the sides of the science.

If and when the science changes, journals should change with them.

Its the fucking politicians that shouldn't be taking sides. Their job is to make decisions based on the best and highest quality information.

Accusations of journals taking sides are mostly about shifting the political goal posts and mostly should be slammed and shut down... hell I might even say they should be CANCELLED.
I have a custom build Ryzen 3700X / 64Gb / 2TiB SSD sized desktop which is built heavy, large and silent. I use a Lenovo T495s as a terminal for it locally and remotely. It covers all use cases then.
A law is only dealing with the consequences, it's not prevention.
I agree that the violent metaphors are bad, but the comments in this topic / the media at large is reporting his comments as literal. There are only two options here: they’re incapable of understanding nuanced figures of speech, or they are cynically opportunistic. Neither is a good thing.

If Bannon was banned for using “unnecessarily graphic rhetoric”, that’d be one thing (and something I’d probably agree with) - But that isn’t what happened.
Related, extensive discussion.

https://news.ycombinator.com/item?id=25074959
There is a similar concept in "A Philosophy of Software Design" by John Ousterhout. Large/deep modules with simple interfaces lead to less complexity than small modules with complex interfaces. It's a bit radical because it conflicts with the obsession we have for low level re-use and composability.
Couldn't logistical circumstances of vote counting explain the oddities we see just as well? I don't think this has to mean the election was manipulated.

I think if there is doubt, a recount should be possible. The same scrutiny was allowed when the allegation of Russian influence was made. But until that is done, maybe conceding to the preliminary winner would be a good cause of action. Because I think the accuser has to prove manipulation.
It's utterly insane to me that you can't even verify your vote was counted and for which candidate. But a communities of hackers defends the security of voting.
I think this comment thinks still too much "within" the box. Sure, there is a large class of programming languages with similar idioms where mostly only the syntax is different. I think the rise of multi paradigm languages makes this even more obvious. Nowaday, an IDE will support you with OOP, module/package structures and functional programming.

However, nobody has said that the world has to end there. What about, for instance, declarative languages, domain specific languages, logic programming, computational notebooks? We still have special purpose tools for that, something which you typically don't see in a standard IDE. (Of course you could argue that IDEs as modular software just integrate all this special purpose stuff)

For my perspective, one best works with an IDE if one is d'accord with all the core principles of the IDE and software ecosystem it proposes. Whenever you want to do something out of the box, the IDE reduces to nothing more then a bulky text editor. That's why I think real innovation doesn't happen in IDEs.
If you have steady subscription revenue then you don't really care that much about how many times each story is read. It's more about how to appeal to a readership. Yes, this can be partisan, absolutely. But only if the target market is that partisan readership. There is also a valid non-partisan market that is worth going for. So not all media will be partisan, there will be a spread across the spectrum, with some attempting to be strictly neutral

Advertising-driven journalism must get an emotional response in the title to be read, and every click matters. More extreme positions invoke a greater emotional response[0]. There's no room for non-partisan, sensible, balanced coverage because no-one clicks on it when the other option is an article designed to provoke fear or anger. So ad-driven journalism has to go to the extremes to maintain revenue. Hence we see the middle ground becoming a media wasteland, while the extremes get crowded.

[0] political campaigns have the same thing: get people angry or afraid and they'll vote. Middle-ground, balanced, logical positions don't get people angry or afraid, so they don't vote. Extreme positions on issues actually work better than "sensible" positions.
Yes similarly I’ve started to notice that other users never notice I’ve replied to their comments since there are no notifications. A bit sad since sometimes quite a bit of effort is put into the replies.
Serverless Database Migration Service (DMS)
> Oh and it shouldn't be more expensive than a Mac as many of these laptops are!

Clearly there's no need to jump ship if it's more expensive on the other side.
> Surely it's against copyright law

It almost certainly is, but

1. You have to know it's happening before you can do anything about it

2. If your "work" isn't registered with the copyright office, you're limited to actual damages, which are probably close to $0
Yeah, switching the OS is not exactly a fix. The project is coming along great though.
The Mac Mini is a desktop computer, it's just much smaller than your typical desktop tower. It doesn't have a screen or keyboard built-in. It's not a laptop. It's a box you connect your screen to. How is this relevant?
Adding to this, I recommend Lewis Dartnell's The Knowledge: How to rebuild our world after an apocalypse to anyone who hasn't read it yet. It's well-researched and, among other things, shows how much modern civilization relies on artificial fertilizers, crude oil shipments, and chemicals. A breakdown of world-wide shipping would have devastating consequences for most countries.
I've had better success with viz.js. (Graphviz cross compiled to javascript).

https://github.com/mdaines/viz.js

I could never get the layouts in cytoscape to look balanced.
8 years ago, there weren't that many existing profiling tools.
So you see the non-free-and-open Raspberry Pi as a real development environment. That's nice.
I think Ubuntu 20.10 with Gnome 3.38 is a viable alternative to macOS, for developers.
And LTE modems. And sleep and suspend. Oh there is also this bug with screen locking that shows your desktop for few seconds. Oh and with dual graphic chipsets too.
This one? https://michaelbach.de/ot/lum-adelsonCheckShadow/index.html
The microservices fallacy – Part 2
The laser heats microparticles in the air ... so it must heat all the particles in its beam ... channeling the lightning to ... the source of the beam :-D
Show HN: We Made an Emoji Alethiometer Based on His Dark Materials
"The only thing left is bad user experience linux."

I'm not so sure Linux is that bad of a user experience anymore. I just switched back to Kubuntu from MacOS and Windows 10. The only app I really need that I can't run on Linux is Xcode for building iOS apps. I can't really think of one hardware feature that doesn't work better under Kubuntu than Windows or MacOS: printer works, bluetooth works way better, multiple displays work, sleep/suspend works, sound works better, USB works better (Linux will mount and connect to stuff that Windows and MacOS won't) and that's before we even talk battery. The biggest surprise is that I'm getting 4-5 hours of battery with Kubuntu out of a Dell XPS-15 (i7 w/ Radeon graphics and 4k display) when Windows would kill the rather large battery in about 35 minutes. Honestly, I've been pleasantly surprised, and I have to go do command line config stuff about as often as I did on the Mac.
Wow, this comment is awesome. It's really got a lot of attention. People are extremely engaged with my response.

Them: Why say logo?

Me: Because is logo.

Others: !!!!!!!!

What can explain this? Is it just people jealous that some "design" thing got to top of Show and onto front page, and they want to find a way to try to pretend it's wrong, and they see a bit of grey comment and they jump on thinking, "Yes, this makes me right!"

The comment cannot be faulted on its merits. It directly addresses the questions and provides interesting and useful information.

Seems people are unhappy with the dissent. Do these people dislike it when someone speaks up against someone who questions you?... So they expect silence? And the purpose of the negative score is because they want to try punish for...they're own misplaced feelings?

It's an honor that my success so infuriates a handful of haters, it makes the success seem even more significant than without the hate. But I actually feel bad for you. I don't want to think you suffer because I do well. I want to think you can be lifted up by it, too, but honestly, your feelings are not my responsibility. So if you feel threatened by it, as much as I wish that weren't the case, for your sake, there's nothing I can do about that for you, and that's only your responsibility. So, as much as it's illuminating, to be a first hand witness to this sort of pathology, it really shouldn't be a part of the medium. But because there's no way to remove it without losing the power of fading out comments...I may choose to speak up against it, like today.
Screenshots of what? Some shapes?
Partially inspired by exolymph: https://news.ycombinator.com/item?id=11767212
Before you read the story, I suggest that you look at the result in awe:

https://youtu.be/2NBG-sKFaB0

That whole game is 96k. Meaning it's roughly 0.07% of the size of an empty Electron app.
Yes, and it's especially awkward on smaller screens (MacBook Air, Low DPI external monitors...). Doesn't seem like a great decision unless they have some plans on making the UI touch ready.
But macs are not Computers...they are platforms, and they belong to the platform owner.
> Few projects ascend to the astral planes of immortality.

If even Xorg doesn't qualify, which are these few immortal projects?
It's no strawman. Fiction often depicts nuclear wars as near-extinction events with very few human survivors. Going by similar topics, it's safe to assume many people consider this a realistic scenario beyond just fiction.

The real strawman is in your comment though.

Who said nuclear war wouldn't be bad, just because it likely won't cause human extinction? Most people agree that regular wars are bad, and there never was any threat of extinction with them.

> But I digress, my point is that the rational community seems to have a smarty pants mentality

No, the rational community has a rational mentality. One can be against war without claiming it would be the end of the world. Hitting your toe is also not the end of the world but you probably still consider it a bad thing to happen.
Well, maybe the target was wrong but the idea was still quite good.
>latest version of Mac OS broke docker

That's wrong, Docker will run fine on M1/Big Sur after an ARM release and probably some patching. Not too different what you'd expect on any major OS release.