joshcodes

joined 2 years ago
[–] joshcodes 7 points 1 day ago

Oh king ey, very nice. And how'd you get that? By exploiting the workers. By hanging on to imperialist dogma that perpetuates the economic and social differences in our society. If there's ever going to be any real progress...

Dennis there's some lovely filth down here!

Also:

Listen. Strange women laying in ponds distributing swords is no basis for a system of government.

[–] joshcodes 5 points 1 day ago

Reliance on security by obscurity is unacceptable, except when the obscurity method is the oceans entire fucking surface area.

[–] joshcodes 1 points 1 day ago
[–] joshcodes 5 points 3 days ago (1 children)

I'd say the latest star wars movies were shit. It had nothing to do with Rey being a woman or even naturally gifted. Finn, Grumpy Luke, Swolo Ren (other poorly written characters), the writing team and the plot points (a spacecraft the size of a city needs to refuel but a lightsaber that can cut through anything has an infinite energy source) the writing team chose, should all share the blame. If your criticism is levelled at Rey alone, your argument isn't worth hearing.

[–] joshcodes 17 points 3 days ago (1 children)

I actually have a person in my life complain about this shit with the last Bond movie (I havent watched it, i just heard complaining). Oh and Into the Spiderverse, he disliked spiderman being non-white - even though Peter Parker is in that fucking film. He also uses the phrase woke all the time.

I really don't value his opinions on these sorts of issues and neither should anyone. He's got so little in his life and these stories are a powerful escape from the shit he isn't dealing with. I won't go into it, not my circus etc.

Basically, he likes to imagine himself as Luke Skywalker and he can't imagine himself as Rey so she's woke and bad. It's a boring way of consuming media and he's an idiot. He says there's an agenda but can self identify the agenda is maybe letting the women and coloured people be on screen sometimes. However, they do not look like him so they are bad and the agenda is bad.

They're not worth listening to.

[–] joshcodes 1 points 4 days ago

Yeah I had uni projects with people in the same degree as me (Comp Sci) who straight up said they never learned to code. It baffled me that two people would both leave the degree not knowing the same stuff. I honestly don't know how they were passing classes in some cases.

There's definitely too much knowledge for any one bootcamp, uni course or YT tutorial to teach and experience gaps are hard to identify until they come up. Best thing uni did was teach me how to teach myself, but someone following YT tutorials likely has that skill. That's probably the most important skill to have as someone in tech imo.

[–] joshcodes 3 points 5 days ago

Yeah look that was the front page of the repo talking about how it has C/C++ and Fortran code, sorry for not reading the docs and finding out that yes they still use C/C++ and Fortran code in the form of OpenBLAS which is a dependency... f2py is just a method of doing the following:

F2PY facilitates creating/building native Python C/API extension modules that make it possible

  • to call Fortran 77/90/95 external subroutines and >Fortran 90/95 module subroutines as well as C functions;

  • to access Fortran 77 COMMON blocks and Fortran 90/95 module data, including allocatable arrays

from Python.

Correct me if I'm wrong here but if you're implementing an api for one programming language to talk to another then that means you have 2 programm-

I wake up as a lizard. The meaning of kernels, subroutines and programming languages is already fading. I realise the rock I am lying on is slightly in a shadow and move into the sun. Might eat a bug later...

[–] joshcodes 11 points 6 days ago (2 children)

It provides:

  • a powerful N-dimensional array object
  • sophisticated (broadcasting) functions
  • tools for integrating C/C++ and Fortran code
  • useful linear algebra, Fourier transform, and random number capabilities

Not according to the repo I sourced from your message.

[–] joshcodes 2 points 6 days ago (1 children)

Hey don't let me get you down, it sounds like you learned a lot and you're good at what you do. Maybe the elitist part of me (I hated uni but I arguably went to a "good school") a little bit wants others to go through the exam + assignment structure I did just to verify they are "good". But, I think the industry is shifting towards hiring from a test of ability, plus there's the 3-6 month probationary periods...

I don't mean to say everyone needs a degree, just that people can complete a 2 week bootcamp, and still not be qualified. Just like how some people can learn a lot from structuring their own education. I needed others to tell me what I needed to learn, and wouldn't have had the discipline to learn from YouTube.

There's no perfect answer and too much knowledge to transfer than a degree can provide anyway. If you can code, you're good enough. Take that with the caveat of: everyone still has a lot more to learn. Imposter syndrome is the norm, so is burnout. Take care of yourself and try to enjoy.

Oh and please - for the love of the cyber workforce - learn about common vulnerabilities and how to avoid writing them in to systems!

[–] joshcodes 20 points 6 days ago (6 children)

So he's saying that people whose entire qualification are they went through a 2 week boot camp or through a youtube tutorial aren't qualified...? I think? I tend to agree if thats all theyve done, but to be honest a lot of my degree felt like it could have been a 4 hour YT tutorial.

People who get out of uni have no real world experience and should be treated as a juniors though. I've met a lot of people who have book smarts and no idea what to do after theyre in an org. They're weird to work with because you can explain a concept, they'll get it but not be able to apply it or fully see relevance. They're intelligent but lack experience, which seniors provide.

The LinkedIn OP doesn't write clearly, but seems to think junior roles don't do real work. He clearly needs to work in a SOC role to see the difference between a junior and a senior. Lacking experience doesn't mean no meaningful output.

[–] joshcodes 16 points 1 week ago (4 children)

Y'all don't use poweroff?

[–] joshcodes 2 points 1 week ago

Did you mean Visual Studio the second time?

31
submitted 4 weeks ago* (last edited 4 weeks ago) by joshcodes to c/[email protected]
 

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.

17
Anyone hosting OpenCTI (self.selfhosted)
 

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?

 

So I've been running Windows on my gaming system and Linux on my laptop for Uni for a while. I chose this to discourage working instead of relaxing, or gaming instead of working. However, I am finding that I often get the opportunity to work from home and I find it easier to just use my laptop on the go (I have a dual monitor setup + kvm switch so its a little annoying to have to come home and run 3 cables just for some extra screen realestate).

I want them to run the same OS so I can use the same tools and workflow. I use Ubuntu 23.04 on my laptop, W11 on my PC. I have nvidia GPU's in both (1660 Super Desktop and 3050 Laptop), so installing and maintaining drivers would ideally be easy. I would use Ubuntu but I plan to move away from it since they're moving away from .debs. Any recommendations? I am looking for stability, but something I can game on. I've never had a linux gaming pc so I don't know how much that changes things. I don't want to do much tinkering, I am more of a set an forget type.

I generally prefer Gnome, XFCE, KDE, Cinnamon, Mate in that order. I looked it up and a lot of the games I play are Proton DB Gold or up. The only game with an anticheat that I play is the MCC and I'll just disable the anticheat if its an issue.

248
Car no do that Rule (programming.dev)
 
view more: next ›