Posts by ali1234@mastodon.social
 (DIR) Post #ASdlLI0LqaSneo88FU by ali1234@mastodon.social
       2023-02-13T15:05:45Z
       
       0 likes, 0 repeats
       
       @penguin42 @edavies The confusion isn't helped by me naming the option `--threads`.There's also another gotcha where you can only have one CUDA context per process and the library remembers which thread you created it from and won't let you use it from any others.
       
 (DIR) Post #ATM8t9AYjCwOECVng8 by ali1234@mastodon.social
       2023-03-07T00:56:55Z
       
       0 likes, 0 repeats
       
       @mmu_man @foone RF sampling is the closest we can get to a 1:1 copy of analogue media like Laserdisc, so preferred for archival use.
       
 (DIR) Post #AWMTtF2YKcnZ4yBoTA by ali1234@mastodon.social
       2023-06-04T22:27:06Z
       
       0 likes, 0 repeats
       
       The problem with #flatpak is that the developers can't decide if they are making a compatibility sandbox that allows running any and all software on any distro or a security sandbox that completely isolates applications from the host and also each other. These goals are mutually exclusive because a large amount of software cannot function when confined.
       
 (DIR) Post #AWMUMYVn12oZroqJns by ali1234@mastodon.social
       2023-06-04T22:33:49Z
       
       0 likes, 0 repeats
       
       @penguin42 Sort of but not really. For example you can mount host /usr at /var/run/host/usr inside the flatpak container, but your toochain won't know to look there for headers and libraries, so it doesn't actually help. It will be easier to adapt malware for the new path than to fix every build system, so this weird compromise means flatpak fails at both compatibility *and* security.
       
 (DIR) Post #AWMVSVXv3SoEMRF0XA by ali1234@mastodon.social
       2023-06-04T22:43:33Z
       
       0 likes, 0 repeats
       
       And even if your toolchain *did* know to look there, the resulting executable wouldn't be able to run outside the sandbox anyway, because now all libraries are in a different place.It has to be this way because flatpak containers already have a /usr where all the libraries of the software are located. Mounting host /usr would shadow it. Snap doesn't have this problem - all software is installed to /snap and all host directories can be mounted in their original locations aka classic mode.
       
 (DIR) Post #AWMVZnrNMYwXBfovc8 by ali1234@mastodon.social
       2023-06-04T22:47:26Z
       
       0 likes, 0 repeats
       
       @penguin42 Sure, as long as whatever you;re trying to build doesn't already abuse the hell out of rpath just to be able to build in a normal environment. So effectively no.
       
 (DIR) Post #AWxiCfpufnN5Xku2oS by ali1234@mastodon.social
       2023-06-22T21:33:13Z
       
       0 likes, 0 repeats
       
       @penguin42 Has anyone tried to do a Right of Access request for this information?
       
 (DIR) Post #AXdMS7u5hbEkF8tTTU by ali1234@mastodon.social
       2023-07-12T23:47:23Z
       
       0 likes, 0 repeats
       
       @penguin42 They have a machine for it.https://www.youtube.com/watch?v=jibEwwF1KBE
       
 (DIR) Post #AXdMj4HSQTorvftxfk by ali1234@mastodon.social
       2023-07-12T23:50:28Z
       
       0 likes, 0 repeats
       
       @penguin42 Yeah I'm not sure why they're feeding in a duvet either.I think in the end it is just economy of scale and fitted sheets being way more popular now.
       
 (DIR) Post #AXdNDVZ5Y293EnfBdQ by ali1234@mastodon.social
       2023-07-12T23:53:40Z
       
       0 likes, 0 repeats
       
       @penguin42 Fully automatic one: https://www.youtube.com/watch?v=xI26IF5Rce8I think the other one is actually for making mattress toppers.
       
 (DIR) Post #AXdQWhRVuVH9RNxm5I by ali1234@mastodon.social
       2023-07-13T00:33:01Z
       
       0 likes, 0 repeats
       
       @penguin42 I would expect that the part that puts the elastic in would be an optional module but it might be expensive to reconfigure it all.I think people just don't want flat sheets.
       
 (DIR) Post #AXyB7GBTdPIClYfK2y by ali1234@mastodon.social
       2023-07-23T00:49:17Z
       
       0 likes, 0 repeats
       
       @penguin42 A cheap logic analyzer like fxlafw is much more useful for microcontroller projects and they are only a couple of quid on aliexpress.
       
 (DIR) Post #AY3MpqcZjN8IlcH65w by ali1234@mastodon.social
       2023-07-25T02:23:35Z
       
       0 likes, 0 repeats
       
       If we paid people US federal minimum wage to turn a generator wheel and make electricity, it would cost over $100/kWh, but if we used horses it would cost about $1.50/kWh, which I think is surprisingly cheap given how low-tech it is. I suppose the problem would be finding space for the 11.7 billion horses needed to satisfy world electricity use.
       
 (DIR) Post #AhIRVMBe6BTqBTtyvA by ali1234@mastodon.social
       2024-04-27T00:11:21Z
       
       0 likes, 0 repeats
       
       @foone Writing elegant code is fun. Throwing together a bunch of unmaintainable crap because you are on a deadline and management doesn't care is what burned me out.
       
 (DIR) Post #AhIlDGFzPD25fCaAXQ by ali1234@mastodon.social
       2024-04-27T03:56:02Z
       
       0 likes, 0 repeats
       
       @foone All the popular stable diffusion front ends put the input prompt in a text block in the output image.
       
 (DIR) Post #AhxaOn1U9i9Zo2hI80 by ali1234@mastodon.social
       2024-05-16T20:35:06Z
       
       0 likes, 0 repeats
       
       @foone UPS does this in a particularly shitty way. They don't make you select country during login. There's a country selector at the top of every page, and if you don't select the right country *before* logging in, everything works up until you try to submit the completed shipping form, then it gives a cryptic error like "please check address". You have to log out, select the right country, log in, and fill out the entire form again.
       
 (DIR) Post #AifR2av2odI0t4WW4e by ali1234@mastodon.social
       2024-06-07T00:03:39Z
       
       0 likes, 0 repeats
       
       @foone With USB C you could in theory build all this into a cable with a small box in the middle but unfortunately nobody has that I know of. All the individual pieces exist, it just needs 6 or 7 cables. :(
       
 (DIR) Post #An39YXuvywiAdclg7U by ali1234@mastodon.social
       2024-10-16T02:26:27Z
       
       0 likes, 0 repeats
       
       @foone Reminds me of the time I asked #java what their equivalent of Python's json.loads was and the entire channel couldn't even comprehend the idea of loading a JSON file without knowing the schema in advance.
       
 (DIR) Post #AqffJ7Jgg68fqCulMm by ali1234@mastodon.social
       2025-02-01T09:57:32Z
       
       0 likes, 0 repeats
       
       @foone I built a high resolution contactless scanner this way. I just made a python script to control octoprint and grab frames from the camera.https://forums.raspberrypi.com/viewtopic.php?p=2287528#p2287528
       
 (DIR) Post #AvyJ5OeLiKFvWy5meu by ali1234@mastodon.social
       2025-07-09T14:13:06Z
       
       0 likes, 0 repeats
       
       @whitequark Part of the problem is that Wayland is deliberately designed around the idea that there is no global screen space. As a result there is no global mouse position either. Like many of the Wayland design constraints, it is rarely explicitly mentioned, in favour of handwaving about security instead.