@ali1234@mastodon.social avatar

ali1234

@ali1234@mastodon.social

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

popey, to random
@popey@mastodon.social avatar

This is the weirdest terminal screenshot I have ever seen on a technical support forum post. Also, the Pepper Pig avatar. The juxtaposition of tech and colour.

I love it. 🐷 😍

https://discourse.ubuntu.com/t/error-the-instance-cannot-be-started-as-in-error-status/45219?u=popey

ali1234,
@ali1234@mastodon.social avatar

@popey I'm pretty sure it's a transparent terminal with fairly standard colours that just happen to clash with the user's choice of wallpaper (based on the grain). Not sure which terminal does glowing text but i know it is popular in vscode.

popey, to linux
@popey@mastodon.social avatar

We released Quicktest v0.2.2! Quicktest is my little fun side-project to make automated testing of Linux distro installs easier and faster.

Here's a quick video of the new test which operates Calamares to test install Kubuntu 24.10 (daily live image) in a VM.

I can't get over how fast this is!

https://github.com/quickemu-project/quicktest/releases/tag/0.2.2

https://www.youtube.com/watch?v=ubGjruant8E

ali1234,
@ali1234@mastodon.social avatar

@popey

Can I do post-install testing with this? Like, does it have the ability to reboot, wait for the system to come back up, and then continue running tests?

gabrielesvelto, to random
@gabrielesvelto@fosstodon.org avatar

Memory errors in consumer devices such as PCs and phones are not something you hear much about, yet they are probably one of the most common ways these machines fail.

I'll use this thread to explain how this happens, how it affects you and what you can do about it. But I'll also talk about how the industry failed to address it and how we must force them to, for the sake of sustainability. 🧵 1/17

ali1234,
@ali1234@mastodon.social avatar

@gabrielesvelto

How can memory errors cause the same crash on two different computers unless they both have the same error at the same address? (Which is of course astronomically unlikely.)

ali1234,
@ali1234@mastodon.social avatar

@gabrielesvelto

I see. A similar phenomenon was observed in initializing bitcoin full nodes, where verifying the full chain (currently 5TB and growing) exposed a lot of memory errors due to hash mismatches.

That happened essentially because everyone was doing the exact same calculations on the exact same data, in the exact same order, and expecting a known result.

I would have expected a lot more randomness in Firefox, but I forgot how much manual memory management it does.

popey, to random
@popey@mastodon.social avatar

I am in 52 Discord servers.
Help.

ali1234,
@ali1234@mastodon.social avatar

@popey I am in 51. I am surprised we don't have more overlap.

foone, to random
@foone@digipres.club avatar

bad idea: A mouse cursor that's not just a simple floating pointer, it's a cat/dog paw... but it stretches all the way to an edge of the screen like it's a really long leg

ali1234,
@ali1234@mastodon.social avatar

@foone

This might legitimately be good for accessibility.

I think I've seen at least one game that does something like this. No idea what it was though.

anarchiv, to random Norwegian
@anarchiv@todon.nl avatar

Can web designers PLEASE STOP with the thing where the bulk of the website loads first and then things on the top load last so you invariable end up clicking on something you didn't mean to

ali1234,
@ali1234@mastodon.social avatar

@anarchiv

It has been around since the www was created. Netscape Navigator used to have a bug where if you right clicked on a link or image and then subsequent page loading moved it out from under the mouse pointer, clicking save/open etc in the context menu would cause an instant crash.

Edent, to random
@Edent@mastodon.social avatar

Electronics nerds! I need your wisdom, advice, and admonishment.

I have a small circuit board with a large USB-A plug.

I want to remove the USB-A and replace it with a USB-C plug.

Is that possible? If so, what would I need?

I have a soldering iron that I've used at least twice!

