Lurker News
I've asked this previously: https://news.ycombinator.com/item?id=22849208

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

Comments (559) 186 threads

Earlier comments
npteljes4 replies#
I find good use of my skill in the following:

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.

bdcravens1 reply#
I've long been a DataGrip user, but Dbeaver impressed me when it was the first to enable Aurora Babelfish support.
npteljes1 reply#
Wow, DataGrip also looks very nice. I find it funny that how first we had Eclipse vs IntelliJ, and now DBeaver vs DataGrip - each built on the respective platform, DBeaver on Eclipse, and DataGrip on IntelliJ.
sad-vscode-user#
Yeah, DataGrip is extremely awesome. From all the Jetbrains Tools I miss this most. (I'm an unhappy Ex-Jetbrains user ...)
micvbang#
Oh my lord, I love DBeaver so much!

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!

squintychino#
Speaking of DBeaver - does anyone have any good themes that they might share? I really like the interface but the stock look is lacking.
283042834092341 reply#
Gnumeric. I still mourn Ray. One of the kindest people I have met. Almost ten years ago he passed away at age 40. 12 Years of gnumeric and 18 years of Debian contributions. Thank you Ray, where ever you are now.
actinium2266 replies#
Not a program, but the concept of functional programming and pure functions. It makes it a lot easier to think about code, and also makes it easier to test and parallelize code.

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.

hedora1 reply#
You should check out rust. The compiler reasons about side effects + parallelization, and testing for you, but you get (nearly) complete low-level control.

As a bonus, you'll be able to write insufferable comments like these in HN threads.

Quekid51 reply#
Not to put too fine a point on it, but "side effects" != mutation.

Also: The level of control offered by Rust comes at a steep cost compared to GC'd languages.

adamzen2 replies#
I am relatively new to rust, but motivated to learn it right now. Could you elaborate on what the cost compared to garbage collected languages is?

Continue this thread — 2 replies

travisgriggs2 replies#
I'd be curious what your flavor of "functional programming and pure functions" is?

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

fredrikholm#
> I don't know how welcome it is in the "functional programming and pure functions" club, but I think it's awesome.

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.

actinium226#
I had done a little bit of OO before diving into functional, but what really got me about functional was "the same inputs always produces the same outputs" and "no side effects"

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

TeeMassive2 replies#
At my job I was introduced to functional programming with Python with strong typing.

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.

ayewo1 reply#
Can you share more about Python with strong typing?
TeeMassive#
We use mypy and we enforce it on the CI. Ambiguous types are forbidden. We catch lot of bugs with this.
actinium226#
Nice, so 4 weeks saved at, what, 40-60 hours per week? So 160-240 hours saved! And you're just getting started!
tasuki1 reply#
The question was what saved you 100 hours.

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!

IshKebab#
I haven't done any serious functional programming but I think the point is that overall it saves you time. It might take longer to write the program but you get fewer bugs, reliable caching and so on.

I know that with Rust the time-to-robustness is much lower than with Python for example.

wolfadex#
Elm has easily saved me hundreds of hours per year in compile time alone, not to mentioned the likely thousands of hours it's saved me in time spent debugging. I still shudder to think of the horrendous compile times I got from even small TypeScript projects, and the days I'd waste trying to debug them.
patrick4511 reply#
It's so curious to me that functional disciples wear this as a badge of honor. In nearly all other facets of software development, we get badgered that it's better to produce code your entire team understands (code is read more often than written and all that) than code which only makes sense to you. If I ran around talking up the zen of single letter variables, my team would shoo me out of the room, and almost nobody on HN would applaud me for it. But for some reason, functional programming tends to get a pass, despite it just not clicking for a large swath of team mates.
tasuki1 reply#
> If I ran around talking up the zen of single letter variables, my team would shoo me out of the room, and almost nobody on HN would applaud me for it.

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!

patrick4511 reply#
If you and half your team a not smart of enough for functional programming, along what dimensions is it clearly superior? Just like with single letter variables that only make sense to the author, if functional design only makes sense to one or two people on a team of many, it's clearly inferior.

Continue this thread — 1 reply

sixothree2 replies#
Everything paired with AstroGrep (or your favorite grep program) is the ultimate pair for searching on Windows. We pretty much force new devs to install these otherwise we watch them struggle for way too long.
frizzlebox#
Everything is a godsend and ought to be built into Windows.

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.

smusamashah#
I use RipGrep with it.
radicalriddler#
Yup, Everything is a godsend. It also makes it more likely for me to download a portable exe instead of a full install because I can quick search for the exe, where as windows search struggles.
Alifatisk2 replies#
Everything combined with Wox
aagha2 replies#
Loved Wox. Try Fluentsearch.
dr_kiszonka#
I have been using listary but this looks amazing!
Alifatisk#
That's a gorgeous app, thank you!

Update: Just tried it, I think I'll stick to Wox, Wox feels "snappy".

gadders#
I use Launchy which I really like.
Sugimot0#
I switched to linux a long time ago so now i use plocate, but on windows everything was a must! Also directory opus was a nice file manager, not sure if there's a new/better foss alternative yet.
LVB4 replies#
GitHub Copilot

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 my way there as quickly as possible.

boplicity#
I'm in a similar position -- I only code because I enjoy it, but I also just don't have the time to actually finish the coding projects that I'd like to. Plus, I'm a pretty bad coder because I only have a few hours every couple of weeks to focus on it, outside of the occasional bigger project. I'm going to look into Copilot to see if it can help me actually do what I want.
superasn1 reply#
Yes there has been a lot of hot things in A.I. in 2022 but most of them are mostly novelty value like Dall-E/SD and sometimes worse like SEO spam.

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.

esperent2 replies#
> mostly novelty value like Dall-E/SD

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.

Continue this thread — 2 replies

Continue this thread — 2 more replies

Load more comments