pingveno

@pingveno@lemmy.ml

Moved to @pingveno

This profile is from a federated server and may be incomplete. Browse more on the original instance.

pingveno,

Windows 7, first released in 2009, now well out of the most extended of support. Glad to see security of medical records is a top priority.

pingveno,

I tried Debian/Herd on a spare box. I think that lasted for what, a week? It was a less than complete experience, so I moved on to more fruitful experiments.

pingveno,

I wasn’t able to get a good read on it either. I didn’t spot anything obviously wrong from a technical standpoint, but I’m not a systems developer. It just doesn’t have much that distinguishes it on a non-technical level. The design is neat, but other OS projects like Redox have shot past it in a shorter period of time. That tells me something’s broken, whether it’s technical or social.

How are you parsing JSON on the command line?

I want to extract and process the metadata from PNG images and the first line of .safetensors files for LLM’s and LoRA’s. I could spend ages farting around with sed or awk but formats of files are constantly changing. I’d like a faster way to see a summary of training and a few other details when they are available.

pingveno,

Yeah, I’ve been learning some nushell. If you’re dealing with data, it’s just a great tool. So many sharp edges in the POSIX shell come from it being stringly typed, so having a strongly typed shell is extremely helpful.

pingveno,

Unfortunately the trains are like that, especially under a few circumstances:

  • Long distance
  • Single track
  • Rail congestion
  • Shared with freight
  • Long freight trains that are harder to pass
pingveno,

Yeah, passenger trains pretty much have no choice if there is a 2 mile freight train, a single track, and a short siding. The passenger train has to pull off and wait. There really need to be something like financial penalties for the rail carrier every time that happens. Something to make extremely long trains uneconomical.

One thing they’ve been working on in my neck of the woods on the Amtrak Cascades line is passenger train only track that runs in the same right-of-way. I’m not sure exactly how it works, but I assume that passenger trains run on it by default and switch to the freight rail or sidings when there is a passenger train going the other way. The Seattle-Portland leg is already congested between freight and passenger traffic. Additional track should aid on time performance for the eventual target of 13 round trips per day. They also got the line rerouted off a single track route that was a serious bottleneck.

pingveno,

Absolutely. I was hearing that Switzerland has excellent on time performance, to the point where 5 minutes is considered late (and that happens infrequently). For comparison, Amtrak uses a 15 minute threshold for lateness. This accuracy, the “integrated timetable” strategy that syncs trains with other trains and transportation modes, and frequent service allow for tight transfer times.

pingveno,

Tiling is especially great for working with multiple monitors. It is far easier to move windows between monitors and workspaces, split screens between two windows, and so on with tiling.

pingveno,

Replace the Pop! Shop with the COSMIC Store.


<span style="color:#323232;">sudo apt install cosmic-store cosmic-icons
</span><span style="color:#323232;">sudo apt remove pop-shop
</span>

Pop Shop is kinda slow. COSMIC Store is part of Pop OS’s new COSMIC Desktop Environment (DE). Everything is just a lot faster. It’s an alpha so there are a couple of rough edges, but it’s great overall.

Speaking of, get hyped for COSMIC. It’s a DE written in Rust. It’s not quite as complete as GNOME, but hopefully it will have better performance than the current GNOME mod that forms Pop’s UI.

pingveno,

Mandrake (2004) -> Gentoo -> Ubuntu (I think?) -> Arch -> Ubuntu -> NixOS -> Pop!_OS

I liked fiddling with the base system more when I was younger, but now I want at least the base system to just work. It gets old hunting through wikis to get basic functionality fixed.

pingveno,

Some GUI package applications use the store metaphor. Pop! OS uses Pop Shop currently and will use COSMIC Store in 24.04 without transactions being involved.

pingveno,

Bold words to describe a user friendly metaphor.

pingveno,

Counterpoint: you needed all those different ports because we didn’t have USB-C and wifi yet.

pingveno,

I’m curious where COSMIC will land. It takes the previous iteration of Pop!, which used a lot of extensions on top of GNOME, and instead uses Rust as its main implementation language. So far, its applications have seemed very snappy, but that of course doesn’t mean that they are light on the RAM usage when it comes to a 2GB computer.