(The connection needs data and power - although not a lot of either. I don't have space to add an A-to-C converter dongle to it.)

THANKS GANG!

ali1234,
@ali1234@mastodon.social avatar

@Edent

Not easy. USB C plugs have absolutely tiny contacts and have to be soldered on both sides. You could get something like in the image and bodge it on with wires and hotglue. Probably not worth the trouble though.

ali1234,
@ali1234@mastodon.social avatar

@tshirtman @Edent

If you only connect one side then the connector won't have proper strain relief and will just snap off the first time you plug it in.

I don't have a link for the plug type. Adafruit seems to only sell the socket version.

Since this type of breakout/hack tends to be wildly outside what the USB spec allows, you typically have to go to Aliexpress or similar to get them. Just search for "USB C male plug breakout" and loads pop up.

ali1234,
@ali1234@mastodon.social avatar

@tshirtman @Edent

Also USB C requires sense resistors where previous connectors do not. The breakouts seem to include them but you'll want to make sure they are actually correct for your application because different types of device need different resistors. Can't give further advice on that front. I just know Raspberry Pi messed this up on their first USB C device.

ali1234,
@ali1234@mastodon.social avatar

@Edent So was the Raspberry Pi 4.

ali1234,
@ali1234@mastodon.social avatar

@Ric

Hi. I'm the designer of the Pi Zero Stem. You can't put a USB C connector directly on the board, but you could bodge it - see my other replies. I've had a few requests for a USB C version but the problem is the connector would be too hard to solder for 99% of customers, and having it pre-soldered would make it unprofitable to sell at a reasonable price.

For making headless USB devices I now recommend using RP2040/Pi Pico based boards instead - available with a range of connectors.

linus, to random
@linus@telegrafverket.cc avatar

posted this on twitter as a response to their product being banned in Canada

video/mp4

ali1234,
@ali1234@mastodon.social avatar

@mgerdts

Too complicated. How do you know where the victim will be? How do you know which car? Avoid security cameras? You can't exactly wear a ski mask and carry a load of home made electronics around in broad daylight. Having an accomplice massively increases the chance of being caught for any crime.

Doing it at the victim's house while they are asleep avoids all that because one person can do it. This isn't a new idea. "Key fishing" was around before wireless key fobs. Ban fishing rods?

ali1234, to random
@ali1234@mastodon.social avatar

I'm hugely sceptical of any dollar value applied to software development, particularly in open source. The COCOMO model says the trivial program I wrote over the course of a week in my spare time should have taken 4 months and cost $40,000.

ali1234,
@ali1234@mastodon.social avatar

Someone once claimed to me that the GNOME project would cost $1 billion to rewrite from scratch. It turned out this is true if you use the COCOMO model, but only if you rewrite everything they've ever deprecated independently ie without any code reuse between versions. In other words it's really enough to rewrite it 3 - 4 times over. And that's on top of the wildly inflated costs the COCOMO model produces.

SnoopJ, to random
@SnoopJ@hachyderm.io avatar

Uh oh, here comes the CLA Discourse again

ali1234,
@ali1234@mastodon.social avatar

@SnoopJ @Doomed_Daniel

The CPython CLA is just a written acknowledgement of the project licenses. Most CLAs are applied on top of copyleft licenses, in order to allow the project owner to benefit from the license without having to follow it. But CPython isn't under a copyleft license to begin with, so this is not necessary.

solderandchaos, to random
@solderandchaos@mastodon.me.uk avatar

I need a bit of help with describing six youtubers for my thesis.

(These are kids most-watched, as indicators of whether they're likely to be computing students or not).

I am not telling you which is which yet. Can you describe their content for me in one or two words please? Boost for reach.

VSauce
Mark Rober
Dan TDM
Tom Scott
AliA
Linus Tech Tips

ali1234,
@ali1234@mastodon.social avatar

@solderandchaos

Vsauce/Michael Stevens: If your scatterbrained secondary school science teacher became a youtuber. Wears socks with sandals and probably owns a tweed jacket with leather arm patches.

Mark Rober: If Mr Beast became a primary school teacher. Wears a backwards baseball cap and shouts a lot despite being the oldest person on this list.

faoluin, to random
@faoluin@chitter.xyz avatar

uBlock Origin filter list for sites that contain AI-generated content for uBlock Origin. Useful for scrubbing AI-generated bullshit from Google, DDG, and Bing image search pages.

Edit: I didn't make this! Just seemed useful.

https://github.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist/tree/main

ali1234,
@ali1234@mastodon.social avatar

@183231bcb @faoluin

This doesn't list or block any spammers. It's just a list of websites that allow people to upload and share AI generated images, explicitly marked as such.

nedbat, to random
@nedbat@hachyderm.io avatar

Anyone else find YouTube's required choice confusing? "This video is 1) made for kids, or 2) not made for kids." My videos are not aimed at kids, they will find them boring, but I don't mind if they watch them. Is that made for kids or not made for kids? Why couldn't they say "fine for kids" vs "inappropriate for kids"?

ali1234,
@ali1234@mastodon.social avatar

@nedbat

"Made for kids" specifically means things that will appeal to children and requires you to follow additional rules, so you shouldn't tick this for videos that children will find boring.

0xabad1dea, to random

“oh, is our website serving 5xx errors? have you considered updating your local Java installation and rebooting?”

ali1234,
@ali1234@mastodon.social avatar

@0xabad1dea

Seen in the wild:

Website shows a popup to users. The popup changes once per week. Each popup sets a cookie, so that users only see each one once. The cookie is 100 bytes and expires in 50 years.

The webserver is configured for max request size of 4kb, so users start getting 500 server errors about 1 year after the server goes live, long after the cowboys who made it have disappeared. Now all they can do is ask users to clear cookies.

peter, to RaspberryPi
@peter@area51.social avatar

Spent the evening trying to get FreeRTOS running on a Pico W

That was a fun couple of hours messing with cmake to get a build to run, but got it in the end.

Now FreeRTOS works perfectly... just not JwIP.

When I try to get it to connect to WiFi it either fails to authenticate or worse, fails with no IP which then causes a panic which crashes the Pico.

Gave up in the end, might try it again tomorrow night.

ali1234,
@ali1234@mastodon.social avatar

@peter

Have you tried Zephyr? I don't know much about it but it seems to follow Linux kernel style where all the drivers are included in the source tree and you just pick what you want, rather than having to hunt them down and integrate them in your project.

ali1234,
@ali1234@mastodon.social avatar

@peter

Ah, I didn't know that. Assumed it would have decent support since it is so easily available.

popey, to random

I crunched some numbers and discovered that: In general, 50% of users will update within 24 hours, and 90% are updated within a week. Read on...
https://popey.com/blog/2023/10/ninety-percent-updated-in-a-week/

ali1234,
@ali1234@mastodon.social avatar

@popey

I would like to see the numbers for Skype, since it autoruns and never gives automatic update a chance to run.

peter, (edited ) to homeassistant
@peter@area51.social avatar

Just had a warning about something having access to by gmail account...

It seems that google don't like having access to my calendar...

ali1234,
@ali1234@mastodon.social avatar

@peter

Watch out for them automatically disabling it without asking too. They do that.

ali1234,
@ali1234@mastodon.social avatar

@peter

You heard about the and gatekeepers? It seems to have gone under the radar but from March there's a bunch of new EU rules that they have to follow in that area that go way beyond the GDPR.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • tacticalgear
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • lostlight
  • All magazines