This is a nice question we started to ask in our web guilds every week. So, what have you learned this week? This could be tech related, or something completely different.
For instance, here are a few things I learned this week:
- Plankalkül is the first programming language ever written.
- You can peer two or more different VPC in AWS, which is pretty cool if you want to access a VPC from another one.
Oldest comments (23)
It would be nice to have this question asked every Friday, for instance. Last week I learnt the basics of jQuery. This week so far, I learned how to properly upload images Dev.to. hehe
That's pretty cool! Do you like jQuery so far?
SinceI started with vanilla JS it definitely makes some things easier. I haven't used it that much, but it looks like it is ok for small projects.
Well since I'm working on a side project using React & NodeJS I've learned:
res.senddoesn't return, coming from the PHP world I thought thatres.sendshould be placed at the end of the function... however, this isn't a necessity with NodeJS.I love React Hooks! They're pretty cool.
Btw, I created a tool to host React and NodeJS apps. It's actually designed to help frontend developers. I'd love if you could check, give feedback and eventually use it :) You can check it out here. Cheers!
This week I've been reading up on a11y a lot. I've learnt that auto focus is (generally) bad as it can be very confusing to a screen reader user when your focus is yanked away. Also, over 97% of screen reader users have javascript enabled.
In non a11y news thanks to the post on here I now know you can style your console.log output. Mind blown
That's very nice! React testing library is pretty cool to implement a11y. They force you to write accessible code.
The part that bugs me is the use of a11y itself. It spells ally, which is cool, but screen readers cannot interpret it. So we created a shorthand for accessibility that isn't accessible.
HTTP is one of the instantiations of REST. I learned the clear distinction between REST and HTTP. I even wrote a blog about it.
dev.to/whoabhisheksah/rest-http-2eij
Thanks for sharing! I'll read the blog post :)
I learned about Dart and personal finances 🎯
Good one! I have little knowledge about both :D
If you're in a field for a music festival for the week, and the forecast is rain, invest in a good tent.
There's a pearl of transferable wisdom here I think: P
Yeah, I'm happy to see people commenting! I hope you didn't have to learn it the hard way :P
Similarly (but in May), I learned that the 7-day weather forecasts are a lot more accurate than the 3-day forecasts were when I was a kid (in the 70s). When we caught our flight to Vegas, the 7-day forecast was saying "windy and in the 50s (F) at night" ...yet I chose to attend a 3-day dusk-to-dawn rave in the same clothes I'd have worn had the forecast been for overnight lows in the 80s.
Oh and another thing I've learnt - and did that the hard way - was to never return an Int64 value in a JSON response. Javascript can handle numbers between -(253 - 1) and 253 - 1, so in the frontend they will be truncated. Cast to string instead.
Got a portion of the way through the Rust guide at rust-lang.org/learn.
Currently at the section on ownership, which sounds like a different take than working directly with things like
mallocor depending on a garbage collector.I learned with Oracle SQL you can chain (if that is correct) functions together to clean up characters and make it a number
I coded along a Gatsby tutorial and React components blew my mind. (I've only used vanilla JS before) Got really excited about learning it!
Gatsby is cool! Pretty easy to follow.