marmarama

@marmarama@lemmy.world
0 Post – 33 Comments
Joined 1 years ago

Do we have to bring this up again? It's just boring.

systemd is here and it isn't going anywhere soon. It's an improvement over SysV, but the core init system is arguably less well-designed than some of the other options that were on the table 10 years ago when its adoption started. The systemd userspace ecosystem has significantly stifled development of alternatives that provide equivalent functionality, which has led to less experimentation and innovation in those areas. In many cases those systemd add-on services provide less functionality than what they have replaced, but are adopted simply because they are part of the systemd ecosystem. The core unit file format is verbose and somewhat awkward, and the *ctl utilities are messy and sometimes unfriendly.

Like most Red Hat-originated software written in the last 15 years, it valiantly attempts to solve real problems with Linux, and mostly achieves that, but there are enough corner cases and short-sighted design decisions that it ends up being mediocre and somewhat annoying.

Personally I hope that someone comes along and takes the lessons learned and rewrites it, much like Pulseaudio has been replaced by Pipewire. Perhaps if someone decides it needs rewriting in Rust?

11 more...

The US (and the rest of NATO) is being cautious for a reason, and it's not because they're using Ukrainians as "meat shields."

NATO stocks of war materiel were at historically low levels before February 2022, and it's difficult for the US to commit fully when China is sabre-rattling over Taiwan. That's Xi's (and Kim Jong-Un's, to a lesser extent) gift to Putin. Sabre-rattling keeps the US from engaging fully in Ukraine, even though China won't be ready to invade Taiwan for several years yet.

Unfortunately for Ukraine, it'll be several years before NATO materiel stocks start to grow above 2022 levels, but they will grow.

The question is, will they grow fast enough?

Personally I'm predicting world war in 2027-28 unless the West pulls its finger out.

5 more...

I'm a big fan of Kubernetes, and for larger projects the flexibility and power it brings is unrivalled. But for smaller projects, assuming equal levels of competence, delivery teams using managed Kubernetes are almost universally later and have more issues than teams that use simpler solutions. Container-as-a-service solutions like GCP CloudRun or AWS FarGate help somewhat, but are not cheap for a given amount of compute time.

Terraform (or IaC in general) absolutely has a place, because even if you use Kubernetes, most projects have more infrastructure to manage than just the cluster - at the very least, lemmy.world has a CloudFlare proxy to manage - and clicking buttons in a management portal is not a repeatable way of deploying that, or deploying the Kubernetes clusters themselves.

Ansible also has a place, particularly if you're deploying onto bare metal. I wouldn't use it for new deployments unless I had bare metal to configure and maintain, but lemmy.world is deployed onto a bare metal server as I understand it. Plus, the most effective tooling is generally the one your team understands.

Nice to see Google doing the responsible thing here, because Apple certainly didn't when AirTags were launched.

I still think having cheap, socially acceptable, easily-accessible, highly effective tracking devices with months or more of battery life is something out of dystopian fiction though. It's not good for society in the long run.

1 more...

Ungulates. Because who doesn't like a hoofed animal?

My client machines are even-toed ungulates (order Artiodactyla) and my servers/IoT machines are odd-toed (order Perissodactyla). I'm typing this on Gazelle. My router is called Quagga, both after the extinct zebra subspecies and the routing protocol software (I don't use it any more but hey, it's a router).

Biological taxonomy is a great source of a huge number of systematic (and colloquial) names.

I can only imagine they're shutting it down to replace it with something with different branding, based on an LLM. Microsoft has gone all-in on LLMs and I'm sure they'd love some of that virtual assistant action if they were able to differentiate themselves.

2 more...

The real meat shields in the war in Ukraine are Russian conscripts. At least Ukrainian conscripts have the conviction that they are defending their country's internationally recognised borders.

Apple users have been sending text messages interchangeably between their phones and computers/tablets for years.

