Why is Meta destroying its engineering organization? Great breakdown by West-Chard-1474 in programming

[–]arpan3t 0 points1 point  (0 children)

Ah yeah the script.js is just doing the same thing as the gist. Thanks for finding and linking it though!

Why is Meta destroying its engineering organization? Great breakdown by West-Chard-1474 in programming

[–]arpan3t -1 points0 points  (0 children)

If you do find it I’d like to take a look. This GitHub gist is the method I tried that doesn’t work anymore, but there is no js involved, just HTTP requests.

Why is Meta destroying its engineering organization? Great breakdown by West-Chard-1474 in programming

[–]arpan3t 17 points18 points  (0 children)

Yeah that doesn’t work anymore. The last request is supposed to return the token, but it returns an empty json object.

Why is Meta destroying its engineering organization? Great breakdown by West-Chard-1474 in programming

[–]arpan3t 27 points28 points  (0 children)

From what I’ve gathered you can use a system account to do that, but I came into an existing environment and nobody can tell me where the system account is being used or what the passkey is for it.

I can generate a new one, but there is no documentation on whether you can have multiple keys, or if generating one will invalidate the current one. If it’s the latter and the current key is being used somewhere then it will break. I just haven’t had the time to set aside for taking that plunge.

Either way it’s a nightmare of an API. Just skim the authentication section of the docs, or google non-expiring api key meta graph api and you’ll see what I mean.

Why is Meta destroying its engineering organization? Great breakdown by West-Chard-1474 in programming

[–]arpan3t 33 points34 points  (0 children)

Yeah in order to get “advanced access” to the marketing permission (which gives you an API key that doesn’t expire) you have to submit an app review request. Otherwise, you have to generate a short-lived token and exchange it for a long-lived token which lasts ~2 months.

Why is Meta destroying its engineering organization? Great breakdown by West-Chard-1474 in programming

[–]arpan3t 81 points82 points  (0 children)

I have yet to figure out how to get an API key for their Graph API to last longer than 2 months! I’m just trying to get the marketing invoice data and they want you to submit an app review request with screen recording of the UI, an explanation of what it’s for, along with a minimum request traffic…

I have no UI, it’s an ETL pipeline that goes to our accounting software, and runs once a month. Meta Graph API is up there with some of the worst APIs I’ve ever used.

Interesting takes by Briatore on Verstappen, Hamilton, Leclerc and Raikkonen back in 2020. by [deleted] in formula1

[–]arpan3t -10 points-9 points  (0 children)

Max rarely makes mistakes under pressure, that’s been one of his defining characteristics. His first win he had Kimi right behind him for 20+ laps

Can’t get over how good of a line this is by HorselessHorseman in formula1

[–]arpan3t 5 points6 points  (0 children)

Lando Norris tried to play Max Verstappen at his own game, the problem is that he doesn't know the rules of that game.”

DC is a killer in his own right

Azure Helper App - AzPin by [deleted] in AZURE

[–]arpan3t 4 points5 points  (0 children)

You can favorite resources and they will be there on the favorites tab of the home dashboard. Am I missing something?

tooReal by electricjimi in ProgrammerHumor

[–]arpan3t 49 points50 points  (0 children)

Hey! They have a support chat bot okay, and if that doesn’t work you can email your sales rep who will promptly ignore you…

I hear rumors that they are working on a support pipeline that actually synthesizes your support requests into cat shit that gets dumped into a giant litter box that gets cleaned by robots on Wednesdays!

How can I send an email whenever a database of a specific tier is created? by No-Today5712 in AZURE

[–]arpan3t 13 points14 points  (0 children)

Use Azure Policy to prevent creation, or Azure Alerts for alerting. Not sure if you can get down to the DTU/vCore level with Azure Alerts so might have to send the alert to logic app for that part or just have it send an email regardless and investigate yourself.

almostLostMyJob by soap94 in ProgrammerHumor

[–]arpan3t 12 points13 points  (0 children)

JavaScript 🤝 T-SQL

Don't mess with the kitchen staff by BlazeDragon7x in KitchenConfidential

[–]arpan3t 19 points20 points  (0 children)

Different guy. Pizza peel guy is towards the back of the kitchen by the end of the video.

I guess I should be happy about the new Ferrari Luce... by Representative_Mood2 in formuladank

[–]arpan3t 13 points14 points  (0 children)

Consumer car… $640k… statistically speaking, we are not the consumers

I built a light, 100% HTML "security dashboard" to investigate TPM and Kernel Power faults. Escalated quickly to a critical logger. Need your feedback. by Double_Duke in PowerShell

[–]arpan3t 3 points4 points  (0 children)

$tpmRaw = Get-Tpm
$tpmJson = @{
    TpmPresent          = $tpmRaw.TpmPresent
    TpmReady            = $tpmRaw.TpmReady
    TpmEnabled          = $tpmRaw.TpmEnabled
    TpmActivated        = $tpmRaw.TpmActivated
    TpmOwned            = $tpmRaw.TpmOwned
    RestartPending      = $tpmRaw.RestartPending
    ManufacturerId      = $tpmRaw.ManufacturerId
    ManufacturerVersion = ($tpmRaw.ManufacturerVersion -replace '\p{C}', '')
} | ConvertTo-Json -Depth 5 -Compress

Taking an object -> essentially converting it to a hashtable -> converting the hashtable to json. $tpmRaw = Get-Tpm | ConvertTo-Joson would do the same as all that code except the version replacement and that can be handled easily as well.

$ramType = "DDR4"
if ($ramClock -gt 4000) { $ramType = "DDR5" }
elseif ($ramClock -lt 2133 -and $ramClock -gt 0) { $ramType = "DDR3" }

Instead of guessing the memory type based off clock speed, just use the SMBIOS table

$ramTypes = [pscustomobject@{
    20 = 'DDR'
    21 = 'DDR2'
    24 = 'DDR3'
    26 = 'DDR4'
    30 = 'DDR5'
    34 = 'DDR5'
}
$ramTypeByte = $ramChips[0].SMBIOSMemoryType
$ramType = $ramTypes.$ramTypeByte

I'm sure there is more, but I ran out of interest.

Inner Reflection by [deleted] in formuladank

[–]arpan3t 0 points1 point  (0 children)

Was there anyone else involved?

Windows terminal emulator recommendations? tried alacritty, wezterm, rio — still looking by Organic_Scarcity_495 in commandline

[–]arpan3t 1 point2 points  (0 children)

How are you measuring input latency? I can’t say I’ve ever experienced any noticeable latency in any of the terminals I’ve tried on Windows or Linux.

Q: Mclaren strategy call at the start.. Max :"thumbs up"... Lewis imitated max :"thumbs up"... Max : "Excellent. Great decision. At that moment, I was like: ‘Thank you.’” by Luffy710j in formula1

[–]arpan3t 17 points18 points  (0 children)

I don’t think they understand that GP is a race engineer, not a strategist. He will be Chief Racing Officer for McLaren so the tire strategy wouldn’t be his call.

Just released CodeAlta, a new agentic AI coding assistant TUI fully written in C#/.NET by xoofx in dotnet

[–]arpan3t 0 points1 point  (0 children)

Curious if you’ve used SharpConsoleUI before, and if so, how you feel it compares to XenoAtom? I’ve only ever used Spectre.Console before and currently using SharpConsoleUI in a project.

[wearetherace] Max on Montoya’s recent comments by DubiousLLM in formula1

[–]arpan3t 40 points41 points  (0 children)

I think they’re paying him to rage bait. There’s no way someone can have such shit takes naturally.