- 95 Posts
- 20 Comments
lens0021@programming.devOPto
Terraform@programming.dev•HashiCorp ‘Sunsets’ Terraform CDK (CDKTF)English
2·6 days agoCDKTF is not Terraform. Don’t confuse the two.
lens0021@programming.devOPto
Linux@programming.dev•Amber the programming language compiled to Bash, 0.5.1 release
1·15 days agoThank you for this comment. I’m revisiting this comment because I need to write this…

lens0021@programming.devOPto
Linux@programming.dev•Amber the programming language compiled to Bash, 0.5.1 release
1·16 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·16 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·16 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·16 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"
lens0021@programming.devto
Opensource@programming.dev•Collabora Office Brings Its Online UI to the Desktop on Linux, Windows, and macOS
5·20 days agoI will try this. I rarely open xls files and all the icons on libre Calc look… old. They feel like they’re straight out of the year 2000 (which might be true). I tried changing the theme, but none of them suited my taste.
The bad thing is Collabora only provides a single flatpak file for Linux. I wish it would be served on flathub. I was so disappointed enough that I tried OnlyOffice yesterday, but all the UI components of OnlyOffice are too large for my screen and the available scaling factor options are 100%, 125%, and so on while what I really need 75%. There is a feature request for this by the way.
lens0021@programming.devOPto
PHP@programming.dev•[PHP-DEV] Fwd: [DISCUSSION] Proposal: Official PHP Language Server (LSP Implementation)
1·1 month agoI don’t know where the original discussion took place, so the title includes “fwd.”
lens0021@programming.devOPMto
MediaWiki@programming.dev•Wikimedia Tech News: 2025-45English
1·2 months agoWhat I am interested in:
- … Special:MergeHistory is now significantly more flexible …
- Scribunto modules can now be used to generate SVG images.
- … provide all anonymous users with the option to enable a dark mode …
lens0021@programming.devOPto
Web Development@programming.dev•VoidZero Raises $12.5M Series A
1·2 months agoI wonder if they want to be the Astral of the JavaScript world, and if that’s even possible.
I don’t know why this is just added. Maybe one of them has started their sponsorship recently? Also, I can’t imagine the reason why Warp sporsors a mobile terminal app.
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.
👍
I want to read more, but sadly curl is the only article on the site.
lens0021@programming.devto
MediaWiki@lemmy.cafe•How to make a collapsed bullet list (*not* table or discussion), with an "Expand/Show" button?English
2·2 months agoI’ve come up with a better idea. Try this
<div class="mw-collapsible mw-collapsed"> Title of bullet list <div class="mw-collapsible-content"> * item * another item * yet another item </div></div>
lens0021@programming.devto
MediaWiki@lemmy.cafe•How to make a collapsed bullet list (*not* table or discussion), with an "Expand/Show" button?English
2·2 months agoI never thought of this before, but you can achieve this with raw HTML tags. The manual: https://www.mediawiki.org/wiki/Manual:Collapsible_elements An example: https://www.mediawiki.org/?oldid=7943916. This is jQuery way because the <details> tag is not supported yet. (https://phabricator.wikimedia.org/T31118)
lens0021@programming.devOPMto
MediaWiki@programming.dev•Miraheze temporarily reverted their plan to replace OpenAI with Ollama when reviewing wiki creation requestsEnglish
1·2 months agoNo detailed reason written. I think I had heard that Miraheze was planning to use AI for reviewing wiki creation requests, but I didn’t know the details. I also just learned they’re trying out Ollama. I’m sharing this because it’s the first time I’ve seen Ollama being used in a production environment.
lens0021@programming.devto
Rust@programming.dev•People are complaining about rustfmt, but it is effectively unmaintained
1·2 months agoI believe all you already read the reply from the devtools team lead https://github.com/rust-lang/rustfmt/issues/6678#issuecomment-3382819708
lens0021@programming.devOPto
Python@programming.dev•Release 0.0.1-alpha.22 · astral-sh/ty
3·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
3·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.














Is it April Fool’s Day already?