[-] CameronDev@programming.dev 16 points 14 hours ago

You are describing pickle, but it does come with some serious risks, especially if the file can be modified by a third party.

https://arjancodes.com/blog/python-pickle-module-security-risks-and-safer-alternatives/

I'd suggest using protobuf or similar instead, but its a bit more work.

[-] CameronDev@programming.dev 8 points 1 day ago

Tangentially related, but when I switched my cat from commercial cat food to a raw chicken (w/ supplements) diet, her poops went from very bulky once a day, to shrivelled poops every-other day.

The amount of water in the chicken, and the lack of bulking ingredients made a huge difference.

[-] CameronDev@programming.dev 2 points 1 day ago

Opening a new account should be relatively quick, even if you don't get your card. So create a new account, and transfer most of your money into it. Buy the item with your current card.

Fwiw, even without 3d secure, eBay is pretty safe to use, they are a huge corporation, and they know how to safely do transactions.

[-] CameronDev@programming.dev 4 points 1 day ago

Might be a good idea to state your country. AFAIK, PayPal has no fees at all in my country, I assumed it was the same everywhere.

Can you get another bank account and card with no overdraft, and keep its balance near zero when not using it? When you buy, transfer the amount to the card and use it in whatever sketchy site you like. As long as its zero balance the rest of the time its relatively safe.

[-] CameronDev@programming.dev 7 points 2 days ago

Its not for you, its for spammers...

[-] CameronDev@programming.dev 6 points 2 days ago

I remember you, how did you go with your raspi project? Looking forward to your updates!

[-] CameronDev@programming.dev 3 points 3 days ago

/etc/passwd: you may be able to get to this from the GUI file manager.

If not, open a terminal and type: cat /etc/passwd. Copy the relevant lines.

To test the login, from a terminal, type su otheruser, replace otheruser with the username from /etc/passwd. It should ask for a password, put that in and it should log you in. Type whoami and make sure its the same username as you expected. Paste any errors here.

[-] CameronDev@programming.dev 4 points 4 days ago

I want a modern Flatout 2, such a fun game.

[-] CameronDev@programming.dev 3 points 4 days ago* (last edited 4 days ago)

"Group policy me harder, babe"

[-] CameronDev@programming.dev 6 points 4 days ago

I think that was meant to be a reply to me, so I'll respond.

Technically, /etc/passwd can have encrypted passwords in it, but as far as I'm aware, no distro has done that in decades, so realistically its not that risky. It does expose the user names though.

[-] CameronDev@programming.dev 8 points 4 days ago* (last edited 4 days ago)

Can you share the lines from /etc/passwd for your user and the user your adding? Despite its name, there are no passwords here, that is in /etc/shadow

Edit: can you su to login as the user?

[-] CameronDev@programming.dev 3 points 4 days ago

Don't windows-shame me!

37

Hi All. I have been watching a lot of House lately, and just started "Extrodinary Attorney Woo". I am curious to know what you all think of their portrails of Autism. Is it pandering? Representation? Romantisation?

Also see "The Good Doctor", "Atypical", "Love on the spectrum" etc.

12
Cutting Garolite (G10) (programming.dev)
submitted 9 months ago* (last edited 9 months ago) by CameronDev@programming.dev to c/3dprinting@lemmy.ml

I posted here a while back when my glass bed failed. One of the suggestions was to replace with Garolite or G10. My sheet finally arrived and i set about cutting it down to size.

...

Within 4cm, my basically unused jigsaw blade was worn flat, and by the end of the first cut (20cm), there is basically no more teeth.

For the second side, I tried using a multitool cutter, and within a few millimeters it was visibly blunt (plastic and metal tools). Finished it off with a standard wood hand saw, which seemed to go better.

So warning to anyone considering garolite, dont use power tools, it will fuck them up.

17

I have a moderately long HDMI cable running to a screen that has worked for quite a while. Recently the screen lost its connection. I replaced the cable with the exact same model of HDMI cable, and its all good. The cables arent frequently inserted or removed, and they are otherwise in good condition. I have no idea how or why this could happen. Any ideas?

8

I have this very weird glitch with Gnome, running on Xorg. I can move my mouse off the right hand edge of the screen, and the entire gnome UI starts to scroll over the the left, giving me a glitchy mess on the right hand side of the screen. The screenshot doesn't really do it justice, because it just became transparent instead, but the transparent region where the terminal is should be off screen.

Hope I have explained that well, has anyone else hit that? I wonder if its due to multiple monitors, or non-aligned monitors?

52

I have just realised that alien.top seems to be mirroring reddit accounts, posts and comments, without labelling them as such. What is the point of this one way mirroring? As soon as users realise, they are going to just leave. There is no point having a discussion with a bot that cannot respond.

17

I have been printing with PETG on glass for a little while now, and have gone through almost an entire roll. Yesterday I had my first print stick so hard that it delaminated the glass :(. I stopped using hairspray as it made the prints not stick at all, and printing bare glass was just fine. But something about yesterdays print made the glass give up. Is this how PETG + Glass normally fails? Works perfectly for years, and then suddenly fails?

view more: next ›

CameronDev

joined 1 year ago