As have Android users. Microsoft Phone Link/My Phone Companion and KDE Connect have supported this for years on their relevant PC platforms. The Phone Link Android app is even preinstalled on Samsung devices. There's a teensy bit of setup but nothing complicated. KDE Connect even supports stuff like using the phone as a touchpad, remote keyboard, or media/presentation controller.

If your PC is a Chromebook then you don't even need these. If you sign into the phone and Chromebook with the same Google account, the integration just works, much as it does on Apple devices.

Most of your arguments can be boiled down to "everything is really slick if you use an all-Apple ecosystem". Which is fine, but the same can be said about Android - if you use an all-Google ecosystem with Pixels, Chromebooks and Google Workspace then most, if not all of your complaints about Android go away. Pixel Android is more consistent and less buggy than most vendor versions of Android. Integration with Chromebooks works out of the box. Google Workspace MDM is simple and straightforward, and you don't really need to buy a separate MDM solution.

The difference is that Android at least makes a decent effort to cater for a heterogeneous ecosystem. With Apple, if you're not entirely onboard with an all-Apple ecosystem then it starts getting messy quickly.

1 more...

If you're on-call 24/7/365 without a break, and it's not because you have equity in the company, then find a new job.

If you don't, then your health (physical and mental) will eventually force you to leave anyway. I did it at a startup where I was employee #1 (no equity for me), just me and the founders, and I nearly had a nervous breakdown from it, and ended up quitting from stress. Afterwards I decided I would do no more than 1 week in 3, and life got better after that.

Nvidia drivers have (slightly) more timely support for the latest cards, and more mature support for non-3D uses of the GPU, especially scientific computing. To a large extent they are the same code as the Windows drivers, and that has positives in terms of breadth and maturity of support.

For everything else, the AMD drivers are better. Because they are a separate codebase from the Windows drivers, and are part of the de-facto Linux GPU driver stack Mesa, they integrate much better into the overall Linux experience, especially around support for Wayland. Unless you have an absolutely bleeding-edge card, they "just work" more often than the Nvidia drivers. If you like doing serious tinkering on your Linux system, then the AMD drivers being fully integrated and having the source available is a major win. Also, it used to be that the Nvidia drivers did a much better job of squeezing performance out of the hardware, but today there's very little in it, and the AMD drivers might even be a little more efficient.

I've got both AMD and Nvidia GPUs currently in different machines, and I much prefer the Linux experience with AMD. I don't think I'll be buying another Nvidia GPU unless the driver situation changes significantly.

FWIW I don't stream so I can't comment on the exact situation, but I have used the video encode hardware on AMD cards via VAAPI and it was competent and much faster than x264/x265 on the CPU. I think OBS has a plugin to use VAAPI (which is the "standard" Linux video decode/encode acceleration interface that everyone but Nvidia supports).

What? Tech companies the world over have people on 24/7 on-call rotas, and it's usually voluntary.

Depending on the company, you might typically do 1 week in 4 on-call, get a nice little retainer bonus for having to have not much of a social life for 1 week in 4, and then get an additional payment for each call you take, plus time worked at x1.5 or x2 the usual rate, plus time off in lieu during the normal workday if the call out takes a long time. If you do on-call for tech and the conditions are worse than this, then your company's on-call policies suck.

I used to do it regularly. Over the years, it paid for the deposit on my first house, plus some nice trips abroad. I enjoyed it - I get a buzz out of being in the middle of a crisis and fixing it. But eventually my family got bored of it, and I got more senior jobs where it wasn't considered a good use of my energies.

Your internet connection, the websites and apps you use, your utilities - they don't fix themselves when they break at 0300.

If TSMC's approach to on-call is bad, then yeah, screw that. I don't see anything in the article that says that one way or the other. But doing an on-call rota at all is a perfectly normal thing to do in tech.

4 more...

Bit of a nitpick, but the comparison with the reversing of the MS Office formats is a bit tenuous, and somewhat revisionist.

Competitors and open-source applications were reverse-engineering the Office file formats long before Apple iWork was a thing, and arguably no-one really gets it right because in order to get it perfect you'd have to reproduce the Office application layouting engine exactly, bug-for-bug. Even Microsoft doesn't get it 100% from release to release.

