News for hackers. Stuff that matters.

mebble

Re:Show HN: Ltag – A Go CLI tool to tag your text lines on Saturday October 28, 2023 @12:45AM (#38047218)
Ahh I don’t know how i missed that. I guess i didn’t see the forest for the trees. This looks like the right way to go
Re:Show HN: Ltag – A Go CLI tool to tag your text lines on Friday October 27, 2023 @01:38PM (#38041503)
Thanks! And yeah we can put an empty line to break off into a new category. So essentially it's one category per paragraph. Within a paragraph, there can be sub-categories one level deep. You can also put tags inline.

I'm still trying to figure out how to allow nesting categories an arbitrary number of levels deep. But I don't want to introduce extra symbols and stuff, it'll be too much complexity too early on. I can imagine that for most cases, headings, sub-headings and inline tags are enough.

I will allow more customisation soon, such as using multiple heading identifiers. I'll add features as the need arises. I haven't used it for very long myself.

Show HN: Ltag – A Go CLI tool to tag your text lines

https://github.com/mebble/ltag

This is a tool I wrote to address a need I had: to search over lines of text, but by "tag" or "category". I created ltag to add tags to plaintext lines, and rely on fzf to do the searching for me. ltag interacts with the outside world only through stdin and stdout, so that it interfaces easily with other CLI tools.

( Read More... | 4 comments | on HN )
indian news channels have entered the chat
Of which I've been very grateful for
I've been programming in JS for years now and only picked up clojure last september. I love it. I started with "Clojure for the Brave and True" and then went on to solve codewars challenges and make web apps in clojurescript.

I completely agree with your point about learning something different. Clojure is really good at handling immutable data, lazy evaluation, macros. So you can write elegant code that would be inefficient/unweildy in something like js or python

Re:Show HN: Lander, a lunar lander style web game on Monday March 06, 2023 @09:33AM (#35041455)
I think you meant to do that

Score: 75.8 point crash Speed: 509.3mph Angle: 172.9° Time: 101 seconds Flips: 0 Max speed: 509.3mph Max height: 6618ft Engine used: 8 times Boosters used: 42 times https://ehmorris.com/lander/

Re:Ask HN: Real-world anecdotes of MySQL at scale? on Wednesday September 28, 2022 @12:15PM (#33009711)
> The biggest failure in this architecture was sharing sql queries as opposed to sharing service calls

noob question but what do “sharing queries” and “sharing service calls” mean?

I also use RSS on Inoreader. Helps me avoid scanning through the site for good content. But I think this doesn't help the problem brought up by OP
Re:Ask HN: Tips to relearn how to care about my job? on Sunday September 25, 2022 @10:50AM (#32971861)
I’m in a similar position right now as well. Hope my boss doesn’t see this
Re:Ask HN: How do you switch between programming languages? on Sunday September 25, 2022 @01:39AM (#32969209)
I think you should just spend a significant amount of time in both languages and over time you’ll be all good.

I programmed in JS for a year before picking up python. I would struggle with python’s syntax for a while but over time it just worked out. Same thing now with clojure.

I think it’s the same as being bilingual. Your brain just switches effortlessly given enough practice

Re:Ask HN: What'd be possible with 1000x faster CPUs? on Friday September 23, 2022 @10:49AM (#32952687)
40 thousand years of evolution and we barely even tapped the vastness of Atlassian functionality potential
Re:Ask HN: How do you discover new music? on Monday September 19, 2022 @09:34PM (#32906572)
I usually go to “Artist Radio” on spotify. It will get you similar artists. Not sure if this is curated by a human or generated by an algo
Re:Poll: What did you name the parent dir where you keep code? on Friday September 16, 2022 @09:40AM (#32865914)
Same