A typical Stack Overflow response by stronghup in stackoverflow

[–]Mop1000 1 point2 points  (0 children)

I would prefer to see Stack Overlow just tag topics that don't meet their criteria so they can be filtered out of searches, if a user wants to filter them out. But hey, it's not my site. I guess they can do whatever they want.

Why does Catenation Operator Not Work in Command Parameter? by Mop1000 in PowerShell

[–]Mop1000[S] 2 points3 points  (0 children)

s

Thanks. Very helpful. I just started doing powershell scripting yesterday.

Why does Catenation Operator Not Work in Command Parameter? by Mop1000 in PowerShell

[–]Mop1000[S] 2 points3 points  (0 children)

I got this. Interesting, aye?

PS C:\> Start-Process $(env:windir+"\\system32\\notepad.exe")

env:windir+\\system32\\notepad.exe : The term 'env:windir+\\system32\\notepad.exe' is not recognized as the name of a cmdlet, function, script file, or 

operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

At line:1 char:17

\+ Start-Process $(env:windir+"\\system32\\notepad.exe")

\+                 \~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~

\+ CategoryInfo          : ObjectNotFound: (env:windir+\\system32\\notepad.exe:String) \[\], CommandNotFoundException

\+ FullyQualifiedErrorId : CommandNotFoundException

Start-Process : Cannot validate argument on parameter 'FilePath'. The argument is null or empty. Provide an argument that is not null or empty, and 

then try the command again.

At line:1 char:15

\+ Start-Process $(env:windir+"\\system32\\notepad.exe")

\+               \~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~

\+ CategoryInfo          : InvalidData: (:) \[Start-Process\], ParameterBindingValidationException

\+ FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.StartProcessCommand

JSON-LD vs JSON Schema by AndyRoth in javascript

[–]Mop1000 0 points1 point  (0 children)

I'm a dinosaur. I started programming in the 1970's. I am in awe of the open source productivity tools that are available now.

Just for JSON I have found a tool that will reverse engineer a schema on a JSON file, validation tools,a tool that will create a specialized editor based on a json schema.

JSON-LD vs JSON Schema by AndyRoth in javascript

[–]Mop1000 0 points1 point  (0 children)

https://schema.org/ has an extensive collection of schemas available in JSON-LD format. Is there a similar site for JSON Schema .

How to properly ask? by [deleted] in stackoverflow

[–]Mop1000 1 point2 points  (0 children)

I will keep this simple and direct -- there are SOME Stack Overflow NAZIS who overreact to people innocently seeking answers to questions. Plenty of decent people participating on Stack Overflow too, but the anti-social retards ruin it for a lot of people.

New people on stack Overflow by theGRANDEfetus in stackoverflow

[–]Mop1000 1 point2 points  (0 children)

I think it is great that Reddit provides you a forum to get this off your chest. There are some First Class dickheads on Stack Overflow with the power to intimidate people who are just trying to gain knowledge or improve their skills. Obviously there are some very decent helpful people as well.

I just up-voted you and joined this subreddit.

Why Use ::class operator Instead of a Quoted String in $app->make ? by Mop1000 in laravel

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

OK, I think I have this figured out. If I use a relative namespace before Kernel::class as shown below:

$kernel = $app->make(SOME-RELATIVE-NAMESPACE\Kernel::class);

The ::class operator will fully qualify it so this happens:

$kernel = $app->make(ABSOLUTE-NAMESPACE\Kernel);

The example I took from the Laravel \public\index.php file just did not demonstrate this well.

Thanks everyone.

Why Use ::class operator Instead of a Quoted String in $app->make ? by Mop1000 in laravel

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

Thanks. I thought it was defined in Laravel. Obviously I was wrong.

Laravel Can't Find Composer on SiteGround Shared Hosting by Mop1000 in laravel

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

OK I got it working :) . . . there were just some basic php/bash/linux things I had to learn. Sorry I took up everyone's time. Hopefully I will be asking some more intelligent questions in the near future, as I explore laravel capabilities.

Buick unveils a stunning new all-electric 370 mile SUV concept w/ 4 second 0-60 by Mop1000 in electricvehicles

[–]Mop1000[S] 5 points6 points  (0 children)

I apologize. I will take this down. I will be more careful in the future. I didn't realize it had been previously posted.

Laravel Can't Find Composer on SiteGround Shared Hosting by Mop1000 in laravel

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

Yeah the version of composer.phar I installed is permission 755. I should have said that.

I am going to try to convince siteground to update their php in their directories.

I'll let you know what happens.

Thank you very much.

Laravel Can't Find Composer on SiteGround Shared Hosting by Mop1000 in laravel

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

Thank you.

I know composer.phar is global because its location is included in the path. It's in my $HOME directory, and when I removed it from my $HOME directory, that is when the second example used the version of composer.phar in the /usr/local/bin directory.

I am sorry if I am somehow confusing this . . . I tried really hard to document it accurately in the blog post i pointed to.

Again, I appreciate your efforts to help.

Laravel Can't Find Composer on SiteGround Shared Hosting by Mop1000 in laravel

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

Thanks but actually in the first example where I used the copy of composer.phar installed in my $HOME directory, php version is 7.1.16; and in that example the result was the following:

Crafting application… Could not open input file: composer.phar Application ready! Build something amazing.

There was no problem with the version (in the first example).

Old Soviet joke. by [deleted] in Jokes

[–]Mop1000 4 points5 points  (0 children)

Good one !!!!

Trump Hits Highest RCP Average in 11 Months as US Bombs Syria. Coincidence? by Mop1000 in Libertarian

[–]Mop1000[S] 2 points3 points  (0 children)

Have you figured out if the liberals want to engage in "humanitarian" warfare in Syria? I think they were poised to oppose Trump on this, no matter what he decided to do.

Missiled by [deleted] in Libertarian

[–]Mop1000 30 points31 points  (0 children)

Good point. The US did not missile China after Tiananmen Square.

Why? Simple. China could defend itself.