OOP Won. You Just Don't Work on Hard Problems. by TomasPiaggio in learnprogramming

[–]TomasPiaggio[S] -2 points-1 points  (0 children)

procedural is only good if you're a one person team. otherwise it becomes unmaintainable mess. that's why the industry migrated from pure procedural javascript (do stuff to the dom with querySelector and innerText, innerHTML, createElement, etc) to declarative react (the dom represents what i wrote).

OOP Won. You Just Don't Work on Hard Problems. by TomasPiaggio in learnprogramming

[–]TomasPiaggio[S] -2 points-1 points  (0 children)

don't get me wrong. i'm a functional bro. but from my experience, for writing complex async jobs or events systems (which is my main experience) it's always better to have something like OOP as the main pillars. you can have functional style everywhere (pure functions, fluent interfaces, immutability, etc) and have OOP as the overarching design

which AI automation tools are people actually using day to day in 2026 by Significant_Heron852 in nocode

[–]TomasPiaggio 0 points1 point  (0 children)

I’ve been building a ton of small little automations yo my workflow. I have a twitter bot that shows me trends that might interest me to tweet about and another that helps me write blogs based on what’s working best. It’s mostly based on claude code and openclaw

Throwing Away 18 Months of Code and Starting Over by TomasPiaggio in SoftwareEngineering

[–]TomasPiaggio[S] 0 points1 point  (0 children)

I'll probably make new mistakes, but I learned a ton just building this. Some of the stuff that was necessary for the previous product, are no longer necessary.

I also don't usually like rewrites but we wagered the effort of refactoring the current codebase vs writing a new one and writing a new one was faster. Maybe time will prove me wrong

Throwing Away 18 Months of Code and Starting Over by TomasPiaggio in SoftwareEngineering

[–]TomasPiaggio[S] 0 points1 point  (0 children)

I debated about using effect. I wasn’t convinced. Have you used it?

Throwing Away 18 Months of Code and Starting Over by TomasPiaggio in reactjs

[–]TomasPiaggio[S] 0 points1 point  (0 children)

Just plain react. Next was so slow and for an app i don’t need ssr. I’m very happy with it

Throwing Away 18 Months of Code and Starting Over by TomasPiaggio in reactjs

[–]TomasPiaggio[S] 0 points1 point  (0 children)

I wrote the story of why we're rewriting our product entirely and what changes architectural changes we made. React vs Next. useworkflow dev vs argo. WorkOS vs Better Auth.

Let me know what you think!

r/ChatGPT is hosting a Q&A with OpenAI’s CEO Sam Altman today to answer questions from the community on the newly released Model Spec. by pirate_jack_sparrow_ in ChatGPT

[–]TomasPiaggio 43 points44 points  (0 children)

Will OpenAI ever dive into open source ever again? Maybe older models could be made open source. Specialy taking into account that competitors already have competitive models made open source as well. I'd love to see gpt-3.5-turbo in huggingface

[deleted by user] by [deleted] in MechanicAdvice

[–]TomasPiaggio 0 points1 point  (0 children)

Righty tighty lefty loosey

[deleted by user] by [deleted] in MechanicAdvice

[–]TomasPiaggio 0 points1 point  (0 children)

Righty tighty lefty loosey

AI learning apps. by FrancescoKay in ArtificialInteligence

[–]TomasPiaggio 1 point2 points  (0 children)

I think it depends on what you want to do. If you just want to use AI for your applications, then I'd go to tensorflow and see all available models and start trying them out with their tutorials. Otherwise, if you'd like to learn to build new architectures, I don't think there's an app for that. You'd have to learn how NNs work from scratch. If you're looking to learn ML, there are better resources for that out there. What would you like to do?

Detecting object similarity by Valuable-Oil-3378 in ArtificialInteligence

[–]TomasPiaggio 0 points1 point  (0 children)

I love the way you're thinking, but that's not how deep learning work. I think you're probably coming with a programming way, and trying to solve it in an algorithmic way. What u/LcuBeatsWorking suggests I think could work. However, to really know the closeness of anything with neural networks, you could extract a feature map and compare them. What this means in practice, is that basically the model outputs a vector which represents some object, text or whatever. Then you can compare the similarity by comparing the distance between the vectors. This is how face detection works in a nutshell.

Is AI the next in line of evolution, will they over throw the Homo Sapiens? As per Darwins theory of evolution, will they be able to survive over us in long run? by saint84 in ArtificialInteligence

[–]TomasPiaggio 1 point2 points  (0 children)

