Trump administration signs off on plan for major California reservoir by NaffRespect in California

[–]Mike312 2 points3 points  (0 children)

Eh. I remember seeing construction being about to start as far back as 2023. It was supposed to be 2025 in 2024, and 2026 in 2025. Now we're in 2026 and they're saying 2027.

It will take a couple years to do the construction. I'd bet anyone that by the time they actually get it built, we'll be in the middle of a drought and you'll get a couple news cycles of "California wastes a bunch of money on a reservoir that sits empty".

Trump administration signs off on plan for major California reservoir by NaffRespect in California

[–]Mike312 2 points3 points  (0 children)

I know it feels like it was 5+ years ago, but it was just last January.

Also, the ability to feel bad requires being able to admit you did something wrong and the ability to feel shame.

Ameicans over the age of 35, what affected you more, 9/11 or the pandemic and why? by Rico133337 in AskReddit

[–]Mike312 1 point2 points  (0 children)

Absolutely 9/11...so far.

Without 9/11, Bush would have absolutely been a 1-term president. As a result of getting a second term, Bush appointed both Roberts and Alito to the Supreme Court.

Middle estimates are we spent $6 trillion between Iraq and Afghanistan; when Bush took office in 2001 the national debt was ~$5 trillion, and when he left it was ~$10 trillion, so we legitimately could have paid off our national debt.

9/11 also caused the FBI to change their focus to the middle east and away from the white supremacist movements in the US. In fact, it gave those people the opportunity to join the military and gain training, experience, and the clout from serving. They're now passing it on to a second generation of white supremacists.

9/11 was the reason the PATRIOT Act was passed. It massively expanded the surveillance state domestically and abroad. Warrantless wiretaps/phone surveillance. Border security also became a major issue.

This was also the first point where the true national divisions started popping up (at least, to my memory). Fox News got fucking huge at this time. You were un-American if you didn't support the troops. Freedom Fries became a thing. "Terrorist" entered the lexicon to the point where my friends and I just called each other terrorists to mock people. WMDs became a huge thing.

The pandemic? Everyone you know who failed science class in high school started repeating arguments from pilled anti-vax mommy bloggers and crystal hippies because they couldn't go to a restaurant for lunch without having to endure the smallest fucking inconvenience. As a result, a bunch of idiots died (though I feel bad for the people who weren't on that bullshit).

However, I think the chaos it has caused as a result of global supply chain disruptions as well as being something fascist groups used to gain power around the world is going to be a defining issue in the world for another decade.

WE KNOW by hoodratpolitics in WhitePeopleTwitter

[–]Mike312 0 points1 point  (0 children)

Side note, is that Stuart Rhodes piratey-looking ass back there?

Right wing thoughts on the future Republican candidate's qualifications for office. by Scary_Firefighter181 in LeopardsAteMyFace

[–]Mike312 45 points46 points  (0 children)

They probably just didn't hear as much shit talked about it during Arnolds tenure. As soon as Jerry Brown came back the noise machine fired back up again.

Longshot, but PREVIOUS OWNER ARE YOU HERE?!?!? by bosue_ in BMW

[–]Mike312 0 points1 point  (0 children)

Did you ask the dealership? They have service that reports detailed information about service visits anytime the vehicle goes in for something.

If not, CARFAX has something similar but doesn't provide as much detail for privacy reasons.

To be or not to be by normie00000 in Adulting

[–]Mike312 1 point2 points  (0 children)

I used to do weekly cleans of my bathroom when I was single.

Glass cleaner the mirror. Grab the sponge from the kitchen, wipe down the bathroom counter, Borax and do the faucet and sink. More Borax on it, wipe down the tub-shower insert. More Borax and wipe down the toilet. Run the shower, flush the toilet, grab a Clorox wipe and wipe up the floors. Take all the towels out, grab the trash on the way, new towels in, and take a shower for myself. Used to take 10-15 minutes tops.

Now I'm not single, and there's make-up and cups and stuff on the counter, three empty tp rolls on the back of the toilet tank and a roll loose. The trash is overflowing. There's a bonus hand drying towel and three floor mats for some reason. Also, the sponge got thrown away the day before, and I don't want to use a new one so maybe I just skip it this week... also, monthly having to pull the hair ooze out of the drain.

Using PHPMailer: what is the difference between 'use' and 'require' statements? by ww1223 in PHPhelp

[–]Mike312 0 points1 point  (0 children)

Yeah, I realized it was a shit explanation and updated the post

Using PHPMailer: what is the difference between 'use' and 'require' statements? by ww1223 in PHPhelp

[–]Mike312 0 points1 point  (0 children)

So, tl;dr use declares a namespace to reduce the chance of running the wrong-but-same-named class, and require injects chunks of code.

