Technology will make your life easier

Without a case I might recently have had to either replace the screen or possibly get a new phone. Screen several times because for some reason I keep dropping my phone recently (have had years without incident and suddenly there were 3 in a very short time). Actually when I fell with my bike (my fault, nothing happend except for a few scrapes and dented bike baskets), the phone jumped out of the case onto the street but apparently at such a low height that nothing happened to the phone though the case has a few extra scratches.

The other time I dropped it on the tile floor at home.
Third one it fell out of my (not deep enough because women’s clothing sucks too often still) pocket onto the sidewalk.

Good case.

5 Likes

I bought a smartphone in 2015 because I wanted something with GPS when I was overseas that year.

Within 12 months I’d dropped it on the concrete causing a spiderweb of cracks to cover half the screen.

Replacing the screen was going to cost too much vs the cost of the phone, so it didn’t make sense to do that.

Still using it.

4 Likes

A phone case prevented me from supergluing an old phone to a desk. Only cost me a tenner to fix that issue.

3 Likes

Question: is there any “good” solution for a browser on my ipad? As far as I know everything is Safari. And Firefox iOS experience has been degrading more and more :frowning: But even if it is just a front-end it shouldn’t be so awfully slow, crashing all the time and forgetting tabs.

2 Likes

I believe DuckDuckGo Browser is available for iOS.

3 Likes

I super glued my hand to a desk once. Clearly I should have worn phone case mittens. Would have been less skin loss.

4 Likes

Or had a lighter desk.

2 Likes

Vivaldi for iOS is on the way. It’s in limited release for public testing at the moment, with more slots announced through their mailing list. I’ve been using it and it’s pretty good so far.

Roger is correct (naturally) about DuckDuckGo.

2 Likes

I’ve ordered a new case.

3 Likes

Thanks by the way, I have now been using the DuckduckGo Brower and it works far better for now.
Still hoping that firefox will eventually recover.

3 Likes

In news of technology actually making my life easier, I have been using ChatGPT to help me prototype bash scripts. In related news, my bash skills are improving rapidly from figuring out what’s wrong with the prototypes.

I’m also considering whether I should be retraining as a plumber for when the machines make me redundant.

3 Likes

I did this, and bought an LSi 9305-24i, which arrived today. So far, it… is… ALIVE!

2 Likes

Personal opinion: once a bash script is more than a few trivial lines, and certainly once it grows logic, it’s time to move it to your language of choice – now, while that’s still a relatively easy task. Because using bash means you eternally have to be on the lookout for shell escaping and expansion problems which simply won’t be a thing anywhere else.

I will concede that if you’re better at bash than I am this may be less of a problem for you than it is for me, but I’ve never regretted moving something from bash to Perl or Python or Ruby or…

4 Likes

Extremely unlikely :laughing:

Anything remotely complex I do in python :+1:

3 Likes

I’m generally of that opinion, but there are times it makes sense to use a shell, usually when you can can’t be sure the alternative you want to use will be available. I had to write some awful bash because it existed, and a usable python did not, on a system I deal with.

2 Likes

I’ve become so accustomed to awk that I use awk for just about everything. Which means my awk skills stay sharp while everything else atrophies.

I would likely be a full-stack developer by this point if it weren’t for awk.

So… Thanks, awk!

4 Likes

I wrote a web application in awk once, what these days would be called a micro-service, but it was the 20th century, and those hadn’t been invented yet. Content management was done with make, of course, which was triggered by procmail.

I wish i were making that up. (More usefully, I also built a front end to hpux’s logical volume manager in awk. read a table, the state of disks, physcial volumes and logical vols, and made changes to state to match the table. )

3 Likes

*glances sideways at a 4,268 line bourne shell script I wrote and maintain*
:eyes:

(That was “on purpose”, admittedly… I wanted it to be a run-anywhere POSIX-compatible thing.)

My longest bash script is only ~2,500 lines! :‍)

(Although a bunch of that is embedded TCL code for expect – and wrapping up that in a shell script was a whole lot nicer than trying to write the whole program in TCL, which is what I started out attempting…)

I guess my predilection for shell scripting might be akin to Stockholm Syndrome, but it’s always been my go-to.

3 Likes

I used to write small (10-20 lines) shell scripts for various purposes I was otherwise unable to automate.

On my current server, the only one I have is one that copies a bunch of files between 2 directories, when I click a button in a webapp that used to be php and I wanted a clear disconnect between the app and the file-copying because no php script I wrote should have access to any directory that is associated with my mailserver. The script is triggered by inron. The app is now in python.

Then I discovered the joy of ansible and shell scripts no more. I struggle and my ansible scripts are probably not pretty or professional but the amount of automation I need is not that much. So I get away with my small bit of knowledge.

I am a fan of awk. It is very useful in quickly analyzing files. I also once based a huge perl-script I wrote on some awk commands that analyzed webserver states for a huge bunch of webservers and stored everything in RRD files (I don‘t know the exact library anymore they were very popular then for tracking server stats). That was in 2003. I think the great-great-grandchildren of the perl script are probably still running somewhere at the company—there was later a whole team running it—but I am 100% sure no more perl or awk involved.

1 Like

Many years ago I decided I should improve my sed and awk knowledge and so I read a book on those, and by the end… I knew why perl had been created :‍)

3 Likes