Nick HK

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)

138 followers336 following125 posts

Had a great time in Indonesia the last few weeks spending time with the family, now sat in the airport waiting to go home. I won’t miss having cold showers though 😅

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 …

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

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

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

Not sure where this will go or if I will carry on, but I've had the idea in my head for a while so wanted to play about with it, obviously the vocabulary above is not real!

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 🤔

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!

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

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

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

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!

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

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

I've been reading up on CSS / design again so soon I may do a design refresh and make components on my own as I want to understand how they work better

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)

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

Nick HK reposted

Replying to @trans.bsky.social

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 🙂

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

The filter bar is too blue, but its 11pm nearly here and I'm too tired to swap them out for the simpler outline variants of the buttons 😅 currently wishing for a design-minded friend to help out with all of this, but going to power through as best I can

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

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

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

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

I think I may use this as an excuse sometime soon to read up on streams (or watch the PragmaticStudio liveview course) and write a small blog article - good excuse to kick the blog back into life again too #ElixirLang

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

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

I thought I could get in an hour of sideproject work before work as I was up early, ElixirLS humbled me hard. I had to install Erlang + Elixir via asdf, and had multiple issues building erlang, so that took an hour and now I have no time left! Ah well, at least its ready to go now #ElixirLang

After a holiday it seems like my brain has really reset and I am thinking more about coding for fun like on my small project. Now I’m thinking about refreshing my old blog and making it more of a “portfolio” / blog, I’d like to put some smaller projects there too, maybe some one-page apps 🤔

Well, its not very sexy yet, done a bit of customising with flowbite, but basically have the core of a simple app to log words done, i've gotten to this point before, but i'm purposefully trying to keep my approach really simple to keep myself motivated now so no normalising etc! #buildinpublic

Next up: get a sexier table design and swap out the modal for a Flowbite one, something like flowbite.com/docs/compone... Then I can move onto the more "core" parts, I'm researching building a spaced repetition algorithm and think I know how to tackle it, and then a bulk import for my words list

I continue to be amazed by Phoenix's one liner for generating an entire authentication system: `mix phx.gen.auth Accounts User users` And job done, can move onto other things, and its all using Phoenix LiveView too so its lightning quick #buildinpublic

Been playing around with Phoenix framework again and it’s feeling good, I think I’ll just move back to using it as I miss Elixir a lot. Nothing concrete to post today as my wife has been sick, hopefully tomorrow I can dedicate some time! I can share a dog pic as we’re dog sitting though!

I just saw the CEO of Vercel making a pro-Trump post, I'm not American, but that's enough of a reason to stop messing with NextJS to be honest

Trying to decide if I like this NextJS business or not, and messing with a bit of Shadcn whilst i'm at it in my jetlagged state #buildinpublic

Shadcn is pretty good, I can see why so many people use it nowadays! It seemed pretty easy to just adapt the example and throw stuff together

Heading back home today from Indonesia and it’s always sad, been here around a month and had gotten used to life here. Back to work straight away too, features don’t write themselves!

Mulling over ideas in my brain still 🤔 debating whether I want to deal with the hassle of managing an LLM in a first project or just keep it simple and make it an app “just” for managing a list of words you’re learning every day to start with. It’d still solve my problem for now! #buildinpublic

Currently I just have an apple notes document that I keep adding words to every time I have a lesson with my teacher, but it’s really unwieldy. If anyone else is learning a new language, how are you keeping track? #languages #languagelearning

Thinking about finally building an app to help me practice Indonesian, I've had a teacher for a while but really struggling to remember words, I think being able to practice conversations would be helpful. I've tried flashcards but ultimately just get bored with them... #buildinpublic #idea

You are up to date.