HNHacker News
TopNewBestAskShowJobs

kingsloi

1,086 karma · joined February 4, 2019

A 30-something Brit living in Gary, IN. Working as a software engineer, mainly in open source tech.

https://kingsley.sh

submissionscomments
kingsloi··on Show HN: I made a Sonic runner game in JavaScript
Awesome! Great job!

I made something similar to wish my wife a happy birthday with GDevelop/JavaScript. I thought I had opened the source up... I should do that.

> https://happybirthdaymaddie.com/2020/ > https://editor.gdevelop.io/?project=example://platformer

kingsloi··on OpenAI is good at unminifying code
It has this in the README

> Large files may take some time to process and use a lot of tokens if you use ChatGPT. For a rough estimate, the tool takes about 2 tokens per character to process a file:

> echo "$((2 * $(wc -c < yourscript.min.js)))" > So for refrence: a minified bootstrap.min.js would take about $0.5 to un-minify using ChatGPT.

> Using humanify local is of course free, but may take more time, be less accurate and not possible with your existing hardware.

kingsloi··on Jeremy Rowley resigns from DigiCert due to mass-revocation incident
> IN THE UNITES STATES DISTRICT COURT IN AND FOR THE DISTRICT OF UTAH, CENTRAL DIVISION

Is UNITES > UNITED a typo? Would that cause any weird legal consequences, or are typos (if it is a typo) like this just accepted?

kingsloi··on Mass tourism protesters squirt water at Barcelona tourists
I agree - either lower people's standards or try push a "beauty is in eye of the beholder" mindset

For example Gary, Indiana. You only hear the bad things, but never that it has great beaches and trails, if you're willing to settle for a bit less on everything else. Here's a video I took a few months ago https://imgur.com/PItmK2v, I don't think people necessarily picture these sort of views from the armpit of Indiana but it's a daily reality here.

kingsloi··on Ask HN: What indoor CO2 monitor do you recommend?
I have a https://www.birdie.design/en-us (I think it was previously called a Canary) mounted in my living room, and it's a great lil device! Overly dramatic, fun, and easy to know whether air quality is good or bad - would recommend!
kingsloi··on It's OK to feed wild birds – here are some tips for doing it the right way
One of the best things I've done recently was install bird feeders that hang from the soffits of my house. My main level is on the the top floor, and seeing all the birds while I'm at work or on the sofa is such a joy. They keep me, my cats, and toddler entertained... but having to refill every week gets expensive
kingsloi··on [dead]

  Location: Gary, IN
  Remote: Remote (would consider hybrid in/around Chicago-land)
  Willing to relocate: No
  Technologies: Anything open source, mainly: Node.js, Laravel, Vue.js, Alpine, Nuxt.js, AWS (S3, SES, EC2, LB, RDS, ECS, etc), Serverless (Lambda), CI/CD, High Availability, Vite/PostCSS/Babel/Webpack/Transpiling, Pest/PHPUnit/Cypress/Mocha/Jest, Bash, Docker, etc.
  Résumé/CV: https://kingsley.sh/kingsley-raspe-full-stack-developer-resume.pdf
  Email: hello@kingsley.sh
Hi - I'm Kingsley, a full stack web developer and DevOps engineer with 11+ years experience, specialising in a broad range of open-source tech, including Node.js/Express.js, PHP8/Laravel 10, JavaScript/Vue.js, SCSS, Vite/Webpack, CI/CD, and more. Passionate about writing highly available, clean, maintainable, and testable code. Originally from the UK, now residing in the beautiful lake-side city of Gary, Indiana. I like DIY, long walks on the beach, gardening/nature/greenery, and vintage roots reggae.
kingsloi··on Show HN: Trains.fyi – a live map of passenger trains in the US and Canada
Here's one more for your list: https://southshore.etaspot.net

Southshore Line - connecting Chicago, IL (Millennium Station) to South Bend, IN, via East Chicago, Gary, Chesterton, etc

kingsloi··on You've just spent $400 on a baby monitor. Now you need a subscription
I purchased a Miku when I brought home my newborn from the ICU, who had 24/7 oxygen needs. Although not 100% accurate, the Miku did give my wife and I peace of mind when we didn't connect the pulse oximeter and laid our baby down in her crib.

Hearing that Miku will now be subscription-based is really disappointing. From being at the top, to bottom with the other wifi monitors. We'll still use as a monitor, but wont be recommending to anyone anymore like we used to.

