Swiggles
@Swiggles@lemmy.blahaj.zone
- Comment on Microsoft may replace the Start button with the Copilot AI in Windows 12 1 year ago:
Unfortunately it has a habit of jumping around due to its asynchronous weird fuzzy search. So when typing fast you sometimes randomly launch the wrong action. It is especially inconsistent, because files are also indexed and by default it also includes web searches so the behavior is always changing.
I believe this got introduced with Windows 10 and feels just bad. Unless you are typing slowly and actually scan the results the search is doing a bad job as an application launcher like it was with Windows 7 for example.
- Comment on poorPenguin 1 year ago:
It kinda is though. Iirc it received an interrupt it shouldn’t have received and doesn’t know how to resolve. It is not supposed to ignore it, but then the only other option is crashing at this point. Basically it continues in a dazed and confused state.
Of course the message could be clearer, but at least it also makes the message easily searchable.
- Comment on call the doctor, the CS doctor 1 year ago:
Up to 355687428096000? That’s impressive!
- Comment on incoming 1 year ago:
That’s actually cool. I have to remember it next time I have to deal with html mail.
- Comment on incoming 1 year ago:
Now do html mail!
- Comment on Are we ready for javascript without a build step on the front end in 2023? 1 year ago:
None of the tools are really made for the most trivial use cases though. Although it doesn’t take much effort to set everything up in a simple project I would probably also skip most of it. But this discussion about tiny one off projects is kinda pointless as you don’t have many of the problems the solve anyway.
I implemented a reddit frontend (kiosk mode) a while back using only vanilla JS for fun, because a previous implementation by someone else broke. There was not really a point though as it wasn’t even simpler than using the proper tools. It was just for the hell of it, but nowhere close to a “real” project though.
- Comment on Are we ready for javascript without a build step on the front end in 2023? 1 year ago:
And the simple answer is no. You can remove a layer here and there, but this is what the modern dev environment looks like.
I mean sure you can implement all that yourself and carry all the extra cognitive load, but it is not productive to even skip babel or so. There is no point, but the challenge.
Of course it is a bit more complicated to pick the right tools and you don’t have to use everything, but that’s a whole different discussion.
- Comment on Are we ready for javascript without a build step on the front end in 2023? 1 year ago:
You always have linter steps, testing etc and a competent developer should be able to deal with all that. Of course you don’t start with all this with new students, but I don’t think that is what this post is about.
- Comment on Are we ready for javascript without a build step on the front end in 2023? 1 year ago:
Why though? I think I am missing the point, but I don’t see the problem with having a build step in your projects. Especially for frontend it is not just JavaScript, but things like Sass/SCSS to consider etc.
- Comment on The Weekly 'What are you playing?' Discussion - 11-09-2023 1 year ago:
I am playing Railbound after it got on sale this week. Some of the extra levels are really hard and I have yet to find a solution.
Overall it is a fun little game which works great on the Steam Deck.
- Comment on Every Single Freaking Time 1 year ago:
Ctrl/Shift+Insert gang rise!
- Comment on Can I keep fried eggs in fridge? 1 year ago:
Two weeks? I would throw away the whole fridge if I left any food in there for two weeks.
Most foods are okay for around two days without any problems. Some foods may last up to 5 days if they are salty or contain some vinegar, but it requires throughout heating to be save at this point.
I would never eat anything older than that which has been exposed to air. It’s a biohazard!
- Comment on All of Japan's Toyota Assembly Plants Shut Down for a Day Because Their Server Ran Out of Disk Space 1 year ago:
Yea, fair point regarding the single point of failure. I guess it was one of those scenarios that should just never happen.
I am sure it won’t happen again though.
As I said it can just happen even though you have redundant systems and everything. Sometimes you don’t think about that one unlikely scenario and boom.
- Comment on All of Japan's Toyota Assembly Plants Shut Down for a Day Because Their Server Ran Out of Disk Space 1 year ago:
This happens. Recently we had a problem in production where our database grew by a factor of 10 in just a few minutes due to a replication glitch. Of course it took down the whole application as we ran out of space.
Some things just happen and all head room and monitoring cannot save you if things go seriously wrong. You cannot prepare for everything in life and IT I guess. It is part of the job.
- Comment on They are watching 1 year ago:
Why? The answer is known. You can easily proof it by contradiction. Therefore the halting problem is unsolvable.
This solution actually provides some good insight into other problems and wether or not they are solvable. It is useful, even though the negative result might seem disappointing.
- Comment on Nextcloud on VM or Docker? Best set-up for proper backups? 1 year ago:
If you can use containers always use containers as a rule of thumb. VMs are less efficient in almost every way and they add some unnecessary complexity.
For docker you basically only have to backup the persistent data. So in case of the docker setup you just have to backup the mounts and probably your compose file you are using. This probably also answers your third question already. Container files can be left alone and don’t need to be considered for backups as they should be stateless and can reside in their default location (/var/lib/docker/overlay2 or so by default).
Overall it is quite simple as you only really have to consider the mounts and the docker setup. The mounts you define and should be really obvious and the docker setup is just a few config files at most or just the compose file.
- Comment on Linux Best Practices 1 year ago:
Define a function called : which runs itself and creates another fork of itself as a background job :&. After the function definition call the function (final :).
It’s easier to understand once you realize that : is a valid identifier. It is a simple mildly obfuscated fork bomb.