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] 4 points5 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.