I’m a technical kinda guy, doing technical kinda stuff.

  • 0 Posts
  • 41 Comments
Joined 1Y ago
cake
Cake day: Sep 27, 2023

help-circle
rss

Something like a raspberry pi or equivalent, and use reverse SSH set up to connect to a server with a known address on your end.

This means that ports don’t need to be opened on their end.

Also if you go with a gateway host, shift SSH to a randomised port like 37465, and install fail2ban.


I don’t think there’s anything commercially available that can do it.

However, as an experiment, you could:

  • Get a group of photos from a burst shot
  • Encode them as individual frames using a modern video codec using, eg VLC.
  • See what kind of file size you get with the resulting video output.
  • See what artifacts are introduced when you play with encoder settings.

You could probably/eventually script this kind of operation if you have software that can automatically identify and group images.


True. Hence my caveat of “most cards”. If it’s got LEDs on the port, it’s quite likely to signal which speed it is at with those LEDs.

I haven’t yet come across a gigabit card that won’t do 10Mbit (edit: switches are a different matter) but sometimes I’ve come across cards that fail to negotiate speeds correctly, eg trying for gigabit when they only actually have a 4 wire connection that can support 100Mbit. Forcing the card to the “correct” speed makes them work.


There was a series of books in the '80s where a systems programmer gets pulled through a portal into your typical magical world, good vs evil, etc.

They subsequently look at the magical spells in use and realise they can apply Good Systems Programming Practices™ to it. And thus, with their knowledge of subroutines and parallel processing, they amplify their tiny innate magical abilities up to become a Pretty Good Magician™. So while all the rest of the magicians basically have to construct their spells to execute in a linear fashion, they’re making magical subroutines and utility functions and spawning recursive spells without halting checks and generally causing havoc.

It’s quite a good allegory for modern times, where a select few build all the magic and the rest just have useful artefacts they use on a day to day basis with no idea how they work


For later reference, the link light on most network cards is a different colour depending on link speed. Usually orange for 1G, green for 100M and off for 10M (with data light still blinking).


I have not cared about or terminated A-spec after network cards gained auto MDI/MDIX about 20 years ago.


Yeah , it’s really a little strange in OPs case, I can’t really recall changing a CMOS battery in ages, like decades of computer use.


  1. Replace CMOS battery.
  2. Get small UPS.
  3. Discover that small UPS’s fail regularly, usually with cooked batteries.
  4. Add maintenance routine for UPS battery.
  5. Begin to wonder if this is really worth it when the rest of the house has no power during an outage.
  6. Get small generator.
  7. Discover that small generators also need maintenance and exercise.
  8. Decide to get a whole house battery backup a-la Tesla Powerwall topped off by solar and a dedicated generator.
  9. Spend 15 years paying this off while wondering if the payback was really worth it, because you can count on one hand the number of extended power outages in that time.
  10. In the end times a roving band of thugs comes around and kills you and strips your house of valuable technology, leaving your homelab setup behind and - sadly - without power. Your dream of unlimited availability has all been for nought.

Conclusion: just replace the CMOS battery on a yearly basis during planned system downtime.


Let me know if I can explain it more clearly.

Multi-part MIME containing inline images is actually what you’re looking for and it’s fairly easy to implement.

Here’s an example. They handwave over the html section that actually refers to the inline images that they embed, but that’s the basic layout you need.

https://learn.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxcmail/7a08211a-760a-41af-8cab-0acf462c4094


Directly from the nginx home page:

nginx [engine x] is an HTTP and reverse proxy server, a mail proxy server, and a generic TCP/UDP proxy server, originally written by Igor Sysoev.


What if I want to buy a cheese sandwich today with BTC?

A cheese sandwich can remain the same fixed price in dollars for years, with only the relatively slow change in actual value due to inflation.

I’ve seen BTC swing 10% in 24 hours. Does the cheese-sandwich-maker have to look up the rate this instant and calculate a spot price for me?

Will they have more or less dollars at the end of the day, when they need to pay their bills and buy more cheese from their suppliers?

“Just buy cheese from someone who takes BTC”, doesn’t help, it just kicks the can further down the road.

