News for hackers. Stuff that matters.

mitnk

Re:Kevin Mitnick has died on Thursday July 20, 2023 @07:01AM (#36798904)
R.i.P - My id was originated from his name..
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

Re:Frontpage – Terms of Service; Didn't Read on Monday August 23, 2021 @04:47AM (#28273582)
Is there a DR version of github.com's?
Re:Golang.org will be merged into go.dev on Saturday August 21, 2021 @12:50AM (#28254305)
pkg.go.dev --> go.dev/pkg/ would be better.
Re:Zsh Tricks to Blow Your Mind on Thursday February 18, 2021 @06:45AM (#26178728)
There is always a group of people wanting to "hack" terminals into GUI-targeting, glittering app ;)
Re:Getting better at Linux with mini-projects on Wednesday February 03, 2021 @02:26AM (#26011409)
Another direction to learn Linux/Unix is spending time to learn from decent books like TLPI.

https://man7.org/tlpi/

Re:Cicada: A Bash-like Unix shell written in Rust on Tuesday July 09, 2019 @10:48AM (#20392292)
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.

Re:Cicada: A Bash-like Unix shell written in Rust on Tuesday July 09, 2019 @10:33AM (#20392121)
# 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.

Re:Cicada: A Bash-like Unix shell written in Rust on Tuesday July 09, 2019 @02:02AM (#20389334)
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.

> 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).

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

Re:Cicada – Unix shell written in Rust on Saturday July 01, 2017 @02:53AM (#14675780)
You need xonsh - http://xon.sh/ :)
Re:Cicada – Unix shell written in Rust on Saturday July 01, 2017 @02:46AM (#14675761)
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!

Re:Cicada – Unix shell written in Rust on Saturday July 01, 2017 @02:43AM (#14675754)
Yes, I haven't provided the pre-built binaries yet. Maybe I should..
Re:Megaprocessor – A micro-processor built large on Friday August 19, 2016 @05:50AM (#12318939)
seems an implementation of the book - Code https://www.amazon.com/dp/B00JDMPOK2/ref=dp-kindle-redirect?...
Re:Gimp 2.9.4 Released on Thursday July 14, 2016 @02:55AM (#12092084)
GIMP stuck on Mac at times. Hope this version be better. Thanks for sharing!