News for hackers. Stuff that matters.

shog_hn

Yet another reason I deleted my main paypal account years back. Don't trust them.
Re:Show HN: I trained an AI model on 120M+ songs from iTunes on Friday February 03, 2023 @04:39AM (#34639169)
It doesn’t appear to work in Firefox. Looks like CORS is blocking a call to segment.
Re:Ask HN: Share Your Personal Site on Friday January 06, 2023 @06:36PM (#34282945)
I liked your 10 minutes post - clever.
Re:Ask HN: Share Your Personal Site on Friday January 06, 2023 @06:34PM (#34282918)
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.

Re:Ask HN: Non-violent video games with great stories? on Saturday June 04, 2022 @06:46PM (#31625860)
Another vote for subnautica. Best non-violent game that comes to mind first for me.
Re:Minecraft as a Kubernetes admin tool on Thursday January 06, 2022 @07:37AM (#29822802)
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.

Re:The state of external retina displays on Monday December 27, 2021 @07:05PM (#29708531)
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.
Re:Terraform vs. AWS CloudFormation on Wednesday October 06, 2021 @07:14PM (#28779682)
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.
Re:Almost free serverless on-demand Minecraft server in AWS on Wednesday September 08, 2021 @12:23PM (#28459362)
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...

Re:3dfx Voodoo – Retro Gaming PC Build on Tuesday August 17, 2021 @05:54PM (#28215308)
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.

Re:3dfx Voodoo – Retro Gaming PC Build on Tuesday August 17, 2021 @05:48PM (#28215262)
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.

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?

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!)

We also use Ocado, and I have noticed this exact same side effect. Still a great service overall though.
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.
Re:Ask HN: How to get started with audio programming? on Tuesday May 25, 2021 @08:01AM (#27275786)
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.

Re:Fire declared in OVH SBG2 datacentre building on Wednesday March 10, 2021 @04:44AM (#26409547)
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...

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.
Re:They're deleting my channel, but they don't know why? [video] on Wednesday September 23, 2020 @05:33PM (#24572335)
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

Re:They're deleting my channel, but they don't know why? [video] on Wednesday September 23, 2020 @05:32PM (#24572313)
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.
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.

Older »