DEV Community

loading...
Cover image for What did you learn this week?

What did you learn this week?

rich1n profile image Richard Rodrigues ・1 min read

This week i learned about hacking basis and bug bounty hunter... so cool.

Next week will practice and learn about JavaScript

And you...
1) What did you learn this week?
2) What will you learn next week?

Discussion

pic
Editor guide
Collapse
joelrozen profile image
Joel Rozen

I learnt how to rewrite an API I wrote 6 months ago to run serverlessly and saved my client close to $50/day in server costs!

Collapse
mike_hasarms profile image
Mike Healy

That's brilliant.
Out of curiosity did you have a close idea how much they'd save before you started, or did you just know it'd be a worthwhile amount?

If the former I also curious how you priced doing that work for them? If the details were known in advance it could have been a good opportunity for value based pricing.

Collapse
joelrozen profile image
Joel Rozen

For this particular client I am just on a fixed monthly retainer - this month there wasn’t many new features or bug fixes to roll out but the client had requested that I “look into costs”.

I had a pretty good idea of the potential savings when I actually looked at the server running costs and did the math on the invocation costs, but the work itself was just billed into the monthly retainer.

That being said, the learnings from that exercise meant that I spent the weekend going through my client list and figuring out who else I could save a bunch of money that would be under additional billable time!

Collapse
rich1n profile image
Richard Rodrigues Author

That's Excelent!!! don't delete your old code...

Collapse
joelrozen profile image
Joel Rozen

Thank you, and never!

Collapse
markomannux profile image
Marco Mannucci

This week I learned how to authenticate users with Twitter API.
I also learned that the Twitter API doc is pretty messy 😅

Collapse
rich1n profile image
Richard Rodrigues Author

Nice. i would like to learn that too.

Collapse
markomannux profile image
Marco Mannucci

This post helped me a lot understanding what was going on.

Also, if you are in a JS environment, this two packages makes things really easy:

Collapse
martinhaeusler profile image
Martin Häusler

What I learned about Java last week...

The == operator works on primitive types (int, boolean, float, ...) but not on their wrapper counterparts (Integer, Boolean, Float). For the wrappers, it's memory location comparison. Yes, even for Boolean. For example, 3 == 3 will return true, however new Integer(3) == new Integer(3) will return false . Using auto-boxing (e.g. Integer x = 3;) amounts to the same as using Integer.valueOf(int). This method caches a certain range of values (-128 to +128), so anything within this range will produce Integer objects where == actually does work (they refer to the same memory address!), but use anything outside this range and == stops working on the wrapper Integer.

The predefined .hashCode() method on enum literals is implicitly final (cannot be overwritten) is not consistent across JVM restarts. The same literal of the same enum will have a different .hashCode() every time you restart the JVM. In comparison, all primitives, their wrappers, and things like String, as well as all collections thereof, in fact do have consistent hash codes across JVM restarts, which makes enums a weird corner case.

Collapse
soumyadey profile image
Soumya Dey
  • This week I learnt to build a custom hook in React and also wrote my first blog post as a web developer in dev.to. You can check it out Here. Will love to here feedback from you guys. 😊
  • From next week I have to start my studies for the upcoming semester. 😞
Collapse
rich1n profile image
Richard Rodrigues Author

Cool, Firebase is on my list to learn.

Collapse
soumyadey profile image
Soumya Dey

I ignored firebase for some time. But at the end because of my internship I had to learn it...and now guess what...I'm kind of enjoying using firestore. 😅

Collapse
miguelmj profile image
MiguelMJ
  • This week I've been learning about Jekyll and CSS to create my portfolio in Github pages. I already knew some basics of frontend development, but now that I dive more deeply in it, I realize it unlocks a lot of creativity!
  • Next week I will let myself surprise me! 😝
Collapse
rich1n profile image
Richard Rodrigues Author

SUCCESS!!! you'll do!

Collapse
bobbyiliev profile image
Bobby Iliev

It has been an exciting week as Laravel 8 and Laravel Jetstream got released!

I've learned what Laravel Jetstream is and how to get started.

Collapse
rich1n profile image
Richard Rodrigues Author

Cool, Laravel... it's on my list but first i need PHP...

Collapse
chidioguejiofor profile image
Chidiebere Ogujeiofor

I actually learnt something that is not quite related to coding. I learnt that I function better when I sleep early and wake up early compared to the late alternatives

Collapse
rich1n profile image
Richard Rodrigues Author

I'm learning that too... it's important a good sleep for better code; a lot of people think that work better at midnight: the brain work better by day (serotonin and a lot of thing our brain do to work). try now to learn about productivity techniques like pomodoro or eat the frog... you will surprise!!!

Collapse
chidioguejiofor profile image
Chidiebere Ogujeiofor

Interesting. I would check those out.

Collapse
wilsilva profile image
William Silva

1) I learn frequently about DevOps, specifically Prometheus and Grafana. Because today I need to use them in my work, and they are pretty good software for management and monitoring. Look if you are dev, analyst, or anyway, I recommend you study about them.

2) In the next week, I need to study English a lot, So I'm a Brazilian person and I have big difficult to learn English and today, I really need English mainly for a conversation, because in my work have American people and I have a difficult for a conversation with them.

Collapse
rich1n profile image
Richard Rodrigues Author

voce tem que estudar ingles para ganhar mais dinerinho. muita saúde.

Collapse
scroung720 profile image
scroung720

1) This week I learned about graphic design elements of composition, color theory, color space, using gimp. A little bit on how to create VS Code extensions and a subset of LaTex how to configure a settings.json and launch.json.

2)I want to continue with graphic design, vs code extension, react and advance css.

Collapse
rich1n profile image
Richard Rodrigues Author

Start with Figma; there's a lot of tutorials over there.

Collapse
mike_hasarms profile image
Mike Healy

I brushed up on feature testing in Laravel and added test coverage for a bug I found in my coffee side project. I also setup my first CI and CD process (also for Laravel).

Also got injured and learned not to ignore my nerd-neck and to prioritize those postural fixes when I've recovered.

Collapse
maulik profile image
Maulik

I started learning react. I saw there is lot of demand of react developers which made me think, what's so special about it. I already have knowledge about Angular and Vue, so I bought a Udemy course and started it. I'll complete that course within next week.

Collapse
hopemanryan profile image
Ryan Hoffman

I learned how to lazy load components in angular 2x
Had a tab that could potentially be huge and needed to support large scale of components.
Decided to lazy load the components to chunk up the load time . Worked amazingly ( with inputs and outputs )

Was very proud that piece of code 😇

Collapse
pavelkeyzik profile image
Pavel Keyzik

1) I finished the "Design Systems with React & Storybook" course on frontendmasters.com created by Emma Bostian

2) I think that I'm going to start to learn Figma to be more effective in using this tool in the future.

Collapse
rich1n profile image
Richard Rodrigues Author

Figma is a great SaaS for design and prototyping. go for it.

Collapse
shadowtime2000 profile image
shadowtime2000

This week I learnt about Git hooks and more on how to write Typescript declaration files for packages

Collapse
rich1n profile image
Collapse
zenahr profile image
Zenahr

This week I learnt to build state-management using just vanilla JS. Still a lot to go on the UI but the project is going well! (Simple modular reference app for artists).

Next week I'll learn how to build a sleek, responsive UI featuring toggle-buttons with more than 2 states (again via vanilla JS).

It's really refreshing to build something without extensive tooling or a framework.

Collapse
uzair004 profile image
Muhammad Uzair

Watched tons of videos about Event Loop, asynchronous JavaScript etc

Collapse
rich1n profile image
Richard Rodrigues Author

JavaScript... love and hate in the same program.

Collapse
jijii03 profile image
lincey.J

this week i learn about async/await function and how to use it in a personal project

Collapse
yoursunny profile image
Junxiao Shi

I leaned how to create presentation video with PowerPoint.

Collapse
rich1n profile image
Richard Rodrigues Author

practice well about... do you use office 365 powerpoint? try Google Presentation too... have a nice tools on cloud... and the: learn slides.com/

Collapse
kateh profile image
Kate (she/her)

I dove deeper into web accessibility practices— specifically around what using assistive technology looks like, and why things like using labels and correct semantics are important.

Next week, I want to look at accessibility tools available in Rails.

Collapse
abhisheknaiidu profile image
Abhishek Naidu

I build a GitHub Action called todoist-readme this week!, It was awesome working with GitHub Actions.

Collapse
assuncaocharles profile image
Collapse
naresh profile image
Naresh Poonia

I learned Regular Expressions and Debugging in Javascript this week
I'll learn Basic Data Structure next week

Collapse
prkkhan786 profile image
prkkhan786

I have learned some advance concepts about javascript .

Collapse
anuraganand profile image
anurag-anand

I came to know about the hilbert curve , find it really cool

learn about how to implement location based services using geospatial apis of mongo db.

Collapse
petestewart profile image
Pete Stewart

This week I learned how to get a user’s geolocation and convert it to an address with the MapQuest API.

Collapse
luqmanv1 profile image
luqmanul hakim

This week, i'm solved easy problem in leetcode

Collapse
abidr profile image
Abid

I learnt React Context API and Hooks this week and it was so fun!

Collapse
juanccq profile image
Juan Carlos Choque Quispe

This week a learned how High Order Functions and closures work in Javascript, this is a part of a Udemy course.

Collapse
meatboy profile image
Meat Boy

I learnt more React Native techniques.