One realization is that the majority of usage of excalidraw is for work-related use cases. Unfortunately, open source is not the ideal setup to address them so we created company and just shipped our first product!
I’m so excited to announce that 💯% of the enormous Facebook JavaScript codebase is now using prettier! It’s pretty crazy that it only took a year and two months since the first prettier commit!
There's lot of excitement around faster pretty printers using Rust. The main issue is that none of them match the long tail of formatting logic of prettier.
I'm putting up a $10k bounty for any project written in Rust that passes > 95% of the prettier JavaScript tests.
It took me years to understand callbacks, promises and async/await. I wish that I could have watched this 3 hours (split into few minutes bite-sized videos) training instead. Going to be my go-to suggestion going forward for anyone that asks me for help
The browsers now have all the APIs to do fast video editing, but there's seldom any documentation for it. I spent the last 3 weeks getting re-encoding of a mp4 file to work and documented the hell out of it. Hopefully you can build cool stuff on-top of it
(Ive never been able to say this yet)
🙋Well Actually!🙋
All of Office 365 is (almost finished) being completely rewritten in this little scripting language called
#JavaScript
.
And Skype
And Microsoft Teams
And
@Code
And all of
@MSEdgeDev
Debug Protocol (instead of C++)
nbd
We just open sourced Skip, a general-purpose programming language that tracks side effects to provide caching with reactive invalidation, ergonomic and safe parallelism, and efficient garbage collection
🙀 Basic
@fbjest
UI implemented in Ink 2. All of this is built with React components. Right in the terminal.
Reminder: Ink is a tool to build terminal UIs with React. See .
I'm tired of seeing CS degrees being heavily criticized when my experience at EPITA was nothing short of awesome and life changing so I wrote a post about it :)
Crank looks like what we’ve been trying to achieve with React since the beginning: using the full power of JavaScript to build UIs. Excited to see how it’ll work out in practice!
This video is packed with information on how Facebook uses of CSS-in-JS, code splitting, GraphQL ability to require code... I highly recommend watching if you're interested in the space.
I have a bunch of ideas on how to make for a great 21th century video editor. I'll use this thread to showcase progress. You can check it on github here:
As a direct result of the bounty,
@fabiospampinato
has been rewriting the prettier CLI to be orders of magnitude faster. Please try it out and check this awesome performance deep dive:
I’m so useless when I don’t sleep enough. I also sleep ~9 hours every night and have always been. I can’t wait to see the culture of trying to minimize sleep to fade away.
I attribute a significant share of my best ideas, sustained motivation, and life satisfaction with getting all the sleep the body and brain asks for whenever possible (8.5-9.5 hours per night most nights). Cheating sleep is the dumbest game. You will lose.
Super excited about Ionic React! I’ve always dreamed of a “ruby on rails” equivalent for React where all the environment is setup to be productive right away.
There's lot of excitement around faster pretty printers using Rust. The main issue is that none of them match the long tail of formatting logic of prettier.
I'm putting up a $10k bounty for any project written in Rust that passes > 95% of the prettier JavaScript tests.
Run Prettier over entire git history
git filter-branch --tree-filter 'prettier --single-quote --write "**/**.js" || echo “formatting error“' -- --all
“Reformatting your code base using prettier or eslint without destroying git history” by Marcus Motill
So excited that we finally open sourced Recoil. We've been using it on my team at Facebook for more than a year and it has solved a lot of the problems we had with various other strategies. The API is also super simple: atom and selector, that's it!
Super happy to see some concrete numbers about CSS-in-JS performance. This is much better than conjecture around the potential performance implications.
I haven't been that excited in a while. I think we found a really good algorithm to move an arrow that is attached to a shape, without restricting it to a specific control point.
Algo:
Prototype:
Since removed the squiggly boxes and arrow, I'm having fun rebuilding one with codesandbox, rough and React hooks. Making a lot of progress in a few hours!
For , we use a font called Virgil that was created 18 years ago. Unfortunately it didn't support non latin characters. I contacted the author, Ellinor Rapp, and much to my surprise, she was happy to add a total of 1038 glyphs!
I'm finally done recreating the entire map of Pokemon Red/Blue that includes all the buildings, caves... I wrote a blog post that goes into the details of how I used a lot of algorithms to generate it including shortest path. Hope you like it!
Given the current work from home situation,
@edwinlin1987
,
@floydophone
and
@dluzar
have teamed up over the past few days to bring live collaboration to . Please give it a try and let us know if it helps!
Just discovered
@vestjs
and the concept is so 🤯. You can write your form validation logic like you would in a test suite and all your form inputs will behave the right way. Definitely going to use it going forward!
Excalidraw blog infrastructure is so nice. You can just add a link to the excalidraw url of the illustration and there's a build step that downloads the file, turn it into a svg and embeds the svg directly in the post.
The state of technology in 2020 is pretty mind blowing. It only took 3 days to go from nothing to a working prototype of a hand-drawn sketch app in collaboration with people living in the US, France, Italy, Brazil and Russia.
Probably my proudest contribution to gaming is showing a quest log at the top right of the screen. I built an addon in WoW to do that, Blizzard added it as part of the base game and it became standard in game UIs after that.
The Firefox devtools profiler is extremely impressive. You can look at C++ stack traces and share links to profiles! Thanks
@brian_d_vaughn
for showing me.
J’ai appris à coder grâce au Site du Zéro (RIP) car je ne savais pas parler anglais. Si vous voulez aider la prochaine génération d’adolescents français à coder, il y a une opportunité en or: aider à traduire la docs de React !
I just wrote a new blog post: LLM As A Function. What if you could implement functions that work the same as any other function in your codebase but instead of using code you tell it what should happen using text.
Super excited about this, when I wrote the original "CSS in JS" presentation, I had no idea that it would actually turn into changing the way we write CSS within Meta, and be open sourced for everyone to use it too!
Benchmarking is notoriously hard, I’m so excited that we share our learnings on how to build a stable way to find performance regression of our mobile apps.
We are thrilled to announce that we have exceeded the 95% compatibility required by the challenge and we are continuing to improve this score! We will be submitting our solution in the coming days. Stay tuned!