“Just add a bit of a buffer in the price to take fluctuations into account”, means that I go buy a cheese sandwich with dollars from next door because it’s 50 cents cheaper for the same thing.

As an investment vehicle, BTC is doing hot laps of the track (with occasional accidents), but until its volatility issues are sorted and it becomes “boring”, it’s not going anywhere as an actual currency.


To be honest, I was surprised it had any idea about FFMPEG. The biggest problem is that it sounds so authoritative.

If it said, “hey I don’t know a huge amount about X” then you could work with that. But it will blithely say “no problem” and spit out 6 pages of non working code that you then have to debug further, and if you don’t know the terms in the area you’re working in you end up blundering around trying to find the right trigger word to get what you want.


I end up having to play twenty questions with chatgpt. For example, I’ve been asking it for code examples for ffmpeg mpeg4 encoding with C++.

It will happily spit out completely non-working code, where the core part - feeding image frames to the encoder - works, but it doesn’t initialise or tidy up the encoding afterwards.

Until I say, “hey this code doesn’t seem to work and creates corrupted files”, and then it’s like, “oh yeah you also need to do a bunch of other stuff, just like this”. Repeat as it slowly adds more and more pieces until finally you end up with something that actually works.

Or it will happily dream up function names or mix python and C functions, or will refer to older APIs even when I’ve specifically said “use API version x.y” and so on and so forth.

If I didn’t know enough about the subject already, I’d never be able to tease out the answer. So in a sense it’s a mostly useful reference, but it can’t be relied on to actually and consistently provide a result because it’s all statistics and fuzzy text generation behind the scenes, not actual knowledge.


Time is a cube, and always will be.


Digg was Reddit, before Reddit came along. And then they tried to monetise it all and pushed out a site layout update that “enhanced” that monetisation aspect (sound familiar?)

Basically they fucked it up right there.

I left Digg in 2010 and never went back, and now the domain and it’s remnants are owned by some advertising company.



Also, things not designed for food use or human consumption don’t have to follow strict rules regarding their composition, and they’re not monitored.

Nobody is checking PVA glue for heavy metals or melamine or pesticides or any other number of things that will give your insides a bad day.

Nobody is issuing a recall if your bottle of glue ends up with ground up glass in it.

Because it’s not food, and it doesn’t matter, until you put half a cup of it in your pizza because Google told you it was a good idea.


i like how the answers are the exact same generic unhelpful drivel you hear 20k times a month if you’re…

Searching for a solution to any problem on the internet.

There are a million ad- laden sites that, in answer to a technical question about your PC, suggest that you run antivirus, system file checker, oh and then just format and reinstall your operating system. That is also 90 percent of the answers coming from “Microsoft volunteer support engineers” on Microsoft’s own support forums as well, just please like and upvote their answer if it helps you.

There are a million Instagram and tiktok videos showing obvious trivial, shitty, solutions to everyday problems as if they are revealing the secrets of the universe while they’re glueing bottle tops and scraps of car tires together to make a television remote holder.

There are a trillion posts on Reddit from trolls and shitheads just doing it for teh lulz and Google is happily slurping this entire torrent of shit down and trying to regurgitate it as advice with no human oversight.

I reckon their search business has about two years left at this rate before the general public regards them as a joke.

Edit: and the shittification of the internet has all been Google’s doing. The need for sites to get higher up in Google’s PageRank™ or be forever invisible has absolutely ruined it. The torrent of garbage now needed to ensure that various algorithms favour your content has fucked it for everyone. Good job, Google.


I work in OT. The number of “best practice” IT mantras that companies mindlessly pick up and then slavishly follow to the detriment of their mainly-OT business is alarming.

Make your own damn best practice that suits your business best, don’t copy and paste something from a megacorp. Sure, include elements from megacorp’s best practice if they are applicable, but don’t be a slave to the entirety of it.


Mmm I’d take Common Sense Skeptic’s spaceX videos with about a ton of salt. They’ve got a real big bug up their ass about spaceX for some reason.



