Technology will make your life easier

My company has ceased its semi-annual phishing testing without explanation.

I suspect it may be the fact that the failure-rate of these tests creates a paper trail of liability.

4 Likes

Google is rolling back the AI summaries of their search results. Too many ā€œeat glue, eat rocks, drink urine, jump off the golden gate bridgeā€ answers, apparently. Gee who could have guessed?

4 Likes

This concludes the second ever test of the Google AI. The first test was where we asked the AI ā€œshould we do internal testing first to see if our AI will generate dangerous advice?ā€ – that test concluded successfully with the answer ā€œNo, ship it.ā€

6 Likes

It has been quiet around here, seems everything has been working out…
Well, I have a question… a friendsā€˜ Windows laptop is giving Bad_File_system_Info errors after an update.

He has shell access but when trying to save the data with xcopy (thatā€˜s what he told me he was doing) he gets another error that the filename cannot be saved.

I donā€˜t have more info atm because he can only type on his mobile obviously.

What would be the best strategy to save the data from the hard-drive?

Is there a number with the filesyaem error? It tells (someone who knows them) what kind of error is happening, which can point to a solution. (And remind your friend they can take a picture of the screen with their phone…)

My expectation is failing disk.

1 Like

The photo of the blue screen says actually ā€žBAD SYSTEM CONFIG INFOā€œ
This seems to have happened after the computer first did the latest windows update and then a bios update on top…

The potential data loss is about a few dozen photos and a whole lot of work setting up a new system of course. Most of my friendā€˜s data is online luckily.

The trouble is that the only USB drive he has at the moment apparently is not formatted in a compatible way. So tomorrow morning heā€˜ll probably try to buy a fresh one to get at those files and then see if any of the system can be salvaged.

Which reminds me to commit and push all my git repos … (I have a few that are not code and so donā€˜t get committed on every single change)

I have a problem with how I use my web browser.

I open a lot of tabs and rarely ever close any of them.

A lot of this is due to my work – I am constantly dealing with a wide range of web-based content, and might easily open up dozens of tabs along the way while working on a task. And outside of specific work tasks, I also spend a lot more time opening web pages, many of which are ultimately set aside for later reference because I don’t have time to read them then and there.

Mostly the hardware and software cope, and not dealing with the problem is easier than dealing with it; and so over long, long periods of time the number of tabs in my persistent browser session becomes enormous. And it’s always a mixture of things I no longer need and things I know I still want to look at, so I don’t want to just kill an entire window of them – but I almost never go to the effort of cleaning them up.

Eventually it does get unwieldy of course, so that’s when I finally… open a new browser window and continue the pattern in there. And if the number of windows becomes too much, I just send some of them off to one of the 10 workspaces that I don’t have another use for.

Over time, vast numbers of browser windows, all loaded with tabs, accumulate in that workspace I’m never looking at. And when I restart the browser, my system remembers which workspace they were in, puts them back there, and I never really see them.

And, finally, the hardware starts to struggle – but the vast, vast majority of the tabs are not properly loaded most of the time – i.e. it’s not ā€œI’m struggling because I’m rendering all these pagesā€ but rather ā€œI’m struggling because simply keeping track of the list of things I might be asked to load has become difficultā€.

All of this to convince you that I’m genuinely not joking when I tell you that my browser session, accumulated over I don’t know how many months, contained 8,843 tabs.

Furthermore, every tab has its own history, and if you included all of that then the total number of page views being tracked in that session was 24,269.

I wouldn’t normally know these numbers (this isn’t the first time I’ve been in this situation), but the last time I did a clean up I did it manually, window-by-window, tab-by-tab, and it took hours. So today I did what I should have done then, and I figured out how Firefox actually stores this stuff, and how I might perform some direct surgery on that data in order to purge the URL patterns I knew I could safely lose, without losing the things I might still want.

I mostly attacked the biggest targets – today was not an attempt to reach ā€œsaneā€ levels of session state, but rather to solve the performance issues I’d been observing for a while – and so while the current figure of 2,565 (or 4,156 when including tab history) would still sound utterly ludicrous to almost anyone, it represents a tremendous improvement for a first pass at the issue. My laptop is remarkably happy about the situation!

I will of course share details on the offchance that anyone else would find it useful…

  • On my system, Firefox stores the profile in ~/.mozilla/firefox/<name>/
  • When you shut down Firefox, it writes the session state to a compressed JSON file named sessionstore.jsonlz4
  • The *.jsonlz4 files (and also *.mozlz4 files) are compressed using Mozilla’s customised version of the LZ4 format, so you can’t use standard LZ4 tools to process them.
  • The Ubuntu package archives contain a package lz4json which provides a program lz4jsoncat which can decompress these files, but that cannot re-compress them.
  • Instead you can use mozlz4 to both decompress and recompress.
  • To do the heavy lifting with the JSON itself, you want the venerable (and fast) jq.
  • The manual process I used looked something like the following… (n.b. I’ve edited some stuff here without re-testing, so it’s not impossible that I’ve introduced an error. If you can use this, though, you’ll probably know how to deal with any mistake I’ve made.)
