• 8 Posts
  • 157 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle



  • No joke, about 20 years ago my brother asked me to build a computer for a friend of his. So I selected the hardware based on the available budget, ordered it online (which was a new thing back then). I used tricks to tweak it, to get the most out of the hardware, really did my best to make it a good machine that would proudly serve for years. In the end I felt like I really made a good machine and I put a lot of effort into it.

    Then my brother came to pick it up and my room was in the attic on the end of a rather long set of stairs. We went over the machine, I gave him all the info he needed to know and he would take it to his friend. He walked out of the room, I turned away from the door and hear a devastating smash followed by a lot of bangs, some silence and a shudder. As I walked out of my room, my brother was standing on the top of the stairs with a white face.

    He had dropped the machine on the top of the stairs and it went tumbling down. The machine was made of steel (as was the fashion at the time) and it took a couple of chunks out of both the stairs and the wall. We went down and retrieved what was left of the computer. But the limited budget had saved it! The chassis was made from steel, but it was the thin kind of steel to save on costs. This meant the chassis had deformed and all the internals were just fine. We took the whole thing apart, reformed the chassis, put it back together and everything worked. After testing, we were amazed how well the thing held up. Keep in mind this was in the spinning piece of metal storage days and with a CD drive that has a thousand moving parts.

    My brother ended up taking the machine to his friend. The chassis still showed some damage, but nothing that stood out and it gave the thing character. The friend ended up loving the whole thing and used it for years to come. I even helped with a couple of upgrades along the way to keep the machine running for longer.

    I ended up fixing the wall and the stairs. I did a good job on the stairs, but the damage on the wall was still visible if you knew where to look. This reminded me of the incident every day for years and we still sometimes laugh about that moment.


  • I started with Suse 5 when it came out, as something I was interested in fucking about with. I didn’t have internet access at that time, but I did had a couple of books about it (the distro came with a book as well). It was a couple of CDs and a boot floppy disk (booting from CD wasn’t really a thing).

    I used it for years for software development and simple tasks like Word processing. Getting my printer working on the thing was a chore, as was basically anything. Especially without internet solving issues was sometimes simply impossible. My scanner simply didn’t work. Getting the desktop environment to run was very hard, I struggled with it for a long time. And once I got it working properly, I got a new videocard and it broke the whole thing again.

    The system was very painful to use, it was super cool, but almost nothing ever worked right. And trying to fix shit usually made it worse. But once you did get it working right, it was simply awesome. And the feeling of accomplishment was awesome after finally getting something right. For software development on the terminal it was pretty awesome though. Back then I did almost everything in text mode, as I was used to DOS before that. Going into Windows was something you did only sometimes with Windows 3.11 (and even 95) and I did the same in my Linux environment. The desktop environment used up a lot of memory and was pretty slow, so I preferred the console. It was only later booting into the desktop became the norm (around the Windows 98 era).

    I used Suse till version 6.1 (still have that box). I bought version 7 (still have that box as well), but never really used it.

    Back then I used Debian to create small internet routers for my friends. I got an old compact computer, put in a floppy with Debian, a couple of network cards and created small NAT boxes like that. This was before NAT routers were the norm, people just had internet on 1 machine, connected directly. But as computers became cheaper, a lot of folk had more than 1 computer in the home. With no real way to share the internet connection between the different computers. Microsoft created the Internet Connection Sharing feature, but that was pretty slow, disconnected often and ate resources on your “main” PC. So my little boxes worked great, I helped people setup a home network, connected my magic box to get every system online. Also helped them setup some port forwarding for the stuff they used.

    Because I used Debian a lot, I switched over to Debian for my main rig when Suse 7 released. Used Potato, Woody, Sarge and Etch a lot. Switched around between Debian and Ubuntu in the Lenny and Squeeze era. Have been using Ubuntu ever since, never really had a reason to switch. Debian compared to Suse was so nice, I really liked the way Debian did things. It made a lot more sense for me in my head compared to Suse.

    As I fucked around with computers a lot, I always had both Linux and DOS/Windows machines running and even had a couple of dual boot systems. For any kind of gaming DOS/Windows was required back then and I did love to game. I do think Windows 10 will be my last Microsoft OS, since Windows 11 absolutely sucks (use it at work, I hate it). Work stuff has become less and less of an issue to get stuff done on Linux just as well as on Windows. And gaming has come leaps and bounds due to the work on the Steamdeck.

    So hope to fully ditch Microsoft in the near future, even though my first ever computer in 1984 ran Microsoft firmware with Microsoft Basic being the default user interface.







  • The problem is those blocking extensions are based on timestamps. Those timestamps are added by the users, it’s a crowdsourced thing. But the ads a single user will see differ from what another user will see. It’s likely the length of the ads is different, which makes the whole timestamp thing a no go.

    Along with the timestamp, there needs to be a way to detect where the actual video begins. That way at least an offset can be applied and timestamps maintained, but it would introduce a certain level of error.

    The next issue would be to then advance the video to the place where the actual video begins. This can be very hard, as it would need to include some way of recognizing the right frame in the buffer. One requirement is that the starting frame is actually in the buffer (with ads more than a few seconds, this isn’t guaranteed). The add-on has access to this buffer (depending on the platform, this isn’t guaranteed). And there’s a reliable way to recognize the right frame, given the different encoding en quality setups.

    And this needs to be done cheap, so with as little as infrastructure as possible. A database of timestamps is very small and crowdsourcing those timestamps is relatively easy. But recognizing frames requires more data to be stored and crowdsourcing the right frame is a lot harder than a timestamp. If the infrastructure ends up being complex and big, someone needs to pay for that. I don’t know if donations alone would cut it. So you would need to play ads, which is exactly what you intend on not doing.

    I’m sure the very smart and creative people working on these things will find a way. But it won’t be easy, so I don’t expect a solution very soon.




  • Good advice, just to add to this:

    • Comments should be part of code review, having at least two pairs of eyes on comments is crucial. Something that’s obvious to one person maybe isn’t so obvious to another. Writing good comments is as hard or harder than writing good code, so having it checked for mistakes and quality is a must
    • Comments aren’t the actual documentation and aren’t a reason not to write documentation to go along with your code. Often I see larger projects where each class and function is documented in comments, but the big picture and the how and why of the overall structure is completely missing. Remember that in the real world you often have a lot of folk that need to understand how the code works, who aren’t programmers themselves. They can’t read the code or don’t have access to the code. Writing documentation is still important.
    • Please for the love of god when you change code, check if the comments need to be updated as well. Not just around the immediate area, but also the entire file/class and related files. I’ve worked on large codebases before with a high wtf factor and having the code do something different to or even opposite the comments is a nightmare. I’d rather have no comments than wrong comments.

  • Yes military targets, as are most energy production facilities. Any part of critical infrastructure is a prime military target. Just ask the people of Taiwan.

    This has nothing to do with terrorism and certainly isn’t a reason not to build them. Whatever replacement you have for them, would then become the target. This is common sense.

    I would also say that being energy independent is a deterrent to all out war, as it removes leverage one party may have over another. With a balanced field of power, total war becomes less likely.

    Also by the time Western Europe / Mainland US is under military assault and our allies can’t protect our critical infrastructure, we have much bigger concerns.


  • Wtf are you talking about? Nuclear power facilities are freaking huge and have top notch security. You ain’t getting anywhere near any place you could ever do any damage. And since everybody who’s supposed to be there needs clearance, it’s easy to have strict security protocols in place. Anybody who isn’t supposed to be there or takes anything in or out they aren’t supposed to is identified easily and taken care of.

    Any nuclear facility is more worried about espionage than any kind of attack. Even if you are able to bomb a part of it, worst case it will be shutdown for repairs for a while and maybe kill a dozen or so people who are near the bomb as it goes off. Something like a crowded square in a city centre is a much easier target for terrorism and probably has more impact in the causing fear department than bombing some energy facility.

    So no, denying nuclear power based on fear of terrorism isn’t only unfounded, it’s also exactly what the terrorists want. Fuck them guys, don’t give in to fear.

    And in case you don’t know: a nuclear power plant is not a nuclear bomb, it can’t become a nuclear bomb and it doesn’t contain any materials to create a nuclear bomb. Just because they both contain the word nuclear and work on a fission principle, doesn’t mean they are the same thing.

    (I blame the recent Chernobyl series for fueling the fear of nuclear once again. You should know that whilst it is a good series, it is not a documentary and they dropped the ball hard on all the science parts)