@Morphit@feddit.uk avatar

Morphit

@Morphit@feddit.uk

This profile is from a federated server and may be incomplete. View on remote instance

Morphit ,
@Morphit@feddit.uk avatar

and having seen quite a few 'shops in my time.

Morphit ,
@Morphit@feddit.uk avatar

That's supposed to be travelling at 153,545 mph, so not even half the speed of Aladdin and Jasmine. Also, the Parker Solar Probe is in space.

Morphit ,
@Morphit@feddit.uk avatar

Ah, come-on, why do you think Eliza could do that 60 years ago?

Does that question interest you?

Morphit ,
@Morphit@feddit.uk avatar

I find it odd, because venv is a "Suggested package", actually. It isn't in the list of new packages that will be installed with python3 by default.

I think the next major release of apt is supposed to be easier to read. Unless Debian neuter it.

Morphit ,
@Morphit@feddit.uk avatar

The pressure in the Apollo 1 capsule was 16.7 PSI or 1.14 atmospheres of pure oxygen. That's almost 5.5 times the partial pressure of oxygen at sea level. At 5 PSI, the Polaris crew will only be at 1.6 times the partial pressure of oxygen at sea level.

Morphit ,
@Morphit@feddit.uk avatar

Whichever one has the smallest relative path to the workbook using it? How does it find the workbook if it isn't open already?

Morphit ,
@Morphit@feddit.uk avatar

Don't forget that there's a hidden system junction at C:\ProgramData\Application Data that points to C:\ProgramData. Because everyone loves loops in their filesystem. Of course C:\Users\All Users is also a junction to C:\ProgramData. This kills updatedb in WSL.

Morphit ,
@Morphit@feddit.uk avatar

The one-liner: *parses HTML with a regex*

Morphit , (edited )
@Morphit@feddit.uk avatar

It should use systemd-inhibit (or whatever the dmesg dbus service is) to tell the system it's busy. How else would the system know?

Morphit ,
@Morphit@feddit.uk avatar

Not every program or service on your system

Of course not, but plenty do when running a task where the user is unlikely to make inputs and also doesn't want the machine to sleep. Firefox can call org.gnome.SessionManager.Inhibit over dbus with the "video-playing" description, same for VLC. Transmission can call that interface while a transfer is in progress (with a config toggle). It seems a pretty reasonable default for samba to do the same while a long-running file transfer is ongoing.

[Samba] doesn’t copy your files for you.

Sure but it has to know when a transfer is running. It would be nice to have the option to inhibit sleep if the transfer is runs for a significant amount of time.

Morphit , (edited )
@Morphit@feddit.uk avatar

For sure, I don't know the internals of Samba, but surely the server knows that it's serving a file no matter how the client accesses it. I don't think a few dbus messages would cause issues.

I have my own service that looks at the network traffic via /proc and a few other things. That sends the system to sleep itself if everything looks truly idle.

I do think it would be nice for a file server like samba to inhibit sleep using the standard interface for it. But yeah, I appreciate there are complications, like video playback is presumably pulling a small extent of a file at a time, so there would have to be some kind of timer before releasing the inhibition or the system would sleep between transfers.

EDIT: I just took a look; with loglevel set to 3 for smb and smb2 I see log messages like:

smbd_smb2_read: fnum 1712966762, file my_video.mkv, length=262144 offset=82366464 read=262144

These occur at most 10 seconds apart when playing a video over a share from another host. I don't see why the smbd daemon couldn't inhibit sleep untill smbd_smb2_read hasn't run for a minute or so. You could have a script that monitors that log output and does this externally but it'd be nice to have built in.

Morphit ,
@Morphit@feddit.uk avatar

Ah, that's the misunderstanding. The original comment was talking about "watching something on another pc". Like playing a video from a desktop PC on a laptop in another room. So it's the samba server we want to prevent from sleeping, not the client. Yes it'd be nice to have a 24/7 media server set up, but for the simple case of sharing a file from one PC to another, it'd be nice for the server not to sleep in the middle of it by default.

Morphit ,
@Morphit@feddit.uk avatar

I mean, we have systemd-bsod now...

Not that I've ever seen it of course.

Morphit ,
@Morphit@feddit.uk avatar

Huh, it's the same as $(( )) - arithmetic expansion.
I think it's deprecated and not in the bash manual, but it still seems to work.

Morphit ,
@Morphit@feddit.uk avatar

I still don't understand the point of namespaces. I guess it's less overhead to pass through a namespace to a VM rather than having a virtualised disk image or bind mount.

