HNHacker News
TopNewBestAskShowJobs

craig

173 karma · joined September 21, 2014

You can reach via email: hn at craigmulligan.com

github.com/craigmulligan

meet.hn/city/us-New-York

submissionscomments
craig··on Ask HN: Who is hiring? (August 2024)
I'm assuming they mean founders@<their-domain.com>.
craig··on Show HN: Web Development with Htmx, Type-Guided Components, Pure Python
I love that someone is actively working on components in the python space. Coming back to python after years in the js ecosystem I've found templates really cumbersome to work with, especially not having type system support. I know there have been some attempts at JSX in python over the years but those projects all seem dead.

My advice to the OP, is to break out the component piece of the framework into a standalone lib that other frameworks can use. I think it'll be much easier to gain adoption that way.

craig··on Ask HN: Have you coded any productivity software just for yourself?
Sure! https://github.com/craigmulligan/standup
craig··on Ask HN: Have you coded any productivity software just for yourself?
In the agile/scrum world people often do a daily "standup" meeting where you go over what you did yesterday and plan on doing today.

Many of the teams I've worked with recently have moved to doing this async with a "standup" message in slack etc.

craig··on Ask HN: Have you coded any productivity software just for yourself?
I recently built a cli called "standup" which given a git sha, will pass the diffs + commit messages to an LLM and produce a standup message.

I still edit it a little but it saves time and means I never forget about stuff unless ofc it's not tracked by git.

craig··on New GitHub Copilot research finds 'downward pressure on code quality'
I've found it's autocomplete really bad. It often hallucinates import paths and other illegal operations. It's not clear to me why it can't leverage the LSP better.
craig··on The worst thing about Jenkins is that it works (2019)
> Warning – I’m going to rant for many, many paragraphs. My advice is to skim

I had a good chuckle at this.

craig··on Show HN: Mel – The missing unsubscribe button for physical mail
I just moved to the USA from Europe and have found sms/mms to be annoying. I'm consistently missing texts especially mms. Maybe my settings are slightly off or the payload is exceeding MMS size limits but it's way less reliable than Whatsapp. Everyone seems to use iPhones so they don't hit this issue until they text an android user like me.
craig··on Sheldon Brown's Bicycle Technical Info
I've been building up a vintage Fuji and have been using Sheldon's site to find data on old standards. It's been incredibly useful. On a similar note I've also used https://www.disraeligears.co.uk/site/home.html to look up derailleur specifics there is a lot of info there.
craig··on GitHub Copilot Chat Leaked Prompt
Might be a silly question but how does one know this is the legit rule set and not gpt generating a believably fake one?
craig··on Show HN: Vettel – a tiny key value store that's faster than Redis (sort of)
I had a quick look at the code to understand what (sort of) meant. It's appending to a file and then reading it back and looking for the key line by line so it's O(n). I'm not sure about redis internals but I imagine its using some search tree for saving to disk which will likely be O(log n). So in a benchmark with more data redis should win by exponential margins. Ofc if you are only storing 100s of keys then this is a good approach.
craig··on Improving code review time
I think you are misinterpreting the term "diff". Near the beginning of the article they describe it "At Meta we call an individual set of changes made to the codebase a “diff.” So diff == PR.
craig··on Ask HN: What not-profit-seeking project are you tinkering with this week?
I've been building a basic sqlite like database [1] to improve my understanding of relational dbs. It's still early days but it's been fun using different data structures than I typically do in my day job.

[1]: https://github.com/craigmulligan/toysql

craig··on Show HN: Figr.app – a multi-user, notepad style calculator (desktop app)
Looks really neat. Anyone know of a similar neovim/vim plugin?
craig··on Show HN: 1paragraph – a browser-based, offline-first ePub reader
Is the code open source? I've been wanting to build something similar but with the option translate the text, to help with language learning.
craig··on Ask HN: Who is hiring? (September 2022)
Wasn't tangram previously an easy to use ML tool? I thought the product looked pretty neat, would be interested in reading a post on the pivot if there is one.
craig··on Show HN: Four years of profitable side-projects
What are you using to track your time? I've tried multiple times but never managed to build a habit, any tips?
craig··on Ask HN: Anyone a social entrepreneur, i.e. placing social impact above profit?
Great idea! I've just recently setup a veggie patch, I can't believe I used to pay for my greens.

From the home page "Between 1989 and 2005, the price of fruits and vegetables in the US increased by 75 percent." Is that corrected for inflation?

craig··on Github Is Down
Here in south africa too
craig··on A tiny static full-text search engine using Rust and WebAssembly (2019)
Great post! Doesn't it make sense to load the index separately, instead of a single bundle? RN the client would bust it's cache every time the content changes?
craig··on Design Doc: Use JavaScript instead of TypeScript for internal Deno Code
Slightly off topic but has anyone tried Hegel? https://github.com/JSMonk/hegel, looks like a nice mix of reason,ts and flow. It's just Js with types + type inference.
craig··on Ask HN: What's your quarantine side project?
I've been working on https://github.com/hobochild/clementine, it's a self-hosted graphql anayltics platform. Basically a "free" replacement of Apollo manager.

Also starting to work on a slack alternative for small business. I've found alot of companies are using Whatsapp group chats for business and I think there maybe a market. You can read my initial thoughts here. https://hobochild.com/posts/chat

craig··on Show HN: Making Postgres as Easy as Firebase
I've been waiting for a product like this! Excited to try it out.
craig··on On Pair Programming
Yeah, I hadn't heard of that style before, it soundw really fun and seems like a good approach when you have a well defined feature you want to get done quickly.
craig··on Show HN: Sandy – A tiny Sandbox to run untrusted code ️
Thanks for the input, I agree and I've added a warning to the readme taking this into account and directing readers to this discussion.

I do think there is value in ease of use with something like sandy. I'm unlikely to setup gvisor just to run some arbitrary script I found online. I assume most people today just will run scripts directly on their machine. With sandy, I was experimenting if you could get 80% of the security while still making it really easy to use. I agree that it still hasn't met that mark with regards to security but I think it's possible to improve that.

craig··on Show HN: Sandy – A tiny Sandbox to run untrusted code ️
Yeah, "sandbox" is definitely a stretch, but I couldn't think of a similar but descriptive term. I've also found since posting there are definitely some easy to expose security wholes where the syscalls aren't traced in threads and child processes. So there is lots of room for improvement. I'll take a look at the projects you mentioned to see how they've tackled those issues. Thanks!
craig··on Show HN: Serverless doc writing app built using Cloudflare Workers and KV Store
Can you drop a link to the source code?

Also I saw kv has a 10s possible eventual consistency for writes, did you bump into this at all? (This is what's stopping me using it for crud apps)

craig··on Ask HN: Cool stuff that's still completely unregulated?
In London they are both illegal to ride on the pavement and the road, so essentially illegal. But it's completely unenforced. I assume it will be deregulated in the next couple years.
craig··on Ask HN: What do you like most about your job?
Where do you live? I'm in based in London but on the look out for a place with decent surf and interesting jobs.
craig··on Ask HN: What do you want to see built?
I really want to switch to e-ink but last time I checked there weren't any good sized screens. Anyone doing this successfully?
Page 1 of 2Next →