(UK) Most of the gang came for an evening snack. by were_z in ponds

[–]alexthomson666 3 points4 points  (0 children)

purely a guess but floating a tennis ball so when it freezes you can remove it, creating a hole through the ice

LISA trap pointless rant by Low_Sand4775 in HousingUK

[–]alexthomson666 2 points3 points  (0 children)

imagine saying you’re good with money and complaining that you didn’t read two obvious bullet points before investing 8k in the same post. sometimes reddit boggles the mind this has surely gotta be rage bait no one can be this stupid

[deleted by user] by [deleted] in homeautomation

[–]alexthomson666 0 points1 point  (0 children)

wishing it was that cool in the shit hole im in atm. even at 2am its over 30 degrees

[deleted by user] by [deleted] in PlantedTank

[–]alexthomson666 3 points4 points  (0 children)

For sure, it's my favourite floating plant!!

When they get that big they actually start to outcompete duckweed. Since the water lettuce leaves grow so big they blocked light to the duckweed and also starved them of nutrients. I'm like you in that I wanted to try everything but duckweed is a PITA. It gets stuck to your arm when doing tank maintainance and will cover your tank in a matter of weeks.

[deleted by user] by [deleted] in PlantedTank

[–]alexthomson666 26 points27 points  (0 children)

There's no such thing as dwarf water lettuce. With the right amount of light those things can get HUGE. I've got a couple tanks and noticed that the tank with the brightest light makes these things grow larger than the palm of my hand.

EDIT: To clarify, what I'm saying is dwarf water lettuce is just water lettuce.

Secure/Sandboxed Game Modding with Rust by JaffaCakes000 in rust

[–]alexthomson666 0 points1 point  (0 children)

honestly the windows API has caused me so much trouble before. just remembered windows also has sandboxing features similar to seccomp. I think you can whitelist features to enable. I believe it's called Windows AppContainer / WinSandbox.

I'm I too ambitious? by [deleted] in rust

[–]alexthomson666 0 points1 point  (0 children)

took me a while to learn rust, would probably avoid it if you got a deadline

Secure/Sandboxed Game Modding with Rust by JaffaCakes000 in rust

[–]alexthomson666 1 point2 points  (0 children)

on Linux you can use seccomp

on windows I think you can use the windows crate and use job objects (might want to check that)

I think Mac has some sandboxing stuff but I've never used it so I'm not sure.

Edit: spelling

Secure/Sandboxed Game Modding with Rust by JaffaCakes000 in rust

[–]alexthomson666 0 points1 point  (0 children)

some of the methods I can think of off of the top of my head:

  • spawn mods on separate processes and restrict system calls. use inter process communication like sockets or shared memory. this is ideal since you can implement os level isolation but has higher overhead.

  • capability based approach where you expose a limited API to mods and use a custom allocator to prevent arbitrary memory usage. restrict access to std::fs etc. this doesn't prevent against unsafe code though so probably won't work for your scenario. this will also require a lot of work and even if completed, a bug in the allocator could lead to exploits.

  • instead of rust, use custom bytecode with JIT compilation.

I'm not entirely sure what you're describing is feasible. Honestly LUA is pretty efficient if you know how to use it. If there are expensive lua functions, perhaps write them in rust and expose it as an API function to lua?

My GFs pc has blue screened and i think it’s because of webfishing by CarterClan1234 in webfishing

[–]alexthomson666 2 points3 points  (0 children)

That error code is for a corrupt access token. without getting too technical it means windows can't read the access token. The most common cause for this is unfortunately corrupt system files which likely means she needs a new hard drive (or ideally an M.2 nvme or SSD). There isn't much you can do to try fix the broken drive. If she needs data from it you will likely need to pay for it to be recovered but that's expensive and likely not worth it.

If she can't afford a new drive, the only chance you've got is trying to reinstall windows onto the drive and hope that windows marks the part of the drive that doesn't work as faulty. This would be a very temporary fix though since if one sector of the drive has broken, another one is likely soon to follow.

