DEV Community

loading...
Cover image for August 6th, 2020: What did you learn this week?

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

nickytonline profile image Nick Taylor (he/him) ・1 min read

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

Discussion (55)

pic
Editor guide
Collapse
daniel13rady profile image
Daniel Brady • Edited

I learned how to interact with spreadsheets programatically via the Google Sheets API, and now my GatsbyJS site has a simple, functional database in the cloud ☁️.

Dunno what I’ll use it for yet, but hey, I’ve got a database πŸ˜„

Collapse
stereoplegic profile image
Mike Bybee • Edited

Here's an idea I'm working on myself: Let a user connect theirs and use it to keep your "real" cloud database (e.g. Firebase Cloud Firestore, DynamoDB, FaunaDB) within free tier for as long as possible (or just more affordable in general) by offloading their old sales data (e.g. older than this month, per transaction, whatever) to their own Google Drive account.

Collapse
rafi993 profile image
Rafi

I once built a simple jobs board with google sheet as the database and google forms as a way to collect data.

Thread Thread
stereoplegic profile image
Mike Bybee • Edited

That's actually how I set up comments on my now-ancient personal site (static and built a long time ago with Foundation v5 and an old version of Assemble still based on grunt). I added an "approved" column to the Sheet not available in the form (a Handlebars partial which appended the page URL and submitted to Google Forms via AJAX), so I could moderate the comments in Google Sheets after getting an email of a new Google Forms submission.

It's so old that I don't think I ever got around to updating it after Google changed their CORS policy. Bloop.

Collapse
nickytonline profile image
Collapse
nickytonline profile image
Collapse
txai profile image
Txai

Not something technical, but I learned, after spending almost a week blocked in a problem, that talking to someone more senior in the project could save a lot of time! And I also learned to documenting how things work, so future me, and people who find similar problems won't be stuck as well

Collapse
nickytonline profile image
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
Collapse
atomxplus profile image
AtOmXpLuS

πŸ’˜πŸ‘»πŸŒ·πŸ™Š

Collapse
alvarosaburido profile image
Alvaro Saburido

I actually learn how to use MutationObserver and IntersectionObserver, quite useful.

Collapse
nickytonline profile image
Collapse
33nano profile image
πŸ‡΅β€‹β€‹β€‹β€‹β€‹πŸ‡°β€‹β€‹β€‹β€‹β€‹πŸ‡³β€‹β€‹β€‹β€‹β€‹

Learned some basic cryptography. Generating SSH Keys and GPG Keys.

Learned something annoying about flutter web.
You have to repeat your code 3 times and adjust the parameters to make your site truly dynamic (support mobile, tablet view and desktop view).

All mobile apps have a back buttons (<), if not, it's a menu

There aren't any comprehensive Flutter Game Development courses

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

Sounds like your learnings/frustations with Flutter would make for a great post Prince! πŸ˜‰

Stephen Colbert saying Awesome Sauce

Collapse
33nano profile image
πŸ‡΅β€‹β€‹β€‹β€‹β€‹πŸ‡°β€‹β€‹β€‹β€‹β€‹πŸ‡³β€‹β€‹β€‹β€‹β€‹

Definitely going to write about that, thanks. I am mostly learning through code labs and cloning github repos to my machine.

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
Collapse
waylonwalker profile image
Waylon Walker

I learned how to run integration testing for my personal website inside of github actions with python and testproject.io.

Collapse
nickytonline profile image
Collapse
waylonwalker profile image
Waylon Walker

@nickytonline crushing it with killer gifs

Thread Thread
nickytonline profile image
Nick Taylor (he/him) Author

It was one of the job requirements when I was considering working at DEV. "Must be able to crush it with killer gifs" πŸ˜‚

Actress in a film saying crushed it

Collapse
binismail profile image
KHALID ISMAIL

learn how git works and made my first pull request

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

Congrats on your first PR!

1st place in Mariokart

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
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
Collapse
sdiamante13 profile image
Steven Diamante

I learned how to send myself weekly emails for my fantasy football league using the Send Grid Java API, JSoup, and cron jobs. Code available here: github.com/SDiamante13/fantasy-foo...

Collapse
nickytonline profile image
Collapse
mkovacek profile image
Matija Kovaček

Don't deploy on Friday πŸ˜’πŸ˜‚

Collapse
stereoplegic profile image
Mike Bybee

Oof. Been there.

Collapse
abdurrkhalid333 profile image
Abdur Rehman Khalid

There are a couple of things I learned this week, the first one is I learned how to lazy load modules in the angular. Second I learned how to lazy load images in the Angular Components. Third I learned how to add authentication to routes in Angular so that we can restrict access to specific pages for specific users.

Collapse
nickytonline profile image
Collapse
ashwani1218 profile image
Ashwani Pandey

I learned about dev-ops on AWS. How to do rolling and Blue-Green deployment.

Collapse
nickytonline profile image
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
Collapse
bengreenberg profile image
Ben Greenberg

This week was an adventure in figuring out how to spin separate non-blocking processes in a Rails app.

During our semi-regular company time to build fun stuff, I wanted to build a Facebook chatbot that generated banners with random color palettes and the text provided. Sounded easy enough, but the utility I wanted to build with, Ruby2D, opens up a new console window to make the image, which was crashing Rails every time.

Eventually, figured out how to integrate with Sidekiq to make it a separate asynchronous job, and that did the trick! Had never really done that before, so it was a fun learning adventure!

github.com/nexmo-community/faceboo...

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

That's awesome! πŸ”₯

Yes, that's awesome!

Collapse
pratham82 profile image
Prathamesh Mali

I learned about React router and completed porject from Tyler McGinnis's react course.
live site for project -> github-war-app.netlify.app/

Collapse
nickytonline profile image
Collapse
sgolovine profile image
Sunny Golovine

Generics in Typescript!

Definitely shows me how I could use typescript more efficiently in the future.

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

const person: Sunny<Nice!> = new Person() πŸ˜‰

Jean-Luc Picard from Star Trek TNG saying Well done!

Collapse
meatboy profile image
Meat Boy

I learned how to be more energetic and emphatic while talking with other :p and from technical skills I learned a little bit more about react native :)

Collapse
nickytonline profile image
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
Collapse
peter279k profile image
Collapse
nickytonline profile image
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
Collapse
oluwakeyejohn profile image
Oluwakeye John

I learnt TypeScript. And its really great.

Collapse
nickytonline profile image
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