IT/Software career thread: Invert binary trees for dollars.

ronne

Nǐ hǎo, yǒu jīn zi ma?
8,166
7,555
Any of you nerds Google Workspace admins? I can't remember offhand the boolean syntax Google will accept for large single queries with AND+OR operators similar to:

  1. pie OR cake AND (apricots OR blackberries OR cantaloupe OR cherries OR dates OR dragonfruit OR figs OR grapefruit OR lemons OR limes OR mangoes OR papayas) OR from:*@fruit.com



This should return everything from the fruit.com domain as well as anything containing 'pie' or 'cake' and any of the matching fruit types, but I don't have access to a workspace account currently to verify if they still accept this, cause personal gmail search turned a bunch of this type of boolean query logic off a while ago.
 

Identikit

Redneck Pornographer
<Bronze Donator>
2,203
3,841
Any of you nerds Google Workspace admins? I can't remember offhand the boolean syntax Google will accept for large single queries with AND+OR operators similar to:

  1. pie OR cake AND (apricots OR blackberries OR cantaloupe OR cherries OR dates OR dragonfruit OR figs OR grapefruit OR lemons OR limes OR mangoes OR papayas) OR from:*@fruit.com



This should return everything from the fruit.com domain as well as anything containing 'pie' or 'cake' and any of the matching fruit types, but I don't have access to a workspace account currently to verify if they still accept this, cause personal gmail search turned a bunch of this type of boolean query logic off a while ago.
If its through the directory API it depends on what you are attempting to query

If you are quering Users.list() through the directory API you can definitely Use AND in the query parameter portion of the url. OR is not useable. According to google the AND is seperated by whitespace in the query, but depending on how you are sending calls to the API it might be formatted different.

example for users.list() https://admin.googleapis.com/admin/directory/v1/users?domain="domain.com"&query=primaryEmail="[email protected]" AND primaryEmail="[email protected]"

if you are querying domains.list there are no query paramaters that can be used.
 
  • 1Like
Reactions: 1 user

ronne

Nǐ hǎo, yǒu jīn zi ma?
8,166
7,555
If its through the directory API it depends on what you are attempting to query

If you are quering Users.list() through the directory API you can definitely Use AND in the query parameter portion of the url. OR is not useable. According to google the AND is seperated by whitespace in the query, but depending on how you are sending calls to the API it might be formatted different.

example for users.list() https://admin.googleapis.com/admin/directory/v1/users?domain="domain.com"&query=primaryEmail="[email protected]" AND primaryEmail="[email protected]"

if you are querying domains.list there are no query paramaters that can be used.

Yea this isn't even API or any external data parser - just basic as Vault searches for eDiscovery bullshit.

Near as I can tell it's just bassic boolean input and should be fine with doing it as a huge AND+OR, or worst case break down in to two separate queries.
 

Palum

what Suineg set it to
25,389
38,207
Lmao coworker was just on a big technical call with Crowdstrike. They confirmed the channel update was untested. Big yikes.
 
  • 1Worf
Reactions: 1 user

Khane

Got something right about marriage
20,238
13,858
Lmao coworker was just on a big technical call with Crowdstrike. They confirmed the channel update was untested. Big yikes.

Well... the alternative, them claiming it was tested, would have been comical.

It's more likely that it was tested and their testing suite shit the bed or wasn't accounting for scenarios like this and someone made the call to verify it as tested and push it. But that looks and sounds way worse than "Oops, this one slipped through without being tested"
 

TJT

Mr. Poopybutthole
<Gold Donor>
41,946
106,056
1721893901545.png
 
  • 3Worf
  • 1EyeRoll
Reactions: 3 users

TJT

Mr. Poopybutthole
<Gold Donor>
41,946
106,056
Well... the alternative, them claiming it was tested, would have been comical.

It's more likely that it was tested and their testing suite shit the bed or wasn't accounting for scenarios like this and someone made the call to verify it as tested and push it. But that looks and sounds way worse than "Oops, this one slipped through without being tested"

Really cool channel btw.



Apparently this legend was trying to track down a bug where the task manager said CPU usage > 100% for a long time. He got desperate and put an assertion that would say call Dave at his personal number. He forgot about it and this shipped so when the error dig occur out in the wild the error with his own number on it would pop up.
 
Last edited:

Palum

what Suineg set it to
25,389
38,207
When you end the daily standup early with your finger over the leave button but are still the last one off the call

 

Deathwing

<Bronze Donator>
16,625
7,608
Is there an alternative to NIS?

We had a power outage last night. Our IT department is understaffed and incompetent at the same time. Thus, the server racks are full of machines they know shouldn't all be powered up, only some of them. Even better due to the aforementioned NIS, there should be an order to the power up.

But there isn't, IT monkey just goes into the server room, pressing buttons. So, now I'm left trying to get his attention so I can get sudo to run `mount -a` to unfuck the rest of our machines.
 

TJT

Mr. Poopybutthole
<Gold Donor>
41,946
106,056
I mentioned bae warp.dev a while ago.

This is an open source clone of it, of sorts. If you're not into potentially paying for it down the road. Like Amazon killing Fig, which I really liked.
 

Noodleface

A Mod Real Quick
38,067
14,682
Our project not hitting the delivery date is escalating to the SVP level this week with presentations from the greater team with justifications and recovery plans. This is way above my pay grade. I also feel like this is gonna cause a hammer to drop down on me. Oh well, def not stressed.

Coincidentally the word on the street is Dell is performing layoffs on August 5th that will be the largest they've ever had...rumors are 10%+ of the company.

Last time we laid off 5% of the company and that's how I landed myself this terrible gig. Literally laid the architect off and the day he was leaving he handed me his notes.
 
  • 1Thoughts & Prayers
Reactions: 1 user

moonarchia

The Scientific Shitlord
22,617
40,996
Our project not hitting the delivery date is escalating to the SVP level this week with presentations from the greater team with justifications and recovery plans. This is way above my pay grade. I also feel like this is gonna cause a hammer to drop down on me. Oh well, def not stressed.

Coincidentally the word on the street is Dell is performing layoffs on August 5th that will be the largest they've ever had...rumors are 10%+ of the company.

Last time we laid off 5% of the company and that's how I landed myself this terrible gig. Literally laid the architect off and the day he was leaving he handed me his notes.
Think positive, you won't have to hand over notes if there are no notes. If you want to take down the asshole who tried to fuck you at that meaning, make sure his team inherits your team's work.
 
  • 1Worf
Reactions: 1 user