Along those same lines, the Lapce IDE is fairly lightweight. It’s no vim, but it is a very good GUI. I am running it on my 10 year old laptop, 8 GB, and it is noticeably more performant than VS Code on a new computer.

pingveno,

There isn’t a federal standard, but there is a common state-level standard in the US with class 1, 2, and 3. Class 1 cuts out at 20 mph and must be assist-only. Class 2 also cuts out at 20 mph, but may also have a throttle that works without peddling. Class 3 cuts out at 28 mph and may or may not have a throttle. Technically there are laws around not taking class 3 e-bikes in some spots, but I have found with mine as long as I ride it like a class 1 (15-20 mph max), no one bothers me. However, none of them require a license or insurance.

pingveno,

Personally, I prefer a helmet mirror. Riding against traffic means that you reduce the reaction time for drivers. If you’re going 15 mph and the driver is going 30 mph, you are approaching at 45 mph. If you are both going the same way, the driver is approaching at 15 mph, giving three times more time to react. It also tends to place you in spots on the road where you are not expected. A helmet mirror isn’t as good as a straight-on view, but the tradeoffs are worth it.

pingveno,

Yes, yes we do.

pingveno, (edited )

I was at PyCon 2024 a few days ago where the founder of Black Python Developers gave a keynote talk. He talked about going to one gathering after another and being one of just a handful of Black attendees. Or how the few Black leaders are often asked to fill an impossible number of posts because there just aren’t enough of them to fulfill the demand. So yes, having an organization to help foster inclusion of people who are largely frozen out of the community is necessary. Someday this won’t be necessary, but for now it is.

What is the best model of used ThinkPad to purchase?

I’m thinking of picking up a used ThinkPad on eBay for cheap to serve as my daily driver. I’ll likely run LMDE, and primarily use it for web browsing, office programs, coding, and FreeCAD. Any recommendations on which model would best hit the sweet spot of capability vs price?

pingveno,

Yeah, I bought my first laptop, a Thinkpad T43, in 2005. It had something like 512MB-1GB of RAM, a Pentium M processor, and 156 GB of HDD (not SDD). Very good for the time, but there are Raspberry Pi’s with better specs these days.

pingveno,

I tried the hybrid that works under UEFI and legacy BIOS. It didn’t work on at least one system. Did you try UEFI only?

pingveno,

Nah, let’s be honest, this is so that parents can make sure precious little Bobby doesn’t catch The Gay. LGBT themed cinema is going to let you know, this is for making sure there isn’t a trace of homosexuality to darken Bobby’s pure little heart.

pingveno,

Yeah, I have it for personal photos that will never be shared. If I am traveling, I want a record of where a given photo was. But those aren’t photos I am sharing, and the ones I do share get their metadata stripped.

pingveno, (edited )

pipx is also a good way to install a virtualenv and link up any executables that the package exposes.

Edit: So installation would be:

pipx install awktutorial

And it would automatically make the executable available to the user as long as pipx’s bin directory is in the user’s PATH.

pingveno,

I’m pretty sure Microsoft can tell them to fuck off. Maybe they pay millions, but even then MS has to weigh the possibility of bad press and lawsuits against a relatively paltry sum. The larger problem will be if someone finds a workaround or simply ignores the terms of service, I think. This article talked about the “United States Police Department,” but there is no such department. Law enforcement in the US is highly fragmented across the federal, state, and local levels. Any of them could just decide to break the terms of service.

pingveno, (edited )

There’s no level of package management, binary or source. There’s no practical way to uninstall or upgrade. It’s a toy for learning about Linux, which is great, but don’t expect it to have anything else.

Edit: I seem to remember some third party package managers, but then you’re going beyond the base level documentation. And at a certain point, then you might as well just use a distro. If you want to have a very minimal package manager so you can learn about package managers, sure, it’s a learning tool.

pingveno,