Morphit ,
@Morphit@feddit.uk avatar

Yeah there was a post asking for open source Lemmy apps and I wondered why Connect hadn't been mentioned. The FOSS apps seem to be getting really good, but Connect is still just a cut above. Making it open source would make it outright the best.

Morphit ,
@Morphit@feddit.uk avatar

No, Bob's your uncle. Space is for the children.

Morphit ,
@Morphit@feddit.uk avatar

I would encourage you not to split things up too finely. A single repo for your environment would allow you to see all related changes with git. E.g. if you set up a new VM it might need a playbook to set something up, a script to automate a task, and a DNS entry. With a well put together commit message explaining why you're making those changes there's not much need for external documentation.

Maybe if you want some more info organised in a wiki, point to the initial commit where you introduced some set up. That way you can see how something was structured. Or if you have a issue tracker you can comment with research on something and then close the issue when you commit a resolution.

Try not to have info spread out too much or maintaining all the pieces will become a chore. Make it simple and easy to keep up.

Morphit ,
@Morphit@feddit.uk avatar

Now you will never be able to quit vim!

I do use AltGr a load for composing non-ASCII characters. It's currently my inner key where the joystick is. A bit of a stretch but writing C++ in vim pretty much requires the colon/semicolon key on the home row.

Morphit ,
@Morphit@feddit.uk avatar

I'm pretty sure my Tamagotchi has decayed back into sand and oil by now.

Morphit ,
@Morphit@feddit.uk avatar

Godbolt to the rescue! So gcc 13.2 certainly does produce the same code, though a lot of other versions and compilers do it slightly differently. Surprisingly, clang doesn't optimise this and uses idiv for the modulo version.

Morphit ,
@Morphit@feddit.uk avatar

8% reduction in peak AC usage would be huge. I don't have a good feel for numbers like that but I'd imagine it would take a lot of maintenance and roof replacements not not make a saving given that kind of energy reduction.

It would be nice if they could estimate some uncertainties and show where the break even is between energy reduction and upkeep energy expenditure.

Morphit ,
@Morphit@feddit.uk avatar

The point being made is that it also depends how often the 'true' value gets used in the code. Tests might only evaluate it a few times per run, or they could cause billions of evaluations per run. You can't know the probability of a test failure without knowing the occurrence rate of that expression.

23andMe admits hackers stole raw genotype data - and that cyberattack went undetected for months | Firm says it didn't realize customers were being hacked ( www.techradar.com )

23andMe admits hackers stole raw genotype data - and that cyberattack went undetected for months | Firm says it didn't realize customers were being hacked::Firm says it didn't realize customers were being hacked

Morphit ,
@Morphit@feddit.uk avatar

They wouldn't need to access 14,000 separate accounts if they had internal access to the database.

The article states they got access to "private data" from 6.9 million other users via a 'DNA relatives' feature but doesn't explain what kind of information that is. For those accounts that got directly accessed, it seems unlikely the hackers requested and intercepted an email for every one without being noticed sooner. Sounds like they only scraped what's available on the site itself but it'd be nice if the article actually detailed that.

Morphit ,
@Morphit@feddit.uk avatar

Yeah they were out of contact for 63 days when it flew ahead of perseverance last year: https://phys.org/news/2023-06-ingenuity-mars-helicopter-home.html

The article doesn't seem to suggest that they've given up on it.

Morphit ,
@Morphit@feddit.uk avatar

Why not switch to NixOS and run Duplicacy in an Arch Distrobox on top?

Morphit ,
@Morphit@feddit.uk avatar

Also Matter is the smart home interop standard. Seems close enough for some confusion in what Matter compatible means on a device.

Morphit ,
@Morphit@feddit.uk avatar

Oh right, that makes sense. I was only thinking of Matter as serving low bandwidth devices but it also runs over WiFi and ethernet so I guess it can do video for security cameras etc. and evidently Casting audio and video also.

Morphit ,
@Morphit@feddit.uk avatar

Revolutionary

I see what they did there.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • supersentai
  • WatchParties
  • Rutgers
  • jeremy
  • Lexington
  • cragsand
  • mead
  • RetroGamingNetwork
  • loren
  • steinbach
  • xyz
  • PowerRangers
  • AnarchoCapitalism
  • kamenrider
  • Mordhau
  • WarhammerFantasy
  • itdept
  • AgeRegression
  • mauerstrassenwetten
  • MidnightClan
  • space_engine
  • learnviet
  • bjj
  • Teensy
  • khanate
  • electropalaeography
  • neondivide
  • fandic
  • All magazines