joshcodes

joined 2 years ago
[–] joshcodes 6 points 1 day ago (1 children)

Traditionally, the word professional is usually reserved for someone who sits behind a desk, engaged in a "career" job. The word has changed but it was previously reserved for the careers you can only get after university, a "learned" profession.

I say that because many think of waiters as a lesser profession, not a skilled job.

One of my favourite restaurants closed recently but the staff there were definitely talented and had learned all the right communication with each other and patrons, they could answer any questions and knew how to avoid common grievances.

You can be skilled at anything, and I'm constantly amazed by the little things people do to make others have a good time.

Either this guys an impatient asshole or they made this up. Either way it's not cute, it's fucking annoying and is just a little control freak energy. Her not being able to work out its control freak energy means he's probably with the right person.

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

Boot: Yes, the windows boot drive (an old 128GB SATA SSD), but I hit F11 on boot adn selected USB to boot to that to do the install just like with Pop. But again the install worked fine at least on the older LTS version of Ubuntu. And it booted on USB correctly with the later version too, just as soon as it went graphical it b0rked.

So do you get a grub menu at all? Is there the Plymouth (green, grey and white text only) loading screen? What does booting look like? I need more detail here because I've had driver issues and this is sounding more like a boot issue. Would it be possible to remove other hard drives during a test installation then add them back afterwards? Totally understand work and life comes first and all but if you get the opportunity, I've got a hunch.

I'm thinking we need a matrix chat or something to send images and details on lol

[–] joshcodes 1 points 1 week ago (3 children)

Okay, so I'm assuming with Pop you used the nvidia driver edition which meant it loaded using that. It's possible that Ubuntu tried using nouveau and failed to work I guess but I think I need to know more. Tell me about how you are connected to your monitor. Display port or hdmi? Do you have a docking station?

Were both installs using Wayland, xorg or dont know?

It's interesting that Pop installed and showed everything but Ubuntus later version didn't because Pop is based on Ubuntu and theoretically has most of the same drivers. I've experienced it not working exactly the same before but yeah, that's odd.

Does your computer use secure boot and was it on at the time you tried installing Pop, and Ubuntu?

Was anything above the usb in the boot priority during the Ubuntu installation? If the screen was unresponsive and the device rebooted using Ctrl,Alt,Del then how do you know that was ubuntu?

Do you have a spare device such as a laptop around with an Ethernet port?

What other distros have you tried and have you ever used Linux Mint? It's my GOTO for anyone new to linux (including myself).

Sorry that's a lot of questions but I think more information could be very useful.

[–] joshcodes 1 points 1 week ago (5 children)

I'm curious what OSs and what issues you had. If you want, make a post in a Linux community and reply with the link here. I'd be keen to see where I'm at in helping others with Linux drivers since I just had some issues I resolved. I want to move my grandpa's computer to Linux when Win10 runs out so it could be a practice opportunity.

[–] joshcodes 9 points 1 week ago

Many can't upgrade to 11 and don't want to buy a new device. They'll believe it's their only option unless told otherwise. It's not necessarily a "Win11 is bad" or "Linux/BSD is better" scenario, just a "to keep using your current device which you paid for less than a decade ago, do the following".

Times are hard and people shouldn't be forced to buy new hardware because of the current monopolistic software companies's latest money making scheme, especially when their old one works perfectly fine and the environment is going to suffer.

[–] joshcodes 1 points 1 week ago

Oh, so on that subject, I've seen malware authors spin up "AI video generation sites" which you enter a prompt, it will generate a title based on what you enter, give you a file thats supposed to be a generated video, and that file is an information stealer/remote access trojan.

So yeah, ai is being exploited directly. Probably indirectly too.

[–] joshcodes 3 points 1 week ago

I'm sorry your team is like that, they should do better. I get along with my company IT team, obviously working close with them has benefits, but we have a lot of oversight and executive support so giving two word answers isn't a thing where I work, they have to give a written justification etc.

In the same sense that not everyone works where I do, not everyone has assholes in IT who deny everything. Neither of our experiences are default and I was trying to write for someone in-between. Apologies if it didn't come across that way.

There are businesses who don't allow spotify on the corporate device, for sure. I saw a talk delivered by a guy who did. He worked for a mining company, they wouldn't let people install things and were inundated with policy violations. He had to change the entire company culture around who IT were, and started by letting people make install requests for apps they wanted to use. They just tracked the requests so they knew who had what, and by helping, they could be selective about where the software came from.

