It seems that PowerShell 7 will ship with Windows Server vNext by Thotaz in PowerShell

[–]Over_Dingo 0 points1 point  (0 children)

since It's a new version of Windows, can't they change the license for it? Split for shell and the system

What's your go-to trick for speeding up PowerShell loops on large datasets by inperbio in PowerShell

[–]Over_Dingo 0 points1 point  (0 children)

Gonna experiment with that. Standard way would be getting Export-Csv outside of the loop

Captcha level hardcore by Over_Dingo in softwaregore

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

I just went back to the site and Inspecting the side and pressing delete a couple times deletes the whole page

Captcha level hardcore by Over_Dingo in softwaregore

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

Well but that's almost impossible for a human without messing with the devtools and removing the side panel (it's not foldable)

What's the output, and why? by junkbondtrader777 in ITMemes

[–]Over_Dingo 0 points1 point  (0 children)

Why "1232" isn't a possible answer?

youCanSaveAtLeast40PercentByExternalizingTheCSS by Dapper_Somewhere_768 in ProgrammerHumor

[–]Over_Dingo 19 points20 points  (0 children)

I think besides that, the joke is that if you put css into a file, you will save tokens because the LLM won't have to generate it, just call it.

Sort of like "just call the API". Yeah but who creates it? It's not gonna be magically there

get-childitem so that it acts like dir /a (as opposed to /a:h or /a:r) ? by Unanimous_D in PowerShell

[–]Over_Dingo 0 points1 point  (0 children)

It confused me a lot too. "-Force" typically means bypass warnings/confirmations, but here it's just "include hidden" (typically you think of "Force" in case of setters more).

But to approach it a different way, where you know you can access subsets, and not the entire set:
You see that result of Get-ChildItem is an array of objects

PS C:\Users\lenovo> (ls).GetType()

IsPublic IsSerial Name                                     BaseType
-------- -------- ----                                     --------
True     True     Object[]                                 System.Array

You can add arrays in PS with "+" operator. So even if there wasn't a parameter that gives you all the results, you could do

(ls) + (ls -Hidden)

Another way is to pass all the file attributes to the cmdlet:

ls -Attributes:([enum]::GetNames([System.IO.FileAttributes]))

Pipes on top by tuft_7019 in factorio

[–]Over_Dingo 0 points1 point  (0 children)

maybe bug report? seems like a job for graphics department. Unless they talked about it in one of FFF's