I found it was useful for learning bits and pieces of the extra knowledge around working on a Linux system. Yeah, you’re not going to learn how a kernel works or how anything about data structures. But you will learn how to apply a patch, be exposed to a lot of work with the shell, and come to appreciate the work that goes into a modern distro.

pingveno,

Though a Rust clone of sudo that operates in the same way will still have the same problems.

pingveno,

I’m unclear from the documentation, does pkexec work under non-GUI contexts?

pingveno,

I have one from 2015 that is literally falling apart, but it still works okay. I’m going to be sad when I have to finally give up on it. Unfortunately, it’s not great for repair. I was going to replace the keyboard because some keys are malfunctioning, but it requires basically pulling apart the whole computer including some parts that are taped on.

pingveno,

Could? Yes!

Will? Well, not in the US at least. :(

pingveno,

Is it too much to ask for a car that doesn’t spy on me, is reasonably comfortable, is efficient, and maybe has a few extra “smart” features to help me not run into other people? I guess my bike will do for now.

Legitimate interest? (lemmy.world)

I never consent to give my data away or being tracked, but how do you deal with so called legitimate interest? I tried several times to untick them but it is a long list (in fact at the bottom there is a “vendors” link with even longer, much longer list. It took me 10 minutes to get to the bottom of it once)....

pingveno,

I’ve seen judges let offenders off light on worse arguments. Unfortunately.

pingveno,

The committee that heads it and sets policy has 5 members. It has hundreds of employees. This is comparable to other key commissions like the Federal Election Commission.

pingveno,

The results aren’t going to be that skewed. They operate on a simple principle. There are many features available on a modern web browser with a high degree of variability. Even not having a feature is itself a piece of a fingerprint. The combination of those many, many features is going to produce a high degree of uniqueness for almost any browser.

pingveno,

including some of Rust’s better ideas than to throw it away

The problem is that you can’t just tack Rust’s ideas onto an existing language. Generics, traits, lifetimes, borrowing, sum types, and match are key Rust features, but took considerable design time before Rust even reached 1.0. They interlock to produce a pleasant development experience. You can’t just attached them to C and call it a day.

I don’t think Rust is wholly bad, to be clear, but it seems over-engineered to me, and the fact its useful new features don’t even completely work (see rust-cve) isn’t very encouraging.

Most of the CVE’s listed there are in unsafe code in the standard library. At some point, some code is going to have to have to implement the tricky cases. In C, this code is common place, ready for any coder to run into problems. In Rust, these are bizarre edge cases that most people would never trigger.

I haven’t heard Jonathan Blow’s take yet, but one thing a person pointed out is that he tends to prefer a style that uses a lot of shared state. Rust explicitly discourages that style, considering it a source of bugs.

I encourage you to give Rust a try. It never hurts to have another language in your arsenal. Who knows, you might even find it fun.

pingveno,

Yup. Fretting over a light daemon while running a hundred browser tabs is really missing the forest for the trees.

pingveno,

Who watches the watcher?

pingveno,

I tried for a bit and it was great, no complaints. However, I was having issues getting NixOS set up as quickly as I would like, so I went back to Pop!_OS. I’m looking forward to the next release of Pop, which will have full Wayland by default.

pingveno,

I’ve thought about making the leap, but this is a work machine so I want to make sure it’s rock solid.

pingveno,

Yes, but some of us aren’t the everyday user.

pingveno,

Love me some fish! Though for more complex data processing, I’m working on learning nushell. Being able to work with more complex data structures is amazing.

pingveno,

Usually whatever fits in best with the DE I’m using. I’m on Pop!, so that’s Gnome Terminal currently. I’m excited to see when System76’s Pop!_OS’s COSMIC Desktop will bring with an alacritty-based terminal emulator.

pingveno,

I’m going to be honest, as long as the terminal does its job reasonably well and with good readability then I’m pretty much satisfied. It’s one of those tools that I want to just work well the first time. I’ve become a man of simple tastes in my (not so) old age.

pingveno,

Right. I mean something like an embedded terminal in an IDE that has full shell access to the host environment.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • fightinggames
  • All magazines