News for hackers. Stuff that matters.
Re:A word used only by Postgres developers by striking on Thursday March 10, 2022 @01:27PM (#30630499)
I recently caught out someone trying to hide their deep knowledge of Postgres when, in a moment of weakness as I mentioned one of the benefits of TOAST, he replied "I guess that's why they call it 'the best thing since sliced bread'".

And that's when I knew.

Because that's an exact quote from the docs.

> This section provides an overview of TOAST (The Oversized-Attribute Storage Technique).

> PostgreSQL uses a fixed page size (commonly 8 kB), and does not allow tuples to span multiple pages. Therefore, it is not possible to store very large field values directly. To overcome this limitation, large field values are compressed and/or broken up into multiple physical rows. This happens transparently to the user, with only small impact on most of the backend code. The technique is affectionately known as TOAST (or “the best thing since sliced bread”). The TOAST infrastructure is also used to improve handling of large data values in-memory.

https://www.postgresql.org/docs/current/storage-toast.html

Re:A word used only by Postgres developers by saurik on Thursday March 10, 2022 @01:32PM (#30630568)
Why would anyone try to "hide their deep knowledge of Postgres"? Like, I could easily see someone having to hide their deep knowledge of MongoDB--lest they be branded forever as "damaged"--but I've been under the impression that PostgreSQL skills are considered a really good thing this past decade or so... were they just really hoping to avoid becoming a database engineer, or were they maybe under threat of becoming an "on call" asset?
Re:A word used only by Postgres developers by popularonion on Thursday March 10, 2022 @01:47PM (#30630774)
If people ever start seeing you as “the database guy”, you’ll be pigeonholed into that slot as long as you remain in that team.

Or maybe their manager was just a really big fan of Oracle or something. I don’t know.

Re:A word used only by Postgres developers by DaiPlusPlus on Thursday March 10, 2022 @06:35PM (#30634124)
> you’ll be pigeonholed into that slot as long as you remain in that team

That's a good thing: it gives you great leverage to ensure good retention-pay.

-------

During your 1:1s/"connects"/perf-evals, don't frame it as "I hate being the only one here who knows SQL, I'm quitting/gimmie-a-raise", instead frame it as "I'm proud of the great accomplishments that my unique and deep understanding of both database-theory and SQL in-practice have brought to the company; given my significant responsibilities I now have in the team/company I'm sure you'll "recognize" my now quite-significant leading-role...."

(for best effect make the "money-gesture" with your fingers during the last part).

...I wish I had the gall to do that when I was younger.

Re:A word used only by Postgres developers by squeaky-clean on Thursday March 10, 2022 @08:27PM (#30635052)
It also creates problems that normally wouldn't exist. I was "the regex guy" at my last company. Every couple of days someone would be trying to solve a problem that would much more reasonably be handled by a few string.split() or indexOf() calls and some logic in their application's language. Instead they would message me "I need to do blahblahblah, can you give me a regex for that?" Or even worse "I've written this regex but it doesn't work on a few cases, can you help me fix it?" and then share some 600 character long regex monstrosity.

90% of the time my answer was simply "Yeah... That's a bad use-case for a regex. You can use this java snippet to accomplish the same thing."

At the start I would actually solve their request with some hairy regex, but it generally did not perform well and when requirements change they'd be unable to edit it and would find me again to change it.

Re:A word used only by Postgres developers by dredmorbius on Thursday March 10, 2022 @10:14PM (#30635692)
Re:A word used only by Postgres developers by squeaky-clean on Friday March 11, 2022 @12:22PM (#30642890)
Yep! When I first heard of this it was phrased as "the chainsaw problem".

"Hey can I borrow your chainsaw?"

"Sure, you need the gas powered one or the electric one?"

"Oh I'm not sure, which one would be best for cutting my hair?"

Re:A word used only by Postgres developers by DaiPlusPlus on Thursday March 10, 2022 @09:08PM (#30635314)
Did the company ever use the "internal market" paradigm? If so, keep track of your time spent on other-peoples-problems and record it in a spreadsheet, and invoice other peoples' managers accordingly :)
Re:A word used only by Postgres developers by phailhaus on Thursday March 10, 2022 @11:54PM (#30636369)
That sounds like a quick way to shut down collaboration across the team...
Re:A word used only by Postgres developers by egman_ekki on Friday March 11, 2022 @03:50AM (#30637763)
...and get shit done. I mean come on, who asks a person in another team to help with a regular expression. There has to be a line somewhere. You can be a go-to person for an obscure technology, some complex framework, but being a go-to person for regular expressions? What's next? Go-to person for iteration?
Re:A word used only by Postgres developers by squeaky-clean on Friday March 11, 2022 @12:28PM (#30643006)
When I joined it was about 15 employees. When I left it was about 150 (but still under 30 devs) so this wouldn't really be reasonable.

But part of the problem was they did know simple enough regex for what they wanted to accomplish. Having a few simple regex and some application logic around them would have done it. But they'd often think "that sounds messy, squeaky-clean can probably solve this in a single regex." And while I probably could, it would not be good code nor would it be more performant.

Re:A word used only by Postgres developers by phailhaus on Friday March 11, 2022 @10:34AM (#30641108)
How are you supposed to get work done on a team, if any question asked to another team member is immediately seen as "unproductive"? It's not just about regexes. I'm having trouble debugging a system, who do I ask? Nobody, apparently, because if I do then I might incur a "bill" from my own coworkers!
Re:A word used only by Postgres developers by DaiPlusPlus on Friday March 11, 2022 @08:08PM (#30648019)
You wouldn't be logging time spent on stuff that's part of your actual responsibilities and/or for your same team (under the same manager) is fine - the whole "internal market" stuff applies to inter-team work, especially work/asks/tasks that don't go through the chain-of-command (i.e. from IC1 in team A to IC2 in team B without going through either Team A's manager nor Team B's manager).
Re:A word used only by Postgres developers by ekoontz on Friday March 11, 2022 @04:21PM (#30646172)
I think in the some cases like people mentioned above, it's no longer collaboration but more of a consultation. The benefit is only going in one direction: to the consultantee. In that case, you need some way to make the nature of that relationship explicit and valued. Otherwise these consultants begin to feel they're being put in a position of working for someone else without management recognizing that and compensating it as such.
Re:A word used only by Postgres developers by squeaky-clean on Friday March 11, 2022 @12:20PM (#30642846)
When I joined it was still a pretty early stage startup so that wouldn't have been reasonable. When I left it was pretty solidly in the mid-sized company category, so maybe something like that would have been doable (invoices are pretty rude though). I did enjoy helping cross-team though, it's fun working with people you don't work with on a daily basis, and they were/are my friends.

I wouldn't even have minded being seen as the "string pattern/parsing guy". But I was specifically regex-guy in their minds.

Also story for another day and another thread, I was also the MongoDB-guy. Similar to the regex stuff though, in 90% of the questions they'd send to me MongoDB was not the correct choice.

Overall it's more nuanced then could ever fit into an HN comment (yes I brought it up with management, and other issues), but there are a number of reasons I quit. I quit a couple months before a company buyout we knew was going to happen and I had equity. I felt like it was probably the right choice then. I recently got some beers with some of my friends who stayed through the buyout and had equal amounts of equity and learned I did make the correct choice.

Re:A word used only by Postgres developers by kelnos on Thursday March 10, 2022 @07:57PM (#30634834)
I know enough people who have gotten pigeonholed as "the database person" to believe that's not an enviable place to be. You end up getting a lot of tedious, fiddly work dumped on you by people who have no idea what they're doing and need you to clean up their messes.

No amount of retention pay would raise my spirits in that situation.

Re:A word used only by Postgres developers by nrmitchi on Thursday March 10, 2022 @08:03PM (#30634878)
> people who have no idea what they're doing and need you to clean up their messes

Not even this. It's worse when you end up with a whole bunch of tedious, yet very basic work dumped on your by people who have no desire to know what they're doing because "the database guy" can just do it instead.

Note that it's not only "databases" where this happens.

Re:A word used only by Postgres developers by jan_Inkepa on Thursday March 10, 2022 @10:52PM (#30635945)
I became one of the 'version control' guys at a company once. It was nice to be a go-to person for certain crises, but it had its down-sides for sure.
Re:A word used only by Postgres developers by kasey_junk on Thursday March 10, 2022 @10:13PM (#30635680)
Worse than that, you can get set with OKRs set by people with no context and then judged because you didn’t meet them. Then your expertise is discounted.
Re:A word used only by Postgres developers by glenda on Thursday March 10, 2022 @07:18PM (#30634478)
But if you truly find it boring it’s still going to be difficult to frame it that way. Picking up too much work you don’t want to do can make you resent a job very quickly.
Re:A word used only by Postgres developers by ekkeke on Thursday March 10, 2022 @07:37PM (#30634664)
idiotsecant, other people having worse jobs doesn't mean you should be happy with the same (or even better). Should we limit ourselves to be content with doing better than 90%? Where would the Torvalds, Stroustups, and Dijkstras come from then?

Being pigeon holed into boring work just because you're "the guy" is crap, no matter how good the salary is. I quit my last job because of this, and would encourage anyone feeling the same to do so.

Re:A word used only by Postgres developers by idiotsecant on Thursday March 10, 2022 @07:27PM (#30634563)
Most of the world works at jobs that are repetitive, demeaning, dangerous, and insecure. And all that for the payoff of barely continuing to survive. It's truly a point of privilege to turn up your nose to a top 10% first world salary because shuffling things around in a database is distateful to your sensibilities .
Re:A word used only by Postgres developers by aidenn0 on Thursday March 10, 2022 @07:38PM (#30634682)
And much of the world has food insecurity, but I still don't eat bananas...
Re:A word used only by Postgres developers by jamil7 on Thursday March 10, 2022 @04:07PM (#30632454)
Same with anything to do with ops or deployment - better to hide that knowledge.
Re:A word used only by Postgres developers by pacificmint on Thursday March 10, 2022 @04:12PM (#30632512)
I used to work with a guy who was amazing with makefiles. After being burned once, ne made damn sure nobody at his new job knew about it.
Re:A word used only by Postgres developers by pklausler on Thursday March 10, 2022 @05:34PM (#30633513)
You know that you've matured in this business when you can feel no guilt when denying knowledge about something that you're an expert in.
Re:A word used only by Postgres developers by dahfizz on Thursday March 10, 2022 @08:29PM (#30635066)
Yeah, it sucks. I have strong opinions about how to improve our ops, and the knowledge/skills to do it, but there is no way I'm going to get stuck as being the ops guys.
Re:A word used only by Postgres developers by wyclif on Friday March 11, 2022 @01:53AM (#30637097)
Unless that's the job they hired you to do, and it's in your job title...
Re:A word used only by Postgres developers by busterarm on Friday March 11, 2022 @02:53AM (#30637407)
As a fulltime ops/deployment person, I haven't written any real software in over 4 years and long to go back to it.

Of course I'm solving real and challenging problems, but the skills that got me here in the first place are dying on the vine.

Also, on top of that, I'm "the cloud/networking/debugging guy" for about 150 engineers. It's annoying. I want to turn off Slack.

Re:A word used only by Postgres developers by jamil7 on Friday March 11, 2022 @02:55AM (#30637431)
That goes without saying doesn’t it?
Re:A word used only by Postgres developers by vjust on Thursday March 10, 2022 @03:43PM (#30632183)
Can confirm from experience. It took me years to shake that off and become known as a developer who could database. Its a function of whatever the team lacks. Once upon a time, DBA was a thing - I did manage to stay out of that deep pigeonhole luckily.
Re:A word used only by Postgres developers by bifrost on Thursday March 10, 2022 @05:34PM (#30633508)
DBA is absolutely still a thing, they fix things that developers make that deal with databases :)
Re:A word used only by Postgres developers by worthless-trash on Thursday March 10, 2022 @06:21PM (#30633984)
From my limited interactions with DBA's.. they rarley did anything outside of the database other than tell the developers their queries were inefficient or deploy new tables/databases/upgrades.

I understand my view on the DBA may be limited, but are you serious ? Have I been unlucky and only ran into this weird subcategory ?

Re:A word used only by Postgres developers by InvaderFizz on Friday March 11, 2022 @01:15AM (#30636889)
No, you experienced the average DBA which is probably someone that started as a Junior SysAdmin, futzed around with databases, liked that they could silo into that and do nothing else.

The problem is that that is basically where all advancement stopped for them. They learned SQL well enough, they might even know how to do transaction rollbacks, but god help you if you have a real systemic problem that takes detailed knowledge of the whole system to unwind and fix without major data loss.

I'm in the process of trying to convince management to hire a real Postgres expert(both inside and outside the database), because we are currently on a bad, checkbook driven path that is moving tons of our managed RDS Postgres databases to self-managed (and poorly architected) clusters on another cloud. I have neither the time nor the inclination to become a deep Postgres expert.

Re:A word used only by Postgres developers by arthurjj on Thursday March 10, 2022 @04:52PM (#30632968)
Exactly. I was at one point an orgs "GDPR expert" which was fine work wise but not exactly what you want to be known for
Re:A word used only by Postgres developers by striking on Thursday March 10, 2022 @01:44PM (#30630737)
> were they maybe under threat of becoming an "on call" asset

You got it. A previous role as a database firefighter was something this individual did not want to continue at their new workplace.

Re:A word used only by Postgres developers by dvtrn on Thursday March 10, 2022 @02:24PM (#30631273)
I’ve definitely done it for exactly this reason, and others mentioned in the thread: a strong desire to not suddenly become the ______ guy.

Additional responsibility with no additional authority absolutely sucks when you get (a) pigeonholed, (b) saddled with every single request ever about _______ in addition to your other work or (c) some unholy combination of both.

Especially when ______ only has enough “buy in” from decision makers to make the decision that you need to keep ______ alive because the business “needs”it but apparently not enough to properly source and acquire the necessary resources it needs compared to other business initiatives.

Because “why do we need to do that? I thought you knew about ______ “

Go figure. I’m quite done volunteering myself like that.

Re:A word used only by Postgres developers by kelnos on Thursday March 10, 2022 @07:58PM (#30634850)
Heartily agreed. Additional responsibility without the authority to match just sets you up for failure. And rarely do you get extra pay for this additional responsibility anyway.
Re:A word used only by Postgres developers by evilduck on Thursday March 10, 2022 @02:20PM (#30631218)
A few other scenarios:

In an interview I don’t want to be intimidating and feigning ignorance can give the candidate opportunity to shine. If they go deep, I can keep up and keep pushing, if they veer into bullshitting I can tell and gracefully conclude without offending anyone.

As a manager, not disclosing depth lets me ask stupid questions more frequently and in more contexts (for the benefit of others, for when I forget something or don’t understand something, as a Socratic teaching method, to help set the culture of asking questions, etc)

Playing dumb is also a good way to avoid responsibility if you hate something, too, if a bit passive aggressive.

Re:A word used only by Postgres developers by matheusmoreira on Thursday March 10, 2022 @10:19PM (#30635728)
Sometimes being seen as deeply knowledgeable will do nothing but create endless unpaid work for you. It is often the case that this work comes from people who don't know and don't want to know whatever it is you're good at.

Surely everyone here can relate with the classic "computer guy" everyone takes advantage of. It turns out this exact same thing can happen in actual technology companies. All you have to do to become "that guy" is have knowledge about some vital technology that people don't actually want to care about. People will happily send anything related to it directly your way, increasing your workload and responsibilities with zero additional compensation.

It seems databases are to many professionals what computers are to laymen. They depend on this technology but they don't fully understand how it works or how to fix problems. They still want to define the database schema and make other key decisions. If there's any problem, they don't want the responsibility, they want to be able to offload it to some "database guy". Who wants to be that guy?

Re:A word used only by Postgres developers by kamilm on Thursday March 10, 2022 @01:38PM (#30630643)
> Why would anyone try to "hide their deep knowledge of Postgres"?

> or were they maybe under threat of becoming an "on call" asset?

This is likely, especially if the person they're talking to tends to leech on other people's skills & time.

Re:A word used only by Postgres developers by brimble on Thursday March 10, 2022 @01:43PM (#30630725)
If you're specializing in something else but have knowledge of some other, unrelated thing, the latter is often at least accidentally concealed because it rarely comes up. Further, one might deliberately conceal it, to avoid having work assigned that distracts from the thing one is trying to focus on (for career development, personal preference, whatever reason).

I've been known to pretend not to know a damn thing about WordPress, for instance. Even though I do.

Re:A word used only by Postgres developers by JohnHaugeland on Thursday March 10, 2022 @02:04PM (#30631008)
"Oh, you're a computer programmer? Can you help me with my printer?"

But difficult, and with consequences.

Re:A word used only by Postgres developers by fileeditview on Thursday March 10, 2022 @02:52PM (#30631597)
Hehe.. I once was asked to retrieve someones mail account (he lost is password)... sigh. People have all kinds of ideas what you can do if you are a programmer.

Told him to contact the provider.

Re:A word used only by Postgres developers by arunnanda on Thursday March 10, 2022 @02:10PM (#30631094)
Printers can be harder, especially if you have driver trouble.
Re:A word used only by Postgres developers by pcthrowaway on Thursday March 10, 2022 @02:50PM (#30631567)
We could never get the damn things working in our office

This was when I worked for HP

Re:A word used only by Postgres developers by mark-r on Thursday March 10, 2022 @03:26PM (#30631979)
I once fixed a bug caused by a faulty printer driver from HP. The driver changed the floating point control word and didn't change it back. Our program crashed while doing a completely innocuous operation, but only if you had printed to an HP printer earlier in the session.
Re:A word used only by Postgres developers by mikestew on Thursday March 10, 2022 @04:33PM (#30632780)
I remember that, because I worked on the MS FoxPro team at the time and report printing was crashing for a lot of users, but not all of them. Took forever to finally pin it down because, as parent comment points out, the culprit could have long left the building by the time the crash happens. Stupid driver sets the FPU to say "math errors like divide-by-zero are software's problem now, not mine" without telling software. IIRC (and this was over 20 years ago), operations had to be wrapped in/with the one line of code that flipped it back.

But here's the thing: it wasn't just HP, it was a lot of print drivers. I suspected that there was some printer driver boilerplate out there, possibly even published by MS, that included this bug.

(And, wow, did I swerve sharply into the off-topic lane for story time. Sorry.)

Re:A word used only by Postgres developers by mark-r on Thursday March 10, 2022 @06:35PM (#30634120)
That's funny, we had a very diverse user base but never saw the problem with any printer but HP. And 20 years ago sounds about right for my time frame too. I think that was about the point where Windows started providing more isolation between drivers and user programs.
Re:A word used only by Postgres developers by 0xbadcafebee on Thursday March 10, 2022 @02:22PM (#30631246)
"Oh, you're a hacker? Can you help me with my printer?"

I once extracted a PPD from a very expensive printer's firmware because the vendor didn't officially support Linux.

Re:A word used only by Postgres developers by hinkley on Thursday March 10, 2022 @03:00PM (#30631680)
Similarly I know a lot about software management because I saw that it affects everything I do, and I needed to be able to push back on bad management. Doesn't mean I want to be a project manager. No, I don't, and please stop asking.

And there are tasks you took on at old jobs because they needed to get done and nobody else would do it, so you got stuck. You did them. Maybe you even did them well. But they aren't on your resume, because you don't want to do it again. And if you mention them as anecdotes, you are careful where and when you bring them up.

Re:A word used only by Postgres developers by pharrington on Thursday March 10, 2022 @06:43PM (#30634189)
The competitive fighting game scene's term for this is "Hiding your power level".
Re:A word used only by Postgres developers by kumarvvr on Thursday March 10, 2022 @08:08PM (#30634919)
In my home, I would want to be the dumb guy whose only knowledge of computers is to turn on the button.

In my work, I would want to be the know it all, so that I can jump between good projects.

In my consultation business I would want to be the master in the topic I work with.

Depends on the context.

Re:A word used only by Postgres developers by mdellavo on Thursday March 10, 2022 @04:04PM (#30632413)
Why would some be branded damaged because they have knowledge of a tool? That's ludicrous.

I've used many databases including mongo. They are all tools like any other with pros and cons and having experience with multiple across domains is a boon.

Re:A word used only by Postgres developers by recursive on Thursday March 10, 2022 @04:15PM (#30632561)
It may be ludicrous, but it's not an uncommon point of view.

"... teaching of BASIC should be rated as a criminal offence: it mutilates the mind beyond recovery"

- Edsger W. Dijkstra

https://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/E...

Re:A word used only by Postgres developers by sam0x17 on Thursday March 10, 2022 @02:16PM (#30631180)
Though it's rare these days, there is still such a thing as being modest
Re:A word used only by Postgres developers by mmcgaha on Thursday March 10, 2022 @01:41PM (#30630691)
Sometimes it is better to be the student than the teacher.
Re:A word used only by Postgres developers by bryanrasmussen on Thursday March 10, 2022 @02:28PM (#30631321)
ok, but Toast being the best thing since sliced bread is also a somewhat antiquated vernacular expression, I mean obviously the best thing since sliced bread is often used without toast as the thing being referred to but it was also often the case that toast was being referred to> https://www.theatlantic.com/health/archive/2012/02/how-the-p...
Re:A word used only by Postgres developers by glouwbug on Thursday March 10, 2022 @02:48PM (#30631545)
Yeah, maybe the guy just has a sense of humor - something that your average software developer would mistake for being a reference to documentation
Re:A word used only by Postgres developers by gowld on Thursday March 10, 2022 @03:04PM (#30631735)
This is wholly unnecessary.
Re:A word used only by Postgres developers by Izkata on Thursday March 10, 2022 @03:19PM (#30631899)
What's unnecessary, a sense of humor?

;)

Re:A word used only by Postgres developers by gowld on Thursday March 10, 2022 @03:08PM (#30631761)
Toast predates machine-sliced bread, which is what "sliced bread" refers to. Sliced bread made toast better (easier to automate), but that doesn't make toast the best thing since sliced bread.

The article you linked explains that "sliced bread" is the best thing, to which all later (not just bready) inventions are compared.

Re:A word used only by Postgres developers by giaour on Thursday March 10, 2022 @03:20PM (#30631912)
Isn't the joke that the particular piece of toast always postdates the particular slice of bread it was made from? I.e., toast is the best thing since sliced bread because first we had sliced bread, and then we toasted it. It's a dumb dad joke
Re:A word used only by Postgres developers by bryanrasmussen on Thursday March 10, 2022 @03:45PM (#30632203)
are you really under the impression that vernacular expressions are always perfectly logical and thus showing how an expression would not be logical proves that it was never actually in common use?
Re:A word used only by Postgres developers by swsieber on Thursday March 10, 2022 @03:25PM (#30631956)
I am not familiar with Postgreql.

I would make that joke.

Re:A word used only by Postgres developers by reidjs on Thursday March 10, 2022 @05:57PM (#30633760)
I'm a little bit confused by the wording "This happens transparently to the user," I assume they mean that the user is unaware of this workaround? Or do they mean it's obvious how it works (transparent) to the user?
Re:A word used only by Postgres developers by danudey on Thursday March 10, 2022 @06:02PM (#30633807)
In this context, it means "this workaround happens without the user having to perform any additional steps"; not necessarily that they're unaware, but that it happens without their involvement and it doesn't seem that it's any different from the surface-level.
Re:A word used only by Postgres developers by renewiltord on Thursday March 10, 2022 @06:34PM (#30634109)
It's an old software thing! "Transparent to the user" means "without the user knowing". Strange, right? I prefer "hidden from" to "transparent to" but I definitely use the latter a lot and it's quite clearly wrong!
Re:A word used only by Postgres developers by inimino on Friday March 11, 2022 @05:44PM (#30646995)
It's not wrong. Glass is transparent to you. It precisely means that you don't see it.
Re:A word used only by Postgres developers by renewiltord on Friday March 25, 2022 @02:19PM (#30805460)
You are right! Consider me convinced!