Better HN
topnewbestaskshowjobs
Log inSign up

mitnk

184 karma · joined Oct 28, 2011 (15y ago) · 28 submissions

Submissions

comment 3y ago · link · parent

R.i.P - My id was originated from his name..

comment 4y ago · link · parent

Also:

- https://github.com/saschagrunert/demystifying-containers

- https://ericchiang.github.io/post/containers-from-scratch/

comment 4y ago · link · parent

lol..

https://github.com/notepad-plus-plus/notepad-plus-plus/blob/...

comment 4y ago · link · parent

Nice series, thanks.

In day2, the author refactored some "old-school" code[1], I'd say I prefer the old-school version (the new version is less readable to me). Old-school is not out-dated nor in-correct IMO.

[1] https://ibb.co/C0cYbdt

comment 5y ago · link · parent

Is there a DR version of github.com's?

comment 5y ago · link · parent

pkg.go.dev --> go.dev/pkg/ would be better.

comment 5y ago · link · parent

There is always a group of people wanting to "hack" terminals into GUI-targeting, glittering app ;)

comment 5y ago · link · parent

Another direction to learn Linux/Unix is spending time to learn from decent books like TLPI.

https://man7.org/tlpi/

9.

Rust Unsafe Explained(nora.codes ↗)

1 points · by mitnk · 7y ago · discuss

comment 7y ago · link · parent

For `touch a b; echo "$(echo "$(echo "$(ls)")")"`, I'll think about it.

It looks like a bad command to me (nested $ and nested `"` do not smell good). Probably I would mark this a wont-fix. But if I found I does make sense (useful in some meaningful places) - I'll consider to update cicada to align with Bash. Thanks for reporting.

comment 7y ago · link · parent

# you have to use full path to make it work:

cicada> /bin/1

A bare `1` is a math arithmetic, as described in README, which with a higher precedence.

comment 7y ago · link · parent

Yeah, I submited once on HN about this project two years ago. Since then quite a few new features have been added and some improvements are made. So it's time to expand the user base a bit :)

Now cicada shell is still have some issues, but overall it's quite usable. I hope it could be useful for people who are seeking simplicity and speed in daily use of the shell.

13.

Cicada: A Bash-like Unix shell written in Rust(github.com ↗)

125 points · by mitnk · 7y ago · 26 comments

comment 7y ago · link · parent

> This is very memory intensive.

Only for ones not familiar with awk.

It would make a lot of sense after you understand how awk works (as the article explains).

comment 7y ago · link · parent

The man page of (n)awk [0][1] is surprisingly short and readable.

[0] `man awk` on mac

[1] online version https://www.mankier.com/1/nawk

[2] gawk's man page works great as a reference https://www.mankier.com/1/gawk

16.

Announcing dep v0.4.1 (Golang)(golang.github.io ↗)

4 points · by mitnk · 8y ago · discuss

comment 9y ago · link · parent

You need xonsh - http://xon.sh/ :)

comment 9y ago · link · parent

You're right, I consider Cicada is the "old" generation shell. I intend to keep it simple (for speed etc). Like in readme, it won't introduce functions or other complex stuff. But still can add some feature for my own needs.

For modern shell, please check out xonsh: http://xon.sh/ - powered by Python - It's super cool!

comment 9y ago · link · parent

Yes, I haven't provided the pre-built binaries yet. Maybe I should..

20.

Cicada – Unix shell written in Rust(github.com ↗)

244 points · by mitnk · 9y ago · 166 comments

21.

Cicada – a simple, semi-toy Unix shell written in Rust(github.com ↗)

3 points · by mitnk · 9y ago · discuss

comment 10y ago · link · parent

seems an implementation of the book - Code https://www.amazon.com/dp/B00JDMPOK2/ref=dp-kindle-redirect?...

comment 10y ago · link · parent

GIMP stuck on Mac at times. Hope this version be better. Thanks for sharing!