HNHacker News
TopNewBestAskShowJobs

thomasfromcdnjs

2,806 karma · joined December 13, 2012

Co-Founder of jsonresume.org Co-Founder of cdnjs.com

thomasalwyndavis at gmail dot com @ajaxdavis on x

submissionscomments
thomasfromcdnjs··on Rye: A Hassle-Free Python Experience
I'm about 20 years into coding, and still don't "actually" know what a venv is haha
thomasfromcdnjs··on Rye: A Hassle-Free Python Experience
Oh this is incredible. As a non python developer, I never understood why python projects has a terrible DX. Say what you want about npm/node, but it's super easy to bootstrap a project and to understand what dependencies are required.

Is there a reason why Python has taken this long to get a mature alternative to "requirements.txt"?

thomasfromcdnjs··on Show HN: Simulating 20M Particles in JavaScript
Inspiring tutorial!

Does anyone know why/how it maintains state if you tab out? Does Chrome eventually try to clean up the cache or is it locked in?

thomasfromcdnjs··on Show HN: A free minimalist daily habit tracker
This is perfect, I've been wanting something like this forever.
thomasfromcdnjs··on Insights from over 10,000 comments on "Ask HN: Who Is Hiring" using GPT-4o
I've been working on similar functionality for jsonresume -> https://github.com/jsonresume/jsonresume.org/blob/master/app...

What the author could have done, and what I should have (but didn't) also, is add a bunch of possible values (enums) for each possible field value. This should solve it from coming up with variations e.g. node, nodejs

In zod/tooling it would look like this; remote: z.enum(['none', 'hybrid', 'full']), framework: z.enum(['nodejs', 'rails']),

But this just shifts the problem further down, which is now you need a good standard set of possible values. Which I am yet to find, but I'm sure it is out there.

On top of that, I am working on publishing a JobDescription.schema.json such that the next time the models train, they will internalize an already predefined schema which should make it a lot easier to get consistent values from job descriptions.

- Also I tend to forget to do it a lot recently in LLM days but there are plenty of good NER (Named Entity Recognition) tools out there these days, that you should run first before making robust prompts

thomasfromcdnjs··on Ask HN: What were interviews like before Leetcode?
I've been working in startups for around 15 years, remotely for US companies and AU companies. I hadn't even heard of Leetcode until a few weeks ago.
thomasfromcdnjs··on Ask HN: Who wants to be hired? (July 2024)
* Location: Melbourne, Australia * Remote: Yes

* Willing to relocate: Yes - Australia

Technologies: Mostly Javascript. I've coded in pretty much all non functional languages though. Most of the databases sql/nosql. Comfortable with gCloud/aws/heroku etc. Mostly worked with node/rails/laravel/python/golang backends.

* Résumé/CV: https://registry.jsonresume.org/thomasdavis

* GitHub: https://github.com/thomasdavis/

I'm a full stack web developer who can build apps from the ground up. I've worked mostly at startups so I am used to wearing many hats. I am a very product focused developer who prioritizes user feedback first and foremost. I'm generally very flexible when investigating new roles. Nothing too big or small.

thomasfromcdnjs··on Claude 3.5 Sonnet
I was trying to get it to create an LLM from scratch using tensorflow.js with training and prediction, it got about 95% of the way, impressive.

But gpt-4o actually got a working solution in a couple prompts -> https://gist.github.com/thomasdavis/fadbca01605fb3cb64911077...

Though the new artefacts is really damn handy, you can describe the most detailed projects, and it does a really great job of what you asked for, and I found it delivered beyond what I wanted.

I am now paying for both -.-

- it's hard to rank which codes better, but I think claude has better abstractions

- sometimes I paste the output of the other, and continue solving on the other

thomasfromcdnjs··on Show HN: I built an indie, browser-based MMORPG
If anyone wants to test with better latency, there is a second world on the home screen.

Awesome work, good luck!

thomasfromcdnjs··on Figma AI
Yeah this one is crazy cool, not even a designer, but my figma prototypes are trash to manager after a while, any approximate name is better than my Layer 1231
thomasfromcdnjs··on One Million Checkboxes
What are you running that can handle that many websocket connections/messages?
thomasfromcdnjs··on Microfeatures I love in blogs and personal websites
The import/export reminds me of my own little blog generator project I've been working on over the years (super immature)

Essentially, your whole blog is just one file called "resume.json" that describes where all your post/pages come from, they could be external or local resources linked -> https://github.com/jsonblog/jsonblog-cli/blob/master/blog.js...

And then you have "generators" which are just functions, that can take your blog.json and output all the required html/assets to build it e.g. https://github.com/jsonblog/jsonblog-generator-boilerplate

The main idea being that you only ever have to keep safe your blog.json, which you could put as a gist or anything.

Love your setup so far, will follow along.

thomasfromcdnjs··on Llama.ttf: A font which is also an LLM
But having the same "seed" doesn't guarantee the same response from an LLM, hence the question above.
thomasfromcdnjs··on React 19 Breaks Async Composability
I didn't like hooks from the get go because it was the first time I found the automagical behavior that web dev was somewhat leaving behind starting to creep back in.

It's insanely hard (nigh impossible?) to debug an aging app that has use useEffect's and useState's everywhere. (This wasn't the case with the class components (not suggesting that class components were the be and end all))

