HNHacker News
TopNewBestAskShowJobs

shog_hn

263 karma · joined August 6, 2019

submissionscomments
shog_hn··on PayPal discloses data breach that exposed user info for 6 months
Yet another reason I deleted my main paypal account years back. Don't trust them.
shog_hn··on Show HN: I trained an AI model on 120M+ songs from iTunes
It doesn’t appear to work in Firefox. Looks like CORS is blocking a call to segment.
shog_hn··on Ask HN: Share your personal site
I liked your 10 minutes post - clever.
shog_hn··on Ask HN: Share your personal site
Two sites, I use wordpress for both.

My tech / software / dev blog - running since 2008. https://www.shogan.co.uk/

My Trail and ultra running blog - running a few years now: https://trailrunningforlife.com/

I have a couple of other sites for projects with my kids that we blog about, and some other smaller projects, both of those are static using Hugo.

shog_hn··on Ask HN: Non-violent video games with great stories?
Another vote for subnautica. Best non-violent game that comes to mind first for me.
shog_hn··on Minecraft as a Kubernetes admin tool
I did something similar when I made kube-chaos: https://www.shogan.co.uk/kubernetes/i-made-a-kubernetes-game...

It is an original game (twin stick shmup) made in Unity that is able to connect to a kubernetes cluster. You 'enter' into your nodes and the pods running on those nodes appear in that 'world' where you are able to shoot and destroy them. Replica Sets will of course re-create them, so they respawn and float around again.

shog_hn··on The state of external retina displays
I have an LG Ultrafine 5K and suffer from random display disconnections. I was wondering if I was just unlucky, but this kind of explains everything now. Is there any guide that you know of for doing the reflowing? It's at the point now where I need to spend up to an hour carefully tweaking the connector into the right position to provide a signal so I don't mind hacking away at it with the risk of it breaking.
shog_hn··on Terraform vs. AWS CloudFormation
I personally prefer aws-cdk over Terraform for the specific use case of writing complex Step Function State Machines. Using code to link and chain steps and logic together is much easier than HCL imo. For everything else I prefer Terraform though.
shog_hn··on Almost free serverless on-demand Minecraft server in AWS
I've got a Minecraft server running in AWS with a graviton / ARM spot instance + EFS for persistence. It's also cheap to run (I run mine 24/7 and it hosts multiple other services as docker containers). Cost ~$10 per month. Infrastructure deployed with aws-cdk

https://www.shogan.co.uk/gaming/cheap-minecraft-server-in-aw...

shog_hn··on 3dfx Voodoo – Retro Gaming PC Build
You convinced me to pull the trigger on an old one on ebay... My wife is not going to be happy when this arrives.

The SyncMaster will always have a special place in my heart though. Played many old DOS games on that from UFO: enemy unknown, to x-wing, tie fighter, and Ultima VIII. It went through many family PC upgrades and I inherited it. The 17" CRT started to get a bit more affordable in the era of the Pentium II, III and AMD K6-2/3 and I think it'll be a better pairing with the Voodoo 2 enabled system.

shog_hn··on 3dfx Voodoo – Retro Gaming PC Build
Hell yeah, I actually won a copy of Wing Commander Prophecy on a local radio station competition. I think it was one of my first 'multi disc cdrom' games.

Quake 2 was one of the first games I loaded up after installing my card. The coloured lighting, smoothed textures and silky smooth framerate were just totally mindblowing for me at the time.

It was all enough to make me forget about the fact that I had a janky heatsink/fan assembly with the PC case lying on its side. I gamed like that for at least a year or so until I could get an upgraded motherboard with AGP slot to support newer cards.

shog_hn··on Show HN: Digger.dev – A PaaS that generates Terraform, in your AWS account
This looks interesting. All the best for your release!

I have a few small feedback items:

- The AWS Account ID is not very well blanked out in your documentation. I can easily see what the actual digits are (under the red scratched out parts). - I realise English is not your first language, but there are many typos and mistakes in the documentation. Once you get a bit further on, it'll be worth sending it to someone to do an edit pass to clean it up a little :) - Some of the AWS terms are incorrectly written in documentation. For example 'SecureSecret' instead of 'SecureString'. - On the subject of secrets, would a better option not be to store a Secret using AWS Secrets Manager with the value you need to acquire? Also, I know you mention that the secret value is used and never stored, but how do we know that? If you have access to the secret via ARN and IAM policy, then in theory if your SaaS was compromised, the secret is still retrievable from the customer's account. How about using something like Vault to store secrets?

shog_hn··on I made a mistake with Terraform and Azure made it worse
I mostly work with AWS, but have used Azure in the past and remember the Resource Group concept. It is quite dangerous when coupled with Terraform (or any IaC tooling for that matter).

AWS RDS has a feature where if you delete a DB instance it prompts you to take a final snapshot of the data. I haven't used Terraform in just over a year now (have been using aws-cdk), but as far as I remember, Terraform deletes of RDS instances would require you to add a 'force' argument/option to override the prompt for the final snapshot.