Flash chip cells are basically tiny electron traps, they consist of a tiny stored charge surrounded on all sides by an insulator. When writing to the cell you fill it with some electrons via (much handwaving here) a method of quantum tunneling. You can then read the cell by sensing the internal charge without disturbing it.

When not in use eventually enough charge tunnels out of the cell via random quantum tunneling events for it to read nothing. This is worsened when things are hotter, so maybe keeping your flash chips in the freezer would help.

Consumer flash memory, I probably wouldn’t expect more than 20 or 30 years of offline storage out of it. The older chips would last longer, because their cells are bigger, and you’re not trying to read multiple charge levels per cell like the newer stuff.

Added edit:

Magnetic media probably has a higher chance of surviving longer. Floppies from the 80s can still be read, for example, but they are low density media. You’d want something that separates the drive system from the actual magnetic media to stop bearing or motor failure from being an issue , so tape would be a good idea.

The problem is, of course, that you could end up with media you can’t read as nobody makes the hardware for it. Tape drives have gone through a dozen revisions in the last 30 years as capacity has increased, but as long as you have the same physical tape cartridge you should be ok.

M-Disc is a blueray compatible media that doesn’t use dye and should have a life of hundreds of years. But who will have a blueray reader on hand in the 24th century? I’ve got a USB M-Disc compatible writer for my backups, but in 30 years will I be able to pull it out of a drawer and plug it into a USB Gen 15 port and have it work with whatever software I have then?

I think we’re going to have to do the manual duplication process for a while yet, until we finally settle on some universal petabyte storage crystals or something.


not only claim the right but also apparently claim ownership of any content you publish there, while providing no consideration (payment) in return.

That’s not entirely true.

The payment is hosting your content for free on their servers that provide reasonable uptime and unlimited retention. You can choose to carve out your own place on the internet and post your content on your own hosting if you want, but a lot of people choose Reddit, or Facebook, or Instagram, or Snapchat, because the tradeoff is agreeable.


And he describes exactly what I have to deal with on the regular, “content that only sort of helps”

Hello, my name’s dgriffith. I’m a Fediverse Support community member, and I’m here to help.

Have you tried running sfc /scannow and making sure your antivirus is up to date? That usually fixes the issue that you are describing.

If that does not help, a complete system reinstall often solves the problem you have.

Please mark this comment as useful if it helps you.

Regarding the death of hyperlinks, it’s probably more a case of “why bother clicking on yet another link that leads me to another page of crap?”.

That is, it used to be the case that you’d put information on the web that was useful and people would link to it, now 80 percent of it seems to be variations of my “helpful” text above, SEO’d recipe sites, or just AI hallucinations of stuff scraped from other sites.


That may be true but if the language is tough to develop with, then those users won’t get a product made with that language, they’ll get a product made with whatever language is easier / more expedient for the developer. Developer time is money, after all.


2004:

User: “I moved my PC to another desk and now my monitor is off. The hard drive is making noises though. All the power cables are in haha. I made sure the connections were all nice and tight it’s a bit strange.”

IT: “Okay I want you to follow the video cable from the monitor to the hard drive. It should have a BLUE connector at the end.Can you see the label where it is plugged in?”

User: “…yes it says ‘serial’, I think?”

IT: “Aha. I’ll drop around this afternoon with a spare monitor. That Trinitron monitor you’ve got will need to go away to be repaired.”


I buy a washing machine after a 20 minute search and going to a click and collect website to place an order with a local big brand store.

For the next 6 months:

“HEY CHECK OUT THESE WASHING MACHINES LOOK AT THESE REVIEWS WASHING MACHINES ON SPECIAL CLIIIICK MEEEEEE”


when you can help people live in discord.

That live support is super handy when you’re 8 timezones apart from the maintainers.

  • Hey there, how do I get this thing to compile?

11 hours later

  • Ok just need to make sure you have this list of prerequisites installed and then we can walk you through the compilation process.

6 hours later

  • Nevermind, I built and installed another project.

2"If we raise prices by 10 percent and make things a little bit shittier, we’ll lose 5 percent of our user base to pirating and the non-tech-savvy users left behind who don’t know how… Well they can just take another 10 percent up the ass next year! It’s win-win!"


