470 points · by zJayv · 3y ago · 559 comments
But a few years have past and want to see what's emerged since. Although can be new to you vs. released in 2021 or 2022 necessarily.
Things I've come across in the meantime:
* mock AWS services https://github.com/spulec/moto
* query cloud services https://github.com/turbot/steampipe
* munge CSV https://github.com/johnkerl/miller https://github.com/BurntSushi/xsv
* page json https://github.com/PaulJuliusMartinez/jless
* text to tree structure [I use this as a hack to version control my music library] https://github.com/birchb1024/frangipanni
Simple example: (any language, e.g. Rust) rename a function across multiple files and undo it. Let me know how you'd do it in your editor of choice.
Since then, I've been using CIDER on emacs to do Clojure development, and I haven't had any issues.
I don't think I can count on two hands the number of times I have to do that in a year. As for undoing it I don't think I've ever done it at all. Anyway it doesn't matter because vim + CoC can do it. And for undoing it I guess I simply rename it back to the original name. Actually I just tried and yeah, it works.
One of these day I'd like to sit with a JetBrains user and see how they work. I'm sure it's a great IDE but so far I haven't heard about anything life changing.
I actually don't use IntelliJ now for reasons not germane here. I'm on neovim, mostly with Rust and javascript/typescript). This is great in many ways but the ergonomics of editing, even with LSP integration, are much more like editing text, which is more distant from my mental model of the code.
1. Refactoring
2. You are experimentally coding and changing names of methods and variables as you realize you need to split stuff up
3. One of your colleagues can't name stuff for shit
The IDE I use makes it so easy it's just a thing I do without even thinking about it.
Another great thing is just highlighting some code and with a simple keypress extracting that code to a new method, with the right return type, params, etc. all done automatically. Not quite right? Highlighted the wrong rows? Press ctrl-z.
I'm not saying JetBrains isn't fantastic, their products certainly are, but the examples given as to why I should switch are less than convincing. Just use whatever works for you.
It's similar to the flak I get for using an iPhone instead of Android. "You can't customize it!"... I don't want to.. I just want it to make phone calls and browse the web.
And worth every penny, for me.
Edit: Not claiming this is better, just saying what I get by with. I have never used an IDE in my career so far, or any autocomplete or code modification features.
And what language do you code in?
You can undo/redo with cmd+z or cmd+shift+z.
replace cmd with ctrl on linux or windows.
So, from the technical point of view I would say VSCode is equally good.
What I miss most is the UX. Once you get used to the Jetbrains IDEs, their usability is really awesome.
* turn on the Match whole word and Match case modes,
* review the found occurrences;
* press the Replace button.
https://www.abareplace.com/blog/blog_rename_method/
Disclaimer: I wrote this program.
I've got a git merge/diff wrapper that falls back from p4merge to idea and finally back to stock diff.
If you're not using the refactoring tooling then you won't understand why many people love it so much.
[It's worth looking under the hood at the plugin APIs. The editor doesn't work on text files. It works on ASTs.]
But then I needed proper support for Vue 3, Tailwind and Svelte. VSCode was (is) light-years ahead but what drew me away was how Jetbrains handled the issues. Endless hours writing tickets, creating examples, ... for nothing. Finally, after switching to Linux it turned out that US int. keyboard layouts don't work properly. There's a workaround, but again, the way the support handled the issue was not what I expect from such an expensive service. I was basically told to read through years old long issues to find out how to manually fix it.
That was the day I canceled my subscription.
VSCode is totally up to the job. But somehow I'm still not happy.
Maybe time to try Neovim or Helix (multi LSP needed).
I’ve never used the standalone apps. Do they provide a better experience?
It's (almost) 2023, the way to develop applications is to put a reproducible Docker container with all the dependencies + debug tools you need in the repo, so that anyone can clone it and spin it up in their IDE.
VS Code has amazing support for this, while the only Jetbrains IDE that comes close is CLion.
Easily has saved me hundreds of hours so far, being able to view function prototypes quickly, pull up documentation as an overlay on the code, jumping to the next error, and even down to getting simple things like enumerated 'case' labels inside of a switch statement.
And once in a while I'd randomly have to look at some code that is not my primary work language, but everything will just work out of the box. Working with Emacs has never been better.
Huge shoutout to Magit mode, which I dearly love and definitely saved me bunch of time otherwise spent context switching to command line or another UI. 100hr = 6000min, I've been using Magit for 8 years at-least.
Assuming I'm doing some coding at-least 4 days a week, 4days * 4weeks * 12months * 8years = 1536 days of work. Let say it saves me 30 second on average by not switching window, selecting hunk individually that I love doing, doing arbitrary VCS operations (I love looking at diffs and just hitting enter to go to the source), I just need to open it 8 times per day to make it 100 hours so far. Definitely have used more than that I think. But even if this calculation is way off, and I'm not really saving time, its a very pleasant experience that is unmatched if you use Emacs IMO.
jq, perl, grep, gnu textutils, gnu parallel, bash, xargs, gkrellm, nload.
Make deserves a special shout out. If you think it's only useful for building software, you've completely missed the point (similarly, if you think some language-specific tool is superior, you're doing things completely wrong):
Anyway, this document saved me at least 10,000 hours:
https://www.gnu.org/software/make/manual/html_node/index.htm...
Other peoples' python has the distinction of being the only software in my -1000 hours saved category. (And if you consider maintaining code written in the above "write only" languages, you'll realize how big of a feat that is!)
I clicked on your link with 16 pages of just contents links to find what the point is, and found "the make utility automatically determines which pieces of a large program need to be recompiled, and issues commands to recompile them".
What's the point you see?
It takes about an afternoon to set up NFS + SSH primitives that automatically distribute the computation across clusters of machines. Since it is restartable, it automatically tolerates hardware faults (up to dozens of machines, in practice).
Basically, you get Map Reduce, but for arbitrary data processing DAGs, and it supports any language that works well on Unix-style operating systems.
Add xmlstarlet for anything that has to do with xml.
Obligatory Spolsky intro to Excel: https://www.youtube.com/watch?v=0nbkaYsR94c
So useful I like it despite how it always goes out of its way to waste my time by trying to misrepresent a number of different types of strings and numbers as American dates :-|
The ability create a relational database in Excel with vlookups and hlookups, then capture it all into a macro is amazing.
I've really enjoyed using Excel as a Postgres frontend, with a real Postgres DB instance handling data, and then using the report functionality to dump to Word.
While a pro reporting engine and cutting out MS Office altogether would be a better longterm solution, it is hard to beat for quick & dirty results.
Do yourself a favour and ditch vlookup and hlookup in favour of the recently introduced xlookup, which even obsoletes index/match !
I try to keep my exploratory joins out of Excel, but I admit that I often don't resist the immediacy of Excel's poor man's joins located right where I need them.
Trivia: JMP stands for "John's Macintosh Project".
Also, the entire semiconductor industry depends on JMP just like the entire pharmaceutical industry depends on Minitab.
This isn't specific to JMP of course. A good thing about Excel is that businesses are OK with just paying for "everybody" to have it.
Also, people use Excel for more than analysis. It's also a crude database and platform for creating small "apps" that do things, that are easy to share with others.
Still use Excel for quick stuff but otherwise it's pandas for me.
Excel to the rescue! Took me about five minutes to extract exactly what I needed.
This is the beauty of Excel. It’s a powerful text manipulation tool that everyone has.
If it's Windows there should be PowerShell ISE installed.
But, given the problem “I have some unfortunately formatted data which I need to analyze”, there is no better solution than sanitizing it in VS Code and then analyzing it in Excel.
DBeaver: use a consistent interface for practically any data store. Wanna SELECT and JOIN CSVs? It can do that too.
https://www.mail-tester.com/ - Fantastic email server settings troubleshooter.
Excel / Calc / Gnumeric: I don't even know macros, just the functions, sorting, filtering, and pivot tables enable good productivity. And sometimes fun, I chose my current video card, and optimized my Factorio gameplay with Calc.
BASH, jq, sed, grep, tr, cut, Geany, regexes: it's fantastic to be able to work with text. Log parsing and other text tasks turn into a puzzle game, where I win fast, and it's usually faster than to use anything else, especially for one-offs.
One thing that blew my mind the first time I saw it, was that when you look at geospatial data, they let you view your geometries on a map. It's so simple and so awesome!
[1] http://www.gnumeric.org/announcements/1.12/gnumeric-1.12.3.h...
Although be warned, it can also have the "side-effect" (functional programming pun!) of making you somewhat insufferable as you try to convince everyone around you that functional programming is amazing.
I ask, because I used to feel very similar about the OO paradigm (it helped me model the world easier, made me insufferable because of my zeal, etc). But, I had the privilege of doing that with nearly 20 years of Smalltalk. A battle worn path of ObjectiveC, Swift, Java, Python, Kotlin, and JavaScript later, I feel the pain. It's like being in forestry, one day you work with a chainsaw, and the next day they give you a fan with spoons welded for the blades.
These days I'm doing some Elixir... and I love it. I don't know how welcome it is in the "functional programming and pure functions" club, but I think it's awesome.
I have a working theory that what has made these paradigms loved or hated, is less about them theirselves, and more about the execution thereof. What made and makes both Smalltalk and Elixir appealing to me is their simplicity and straightforwardness. There's a mechanism you learn to reason about the problems you're trying to solve, and then you can excel at it, instead of constantly stumbling on edge cases where "hybrid" languages try to reconcile all of the paradigms together.
YMMV
In OO (the kind I've seen, and I've not seen Smalltalk, mostly C++), it's common for a member function to just go ahead and modify the member variables it needs to modify. This is considered "good encapsulation," but it's horrid for reading code and likewise horrid for parallelizing anything.
When you take that practice to the logical conclusion, you can end up with a member function like "void update();" (let's pretend that our class is a physics engine and this function presumably takes velocity and time step and increments position). Some early advice I got for writing maintainable code was "assume that whoever is maintaining the code after you is smart and in a hurry," and that sort of code just breaks that advice. If I see that kind of function, I need to dive into it to figure out what's going on. Whereas if I saw "state.position = update_position(state.velocity, state.dt);" I can make an educated guess about what's going on and move on.
I'm making myself a little angry here, so I'll wind down. These are the main points anyway, this sort of functional style feels like it takes something in 4D space where I have to twist my brain into a klein bottle to figure it out and puts it into 2D space where I'm like "oh, that's all there is to it then."
To your working theory, I see what you're saying, but I think I lean towards preferring poorly done functional code as opposed to well done OO code, because the functional code will be easier to test and shape into good code, whereas the OO code might get fragile over time. But let's be honest, it's not like "well done OO code" is an option we expect to have on the table :D
Erlang, and by extension Elixir, are very respected.
The fact that you have a strong background in Smalltalk isn't a surprise: Kay's idea of isolated objects sending methods to each other, independent of each other is OTP. Erlang, IMO, is the most beautiful combination of functional and (Kay's definition of) OOP there is.
As a bonus, you'll be able to write insufferable comments like these in HN threads.
Also: The level of control offered by Rust comes at a steep cost compared to GC'd languages.
Functional programming easily cost me hundreds of hours without much to show for it. Monad transformers, free monads, final tagless... this rabbit hole is very very deep.
No regrets though, would suffer through this again!
I know that with Rust the time-to-robustness is much lower than with Python for example.
Yes, because single letter variables are bad.
> But for some reason, functional programming tends to get a pass, despite it just not clicking for a large swath of team mates.
Perhaps this is a problem with the team mates rather than with functional programming? I'm too dumb for functional programming, but I freely admit it's the superior way of writing software. If we were mathematicians rather than programmers, programming would be way better!
I was at first rushing implementing ~50 business rules (which changed weekly) on the setup of a system. Then this functional wise kid came along and we did in one week what took me 5 weeks.
Along with that, using MQTT to separate your program with Protobuf makes everything so much easier. Program crashes? Let it burn and let systemd restart it. So much easier to test too. Our code coverage is 99% if we exclude the main files that initialize everything.
I haven't touched the Windows Search utility since I found it.
Agent Ransack (free for commercial use) and FileLocator Pro (paid, has near-instant indexed search) are the go to grep alternatives for Windows on my dev team. https://www.mythicsoft.com/
I also hear VS Code has ripgrep built in, but I haven’t used it extensively.
Update: Just tried it, I think I'll stick to Wox, Wox feels "snappy".
As a manager & parent with only occasional bursts of time to code (some work, mostly side/fun stuff), Copilot has turned out to be incredibly useful in smoothing over all of the small things I'm slow at because I don't do them daily. And especially since I have limited time, I just want to get the damn thing working and am quite happy to <Tab> my way there as quickly as possible.
Copilot is the only real value I'm getting from the recent A.I revolution and it does save me hundreds of lines of manully typing code all day. And the best part is it's getting better and better each day.
These are not just novelty value. They're great for mocking up ideas and I've also used them for generating backgrounds for advertising, for example:
"A black stage lit from above by two spotlights, very dramatic, stylish"
You can also add keywords like "modern/rustic/nature/futuristic" and it will get tuned to your desired style immediately.
Iterate on that for 5 minutes or so and there's my perfect background for a "coming soon" flyer. Way better than I could have made in Canva. Good enough that multiple people have told me the flyers look amazing, and nobody guessed it was AI until I told them.
Update: installed it and it seemed to work fine out of the box.
Vimium is more robust as they have resisted the temptation to open their apis and allow unlimited customization. It's good for you if you don't have the need to add more customization or if you don't know programming.
Surfingkeys require you to know javascript a bit add advanced customization. And, it requires some troubleshooting when your config goes wrong. It's like Vimium for power users.
I launched my startup from 0 to first customer in 3 months thanks to this guy. Most of my time saved was because of a solid collection of libraries, brilliantly integrated together (backend to frontend), and I didn't have to suffer analysis paralysis every time I needed something.
Refine.dev
Wasp-lang.dev
I'm quite early into researching these so I don't have anything much to say about them yet.
Wasp is a DSL so it's a bit different.
Another issue is that it doesn’t expose a server.js file, so its hard to do stuff like integrate an APM.
It has easily saved me over 100 hours by preventing me from continuously scrolling through youtube recommendations.
https://chrome.google.com/webstore/detail/replace-youtubes-h...
Before that I always found YT frustrating and never cared about subscriptions because, and correct me if I'm wrong, the subscription system is disorganized. It doesn't make sense to me. I found myself having a hundred subscriptions that I didn't know how to follow in an organized manner.
With this extension now I've organized subscriptions into groups, which get integrated into the UI in the sidebar, and you can set notifications for whichever group you'd like. It has more features - like the "Deck" feature, where you add a few columns of either playlists/groups/channels. You can also view all the latest vids from each subscription group, or all your subscriptions and filter them by groups.
I'm quite happy that I suddenly noticed I had this pain point and quickly found the perfect solution. It's one of my favorite extensions.
[1] https://chrome.google.com/webstore/detail/pockettube-youtube-subscr/kdmnjgijlmjgmimahnillepgcgeemffbThe time saved is the time not spent mindlessly scrolling through endless recommendations designed to keep me hooked.
However it's so good that it'll easily burn hours of my time I'd otherwise spend doing something more fulfilling.
Which is really counterintuitive when you look at how complicated the programs are. But I felt that it became better/easier than regular text editing after only 3 weeks of fulltime use. The uninterrupted flow of keyboard use, and reduced mouse navigation, feels great.
You only need to learn a very small subset of features to be very effective with it. Some people just stick to that forever. But you can also slowly add to it.
Every now and then I see the magic of modern text-editors (VSCode et al), especially with code completion /intellisense and file trees. For me, I rarely feel like I need to be able to complete function parameters in my code to be more productive. Code-writing takes up such a small amount of the creative process that I'm perfectly fine looking up seldom-used functions in a web-browser. I wonder if anyone has ever attempted the jump from longtime-vim-user to these and can share their stories about why or why not.
He's switched over to VScode with vim key bindings and has been happy as a clam. He's heavily using Python with pylance plus copilot for the python side of what we do (which is most things).
I'm an emacs user who has made a similar switch (but with a horribly weird mix of native and emacs keybindings). Oh, and the VScode sync extension for me. I use and love the rust-analyzer extension.
Switched to IntelliJ in 2018 when writing Scala. IdeaVim is fine, it even lets me switch to normal mode with jk/kj [0]. What more could I want?
I've been using IntelliJ for Scala, Elm, and Python, and still use (neo)vim for editing other languages and random files. I'm prepared to jump ship to vim+LSP on short notice.
[0]: https://github.com/tasuki/dotrc/blob/master/.ideavimrc#L5
My journey has been: VS Code, to Codium, to Atom, to Sublime, to now Vim where I feel the most productive.
Keeping an eye out for software that you barely use, as this is the kind with the most potential to truly save me time.
https://github.com/junegunn/fzf
It's also useful to remove duplicate commands and store infinite history. Add this to ~/.bashrc:
export HISTFILESIZE=
export HISTSIZE=
export HISTCONTROL=ignoredups > big hairy command with --lots --of arguments # foobar
Then you can search for 'foobar' via fzf or whatnot.It's saved me countless hours over the years as it's just so much better than regular CTRL-R. I also find it to work better than fzf.
A single command that does the ten things needed correctly every time instead of looking up each thing, typing it wrong four times and doing it again is a godsend. Lots of time saved. More accurate and reliable as well.
Fluent search Spotlight on steroids, for windows. Apart from being a search/launcher, it has a bunch of atrociously good features. It lets you use a custom search indexing backend, which brings me to...
Everything A search indexer backend for windows. Really great search.
No, there are: hammerspoon or Keyboard Maestro for macOS. Which has better accessibility API hooks compared to Windows anyway.
How so?
Here is something I did long time ago: https://github.com/majkinetor/mm-autohotkey
https://github.com/davebrny/kiwis
basically when you want to search something, just highlight the word(s), press a hotkey then select a site from the list and it will open up the page directly
You use Everthing as it's back-end search and not Fluent Search?
---
[1]: https://scribe.rip/@einarum/speed-up-ansible-with-mitogen-b3...
[2]: https://mitogen.networkgenomics.com/ansible_detailed.html
People say it's not a big deal these days but it still is.
ChatGPT - I use this as a private tutor (it's great for biomedical stuff) to check my understanding and ask it to correct me if I'm wrong.
How confident are you that it's giving you the correct answers to your queries? I've noticed that it often sounds right, but is sometimes completely wrong, in subtle ways. It always puts together words that are commonly near eachother, and it is always grammatically correct, but it is often absolutely wrong. I've observed that the more specific and technical a question I ask, the more likely it is to be wrong.
it is NOT a research tool. It is a creative text generation tool. It is not programmed to provide accurate data. It's programmed to provide accurate sounding text.
I’d expect a tutor to give the right answer, but I wouldn’t expect google to. Chatgpt is often wrong. It’s a problem if you’re trying to learn something and using it as your tutor/truth.
I'm not sure who is running it (hopefully some well funded academic group), but it restores me faith in humanity a little every time I press sync and don't get CTA'd to sign up for some subscription.
Amazing tool, kudos to the devs, and if there other comes a time where payment is required, I would be happy to chip in with the above being said.
https://apps.apple.com/us/app/ankimobile-flashcards/id373493...
This year I added Miller [0] to my list; a tool to process tabular data, similar to sed, awk, etc. It handles csv, tav, json lines, etc. in a consistent way. I like the delimited key-value pairs format, which allows me to write simple oneliners in bash to collect some data (e.g. "ip=x.x.x.x,endpoint=/api/x") and use Miller to crunch the results. Not sure it saved me 100h, but it was one of the biggest time savers this year!
https://wiki.nikiv.dev/macOS/apps/karabiner
On order of 100 hours, this year I'd say it's Sublime Merge, VSCode, Height (to manage projects) and Telegram.
https://www.keyboardmaestro.com/main/
Alfred is another good one for Mac. Being able to add your own custom commands & workflows is useful.
Hammerspoon too, which is great for scripting all different parts of Mac OS. I use it mainly for custom window layouts.
It is incredibly powerful and versatile but the scripting language takes some time to adapt (I am still never sure when to use braces and when not). But the effort is really, really worth it.
Things like Ctrl-D to highlight multiple instances of a word, plus the ability to put on Caps checking in the search bar first so you're only highlighting correctly capitalized versions. Make the same change in multiple locations. Saves so much time.
Knowing how to highlight a letter, a word, a line at a time.
Ctrl-shift-down to make your cursor span multiple lines at the same point, and have copy/paste respect the copied text from the respective lines.
So many things add up to hours upon hours of time saved, and frustration avoided.
Also the low latency is amazing. Sublime on an old laptop feels batter than VS Code on a fancy new desktop.
It has also saved me over 100 hours or more.
And this includes its instantaneous speed and the ability to open huge files!
In installed it on my Android TV instead of the official Youtube app and it saved me literal hours:
- it blocks ads
- it includes SponsorBlock, so sponsored segments, intros, "plz subscribe" are skipped
- it allows me to block Shorts
Anytime I have to use an official Youtube app, I remember how unusable it was. I even gave Youtube premium a try at some point, but SponsorBlock is just too good to ignore.
If you've used NewPipe, how does it compare to SmartTubeNext?
Also I didn't personally interact with the developer but he seems like a very nice person, very invested in his project, even if some of the feedback he gets is thankless. SmartTubeNext is one of the few projects I'm actually considering donating money to.
I tried using NewPipe on an Android phone for a while, and concluded I wasn't in their target demographic. I understand, but don't like their choice of not supporting Youtube accounts. Also wasn't a fan of the UX or the settings, everything felt more complicated than needed.
This almost got me into trouble a couple of months ago when I was driving from Odessa to Chisinau. One route goes through Transnistria which is currently controlled by the russian military.
I'm not sure if Google is aware that there is a war on currently, but I don't fancy getting shot just because California product manager guy believes he knows best.
In the old days we had paper maps and I checked routes before I left: not doing that anymore has cost me time rather than saved me time. Many a time Google maps has sent me to the wrong place. Once to the middle of a mustard field in France which was a destination it changed to mid-route to a house called La Mutardier. 5 hours wrong lost there.
Less than useless on a motorbike due to its UI, actually quite dangerous.
I would say it has cost me many hours and saved me from carrying a map.
Evermore useless adverts, and now hiding places that it doesn't get a kick back from.
Oh and it's cost me money in fines from taking me the wrong way down streets I was not allowed to drive on. With no way to feed that info back into the system. When its wrong it stays wrong for years sometimes where I live, and we have street map, it ought to be half decent and at least safe for drivers.
It sounds like the real problem you are experiencing is that you stopped checking your route. If you treat it like a paper map on crack then it’s a great tool. And, to be fair, it does sound like you run into more frustrating ‘wtf!’ problems than others.
Credentials: I used a paper map as a pizza boy.
Have used it for years and have never seen this happen. Neither has send me the wrong way in a lane.
It is your responsibility to drive legally. Even if Google Maps is suggesting a route that's illegal, you made the action to drive the wrong way.
So I set up automation for that based on a few parameters: indoor and outdoor particulate matter levels (current and averaged over the last hour), noxious gas levels based on third party monitoring, wind direction and speed, and the weather forecast for the next few hours.
Probably doesn't apply to others here, though.
Open blinds in the morning, shut them at sundown.
Turn on porchlights after dark if I'm not home. Turn them off 10m after I'm home.
Turn HVAC up/down when I leave the house, revert when I get home.
Unlock doors when I arrive home. Make sure they're locked when I leave.
It's a PDF viewer that automatically finds and previews references in documents, even when the PDF doesn't have links. Makes reading some math books a very enjoyable experience instead of a chore.
Looks like it's available under msys2 on windows: https://packages.msys2.org/base/mosh
As an aside: msys2 mingw64 and friends are > 100 hours saved if you are a linux-soul in a windows environment. I don't think msys gets the attention it deserves.
Mosh using UDP means that as a connectionless protocol, your end points can move (eg: from WiFi to LTE, or vice-versa), and beyond a small hiccup, your connections remain alive and well.
If you are mostly on unreliable and high-latency connections, mosh will likely feel better, but with no native scrollback.
I keep one laptop at home and one laptop at work and can seamlessly switch between the two without having to manage my active sessions at all. If I open a new tab at work and go home for the day it'll be there on my laptop at home.
https://ditto-cp.sourceforge.io/
AutoHotKey
And if deleting TikTok from my phone were an app, it would be nominated, because that saved me hundreds of hours I'm sure :D
So then when I got my first Mac I felt lost without a clipboard manager with unlimited storage. I finally found Copy’em and my life has been complete again. :)
It allows me to evaluate the code-base quickly and see where potential issues are, and find hidden complexity in the code. I have said no a lot due to it. The only reason it exists was because I got caught out from another project, which wasted months of my time.
Otherwise IntelliJ and the JetBrains IDE's in general.
b) thanks for explaining how it saved you time
c) holy CRAP the description wasn't joking about "fastest"
Will definitely check it out.
[1] https://raw.githubusercontent.com/rasteric/z3s5-lisp/main/do...
Being able to edit text by piping it through shell commands and back into the buffer is pretty darn useful. In this case, it's not vi alone that provides the benefit, but whatever.
Macros and registers can be super handy when you have to do the same thing over and over in a big file. Sure, I could write a script, but sometimes it's just easier to do it by hand once and repeat the macro thousands of times.
Once you are able to commit certain operations to muscle memory, you can really whip around. For instance 'vapgq' selects around the current paragraph and formats it.
kanata is basically like QMK for any keyboard without the firmware requirement. I use kanata with my trusty old iMac keyboard which is to this day my favourite keyboard of all time. But now I have all the cool QMK-style layers with it.
So that is awesome on its own, but where it gets even better for me, and this is where the seconds have really added up to hours, is that I wrote another piece of software which programmatically changes layers on kanata whenever a different window is focused in my tiling window manager.
This has honestly changed -everything- for me. I no longer have to waste keys on my keyboard to switch layers, I no longer have to -think- about switching layers, I just focus another window with alt+hjkl and whatever keyboard layer I expect for any given application is automatically applied. Definitely one of those "you can never go back" experiences for me.
Of course, there are downsides to having it all in hardware as well.
[1] https://github.com/spantaleev/matrix-docker-ansible-deploy
It takes JSON input and produces flat, key-value output based on the path to the value. Usage with grep was obviously the original intention, but I've used it to help me better understand a given JSON's structure, too, which I then usually reflect back into a program that's consuming that JSON.
It also supports "ungron" too, so, for example, `gron some.json | grep -v "thing I don't want" | gron -u > filtered.json" makes for quick filtering of a JSON. I find it more user friendly than jq's language.
Where it really shines are in places like monorepos where you may have many inter-related setup scripts, build commands or helper utilities.
You define all of your commands in one file (or multiple if you want a hierarchy) and can run commands from any subdirectory.
eg. You have a monorepo with a web server, and also a react-native app in separate directories, you can call `just build-app` in the web directory, or call just `start-server` when your terminal's current directory is 7 diretories deep in the mobile directory.
The amount of time I have saved cd'ing around has honestly been amazing. It's worth it's weight in gold, especially on large projects.
For this reason, I don't have any default AWS credentials configured: I always specify an AWS_PROFILE manually when it's needed ;)
I've been learning spanish, and since hitting the intermediate stage outside of talking I mainly watch spanish shows or dubbed shows (Star trek TNG). I can create flash cards of difficult to understand phrases, or new words in seconds.
I usually still edit them slightly depending on my purpose for the flashcard, but having > 2000 cards right now, I can't imagine what doing this by hand, or manual review would have cost me.
This one tool has saved me hundreds of hours back in my support days (both at previous sidejobs and family members' houses) in downloading, installing, and _updating_ basic applications. I could leave the tiny Ninite executable on their desktop with the instruction to just run it once a month and it would keep all their stuff up to date.
[1] https://ninite.com/ Install or Update Multiple Apps at Once
at least that's what i tell myself.
"hey, change all these to that, and don't make it complicated"
(use-package rg
:straight (rg :type git :host github :repo "dajva/rg.el")
:config
(rg-enable-menu)
)
and for short stuff/searching around, etc, i bound consult-ripgrep to M-s r.[1] https://chrome.google.com/webstore/detail/instant-data-scrap...
My own app, not even at the Alpha stage, has already saved me and my team 100s of hours of parsing JSON results in Postman.
1. open source
2. hundreds of pre-built taps and targets (for apis and databases)
3. supports incremental and full refresh
4. don't need to write any SQL and it creates and loads tables for you
Stitch, Meltano, and (sort of) Airbyte also use it
https://www.youtube.com/watch?v=jvPPXbo87ds
into embedded video urls like this
https://www.youtube.com/embed/jvPPXbo87ds?autoplay=1
bypassing ads and running video in full browser window.
Since I watch a lot of youtube I think it might have saved me 100 hours of waiting so I can press Skip Ad button.
I probably should just use AdBlock but where's the fun in that.
I used to program in Vim/Neovim. Using a full-blown IDE is a real productivity boost when programming in for example Rust, which is what I write the most, and use CLion for the most.
CLion has Vim emulation also. So I still have normal mode, insert mode, and most other main features of Vim that I know and love :)
Its support for detecting type errors (I use type hints pretty consistently) and its refactoring support have probably saved me way more than 100 hours. Just Shift-shift searching has probably done that by itself, too. And import optimization. I could go on and on.
Plus integrated sql/db stuff is just icing on the cake. Best subscription I’ve ever paid for.
Adding shortcuts to my ideavimrc saved me a bunch of time and has made CLion largely keyboard-driven for me.
https://www.jetbrains.com/help/idea/using-product-as-the-vim...
Has it been successfully generalized to problems with infinite / continuous search spaces? I imagine you could use edit distance or something for large combinatorial spaces.
But I now want a tool as simple as it, but for animated GIF.
[Any piece of advice is welcome]
It allows me to quickly evaluate server interactions in my software, without having to program in all kinds of logging.
(I haven't used Symbolclick, presumably it has more features or something for the money)
Time savings screenshot: https://imgur.com/a/KjFhWRH (Disclosure: I liked the product so much that my fund ended up investing.)
Website: http://blaze.today/
Chrome extension: https://chrome.google.com/webstore/detail/text-blaze/idgadac...
Slickrun, floating command line for Windows https://bayden.com/slickrun/
Autohotkey - shortcuts, text expander and scripting for everything https://www.autohotkey.com/
Total Commander, still the best file manager on Windows https://www.ghisler.com/
CyberChef - The "Cyber Swiss Army Knife" - single file web app for all kinds of conversions, encryption, encoding, compression and data analysis https://gchq.github.io/CyberChef/
Adminer - lighweigt database manager https://www.adminer.org/
I would add ClipMate as the absolute BEST clipboard manager: http://www.thornsoft.com/clipmate7.htm
Display Fusion Pro for managing window layout with multi monitors https://www.displayfusion.com/
Misc programs I use daily that are easily google-able: Evernote Belvedere Bitwarden Snagit
Give a try to Ditto (https://ditto-cp.sourceforge.io/) - it rocks!
Hammerspoon for window management is also amazing, though I recently switched to Phoenix because it can be configured in TypeScript. It allows me to have hotkeys to swap to specific apps or toggle between groups of apps.
Steampipe [1] is open source and uses Postgres foreign data wrappers under the hood [2]. We have 90+ plugins to SQL query AWS, GitHub, Slack, Kubernetes, etc [3]. Mods (written in HCL) provide dashboards as code and automated security & compliance benchmarks [3]. We'd love your help & feedback!
1 - https://steampipe.io 2 - https://steampipe.io/docs/develop/overview 3 - https://hub.steampipe.io/
Loom. It's not open source I don't think but I'm digging it and excited when a public domain competitor comes out.
Our https://scroll.pub/. It's far beyond markdown at this point. I am able to not only write better but also maintain thousands of pages of content by hand (well, most of the credit for that belongs to Apple M1s, Sublime Text, git, MacOS, and Github). The stuff we are doing with it now would just not be possible with anything else, and what we're coming out with next year is super exciting. It's all public domain.
Does anyone know of a similar library for GCP? Searched and not been able to find anything and I miss it dearly
also alias to create jupyter kernel for activated environment:
mkkernel() {
if [ -n "$1" ]; then
KERNEL_NAME=$1
elif [ -z "$VIRTUAL_ENV" ]; then
echo "Pass either kernel name as argument or activate virtualenv"
return 1
else [ -z "$1" ]
KERNEL_NAME="$(basename $VIRTUAL_ENV)"
echo "No kernel name provided, using name from virtualenv $KERNEL_NAME"
fi
pip install ipykernel
python -m ipykernel install --user --name=$KERNEL_NAME
}I'm a product designer. I spend a significant amount of time taking screenshots—dropping them in Figma, slacking them to PMs and annotating them for engineers. The tool keeps screenshots suspended on your desktop until you decide what to do with them—save, annotate or copy it to clipboard. It doesn't save the screenshots if you don't want it to, so it prevents a ton of clutter.
Not to mention it has video recording that I frequently use to create video walkthroughs for features I'm working on.
The tool is a pretty expensive Mac App, but worth every penny.
Otherwise the number of times I "show usages" or refactor shortcuts (rename, extract method / variable) throughout the day...
All of it out of the box as well, it's great value for money.
Also the commonality of fast networks really hit me this year. I was using free wifi at a small coffee shop in Tokyo and was transferring files to my apartment in Los Angeles at ~20MB/s. That's faster than my local LAN was 15 years ago over 5,000 miles of ocean, so cheap that they give it out for free if you buy a coffee. Absurd
But, good on you. It's nice that you found your niche. If you ever are forced to switch back reach out. I have a lot of good techniques for fast and pleasant OSX.
I use Windows every day, and I know shortcuts and tools for many things.
But for work I use Ubuntu, and for writing code it is a much more efficient environment.
So it is actually hard to imagine an environment less productive than Windows.
Now, if your work is done in Office (which I only use to write emails), or Photoshop, then I understand. But I am still intrigued.
Aeon Timeline
ObservableHQ - particularly the discovery that I can use most of it locally and privately for free. I've tried with quarto so far, but I think there are other ways too.
What I want is a way to instantly switch between dag and tree data structures: graph for visual editing, tree for easy data entry. So something that would analyze/cluster intelligently to minimize links when converting to tree, for when children have multiple parents.
I find it can't do nested logic the way observablehq.com can though. For instance, I like having inputs embedded in paragraphs of text, which requires having logic mixed in with a markdown cell. There are certain things that I can do on the web that don't work locally.
There's also https://observablehq.com/@asg017/introducing-dataflow, which I haven't tried yet.
I'm using it for format conversion, data processing, querying external data, as a calculator, etc...
clickhouse-local --input-format Parquet --output-format JSONEachRow --query "SELECT * FROM table" < data.parquet > data.jsonl
cat books.ndjson | clickhouse-local --query "SELECT author, avg(rating) FROM table GROUP BY author"
clickhouse-local --query "SELECT * FROM url('https://datasets.clickhouse.com/hackernews.native.zst') LIMIT 10"
$ clickhouse-local
ClickHouse local version 22.13.1.1.
milovidov-desktop :) SELECT extractTextFromHTML(*) FROM url('https://news.ycombinator.com/', RawBLOB)
[1]: https://clickhouse.com/docs/en/operations/utilities/clickhou...I've used it so much that it is second nature at this point, and moving to any other editor without my ever growing set of macros, etc would significantly impact my productivity.
* array-like proxy-based ORM: https://www.npmjs.com/package/better-sqlite3-proxy the schema and typescript definition can be generated from erd text in above format
* a composible and typescript-friendly json parser for data validation: https://www.npmjs.com/package/cast.ts
I'm not sure if they save 100 hours but they're definitely timer savers for me as an educator that need to create lots of web projects frequently.
Same with Terraform. The provider ecosystem is so extended that you can just grab them and make infrastructure rapidly, instead of using some cloud-specific language and syntax
BASH Alfred Applescript NodeJS bbedit
in a zillion combinations to make things fast and easy. I have a bad memory so I have tons of BASH aliases and .bashrc terminal reminder files. I use Alfred, for example, to record 'time clientA 1 do an hour of work' in a tenth of a second. I use Alfred and AppleScript to shuffle windows around as I focus attention or finish things. bbedit's find/replace/regex stuff is better than anything I have ever seen. I use it to munge files in crazy ways. I have a set of files that act as a NodeJS ad hoc workspace. (Need to change the GUID on the records in a tsv file? Not a problem.)
And when I do something that has ongoing value, Alfred and/or bbedit give me a way to add them to the toolkit.
With a swipe of four fingers, I can turn a set of windows into a tiled configuration by "shoving" them where I need to go.
When I press Caps Lock, which I've rebound in Karabiner to F16 and then bound F16+various modifiers to Activate/Hide Application in BTT, I can switch between IntelliJ, Chrome, Figma, Slack, Notion, so fast that I feel like I have 3x as many monitors as I do - which, whether paired with actual monitors or on the road, is absolutely game-changing.
Knowing that I can context-switch immediately and get everything I need on screen, just so, lets me wear a lot more hats than I otherwise could have. There's an argument that I'm able to deliver results at a level as if I had 100 more hours every month!
ChatGPT at it's worst saves me an hour a day.
There is a good (albeit a bit old now, as the interface has been overhauled since) quick demo video from VD's creator : https://www.youtube.com/watch?v=N1CBDTgGtOU
Call it carvkings law.
Block websites so you can focus on work. Different blocklists and different sessions makes it easy for me to stay focused during the week. Best investment in myself I ever made.
Git / SVN / CVS - never having to worry about if I can undo my way back to the last combination of files that worked its a superpower that we mostly take for granted, but I was over 20 when I learned it.
JUnit - again, being able to experiment fearlessly.
The are valid criticisms of Coplilot around copyright but I'm not using it to generate whole algorithms. It just knows your code and what you are trying to do.
Sure, you can bait it into reproducing stuff but why bother? Considering how convoluted it is to trick it you might just as well copypaste the algorithm straight from the repo. I almost find the discussion irrelevant because of how detached from reality it is.
It’s a small ORM with nice features and it saved me a ton of time. Just generate the classes from the database. Very fast to iterate from.
The problem with most ORMs is that language object models are way more expressive than SQL (due to having multiple subclasses of the same superclass / interface, or even multiple inheritance, and none of those mapping to SQL foreign keys).
Targeting the less expressive data model should automatically avoid most ORM footguns. I wonder how it works in practice.
I work with it every day and the the documentation is not the best, but for 95% of pure php projects it’s the Right answer. There maybe other right answers, but propel is definitely one of them.
If you iterate the database as you go, simply create the classes and there you go. I m amazed how good it works.
I m a single developer, so your results may vary, but for small to medium projects it works fine. And most of all projects are small to medium.
Flycut[2] has certainly saved me a lot of time and changed the way I write code. Have a good clipboard history has really changed my flow.
[1]: https://github.com/cantino/mcfly [2]: https://github.com/TermiT/Flycut
Automatic UV unwrapping.
Tmux + tmux continuum is another utility that saves many hours. I use it only on remote machines though.
Ffmpeg cli for fast lossless cutting of video. (Apparently there is nice gui for that, never tried though)
The idea of having all news (Youtube, Twitter, blogs etc.) centralized in one app saved me a bunch of seconds every day looking for new content.
Ive read about pulumi and casually used it (python) to learn about it. Benefits like taking advantage of proper python language niceties, like running pytest on your IaC.
Additionally, it uses terraform's providers behind the scene, both contributing their success to the other.
If you create your own clis in the format
appname mainoperation flags args/files
writing bash_completion scripts is easier.I believe git, yum, apt clis are popular for this reason.
I can't imagine the amount of time wasted if bash_completion didn't exist. I would have probably wasted 10000 hours writing guis.
Beyond Compare, to compare differing versions of large codebases, which - for reasons I won’t go into, are just stored in filesystems, rather than accessed via some version control platform like git.
Sublime Text, because multicursor, and fast searching of large codebases, the ability to edit everything, the plugin api, and just blazing performance on massive codebases.
This is the SaaS I'm most excited about this year.
It has saved me hundreds of hours of debugging since I first started using it in 1990. The very first day it found a ‘write past end of array’ in some code written by a Pascal programmer which was doing a[sizeof(a)] = ‘\0’; that would have stymied us for days.
I just used it to create a bit over 2000 data transformations and wrote another awk script to tie them all together. Yeah I did in hours what would have taken a week in the GUI and changes will be able to be made in minutes instead of days. Plus it saved my wrist from the pain of clicking a mouse thousands of times.
To be fair you can do the same thing with any programming language but awk just has the least friction for me.
As for a large code base I found ripgrep + rg.el (the interface in Emacs) to be pure gold!
It saves you more in stronger typed languages and if you rename things across files a lot. I work on smaller code bases.
Docker, but these days I take it as granted.
So I wrote a script in CUE to programmatically build my REDCap data dictionary to support flexible inputs.
It is an automated test runner for JS / TS code with a great integration with ides. It has made writing tests and refactoring so much more productive.
Bash “wait” command to do multiple things in parallel without extra _stuff_. Eg
(
dothing.sh &
slow_stuff.sh &
more.sh &
wait
)This is a updated win32 version of XTreeGold if anyone ever used that back in the day. Allows many file system operations (view, copy, sort, tag) based on keyboard shortcuts in a text-console view.
It’s really a time saver as a launcher, running little scripts, asking input and doing whatever after works, calling native DLL Windows functions…. It’s a big helper of your own workflows
QMK (keyboard's firmware, helps me do things an order of magnitude faster)
Helps avoid password resets and makes logins in apps much easier.
* All time King keeps on giving: MS Excel
* MS Visio… last good Sequence Diagrams etc
* Adobe Illustrator… keep visual scrapboards
* Perl one liners with cygwin getclip/putclip
* DBeaver SQL gui
* StreamDeck with Autohotkey custom actions
* SimpleNote - your notes everywhere when you need them for creation, reference and search
You invoke 'vimv' in a directory and the resulting editor is a directory list for your pwd ... and you can edit it as a text document.
When you save and exit, all of your file (re)naming is committed to the directory.
100%. I use this every day, esp. when editing my music library.
I set it up for making screenshots, building, sending to slack & submitting an app to App and Play Store. Saves time by minimising boring work, double win.
My new job is a matter of surviving a TON of information sent by a ton of different people each day. And Obsidian has been the tool to organize that information deluge.
It could be an image, some app or website that has disabled text selection, a pdf, image based email signature etc. I made this for myself, copying text out of everything, it turns out a few other people also like it...
Hacker news is software that definitely took at least that for me!
If you know Perl you get instant access to many many powers which you otherwise have to use 10s to 100s of tools to get it done.
I don't know of a better, easier, and faster productivity tool.
Feels like doing parkour on the command line!
we're saving our customers (and ourselves) hundreds if not thousands of hours by not having to write and maintain glue code for their dev tools
Made me more efficient, must have net saved me 100 hours.
Also WireGuard. Who has the mental stability to setup OpenVPN or similar these days, even with things like Openswan? Yuck.
- silversearcher ag
- total commander
- Obsidian
- chrome extension: "I don't care about cookies" will remove all the annoying gdpr cookie popups.
- espanso : highly customizable text expander (eg type :myip to replace it with your current ip using your fav scripting language)
- sqlyog : sql client with awesome power features I never seen before: eg schema and data comparision between 2 db sources.
- manictime: a time tracking software which also takes screenshots. You can then go back and see what you did and how long.
Here's a specific example of how ChatGPT has saved me time: I asked it to make some text I wrote shorter and more likely to succeed, and it suggested eliminating the entire second half of it as it takes away from my point and isn't likely to achieve the result I want. That actually ended up saving me the work associated with the entire second half of my proposal.
Others have had it make recipes and meal plans, by just listing what they had at home and asking it to list recipes using those ingredients. It is superhuman in many of its abilities.
I would write a caveat but don't feel like it. I'll just ask ChatGPT: "I consider you almost superhuman but in no more than 15 words summarize the caveats or ways in which it would be wrong to consider you superhuman. Be extremely brief and specific, get right to the point."
it's answer: "I am a machine learning model and not a human."
So, there's your caveat. It's a machine learning model and not a human.
---
*
[Prompt: What pieces of software that most users don't use is most likely to save me 100 hours - keep your answer brief and specific.]
It's difficult to determine what specific software may save you 100 hours without knowing more about your specific needs and workflows. However, here are a few suggestions for software that may be helpful in increasing efficiency and saving time:
Task management and productivity software: Tools like Trello, Asana, and Todoist can help you organize and prioritize your tasks, set deadlines, and track progress. These tools can help you stay on top of your work and reduce the time you spend on tasks that don't align with your goals.
Text expansion and automation software: Applications like TextExpander and Alfred allow you to create custom abbreviations that expand into longer phrases or blocks of text. This can save you a significant amount of time if you frequently type out the same phrases or long emails.
Text and code editors: Advanced text and code editors like Sublime Text, Atom, or Visual Studio Code can save you time by providing features such as syntax highlighting, code completion, and project management. These tools can help you write and edit code more efficiently and make it easier to navigate large codebases.
File management software: Applications like Hazel and Dropbox can help you automate file management tasks, such as organizing and renaming files, and keeping your files synced and backed up. This can save you time and reduce the risk of data loss.
It's important to keep in mind that the software that will be most helpful in saving you time will depend on your specific needs and workflows. It may be helpful to spend some time identifying the tasks that take up the most time in your work and looking for tools that can help you streamline those processes.
That being said, I find ChatGPT really useful for generating basic code samples. It can replace basic uses of Google and Stack overflow.
Specifically:
"OpenAI’s mission is to ensure that artificial general intelligence (AGI)—by which we mean highly autonomous systems that outperform humans at most economically valuable work—benefits all of humanity.
We will attempt to directly build safe and beneficial AGI, but will also consider our mission fulfilled if our work aids others to achieve this outcome."
They have a charter here: https://openai.com/charter/
At some point they may remove this, specifically the way Google removed "don't be evil" from their goals. You may want to set yourself an alert for when OpenAI removes its curreent mission statement "Our mission is to ensure that artificial general intelligence benefits all of humanity"
Until then they're as safe as any private company that answers to shareholders. You can give them your phone number and real IP address, but be careful about not using it for anything they wouldn't like. Some people have been banned already. For talking with a chatbot. So use with caution and be amazed.
Here's a preview for you.
--
[Prompt:
Someone is concerned about giving OpenAI, the company that runs a highly intelligent chatbot, their phone number as part of signing up. They would prefer to stay anonymous. Since other companies have been abusive of their customers, perhaps this person is right to be concerned. On the other hand, the OpenAI company might have good, albeit unspecified, reasons for wanting to know someone's phone number before enabling them to talk to a chatbot.
Now give the user two perspectives. In the first perspective, agree with the user that the user is correct: companies should not be trusted with private data they don't need, such as location data and phone numbers. Give the main privacy-related reasons someone might have for not sharing their phone number and agree that the privacy risks outweigh the benefits.
Next, give the second perspective that the user should give their phone number despite the privacy risks. Use whatever justifications you want.]
First perspective:
I completely agree with the user that companies should not be trusted with private data that they don't need. It's important to be cautious and protect our personal information, especially in today's digital age where data breaches and cyber attacks are becoming more common. There are several good reasons why someone might not want to share their phone number, such as:
Privacy: A phone number is a highly personal piece of information that can be used to identify and track an individual. By sharing your phone number, you are giving a company access to this sensitive data, which could potentially be used in ways that you might not be comfortable with.
Spam and unwanted calls: Giving out your phone number can sometimes result in an increase in spam calls and texts, which can be annoying and time-consuming to deal with.
Safety: Sharing your phone number can also potentially put your safety at risk, as it could be used to locate and potentially harm you.
In my opinion, the potential privacy risks of sharing your phone number far outweigh any potential benefits. It's always better to err on the side of caution and protect your personal information.
Second perspective:
While it's important to be cautious and protect your personal information, there may be some valid reasons why a company might ask for your phone number as part of the sign-up process. For example:
Verification: A phone number can be used to verify your identity and ensure that you are who you say you are. This can be especially important when signing up for certain services that require a higher level of security, such as financial or healthcare services.
Customer support: Having a phone number on file can also be helpful for customer support purposes. If you encounter any issues while using the chatbot or have any questions, the company will be able to easily reach you to provide assistance.
Marketing: A phone number may also be used for marketing purposes, such as sending promotional texts or notifications about new products or services. While this may not be appealing to everyone, it could be a useful feature for some users.
Overall, while it's understandable to be concerned about sharing your phone number, there may be legitimate reasons why a company might ask for it. It's up to the individual to weigh the potential risks and benefits and make the decision that's right for them.