When people don't have IT as a support and see them as a regulator, they don't work with them and bad shit happens. This dudes mining company was hit, also with ransomware (this one worked), because the CFO had local admin since he didn't want to talk to IT.

My point is

  • a. they should be helping in this instance. Sorry they don't, that's frustrating to hear. Work culture is hard to change and I'm lucky with where I do work and the culture we have.

  • b. don't bypass security controls regardless. Sorry. It's still not the answer. If work makes you do things a slower or more annoying way, that's their time lost. HR will throw you under the bus for the policy violation.

[–] joshcodes 1 points 1 week ago* (last edited 1 week ago) (2 children)

That may be true for Discord but for FOSS products the security concern is the attack surface (more to patch).

Like I said to the other commenter, if they say no they should have to justify that (in written form, argued, with points), even if the reason you want it is familiarity with the tool, workflow speed ups, or it has a nicer UI. Make them work harder if they say no, and make it really clear you will go away quietly if they say yes.

I do think that companies asking users to use standard tools so they can build processes and training materials is reasonable. Using other tools means more attack surface, it means more updates, more documentation, less familiar people and it means more risk.

Also assuming your company is like most and forgets to document everything ~~alongside the crucial processes~~, if you know how to do something and tie it to a FOSS product instead of say excel, they won't be able to hire a grad that can work for cheaper and do the thing half as well.

My point is it does do something for them, but not as much as they think. They didn't pay for the office suit for you to not use it. However, if you don't need it, they can also stop paying for it. Justification is important. So is making ITs life difficult by making them justify decisions.

Bypassing them makes the incident response team's life difficult, not ITs.

[–] joshcodes 1 points 1 week ago

Okay maybe I should have said they can't say no and appear reasonable? Was there a justification or is this guy Joseph Goebbels or something? I bet you didn't use AI 2 years ago but probably have that running rampant.

I'd love to live in a world where I trust everyone to install software on computers, but Mr Ransomware, albeit not common, is out there waiting to fuck up the business with a portable application he found. He wanted to do something for a colleague, but we all nearly suffered for it.

Install things the right way, and if you can't, make a case for it and get managers involved. Justify the time saved or the comfort it provides: everyone hates AI, blame it on copilot being in excel.

Bypassing security instead of working with them doesn't help anyone and it almost always ends badly.

[–] joshcodes 2 points 1 week ago* (last edited 1 week ago) (2 children)

There was a trend of malware authors making websites to give away free video editors, I think this one appeared as capcut. They patch the binaries or use other techniques and include malicious DLLs.

Edit: you and I both are fine with people installing FOSS from github, but what happens when they get the name for the repo wrong? What happens when they go to the fake site a malware author spun up, that even has all the files they wanted?

Security is there for a reason, sorry, I know we can be annoying and add hurdles to important roles, but people get things wrong. We help with that, and bypassing us means you didn't give us a chance to save you before you messed up (again I assume everyone on lemmy is a sysadmin Linux user so not 'you' but a generic user you).

[–] joshcodes 30 points 1 week ago (11 children)

On behalf of cyber and IT, just ask IT to install the thing, please. They can't really say no to a free app and bypassing restrictions ends badly for everyone. I had a user do that with video editing software... seriously, what could go wrong? Ransomware. Literally ransomware. Lucky for antivirus it stopped it but yeah, please work with IT.

[–] joshcodes 1 points 2 weeks ago

I retook 6 classes and finished 2 years late. I'm regarded by my colleagues as a good person to work with and they think I'm good at what I do.

Don't let school define you, some people excel, others don't. Also, working for money is completely different than intrinsically motivating yourself to complete assignments.

I had mental health issues that I probably should have dealt with. If you feel like you're struggling, talk to a counsellor or a therapist, mostly because the college or uni has to listen when they say you're struggling. Also because they can look without judgement and tell you what you might be doing wrong with motivation and study habits. For me, I needed someone to remind me I mattered even if I didn't do well. That's just my 2c worth.

52
the bot strikes again (programming.dev)
submitted 2 months ago by joshcodes to c/meta
 

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?

31
submitted 3 months ago* (last edited 3 months 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)
submitted 10 months ago by joshcodes to c/[email protected]
 

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 ›