My Elixir/Phoenix project Magnetissimo. When KickassTorrents died, I thought I should just build my own crawler and be done with it.
Elixir's OTP was a fantastic fit, I scrape stuff really quickly with minimal orchestration code. There are bugs here and there, and I haven't had time to circle back and patch a lot of the issues I noticed, but it "works". I'm proud of it because it broke the 200 star barrier on my Github profile. With Elixir to boot! I love this language. https://github.com/sergiotapia/magnetissimo
I'm most proud of React Flip Move (https://github.com/joshwcomeau/react-flip-move), an animation library that does exactly one thing: animate transitions when DOM nodes change positions (eg. list re-ordering).
I wind up using it in almost every project I work on, since just about every app has a list of some kind, and many lists need to support being sorted, having items added, etc. It's a simple tool, but the internal logic is surprisingly complex. The DOM is a tricky beast!
Is that a purely JS thing ? Surely such things would be best done by CSS?
I am speaking as a person with 0 experience apping production level web apps.
So, the issue is that CSS transitions only handle CSS attribute changes. For example, if I apply a CSS attribute like `transform: translateY(100px);`, I can easily animate that using CSS.
When an item's DOM position changes, there's no CSS change to animate. You can throw a `transition: 1s` on it, and nothing'll happen. This is the distinction between moving an item around on-screen, and removing/appending a DOM node from one position in the tree to another. For Flip Move: I actually do use CSS transitions to accomplish it, but through trickery known as the FLIP technique. You can read all the nitty-gritty details, if it interests you, in a blog post I wrote: https://medium.com/developers-writing/animating-the-unanimat...
I was annoyed last week that ii (http://tools.suckless.org/ii/) didn't support
SSL, so i reimplemented ii inn Golang and added a few extra needed features.
https://github.com/Foxboron/iii It's essentially just a file based IRC client. Using FIFO files as input, and
spitting out the loggs into an out file. I really enjoy the simplicity of the
idea and how easy it is to script. Been using it to learn goroutines and some
more go, the code isn't the best but it's fun. Planning to create something like "wii" where you can use the same structure
but with HTTP requests. POST to send data into the FIFO file, and GET to read
the out file.
Comments (868) 410 threads
Earlier commentsElixir's OTP was a fantastic fit, I scrape stuff really quickly with minimal orchestration code. There are bugs here and there, and I haven't had time to circle back and patch a lot of the issues I noticed, but it "works".
I'm proud of it because it broke the 200 star barrier on my Github profile. With Elixir to boot! I love this language.
https://github.com/sergiotapia/magnetissimo
I run a media website and people are always asking me, what will X or Y look like? How do I know what size I want? I send them there.
I wind up using it in almost every project I work on, since just about every app has a list of some kind, and many lists need to support being sorted, having items added, etc.
It's a simple tool, but the internal logic is surprisingly complex. The DOM is a tricky beast!
When an item's DOM position changes, there's no CSS change to animate. You can throw a `transition: 1s` on it, and nothing'll happen. This is the distinction between moving an item around on-screen, and removing/appending a DOM node from one position in the tree to another.
For Flip Move: I actually do use CSS transitions to accomplish it, but through trickery known as the FLIP technique. You can read all the nitty-gritty details, if it interests you, in a blog post I wrote: https://medium.com/developers-writing/animating-the-unanimat...
https://github.com/Foxboron/iii
It's essentially just a file based IRC client. Using FIFO files as input, and spitting out the loggs into an out file. I really enjoy the simplicity of the idea and how easy it is to script. Been using it to learn goroutines and some more go, the code isn't the best but it's fun.
Planning to create something like "wii" where you can use the same structure but with HTTP requests. POST to send data into the FIFO file, and GET to read the out file.
All comments shown.
Couldn't load more comments. Check your connection and try again.