# Shut down Firefox

# Back up the session file
cp sessionstore.jsonlz4 sessionstore.jsonlz4.backup

# Extract JSON data.
mozlz4-linux -x sessionstore.jsonlz4 ss0.json
# or: lz4jsoncat sessionstore.jsonlz4 >ss0.json

# Format the minimised JSON, if you want to look at it yourself.
cat ss0.json | jq >ss1.json

# How many URLs are there in total? (full history of every tab in every window)
cat ss0.json | jq '.windows[].tabs[].entries[].url' | wc -l

# How many tabs are there?
cat ss0.json | jq '.windows[].tabs[].entries[0].url' | wc -l

# Produce a sorted file of URLs in order to easily pick out target patterns for deletion.
cat ss0.json | jq '.windows[].tabs[].entries[].url' | sort >ss_files.txt

# Purge all unwanted URL entries from all tabs (each tab having its own history).
# You will need a REGEXP_MATCHING_URLS_TO_PURGE.
# (Probably in the form of "foo|bar|baz", etc...)
cat ss0.json | jq 'del(.windows[].tabs[].entries[] | select(.url|test("REGEXP_MATCHING_URLS_TO_PURGE")))' >ss2.json

# Purge all tabs which are now empty.
cat ss2.json | jq 'del(.windows[].tabs[] | select(.entries | select(type == "array" and length == 0)))' >ss3.json

# Re-compress and clobber original session file
jq -c ss3.json | mozlz4-linux -z - sessionstore.jsonlz4

I then crossed my fingers and started Firefox.

I’m not sure whether it had to Figure Some Stuff Out on account of what I’d done, as my machine seemed to struggle a bit, but I think it was mostly that I’d purged all tabs that had been showing the ā€œnew tabā€ page, and I’d previously been using that as a mitigation for having so many windows – in each window I didn’t need, I opened that ā€œnew tabā€ page, which consumes few resources; and when I restart Firefox it only goes to the bother of loading pages which are in visible tabs; so that goes a long way to stopping it from churning CPU for every window, and I’d eliminated that protection…

Despite having managed to close a bunch of browser windows after the big purge, I still have a very silly number of them (22); so that probably accounts for the initial sluggishness (especially as I think some of those tabs were for fairly heavyweight pages). Once I’d closed the windows I could easily close, restored my ā€œnew tabā€ mitigations in the others, and restarted Firefox, it felt incredibly snappy!

I don’t believe I spent any more time getting to that point than I’d used on any prior clean-up, but now I have a process I could use to trim the fat at any time with very little bother.

Or I could, you know, try to form a habit of reviewing and closing tabs more often. I know myself well enough to not trust that, though…

5 Likes

Well that sounds stressful.

I am a tab closer. I get nervous when I have more than 10 tabs open at the same time. (I have about 10 pinned tabs that donā€˜t count—including webmail, my nextcloud, todoist, tekeli.li, bgg)

What I have is tab containers where I can send tabs to another container within the browser. And I have named those by context. Work, Games, Shopping, news…. occasionally I donā€˜t switch between those for a while and find that one of them has accumulated a dozen tabs. I quickly clean those away.

When I find I am keeping a tab because I would normally be bookmarking it instead—I bookmark it. Or I add the link to todoist if it is something I mean to read later but not now.

How do you even find anything with 1000s of tabs? Wouldnā€˜t an improved tab history be much more valuable?

But my partner is also a tab-keeper. Waiting for him to find a particular tab where he put whatever he is looking for is hard for me to watch.

3 Likes

How do you even find anything with 1000s of tabs?

Well a lot of the time I just open a new tab, of course!

Mostly the stuff I’m using in the short term is nearby, though.

I can also search the tabs, and I use that quite frequently.

I won’t attempt to defend my approach as in any way reasonable, though.

I get nervous when I have more than 10 tabs open at the same time.

I’ve been on video calls where someone shared a screen with maybe double-figures of tabs, and another person has made a comment about them having so many tabs open… and I just hold my tongue and wonder exactly what would happen if I shared my screen…

2 Likes

Wow.

Yeah, put me in the two figure tab camp. I think my weirdest habit is that I have a collapsed block of tabs for commonly used symbols that aren’t on keyboards - minus sign, multiplication symbol, greater than or equal, etc. - because I can’t be bothered to learn the shortcuts to input them.

