DEV Community

How you used AI in 2024?

Sarthak Sharma on January 07, 2025

2024 seemed to be all about AI—everywhere you looked, it was AI this and AI that. But once we cut through the marketing hype, what was actually use...
Collapse
 
kurealnum profile image
Oscar

I almost never use AI, but the one of the two times I did this year was for converting a bunch of environment variables to docker compose variables, like so:

CSRF_COOKIE_SAMESITE="Strict"
SESSION_COOKIE_SAMESITE="Strict"
CSRF_COOKIE_HTTPONLY=False
Enter fullscreen mode Exit fullscreen mode

to

- CSRF_COOKIE_SAMESITE=${CSRF_COOKIE_SAMESITE}
- SESSION_COOKIE_SAMESITE=${SESSION_COOKIE_SAMESITE}
- CSRF_COOKIE_HTTPONLY=${CSRF_COOKIE_HTTPONLY}
Enter fullscreen mode Exit fullscreen mode

... plus about 30 more of these. Saved me about 15 minutes!

Collapse
 
sarthology profile image
Sarthak Sharma

😂

Collapse
 
kwnaidoo profile image
Kevin Naidoo • Edited

I've been using AI for nearly every aspect of my workflow and products:

  • Code generation, boilerplate stuff so I save time.
  • Voice AI: built a bunch of products using SIP and WebRTC.
  • Data processing. RAG, Product tagging, categorization, etc...
  • Finance. Scans my statements and generates different reports like balance sheets, income/expenditure reports, etc...
  • Chatbots, good old chatbots.
  • Documentation, when I do something in Java or some other language I haven't written in a while. Makes it easy to do a quick reference lookup.

Even amusement 😊 here's a recent voice AI implementation I shared on my blog.

Collapse
 
sarthology profile image
Sarthak Sharma

Dope, you seem like a power users.

Which AIs you used for each of these use cases ?

Collapse
 
kwnaidoo profile image
Kevin Naidoo

Ollama with "PHI3-mini", "granite3-dense:8b", "mixtral" and a bunch of other small models. Paid models, I use OpenAI models like text-embedding-3-large, Whisper, TTS, GPT4o (and mini), etc...

For some coding tasks, I use Anthropic's API with Sonnet or Tabnine.

Recently, also using DeepSeek, and for some voice tasks, I use AssemblyAI.

Thread Thread
 
sarthology profile image
Sarthak Sharma

Woah multiple models.

Got to know a lot of new ones.

You use them on cloud or locally?

Thread Thread
 
kwnaidoo profile image
Kevin Naidoo

Tabnine is probably the only local one, the rest are used in production. In the case of Ollama models that's a GPU server, I am running on prod, rest are just APIs to OpenAI/DeepSeek/Anthropic.

Often you'll find you need more than one model, the smaller models can perform niche tasks quickly and the bigger ones can do more complex tasks.

Collapse
 
azlan_syed profile image
Azlan-Syed

Making my poor code look good honestly

Collapse
 
sarthology profile image
Sarthak Sharma

😄 How?

Collapse
 
azlan_syed profile image
Azlan-Syed • Edited

Well just to make it a bit fast, like a bit milisecond better, at least i can rely on ai for taking out the trash btw your from india 🇮🇳 (me too)

Thread Thread
 
sarthology profile image
Sarthak Sharma

Hahaha quite common use case I would say.
Oh that’s great. Which part and how long you been a developer?

Thread Thread
 
azlan_syed profile image
Azlan-Syed

Well not certified, since I am still a teen, started coding stuff at 12, also had to cover up schooling stuff too

Collapse
 
codemonster240 profile image
Andrew McSillyone • Edited

Who do you think wrote all of my websites?
...chatgpt

Just kidding! However, we use AI, but remember that in about 30 years, AI will probably replace all of us on this forum!

Collapse
 
sarthology profile image
Sarthak Sharma

Not really 😅 You will find here

Collapse
 
riikka_koivisto profile image
Riikka Koivisto

I'm a bit of a grump in terms of AI usage, but of course it's seeped into my life slowly.

With work especially I am pretty hard opposed to AI taking over my creative processes, even just simple coding, because I feel like if the commit has my name on it, I better have an absolute grip on the code. Lately I've experimented with letting AI fill in boilerplate-y code, such as generating Laravel models from migration files I've designed. Tabnine does this pretty well, but what I found was that due to my issues with handing over control, I spent the same time checking that I would have spent writing.

Outside of work I use Perplexity for web searches, the fact that it not only gives me an explanation but also cites sources is one of the biggest reasons I've grown to like it. It's the same reason why I use Arc Search (and sometimes Perplexity) on my phone as well.

I don't let AI into my files (not explicitly, anyway..) nor do I give it any kind of info about my finances, that seems way too far into privacy invasion. I also detest that people enthusiastically give all sorts of AI-powered apps or sites their info, history, even voice and face, with little to no regard about their own privacy.

Sorry for the mile-long reply, thanks for reading! :)

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
sarthology profile image
Sarthak Sharma

Oh that's a new one. What you liked the most about it ?

Collapse
 
hosseinyazdi profile image
Hossein Yazdi

Well, it's ad-free, doesn't require registration and most importantly, it's specifically designed to handle programming needs.

Thread Thread
 
sarthology profile image
Sarthak Sharma

Does it run locally? And what about data privacy?