kingsloi··on She paid husband's hospital bill. A year after his death, they wanted more money
That's a great tip/trick! Thanks for sharing!
kingsloi··on She paid husband's hospital bill. A year after his death, they wanted more money
Exactly the same happened to me & my family, and we've also appeared on NPR for a similar situation:

> https://www.npr.org/sections/health-shots/2022/09/22/1121612...

My daughter died. Our story aired a year later. Another year later, so around 2 years after my daughter's death, I received a hospital bill for a little over $3,000, for her initial few weeks of ICU care. I never acknowledged it. I couldn't bring myself to call the hospital to setup a payment plan, say my daughters name in the same sentence as a dollar amount again. We haven't heard a peep since.

kingsloi··on Open Source Outdoor Air Quality Monitor
Awesome work! Do you have any plans to add/track gas pollutants?

I run a similar open source app specifically for my little community in Gary, IN https://millerbeach.community and run a RAMP monitor provided by a local company Sensit Technologies, and a PurpleAir II and have about ~4 years worth of data in 15 min intervals. I've been meaning to swap out the PurpleAir with another, but I'll swap it out with this instead!

kingsloi··on The hidden cost of air quality monitoring
Beauty is in the eye of the beholder! Gary is home to some beautiful flora and fauna, we have miles and miles of beautiful Lake Michigan shoreline, the 61st National Park. I'm at 990~ miles of biking in/around Gary and I've took some really beautiful photos, which I'm hoping to compile into something like blog post "1000 miles in/around Gary" or something.

Everything else is just like everywhere else. Poverty.

kingsloi··on The hidden cost of air quality monitoring
Hey I appreciate that, just been tinkering with it as I added more to it... it's came a long way from when I ran a simple PurpleAirII!

Yeah I'm working on the Darksky replacement, but the trends issues is because of another hidden cost of air quality monitoring: lots of data! My mongo queries aren't the most efficient and for the past week or two I must have topped a Mongo/RAM issue and my DO box is running into memory issues. I'll hopefully get that fixed soon! Especially now, it's a cool lil feature as you can see around what day/time we first started to get hit with the CA wildfire smoke.

Feel free to pull it and add to it as you want! You could probably just use a PurpleAirII monitor near you and use that as for your AQI until you get something else, and disable all the other stuff (boats, advisories, etc), and keep traffic, planes, air quality. That's kinda how I've been doing it anyway.

kingsloi··on The hidden cost of air quality monitoring
I run a lil air quality sensor in the Miller neighbourhood of Gary, IN. I started off with a PurpleAir II, then higher tech monitor from AQMesh for a few months, and now I operate another higher tech monitor from a local company in Valparaiso, IN called Sensit Technologies, which they generously donated.

I also operate a AIS boat tracker from FleetMon. I did track aircraft flying to/from ORD/MDW/GYY, and also the local train operator SouthShore line have an open API (I wish the other tracks, Norfolk Southern, would have an API!)

I built a crappy lil frontend/api using Express and do plan to continue to work on it and track more stuff, hopefully more people with use it. Hopefully it convinces some more citizen scientists to run their own (bring your own cloud & hardware)

https://millerbeach.community

It's actually had a lot of visits recently due the the BP oil refinery leaking SO2 after a recent storm [1], and now the Canadian wildfires bringing that PM our way, our air quality is the worst it's been since I've started to track it.

I was hoping to figure out how to turn the years of data into an infographic, or use AI to digest the data and generate a bunch of useful data points/stats. If anyone knows of an easy way, rather than creating the queries by hand!

https://github.com/kingsloi/community-airmonitor

[1] https://abc7chicago.com/sulfur-smell-indiana-bp-refinery-whi...

kingsloi··on Air quality monitors: paying more does not get you more accuracy
Interesting article - good to know, too!

I've been tracking air quality in Gary, IN for a few years now. It started with a PurpleAir ($), then a AQMesh pod ($$$$$) for a few months, now I'm rocking a Sensit RAMP ($$$). Just haven't spent too much time updating the dashboard I built to showcase the data: https://millerbeach.community. I had one sensor up and running at a time, so couldn't compare all 3 (PM only) against each other.

Indoors, I've been using a Canairi Air Quality Sensor, but that's just a simple CO2 monitor, along with my Dyson hot/cool air purifier.

I'm looking for a rough idea of what my family are breathing, I don't mind if numbers aren't 100% accurate (hopefully as small -/+ %, though).

