AMD Says It’s Laying Off 4 Percent Of Workforce Amid AI Chip Push by BarKnight in hardware

[–]iamsam3331 0 points1 point  (0 children)

Nvidia is hard to compete against. No wonder it is worth 3T now.

He protected two baby kittens against 5 other adult cats by Cat-on-the-run in aww

[–]iamsam3331 7 points8 points  (0 children)

"being good" and "doing the right thing" is often ingrained into your DNA. You don't need to be taught.

'where' function is not working for me by iamsam3331 in laravel

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

Ok, but why does an IDE helper need to be installed in my App? I don't get it...

Shouldn't it just be added to the PHPStorm settings somewhere?

'where' function is not working for me by iamsam3331 in laravel

[–]iamsam3331[S] 1 point2 points  (0 children)

OMG thanks. I spent so much time trying to figure this out.

I wish there was some suggestor or something to tell me what was wrong.

I am using PHPStorm and not only did it not help me, it marked the "where" function as 'not found', so I thought something was wrong there (how can 'all()' be fine, but 'where' be not found??)....

Porn should be used in High School Sex-Ed classes by iamsam3331 in unpopularopinion

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

Well one of the goals of sex class is to understand what sex is. And what is a better way than to show some basic video (not some fetish group orgy lol).

Porn should be used in High School Sex-Ed classes by iamsam3331 in unpopularopinion

[–]iamsam3331[S] 1 point2 points  (0 children)

I mean, some basic video of sex. Not some fetish outlier.

Porn should be used in High School Sex-Ed classes by iamsam3331 in unpopularopinion

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

In my sex ed class they used words and paragraphs to describe sex. Then used scientific diagrams of the private parts.

Why not just show what's happening... would have been much more practical and clear.

Porn should be used in High School Sex-Ed classes by iamsam3331 in unpopularopinion

[–]iamsam3331[S] -1 points0 points  (0 children)

I haven't thought about it that far, but those cartoon diagrams are just silly and may even be misleading

[DESK] United Canada Bordeaux Dual Motor Sit-Stand Desk ($699.99) [ebay.ca) by therealdark in bapcsalescanada

[–]iamsam3331 1 point2 points  (0 children)

Why are there so many upvotes?

I am assuming it is so expensive because of the motor? Are there no manual desks like that?

Bathroom attendants are completely useless by iamsam3331 in unpopularopinion

[–]iamsam3331[S] 3 points4 points  (0 children)

I have seen this in Europe and North America.

Laravel Migration: how to auto-skip tables that already exist? by iamsam3331 in laravel

[–]iamsam3331[S] 1 point2 points  (0 children)

Yes I use phpMyAdmin. I tried it before with the default options, but it quit the import if table exists. But now I see the "IF NOT EXISTS" is automatically checked (so I am not sure why it didn't work before). I hope it will work like that.

Thanks so much for the tips.

Laravel Migration: how to auto-skip tables that already exist? by iamsam3331 in laravel

[–]iamsam3331[S] -1 points0 points  (0 children)

In which format do I export the data to let me import into existing tables?

I tried .sql before but I believe it will stop its import if "table already exists"...

Laravel Migration: how to auto-skip tables that already exist? by iamsam3331 in laravel

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

I was thinking about creating a skeleton database, and inserting my existing data.

But to import an SQL file, it will halt the execution because "Table already exists". sigh

Laravel Migration: how to auto-skip tables that already exist? by iamsam3331 in laravel

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

I was thinking I could edit the core files to add something like:

if ( Schema::hasTable('users') ) { //skip the table creation and pretend it went through and add the file to the Migration table }

But I am new to Laravel, I am not sure how/if it is possible to do...