Today I Learned ๐
This page contains all #TILs, that I tweeted
#TIL WhatsApp Web has a cool blurring option. might be my new go-to tool for pasting and quickly blurring images. https://t.co/yEfBitYpEm
#TIL Don't use beta/insider of everything you come around ๐ฅน https://t.co/NgicZy27zY
RT @adadithya: TIL: The Lindy Effect. 'The future life expectancy of some non-perishable things, like a technology or an idea, is proportiโฆ
RT @stefanjudis: TIL โ you can skip @Netlify builds via commit message. ๐ https://t.co/08MJCLcPRV https://t.co/S3hMdcRZSX
RT @dejavucoder: TIL nerd snipe h/t @Gravito841 https://t.co/DYoL6aRbYa
RT @jarredsumner: TIL. Means that in Docker, "bun install --backend=symlink" may be faster than "bun install" https://t.co/Zsw5sDmHH2
RT @sebastienlorber: ๐ TIL about this weird Error Boundary trick from @adevnadia setState(() => throw e) โก๏ธ ensure Error boundary catch uโฆ
RT @stefanjudis: ๐ก TIL โ multiple Git commands support a `--dry-run` option. ๐ https://t.co/vG3fYjupNa
RT @_SeanGroff: TIL @reactjs was originally going to be called FBolt. Look at the center of the React logo. Itโs a freaking bolt ๐คฏ https://โฆ
RT @apurplestrand: TIL this is what the macOS text and markdown file icons look like up close ๐ฅน https://t.co/1xI3qRZnHh
#TIL JSON.stringify can return undefined too and TS doesn't understand this. ๐คจ https://t.co/xGmc22xDUN
RT @arjunmahishi: #TIL a single boolean value is a valid JSON https://t.co/UynjYueydX
RT @arjunmahishi: #TIL YAML format is written using both .yaml and .yml extensions because, older windows versions restricted the file extโฆ
RT @steveruizok: TIL be careful with `Array.every` and empty arrays. https://t.co/CSA0gl8zsG
RT @palakzat: TIL: How Nero Burning ROM, the CD/DVD writing software, got its name & logo. ๐ https://t.co/sTg1KfUVch
RT @kamranahmedse: TIL you can use app.set('json spaces', 2) to make express send the prettified JSON response. https://t.co/pXX3pETUvj
#TIL Hash-prefixed Class Members are private in JS https://t.co/ppbCXRr5aJ
RT @vivekraju93: TIL the origin story of Gurgaon and DLF https://t.co/O8Zx8KUmaK
RT @_egoistlily: TIL: speed up your `ts-node` command with a simple `--swc` flag https://t.co/SPpbFWC87p https://t.co/Mqhreg0Pqq
RT @sebastienlorber: ๐ฑ TIL using setState while rendering is OK The new beta site documents this as a better alternative to useEffect, notโฆ
RT @lukeholder: TIL MacOS has a built-in speed test tool. https://t.co/xIbiSDecro
@zhr_jafri We used to say that as joke, TIL, they real own rights to that zehreeli kheer.
#TIL (the hard way) encodeURI doesn't encode # and 10 other chars which encodeURIComponent does. So, if you make a CSV download button with content encoded using encodeURI, say adios to content after # ๐ Ref: https://t.co/hd06iQlLr8
#TIL https://t.co/fX5E4i52e2 src: @stefanjudis's Web Weekly https://t.co/0ILgFuq21L
'HTML defines a ping attribute on anchor elements (links)' https://t.co/9dghY47NfV via @stefanjudis #TIL
RT @dan_abramov: wow TIL you can literally put Node in your package.json (h/t @rickhanlonii) https://t.co/VY3ZXsQtd2
RT @sanketsahu: TIL: <datalist> tag. It is used to provide an "autocomplete" feature for <input> elements. Users will see a drop-down listโฆ
Thanks @github Wondering if there is a @code extension that does the same. #TIL https://t.co/HVPRKDYNNE
RT @seunoyebode: TIL if you add ".json" to any subreddit url you get all the data in JSON format. That's pretty cool. h/t to @aschmelyunโฆ
#TIL .@github renders TopoJSON Maps in preview instead of showing the not-so-cool JSON๐ฒ This is particularly different (hence more surprising) from other previews (md, pdf, images) as the format here can't be used to decide whether to render Editor or Preview. https://t.co/WeAgf1NC59
@K_Dhakan Yeah, kinda similar. #TIL Braess' paradox is the observation that adding one or more roads to a road network can slow down overall traffic flow through it.
#TIL How to convert JSON to CSV with jq? Why? => You can save plenty of space and can provide data for analysis to someone using Excel. https://t.co/tJKVgTjdBx #commandline
RT @kentcdodds: TIL: cat one.mp3 two.mp3 > combined.mp3 This actually works. ๐คฏ
#TIL .@brave provides a private Windows mode with Tor Connection. This essentially removes the need for installing Tor Browser separately. https://t.co/0MrWXNaqml
#TIL Most applications log their error to stderr and piping only works for stdout. So doing this ๐๐ป will not always give desirable output. `docker logs ctr | grep "err"` Instead, you need to look in stderr using ๐๐ป `docker logs ctr 2>&1 | grep "err"`
RT @electron0zero: TIL: SQLite uses @PostgreSQL as reference to implement SQL standard. When dealing with not so well defined parts of SQLโฆ
RT @swyx: TIL you can center things in CSS grid with a single property now https://t.co/aGO3QqA8rP https://t.co/PY7OjyAakN
#TIL The 2D world map we that reside on increases the size of landmass near North pole to fit in map. Just like softwares, this is an inefficient abstraction, where we lost major features. Explainer: https://t.co/XemGOLd0sF https://t.co/gdZmsQG4tB
#TIL @vscode Tip: If you want to wrap comment text with a standard line length, there is an awesome extension out there. Rewrap: https://t.co/Pl9NzdH3p3 PS: There is no native VS Code of doing this as of now, if you find one please share.
#TIL The fastest way to check if your internet is working is `ping 1.1` โก๏ธ Also, that IPv4 can be expressed 4 more formats other than the classic one (a.b.c.d). Source: https://t.co/gNHalIz83g
#TIL You don't learn the importance of "Content-Type": "application/json" unless you miss it in some requests while communicating between microservices. And then debug for hours why are you getting empty body, ๐
#TIL In C++ 11 and above, - You can pass more than 2 args in functions like min and max. โก๏ธ - make_pair can replace with {} ๐ฆ I might be a little late to know this, but this sure saves unnecessary efforts. https://t.co/ADRQTsrJNo
Finally, I wrote some stuff. I have plenty of drafts surrounded around #TIL ๐. I'll publish them soon on a blog. ๐ Here's a brief intro to a 2-year-old project Labper ๐จ๐ปโ๐ป. Thanks @GitHubEducation for the push to write one. ๐ https://t.co/FJetqU2711
#TIL C++ has bitset which is an optimized array of booleans. And bitset has all kinds of useful function implementation like flip, to_ulong, to_string. Ref: https://t.co/ZT9nLYcTQG
#TIL Probably I am too late to realize ๐, PostgreSQL's ORBER BY is case sensitive for text fields since it compares by ASCII, and since sorting should be done on computed fields like lower(name).
#TIL Lodash started out as a fork of Underscore while I was searching for "Underscore vs Lodash" ๐คฆ๐ปโโ๏ธ
RT @benawad97: TIL the browser has a built-in color picker <input type="color" />
#TIL JSON.parse is ~1.7x faster that JSON Object and can significantly improve web app's performance. Reference: https://t.co/LCmwA26AcX #PerfMatters https://t.co/HV7l765aJy
#TIL Use textContent instead of innerHTML when you want the text as it is, this will save step to escapeHTML. If your text may contain <, > or &, being cautious is least you can do. Learned this while was working on a private chrome extension project. https://t.co/cY8i7J9FVg
#TIL wget supports HTTP Redirections by default, while with curl you need to pass -L flag. Plus wget downloads the file with the same name as on server while curl lets you define the file name. I learned this while was creating one of my bash snippets: https://t.co/xFGTPdTvYz