Thursday, 4 February 2021

"Look twice"

Yes, it might matter when errors occur, so I keep checking my store account.

Apparently it's the top one :)


(Time travelling me back to the question of line/bar chart x axis coordinate interpretation ...)

Bug or not, it indeed does good to my self-confidence when I receive slightly bogus intel about my tiny bogus app's bugs (just caught and fixed one after breakfast ... and surely not the one manifesting on the chart <sigh>).

Thanks guys, hope you saw mine, no worries there'll be a next anyway if you missed out & good morning to you too ... 8-]

Wednesday, 3 February 2021

Do delete unused multipass instances

aka 'Completely stupid moves with Snapcraft #1'

You can easily fill up your drive whilst experimenting with Snapcraft if you are as wise as me.

Snapcraft (currently?) relies by default on a virtualization software also by Canonical Ltd., called Multipass.

This will seemingly thrive off pretty big files (I believe I mostly used base18 in my snaps), likely full installations of Ubuntu18. 

I would have expected nothing like to happen when I started deleting my unused multipass machines, but each took ~ 10 GB, despite being almost identical.

Most of them were just results of not caring about snap naming from the first steps ... =b

In short:

multipass list

will give you the snaps, including e.g., having forgotten to use --purge when deleting:

snapcraft-my-snap-name           Deleted           --               Not Available
snapcraft-testapp                Deleted           --               Not Available

now, at this point one might be inclined to delete and purge them well:

multipass delete snapcraft-my-snap-name --purge

and walk away happily with ~ 20 GB (or more) of free space again.

Sunday, 31 January 2021

Wednesday, 27 January 2021

For the "am I crazy" moments with Cython

NB it isn't necessarily a good idea to do something like x = str(x) in Cython.

Keep things with their types associated with variables unchanged, or incomprehensible TypeErrors might keenly jump to help you get your well deserved early dementia.


Thursday, 14 January 2021

Pair programming - the untold truth

It probably is the best alibi to cover for the unstoppable urge of talking to yourself while programming. Well, though - just given that - you aren't necessarily crazy :)

Having throughly studied about 1% of a very prestiguous article, I conclude

"deep, transcendental"

"could actually be a sign of high cognitive functioning"

"might reflect the reality of a genius"

Calm down, that's all we are folks, even if pair programming with an invisible rubber duck at home. Makes sense.


Sunday, 10 January 2021

Saturday, 2 January 2021

And the text editors ... well, they, too

Of course the more advanced/popular text editors for programmers didn't stand a chance when audited for security in 2018.

https://threatpost.com/researchers-show-how-popular-text-editors-can-be-attacked-via-third-party-plugins/130559/

But did anything really change since then? Maybe I just don't to know :)