2 Likes

I currently have 45 tabs open on my work computer across two windows of Chrome, and then 12 tabs in Edge. This fluctuates back and forth a bit, but is usually a little less than this. Edge is primarily for our company Sharepoint and Power Automate stuff, and as I’ve been creating flows I have some reference tabs for how to do particular things. The Chrome stuff is a mix of work and personal stuff, like these forums and BGG, but they are mostly the login pages for various utilities I may need on any given day, or instructions on how to do particular things that I don’t need to do very often.

Sometimes I will just make something into a bookmark/favorite and close the tab. 90% of the time, I never end up needing to use it again.

2 Likes

I’ve replaced my old wired gaming mouse with a more ergonomic wireless mouse. Unlearning 13 years of muscle memory is hard but my hand and wrist position already feels better.

I bought an extra dongle so I can use it on my desktop and work laptop.

5 Likes

When I changed from a plain three button mouse to a trackpad, I kept a (sadly two buttons plus clickable annoyance wheel, not a proper 3 button mouse) mouse hooked up for years, just in case I really needed it. I used it a fair bit originally, but not at all after a few months. I had to look for it a couple years ago when I got a new work desktop, because the Bluetooth trackpad wouldn’t work out of the box, and the mouse it came with was defective. (I had an amusing experience at the Apple Store getting a replacement. I had taken the mouse along when I had another reason to go to the store, and the woman helping me was unable to replace it, because for some silly reason I had not memorized the serial number of the computer. She realized how stupid that was, and grabbed one from a display computer and just handed it to me. )

3 Likes

The mice provided at work are the standard symmetrical HP two button with scroll wheel. The more recent versions seem to have got slimmer.

I’ve also had the mouse and keyboard completely disappear from the desk I usually work at when I’m in the office.

Don’t think I’ll be bringing my own mechanical keyboard into work (as much as I hate the squishy HP keyboards) but a mouse is easy enough.

1 Like

I’ve been using trackballs for years - not the Microsoft-made ones, for some reason every Microsoft peripheral starting from the original ā€œnaturalā€ keyboards just sits wrong under my hand, but your basic asymmetric thumb-ball works well for me.

2 Likes

I’m about to buy a TV for the first time in 20 years. I’m very wary of ā€œsmartā€ technology, but almost resigned to it after a brief online trawl. Any tips on buying, ā€œsmartā€ or otherwise?

My only comment is that a screen that looks massive at first glance will pretty quickly become ā€œnormal-sizedā€ – and if you haven’t had a TV in 20 years, they will probably all look massive at first. As such, you might well be best-served in the long run by something which is larger than whatever your gut feeling says is big enough.

(Unless you rented one for a bit, though, I can’t think how you’d know for sure.)

My parents recently went from a 32" to 43" which originally felt like a big step up but quickly felt a bit small.

I don’t think they mind as I think they’d prefer the TV not dominate the living room. Some of their neighbours have 50" plus and looking through their windows it almost feels like the TV is the entirety of their living room.

Oh, in fact I have other comments. Two things which have traditionally varied a great deal with flat screens are refresh rates and black levels.

Even if you don’t care about sports, they can be rather good for deciding whether the refresh rates are good – if you can clearly track a very small, distant ball travelling at high speed across the screen, you’ll probably not have any issues with anything else either.

If you care about black levels (some screen tech just isn’t great at not lighting up pixels to some extent) then super-bright demo content isn’t going to help show that off. Nor will a brightly-lit shop room, though. If you really care, then a darkened demo room would be the thing, and maybe a film set at night :). You might be lucky to find that though, in which case good reviews may be your best bet.

I don’t really know what the current state of the technology is like, though.

(On which note: I personally don’t understand who could possibly need a 4K TV. But I’ve never sat in front of one either. It sounds absolutely insane to me, though – that’s a resolution you can project on a movie theatre screen and have a really great picture (in fact a quick web search suggests most digital theatres use 2K projectors, and only a relative minority 4K). I just don’t understand why it’s a thing for televisions at all. Yes, you’re closer – but not that close, surely? My suspicion is that dealing in 4K is just asking considerably more of all of the hardware involved, for no real benefit (and if there was any risk of the hardware ever struggling with that, then I’d prefer a downgrade in resolution every time). Folks with experience of the things may well disagree, though.)

2 Likes

Thanks.

I relatively recently bought a higher resolution monitor, and the difference is clear to me there. Doesn’t seem strictly necessary for streamed content, which is likely the only 4k content that will appear on the TV, but since the screen will be about four times bigger than my monitor, and our house internet speed isn’t lacking, it surely can’t hurt.