Do you want to awaken the Elder Gods, and consequently suffer a slow and inevitable descent into horror and madness? Then give Perl a try.

Truly efficient perl code is write-only.


Scroll Lock? What does that even do nowadays?

In Excel it pans the whole worksheet with the arrow keys instead of shifting the active cell.

Same thing in Word, you can move around in the document without shifting your cursor position.

It also does the same kind of thing in most editors where there is an “active editing position” vs a “view of the page”.


Small ISPs at the start of the internet used to provide you with space that you could ftp a few html files to and they’d be visible on the internet at myisp/~yourusername.

Of course that cost them a little bit of money and storage space so when they all got absorbed into megaISPs that kind of thing got dropped. Then it was all up to Geocities and friends or you had to go buy hosting from your ISP, both of which was enough of a hurdle to stop the average person from playing with it.


HP and/or Compaq used to make their own PCs in the 90’s going into the 2000’s.

For example they used to have special motherboards that were basically backplanes and CPU cards to suit.It’s quite possible they did dumb shit with IDE connectors/pinouts that meant that some devices didn’t work.

It wouldn’t have been a major scandal, it just would have been, “yeah some aftermarket drives don’t work with HP”, which was pretty common across the entire market back then. We’re basically in the golden age of system compatibility right now, things were an absolute shitshow back then.


you’ll see that he doesn’t like functions to be very long. I think his rule is no more than 4 lines.

Four line functions? Sounds like a codebase adhering to that rule would end up as a nice thick function soup. It feels like… I dunno, those database programmers that like normalising databases to the Nth degree.

If you put your loops into functions then you can just use return instead of break.

And that just sounds like abusing the concept of functions to replace standard flow control that your language provides.

I mean, sure, if I find repetitive chunks of code popping up I’ll break them out into functions, but - generally speaking - I do functions that translate into discrete real-world or UI tasks. I’m opening and parsing a text file into internal structures, I’m doing the reverse to go back to a data file, I’m cycling through the data to update UI components, etc etc.

But hey, I use C and on the rare occasion I sneak a goto in there, so I’m not qualified to pass too much judgement.


I remember helping a teacher at school who had installed a CopyIIPc card on one of our computers. They used it to make everyday copies of the master disks of the copy protected educational software we used in our room full of Sperry IBM compatible PCs.

The card went in between the floppy controller and the drive and could do a pretty good job at duplicating all the physical copy protection tricks of the time.

They copied a lot of stuff, not for pirating reasons but simply because they were literally 5 1/4" floppy disks back then and school kids were not kind to them. Either it was simply jamming them into the drives, or touching the exposed disc surface, or chucking them around the room, those disks didn’t last long.


Chrome mobile put up a pretty good fight. I have been meaning to put Firefox + ublock on my phone, maybe I’ll stop being slack and finally do it today.


Accessing that from my phone shows the actual site content for about 3 seconds and then an endless array of “popup and notification blocked messages” as well as the usual combination of “oh noes your PC has three dangerous viruses click here to resolve” type redirects.

Is this just a cunning way to weed out the normies or can I expect the same kind of thing from their allegedly-excellent app? Because they’re not leaving a good impression right now.


15 years ago I was running multi-tasking BASIC programs on a controller that had 2MB of storage. We should have been there by now.

Holy shit, they’re still kicking around:

https://wilke.de/en/embedded-computer/details/zurueck/computer-module/products/tiny-tiger-multitasking-computer.html

I used a few for high speed logging of a quadrature rotary encoder to measure the speed of a hydraulic sampling arm. Battery powered , had a 4 line LCD and keypad with a simple menu interface to take samples, as well as a serial export function to get .CSV files via hyperterminal.



All I know is that the stuff in roaming generally follows you around on domain logins. So if you’re bouncing around on corporate computers with the same standard set of apps installed, if they save their stuff in roaming they can retrieve it anywhere you log in.

Which can be a blessing and a curse because once roaming fills up with all sorts of crap your logins on new computers take forever as the network has to transfer X gigabytes of stuff in roaming to that PC.