Advertisement · 728 × 90

Posts by John (i may also use bynkii as a handle. Here and there.)

Post image

New member of the family, Selina:

1 week ago 2 0 0 0
Post image

Took a while, but still.

2 months ago 0 1 0 0
A man carrying an assault weapon at the Michigan capitol in 2020 to protest COVID restrictions. Behind him are two people wrapped in Trump flags.

A man carrying an assault weapon at the Michigan capitol in 2020 to protest COVID restrictions. Behind him are two people wrapped in Trump flags.

More arms anti-lockdown protesters

More arms anti-lockdown protesters

“You cannot bring a firearm, loaded, with multiple magazines to any sort of protest that you want. It's that simple.” — FBI Dir. Kash Patel

2 months ago 2633 959 152 73

Fucking sciatica has driven me to consider a standing desk with a treadmill because sorting down makes my leg catch fire.

3 months ago 0 0 0 0
Preview
Wish List: SSH keys in Passwords It might be weird to describe myself as an “authentication enthusiast,” but I guess I’ve never claimed to not be weird. I’ve written a whole lot about passwords and passkeys…

HARD agree: sixcolors.com/post/2026/01...

Although given how passkeys work, there’s potential to adapt them for SSH as well and it looks like that’s in the works.

3 months ago 0 0 0 0

Once again I am reminded that the block function is a great way to deal with nerds.

3 months ago 0 0 0 0

How it is is broke. The fact you’ve gaslit yourself into thinking it’s not is your problem, not mine. But I’m done with the lot of you.

3 months ago 0 0 0 0
Advertisement

Broke shit should be fixed. Period.

3 months ago 0 0 0 0

Also, as an argument, “return doesn’t return” is not a great one. Just sayin’

3 months ago 0 0 1 0

Sigh. , and -NoEnumerate don’t work without either [void] or |out-null

And just because y’all are willing to live with stupid crap that should be fixed but “that’s how we’ve always done it” and “we’d have to change” doesn’t mean anyone else has to.

Seriously, why would you live with patent dumb?

3 months ago 0 0 1 0

I got Adobe to change their installers and fix their office integration on macOS. I got Apple to make the SNMP mib directory not part of system protection because it was dumb.

One can effect change, one just has to actually want change and be willing to do the work.

3 months ago 0 0 1 0
PowerShell 7.6.0 Preview 6 macOS install bug (This may also exist on Linux and Windows, but I can't verify that) There's currently (as of the date of this post) a bug with the .pkg installer for PowerShell 7.6.0 Preview 6: it doesn't update the installed preview version, instead it overwrites the installed non-preview/stable version. Obviously, this is less than desireable, but it's been reported to the team, so hopefully it will be fixed soon. But if you installed Preview 6, and you're wondering why your system thinks you're still on Preview 5, that's probably why.

PowerShell 7.6.0 Preview 6 macOS install bug

(This may also exist on Linux and Windows, but I can't verify that) There's currently (as of the date of this post) a bug with the .pkg installer for PowerShell 7.6.0 Preview 6: it doesn't update the installed preview version, instead it overwrites the…

3 months ago 0 0 0 0
PowerShell function return foolishness While working on an update to Set-PowerShellSig, I noticed something weird. Well, not just weird, but bad. Say you explicitly create an arraylist or generic list in a function, we'll call it myDumbReturn and you add things to it. Now, you want to return this arraylist or generic list so you say: return $myArrayList You'd expect that if you had a statement like $myReturn = myDumbReturn, that $myReturn would in fact be an arraylist or a generic list.

PowerShell function return foolishness

While working on an update to Set-PowerShellSig, I noticed something weird. Well, not just weird, but bad. Say you explicitly create an arraylist or generic list in a function, we'll call it myDumbReturn and you add things to it. Now, you want to return this…

3 months ago 0 0 0 0

Y’all just collectively shrugged and said “well that’s how we’ve always done it and you can’t change software ever so 🤷‍♂️”???

Dear lord.

3 months ago 0 0 2 0

And everyone is okay with that? For real? None of y’all reporting it as a bug for 7.X, no one thinks it’s weird or bad that if you don’t append |Out-Null or prepend [void] (which I’d never even heard of until now) the return types silently changed?

3 months ago 0 0 3 0
Post image

Write-Output version, still no change

3 months ago 0 0 1 0
Advertisement
Post image

Write-output version:

3 months ago 0 0 0 0
Post image

Still returns an array with the comma

3 months ago 0 0 1 0
Post image

Doesn’t seem to work for me.

3 months ago 0 0 2 0

But if you want to tone police, I worked on a flightline in North Dakota at night for six winters. -60 F windchills, outside, and I can show you the difference between being short because people don’t seem to be listening and being mean. I don’t think you want that, and it’s a waste of time but 🤷‍♂️

3 months ago 0 0 0 0

And b) provide examples that *are not what you are talking about* while talking like somehow you’re dumb for expecting obvious thing to behave in obvious fashion, the combination of all of that is going to make one short.

3 months ago 0 0 1 0

Dude, when people keep a) telling you something that is weird and wrong is actually okay, you just don’t understand it well enough, that’s a variant of the courtier’s reply and a form of gaslighting. One should be able to use the return keyword without 12 pages of docs on two sites….

3 months ago 0 0 2 0

Y’all keep saying “oh here’s an example that does that” and yet, there’s no example of the code that called the function getting an arraylist in the output.

3 months ago 0 0 1 0

Because so far, you’ve not shown an example of successfully declaring an arraylist in a function, putting data in that arraylist in the function, returning that arraylist and having the code that called the function get an arraylist from the function.

3 months ago 0 0 2 0
Advertisement

Okay, now how do you *return* that arraylist *as an arraylist not an array*?

because i don’t see that happening.

3 months ago 0 0 1 0

Doesn’t seem to work

function badArrayReturn {

$theArrayList = [System.Collections.ArrayList]::New()

$theArrayList.Add("item5")$theArrayList.Add("item6")

return ,$theList
}

$returnedList = badArrayReturn
$returnedList.GetType()

it’s an array, not an arraylist

3 months ago 0 0 2 0

“learning how to return specific types is a rite of passage”

Can you, for a second, step outside of yourself and see just how weird and elitist that is as a statement?

Why not just call it a “test of manhood” or “how you prove your worth” because it’s the same thing.

You really can’t see that?

3 months ago 0 0 1 0

Yeah, here I thought that explicitly declaring an arraylist and returning that would work as it should.

What kind of *idiot* would think that.

3 months ago 0 0 1 0

Clearly I was fucking stupid for thinking a “return $explictlyTypedVariable” would actually do that.

How fucking ignorant to think that.

3 months ago 0 0 1 0

I literally put them in a fucking box. I explicitly declared an arraylist. That’s me putting them in a fucking box. I then, evidently *stupidly* assumed that when I said “return $explictlyTypedArraylist” that sans error or weird uncommon bullshit, I would get…an arraylist, not an array.

3 months ago 0 0 1 0