It's that time of the week again. So wonderful devs, what did you learn this week? It could be programming tips, career advice etc.
Feel free to comment with what you learnt and/or reference your TIL post to give it some more exposure.
#todayilearned
Summarize a concept that is new to you.
Oldest comments (29)
(Re)learning some PHP for a side project. It's been a few years and I never really knew PHP well in the first place. Getting reused to the syntax and learning about PHP 8 changes.
I dug into signed exchanges a bit today. I was vaguely familiar before, but it clicked.
crap i didn't learn anything new this week.
đź
No worries friend!
Thanks Nick ;)
I learned there is a computer out there I can still be excited about. M1 Max MBP đ
I learned how to provision the whole CI/CD pipeline with AWS CDK in less than 40 lines of Typescript code :)
Thanks for asking, here's something interesting I learned this week
dev.to/godswillumukoro/css-is-awes...
I used xargs this week.
It looks like the
opencommand can't take data from the standard input, so I ended up using something like this.For those who don't know,
xargs(with the right arguments) can act like themapmethod on javascript arrays. So you can imagine the above doing something like this:Nice!
xargscan come in handy in a pinch, but it's usually unnecessary and the way it generates arguments can cause some complications. I can't think of a case wherexargswould be more appropriate than Command Substitution or awhile readloop, e.g.:or
With process substitution and the
mapfilebuiltin, you can even populate an array and iterate over that:In progress learning about conventional commits! github.com/open-sauced/open-sauced...
Nice! You might also be interested in Conventional Comments! I gave a lightning talk about them last year as part of my Virtual Coffee group's lightning talk series.
I'm on at this point.
SvelteKit and Strapi. They're really cool. Gonna start a pet project to get deeper.
Learned about HSL for color in css. Seems way more intutive than RGB or hex codes and I'm going to incorporate it into my front end design more.
Yeah!