Readit News logoReadit News
cylemons commented on I got hacked: My Hetzner server started mining Monero   blog.jakesaunders.dev/my-... · Posted by u/jakelsaunders94
Hendrikto · 4 days ago
The main reason to use Monero for stuff like this is their mining algo. They made big efforts and changed algorithms several times to make and keep it GPU and ASIC resistant.

If you used the server to mine Bitcoin, you would make approximately zero (0) profit, even if somebody else pays for the server.

But also yes, Monero has technically held up very well.

cylemons · 3 days ago
Didn't Qubic manage to attack Monero?
cylemons commented on Rats Play DOOM   ratsplaydoom.com/... · Posted by u/ano-ther
Buttons840 · 8 days ago
Yep. And money is just another kind of chip. What's so great about money?
cylemons · 8 days ago
It gets exchanged for hamburgers
cylemons commented on A “frozen” dictionary for Python   lwn.net/SubscriberLink/10... · Posted by u/jwilk
thechao · 10 days ago
And, yet, somehow, functional languages have been doing this since forever? I jest, I jest! There's an entire field of study focused on this! I'm no expert, but imagine you've got a singly-linked list, and we're going to allow only push_back() and pull_back() (no insert()). Let's go ahead and let multiple owners have at this list. If A does "pull_back()" what really happens is A has a local "tail" pointer that moves back along the end of the list and has a new belief about the end of the list. When A does "push_back()" it begins attaching links at its new tail. Since the links just "point backwards" without modifying the old links, this doesn't mutate the list "as is", it only mutates A's version of the list. So, if B is also looking at the list, it could just start doing "push_back()" and add its own "tail". The result is a data-structure that's a "bunch of shared singly linked lists" in a bush structure that's more akin to a tree than a singly linked list.

You can do the same thing with binary trees and other structures. It's more fiddly, and there's definitely places where single-ownership allows mutability "under the hood" for real performance gains, but that's the basic idea.

cylemons · 10 days ago
Interesting, I didn't think about that, so it is copying on write but on a more granular level
cylemons commented on Dependable C   dependablec.org/... · Posted by u/RossBencina
torstenvl · 11 days ago
Which assembly? Assembly with macros? Assembly with synthetic instructions?

If you use

    mov %i0, %l0
instead of

    or %g0, %i0, %l0
Then that isn't "the lowest level you can target."

cylemons · 10 days ago
I was thinking of x86 when I wrote that, also I am not sure macros count as an abstraction level since they are just preprocessors?

What I meant to say is that since there is no way to directly write microcode, assembly is the lowest level software can target.

cylemons commented on A “frozen” dictionary for Python   lwn.net/SubscriberLink/10... · Posted by u/jwilk
perrygeo · 10 days ago
Python discovers immutable data, and gets it wrong. Frozendict is a blunt instrument - instead of a mutable free-for-all, it just locks the data for the entire lifecycle. Brace for the wave of code littered with deep copies, proudly proclaiming how functional it all is.

If you want real immutable data structures, not a cheap imitation, check out pyrsistent.

cylemons · 10 days ago
How else would you "modify" immutable data other than by copying it?
cylemons commented on Dependable C   dependablec.org/... · Posted by u/RossBencina
vnorilo · 12 days ago
And yet modern assembly does not correspond 1:1 to the micro-ops the CPU runs or even necessarily the order in which they run.

Both ISA-level assembly and C are targeting an abstract machine model, even if the former is somewhat further removed from hardware reality.

cylemons · 12 days ago
Sure but from software POV assembly is the lowest level you can target
cylemons commented on IBM CEO says there is 'no way' spending on AI data centers will pay off   businessinsider.com/ibm-c... · Posted by u/nabla9
jojobas · 18 days ago
Wikipedia says their PC revenue was twice Apple's by 1984 at $4 billion/year. Not bad for a side hustle?

My understanding is that clones were a net positive, just like widespread Windows/Office piracy is a net positive for MS.

cylemons · 15 days ago
fair enough
cylemons commented on IBM CEO says there is 'no way' spending on AI data centers will pay off   businessinsider.com/ibm-c... · Posted by u/nabla9
jojobas · 19 days ago
DEC went down the drain, Xerox is 1/1000 of IBM's market cap. IBM made its own, superior by its relative openness, personal computer that ended up running the world, mostly maintaining direct binary compatibility for 40+ years, even without IBM really paying attention.
cylemons · 18 days ago
How much did IBM itself benefit from the PC? I thought the clones ate their lunch there
cylemons commented on Judge denies request to exempt Flock footage from Public Records Act   goskagit.com/news/local_n... · Posted by u/p_ing
deaux · a month ago
Every time I see this in the comments it's funny that they don't block me while connecting from country whose digital privacy laws are basically an even stronger version of the GDPR. Tells you about their true reasoning.
cylemons · a month ago
seriously, what would their true reasoning be
cylemons commented on Uv is the best thing to happen to the Python ecosystem in a decade   emily.space/posts/251023-... · Posted by u/todsacerdoti
matsemann · 2 months ago
What you describe I think is what most other people hate the most about python. The fact that everything pollutes the global environment, which then becomes a mess of things depending on various versions, which also ends up breaking tools included in the OS and suddenly your whole system is effed.
cylemons · 2 months ago
System package management is a mess in the first place, if you have a program that uses python then all the packages that it uses need to be installed globally, so you have python packages bundled as system packages which can conflict with that same package installed with pip.

u/cylemons

KarmaCake day79January 18, 2023View Original