Lea 🦋 retweeted
You've heard of RLHF in AI, but what about RLMF?
Reinforcement Learning with MACHINE Feedback!
Here's something I made that comes close. I wonder if OpenAI actually uses this machine feedback to train its model further.
This may be the future: machines teaching machines!
Lea 🦋 retweeted
Thankful for a very special dinner with my friend @matteocollina in Milan tonight where we talked about running a company, Fastify, @platformatic, devrel, adoption, and so much more over delicious Italian cuisine.
A truly delightful 3-hour conversation.
I learned about unit testing with Vite yesterday and now my calculator is fully bulletproof!!!
GitHub repo coming soon!
#100daysofcode
I did it! My calculator is pretty much bulletproof now—even without `eval`!!!
Give it a whirl?
Would love more challenges on how I can improve it as part of my #100daysofcode.
I think it may be time to get into unit testing this thing!
codepen.io/Leeka_ku/pen/yLEN…
Replying to @artleeka
Came here to say that this is one of those LEGIT HARD problems that I used to come up against as a beginner and not know how hard they were.
So I have no idea 😂
Does creating an AR filter count as coding for #100daysfcode ?
Asking for a friend…
(Seriously though, I used an if Statement it should totally count)
Turning “1+2” into 1+2 seems so easy but turns out it really isn’t 😂
Also why does !number(0) return true?
Just 2 of my problems as I finally made my calculator function without eval() 🎉
Lmk how I can improve it?
(It’s day 4 of my #100daysofcode)
codepen.io/Leeka_ku/pen/yLEN…
I spend a lot more time thinking about code today than actually writing anything.
Feels like my head is full of {} and ifs and whiles but I’ve got nothing to show for it.
Please tell me that gets better at some point?
(It’s day 3 of my #100daysofcode )
Changelog time! Today on #100daysofcode, I made it:
- Impossible to divide by zero
- Impossible to end an equation with an operator
Next, I’m finally removing `eval` in favor of something less risky.
Follow my progress on codepen.io/Leeka_ku/pen/yLEN…
Given an equation as a string "2*3+5/10*9-32*5+6", what’s the best way to evaluate it and output the correct numeric result with JavaScript?
Soo…
my calculator isn’t super ugly anymore and instead matches my hair color 💕
It will also stop you from calculations starting with / || *
Hopefully tomorrow I’ll be able to get rid of eval (No spoilers please🙈)
#100daysofcode
codepen.io/Leeka_ku/pen/yLEN…
I keep const-antly let-ting myself learn JavaScript! What I’ve learned recently:
- `const` is for things that can’t change, but if it’s an object, its properties can still change
- `let` is for variables that can change
- `var` is basically old `let`
#100daysofcode
Okay, so I wrote my first web program ever! 🎉
I built a basic calculator with HTML, CSS and JavaScript in 90 minutes!
🙈 How did I do? What should I do next? How can I improve it?
#100daysofcode
codepen.io/Leeka_ku/pen/yLEN…
Okay, let’s do this! I’m committing the next 100 days to get good at code with #100daysofcode.
Excited to share my journey!!