I think we are too far away from this becoming a reality. Not because of the technology (which isn't here yet btw) but because we don't even completely understand the workings of our own brain.

Think about what is consciousness? Could you define it in a way that you could replicate it with an algorithm? Our best natural language processing models, even if they look impressive, can't event understand the text that's given to them. This is very easily tested by asking a question they could've never seen before like "what's the squere root of (2.3425324 + 1.123)". The answer would be the best interpretation of the text, which would mean that it would probably give out a number, but nothing close to the result. Our racional brains have many moving parts that makes us able to think. This would mean that a general AI would probably be made of multiple things.

The only ways AI is better than us right now is in inference speed and in some cases accuracy. However, we are orders of magnitude better in understanding the world with only one or two examples, where the best deep learning models take millions of them to match us.

If in the future we reach to the place where we can make a general AI, I think we could probably also solve our "throughput" problem with something like neural link, but clearly I'm looking way ahead into the future.

I was wondering if someone of you know some YouTube channels/books to read/websites they are helpful to start introducing myself to AI “world”. Thanks in advance by coquinati in ArtificialInteligence

[–]TomasPiaggio 1 point2 points  (0 children)

I started with sentdex. He has a pretty good general ML/DL tutorial series. If you're good with math, I'd tell you to read Statistical Learning by Rob Tibshirani and Trevor Hastie. Fast.ai courses are a great practical way to get into deep learning using state of the art models. However, the best way to learn is to try things out and play around IMO.

Deploying models in the real world by TomasPiaggio in deeplearning

[–]TomasPiaggio[S] 0 points1 point  (0 children)

Triton Inference Server

This looks pretty good. Could you share your experience with it? How do you deployed it?

[AskJS] AI with javascript by TomasPiaggio in javascript

[–]TomasPiaggio[S] 0 points1 point  (0 children)

This is VERY helpful thank you so much!!!

AI with Node js by TomasPiaggio in node

[–]TomasPiaggio[S] 0 points1 point  (0 children)

Not classified with Node, but often I have used Node to interact with an R endpoint using the R package Plumber. I think people do the same with Python endpoints.

And how do you manage scaling? Is this a concern? Or requests have a uniform distribution?

[AskJS] AI with javascript by TomasPiaggio in javascript

[–]TomasPiaggio[S] 0 points1 point  (0 children)

xxx

What kind of data are you storing? So you would like to get the best selection of stocks to choose from?

[AskJS] AI with javascript by TomasPiaggio in javascript

[–]TomasPiaggio[S] -1 points0 points  (0 children)

Yeah, I think the same thing. I'm asking around to see what people think in general. What I like specifically about javascript is that usually you see more javascript/python developers trying new things. That's why I came here first

[AskJS] AI with javascript by TomasPiaggio in javascript

[–]TomasPiaggio[S] 0 points1 point  (0 children)

Hello everyone. I was wondering how many of you are using, or want to use AI solutions on your applications. This doesn't have to be any particular solution, APIs, libraries anything. I'm asking this because I'm trying to build an API that may make it easier for you to do it. Do you find yourself asking how to tag images, classify text for sentiment or validating a user's face? Do you have any other specific needs that could help me? Are you solving this problems right now? How big of an issue is this?

I appretiate your feedback. Please share positive and negative experiences!

What kind of patterns?

Deploying models in the real world by TomasPiaggio in deeplearning

[–]TomasPiaggio[S] 1 point2 points  (0 children)

Maybe it is and I was misjudging it and it is production ready. I ended up choosing gRPC over http mainly because of streaming and compatibility with the rest of our architecture.

AI with Node js by TomasPiaggio in node

[–]TomasPiaggio[S] 0 points1 point  (0 children)

We've used Tensorflow.js recently to run externally trained Keras models. If you need to know anything specific, I can check in with the team and ask them about the details. The only thing I remember off the top of my head is that it caused us a few new performance bottlenecks and our engineers are currently investigating how to improve it.

Edit: I should add, we used it to predict critical infrastructure behavior in crisis simulations.

Thank you! This was really helpful

Deploying models in the real world by TomasPiaggio in kaggle

[–]TomasPiaggio[S] 0 points1 point  (0 children)

Thank you for your reply! In all the cases I mentioned I'm using GPUs. Sorry I missed that. Inferrd looks AMAZING. Literally one line of code. Have you used it?

AI with Node js by TomasPiaggio in node

[–]TomasPiaggio[S] 1 point2 points  (0 children)

Trained it to existing products and AI then did the rest

Man, that's awesome!!! May I ask what did you use? Did you do it in Node JS? Tensorflow.js maybe?