Small stupid things that make up my dev environment
rachelbythebay.com
rachelbythebay.com
You just get stuck in your ways when everything is set up _just right_, and the little things that Macs do that Linux didn't, and vice versa, just drove me up the wall, even though it was small and stupid.
I’m a big trackpad guy. The only one in my office. I love my gestures on macOS, and use all kinds of them to do my work.
Recently yet another computer was added to my desk by IT for a new project. This one is an HP laptop with Ubuntu.
I’m sure Ubuntu is a great thing and I’ll love it when I get used to it. But the HP’s keyboard and trackpad are terrible, and using the machine completely disrupts my usual workflow. I miss my gestures. I miss being able to define actions way out to F19. I miss knowing that a swipe will always be a swipe, and not a scroll.
We get set in our ways, especially when those ways are very productive and make sense to us. Having to switch to a different set of muscle memories is problematic.
That's why I'm still using Enlightenment DR16 as my window manager, with the same theme/config I've been slowly customizing for ~20 years. Every time I try a different windows manager (including any enlightenment >= E17) it feels like an incomplete toy, not the feature-rich tool I'm familiar with.
(sometimes in 2018 I had to switch away from e16 (got taken out from Gentoo's main package repo) and I ended up using XFCE. It's a pity that e17 never really worked, at least for me => I wonder if they'll ever publish a really stable version)
But, again, I’m a vim+tmux guy, so the only real annoyance is the lack of a real Esc key.
Joke aside, I remember when Green was the only colour my monitor could produce. And it felt great only because the other option was not using a computer at all.
I haven’t done it that way in years, but this article makes me want to try it again. I wonder if all that highlighting is actually making me less focused. I guess I’ll find out later this week.
For a reductio ad absurdum, if you had a book in which each word was in bold purple iff its Scrabble score was divisible by 5, I don't think it would be controversial that removing that channel of information would make you more productive.
FWIW, as far as the specific upthread topic goes: despite generally preferring a pretty barebones development environment, I prefer syntax highlighting.
I've been using minimalist colorscheme for more than a year now. To me it highlights only what matters: mistakes are red, code is dark and uniform, comments are faded, current line is highlighted, search matches have their own color. That's it for the most part. There are some subtleties that are also handled.
Minimal highlighting is beautiful and clean. Too much color is ugly and messy. Just become clean! Remove your wallpaper, remove those tiny ugly icons from your toolbar, find minimal colorscheme, install tiling window manager, take a bath.
I have my old Aeron which I don't really love vertical adjustment nearly as low as it can go.
My company has an ergonomics consultant who comes to each desk once a year and observes posture, foot position, etc... then recommends changes in desks and seating for each person. It’s the first place I’ve worked that does this. Someone said it was somehow tied in with our health insurance company.
Try adding a nice extra-tall laptop riser too. Typical ones tend to be 6-12” too low once the desk is no longer too high for typing.
I do like my standing desk more though even though its 3x the cost of a good keyboard tray. It's has more flexibility as it can go down to 24" and up to 50" More importantly it's useful for more than just typing.. writing, soldering, etc.
That's what I have but to be honest I think most of similar design all use jiecang frames from China.
Or I roll away from the keyboard to use pen and paper and then have to move The foot rest.
They’re not that expensive now, and the text is so much sharper. You might not notice the difference with a 4k TV on the other side of a room, but you will with a 28 inch screen a couple of feet in front of you.
If I have to go native, 1440p or QHD ultrawides would be the best.
But 4k scaled down in MacOS is great too!
Mac has always handled this perfectly from the get-go.
Isn't the solution for "small letters on high pixel density screen" scaling as mentioned by arvinism or simply increasing the font size?
When rendering a piece of text in a certain font size on both screens without specifying correct DPI (e.g., leaving the default DPI value of 90), the text on both screens will take up the same amount of pixels, but the absolute size in mm will be different (text on screen 2 will be smaller because pixels are denser there). If you, however, let your OS know the DPIs of the screens, rendering the same piece of text in the same font size on both screens should lead to the text physically taking up roughly the same area of the screen (as much same as it could be, taking into account the fact that pixels are discrete). This is true because point[1] is an absolute unit of measurement.
To give you an example, when I switched from 1366x768 15.6" laptop to 1920x1080 15.6" laptop I specified the new screen DPI in my desktop environment font appearance settings. This made all the text be roughly same size as on the old laptop, only smoother due to greater pixel density.
> Isn't the solution for "small letters on high pixel density screen" scaling as mentioned by arvinism or simply increasing the font size?
This way you must render a picture as if the screen has higher DPI, then scale it down to match the desired DPI, you still have DPI in play here, and absolute text size implications described above apply here as well. You can use scaling for antialiasing, though.
---
EDIT: I adjusted it a little to have fewer repetitions per second but lowering the delay is amazing. What a great thing to find in your HN stocking. Merry Christmas!
~/.bashrc is the wrong place for sure (I might not even be running X!)
~/.Xresources seems like it would be the right place but it's a command so that won't work...
I have really long arms overall and normal keyboards force me to both put my wrists at really weird angles and turn and twist my elbows to get my hands to fit there. Something like the Microsoft Natural was a decent-ish width, but the Kinesis advantage or the Ergodox are just amazing. It's funny to watch too - people are kinda scared to touch a Kinesis advantage "because it's split and weird", but they start touch-typing quickly and start arranging the keyboard parts as it is comfortable in small steps as well. You just nudge the keyboard part instinctively with your thumb or your pinky to make it more comfortable.
https://github.com/rcarmo/docker-templates/tree/master/deskt...
Building a portable setup is a lot easier these days with Docker, but over the years I started paring down stuff to vim+tmux (which work fine inside WSL) and sharing my dotfiles across the Mac, Linux and Windows.
The one thing that gets me every time, though, is having a working SSH keychain. I want to log in once and have ssh-agent just work, and it seems like every year I have to re-learn another way to do it (which is fine, but annoying).
But nowadays, I can't stand coding if the editor doesn't have syntax highlighting.