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 Show HN: File0 – An easier way to manage files in serverless apps
I'd probably use that, but the odds of me remembering it next time I need it is going to be approaching zero.

If I were you, I'd dedicate all your efforts on getting into the Vercel integrations page.

That's where I would re-find it, and probably more likely your user base. (scrappy js apps that don't care more than just getting something working and released)

thomasfromcdnjs··on Should I use JWTs for authentication tokens?
I feel ya.

You have to store invalidated tokens anywhere they might pass through a service, which means you have to persist them for as long you can predict that there expiry will last. Simply putting them in a memory database isn't 100% if that db gets flushed, and then you might start storing them in a disk database, which at that point, you might as well have just read the db in the first place using cookie auth.

In microservices, you generally have to put an invalidated JWT cache between every service, or compromised JWT's are just floating around your intranet.

I've worked at a plethora of places who have JWT's who have no invalidation strategy what so ever, the majority of developers think that when you log out and the user has forgotten the JWT then you are all good......

thomasfromcdnjs··on WP21
I've always considered myself an above average web developer, my friends would always have Wordpress websites, and ask me if I can just tweak a few things.

Without hesitation, I'd proclaim I could easily make those changes!

Then I'd load their site, load their plugin/theme code and css files, struggle for hours to get the desired effect, and even if I got it to work, I would break every other part of their site.

---

Denigrating anecdote aside, good job Matt, loved the story at the end.

thomasfromcdnjs··on Resume Tip: Hacking "AI" screening of resumes
I've been working on it at JSON Resume

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

It creates openai embeddings of all HN job postings, and it creates openai embeddings of the specified resume and then returns the most relevant.

It works really well, the jobs recommended are right up my alley.

Code is open source -> https://github.com/jsonresume/jsonresume.org/tree/master/app...

---

You can also just make a big prompt, which has the job description and the resume all included, and just ask it if it thinks it is a good match e.g.

prompt;

  You are in the HR department for XYZ, and you are screening resumes.

  {JOB_DESCRIPTION}
  {RESUME}

  You now have to make a judgement following this format.

  compatibility_score: 0.3 
  passed: false
thomasfromcdnjs··on LO – simple WASM native language
Thanks for this answer
thomasfromcdnjs··on LO – simple WASM native language
How is this project related to the work you do? e.g. instadeq, gloodata

Why do you need WASM?

