This article is an absolute treasure trove of real problems I too have encountered on my own journey of creating an html game, and excellent solutions that I was completely unable to find on my own! I give real props for the depth of this analysis.
I would like to re-emphasize the author’s point that the mobile web begins to struggle with anything beyond a Wikipedia page about raccoons. I feel this point was understated!
Consider realtor.com (and many others) where zooming in a picture causes everything but the picture to zoom! Insane when you consider how much houses cost. What about on shopify—type websites, where everything scrolls left when you try to swipe left to activate the carousel of pictures. How often I wish they would design these sites as they would a Wikipedia article on raccoons — as bare bones as they can get!
An eBook sever on raspberry pi running nodejs. I had a lot of issues with iCloud not being able to download my books, plus my entire library is almost 1 GB. So, my solution is to serve a list of PDFs over node and allow download of a specific page range.
f I use second most. It has so many uses all of which could be done with / command, but definitely you come to prefer f. I use f( to scan forward to the next open paren. Then I use di( to delete in parens for example to remove the arguments. Uppercase F does the same but backward up the text. Often I use f, to go to a comma. df, to delete up to the next comma as in removing just 1 argument. The only draw back is that f does not have any repeat shortcut like n for next or . for reapply, those do nothing for f. I should mention also that f works on a single line at a time unlike /
> The only draw back is that f does not have any repeat shortcut like n for next or . for reapply, those do nothing for f.
Boy, do I have news for you :) ; will repeat an f/t/F/T motion forwards, and , will move back. Having it separate from n/N means that they have a separate history and you can combine them to repeat motions.
Also, if you’re not bound to using Vim without plugins, then the CleverF plugin lets you repeat with f/F instead of ;/,
It’s IMO easier to hit f again than to reach for the semicolon, and moreover this frees ; and , for usage in your own mappings (e.g. leader and localleader)
After this I am going to try to work in f to my routine.
The only issue is (content warning: controversial remap) I have ; nnoremap'd to : and : to ; so it would be awkward to advance multiple matches. I would hate to lose my one key :, but perhaps there is a workaround if f is useful enough (for those unfamiliar, with / or ? you use n to go to the next match).
I specifically avoided making that ; and : swap for decades as tempting as it has always been. Repeating with ; is just too useful.
However, I'm using Doom Emacs these days (with evil, of course) and while it emulates vim's command mode with colon, it's designed to drive most "commands" with space as a sort of leader key. I could imagine space being a nice remap for : in vanilla vim since it does nothing in normal mode.
I use both vim and doom-emacs almost daily and jump between the two. I like using <spacebar> to call command mode in vim to do things like :tabe or :bd or
:ls etc. (I have <leader> set to , ). I have this remap in my .vimrc > cmap w<space> :w<cr>. This allows <space>w<space> to write the buffer. The second
space acts as <cr> meaning I don't need to press <enter>. Lovely.
Now, turning to doom-emacs, SPACE is the modal for getting the list of next available commands. To save a buffer in doom-emacs I use SPACE w SPACE. Et
voila, the same muscle memory works for both. BTW I also set up :ww to write/quit so SPACE W W does this in both editors. Well, it works for me!
That sounds great! It actually only dawned on me that I could have a setup like you describe as I was writing my comment above. Thanks for sharing your details!
The only downside for me, and I've been reluctant about this for years, is I ssh into a lot of Linux machines that usually just have the standard stuff and default configs. This has kept me from experimenting with a lot things so as to keep my muscle memory also standard (thus avoiding i.e.: zsh, extensive .vimrc with plugins, etc).
Isn't dt, to delete up until and df, to include. I'm guess either you have config or it's so ingrained in muscle memory that there is a mismatch between what you type and what you think it is.
When I played piano there was a point where I could play a piece without thought but couldn't parse the sheet music or know what my fingers were doing anymore.
Cameras are quickly becoming as ubiquitous and boring as light bulbs. I’m actually more interested in how a light bulb works than some of these projects that are targeted at software developers for learning purposes.
There are tons of these dev hardware projects you can buy which usually are centered around having a camera. “Did you ever want to see in slow motion? Now you can.” “Never miss a moment.” Go ahead a miss the moment. Big foot is fake. There is not much point to this anymore.
I see a lot of projects that hunt out developers as customers, but I can’t get excited for them most of the time. I think Playdate is one of the highest quality of this type of product. Behind that is some of the holographic 3D displays they are making now that use 3D pixels. They can go for $200. Pretty cheap.
Augmented reality is very lame to me. I think most of the hope for useful AR applications has been snuffed out long ago. Its the same question asked a different way, “Why can’t you just google the answer? Why do you need to do x,y,z (go to college, call plumber, whatever)” The answer is, invariably, nobody has the data! A lot of good data is being held hostage or destroyed by greedy corporations. Its a winner take all world. Companies are reluctant to have a brand new game.
I would like to re-emphasize the author’s point that the mobile web begins to struggle with anything beyond a Wikipedia page about raccoons. I feel this point was understated!
Consider realtor.com (and many others) where zooming in a picture causes everything but the picture to zoom! Insane when you consider how much houses cost. What about on shopify—type websites, where everything scrolls left when you try to swipe left to activate the carousel of pictures. How often I wish they would design these sites as they would a Wikipedia article on raccoons — as bare bones as they can get!