scarygliders

Joined 12 years ago

Karma
1,676
Submissions
413
Member since
Feb 21
Writer of some technical articles, author of 3 linux-related open-sourced projects, a father, a husband, a company owner, a human being. Basically, Just Some Guy, living amongst everyone else.

Blog : http://scarygliders.net Tool #1 : https://github.com/scarygliders/X11RDP-o-Matic Tool #2 : https://github.com/scarygliders/Polkit-Explorer Tool #3 : https://github.com/scarygliders/XRDPConfigurator

View on Hacker News

Recent submissions

Comment · 8 months ago
It does appear to work. I received a message from Discord saying "We determined you're in the adult group. <learn more>"

narrator> And that's when he discovers his account has now been hacked...

;)

Comment · 1 year ago
Ah, brings back memories of being a Silicon Graphics Customer Support Engineer based in London and the Home Counties, back in the late 90's and early 2000's.

Indy, Indigo, then later the Octanes, and others I can't quite remember the name of off-hand.

The video post-production companies in SOHO - I saw the CGI being rendered for Event Horizon...

The "IBM Stiction Problem" as it was called. Batches of IBM hard drives that worked fine for months - right up until the machines were powered off - which then entailed an on-site visit. The stifled gasp from the customer as I remove the old drive and give it a stern tap on the desk, to get it unstuck so I could clone it to the replacement. ;)

Enjoyed that job immensely, except for the driving around London bit.

Comment · 1 year ago
Bush Porn. Here in Scotland, way back when I was, oh, 7, 8, 9 years old, always stumbled across discarded porn magazines in the woods I used to play in. Moved area when I was 11, once again, always used to stumble across discarded porn. Bush porn was a thing.
Comment · 1 year ago
Hmmm, no mention of Teknicad? sadface

I seem to be the only person (along with 3 others who were my cow-orkers) who ever used or heard of Teknicad , running on Tektronix Unix workstations and terminals :)

Comment · 2 years ago
That could be a very good thing, depending on which part of the planet you live.

For example, I'm in Scotland, and apart from one or two days, we've basically had a "year without a summer", with cooler than normal temps. ;)

Comment · 2 years ago
Projects I haven't touched for a long, long time...

XRDPConfigurator : https://github.com/scarygliders/XRDPConfigurator

- This is a GUI application I wrote 10 years ago. It even has a full WYSIWYG emulation of the xrdp login screen, which you can use to customize the look of it! All written in Python and PySide. It was originally meant to be a commercial product that I'd sell. Turns out there was no market for it and no one seems interested in it. Oh well!

X11RDP-o-Matic : https://github.com/scarygliders/X11RDP-o-Matic

- This was a shell script which automatically built and installed the Xrdp server on Debian based systems. Was quite popular back in the day but became kinda obsolete, which was good.

Polkit Explorer : https://github.com/scarygliders/Polkit-Explorer

- reads in a Policykit .policy file, parses its XML contents, and presents the information it contains, on a more human-readable GUI window. This seems to be useful to folks and someone even created an Arch Linux AUR for it, which was nice. I perhaps should try to update it so that it works with more modern versions of Python and PySide.

That last one. Hmmm. It's been a hot minute since I even thought about it, but someone recently created an issue to do with getting it running with python 3.12, so maybe I should have a peek at it once again...

The author of the article, I agree with. It's OK to abandon things. XRDPConfigurator is what I used to learn Python and Qt (with a naive goal of making income from it). That application took a year and bit of my time. I'm particularly proud of the Xrdp emulation, and the WYSIWYG editing of the Xrdp login screen layout! But spending any more time on it was wasted time. I open-sourced it after taking out all the nasty - and self-designed - registration (DRM) stuff I'd also had (which spoke to a central registration server and was Very Clever[tm] With No Chance Of Being Bypassed! ( /s ), and promptly just left it stewing in stasis. And no one was really interested in it, either. I guess Xrdp just isn't sexy enough for folks ;)

Comment · 2 years ago
Congratulations. I already told you I test my programs. The discussion is about expending brain power and time writing hundreds of lines of code to test the intended user-facing code, which, in my opinion, is just dumber than a bag of hammers.
Comment · 2 years ago
> Don’t get me wrong, the field is riddled with people who think testing is beside them and wash their hand with the quality of what they ship and what they put their users through. That’s an issue to fix not a situation we should tolerate.

