Nick HK
nickkeers.co.uk
Nick HK
@nickkeers.co.uk
Principal Software Engineer at a startup you haven’t heard of! Interested in #buildinpublic #elixir #python #programming #gamedev #piano, Learning Indonesian 🇮🇩, #baduk player (iGo, Weiqi, Go)
Been learning some SwiftUI with a recent purchase which has been interesting! Started making a lil app for my wife to manage fermentation / batch cooking, crazy I have to pay for a developer account to put it on TestFlight though …
January 17, 2025 at 9:44 PM
Been struggling for a couple of days, does anyone know how in Astro I can create OpenGraph images from e.g. a cover image I use in blog posts in its meta? I think the issue i'm having is the OG generator cant see the unoptimised image path so i get an error, not sure how to solve it

#AstroJS
December 18, 2024 at 10:11 AM
I just built this Chat UI, its satisfying to build something and still feels a bit like magic to hook it up to an LLM to get replies back. Playing around with language learning again, i know this has been done to death. I plan to add ways to translate / add words to vocabulary #buildinpublic
December 16, 2024 at 9:22 PM
Managed to finally deploy my personal website today! Finally.

Playing around now with making a simple Go board in JS, with the goal of being able to potentially put it into a PWA to use on my phone - also thinking of potentially hooking it up to engines speaking GTP via a websocket bridge 🤔
December 15, 2024 at 9:39 PM
In a bit of a down period right now, mulling over some new ideas, thinking about starting something smaller scope that can grow / integrate in with what I eventually want to finish. Doing a bit of Advent of code etc though, and waiting for this cold i've picked up to go away!
December 9, 2024 at 9:23 PM
My day 3 OCaml full solution:

gist.github.com/nickkeers/7f...

Wrote one version using a standard sum type and then learnt about Polymorphic variants and went back to clean it up, very handy!

Probably still not so great, but getting easier

#ocaml #adventofcode
day3.ml
GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
December 4, 2024 at 10:21 PM
Ok, this is not so bad, its a bit easier to write OCaml if I write it like F# (duh) using pipelines, before for some reason I had it in my head I had to write recursive functions to do anything useful...

So this is day3 part 1 of #adventofcode not got time to do part 2 in the middle of the day
December 4, 2024 at 2:21 PM
www.phoenixframework.org/blog/phoenix... this is great to see LiveView reach 1.0.0! Love the idea of the markup annotations and using hotkeys to jump to them, crazy!

#ElixirLang #LiveView
Phoenix LiveView 1.0.0 is here! - Phoenix Blog
LiveView 1.0 is out!
www.phoenixframework.org
December 4, 2024 at 10:47 AM
Day 2 AoC done in Rust, not so bad! OCaml felt really verbose, I did try to write a solution in it, strange as I like using F# usually for Advent of code, maybe its just too unfamiliar...

#adventofcode #rust
December 2, 2024 at 11:03 PM
And thats my Advent of code + Advent of cyber done for the day! Gave up and did it in Python, I was going to do it in Raku but have forgotten a lot...#adventofcode #python
December 1, 2024 at 11:13 PM
Just finishing up a redesign of my website, i'm pretty happy with how this has come out, I used Windsurf to help me build it. Its probably turned out to be the best design I've ever managed on my own (ignore the Astro dev toolbars) and Astro has been a delight to work with. Also responsive!
December 1, 2024 at 10:37 PM
Working on trying to design a website again, god it’s hard. I have a design but it just seems…too basic, simple can be good but I feel like it’s too simple
November 29, 2024 at 7:26 PM
Another one! Adding sorting and filtering (filtering still WIP) and a slight UI tweak

#buildinpublic #ElixirLang
November 26, 2024 at 11:18 PM
Converted my lil' app to use an Ecto schema for languages now so they're stored in the database and queried. Not a lot, but it turns out i'm tired! Glad I finally managed to do this though as it unlocks a lot. PS: Windsurf IDE is awesome so far.

#ElixirLang #buildinpublic
November 26, 2024 at 10:01 PM
More to come tonight I think, going to take a crack at making the language more generic now - adding a new Ecto model for languages to make it more dynamic instead of typing it each time, and then possibly using Rustler to make a nif to integrate the dictionaries (for fun)
November 26, 2024 at 11:26 AM
I finally found a source for some basic dictionaries to use in my app using Perplexity, I just happened to do a search to ask where to find dictionaries and one of the sources helped! They at least give a translation and the part of speech which I really wanted to find somehow :)
November 24, 2024 at 1:44 PM
Reposted by Nick HK
Don't forget to encourage people to enable the alt text setting to require them to use it when they post!

A lot of people dont know this setting exists.

Please share 🙂
November 23, 2024 at 5:47 PM
The cat that can’t catch a fly to save his life, no hunting instincts

#cat #petsofbluesky
November 23, 2024 at 11:11 PM
A bit of iterating on UI, looking at filters and I think a filter bar is the way to go. Did a couple of other "small" things:

* Implement proper pagination
* Make flash messages fade out after a short time as it was annoying me

Was a good look into Hooks. UI is hard!

#ElixirLang #buildinpublic
November 23, 2024 at 10:51 PM
How do you go about naming your projects? Looking for some tips and tricks or suggested names! I'm building an app to learn words in a foreign language with the slant of logging words in lessons with a teacher & remembering them, later on there will be some extras on top #buildinpublic
November 23, 2024 at 5:05 PM
A great example of the community here already, I was talking to Marcin about generating websites in tools like v0.dev + bolt.new and he went out of his way to make an entire video and example just to share his knowledge
I've created a tutorial on how I'd prompt bolt.new to build a Portfolio site using Astro, TailwindCSS, Markdown, etc.

Inspired by @nickkeers.co.uk, I hope it helps some of you out there in the #buildinpublic and #indiehacker communities.

Reach out of you have any questions.

youtu.be/R7vQA2fAOBM
Bolt.new Portfolio Site in 30min using Astro 4, TailwindCSS, Markdown
YouTube video by codewithmarcin
youtu.be
November 21, 2024 at 2:42 PM
Got search working quickly this morning before work! In the end it turned out not too bad, starting to understand how LiveView streams work now.

Also looking at getting the blog / website redone, but going to be slow progress I reckon
November 19, 2024 at 9:37 PM
Oh damn, I fixed the problem after a bit of googling. The parent element needs the `phx-update="stream"` attribute setting on it for liveview to be able to track the changes, d'oh! #ElixirLang #PhoenixLiveView
November 17, 2024 at 10:59 PM
Playing around with the new UI still, but having trouble with #PhoenixLiveView streams. When i click edit and then cancel, all my words disappear and I have to reload. I suspect its some interaction between my mount function and the "apply_action" function the view was generated with #ElixirLang
November 17, 2024 at 10:47 PM
Digging deeper into Phoenix LiveView today, made a couple of custom components and am making some progress redesigning the words list page, more to follow later! #buildinpublic #ElixirLang
November 16, 2024 at 11:33 AM