Pinned toot

I registered this account a while ago but haven't used it actively.

I'm a Python programmer and former Sysadmin in Toronto. I like tinkering with 3D printers, raspberry PI and electronics on the side.

I'm a Linux geek and participate with @gtalug.

Besides computer hobbies I like running and cycling a lot.

I'll be posting more of my side projects and hobbies here, I'll try to put other topics under cw.

Alex boosted
Alex boosted

The number one reason I want a laptop with an e-ink screen is so that I can work outside on days like today.

Alex boosted

Got an *old* Canon camera?

Roman needs your help getting his hands on some .CRW files to provide support for testing! Please help out if you can (check the topic for more info).

(In fact, we can use _many_ camera model raw files using old .CRW - please take a moment to check out and see if you have a camera we're missing raw files for!)

#raw #photography #canon #FreeSoftware

Alex boosted

If you scroll down to the FreeCAD section, there are instructions on using the Mesh workbench to repair STL files that aren't water tight (manifold).

Alex boosted

yeah … OK, I'm gonna have fun with this. Best IoT device ever!

Alex boosted

Upgrading node from 6.x to 11.x and then cleaning up all warnings that show up when run npm install command has sped up my deploy pipeline from 3m 58s to 2m 55s.

I still think its slow and something is very wrong there, but 25% speedup from just updating things is nice.

HN brawhaha Show more

HN brawhaha Show more

Alex boosted

Today I learned that the reason we mostly encode [CARRIAGE RETURN + LINE FEED] and not [LINE FEED + CARRIAGE RETURN] has to do with teletype machines (these were typewriters hooked up to computers that supported input and output). Because CR is moving the print head about 8 inches right-to-left, and LF is scrolling the paper down ~1/4", LF took less time. If you sent CR/LF to certain models of teletype it could do the LF *during* the CR, saving a little time.

In javascript this can be accomplished with the following NPM module.

I'm a python programmer and here is my workflow when it comes to testing APIs I wrote.

* Create basic object
* Clone it
* Add parameters for particular test
* Repeat from step 2

Python is good for this because it has library function that does cloning.

from copy import deepcopy

cloned_obj = deepcopy(obj)

Alex boosted
Alex boosted
Alex boosted

tired of seeing nothing on terminal login screen (cowsay | fortune)

Alex boosted

Now I'm talking to myself on issue tracker.

Everything is fine, nothing to see here.

I'm talking to future self. The one at 10am tomorrow morning.

Alex boosted
The conversation with Todd from Purism was completely unproductive in my mind. In his view, there are only two possible options for moderation:

• Become a complete censorship machine with a slippery slope of who can or cannot speak

• Go by the jurisdiction users are in, hiding content illegal in certain jurisdictions and then removing content illegal in the poster's jurisdiction, for example a Chinese user's dissent against the Chinese gov't would be removed.

There are two problems that I brought up that, being that:

• Purism would be participating in the injustices of those countries

• Legal but harmful content would still be allowed, thus spreading harm.

I felt completely ignored when trying to get this across to him, especially that last bit. I also tried explaining to him that a slippery slope does not exist when you have set principles that you stick to within rules, but that completely flew over his head. It also ended with him basically telling me to solve the problem with a solution that works for every country everywhere and then get back to him. So, the block & boycott of Purism continues.
Alex boosted

PiShot allows capturing high-speed strobe images using the Raspberry Pi Camera.

Alex boosted

Legend has it that Douglas Engelbart invented the mouse in 1968.

But did you know that German television manufacturer Telefunken released a "rolling-ball" device just a few months earlier?

From a technical perspective it actually closely resembles the kind of mouse that we ended up using until the late 90s.

The German patent office declined a patent due to a "lack of inventive step".

Show more

Generalistic and moderated instance. All opinions are welcome, but hate speeches are prohibited. Users who don't respect rules will be silenced or suspended, depending on the violation severity.