feedback
KE-complex_modifications
feedback | KE-complex_modifications | |
---|---|---|
13 | 19 | |
61 | 0 | |
- | - | |
9.6 | 0.0 | |
4 days ago | over 2 years ago | |
Go | ||
MIT License | The Unlicense |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
feedback
-
My favourite Git commit (2019)
I stated using gofakeit's "hackerphrase" for all commit messages.
https://github.com/andrewarrow/feedback/commits/main/
hp | git commit -a -F -
hp is a golang binary that just spits out a hacker phrase. I have this aliased with the letter q for "quick" so I'm always checking in stuff with q return push done.
-
Show HN: Import openaddresses.io zipcodes longitude and latitude data
"zip_locations_zip_index" UNIQUE, btree (zip)
The following takes hours and hours to run:
https://github.com/andrewarrow/feedback/blob/main/location/zip.go
But you end up with a nice way to get an approximate postgis geometry for any zip code in the USA. (For free.) Anyone know of a faster way?
My favorite part of this code is buffer := make([]byte, 1). By making the buffer just a single byte, I can look for "\n" so much easier than if I was reading in 1024 bytes or 2,048 bytes etc and then I have to find that \n in the middle.
-
My Frugal Indie Dev Startup Stack
I love this list. One thing I'll add is I like to avoid using S3 or google's cloud storage AT ALL until I have > 30 GB. i.e. with google free tier of their compute engine you get a 30GB hard drive, 1GB ram, and two AMD EPYC 7B12 2250 MHz processors. So I make a fake bucket system using those free 30GB:
https://github.com/andrewarrow/feedback/tree/main/filestorag...
All I code I write is in bucket form, ready to flip a switch and use real buckets but 100% free up to that hard drive limit.
- A simple hard drive version of Google's bucket client
-
Random thoughts on concurrency, databases and distributed systems
I just used a mutex here:
https://github.com/andrewarrow/feedback/blob/master/stats/me...
Multiple go routines will call this method at same time but:
https://github.com/andrewarrow/feedback/blob/master/router/p...
Where I call it I start a new go routine so nothing is ever waiting on that mutex right?
- Yes, it is remote workers who spiked housing, rent costs
-
Show HN: A Hacker News for X
So this question https://news.ycombinator.com/item?id=35198563 prompted me to revisit the framework demo'ed here https://news.ycombinator.com/item?id=35033368
Just like reddit lets you go to what might be a 404 page /r/anything-you-want and you can then create that subreddit, I added this feature to remoterenters so you can make /rr/anything-you-want and be the mod of that sub.
To get the ball rolling with some content I made these two AI based subs:
https://remoterenters.com/rr/amazing-ai-understanding/
https://remoterenters.com/rr/writing-prompts/
And my friend "not_a_t1000" bot helped me add some interesting content. My favorite one in "amazing-ai-understanding" is about the Steering Wheel! How can it know this subtle meaning! So impressed!
Feel free to create your own new subs or add to these. Everything is open source. You can follow along with the commits to the "go on rails" framework here:
https://github.com/andrewarrow/feedback/
and the sample app here:
https://github.com/andrewarrow/remoterenters/
-
Ask HN: Is there a Hacker News for world news?
if anyone wants to pay for the domain, I'll set up copies of this https://remoterenters.com/ for any topic you want. Trouble is hard to compete with:
https://www.reddit.com/r/worldnews
https://www.reddit.com/r/marketing
https://www.reddit.com/r/business
for traffic and users.
-
Ask HN: Has GitHub Search always been broken?
paste an example search with zero results in code. Like I did:
https://github.com/andrewarrow/feedback/search?q=view&type=c...
but
https://github.com/andrewarrow/feedback/search?q=views&type=...
does have results.
-
Three Million U.S. Households Making over $150k Are Still Renting
I'm not sure exactly what features to add next to this site https://remoterenters.com/ but the idea is to help people find a building where their rent is actually a good deal. Because yes, many people will never get a mortgage and buy a condo or house. And a16z has a plan to give renters equity in their building + make the experience of living there 10x better.
KE-complex_modifications
-
My favourite Git commit (2019)
This bad commit message keeps resurfacing on HN front page like beach litter. I would just go with "Remove non-breaking space characters" instead of writing a Russian novel. Also, if you're on macOS just use a Karabiner rule [0] that converts all non-breaking space characters to regular space characters to prevent yourself from accidentally typing it out.
[0] https://ke-complex-modifications.pqrs.org/#nonbreaking_space
-
Can Espanso convert a text trigger into running a Keyboard Shortcut?
you are welcome! Karabiner-Elements complex_modifications rules, for even more inspiration: https://ke-complex-modifications.pqrs.org/ And if you are not familiar with the Hyperkey: https://brettterpstra.com/2017/06/15/a-hyper-key-with-karabiner-elements-full-instructions/
-
emacs has ruined my navigation in other apps
On macOS I use Karabiner-Elements. I remapped right Command to Control and now have two Control and two Meta keys, and can use one hand for modifier keys and the other for letter. For the occasional Command I use the left one. I’ve also extended a bit Emacs complex modifications and I’m quite happy withe the setup. Caveat: I think that due to how I use modifier keys the double keys combinations don’t always work. But have never debugged it deeper.
-
Trackpad repair and forgot to run Keyboard Mapper for client
it would also be helpful is anyone is aware of a modifier rule that exists on https://ke-complex-modifications.pqrs.org/
-
Custom Umlaut Shortcut
Rule
- Help request: Homerow Mods implementation that allows combinations of remapped modifiers.
-
Apps that should be paid, but are not (Part 2)
More resources on this - https://ke-complex-modifications.pqrs.org/
-
How to Start Dictation on macOS with a Microsoft Surface Ergonomic Keyboard
I was using my friend's Microsoft Surface Ergonomic Keyboard when I was staying at their house for a few days. I really liked the keyboard so I bought one for myself. It's a great keyboard, but the function key behavior is a bit annoying. Pressing the function key just toggles a little light on the key, and doesn't actually send any keypress event. macOS also thinks that this keyboard has a globe key for some reason. So it took me a long time to figure out how to start dictation and come up with this workaround that I posted on StackExchange.
I actually really enjoyed finding a solution for this problem, and I'm really impressed with Karabiner-Elements. I've been reading through the complex rule examples on their documentation site [1], and there's some really cool ideas.
I like the idea of setting up keyboard shortcuts to launch apps [2]. There's also a safeguard for command-q, so you always have to press it twice. (Google Chrome already does this, so you could set up a condition to ignore the rule if Google Chrome is the active application.)
[1] https://ke-complex-modifications.pqrs.org
[2] https://ke-complex-modifications.pqrs.org/#apps_launch_any_l...
[3] https://ke-complex-modifications.pqrs.org/#command_q
- Swapped Control and Command, how do I "alt-tab" like windows?
- Things I can’t do on macOS which I can do on Ubuntu
What are some alternatives?
TIGER-data - Preprocessing US Census TIGER data for Nominatim geocoder
Quicksilver - Quicksilver Project Source
go-furnace - Go Hosting Solution for AWS, Google Cloud and Digital Ocean
beardedspice - Mac Media Keys for the Masses
vox - Simple and lightweight Go web framework inspired by koa
vimac - Productive macOS keyboard-driven navigation
freeStuffDev - list of free stuff for developer
yabai - A tiling window manager for macOS based on binary space partitioning
hamsterbase - self-hosted, local-first web archive application.
AutoRaise - AutoRaise (and focus) a window when hovering over it with the mouse
bloop - bloop is a fast code search engine written in Rust.
dual-key-remap - Remap any key to any other two keys on Windows 🔥. Remap CapsLock to both Ctrl and Escape! (It's like xcape for windows!)