joshcodes

joined 2 years ago
[–] joshcodes@programming.dev 9 points 2 days ago* (last edited 2 days ago)

I believe its based on a group of people on twitter who wrote stuff like "putting on his jumper and smelling his colon". Similar humor to the yahoo answers "am I pergenat" stuff

[–] joshcodes@programming.dev 3 points 1 week ago

Sometimes we need to read books/web pages to understand things. This is a pretty complex subject and while our friend above was asking for a privacy friendly alternative (which in this situation I'm not even sure how you summarise into a few words tbh), the poster answered by saying go read work from the EFF. They're a great resource and great explainers, and they've written extensively on this topic.

Idk, should everyone be given the answers to everything, or is telling someone how to find the answer not okay? I'm of the opinion its necessary when a topic is difficult.

Admittedly, they could have said that as well, but I think it was clear the person asking isnt operating in good faith given their response to me. They're a troll.

[–] joshcodes@programming.dev 3 points 1 week ago (3 children)

What if they said "this book explains what you want to know" and you still dont go and read the book? Cos that's what's happening.

Google it. Learn to find information yourself. Its pretty cool what information is out there.

[–] joshcodes@programming.dev 6 points 1 week ago (5 children)

Its your responsibility to educate yourself, not societies. You're not asking for help, you're asking for tutoring. The previous commenter answered your question anyway by directing you to the EFF. Its not their fault you dont want to put effort in and go read the work of an organisation whose entire purpose is to answer the question you asked.

[–] joshcodes@programming.dev 2 points 1 week ago (1 children)

This is the real goal. How far can a human and their exoskeleton/cybernetic modifications jump? Adding this to the science wishlist right after hoverboards

[–] joshcodes@programming.dev 9 points 1 month ago* (last edited 1 month ago)
[–] joshcodes@programming.dev 20 points 2 months ago (2 children)

So... The gas masks??? I know they love to cosplay but these guys are back in France, 1914.

[–] joshcodes@programming.dev 1 points 2 months ago

Huh, my favourite part of using C and C++ was the ease of doing it all on Linux. Didn't even need to install a compiler, just write code, run compile and laugh my way through endless segfaults because I am very bad at those languages

[–] joshcodes@programming.dev 34 points 2 months ago

I live in Australia and I'm following this dude since he seems to be the one politician with a spine right now. No reason to keep tuned other than curiosity but damn has it been fun

[–] joshcodes@programming.dev 5 points 2 months ago

Yeah so targeting individuals or specific organisations is pretty hard. It sounds dumb but how do you get someone's phone number if they don't give it to you? Its hard unless you're determined tbh which most people aren't.

Most hackers setup watering hole style attacks, or use phishing which is roughly the same concept. Basically they cast a wide net and see what they can grab, like the browser credentials of Debra from accounting who knows everything about compound interest and nothing about opening an .exe file in an email. There are some big game hunting groups, and the LinkedIn breach made some waves (see the fappening), but your run of the mill discord-as-a-c2 style hacker isn't going after rich people.

Someone "hacking a phone" likely put a kitchen scale iPhone app on the app store, which when first opened asks for permissions for microphone, camera, text messages, contacts and file storage, and sends all that information to Argentina for a week or so until their app gets banned.

Also, the most likely person to hack your phone seems to be someone in your household, abusive parent or spouse sorta thing. Most common devices to get hacked are laptops, usually windows. Its just kinda hard to hack a phone. Unless you know a lot about compressed image formats and the iPhone messages app apparently because NSO made like 5 zero days in a row out of that.

[–] joshcodes@programming.dev 10 points 2 months ago* (last edited 2 months ago) (4 children)

Hi, I'm engaged to someone who studies chickpea and other legumes. Shitloads of money goes into agriculture every year and from my understanding, what you're describing is being done by some brilliant people (I'm a bit biased). However there's so many concerns around GMOs doing damage to the environment that it is tightly regulated. Doubly also, Americans don't have the same ready access to grocery stores that ~~other~~ first world countries have.

Plus the equivalent of flat earthers exist that believe that GMOs will kill us all and we need to go back to eating only what nature created (somewhat hyperbole, there are valid concerns but people have been irrational).

An example is that chickpea and other legumes reintroduce nitrogen into soil after the soil loses vitality, which makes chickpea a good intermediate crop that can be grown in between others. Its high in nutrients and has good yield. So yeah, stop eating corn and eat legumes/chickpea/hummus.

(I'm not the molecular biologist so if I got stuff wrong, sorry, I will pay more attention when my partner speaks)

[–] joshcodes@programming.dev 4 points 2 months ago (1 children)

Hey, you're also heading the right way for a ban... Not liking Linux on Lemmy smh

20
submitted 6 months ago* (last edited 6 months ago) by joshcodes@programming.dev to c/pcmasterrace@lemmy.world
 

I have a B450 motherboard, 16gb DDR4 3200 RAM, 1660 Super gpu and a Ryzen 5 2600 CPU. I don't plan on updating the GPU this time, because I don't play a lot of games that require anything more, I'm playing a lot of older titles currently. The problem is this also makes me feel like I shouldn't update the pc at all.

I think I mostly just want to mess around with a decent home lab, but because I dont have an intended use case I'm struggling to justify. I also had parents who don't like to spend money on this sort of thing and I've got their disapproving voices in my head.

The plan is to upgrade to a 5900XT and 64 gb of ram and probably run a lot of virtual machines in a little lab environment but I'm not sure how often I'll have them all running so it could be overkill. The upgrade is about $700 all up too so not small but not too much. I know I'm extending the lifespan of a computer instead of e-wasting the entire thing but I'm still a little apprehensive.

Good idea or nah?

P.S. I run Linux Mint on all my machines if that somehow changes anyone's mind or is somewhat helpful? Can't let the arch users be the only ones to announce.

Edit: thanks for the replies. I went to bed so I'll try to reply to people as today goes. Thanks for the ideas and the one person who asked if I was a sex worker, you've made me laugh and think.

 

Transcription: picture is a screenshot of a user inbox page with a new message containing a photo of a woman with dark hair. The message reads "Hi I am Nicole but you can call me the Fediverse chick". There's more text but this is very obviously a bot attempting to get people to join a particular server.

On a side note: I can't delete this message as I get an error about dms not being available. I've blocked the bot already. Does programming.dev support dm's?

 

I dont post often but I struggled to find a solution to my issue so I am trying to fix that very problem by adding a resource. Hope this helps someone.

I have moved my last windows pc to Linux Mint last weekend (I had some issues writing to my other USBs and had it lying around, technically I set out to try Fedora Silverblue but that may come later down the road now). I keep all my games and important files on secondary hdds and ssds in my machine as I've had data loss many times before from moving machines go Linux.

All went well, installation worked, but when I installed Steam, nothing showed up in the 'storage' page of the settings menu. "Hmm, it's probably a permission issue" I thought, if it cant see the drives it's not allowed to. Command used to debug this was:

ls -ld /media/gamedrive1 /media/gamedrive2

which showed root had read, write and execute access but I had read access.

So next I had to change /etc/fstab and make sure my drives were mounted correctly (using ntfs-3g driver instead of ntfs on one drive, and adding my users name as the owner and group owner).

This took me a minute to get right because it relies on the uuid of the drive, not the /dev/sdX identifier (I've been informed you can also use the /dev/disks/by-id/. It was super easy to do this through the gnome-disks utility, so I didn't need to keep editing the fstab file with nano and could see partition names.

I then I had drives visible in the 'Storage' settings in Steam (I did also switch from the downloaded deb file from steams website to the apt installation but I dont think I needed to).

I try to run a game, forget proton exists, retry to run the game with compatibility mode on, then get a 'Disk Write Error' for my /media/JoshCodes/gamedrive1/SteamLibrary/steamapps/downloading/random/file.

Super weird I think, but it's probably a cache issue, some dumb file from my windows machine that didn't get permission-ed properly for some reason - idk it was 10pm. I clear my cache, reset steam entirely, manually remove the files, nothing works. On a fluke, a troubleshooting step led me to a solution by way of it not working: I tried to create a symlink between the downloads folder on the main drive and the drive I had the game library installed on. The recommendation was to use:

ls -s /opt/steam/downloading /path/to/steamlibrary/downloading

Can't remember the error but it was something like "symlinks are not able to be created as they are not compatible with this file system". Oh dammit. This drive is on a filesystem that is incompatible (exFAT) with my other file systems for some reason. Someone smarter than me clarified that Steam and video games in general rely on symlinks, which are not supported on exFAT file systems, but will work on Windows for reasons I won't get in to.

Unfortunately I did have to move everything from my exFAT drive to a 3rd drive, reformat (just used ext4 as its native linux) and put all my files back on. At this point it was like 1am but I could open Civ V and Rocket League! Huzzah, crashed and went to bed. That's the first time I've really stuck with a problem that I wasn't familiar with, learned a shitload about mounting drives and just thought it through. A little help from the internet at the end but good outcome.

I hope that helps someone else!

Edit: Added commands and fixed formatting. Changed title as it was not correct as pointed out (Sorry, that's the first thing I typed and forgot to check that before posting). Added some info stolen from the comments on why symlinks don't work.

 

I'm about to start hosting an OpenCTI instance for work and was looking for advice on pretty much everything. I'm new to self hosting and was wondering if anyone had any advice or helpful guides (storage space, config tips, etc).

I'm looking to set up an OCTI server as a docker container behind nginx. I'd love to practice at home so this is sort of relevant to the community. Have you done this, what did you learn, do you have any things I should watch out for?

 
view more: next ›