kingsloi··on US Secret Service: “blockchain is an opportunity to track money”
relevant-xkcd-comic.jpg https://xkcd.com/538/
kingsloi··on Vice files for Bankruptcy
Bummer, I haven't watched much of their more recent stuff, but I absolutely loved their "The Last Week of High School in Gary, Indiana" episode/story.

https://www.youtube.com/watch?v=Plqd8APvln0

kingsloi··on A cryptocurrency company had a $65M bill, per Datadog’s Q1 earnings call
That's funny, DD is the only company to email my work email, add me as a connection on LinkedIn, txt me over WhatApp, and call my personal phone number multiple times. Amber flag after the LinkedIn connection/message, but red/purple after the WhatsApp/call on my personal phone.
kingsloi··on Samsung bans use of A.I. like ChatGPT for employees
How about outside of any workflows, and just one off? I've used ChatGPT twice recently after spending a good amount of time Googling around and finding nothing (specifically https://chatgptonline.ai/chat/), generalising the statements/removing any/all real data.

    1. given the following string [...], build me a regex that extracts the [abc] before [`], until the 2nd [xyz], used for extracting a bunch of info from an array

    2. give me a list of common beneficiaries, then give me 5 more
Took an hour or so of Googling, then about 10 mins to find an online/open ChatGPT prompt, and about 2 mins to implement the answer in my code. But that's where I draw the line, I'll never use an editor that uses AI in my actual IDE, or expose my code openly to train models
kingsloi··on Blank turns your TV screen black until you press any button on a remote
I wish there was a button to temporally turn off video & sound, in 30 second increments, without losing the position of where you are (contrast/brightness -100%?), mainly to get around watching ads.
kingsloi··on Stop the Medicare “Advantage” Scam Before Medicare Is Dead
I haven’t watched a single second of live TV, because of ads like that.
kingsloi··on American drivers have a blinding headlight problem
I remember having a similar feeling when I drove in Iceland. I think their roads were super helpful, even at night/snow. I forget why/how exactly, and they salt/plow, too. Maybe theirs are sunken, to allow for plows?
kingsloi··on American drivers have a blinding headlight problem
Hah! I've driven Jeeps like that! I opted for the automatic version, and have only ever driven manual over there, so maybe just that alone made it smooth? It took me a good 10-15 minutes to figure out how to figure it all out, and then couldn't operate it once driving as it would require too much attention, so it's now the passenger who's in charge of changing the temp?

I feel the same way! Especially in a big city when it's raining at night, beautiful visuals as a passenger, but the worst thing as the driver.

kingsloi··on American drivers have a blinding headlight problem
Thanks for the reminder, there is that knob! Another thing that the MG had was automatic high beams when on a dark road, so it would pop on and off at the worst times. I think I had to fiddle with that same knob to turn that off, guess that knob has grown up a little
kingsloi··on American drivers have a blinding headlight problem
I just had to travel back to the UK. I rented a horrible car, some new MG 4x4/SUV, it was a great driver, but horrible UI. I landed at night and had to drive an hour or so, after having only driven in the USA for 4+ years. Almost as if it was a revelation, I realised I could see, and see far, even on 1x1 lane road, with small/medium/SUV/trucks passing me, their beams weren't shining directing into my eyes. I realised that my own beams were slightly different, the beam facing oncoming traffic was pointed much lower, then I remember all those times traveling to Europe, and having to attach those reflector stickers over my headlights, remembering why would would do it.

It wasn't until I left the US that I realised that I drive blind most nights, either because oncoming traffic is blinding, or, the roads have so little reflection (or the opposite, when wet, it's 100% reflection), and cannot see the yellow/white lines, even US cats eyes aren't that helpful/bright.

kingsloi··on Show HN: I built a little online drum machine using 808 style samples
Awesome job! I've bookmarked it for future use, can't wait to fill the time before meetings start to jam out!
kingsloi··on Sunken Greenhouse
awesome, thanks for sharing!
kingsloi··on Sunken Greenhouse
wow, sounds incredible! He should blog his experience - I'd watch it!
kingsloi··on Sunken Greenhouse
If this interests you, I recommend checking out this video of Russ Finch, a farmer who grows citruses (orange, lemons, etc), figs, pomegranates in his sunken greenhouse in the middle of Nebraska in the snow/20F, and uses geothermal heating (long tubes buried underground) to heat it (and his house) during the winter months, and cool in the summer months. Really interesting story/concept and I'm hoping to replicate on a small scale when I renovate my back yard in the coming years.

https://www.youtube.com/watch?v=ZD_3_gsgsnk

Page 1 of 6Next →