I doubt they'd have to retire the phone - digital radio power levels are normally pretty easy to change in the radio firmware. Which also means it's pretty easy to change, intentionally or unintentionally, in a later OS version.

Perhaps Apple chose to cheat to improve reception after mandatory testing was complete and the phone was available to buy, figuring they'd never get caught out. Perhaps Apple didn't retest with later OS versions and it was unintentional. We will probably never know.

British English voices those letters in most accents. I think the two silent letters is just a North American thing.

Similar to herb.

3 more...

Converted-to-Bluetooth Stadia controller.

It's actually a really nice controller. The ergonomics are great for my big meaty hands, it's got some weight to it and feels really solidly built. The heft means the vibration really has some kick to it. The battery life is really good too - it was specced for having Wi-Fi on all the time, so now it's running only a little Bluetooth LE radio, the battery is massive. Even when it runs down, the charge rate is quick - full in about half an hour, and then good to go for weeks. Again, probably because it was specced for Wi-Fi, the radio circuitry is way above average and the range is stupid - I can control a Steam Deck from two rooms away, through two solid brick walls, something none of my other controllers can do.

The sticks are accurate and don't drift, the buttons are pretty good, and the D-Pad is a bit stiff but perfectly serviceable. My one significant complaint is that the springback on the triggers is way too light, which makes it difficult to be subtle with the triggers, a little annoying for driving games.

Still, if you see one at a sensible price, they're a steal.

2 more...

At least for me, there is a big difference between naming things at home and naming things for work.

Work "pet" machines get systematic names based on function, location, ownership and/or serial/asset numbers. There aren't very many of them these days. If they are "cattle" then they get random names, and their build is ephemeral. If they go wrong or need an upgrade, they get rebuilt and their replacement build gets a new random name. Whether they are pets or cattle, the hostnames are secondary to tags and other metadata, and in most cases the tags are used to identify the machines in the first instance, because tags are far more flexible and descriptive than a hostname.

At home, where the number of machines is limited, I know all of them like the back of my hand, and it's mostly just me touching them, whimsical names are where it's at.

Somewhere between 9000 and 42000 civilians depending on estimates, and probably 20000-30000 military, again depending on estimates.

1 more...

The WiFi card is probably a Realtek 8852AE, which has become very common in laptops since 2021. Unfortunately Realtek driver support tends to lag quite a bit.

If you want to run Ubuntu Desktop 22.04, then you're probably best off waiting a few weeks for the Ubuntu Desktop 22.04.4 point release. It's due sometime this month. It will boot and install an "HWE" (Hardware Enablement) kernel and drivers, that are based on the kernel from Ubuntu 23.04, and therefore should work out of the box with your WiFi card.

While it's possible to upgrade an existing Ubuntu 22.04 installation with the latest HWE kernel, doing it by downloading the relevant packages on another machine and moving them across using a USB stick is going to be somewhat frustrating if you've not done it before. You'll certainly learn a few things, but it may not be an enjoyable experience. I'm a grizzled Linux veteran, and I'm pretty sure I'd end up forgetting to download one or more packages and having to swap back and forth between machines.

In the meantime, I would just continue to use Ubuntu 23.04. In fact, if it was me, I would probably just stick with 23.04, upgrade to 23.10 and then subsequently 24.04 when they become available. What you do once you're on the 24.04 LTS release is up to you. By that time, other distros will probably also work out of the box too.

I pulled them from the table at https://en.wikipedia.org/wiki/Casualties_of_the_Russo-Ukrainian_War#Total_casualties which seems to be kept fairly up-to-date with the reasonably credible claims, including the Meduza estimates. Original references are in the Wikipedia article.

I added the 30000 upper bound as a fudge for the Ukrainian military deaths because the one somewhat credible estimate from the US that table lists only covers up to May 2023. While Ukraine has been on the offensive since then, I don't think increasing the KIA numbers by more than 50% in 2 months is credible even under the circumstances.

It is worse than uncompressed, but 990Kbps LDAC is the closest codec to totally transparent I've heard for Bluetooth audio. AptX HD is nearly as good to my ears, and is better than 660Kbps LDAC. The differences are very small though, especially when compared with the differences on the analog side, e.g. the amp, and particularly the headphone design.

Apple side-steps the problem by, at least when you're listening to Apple Music, simply sending the AAC stream as-is to the headphones and has them decode the audio. I don't know why that isn't a more common approach.

I'm still somewhat bemused that we're talking about Bluetooth codecs at all. It surely can't be that difficult technically to get 1.5Mbps actual throughput on Bluetooth and simply send raw 16-bit/44.1Khz PCM. 2.4Ghz WiFi is capable of hundreds of times that speed. Bluetooth has been stuck at the same speeds for decades.

5 more...

I have a Radsone ES100 Bluetooth DAC/headphone amp, and that supports LDAC, multipoint, and doesn't compromise the LDAC bitrate when you have multipoint enabled. You can even leave it plugged in as a USB DAC and still use multipoint BT with LDAC, and it switches smoothly between the sources depending on which device started playing a stream most recently.

I was distinctly underwhelmed by the BT implementation when I got my Sony XM4s, it's kinda weak by comparison.

2 more...

Yeah, I agree.

I bought them for their noise cancelling primarily, and they're excellent at that, but otherwise they're not great. The un-EQed frequency response is terrible for headphones in their price range: flabby, wildly over-exaggerated bass and no mids at all. Running without EQ I can barely hear lyrics - every singer sounds like they're mumbling underwater. I've had $20 IEMs with better tonal balance. They respond well to EQ but the on-board EQ doesn't have enough frequency bands to even come close to fixing them. Wavelet on Android doing EQ duty makes them listenable. Even when you do EQ them properly, they still sound a bit dull and lifeless.

No idea how they got so much praise when they were launched. The power of marketing budgets I guess. For a while I was gaslighting myself thinking I had a faulty pair or maybe there was something going wrong with my hearing, but having heard another pair, and doing comparisons with my other headphones - most of which are far cheaper - I realised that no, they're just not very good as headphones.

I can only comment on my experience with my own equipment and ears, but in my experience, 990Kbps LDAC is noticeably more transparent than 256Kbps AAC for Bluetooth audio.

I can fairly reliably guess whether or not I remembered to switch my Sony XM4s out of multipoint mode the last time I used them (when in multipoint pairing mode LDAC is not supported and 256Kbps AAC is usually what gets negotiated). The difference is small, but over a few minutes of listening, the sonic signature when it's using AAC is just a little bit "off" and my ears don't like it as much.

Could I ABX the difference using the usual ABX setup with short samples of music I'm not familiar with? Probably not. Can I tell the difference over an extended period using music I know well, and that I often listen to uncompressed? Yes, pretty easily.

LDAC is not a particularly sophisticated codec, but it doesn't have to be when it has a 990Kbps bitrate. It's also possible that the FDK-AAC codec that I think both Pipewire and Android use for real-time AAC encoding is not the best tuned for 256Kbps CBR. AIUI in 256Kbps CBR mode, FDK-AAC has a hard low-pass filter at 17KHz, and I can still hear above 17KHz.

I wouldn't say the Pixel line's hardware is rubbish, more that Google is focused on having a polished "it just works" experience rather than trying to differentiate themselves by having the fastest, biggest, newest hardware in the Android market.

The mobile market hit the "diminishing returns" point quite a while ago and for a lot of people - probably the majority - the only reasons to upgrade are security updates ending, or because a non-replaceable battery is getting to the end of its life.

I used to upgrade every 12-18 months religiously, but now my Pixel 5 is coming up on 3 years old and I'd happily keep it another few years with a battery replacement, if the updates weren't going to end shortly.

MacOS font rendering is dreadful on non-Retina/HiDPI displays. If you want similar rendering on Linux, turn font hinting off, and set antialiasing to greyscale only, no subpixel rendering. It will look very similar, if not identical, to modern MacOS.

For non-Retina displays I vastly prefer FreeType's subpixel antialiasing and "slight" hinting to what MacOS does.

1 more...

Most Fediverse users are Western. The Western world has plenty of media diversity, and you can find virtually every viewpoint you can imagine represented there. Open criticism of government, all the way to the top, is a normal part of everyday life, and media outlets regularly criticise each other, and themselves, for bad takes and poor journalism.

Because of the diversity of media opinion, it is harder to push an agenda, so mainstream Western media does it, by and large, with substantial subtlety, building trust first, and seeding ideas over long periods of time.

Russian and Chinese media aimed at a Western audience seems brash and full of bad takes by comparison. It is rarely, if ever, critical of itself or of its own government, and also rarely provides any independently verifiable evidence for its claims. To a Western audience used to Western media, it appears so one-sided that it is laughable. That is why it is easy for people in the West to dismiss it as propaganda.

You could probably write a PhD thesis on why media outlets in China and Russia find it difficult to play the Western media game, but I think the main issue is this: If you live in a society that doesn't itself value diversity of opinion and thought, it is difficult to produce media for a society that does value that without it seeming off-kilter. It's a bit like the difference between being fluent in another language and "feeling" the language. To a native speaker listening to it, the difference is really obvious.

In some of the accents around here, blood, wood and food do rhyme, more or less.

The last syllable is usually pretty subtle, like the br- in bread, but very quietly voiced. I'd say I hear it maybe 75% of the time I hear the word. Currently in Yorkshire, via SW England, London and NW England. The syllable is a lot less subtle in a West Yorks accent!

Did you learn French at GCSE level? Possibly there's a relationship between that and pronouncing the re like that in French-derived words. Cadre is another example. If it is related to learning French, then it's probably on the decline as French teaching is on the decline and foreign languages are no longer compulsory at GCSE.

The UI font in MacOS is called SF Pro. If you have access to a Mac you can simply copy the .otf font files over to Linux (they are in /System/Library/Fonts on MacOS) and install and use them there.

If you don't have access to a Mac, Google Roboto Sans is a very similar design (it was the default Android UI font for several years) and if it's not already installed by your Linux distro, it's freely downloadable.

That's only true if China gets no further than attempting an amphibious landing on Taiwan. If China succeeds in creating a bridgehead on the island, then many of the same land-based weapons and systems that the US is currently supplying to Ukraine, or that Ukraine would like to have, come into play, including 155mm artillery, rocket artillery, tanks, air defence missiles, and land-based multirole aircraft like the F-16.

From a war planning point of view, unfortunately you can't assume that China's amphibious landing would fail. In fact, I think it's more likely that China would succeed in establishing some kind of foothold on the island in the early stages of a future Taiwan war than not. If the amphibious force is large enough, it would be very difficult to eliminate all the landing craft, especially if there is a successful misdirection.

This is without considering that North Korea could also simultaneously launch a land-based attack on South Korea to dilute any US response in either theatre.

I could well be wrong about the AAC passthrough, and I should have hedged that statement with "allegedly" as I've not tested it myself.

To your other point though, I disagree - there are plenty of ways you could pass through an unchanged AAC bitstream, but still mix in other sounds when required. For example, having the sender duck the original bitstream out temporarily and send a mixed replacement bitstream while the other sound is playing. Or (and this would only work if you control the firmware on the receiver, but if you're using Apple headphones with an Apple device, that's not a problem) sending multiple bitstreams to the receiver and letting the receiver mix them.

If pro-Russian media come up with a decent methodology to independently estimate Ukrainian losses, then I'm sure some discussion can be had around that.

Don't expect the opposition to do the work for you.

1 more...

Have you tried turning off Wi-Fi power management on the Deck? The Deck's Wi-Fi is normally pretty good, but the Wi-Fi power management occasionally has issues with some combinations of router chipset and router settings, which can cause symptoms like what you're experiencing.

Full instructions are here: https://seekingtech.com/how-to-disable-wi-fi-power-management-on-steam-deck/