Alright, I think I have it working pretty well, now! My arbitrary length positive integer codec for arbitrary ascii encoding is "finished"!
I can convert numeric (dec, bin, ter, quad, etc.), alphabetical, alphanumeric (case sensitive and non-sensitive, like hex, bech32, base58), other non-alphanumeric like base64 (includes a '+' and a '/'), and any arbitrary encoding that can be expressed as a non-repeating sequence of characters (can be expressed as a Vec
I took a base64 integer of length 8161 digits (the max length the command line would allow me to enter) and converted to alphabetical, hex, and decimal, and it only took a couple seconds.
There are a few optimizations I could make, like checking for bases of powers of two and using shifts rather than multiplications and divides, doing more bulk operations of the Vec
I think I might also be able to create a few new large-integer types that would act like u256, u512, u2048, etc., using arrays rather than vectors, and that might unlock more optimizations. However, this was only a challenge I gave myself so I could learn Rust, so I might not so I can move on to learn more and start on other projects.
What do I do with it now?
#learnRust #rust #ask Nostr
Man! BTC is on huge discount right now! I hope it stays for awhile so my DCA can catch up.
Honestly, it might be evidence enough to do so with the data on voting patterns versus "time of the month", if you catch my drift. They're much more taken by the feels than principles on many matters.
And here I thought she was a pretty decent pick... proved me wrong
Pro tip:
Use sections of cardboard to wrap the string lights and garlands into individual bundles.

Do they have a multi-year report? If like to know what today's dollars are worth as compared to 2020 pre-pandemic.
For those without Tidal: https://music.youtube.com/watch?v=qY7r7gOWdJg&si=o12nzS3KDQYGLvvR
But there are only 64-bits of accuracy on IPv4! That's only 4 billion addresses! There are twice as many people on the planet right now! How can each person be individually addressable, let alone each device, with only 64 bits!?!
/s
https://x.com/realest49919420/status/1748697671966056841 orange pillers be like, fake story. Real estate only goes up
$2k/mo to have someone else mother your child seems like a real ripoff.
There's significant evidence that women are more manipulable publicly. This comes out of being concerned with being fashionable and socially conformant. That leads to bad actors having more control over them and thus more political power.
I agree, and a growing movement likewise.
Huh... looks like I have an issue with the encoding step. Works well on decimal and hex numbers, but my base64 encode doesn't match other tools for my test. I found one error in starting at '0' rather than 'A', but correcting that didn't fix the issue.
Am I missing something about the standard base64 encoding?
#rust #learnrust #asknostr
Was learning Rust by writing an arbitrary length positive integer codec for any base 256 or lower number a good idea? Maybe not, but it's 80% done now, so I have to finish it.
Of course I don't want a monopoly of power, even if those who wield it are chosen legitimately by the people. I do, however, believe the people have a right to organize themselves according to norms they endorse and act against those who oppose them. That is government.
Norms such as "murder is wrong" and "theft is wrong" etc. are obvious, so we can say that the people may Agony someone to make determinations about it and carry out appropriate disincentives. Predatory lending is simply another crime we the people should stand against and appoint someone to disincentivize, including against those others we may have appointed in other roles.
It may be inevitable in nation-sized governments, but I disagree in general. A group of heads of households gathering to enhance the lives of their community can't be called predatory. As it grows the attraction of corrupt individuals does increase, but it doesn't mean inevitable. If our states were only 500k-2M people max, it would be a while lot more manageable. This touches on another one of my principles: localism. Smaller is usually better when it comes to power.
I'm not an anarchist. I'm a Thomistic minarchist. The state does have a role to play, regardless of our current tyranny.
The government is many people and can be replaced. I hope, though not completely expect, that we can reverse some of the damages it caused by putting good people in it.
The part of the government that is the predator lender needs to be cut off, and the replacement government come up with plan to repair the situation in like fashion as happens in other predatory lending scenarios.
You misunderstand me. I didn't say we needed more government involvement. I agree that the problem is too much involvement. We need to recognize that the government has subsidized usury in the form of predatory lending, and now we need it to recognize its error and somehow fix it.
#m=image%2Fjpeg&dim=699x1003&blurhash=%5EN8YS%7EZea%7EW9V%5EfzyGWAn%23axjubFM%2CbXs%3BofocWFM%7Df%24oMoeoeWExojdWVaxWDfi%25gjHWBWVV%5BoeWBWVayazj%5Bj%5BIBX5j%5Dj%5BkBagNLWUj%3Fj%5Bj%3Fa%23&x=f908f3af9131dceed6f155bd3563046d067898fdf9744e84e3331ac94bfbd130