DEV Community

Cover image for August 6th, 2020: What did you learn this week?
Nick Taylor
Nick Taylor Subscriber

Posted on

August 6th, 2020: What did you learn this week?

Wow! First week of the August!

It's that time of the week again for the first time this year. So wonderful devs, what did you learn this week? It could be programming tips, career advice etc.

Processing data via an animated gif

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.

And remember, if something you learnt was a big win for you, then you know where to drop it as well.👇👇🏻👇🏼👇🏽👇🏾👇🏿

Actress in a film saying crushed it

Photo by JESHOOTS.COM on Unsplash

Latest comments (55)

Collapse
 
oluwakeyejohn profile image
Oluwakeye John

I learnt TypeScript. And its really great.

Collapse
 
nickytonline profile image
Nick Taylor

It's True - Dwight Shrute

Collapse
 
scrabill profile image
Shannon Crabill

I've learned a fair amount about data structures, algorithms, and approaching technical problems this week.

Collapse
 
nickytonline profile image
Nick Taylor

Actor Zach Galifianakis giving a thumbs up in a convertible car

Collapse
 
g33knoob profile image
G33kNoob

Everything about cryptocurrency connection
I use bitcoinjslib and bitcoin-core for connect to rpc
I think its not much, but i do my hardwork to leaening fastify prehandler with 4-5 validation🤦🤦🤦🤦

Collapse
 
nickytonline profile image
Nick Taylor

A puppet Yeti clapping their hands saying congratulations

Collapse
 
benwtrent profile image
Benjamin Trent

I learned how XGBoost multi-class classification works.

Turns out that every n_classes tree (read estimator) is for that particular class. Neat way of keeping boosted regression tree leafs restricted to one value.

[ML] add multi:softmax|softprob XGBoost support #246

This commit adds support for XGBoost multi-class classification model transformations.

XGBoost handles multiclass classification by having n_classes * n_estimators trees. Then, every n_classes tree corresponds to their respective classes

Since Elasticsearch supports multi-valued leaves, we can transform the xgboost format by choosing the appropriate leaf value index given the tree id.

This commit also fixes a minor model transformation bug where if xgboost actually defined the feature_names instead of the default f1,...fn we would blow up.

closes github.com/elastic/eland/issues/242

Collapse
 
nickytonline profile image
Nick Taylor

TV personality saying Frickin' awesome!

Collapse
 
vonheikemen profile image
Heiker

I learned that Debian has an "alternatives" system. Is like a symlinks manager but for commands that are interchangeable in some way.

For example, I installed neovim and without doing anything I already have the commands vi and vim pointing to a neovim symlink. Nodejs also has one, it's called js, I can run a script like this js ./path-to-script.js. To see what commands have "alternatives" check the /etc/alternatives folder.

ls -l /etc/alternatives

And for more details read the manpage.

man update-alternatives
Collapse
 
nickytonline profile image
Nick Taylor

Noice!

Noice!

Collapse
 
atomxplus profile image
AtOmXpLuS

💘👻🌷🙊

Collapse
 
stereoplegic profile image
Mike Bybee

I learned that I still have a lot to learn about serverless (on the heels of Cloudflare's latest Workers announcement), reinforcing my belief that I never want to touch a server again if I can help it (funny considering my last tech talk just last year was alluding to building containerized microservices around or instead of monoliths).

Collapse
 
nickytonline profile image
Nick Taylor

A puppet Yeti clapping their hands saying congratulations

Collapse
 
cguttweb profile image
Chloe

I've learnt about some browser APIs including Speech Synthesis and the Notification API as well as a bit about web/service workers.

Collapse
 
nickytonline profile image
Nick Taylor

Nice!

A kangaroo playing an electric guitar

Collapse
 
mkovacek profile image
Matija Kovaček

Don't deploy on Friday 😢😂

Collapse
 
stereoplegic profile image
Mike Bybee

Oof. Been there.

Collapse
 
panditapan profile image
Pandita

I learned how to create YAML files and deserialize them \o/ I also made a small blog post about the deserialization part:
rebelliousunicorn.dev/how-to-deser...

:D

Collapse
 
matteobruni profile image
Matteo Bruni

This week I splitted the reusable code from tsParticles editor for create a new npm package: Object-GUI

It's a different challenge from particles, less creative but the UI/UX is everything in this case

Collapse
 
nickytonline profile image
Nick Taylor • Edited

Bobby Moynahan character from SNL saying awesome!