Something like this seems like a no-brainer for Azure SQL when deleting instances.

Also, with TF its always best to plan, write the plan output to a file, and then run apply against that plan (after having studied it!)

shog_hn··on How many robots does it take to run a grocery store? [video]
We also use Ocado, and I have noticed this exact same side effect. Still a great service overall though.
shog_hn··on Show HN: Survey of 10k freelancers, their salaries, locations and tools
That is the most frustatingly slow and cludgy page to scroll through that I've seen in a long time. Absolutely unnecessary. My mac mini really struggled to render that.
shog_hn··on Ask HN: How to get started with audio programming?
It might not be inline with your exact goals, but I've really been enjoying doing audio visualization lately.

I'm using the Unity game engine, and am leaning heavily on already-implemented FFT algorithms available on the Unity AudioSource component, but the fun part is taking the spectrum data, dividing it up into bands, and doing visuals with those.

Here is a short video showing a simple audio visualization demo I created: https://www.youtube.com/watch?v=kYt0dcUY3i8

It led me down a bit of a rabbit hole with watching videos about Fast Fourier Transforms, and learning more about audio specific programming.

shog_hn··on Fire declared in OVH SBG2 datacentre building
Self-hosted Kuberenetes and a FreeNAS storage system at home, and a couple of VMs in the cloud. I've got a mixed strategy, but it covers everything to remote locations.

I use S3 API compatible object storage platforms for remote backup. E.g. BackBlaze B2. I wrote about my backup scripts for FreeNAS (jail that runs s3cmd to copy files to B2) here: https://www.shogan.co.uk/cloud-2/cheap-s3-cloud-backup-with-...

For Kuberenetes I use velero which can be configured with an S3 storage backend target: https://www.shogan.co.uk/kubernetes/kubernetes-backup-on-ras...

shog_hn··on Show HN: OpenFaaS template for headless Chrome and Puppeteer
Nice! I'm sure I'll find a use for this sort of integration in the near future. Thanks for including great documentation and a tutorial link on the github page.
shog_hn··on They're deleting my channel, but they don't know why? [video]
We need to support alternative platforms and projects for reasons like this.

NewPipe is one of my recently discovered favourites. It pretty much scrapes Youtube and strips the horrid ads. You don't get any of the recommendation rubbish either and is far better from a privacy and data tracking point of view. FOSS for Android devices.

https://github.com/TeamNewPipe/NewPipe

shog_hn··on They're deleting my channel, but they don't know why? [video]
I'm an independent consultant and have also been involved in large public and hybrid cloud budget decisions between the 3 big players. GCP will never get my backing as long as Youtube continues on it's current path. That is purely from a Google/Alphabet ethics point of view. Don't get me wrong, the other two players are not certainly not perfect either, but they're a farcry better than GCP in my opinion.
shog_hn··on I deleted my Facebook, WhatsApp, and Instagram accounts, and felt great since
This.

I never personally felt depressed when using these platforms in the past. In my post I suggest that those who may not necessarily understand the unfair comparisons they make of themselves versus other people's 'picture perfect' life could be negatively affected.

For me the issue was more about my data being used to serve ads back to me, and being disgruntled over all the outrageous things they were allowing to happen across the platform.

shog_hn··on I deleted my Facebook, WhatsApp, and Instagram accounts, and felt great since
This is a big issue for lots of people who use the platform for business, or the marketplace. I guess I'm lucky that I was not using FB for any of those purposes and so I had little trouble removing it from my life.
shog_hn··on I deleted my Facebook, WhatsApp, and Instagram accounts, and felt great since
That's it. The clincher for me was when they announced that they would be starting to share user data from WhatsApp with parent company Facebook for ad targeting purposes.
shog_hn··on I deleted my Facebook, WhatsApp, and Instagram accounts, and felt great since
I agree that some years back it (FB) was way more engaging and meaningful. It's certainly changed for the worse over the years.

Regarding Instagram, I never thought about it in this way, and now that you mention it, perhaps that is why out of the 3 x services I talked about, this one was the least worrysome for me. Restricting reposting does seem to be pretty key to keeping content at a higher 'quality'.

shog_hn··on Run your own high-end cloud gaming service on EC2 (2015)
This is a nice article to prove it can be done, but honestly I would rather setup a dedicated gaming rig. If you're serious about gaming you'll soon rack enough hours where your EC2 Spot costs exceed the initial investment in your own hardware.

Also the open UDP and TCP to 0.0.0.0/0 in the security group made me cringe. At least set it to your current IP /32 and perhaps set a script that watches your public IP and updates the SG automatically when it changes.

shog_hn··on Android programming, looking for good guides for beginners
There are some good articles/tutorials on raywenderlich.com. https://www.raywenderlich.com/android/articles