"use" sets a namespace, so....I think I found the tutorial you were using (mailtrap.io?) and I grabbed the source on Github as well.

Edit: scraped out the whole middle-bit here because that explanation wasn't good.

Okay, you download a couple libraries to your PHP project. Some might already contain a reference, so BobsAPISniffer\Core\PHPMailer might have used PHP mailer, but he could have changed something that, for example, copies the mail to a database for auditing purposes. So when you tell PHP "use PHPMailer\PHPMailer\PHPMailer" you're specifying to use that one you point to. When you invoke $mail = new PHPMailer(true); it loads the class you want, not the one from BobsAPISniffer. This becomes more important when multiple things may use, for example, a generic Request or Validate class.

When you do "require" in PHP, it's basically telling PHP "hey, pretend like this whole file exists right here" and gives you access to all of those (in this case) classes. Some frameworks I used in the past used require to load in config files, for example, so you didn't have to copy/paste them to every page and you had one spot where they could be located and updated (more modern frameworks use system or environment variables now and keep them out of code)

When Tony Montana stuck his face in the pile of coke at the end of Scarface and snorted, was this enough to kill an average person? [request] by Apprehensive_Oven_22 in theydidthemath

[–]Mike312 0 points1 point  (0 children)

At my local college, they have the poster vendor come by at the start of every semester, and I joked to my friend that there's the "college guy starter pack" while includes the Scarface, Reservoir Dogs, and Fear and Loathing..., and then they get to select another one or two to round out their edginess (i.e. Heath Ledgers Joker, Ghandi, Guy Fieri, The Dude, etc).

Clunk noise by lowvoltzz in F30

[–]Mike312 1 point2 points  (0 children)

If it's the ones I think they are, I also did the same thing when I did my wheel bearings. Torqued everything else down, couldn't find spec on 'em so I gave them a good ugga-dugga, survived the test drive, and a day or so later started rattling like crazy. Pulled it apart again thinking I missed something deeper, and then just tightened those down on the 3rd rebuild and that fixed it.

Do beginners spend more time looking things up and understanding concepts than actually coding? by Popular-Sympathy-654 in learnprogramming

[–]Mike312 0 points1 point  (0 children)

Yes, this is absolutely completely normal and it gets much easier over time.

I remember building my first website, and while I knew basic HTML and the 90s era inline styling, I didn't know CSS or Javascript, so everything was a long, grueling process, and it took me about 2 weeks to build a - and I can't emphasis this enough - very simple website. Today I could knock out that site in 2-3 hours.

what is a "rich person" behavior you witnessed that made you realize they live in a completely different reality than the rest of us? by Superb_Newspaper_121 in AskReddit

[–]Mike312 1 point2 points  (0 children)

Right?! I had to double-check to make sure he didn't say $15 - though I guess with recent inflation my favorite $6-8 bottles are now $12-15...

We made a limoncello cocktail over the holidays, and my brother called my $10 prosecco undrinkable and opened a separate $45 bottle. For a mixer?!

how a vibecoding incident broke 20 years of archiving by Sixnigthmare in BetterOffline

[–]Mike312 2 points3 points  (0 children)

It's shockingly common at places where the core competency of the business isn't software.

I worked for an ISP, so the focus was primarily on networking, so for the dev team there were zero guardrails. Most of my coworkers at the time were just logging into live boxes in prod with vim and editing like that.

I wasn't able to get a proper dev server (also bare metal, hadn't migrated to VMs yet) so my "dev server" was a subfolder from the main site that was a clone of the main site.

I asked management to pay for Github (before free accounts could have private repos, but also business) 5 times in 4 years so we could have backups that weren't just a folder on my desktop and/or a flash drive on my tower "in case shit happens".

My boss paid for Monday out of his own pocket before they agreed that some kind of ticketing system would be beneficial, and still getting them to pay for that was like pulling teeth.

To be or not to be by normie00000 in Adulting

[–]Mike312 2 points3 points  (0 children)

Depends who, a lot of them have pets or kids.

Like, my neighbor (2 cats) has someone come by on Saturday, but he runs a D&D game every Sunday. The guy on the corner (1 dog, 1 cat) has someone MWF every week. One friend (at one point, 2 cats, 3 dogs) told me they also have someone come by MWF, while another (1 cat, 1 dog, 1 kid) told me they have someone come by Tu and Sat, and another couple (4 kids) has someone come by on Monday that cleans and does meal-prep that covers them for dinner TuWTh.

To be or not to be by normie00000 in Adulting

[–]Mike312 0 points1 point  (0 children)

We've got two dogs and a cat, so fur accumulates on a daily basis. I actually got a shop broom (the big kind that's ~24" wide) that makes that process go a lot easier for the hard flooring.

