143 karma · joined Feb 10, 2019 (7y ago) · 135 submissions
comment 6y ago · link · parent
After 2 days of testing, I chose this stack:
Tachyons as primary CSS-in-JS and media-queries method in my React components; why: it's slick, easy and complete and brings you quite far
configuration is super; eg, creating your own color or default font is just putting them in your App.css and they override Tachyons; creating other breakpoints is possible (just change and recompile, this takes 1sec and a tachyons-cli is there, no need to touch webpack or eject CRA)
however, configuring Tachyons is not required at all, I tested it in and out and it's all perfect at the moment, it's really turn-key and absolutely the right approach to our problem; Tachyons does just one thing and it does is right
I preferred it very much over others like Tailwind because Tailwind has cumbersome and long CSS naming; Tailwind's philosophy and strategy is inconsistent; on the one hand, it wants to be atomic CSS, on the other hand, it bloats and pollutes your components almost like real CSS, wth? either I do minimal atomic CSS (it's called 'atomic'!) like Tachyons or I put real CSS in my component; Tailwind doesn't know what it wants to be while Tachyons has a clear strategy which is perfectly executed => an ultra atomic mapping to CSS, Tailwinds bobs up and down with some short names and then some long ones...; also setting Tailwind up or configuring is unnecessary complex and bloated; doc is comprehensive and complete but also because of its own complications and disunity; atomic css doesn't need to be science; compared to Tailwind, Tachyons is a dream
I also checked styled-system but found the DX not close to Tachyons and couldn't see any benefit over Tachyons; it's too cumbersome but in a different way than Tailwind
Tachyons is just 13kb gzipped while fully featured (Tailwind is 36kb)
while small Tachyons has the biggest ecosystem (related libs, cheatsheets, blog posts), at the end of the day, you don't need more, again it's just a mapper and more advanced stuff should be done with eg Emotion anyway[1]
[1] https://www.reddit.com/r/reactjs/comments/a6qhbr/checked_21_...
comment 6y ago · link · parent
If there's someone who has an educated guess of the performance difference between...
M1's TPU vs 3090's TPU re training
...please let us know.
comment 6y ago · link · parent
Ok, here you got me and I'm about to try it another time. But then again I remember the slow loading times, the weaker ecosystem (is the lsp implementation as good and fast as coc-vim?) but whatever, maybe I should give it a try with evil mode. But there are so many other cool things waiting to be learned...
comment 6y ago · link · parent
I think this is more about MS' commitment to ARM than a software problem.
comment 6y ago · link · parent
After this, I thought that everybody should learn C/C++ at school, it's like Latin to other languages (I learned Turbo Pascal at school and didn't like how it handled pointers and its overall elaborative style).
comment 6y ago · link · parent
comment 6y ago · link · parent
Exactly my gut feeling and the press is not questioning anything just rephrasing press releases from Qualcomm, writing about so important details like why the name 888 and so on.
Qualcomm and Intel should come out asap and tell what they plan to do in the next 12-18 months, e.g. embedding RAM or whatever, to match M1' performance. But they rather work on original naming schemes. Good that I sold my Qualcomm stocks years ago.
comment 6y ago · link · parent
This is what most are interested in and Qualcomm should asap disclose the performance and/or give an outlook on what is coming, always referencing M1's performance as the current benchmark.
comment 6y ago · link · parent
Besides, one should load one or max two fonts, not more and I couldn't care less if that 150kb is cached or not.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
Also I think that the paradigm of modal editing is key to editing, not because I am used it, it just makes sense to have the myriad of functions of an editor easily reachable without too many modifiers. Coding isn't about just writing code but a lot about thinking, editing, staring at code, thinking, editing, jumping, f, /, yy's, dd's, ct, etc. I use modifiers heavily, way more than the typical ctrl/alt, but again to have an extra dedicated mode is crucial, so I can't imagine how any non-modal editor, eg emacs, can excel re UX like vim or nvim do. There must be reason that even the emacs community itself promotes spacemacs, which follows that paradigm, so much. But for some spacemacs is a layer too much adding unnecessary complexity. Besides, vim is also so popular because it's fast, load time, editing, anything.
Whatever, put me into any text field without modal binds and I am pretty much handicapped but maybe I might just missed emacs' hidden qualities. Trying emacs feels going one step back (when coming from modal editing).
Edit: Don't get me wrong, this shouldn't qualify as offense but every time I read some random emacs praise on the net, I never know if I should give emacs another try or if it's just a vocal minority who never experienced proper modal editing and I just should move on.
comment 6y ago · link · parent
FWIW, while automatic tiling with i3 is super impressive, it's overrated. In the beginning you believe that this really boosts your productivity but you get quickly annoyed. If tmux is set-up right, so not just this seamless navigation but also creating and resizing of panes in a similar fashion with intuitive binds you wouldn't want any automatic tiling anymore. With my binds I am able to open and resize dozen of panes faster than I ever could with i3. And as a bonus tmux' config is just simple some remapping but never a rabbit hole to get basic things working.
comment 6y ago · link · parent
Hint: you have to redefine more of tmux' binds, the defaults are just not usable.
Hint2: most creation and resizing of panes and windows binds should be mapped without the tmux prefix, you can do this with "bind -n" in the .tmux.conf.
Hint3: read the tmux manual, it's really good and on one (long) page.
comment 6y ago · link · parent
This was posted here few times but it's still an interesting read in this context.
comment 6y ago · link · parent