programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

simple, in Merge then review

Having to go through the process of merging hurts morale and slows performance. Give everyone on your team the right to force push to master.

dept, in Correcting > Helping

imo it’s not that correcting feels better than helping but rather it’s easier to correct someone than draft an answer of your own.

suy,

Sometimes that’s part of the issue (or the whole deal), but sometimes it’s not even that.

Sometimes it’s that someone asked something difficult and elaborate to answer, which has been answered a ton of times, and it’s tedious to answer again and again. But if someone answers with misinformation or even straight FUD, then one needs to feel the urge to correct that to prevent misinformation.

I suffered that with questions in r/QtFramework. Tons of licensing questions, repeated over and over, from people who have not bothered to read a bit about such a well known and popular license as LGPL. Then someone who cares little for the nuance answers something heavy handed, and paints a wrong picture. Then I can’t let the question pass. I need to correct the shitty answer. :-(

tilcica, in Correcting > Helping

i do the same thing. its called Murphy’s law :D

magic_lobster_party, in Show me a better text format for serializing

JSON for serialization all the way. It’s simple and to the point. It does one thing and does it well. There’s little room for annoying surprises. Any JSON can easily be minified and prettified back and forth. If you want it in binary format you can convert it to BSON.

Yaml is too much of a feature creep. It tries to do way too many things at the same time. There are so many traps to fall into if you’re not cautious enough. The same thing can be written in multitudes of ways.

interolivary, in Show me a better text format for serializing
@interolivary@beehaw.org avatar

There’s a special place in hell for the inventor of semantically significant whitespace.

YAML itself is one of the circles of hell. You have to copy-paste YAML from web etc sources with dubious formatting for all eternity, and the editor doesn’t have YAML support. Also you can only use Python

synae, in Show me a better text format for serializing
@synae@lemmy.sdf.org avatar

For serializing? I’d probably just go with json.

For content meant to be written or edited by humans? YAML all day baby

nxdefiant, in Show me a better text format for serializing

If you have a choice to start from scratch, TOML is probably the better option.

suy, in Show me a better text format for serializing

Norway.

Ups. Sorry, I meant “NO”.

xmunk, in I don't wanna show mine either

Don’t perpetuate keeping salaries secret, it hurts all our income.

ZILtoid1991, in I don't wanna show mine either
@ZILtoid1991@kbin.social avatar

I have never used ChatGPT

_dev_null, in I don't wanna show mine either
@_dev_null@lemmy.zxcvn.xyz avatar

Here’s my last one, I’m pretty fucking boring:

User:

Please provide a comma separated list of US state and territory postal abbreviations, with each item in single quotes.

ChatGPT:

Sure! Here is a comma-separated list of US state and territory postal abbreviations in single quotes:

‘AL’, ‘AK’, ‘AZ’, ‘AR’, ‘CA’, ‘CO’, ‘CT’, ‘DE’, ‘FL’, ‘GA’, ‘HI’, ‘ID’, ‘IL’, ‘IN’, ‘IA’, ‘KS’, ‘KY’, ‘LA’, ‘ME’, ‘MD’, ‘MA’, ‘MI’, ‘MN’, ‘MS’, ‘MO’, ‘MT’, ‘NE’, ‘NV’, ‘NH’, ‘NJ’, ‘NM’, ‘NY’, ‘NC’, ‘ND’, ‘OH’, ‘OK’, ‘OR’, ‘PA’, ‘RI’, ‘SC’, ‘SD’, ‘TN’, ‘TX’, ‘UT’, ‘VT’, ‘VA’, ‘WA’, ‘WV’, ‘WI’, ‘WY’, ‘AS’, ‘DC’, ‘FM’, ‘GU’, ‘MH’, ‘MP’, ‘PW’, ‘PR’, ‘VI’

Please note that AS refers to American Samoa, DC refers to the District of Columbia, FM refers to Federated States of Micronesia, GU refers to Guam, MH refers to Marshall Islands, MP refers to Northern Mariana Islands, PW refers to Palau, PR refers to Puerto Rico, and VI refers to the U.S. Virgin Islands.

ptz, in I don't wanna show mine either
@ptz@dubvee.org avatar

I’ll show you mine:

Spoiler[There’s nothing here].

Beanie,

wow my history is identical :0

what a coincidence

yote_zip, in Temporary mental block
@yote_zip@pawb.social avatar

Architects vs developers.

octoperson, in A box of DevOps

Did you know YAML is a recursive acronym? It stands for ‘YAML AML MAML LAML’

sxan,
@sxan@midwest.social avatar

Is it polynomially recursive? Like, the AML stands for “AML MAML LAML”, and so on?

dan, in A lot of YAML
@dan@upvote.au avatar

Friendly reminder if you prefer dealing with JSON - YAML is a superset of JSON, so any valid JSON is also valid YAML.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programmer_humor@programming.dev
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #