abhibeckert

joined 1 year ago
[–] abhibeckert@lemmy.world 1 points 2 months ago

Sure - but in the real world that mostly only happens when the documentation is an afterthought.

[–] abhibeckert@lemmy.world 2 points 2 months ago* (last edited 2 months ago) (1 children)

Not sure about jellyfin, but I assume it uses ffmpeg? The M1 is fast enough that ffmpeg can re-encode raw video footage from a high end camera (talking file sizes in the 10s of gigabyte range) an order of magnitude faster than realtime.

That would be about 20W. Apparently it uses 5W while idle — which is low compared to an Intel CPU but actually surprisingly high.

Power consumption on my M1 laptop averages at about 2.5 watts with active use based on the battery size and how long it lasts on a charge and that includes the screen. Apple hasn't optimised the Mac Mini for energy efficiency (though it is naturally pretty efficient).

TLDR if you really want the most energy efficient Mac, get a secondhand M1 MacBook Air. Or even better, consider an iPhone with Linux in a virtual machine - https://getutm.app/ - though I'm not sure how optimsied ffmpeg will be in that environment... the processor is certainly capable of encoding video quickly, it's a camera so it has to be able to encode video well.

[–] abhibeckert@lemmy.world 3 points 2 months ago* (last edited 2 months ago)

This. My Mac has 16GB but I use half of it with a Linux virtual machine, since I use my Mac to write Linux (server) software.

I don't need to do that - I could totally run that software directly on my Mac, but I like having a dev environment where I can just delete it all and start over without affecting my main OS. I could totally work effectively with 8GB. Also I don't need to give the Linux VM less memory, all my production servers have way less than that. But I don't need to - because 8GB for the host is more than enough.

Obviously it depends what software you're running, but editing text, compiling code, and browsing the web... it doesn't use that much. And the AI code completion system I use needs terabytes of RAM. Hard to believe Apple's one that runs locally will be anywhere near as good.

[–] abhibeckert@lemmy.world 2 points 2 months ago* (last edited 2 months ago) (3 children)

Here's a tip on good documentation: try to write the documentation first. Use it as your planning process, to spec out exactly what you're going to build. Show the code to people (on GitHub or on a mailing list or on lemmy or whatever), get feedback, change the documentation to clarify any misunderstandings and/or add any good ideas people suggest.

Only after the docs are in a good state, then start writing the code.

And any time you (or someone else) finds the documentation doesn't match the code you wrote... that should usually be treated as a bug in the code. Don't change the documentation, change the code to make them line up.

[–] abhibeckert@lemmy.world 10 points 2 months ago* (last edited 2 months ago)

You don't need metaphors. It's pretty simple.

The Spotify app should have a button that takes you to their website, where you can sign up for a premium subscription.

It doesn't have one because Apple would kick Spotify out of the App Store.

Also - all other links to the Spotify website (support, terms of service, privacy policy, etc) take you to pages where the main navigation of the website has been removed so that you can't find the signup page. Because again, Apple bans that. For the longest time apps have not allowed to have any way for users to find a signup form on a website.

That policy is now illegal in the EU (and a growing list of other countries) and Apple's attempt at compliance is a new API - only available in Europe - that informs the user that they might be a victim of theft, fraud, etc before they get taken to a website that is deliberately sandboxed... supposedly to prevent theft/fraud/etc but more likely because it makes it really difficult for Spotify to link that signup with an existing free account.

Oh and if Spotify opts to expose users to see that horror show... they'd have to pay tens of millions of dollars per year to Apple. They have so far refused to do so, meaning the new regulations have failed (well, they were failing, until the EU declared Apple's compliance efforts insufficient).

[–] abhibeckert@lemmy.world 2 points 2 months ago

Have they released who is going to pay for these power plants? Because if they put it on my monthly bill, I’m going off grid and I bet half the rest of the country will too.

[–] abhibeckert@lemmy.world 0 points 4 months ago* (last edited 4 months ago) (1 children)

It just hasn’t hit that Twitter-level critical mass of users

Twitter used to be bigger than it is now and it also used to have less spam. So clearly size isn't the problem.

The problem with twitter is Musk fired all the people who spent their day figuring out how to hide (or just delete) shitty content.

[–] abhibeckert@lemmy.world 1 points 4 months ago* (last edited 4 months ago)

The big difference is exclusive content. Music has a few exceptions but in general sign up for one service and you can listen to anything.

That forces music services to compete on the overall experience (and price), while video services pretty much exclusively compete based on what content is available and literally none of them offer all of the things a person wants to watch. So nobody will ever be happy with any streaming service.

[–] abhibeckert@lemmy.world 0 points 4 months ago* (last edited 4 months ago) (3 children)

Some of us don't like watching beloved musical instruments destroyed. We also don't like how so many people think watching TikTok on an iPad is "music".

When my father died, my sister didn't give a shit about the house. She just wanted the guitar - which our father (a drummer) inherited when the lead guitarist in his band died. The guitarist had two dozen guitars but was his favourite.

It's close to a century old, nobody knows what trade secrets the luthier who created it used to get that sound, and no other instrument sounds the same. It's been used on stage in countless live performances on every continent in the world and has been used to record over a hundred songs in professional recording studios. It was used to play music at the funeral of both the previous owners and it's literally impossible to replace.

I get it, not every instrument is that special... but this instrument wasn't that special either when the first guitarist ever picked it up. Nearly all instruments have the potential to become that special... and Apple created a video dedicated to destroying a bunch of them while also implying that listening to an MP3 is as good as an actual instrument. No way.

[–] abhibeckert@lemmy.world 0 points 4 months ago* (last edited 4 months ago) (1 children)

TLDR - they don't want a transition from combustion engines to electric cars. They are saying building electric cars is bad for the environment.

It's not really targeted at Tesla - what they want is for everyone to start using public transport/etc.

[–] abhibeckert@lemmy.world 0 points 4 months ago* (last edited 4 months ago) (1 children)

Everything-but-Windows?

No. Any device that implements a certain DHCP feature is vulnerable. Linux doesn't support it, because most Linux systems don't even use DHCP at all let alone this edge case feature. And Android doesn't support it because it inherited the Linux network stack.

I would bet some Linux systems are vulnerable, just not with the standard network packages installed. If you're issued a Linux laptop for work, wouldn't be surprised if it has a package that enables this feature. It essentially gives sysadmins more control over how packets are routed for every computer on the LAN.

[–] abhibeckert@lemmy.world 0 points 4 months ago* (last edited 4 months ago) (4 children)

In less than two years, the rechargeable lithium-ion battery found in your AirPods is due to die an untimely death.

Bullshit. I got four years out of each of my pairs and I used them several hours a day. Also replacing the battery when it does wear out is is something like 50 bucks. Sure, you can't do it yourself but Apple will give you a refurbished pair, and they will recycle your old battery.

And they provide free recycling for all their products — you're basically paying for it to be recycled when you buy AirPods and any that go into landfill that's entirely the customer's fault.

No wired headphones I've ever owned lasted even close to that long - the cable eventually fails with several hours per day of swinging around and being packed tightly into your pocket.

That said, I've switched to bone conduction headphones now, and will probably never own another pair of airpods unless they go down the same path.

view more: next ›