thomasfromcdnjs··on Show HN: Route your prompts to the best LLM
Since you take no extra charges from the end user, the presumption is you would charge LLM's for giving them traffic?
thomasfromcdnjs··on Hacking on PostgreSQL is hard
Are there good resources on learning how to?
thomasfromcdnjs··on Jsdelivr Experiencing Issues
twitter also down?
thomasfromcdnjs··on Ask HN: Who wants to be hired? (May 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 Resistance Against Git Merge Hell (2015)
I've been using git since the first year it came out, I've never looked at it visually.
thomasfromcdnjs··on GitHub Copilot Workspace: Technical Preview
A part of building great products is allowing your engineers to focus on things that really matter. But sometimes you need to change copy, add small features, from my experience with some of these tools, it is incredible. A PM can just create a repo issue, and the bots will go away with high accuracy and quality (if your codebase is setup well), and submit a PR.

This level of velocity for teams cannot be understated.

thomasfromcdnjs··on Equinox.space
Exactly the same for me.
thomasfromcdnjs··on Dify, a visual workflow to build/test LLM applications
What kind of people are using this AI dev platforms?

When do they become better then just rolling your own custom code?

thomasfromcdnjs··on Show HN: Vapi – Convince our voice AI to give you the secret code
I signed up for an account, and got their customer service agent to talk to the secret code bot.

They've been talking for about 10 minutes, the customer service agent has got 3/4 numbers so far.

thomasfromcdnjs··on Embeddings are a good starting point for the AI curious app developer
I've been adding embeddings to every project I work on for the purpose of vector similarity searches.

I was just trying to order uber eats and wondering why they don't have a better search based off embeddings.

Almost finished building a feature on JSON Resume, that takes your hosted resume and WhoIsHiring job posts and uses embeddings to return relevant results -> https://registry.jsonresume.org/thomasdavis/jobs

thomasfromcdnjs··on Distributed SQLite: Paradigm shift or hype?
In Fly's implementation;

> LiteFS’ use of FUSE limits the write throughput to about 100 transactions per second so write-heavy applications may not be a good fit.

https://fly.io/docs/litefs/faq/#what-are-the-tradeoffs-of-us...

thomasfromcdnjs··on Hacker News (HN) – Part 1: analysis
I like reading Marginal Revolution because it doesn't have this rule whilst also being a rather intellectually curious place.

(not suggesting HN ever takes this route)

thomasfromcdnjs··on Show HN: Suno AI Download – Download Suno AI Music Song MP3
My mum teared up to a personalised ChatGPT poem when I was demo'ing it to her. She would love to listen to some blues/country tailored lyrics of her own devise.
thomasfromcdnjs··on Tired of late messages from your boss? A new bill aims to make it illegal
Who are the main libertarian voices in America these days?

Surely human autonomy and culture can "enforce" this idea over time.

thomasfromcdnjs··on Ask HN: Who wants to be hired? (April 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 Lcl.host: fast, easy HTTPS in your local dev environment
When we first release cdnjs.com we used tools to check if the DNS had fully propagated... but it hadn't. The shame of a cdn being down in several places across the globe.
thomasfromcdnjs··on Show HN: Prompts as WASM Programs
It took me a while to also figure it out, until I got to the example.

I am definitely going to play with this.

thomasfromcdnjs··on Show HN: Tech jobs on the command line
There is something similar https://github.com/alexpovel/ancv/
thomasfromcdnjs··on Show HN: Tech jobs on the command line
I think there is lots of crazy ideas that need to be built, the next job I find I will probably just rely on tools like these for the fun of it.

I've got a few that I will chime in later with. A simple one for now, is put a couple buttons next to the job listings in your UI.

Generate cover letter - Make a cover letter based off your resume and the job description

Generate tailored resume - Create a permutation of your resume to promote things relevant to that job description

thomasfromcdnjs··on Show HN: Tech jobs on the command line
I'm not exactly sure what you mean by direct inference?

Do you mean that you pass the resume and job posting to the initial GPT prompt? and rely on the returned "fit_for_resume" property? (I'm curious if you tried using OpenAI function outputs too)

If so I didn't try that. And thinking about it, I like your style. (There's no reason why you couldn't do both anyway)

Another question; Did you try asking for a "fit_rating"?

Here is the prompt/call I used for GPT'ing the HN posts -> https://github.com/jsonresume/jsonresume.org/blob/master/app...

As for the distance of the vector similarity search. I am just using Supabase's pg_vector plugin support, with 3704 dimensions using the default search (cosine).

thomasfromcdnjs··on Show HN: Tech jobs on the command line
Hey Nico, this looks awesome.

I built out pretty much the exact same thing for JSON Resume (far uglier) but uses vector embeddings to rank relevant jobs -> https://registry.jsonresume.org/thomasdavis/jobs

My prompt when running it through GPT-3.5 sucks, doesn't always get location and salary. GPT-4 is way better but $$$$.

I've seen about 3-4 projects doing this with HN WhoIsHiring projects now, I wonder if we should all just share an API (of GPT parsed HN job posts) and pool some $$$. (In my version, I also created a JSON Schema that represents a Job Description)

scripts: https://github.com/jsonresume/jsonresume.org/tree/master/app... api code: https://github.com/jsonresume/jsonresume.org/blob/master/app...

thomasfromcdnjs··on Show HN: WhoIsHiring <> JsonResume
thanks, i will fix that lol
thomasfromcdnjs··on Testcontainers
Homepage hero says "Unit tests with real dependencies"
thomasfromcdnjs··on Phind-70B: Closing the code quality gap with GPT-4 Turbo while running 4x faster
I'd piggyback this comment to ask if anyone could share how codebase prompts work?

Given the max tokens per request, do the extensions look at your currently open file, and use some vector similarity to find other files that could be relevant (if embeddings were generated for all files in the project), and then inject relevant source. And/or is it even more complex, by using AST parsing and creating embeddings out of actual linked functions?

← PreviousPage 8 of 27Next →