See, this is my point. It's not that testing is beside me, it's that my stuff gets tested anyway.

Here's the test: Does it fucking work or not?

You do that by running the thing. If it explodes, find out why and fix it. Job done. No thought or line of code was wasted in writing tests, all brain power was used to initially write a piece of code - which initially had a bug of course - and then said bug was fixed.

My code gets tested. By people using it. Or by me testing it as I write it ("does it fucking work").

There is really only one test.

You can choose to expend your brainpower and time on this planet writing code that will never actually be run by an end-user, or you can just write the fucking code that the end-user will run. That's how I work. Write it and run it. That's the test.

Test code written to test Useful Working Code is time wasted. It's like putting stabiliser wheels on bicycles - you're either gonna be stuck forever riding a bike with stabilisers, or you grow up and rip them off and have a few falls on the bike then become confident and competent enough to ride that bike without them. And have more freedom and time to experiment and go places you couldn't when they were put on.

So yeah. I definitely wouldn't work with people who like wasting my and their time on this Earth.

Write it. Run it. It either does what it's supposed to or not. If it doesn't, find out why and fix it. Or discover that your function/code abstraction/thought was shit in the first place then write it differently - oh and that's the worst part about writing code that tests the Code That Does The Work; say you discover that the function you're writing was a load of bollocks and needs to be highlighted and simply erased - there goes all that test code you spent brainpower and time, with it, too. And now you have to spend even more time writing new test code to test the Code That Actually Does Useful Work.

No thanks. And goodbye.

Comment · 2 years ago
> But I would like to thank all the people here who think testing is useless for their attitude. You make my job easier while hiring.

That's fine.

I've never written a test in my life. Have my programs ever had bugs? Sure. But I sleep very well at night knowing that I spent all my brain power and time writing actual code that Does Useful Work rather than have wasted significant lengths of my time on this planet on writing test code to test the code that does the Useful Work.

You speak of attitude and smugly "thank" those who don't write tests as that acts as your hire-or-not filter. With an attitude like that, I'd 100% not work for anyone with that attitude anyway.

Comment · 2 years ago
Easily distracted by giant balls of knitting wool ;)

Their one Achilles Heel.

Comment · 2 years ago
My first home computer was Z80 based; a Sinclair ZX81

I think I still even have a book on Z80 assembly somewhere. Had a bright orange cover.

Comment · 2 years ago
Er, vaping is 100% NOT smoking.

There is no fire/combustion involved when vaping. Vaping is when a liquid is heated up enough to turn it into a vapour. The same process as heating water enough turns it into steam. That's it. The liquid will have flavourings and nicotine added to it, meaning the vapour produced will deliver said flavourings and nicotine to the person inhaling it. The exhalation will contain remnants of that vapour along with just water vapour - most of the flavourings and nicotine will be absorbed by the person who inhaled it.

I always get puzzled as to why people say they are /disgusted/ by vaping, or why they equate combustion based smoking with the non-combustion based conversion of a liquid into a vapour. Help me understand you. What part disgusts you about vaping? That you can see a cloud of water vapour being exhaled? Have you ever been out somewhere where a fog machine is being used? Congratulations, because the liquid used for the fog machines is mostly the same as used in vapes and also asthma inhalers.

You might as well get "disgusted" by the fact that if you are in a room with another person, you'll inevitably be inhaling part of that other person's exhalation! I guess that's okay though, because their exhalation products aren't visible to you?

Comment · 2 years ago
This is entirely incorrect. The small village I live in, in Scotland? The really crappy and unreliable public transport? Yep. I need a car if I want to get to the Reasonably Priced Supermarkets and transport the weekly shopping back home conveniently, for example.

Or if I need to travel to Place of Work/customer sites.

And then there's the long trips around the country when I want to embark on them.

So please. Don't tell me I don't need a car. Reality, practicality, beats ideology any day.

Comment · 2 years ago
I don't hate the idea of living in car-free cities.

It's cities I hate the idea of living in. Which is why I choose not to live in cities. And is why I need a car. Fuck cities, I hate 'em.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton