JS Temporal proposal just went to Stage 3!
This means you can start using polyfilled Temporal objects to represent time and date in your code.
No more 0-indexed months. No more forced timezones. Separate Duration object. And much more.
https://github.com/tc39/proposal-temporal
#javascript https://t.co/k5p772QKKp
Amazing use of technology to enforce social distancing on airports
Hope this is something that will make (now chaotic and unoptimal) boarding even better in the future!
It could enable for example "Steffen Modified" boarding strategy from https://youtu.be/oAHbLRjF0vo?t=423
Credit @nicbcr https://t.co/0Ut64QuGp1
Nice, dart+flutter have sound null checking nowadays:
https://dart.dev/null-safety
I'm so glad modern languages are slowly steering away from the billion dollar mistake
"If you invite people, it's a meeting. If you bring cake, it's a party" đđ
Be the guy that brings the cake and makes it a party!
(sparkling/chocolate/pastry works toohttps://twitter.com/marioburosu/status/1366603216893472772IW
http://commits.lol â a site that lists funny and harsh commit messages from Github
A good reminder that all code you push to a public Github repo is really public đ
A #typesctipt library you should know about:
https://github.com/raimohanska/harmaja
Harmaja is like React, but instead of vdom it makes surgical edits based on observables in jsx. It's much less magic than you'd think.
Useless #javascript fact #1:
0.1 + 0.1 === 0.2 // true
0.3 === 0.3 // true
0.1 + 0.2 === 0.3 // false
This is because Javascript uses 64-bit floating point numbers which cannot represent all numbers correctly. If you're interested why, check out: https://blog.reverberate.org/2014/09/what-every-computer-programmer-should.html
Netflix designing their service for faults in distributed systems is on another level. For example Hystrix allocates a certain amount of resources to any dependency so pending requests (e.g. on slow network conditions) won't eventually hog all resources
https://github.com/Netflix/Hystrix/wiki
Just stumbled into a binary heap array implementation: A binary tree which you traverse forward and backward with a simple arithmetic on the index đ€Żhttps://buff.ly/3hxImBf8 https://t.co/eKJHyeEnRa
Adding to https://tynan.com/shapes by @bhsharp:
Project is usually defined as a rectangle, but ends up being an infinite messy blob with different routes to pick. This is why having cross-functional seniority is super important in a project â you need those who fit outside the box https://t.co/M9Tp29jbCZ
I always vote for giving freebies for promoting your service. Now if you ever need a landing page to start with, check https://uisual.com/
The problem with React nowadays is that it used to be just a good frontend rendering library with JSX. Nowadays you're signing up for a framework with its own plugin ecosystem, hooks, fibers, suspense, and other obscure features like server components
https://reactjs.org/blog/2020/12/21/data-fetching-with-react-server-components.html
Horcruxing your password: Use an additional part to your managed password that you keep in your head for an extra factor if your password manager gets exposed.
Idea by @phanikaran https://kaizoku.dev/double-blind-passwords-aka-horcruxing https://t.co/KiYQGo1Mtn
Wait, what? Python 3's round function might not work as you'd expect â it uses Banker's rounding, which tries to minimise rounding errors by rounding halves to nearest even integer
https://wiki.c2.com/?BankersRounding https://t.co/TIeCjyZqkg
My favourite magic number: 86400000
Can you guess what it is?
Here's a big list of other common magic numbers:
https://rachelbythebay.com/w/2020/11/26/magic/
#development #coding #webdev #javascript
"How to speak" by Patrick Winston gives excellent pointers on giving lectures, persuading, getting famous, job talks and why to not use Powerpoint.
https://youtu.be/Unzc731iCUY
Modern app development is more than frontend & backend. Code exists somewhere, maintenance happens, logs accumulate, crashes happen. The twelve-factor app from @_adamwiggins_ (Heroku co-founder) drives good thinking on the subject:
https://12factor.net/
#architecture #webdev
A functional #typescript library you should know about: Typera by @akhern
It adds type-safe routes on top of JS-era web server libraries like Express and Koa
https://github.com/akheron/typera https://t.co/QyvQWPkyYS
A LEADING INDICATOR FOR PRODUCT/MARKET FIT: âhow would you feel if you could no longer use the product?â and measure the percent who answer âvery disappointed.â by @rahulvohra https://buff.ly/2DCIQ7V
Unpopular opinion of the day: "Highly polarized opinions about languages and frameworks are characteristic of people who lack real-world programming experience and are more interested in building an identity than creating computer programs." #webdev https://buff.ly/2VZ1zjN
Going soon on paternity leave, and made a #tool to communicate to my team by showing the probability for each day:
https://jehna.github.io/labour-calculator/
#pregnancy #dev https://t.co/V9Wtho1UXD
âapollo-link-firebase provides you a simple way to query Firebase in graphQL with Apollo-client without building a graphQL serverâ https://buff.ly/2ISasUK
Nice, @mattpodwysocki (author of #RxJs) coming to #reaktorbreakpoint this year. Probably a good place to get some feedback on my own project đ https://github.com/jehna/pewpewpewc
"How to Kill the Dragon with 9 Programming Languages" by @arcaderage https://buff.ly/2DkVT9A https://t.co/xuJXwDUjuV
I made a ..thing. You can use it to compose #javascript streams without an Observable object â just with a plain compose function. https://github.com/jehna/pewpewpew
Google Chrome to Feature Built-In Image Lazy Loading. @Medium can you now please start showing me images without #JavaScript and cookies being enabled? http://bit.ly/2Ew1sUD
"Do algorithms reveal sexual orientation or just expose our stereotypes?" â a take on the study "deep neural networks can detect sexual orientation from faces" by @blaiseaguera http://bit.ly/2neX4RZ #ai #gaydar https://t.co/pOKmqPrY9w
"How to solve 90% of NLP problems: a step-by-step guide" by @EmmanuelAmeisen http://bit.ly/2nbXB7d
For anyone wanting to do a NES game at #globalgamejam 2018, here's a bootstrap project I have been working on: https://github.com/jehna/nes-bootstrap
#nes #8bit #fgj #ggj #fgjx #ggj18 #gamedev