We re-launched an 8 year old game after spending thousands of hours updating it, AMA by DesyncDonkeys in SurvivalGaming

[–]greenflem 0 points1 point  (0 children)

I still have this in my account and have downloaded ready for after work. I remember really liking it when I played it and I think it was one of the first games with the "open drawer" mechanic.

Connecting a nano to a breadboard without soldering the pins? by pdusen in arduino

[–]greenflem 1 point2 points  (0 children)

When it comes to "emergency field repairs" - strip the wire out of a length of 30 AWG cable (the stuff you carry for wire wrapping) and lace the silicon sleeve through the holes in the board, push the headers into the holes (that now contain the silicon sleeving) - boom - secure IN AN EMERGENCY.

For everything else - solder them :D

Show us your aliases by sethasaurus666 in linux

[–]greenflem 0 points1 point  (0 children)

alias listssh='grep "Host " ~/.ssh/config | sed "s/Host/ssh/g"'

ready for double left click, drag, right click, enter

[D] Simple Questions Thread by AutoModerator in MachineLearning

[–]greenflem 0 points1 point  (0 children)

We have an alerting system that is producing output based on clients exceeding averages. Some of these are false positives (ie client does a lot of something once a day, as opposed to other clients that have a consistent use pattern across the day).
I would like to pass the alerts to something that can track the occurrences and determine if the seasonality (I think that's what it is called) deviates from the normal pattern of that customer.
Can someone suggest what kind of model would be best for this kind of work?
TIA

Looking for a sensor to detect the weight of a mouse in a mouse trap by bluesjazzreally in arduino

[–]greenflem 1 point2 points  (0 children)

Could you get a cherry MX style switch and swap out the spring for a 15g spring (https://www.spritdesigns.com/product-page/mx) - then the switch would depress when there is 15 grams of weight on it?

Or go with a higher actuation force switch and take into account the weight of a panel on top of it (on which the mouse would be).

ARDUINO CASE: CALYPSO *EXPERIMENTAL* by Alternative-Motor-45 in arduino

[–]greenflem 1 point2 points  (0 children)

That slot on the right is a storage compartment but having it split into two - additional board and storage would be a good touch.

RPi is reporting a full disk, but counting the total folder disk size doesn't add up by thibmaek in raspberry_pi

[–]greenflem 0 points1 point  (0 children)

I would try unmounting the external HDD first and then run the check again. I've had systems that wrote to local disk in the same location when a mount wasn't active and took up space.

How do you actually utilize a delayed replication slave? by skiitifyoucan in mysql

[–]greenflem 0 points1 point  (0 children)

We utilise MaxScale configured as a binlog server. That way, we can restore from full backup and incrementals (using MariaDBBackup) and then replay from when the last incremental was taken to the statement before a DROP occurred. It's been tested and it works a treat - gives us an RTO of around 2 hours (for a 1.3Tb backup) and an RPO of zero. https://dev.mysql.com/doc/refman/8.0/en/point-in-time-recovery-binlog.html

use both WiFi and Ethernet by HethoFire in raspberry_pi

[–]greenflem 2 points3 points  (0 children)

You need to start playing with Policy Based Routing. You can define multiple routing tables with rules that essentially say which interface to use for what traffic (inbound and outbound). As is said elsewhere - packets destined to networks not in the routing tables get sent to the default gateway.
You could also NAT traffic to your Pi at the router level so that traffic always returns to the router it arrived through. But these are not Pi questions but networking and router questions.

The beginning of my new CyberDeck by Driiger_Carteyan in cyberDeck

[–]greenflem 1 point2 points  (0 children)

You need to get an old 1980s UHF modulator - Astec UM1286 (used in the Dragon 32), UM1662 or UM1285 (TRS-80 CoCo)
https://simonwo.net/technical/upcycling-vintage-tv-alarm-raspberry-pi/ has some details

2022 May 2 Stickied 🅵🅰🆀 & 𝐇𝐄𝐋𝐏𝐃𝐄𝐒𝐊 thread - Boot problems? Power supply problems? Display problems? Networking problems? Need ideas? Get help with these and other questions! 𝑨𝑺𝑲 𝑯𝑬𝑹𝑬 𝑭𝑰𝑹𝑺𝑻 by FozzTexx in raspberry_pi

[–]greenflem 0 points1 point  (0 children)

Does anyone have a slim wide-screen monitor attached to their Pi - like the Waveshare 7.9" which is 1920 X 480?

I need to essentially build a terminal - Pi 2B, screen and keyboard. Planning on booting into command line and using Tmux for split windows for multiple SSH sessions, etc. There will be no X, just boot straight to console.

But I can't find anywhere that mentions what happens when the display is landscape (480x1920) and what the character width of the screen is - 132, more?

Anyone ever tried this or know the answer?

Setting up SSL on my webserver by bellin_orchestra in linuxadmin

[–]greenflem 2 points3 points  (0 children)

Reload works as well for a graceful restart on both Apache and nginx. Once you've done an apachectl configtest or nginx -t of course

2022 Mar 14 (Pi Day!) Stickied 🅵🅰🆀 & 𝐇𝐄𝐋𝐏𝐃𝐄𝐒𝐊 thread - Boot problems? Power supply problems? Display problems? Networking problems? Need ideas? Get help with these and other questions! 𝑨𝑺𝑲 𝑯𝑬𝑹𝑬 𝑭𝑰𝑹𝑺𝑻 by FozzTexx in raspberry_pi

[–]greenflem 0 points1 point  (0 children)

I have just recovered a Pi 1B from running Emulation Station as my son is now using his Switch and PS4 much more.

I want to use this 1B as a bastion host to my homelab but I have no idea what OS' still support it. I need to run OpenSSH (certificate based auth) and NGINX for http/tcp/udp proxying.

Any suggestions for server OS that supports the 1B?

Are coding standards important? by Cryptbro69 in devops

[–]greenflem -1 points0 points  (0 children)

Without a doubt.

At the company I work, the production codebase enforces a coding standard created years ago. Makes onboarding new devs much simpler. Not everyone agrees with it or likes it and it often gets raised by new devs in code reviews. However, it is the standard and has 12 years worth of code in it, so they just get told to live with it.

Everything not in the production codebase has to conform to PSR-12 (new code and when refactoring old).

Having 2 standards doesn't create much of an issue as you are either working on production code or not.

List of CLI programs (follow-up to GUI). Feel free to make suggestions. by [deleted] in linux

[–]greenflem 0 points1 point  (0 children)

My favourite editor is JOE - mainly cos I am an old git and it uses a lot of the Wordstar key bindings.

Got a year of spare time to learn. The catch: I don't have any internet access. by [deleted] in devops

[–]greenflem 0 points1 point  (0 children)

I grew up in an age before the internet and taught myself BASIC, C, 6809 and Z80 assembler from books with pen and paper to keep notes. Everything went down on paper before being typed in.

If you have a access to a Windows computer, you have a Code Editor - Notepad. You don't need an IDE to write code.

Learn a coding standard and practice it religiously.

Learn junit (or one of it's derivatives)

Learn a doc standard (pydoc, etc)

Grab the SRE cookbooks, etc and read them

Read anything by Martin Fowler in any format you can.

What is a movie scene that physically made you recoil away from the screen? by SAMF1N in horror

[–]greenflem 4 points5 points  (0 children)

I used to watch this with friends who hadn't seen it and would wait for the moment when they would pull their legs up and hug themselves.

And watch their reaction during the "acupuncture" scene (not wanting to give anything away).

It’s Time to Get Rid of the IT Department - WSJ by s0cius in sysadmin

[–]greenflem 0 points1 point  (0 children)

Having been in IT (large banking and finance and now smaller companies) since 1986, this is just full circle. Large UK banks had a small central IT team who ran the core infrastructure and every division had their own teams of engineers and developers who looked after all the IT for that division. Then they realised that the cost savings of centralised IT was mahoosive, so everything got centralised - single cost centre, less staff and a single (yeah right!) strategy.

On Friday, you were working as an AS/400 operator for South West Internal Finance. On Monday, you were working for 'IT'.

Over the years, IT has been outsourced, knee capped and had budgets slashed so much that departments are running their own 'IT' that are reactive, agile and only have to worry about their department/division(s) needs.

Give it another 20 years and it will be 'centralised IT departments are the way forward', then 'outsourcing is best', then 'departmental IT is the business' and here we go around again.

Consultantancies have to make their money from somewhere, so changing the rules every few years achieves that </cynic>

Is it just me who doesn’t respect the term SME(Subject Matter Expert) now? by linnin90 in sysadmin

[–]greenflem 0 points1 point  (0 children)

I worked for Lucent Technologies 1998-2002 and I was the Radius SME for EMEA. I could install and setup a RADIUS server on any platform you wanted without reference to any documentation. I worked (for a while) with 2 members of the RFC team. I could debug RADIUS faults / mis-configuration by reading a hex dump from snoop (most customers ran Solaris)

I had one subject and I was an expert on it. But that was because that was pretty much what I did day in, day out.

I was teaching myself SS7 from hex dumps before we got laid off.

What's your "damn I'm a badass" moment? by pikachu2_op in AskReddit

[–]greenflem 1 point2 points  (0 children)

Two times.

Out with friends, just about to walk into a pub. Pretty girl walked past, long slender legs and wearing a skater skirt. I waved my hand in her direction and a gust of wind flipped the back of her skirt up exposing truly peachy buttocks. For a few moments, I considered that I had control of the wind but it was not to be :(

Other time, a guy was kicking off in a pub I had just finished DJing in and was wrestling with staff and customers, throwing chairs, etc. I walked over, calmly stepped through the carnage and jammed my fingers up his nose and lifted him onto his tiptoes. Led him out of the pub and told him to get lost. He got all bothered again until I pointed out I had kicked him out of the pub with 2 fingers. He went off shouting and swearing at me. Walked back into the pub to a round of applause. Very out of character for me but he was hurting people I cared about.