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.
![Informatio...
For further actions, you may consider blocking this person and/or reporting abuse
I had a semi-productive week:
yield
in PHP, and found a genuine use case for it (not a contrived example used in documentation).Finding that first use of a new concept is an amazing feeling.
I learned the ins and outs of optimizing the build of a massive React / Emotion UI component library. Build time went from 45 minutes to 90 seconds and now every component is properly bundled for distribution. 🎊
Learned how to replicate basic functionality of ngFor / ng-repeat in Angular for Web Components in less than 200 lines of code.
That is a super impressive speed gain! Dare I say post worthy.
Using Next.js for the first time, diving into SSR vs static generated content.
That's awesome! 🔥
Oooh how is the ssr side of next? Ive use gatsby quite a bit and touched next for static once.
I learned more about open source and how to contribute to it
Hacktoberfest baby! Did you make any contributions or just learning?
Yes I did, it was my first and was able to submit 5 PRs
Dang! That is a hacktoberfest success story.
I played with bubbletea a go library for dynamic terminal apps inspired by elm's architecture.
github.com/trashhalo/imgcat
I am loving all of the amazing terminal apps from rust and go! Is bubbletea a common one or just one you are trying.
I like that I can make great clis in python very quick, but the TUI sorry seems to be a larger investment.
Awesome!
Learned how to use setState in React to change the look of a button onClick.
The killer feature of react
Love the banner image!
I used a React hook for the first time today and wow, so much easier to manage state with
useState
.I remember the first time I used react I felt about half done with the feature and was like, wait a minute everything just works! Where did the other half of the code go?
That's a great way to describe the feeling.
I'm sure I am overcoming some elements but geez it's fun and helpful once you get past the learning curve.
I ejected from Expo and guess what i am enjoying the new environment. I thought is was gonna be hell but everything is going well.
I also learned how to convert Laravel apps into desktop apps for both Windows and Mac OS platforms.
I am grateful :)
Nice!
I learned how to convert HTML sites to WordPress and I enjoyed it 🤪🎉
Nice!
Interesting shift, what would be an application of moving an existing static site to php?
not any issues :)
Optimizing my dotfiles. Becos git bash on win are slow. Removing file here, file there. Reducing some sourcing here, sourcing there. I just realize that I need another solution to manage my dotfiles.
PING me next week please so I can write my progress again about my dotfiles.
I try to learn something new every day. It's been an interesting week in learning. First, I learned that sapper, a router/server side rendering framework for svelte that I've been having problems with is probably going away thanks to future svelte developments. This removed my interest in continuing fighting with sapper, but said future developments aren't publicly available, so for now, I'm placing svelte on hold.
I also learned that I'm never going to be free of my boss' very old Mac. We're talking something so old it doesn't even have USB ports. The most recent web browser that runs on his computer is Netscape Communicator 4.08 or so, which is why I had previously been fighting with it. Mind you, he has modern hardware, he's just emotionally attached to his museum pieces. No, this isn't the only one. One of these days, that Mac is going to die and take all his accounting with it. Getting back to the hardware, it's also lacking an ethernet interface, which is why it came up today.
The dialup ISP that said boss is using is going away. He wanted to know if we could set up something for him to dial into our system rather than switching to another ISP. I told him that it wouldn't be hard if we got a POTS phone line and modem in the server room. He wants to do it on the existing lines, which all come in on a SIP trunk.
So far, I've found lots of people with T.38 software modems that work over SIP, but all of one T.105 software modem that works over SIP, it's a commercial product, and I think we're too small a customer to consider this a cost effective solution. I always think that when they don't mention a price on the website, just "enter an email address and we'll contact you." Oh, and I've found a lot of people saying this is a very bad idea, and I think they're right. Still, I like my job, so I'll see if it's possible.
On the other hand, I'm having fun getting up to speed with Typescript, Vue 3 and the composition API since I'm not looking at svelte for the time being. Oh, and I'm learning that learning three different things that affect each other all at the same time may not have been the best idea. Oh well, I'm still having fun.
I gave WASM (with Rust) a try after postponing it for a while.
Following a twitter clone tutorial and building it alongside - learned about CSS variables.
Learning
Next JS
without knowingReact JS
😂Made a todo list in react WITHOUT any tutorials :D
I learned that Firefox sends data to Google by default. dev.to/uyouthe/firefox-is-sending-...