Now the Compiler sounds nice, and sure there is going to be a lot less code. But, at what cost, it does sound like it's just more magic, moved further and further into the React internals. Which I think unfortunately gives the developer less understanding and power.

I'm just ranting, it's not like the React lib itself is yet entirely divorced from it's principles circa half a decade ago, but I fear it may. Perhaps, they could promote and support more sub packages of React itself e.g. rendering, state

thomasfromcdnjs··on Lexbor – An open source HTML Renderer library
Ah this answers my question in another comment.

Thanks!

thomasfromcdnjs··on Lexbor – An open source HTML Renderer library
Inspiring infrastructure.

The module aspect is super cool, is there much adoption with any other projects using the individual modules? e.g. a webparser using the dom module

thomasfromcdnjs··on Show HN: A website that tailors your resume for each job you apply for
I'm also working on a similar feature, it's simple but complicated too "merge" information in when using GPT's. I imagine you've encountered it too. If I say I have an array of interests ['music', 'gardening', 'racing'], and a GPT replies ['music', 'gardening', 'racing', 'competitive driving'], you don't want additive synonyms. And then more complicated is deletions, if it replies, ['gardening', 'racing', 'skydiving'], does that mean I want to remove 'music' or did it just forget to include it in the response so should I just merge the old and new array.

I'm probably going to open source a llm-structured-data-merge-thingy library (that has different merge strategies) in the near future.

thomasfromcdnjs··on Show HN: A website that tailors your resume for each job you apply for
Yeah my bad, I just tried to delete my comment but too late.

---

My useful feedback;

  - I thought the UX was broken when there was no next button after answering questions

  - It would be great if the homepage showed a real example (real JD, real before and after) 

  - There was a bug in my upload (Thomas Davis pdf if you are looking at the database). It hallucinated a whole job I've never had into my finished resume.
thomasfromcdnjs··on Show HN: A website that tailors your resume for each job you apply for
We have a version of this for JSON Resume, just append /letter if you use the registry

https://registry.jsonresume.org/thomasdavis/letter

https://registry.jsonresume.org/sadimfinity/letter

prompt/code: https://github.com/jsonresume/jsonresume.org/blob/master/app...

thomasfromcdnjs··on Ask HN: Are there any movements to create the equivalent of a sitemap for LLM's?
Thank you!
thomasfromcdnjs··on FrankenPHP: Modern PHP App Server
Thanks for the answer.

So you would turn on Frankens worker mode to sit on top of Laravel Octanes workers?

My understanding is that Franken keeps the app running so Laravel wouldn't need to restart anyway?

thomasfromcdnjs··on FrankenPHP: Modern PHP App Server
It would seem that this is more or less an alternative to Octane but I don't understand why there is documentation to also run Octane -> https://frankenphp.dev/docs/laravel/#laravel-octane/

Why would you run both?

thomasfromcdnjs··on FrankenPHP: Modern PHP App Server
Yeah it has to be one of the best landing pages I have ever seen.

Fun and instantly understood.

thomasfromcdnjs··on Show HN: Slipshow – A presentation tool not based on slides
I love it!
thomasfromcdnjs··on Ask HN: Do you use LinkedIn and are active on it?
I've been thinking of building a LinkedIn competitor for a decade.

2025 might be the right time.

If anyone wants to network and try build a relationship for potential co-founders shoot me an email. (profile)

I've got lots of ideas and can code almost anything.

thomasfromcdnjs··on Vector indexing all of Wikipedia on a laptop
Thanks for the answer.

Wikipedia has a lot of tables so I was wondering if content-aware sentence chunking would be good enough for Wikipedia.

https://www.pinecone.io/learn/chunking-strategies/

thomasfromcdnjs··on Vector indexing all of Wikipedia on a laptop
Did you chunk the articles? If so, in what way?
thomasfromcdnjs··on Show HN: Serverless Postgres
When would it make sense to use such a setup? What kind of applications?
thomasfromcdnjs··on ChatTTS-Best open source TTS Model
I hadn't heard any good prosodic laugh implementations yet.

In my mind that was the last hurdle to cross before being able to fool people regularly with a non-human voice.

Great work!

Hook that DSL into a prompt, [uv_break]gg. [laugh]

thomasfromcdnjs··on Show HN: Savvy – Create, Share and Run Runbooks from your Terminal
I spent about two minutes looking at it, I have no idea what a runbook is or what this project does and is used for.

"From fixing prod to local dev..." ?????

← PreviousPage 7 of 27Next →