Live data from Hacker News

Bashblog – a single bash script to create blogs

github.com

21–30 of 93 posts

Re: Bashblog – a single bash script to create blogs

#21
post #16

Its time to invent something lightweight and good which runtime is so small that it becomes a system default. like a microvm with normal language features. Something you can and want to actually attach a debugger onto it. Something independent of architecture too. I just hate bash :| Even just using bash and curl and checking if its a website or an error page...

I use Python for that, since I know it will always be on my machine. Is this what you have in mind?

Yeah but i have Python PTSD from all this Python 2 vs. 3 shit :D

Re: Bashblog – a single bash script to create blogs

#22
post #11

Earlier quoted context omitted.

What? That's how open source works

Package management in the distro is also how FOSS works?

Things that end up in curated package repositories like those of the various significant distros, have usually spent time growing on the random developer's own page (most common in the past) or said random developer's account on a forge like github (most common in more modern times).

Standard repos might be were many discover things, but those things don't normally get there until they've build a following, so the random developers page is the more significant vector overall.

Re: Bashblog – a single bash script to create blogs

#23
post #19

Its time to invent something lightweight and good which runtime is so small that it becomes a system default. like a microvm with normal language features. Something you can and want to actually attach a debugger onto it. Something independent of architecture too. I just hate bash :| Even just using bash and curl and checking if its a website or an error page...

Go has a fast enough compile speed I feel like you could syntactically sugar it to be a command line.

Yeah but its not scripty enough and has not enough easy stuff build in.

Re: Bashblog – a single bash script to create blogs

#24
post #19

Earlier quoted context omitted.

Go has a fast enough compile speed I feel like you could syntactically sugar it to be a command line.

Yeah but its not scripty enough and has not enough easy stuff build in.

https://www.tcl-lang.org/

Many people have made micro Tcl’s too if you want something even lighter.

It has a built in subst command no need for a template engine!

Re: Bashblog – a single bash script to create blogs

#25

This is a good example of a program I would like to use if it was distributed in the standard repo of my OS, rather than totally unvetted on the Microsoft Github page of a random developer. PS: I don't know why HN allows downvoting seeing how it is always so abused. Nothing I wrote here is factually false, and what remains is just my personal opinion as a principled user of FOSS. A bit of tolerance for others' viewpo…

for what we need downvoting and upvoting? I thought: - upvote if you like/agree - downvote if you dont like/disagree Am I wrong?

Re: Bashblog – a single bash script to create blogs

#26

This is a good example of a program I would like to use if it was distributed in the standard repo of my OS, rather than totally unvetted on the Microsoft Github page of a random developer. PS: I don't know why HN allows downvoting seeing how it is always so abused. Nothing I wrote here is factually false, and what remains is just my personal opinion as a principled user of FOSS. A bit of tolerance for others' viewpo…

for what we need downvoting and upvoting? I thought: - upvote if you like/agree - downvote if you dont like/disagree Am I wrong?

This reads like parody! In a sane world (and I believe the HN community rules are fairly sane) we should be upvoting things that are interesting, or insightful, or informative, or otherwise tickle our curiosity. Not just because we agree with them! After all, who cares that I agree with something? Everyone has an opinion on everything, opinions in themselves are cheap and uninteresting.

Re: Bashblog – a single bash script to create blogs

#27

Its time to invent something lightweight and good which runtime is so small that it becomes a system default. like a microvm with normal language features. Something you can and want to actually attach a debugger onto it. Something independent of architecture too. I just hate bash :| Even just using bash and curl and checking if its a website or an error page...

Nim might be an option. It even has a subset to be used for scripting purposes.

Re: Bashblog – a single bash script to create blogs

#28

Its time to invent something lightweight and good which runtime is so small that it becomes a system default. like a microvm with normal language features. Something you can and want to actually attach a debugger onto it. Something independent of architecture too. I just hate bash :| Even just using bash and curl and checking if its a website or an error page...

Python already fills this role.

Re: Bashblog – a single bash script to create blogs

#29

Earlier quoted context omitted.

for what we need downvoting and upvoting? I thought: - upvote if you like/agree - downvote if you dont like/disagree Am I wrong?

This reads like parody! In a sane world (and I believe the HN community rules are fairly sane) we should be upvoting things that are interesting , or insightful , or informative , or otherwise tickle our curiosity . Not just because we agree with them! After all, who cares that I agree with something? Everyone has an opinion on everything, opinions in themselves are cheap and uninteresting.

It's not interesting or insightful to take potshots at a project because it's hosted on GitHub.

Re: Bashblog – a single bash script to create blogs

#30
post #7

Earlier quoted context omitted.

Awful old Bash. I hate it. Seriously I don't know why you'd do this in Bash. Crazy choice.

Known system dependency that's (almost) always on the system you're on. I remember somebody once telling me that they had learned vi because "it was always installed". Well, no, technically, the only editor you can be sure is there is ed. So, you know, learn that. I was surprised that they actually did. Bash is syntactically not perfect, I agree. However it's a well known, mature, stable environment. LLMs can write i…

Who's updating their blog from a random machine without Python on it, though?
Post reply on HN