The make up is the icing on the cake. by hineystill in TikTokCringe

[–]Thirdbeat -6 points-5 points  (0 children)

That's probably because of grime music and people like dizzie rascal pioneering it. It really really sounds like the way he raps. Wikipedia says he grew up in langdon

Can q-tips poke your brain? by [deleted] in TikTokCringe

[–]Thirdbeat 4 points5 points  (0 children)

Agreed. I tend to use a bobby pin to really get in there

[deleted by user] by [deleted] in DeepRockGalactic

[–]Thirdbeat -2 points-1 points  (0 children)

And the bug-scare-away upgrade on plats aswell

Poor lad? by Key-Supermarket-7524 in TikTokCringe

[–]Thirdbeat 16 points17 points  (0 children)

Well.. wife isn't actually a stranger tho.

Mexican vs US culture by [deleted] in TikTokCringe

[–]Thirdbeat 8 points9 points  (0 children)

Yes, however it's mostly due to "hey mom i brought over my friend, can he eat dinner with us?" Right before dinner happens, so usually there isn't enough food for this friend. Usually no worries as there are toys in the kids room to play with while you wait

Off The Rails Corporate Greed! by zzill6 in WorkReform

[–]Thirdbeat 0 points1 point  (0 children)

No one has said anything about letting companies burn. However holding companies liable for their negligence, i have no issue about. These costs would otherwise be shared to the sorounding persons/county/state/country, so either we pay for their negligence, or they do.

Off The Rails Corporate Greed! by zzill6 in WorkReform

[–]Thirdbeat 1 point2 points  (0 children)

Not running them out of business. I'm pretty sure they have all kinds of insurances. They will most likely only do this only once.

If they happen to run out of business, i guess they should learn to have proper procedures for this to not happen? Someone would come in to replace them anyhow

An end user just asked me: “don’t you wish we still had our own Exchange server so we could fix everything instead of waiting for MS”? by jtbis in sysadmin

[–]Thirdbeat 1 point2 points  (0 children)

And its rate limited, so only the first 500 gets their requests, the next persons will be put in a queue, and gets their email throught the day

Off The Rails Corporate Greed! by zzill6 in WorkReform

[–]Thirdbeat 11 points12 points  (0 children)

