- 20 Posts
- 16 Comments
lens0021@programming.devOPto
Linux@programming.dev•Amber the programming language compiled to Bash, 0.5.1 release
1·11 days agoFish is my main shell of choice and I use my self-written functions(https://github.com/lens0021/Lens0021_Personal.Fish/blob/main/conf.d/lens0021_personal.fish) daily. But it is hard for me to say Fish’s syntax is not weird. Especially, I’m a little fuzzy on how to use
argparse. I am sorry.
lens0021@programming.devOPto
Linux@programming.dev•Amber the programming language compiled to Bash, 0.5.1 release
3·11 days agoCurrently, Amber does not even support Bash 2 because Bash 2 does not support the
+=operator. (ticket) However, I believe that POSIX compliance is on Amber’s long-term milestone, and that it will eventually achieve this as its support range expands.
lens0021@programming.devOPto
Linux@programming.dev•Amber the programming language compiled to Bash, 0.5.1 release
3·11 days agotbh, I wouldn’t recommend that during alpha staging. There are still many bugs.
lens0021@programming.devOPto
Linux@programming.dev•Amber the programming language compiled to Bash, 0.5.1 release
3·11 days agoYep, the code you provided is compiled into this:
command_0="$(cat file.txt | grep "READY")" __status=$? if [ "${__status}" != 0 ]; then echo "Failed to read the file" fiSo, the outcome would depend on the
pipefailoption. (set -o pipefail)As you suggested, an Amberic snippet would be:
import { file_read } from "std/fs" import { match_regex } from "std/text" const result = file_read("file.txt") failed { echo "Failed to read the file" } if match_regex(result, "READY"): echo "file.txt contains READY"
We are improving compilation performance through (1) parallel compilation in the compiler front-end, which delivers 20-30% faster builds, and (2) making the Cranelift backend production-ready for development use, offering roughly 20% faster code generation compared to LLVM for debug builds.
👍
lens0021@programming.devto
Linux@lemmy.ml•To the Korean Linux users: Which distro would you recommend?
0·2 months agoMine is also a joke. KakaoTalk, the most used massenger app in South Korea does not support Linux, a Wine approch is half-broken, and a WIP reverse-engineered Typescript & Rust based open-source client is not yet fully developed and never.
lens0021@programming.devto
Linux@lemmy.ml•To the Korean Linux users: Which distro would you recommend?
0·2 months agoWhat? I never heard that OS before though I am living in Korea. What are the pros of the OS? Does it have a native support for Kakao Talk?
lens0021@programming.devOPto
OpenStreetMap community@lemmy.ml•Organic Maps can be set as default navigation app in EU on iOS, and road shields displaying on AndroidEnglish
0·2 months agoWell, yesterday I visited the contributors pages on github(both of OrganicMaps and the mirror of CoMaps), I could not be sure CoMaps has an enough number of maintainers.
lens0021@programming.devOPto
OpenStreetMap community@lemmy.ml•Organic Maps can be set as default navigation app in EU on iOS, and road shields displaying on AndroidEnglish
0·2 months agoYou are absolutely right. I’ve edited the title from “Organic Maps as default navigation app in EU on iOS, and road shields displaying on Android” to “Organic Maps can be set as default navigation app in EU on iOS, and road shields displaying on Android”. I am sorry for late response. I was at work and couldn’t check.
lens0021@programming.devto
Linux@lemmy.ml•To the Korean Linux users: Which distro would you recommend?
0·2 months agoI assumed an ordinary person. My parents use the “한영키” to switch between Hangul and the alphabet. While I’m geeky enough to configure my Caps Lock key to function like that switch, most people wouldn’t even imagine that functionality is configurable.
lens0021@programming.devto
Linux@lemmy.ml•To the Korean Linux users: Which distro would you recommend?
0·2 months agoIf you’re okay with ibus-hangul, you can configure the keyroard shortcut for Gram.

Click “Add” and press “한/영” key on the keyboard.
ibus
lens0021@programming.devto
Linux@lemmy.ml•To the Korean Linux users: Which distro would you recommend?
0·2 months agoAll Korean keyboards, including the one on my LG Gram (which is a Korean model), have a dedicated key for switching between English and Korean (the “한영키”). Everyone who isn’t technically inclined uses this key. Using Ctrl + Space is a bad user experience.
I want to read more, but sadly curl is the only article on the site.
lens0021@programming.devOPto
Python@programming.dev•Release 0.0.1-alpha.22 · astral-sh/ty
0·2 months agoThank you for your kind words! Meanwhile, thanks to logging_strict, I discovered that GA and Beta milestones are set on the https://github.com/astral-sh/ty/milestones page, and the Beta milestone is 69% complete. Looking forward to ty’s GA.
lens0021@programming.devOPto
Python@programming.dev•Release 0.0.1-alpha.22 · astral-sh/ty
0·2 months agoI posted because I was happy to see some software in growing up. If you are not comfortable, I will not post this kind again.















Thank you for this comment. I’m revisiting this comment because I need to write this…