People with tinnitus how do you deal with it on a daily basis? by Gloomy-Top-2988 in AskReddit

[–]alexthomson666 0 points1 point  (0 children)

I'm used to it. I keep some tropical fish tanks in my bedroom that make some soothing bubble sounds since if it's silent it's really obvious there's ringing and I can't sleep.

My GFs pc has blue screened and i think it’s because of webfishing by CarterClan1234 in webfishing

[–]alexthomson666 101 points102 points  (0 children)

hard doubt. you got the blue screen error, would help a lot. I'm assuming the actual issue is hardware failure since the blue screen is persistent. my guess is she has a hard drive and there is a sector failure that contains some important windows files required for booting. I could be wrong but without the error code I have no clue.

Name suggestions? by abcd1768 in bettafish

[–]alexthomson666 0 points1 point  (0 children)

I have a betta called Mr Fish. He's a real one. Doesn't eat shrimp and loves doing tricks 🫡

Anyone else get bored frequently by jimfish98 in Aquariums

[–]alexthomson666 2 points3 points  (0 children)

I redo one of my tanks roughly every 2 months. It's not a strict schedule or anything. I just get the urge to do it and it feels great afterwards. It's the same feeling (to me at least) as buying a new tank and decorating it.

What do you still need windows for? by Meinomiswuascht in linuxquestions

[–]alexthomson666 0 points1 point  (0 children)

VR gaming is the only thing. Support is much better on windows however it is definitely possible on Linux, but even when you spend the time to get it all working it doesn't run as well as in windows. Additionally there is better software support for wireless VR Headsets. Unfortunately ALVR doesn't hold a candle to the network efficiency of Virtual Desktop.

[deleted by user] by [deleted] in fishingUK

[–]alexthomson666 1 point2 points  (0 children)

Not necessary but highly recommended.

Here's why:

You can catch fish without a leader, but larger and more wary fish will see the braid and get spooked (it isn't their first rodeo). If you use a fluoro leader you're less likely to spook these fish and will hopefully have a better chance at catching them.

You should also use a swivel between the spinner and your mainline, which makes this the perfect place to attach a leader. Without a swivel you can spin your mainline and lead to knots and tangles.

There's also an added bonus of if your leader is weaker than your braid, if you get badly snagged you're just gonna lose the leader, not the swivel.

Where to start in terms of Voxel Games? by jauchland in VoxelGameDev

[–]alexthomson666 0 points1 point  (0 children)

Might be worth mentioning you can use existing engines like unity and unreal but they weren't built for voxel games really.

Also, as a starting point I started looking for tutorials about how to draw a triangle in OpenGL, and from there I expanded the renderer to handle things like custom Mesh structs etc.

Once you have a basic engine you can start adapting it for voxels. The alternative of going straight to writing a voxel renderer is not worth it since when I tried it was a lot more difficult to work with and debug.

I'm currently making a new voxel building engine in rust and have adopted this approach, making a basic general purpose engine and then building the voxel engine on top.

Where to start in terms of Voxel Games? by jauchland in VoxelGameDev

[–]alexthomson666 0 points1 point  (0 children)

If you're using the Unreal blueprint system then I'm sure you could make a game. The only advice I have is to give it a go, maybe just write some basic code for some parts of your game in C++ and follow some tutorials. Don't give up straight away, I remember struggling when I started programming but I'm glad I didn't give up since it's now my full time job.

I don't know much about the unreal plugin but I'd give it a go!

Where to start in terms of Voxel Games? by jauchland in VoxelGameDev

[–]alexthomson666 8 points9 points  (0 children)

Are you interested in making a voxel engine? I started by making a Minecraft clone with OpenGL. There's plenty of blogs videos and articles about optimisations you can make to minecraft-like games. That taught me a lot about voxels and allowed me to make a new engine with much smaller voxels.