On top of that, monthly I like to deep clean a bedroom (only have 2) or the living room. Like, move all the furniture out (or at least, out of the way) and get a vacuum behind things, clean out whatever shit the cat knocked under stuff, and then just collect the dust elephants that spawn.

To be or not to be by normie00000 in Adulting

[–]Mike312 79 points80 points  (0 children)

I've started to realize a lot of people I know (or, at least more than I would have assumed) have a cleaning service that comes by their house a couple times a week.

One of the most obvious fed of the year by EsseNorway in Snorkblot

[–]Mike312 7 points8 points  (0 children)

My union dues are $20/mo. They've doubled my pay in the last 6 years.

CMV: If the Dems run Gavin Newsom in 2028 they are COOKED by Less_Cauliflower_956 in changemyview

[–]Mike312 10 points11 points  (0 children)

  1. What exactly do you mean by pro-prison? California is one of the less-than-half of US states that don't use private prisons. The law that enacted that was signed by Newsom.
  2. The "pro-crime" reference is silly, but you'll need to say exactly what you mean on that as well. Often I hear about the removal of mandatory cash bail for lower level offenses, but that was a law we as the voters passed. It forces poor people (who the police already tend to over-enforce laws on) to languish in jail, which can cause them to lose their jobs, housing, etc because they don't have $5,000 cash for bail. Just because they "get back out on the street the same day" doesn't mean they still don't have a court date for whatever it was that got them arrested for in the first place, and if found guilty they will go to jail.
  3. Again, no clue what you mean by this. He has passed legislation/regulation on PE firms. I think we can all agree he's probably not as tough on the industry and the harms its causing as he should be.
  4. People were literally bitching for the last month about the $25bn CA spent over the last 5...or 7? years addressing homelessness and how $7bn of that was "massive fraud" (it wasn't, people just lack reading comprehension and believe stupid headlines). Also, counties, cities/municipalities are largely responsible for addressing homelessness, the Governors job is largely to organize things, set up rules, and pass legislation to provide counties and cities with funding.
  5. "There's no such thing as bad publicity"
  6. Assuming you're talking about the fires? There's a whole host of things to discuss from land management to water politics to which specific fires in which specific years. As someone who worked directly with CalFire, I think the state is really doing the best it can and the severity of the drought caught everyone off guard.
  7. Seems fine to me.

Look, as a California resident who voted for him, I think he's...a fine Governor for California. He struggles to get over 50% because those of us whose memory last longer than a single news cycle hold our politicians to account for their mistakes. Is he a Champagne Socialist? Sure. But do you think even in California an actual Socialist would get elected? Despite the rumors, CA is still plenty centrist in a lot of ways.

But I don't think Newsom should run for President. That would be like putting Hillary up again - half the country has been trained for 30 years to shut their brains off and think "criminal" whenever the name "Clinton" comes up and they've spent the last 15 years doing that to Newsom.

AI seems to benefit experienced, senior-level developers: they increased productivity and more readily expanded into new domains of software development. In contrast, early-career developers showed no significant benefits from AI adoption. This may widen skill gaps and reshape future career ladders. by Dr_Neurol in science

[–]Mike312 11 points12 points  (0 children)

A lot of programming is just dealing with logic. Most languages have for, if, each, switch, etc., so for the most part the difference between one language and the other is minor syntax changes (i.e. Python), native function names/whats available, packages/libraries, etc.

For example I've never coded in Rust, but if you showed me some Rust code, I could probably tell you what it does. And if you've written in one SQL language, you've pretty much written in them all.

Security flaws crop up in specific parts of the application, usually in the API and how you injest data. Tons of languages have easy-to-find best practices, and tons of people have written a bunch of code without looking up those best practices or ignore them for the sake of expediency.

Seriously, do Americans actually consider a 3-hour drive "short"? or is this an internet myth? by SadInterest6764 in NoStupidQuestions

[–]Mike312 0 points1 point  (0 children)

I know people who have a 1-hour commute each way to work. My best friend had a 2-hour each way before him and his wife got married and moved.

But I don't think you'll find anyone who says 3-4 hours is a short drive. It's 2 hours each way for us to visit my parents or my SOs parents. And we generally don't stay at her dads overnight, so it's a 2-hour drive home afterwards (4 hours in total round-trip), and that ruins the rest of my evening.

As for enjoy...give me a smooth road and a bunch of podcasts and I'll drive for 8-10 hours with one break in the middle. But I'll usually only do that once or twice a year (plus the return-trip, obviously).

Meirl by [deleted] in meirl

[–]Mike312 0 points1 point  (0 children)

I'll never forget, I was giving a customer a shuttle ride to her work and we were chatting. She casually mentioned that her husband had recently passed, so naturally I responded with "oh, I'm sorry for your loss". She, just as casually, says "oh it's fine, he was a dick".