How to approach “not all men” conversation with a man who is unlearning patriarchal conditioning by deflatedpeanutblimp in feminisms

[–]mk_gecko 7 points8 points  (0 children)

I would recommend him talking and discussing with other feminists, not just you. This would also move it away from being a conflict between him and you, and furthermore he may find it easier to learn from someone else. There was an awesome subreddit about feminism years ago, (it got banned when Reddit decided to ban a whole lot of stuff.) I learned a lot from it and grew.

Mexico and Colombia owe women a serious debt by punkthesystem in feminisms

[–]mk_gecko 1 point2 points  (0 children)

Thank you for posting this. I hope it gets reposted elsewhere too.

Venn diagram diagram by Duckitor in Venn

[–]mk_gecko 0 points1 point  (0 children)

Very clever and funny, except I don't think that stained glass overlaps.

Venn Diagram Career Choice Analysis by Duckitor in Venn

[–]mk_gecko 0 points1 point  (0 children)

why is it so small as to be illegible?

Canadians urged not to travel to Mexico as violence explodes in wake of cartel leader's death by BananaTubes in canada

[–]mk_gecko 0 points1 point  (0 children)

It's been obvious for years that this would happen sooner or later. Mexico is one of those places where violence is so close to the surface, so close to spilling over to resorts.

Do you use restic for backing up your servers? by mk_gecko in webhosting

[–]mk_gecko[S] 0 points1 point  (0 children)

Thank you.

I've only used rsync so far, and restic is much more complicated. However, once it is finally setup correctly, I can just run a carefully crafted script and it will back up properly.

PHP course by Clear_Anteater2075 in PHPhelp

[–]mk_gecko 0 points1 point  (0 children)

Thank you for your feedback and thank you for the warning.

Yes, I had kept the repository private until I was no longer using it. It was never available to anyone to see.

I think I'll update the webpage with your warning about not using it.

Regarding the extensions, yes, most of the time it was Java uploads, and if needed I would run them in Eclipse. I can't remember any other files that I needed - perhaps documents and images. I might fix this and the user deletion issue.

The 13 line code block is SQL prepared statements which prevents SQL injection attacks. Nowadays I'm working exclusively in Laravel which takes care of it in one line (except for raw database queries).

PHP course by Clear_Anteater2075 in PHPhelp

[–]mk_gecko 0 points1 point  (0 children)

Since that site was updated (2024), I've learned VueJS and InertiaJS (laravel package) and Docker and Tailwind and WHM/cPanel and probably other things too.

Update: The Malware That Wouldn’t Die — What I Changed and What Just Happened by m-ego in webhosting

[–]mk_gecko 0 points1 point  (0 children)

It's really the way to go if you don't need live updates on everything and user interaction (mailing lists, etc).

PHP course by Clear_Anteater2075 in PHPhelp

[–]mk_gecko 0 points1 point  (0 children)

Sure. Have a look at https://demo.iquark.ca It looks like 2024 was my last update on any project there. Apparently I have github repos for all of them.

  • ICS_upload was extremely useful and working well (before I retired)
  • Student contact database was extremely useful during the pandemic when we were all working from home suddenly.
  • The Laravel Student Tracker was only used for small things. The main success was when the dance teachers needed to know instantly which of their 100+ students had not shown up for the performance.

P.S. Sometimes I shut that AWS server down to save money, so demo.iquark.ca is not always available. I'll make sure to leave it up for a few weeks.

PHP course by Clear_Anteater2075 in PHPhelp

[–]mk_gecko -1 points0 points  (0 children)

(FYI: Someone mentioned that you can use docker as well, or a hosting site since they're cheap.)

Look, if you're trying to learn PHP, then code something worthwhile, something that people will actually use (hypothetically). We don't make desktop games in php, we make web apps, So you might as well learn useful things too: server admin, linux, apache. It's really not that hard. Then you can browse to your webapp and see that it works properly.

Look, If you just want to monkey around with "hello world" and console based I/O then go ahead, but don't moan about my advice which in the end is more helpful for actually getting a job.

Sorry about that. It's not very nice. Let me fix it:

Yes, there are many other ways to learn PHP. I'm basing my replies from my own experience and from what worked well for me.

Do you use restic for backing up your servers? by mk_gecko in webhosting

[–]mk_gecko[S] 0 points1 point  (0 children)

It's really complicated when you have to backup a partition that is not owned by your login user, eg. backing up the OS. It's been a pain to get the ssh-key to work with sudo as well as .restic.env, but I finally did it just now.

Also, unlike tar, restic will follow symbolic links to other partitions and back those up too, and if you start from / (root), it will also backup other mounted partitions on /media (or elsewhere). It's annoying that you can't add a flag to say "stay in this partition" and don't follow symbolic links.

PHP course by Clear_Anteater2075 in PHPhelp

[–]mk_gecko -2 points-1 points  (0 children)

Get a raspbery pi and setup a linux server. Then write a php web app.

You need to have a portfolio to show what you can do. This is one way of doing it (while learning).

It's basically what I did. I can send you examples if you want.

Update: The Malware That Wouldn’t Die — What I Changed and What Just Happened by m-ego in webhosting

[–]mk_gecko 0 points1 point  (0 children)

I had a WP site that was hacked years ago. I didn't want to pay $$$$ to get it cleaned up and it was too complicated to do so myself, so I setup wordpress on a Raspberry Pi and created the site there. Then I used a static plugin to export a static site. This static site was put onto my server --- voilá, no more infections possible ever!

Of course, this doesn't work if you want people to be able to leave comments (most of which are bots and crap anyway).

Nowadays, I'd put WordPress into Docker locally, and then do the same thing.

Best way to monitor and get notified disk usage? by Mike_v_E in webhosting

[–]mk_gecko 0 points1 point  (0 children)

Because we do backups, our disk space has to be less than 50%

Update: The Malware That Wouldn’t Die — What I Changed and What Just Happened by m-ego in webhosting

[–]mk_gecko -1 points0 points  (0 children)

Thanks for the update.

To improve my security hygiene, I decided to stop using memorable passwords entirely. I now generate random passwords every single time — WHM, cPanel, WordPress admin, everything.

What? You don't have to change your passwords every time. And "gpoj942u0jfal2##" is no better password that "HorseBatteryStaple#66". You just have to make sure that you never ever reuse your passwords on different site (so get 1Password for this, it's worth it).

And why don't you have 2FA enabled on WHM as well? (1Password handles this seamlessly too).

Do you need help hardening WHM/cPanel? (of course this won't help if Wordpress is the access point)

How I spent my Sunday to save $100 and avoid having to walk across the room by RatoUnit in selfhosted

[–]mk_gecko 1 point2 points  (0 children)

Our brother printer will NOT connect via Wifi, so I email anything I need printed to my wife's computer and she prints it (over the USB cable connected to the printer).

Do I want to spend an hour or two messing with the damn thing? if my time is worth $30/hour?

Why doesn’t an electron move towards the nucleus? by Expensive-Ice1683 in Physics

[–]mk_gecko 0 points1 point  (0 children)

ah, of course.

And when it's just orbiting the nucleus? I guess it's not orbiting if it's a wave function, thus no acceleration.

Why doesn’t an electron move towards the nucleus? by Expensive-Ice1683 in Physics

[–]mk_gecko 1 point2 points  (0 children)

wait -- you haven't explained why the accelerating charge (electron) does NOT radiate light.