asked if I knew anything about computers
lol you got profiled. nice that you could help her tho
asked if I knew anything about computers
lol you got profiled. nice that you could help her tho
Suburban car culture. People can go on and on about the how they like driving, and like the freedom to drive everywhere, even if it makes them fat and lonely. But what about their kids? It’s insane that kids are essentially trapped at home unless a parent happens to have the ability to drive that somewhere. Your convenient lifestyle comes at the cost of raising neurotic introverts who won’t go outside.
Is the Singleton accessed by one thread or many?
If it’s one thread, couldn’t you just wrap the Vec
in an Rc
and then clone your singleton every time you need it in a new scope?
If it’s many, you should use channels and a dedicated logging thread imo.
Skill issue, I finished a CS degree with vim
Ok probably your best option is a used Thinkpad, or maybe a Chromebook with the Chromebook distro, but if you want to do something crazy you could try the Pinebook Pro. It’s a 14" arm laptop that comes with debian for $220. You might need some accessories, but it would still be <$400 for something new and interesting. However, it’s a bit slow, and arm doesn’t have as much software support. I think it could do everything a CS student needs, except browsing may be slow because web apps are so absurdly big and complicated now. Definitely would get more than 5 hours of battery.
Didn’t know about that one, thanks!
If you want to accept a user input of any length, you have to read the input piece by piece and allocate a new buffer if the original becomes full. Basic steps would be:
malloc
to make a char *
buffer\0
to your buffer and break the loop. You’re done!memcpy
to copy the stuff from the old buffer to the new one. Use free
to get rid of the old buffer.This will work until you fill the entire memory of your computer. You should probably set a max length and print an error if it is reached.
It boosts faster tho, so for average usage it might be fine. It just will have trouble with anything that requires sustained use, which for me would probably just be compiling code or games, things I wouldn’t try to do on a tablet.
That’s an incredible price for 16gb of memory and a 512 ssd. Would be an upgrade from my 14" laptop. I just hope I don’t have to wait multiple years to get it.
Yes, it will get better over time. You are using an entirely new operating system. Things are different, but aren’t that hard to learn.
My big tip for installing Linux is to use the package managers when possible. Every distro comes with at least one package manager, which can install many pieces of software. On Ubuntu, there are two: snap and apt. (Yes, this is confusing. Canonical is trying to change the way they package software, and it has made their distro harder to use).
Also, what kind of software are you installing that requires different permissions or ports? If you’re trying to set up servers you many be better off with a different approach.
I have this hazy, memory from when I was about 8. I was exploring a peat bog, which was fun because everything was soft and squishy and I could just run around. I saw some weird looking bushes, and decided to go check them out. But, as I ran up, it turned out there were growing over this sort of wet hole, where maybe there was a spring or something. I suddenly fell about 8 feet, and was in this mud pit slowly sinking. Luckily, I managed to grab some of those bushes I’d seen, and pull myself out. But it was very hard, because the mud was pulling me down like quicksand. Eventually, I crawled back out on the bog, covered in mud.
Nobody I was with remembers this, and honestly it might not be real. Childhood experiences are super weird.
The point of the post is to introduce you to async Rust libraries, not to prove that Rust is the best language for web dev.
But actually I’m afraid most of your comment is incorrect because the best language for web development is sml.
See this, and the whole thread: https://forums.linuxmint.com/viewtopic.php?p=2301071#p2301071
This is not possible. A socks proxy forwards tcp connections over another TCP connection. A wireguard vpn sends encrypted generic IP packets over udp. A socks proxy can’t understand the types of things wireguard sends.
However, you could just install wireguard on both your vps and your phone, and you probably wouldn’t even need the proxy. If your VPS is hosted by a big public cloud provider, be aware that many sites restrict incoming traffic from known up ranges because public cloud vms often used by spammers.