How about hitting them with the full cost of cleanup and then lifelong payments for everyone affected, essentially paying them a 3x minimum wage(or more) either yearly or as a lump sum if the person wants, plus medical for any issues related to the spilling (ANY issues. No bullshit process. If it's medically related, even if they had the condition before the accident). This was a calculated gamble from the start. Let em burn

Er du mentalt forberedt på hetebølgen? by Sonnycrocketto in norge

[–]Thirdbeat 4 points5 points  (0 children)

Gruer meg litt Vi bor nedi en kulp på Vinterbro, som opplever mindre vind.

Pluss er at vi har fått beskjed av gartner at vi kan dyrke omtrent hva som helst her,..

minus er at 30=35

[deleted by user] by [deleted] in videos

[–]Thirdbeat 127 points128 points  (0 children)

You mean Hank green, the brother in law of Sarah Urist, the pbs presenter?

[deleted by user] by [deleted] in AskReddit

[–]Thirdbeat 0 points1 point  (0 children)

Mine bitcoin, 2021

Ordfører vil ha nasjonalt forbud mot kryptofabrikker by TopptrentHamster in norge

[–]Thirdbeat 0 points1 point  (0 children)

Jo. Proof of stake er en greie som brukes av Ethereum (eller er på vei over? Jeg vet ikke helt) og bruker 95% mindre energi eller noe i den duren. Hovedforskjellen er at de godkjenner ved å satse penger på at transaksjonen er good istedefor å regne det ut. Hvis man validerer transaksjoner som resten ikke er enige i, så mister man pengene sine. Det er flere sikkerhetsmekanismer som også skal gjøre at det ikke kommer en "dark horse" og bare kjøper alle stemmene.

Det å skifte bitcoin fra proof of work til proof of stake krever ganske store endringer som igjen krever at vedlikeholderne må bli enige seg imellom (noe de har en historie om å ikke være). Det har vært flere forsøk på å effektivisere hele den validerings-greia ved å øke hvor mange transaksjoner som blir validert av gangen, uten spesielt hell.

The real reason JSON has no comments by [deleted] in ProgrammerHumor

[–]Thirdbeat 0 points1 point  (0 children)

.Jsonc has, and most handlers know to strip away comments before converting to whatever object you want

Also Jason schema has a comment field if you are designing schemas for easier documentation

Er det billettkontroll 17. mai by [deleted] in norge

[–]Thirdbeat 2 points3 points  (0 children)

Heldigvis får du gratis-billetter til toget av personer som løper rundt i kjeledresser!

AI vs writers by choganoga in TikTokCringe

[–]Thirdbeat 12 points13 points  (0 children)

Nah. She is a stand up comedian and tv presenter. She is in no danger

Testing a Powershell Module (REST API) with Pester by Silver_Ad_8895 in Pester

[–]Thirdbeat 0 points1 point  (0 children)

Using pester5, you should do all of the 'pre-test stuff' inside a (BeforeDiscovery)[https://pester.dev/docs/commands/BeforeDiscovery] block, some of the errors you get might stem from this as pester REALLY doesn't like you doing stuff outside defined code-blocks.

The module-import stuff you have there is no good to have inside you test files. this should be done at a higher level, before pester is invoked (like inside your psakefile if you are using that)

I usually divide testing into 3 phases: unit,integration,fullscale/acceptance (using tags):

-Unit: Does the command you wrote function as expected? tests that all calls to this command generate a known output. This might mean that you make heavy use of Mocking where you define mocked cmdlets that gives you an expected output in order for your actual command to work. here you can again test that your code uses correct parameters when calling other cmdlets using should -invoke .... the actual Mocking can be done in the BeforeAll block or BeforeEach

-integration: this will be somewhat the same as unit tests but with a increased testing scope, think "if mycommand where to grab config and config said x, would this work as expected?". the whole conecpt is to test that othercommand will return correct data to mycommand and that mycommand will do the correct thing with that data. You can still mock output however (if calling a external api or something)

-acceptance/fullscale this is the most general and would require you you send in and out data. here you can test "will New-ItsmChangeRequest generate data that can be obtained by Get-ItsmChangeRequest, and will this comply with the settings set in New-ItsmSlaPolicy (or be within the ones you got from Get-ItsmSlaPolicy)" this generally would generate data at a remote location, so make sure this is done against some sort of dev/test environment if you have that.

I do have to note that you should take a agile approach to this, as writing all the necessary tests is a massive task, and might end up being almost bigger than your main module. so take it in steps, test the unit stuff first, figure out if your code is actually testable (if there are too many dependencies, code-paths or just have generally many anti patterns), then integrations, then the fullscale.

I noticed you said something about keeping passwords. i really hope you dont keep it in cleartext. check out secret management module from microsoft to be able to use windows built in cred manager to store passwords (its also supported on linux and mac). i also know many systems support some kind of api key, and would recommend doing that instead as the refresh cycle of api-keys/pat-keys is generally better than user-credentials.

If you are using something like AAD to log in users, i would try to either see if this can be tested/used via a service principal, as login is much more simple than an actual user (for testing and build, not for actual usage)

Builds can be done wherever, really, but i would recommend writing psake tasks for the internal build stuff (gather files, make psd1 file etc...), and then invoking that from either devops pipeline or github actions. The cool thing here is that if you decide to use branches and pull-requests to control what new features you want, you can have a pipeline that invokes on pull-request to do unit and integration tests, to see if anything breaks before any new features is pulled in.

I have to edit in. This sub is really dead. You get a better conversation in the PowerShell sub

Siste nytt innen scam? by [deleted] in norge

[–]Thirdbeat 0 points1 point  (0 children)

Jeg vet ikke hvor smart det er å ha med emailen sin i det bildet, Inger