steersman2484
@steersman2484@sh.itjust.works
- Comment on Somehow USB disks are still the easiest and most reliable way 3 months ago:
You mean I can backup my 20tb NAS on QR codes?
- Comment on Somehow USB disks are still the easiest and most reliable way 3 months ago:
Sometimes I need to print out stuff for my grandmother
- Comment on Somehow USB disks are still the easiest and most reliable way 3 months ago:
I use a private room in my Matrix instance
- Comment on Somehow USB disks are still the easiest and most reliable way 3 months ago:
I just add the printer on my phone and print over the network
- Comment on Rest, weary traveler 3 months ago:
But this is the 3rd post
- Comment on Innovation or Overreach? UH Research Casts blame on OceanGate's Submersible Design says: Low quality carbon fibre lead to the accident 6 months ago:
- Comment on [deleted] 6 months ago:
I just memeory leak and gain infinite performance /s
- Comment on Don't forget! 7 months ago:
Most of them don’t go over 20kHz as this is the max a human can hear. The lowest 5G frequenzy is 450MHz, therefore no, even if you would use sound as a medium.
- Comment on known proxy for jellyfin in container? 7 months ago:
I agree on your take, but I don’t think that “future scaling” is a concern for the most home users.
- Comment on Appreciation / shock at workplace IT systems 7 months ago:
How could you tell it was secure?
- Comment on I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS 8 months ago:
Isn’t the second if condition
false
? - Comment on After 1.5 years of learning selfhosting, this is where I'm at 9 months ago:
Maybe he is just seeding Linux ISOs on the private trackers
- Comment on Unison | A friendly, statically-typed, functional programming language from the future · Unison programming language 10 months ago:
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?
- Comment on Unison | A friendly, statically-typed, functional programming language from the future · Unison programming language 10 months ago:
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?
- Comment on Unison | A friendly, statically-typed, functional programming language from the future · Unison programming language 10 months ago:
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
- Comment on Unison | A friendly, statically-typed, functional programming language from the future · Unison programming language 10 months ago:
There are no imports, these are type annotations
- Comment on I remade ZPhisher in Rust (cross-platform) 10 months ago:
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
- Comment on We did this to ourselves 1 year ago:
if (theorems_for(free)) make_instance_of(x, String)
- Comment on Looking for some selfhosted webscanner/scraper 1 year ago:
You 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.
- Comment on What is this format specifier? 1 year ago:
Please put your code between tripple backticks in a seperate line above an below your code. Single backticks are only for
inline code
like this.To answer your question, the
%.2f
means it should only print two digits after the decimal point.You can also use some other variations like this:
%2f
print the number at least 2 characters wide%5.2
print the number at leadt 5 characters wide with a precision of two digits after the decimal point%05.2
the same as above, but fill leading digits with zeros
Just play a bit around with it and you will get it.
- Comment on Simple trick 1 year ago:
Graphene just changed it to be enabled by default
But maybe they hat this feature earlier than AOSP