So many forks for something that can be solved entirely with bash inbuilts
- 0 posts
- 19 comments
- steersman2484@sh.itjust.workstoProgramming@programming.dev•Amber - the programming language compiled to Bash2 years
Squash me later
I agree on your take, but I don’t think that “future scaling” is a concern for the most home users.
- steersman2484@sh.itjust.worksto
Selfhosted@lemmy.world•Appreciation / shock at workplace IT systemsEnglish
2 yearsHow could you tell it was secure?
- steersman2484@sh.itjust.worksto
Programmer Humor@programming.dev•I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS
2 yearsIsn’t the second if condition
false?
- steersman2484@sh.itjust.worksto
Selfhosted@lemmy.world•After 1.5 years of learning selfhosting, this is where I'm atEnglish
2 yearsMaybe he is just seeding Linux ISOs on the private trackers
- steersman2484@sh.itjust.workstoProgramming@programming.dev•Do any of you program on non-US keyboard layouts?2 years
I have a custom split keyboard (lily58) and use the neo special character layer as my lower layer
But only if you don’t look
- steersman2484@sh.itjust.workstoProgramming@programming.dev•Unison | A friendly, statically-typed, functional programming language from the future · Unison programming language3 years
Sounds good,
but would the preferred way be to use a wrapper type, which holds either the data or the error and avoid exceptions completely?
- steersman2484@sh.itjust.workstoProgramming@programming.dev•Unison | A friendly, statically-typed, functional programming language from the future · Unison programming language3 years
I’m currently learning functional languages and have only limited knowledge, but from what I’ve read now you are right. Throwing exceptions is pure, but catching them is impure.
In this case I guess the printLine function can throw an exception therefore the calling function must be declared with Exception?
- steersman2484@sh.itjust.workstoProgramming@programming.dev•Unison | A friendly, statically-typed, functional programming language from the future · Unison programming language3 years
Yes, in functional programming you want to use pure functions. Exceptions are impure, therefore it has to be declared.
Other functional languages don’t even have exceptions
- steersman2484@sh.itjust.workstoProgramming@programming.dev•Unison | A friendly, statically-typed, functional programming language from the future · Unison programming language3 years
There are no imports, these are type annotations
- steersman2484@sh.itjust.workstoProgramming@programming.dev•I remade ZPhisher in Rust (cross-platform)3 years
I would remove the keybinding Ctrl + Alt + T for opening the terminal in the README for distros like Arch and Gentoo.
It depends on the installed DE/WM and can be incorrect depending on the users config
if (theorems_for(free)) make_instance_of(x, String)
- steersman2484@sh.itjust.worksto
Selfhosted@lemmy.world•Looking for some selfhosted webscanner/scraperEnglish
3 yearsYou could try Puppeteer, but I don’t know if you can check third party cookies.
Also I can recommend using Apache Airflow for automation. It is like a fancy crontab with a webui and email notifications, and lots of other stuff.
Please put your code between tripple backticks in a seperate line above an below your code. Single backticks are only for
inline codelike this.To answer your question, the
.2fmeans it should only print two digits after the decimal point.You can also use some other variations like this:
%2fprint the number at least 2 characters wide%5.2print the number at least 5 characters wide with a precision of two digits after the decimal point%05.2the same as above, but fill leading digits with zeros
This is just formatting, play a bit around with it and you will get it.
Graphene just changed it to be enabled by default
But maybe they hat this feature earlier than AOSP


Did the same in school on a Z80