There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

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

brothershamus , in Correcting > Helping
@brothershamus@kbin.social avatar

It's an older meme, sir, but it checks out. I was just about to upvote it.

kromem , in Correcting > Helping

I learned so much over the years abusing Cunningham’s.

Could have a presentation for the C-suite for a major company, post some tenuous claim related to what I intended to present on, and have people with PhDs in the subject citing papers correcting me with nuances that would make it into the final presentation.

It’s one of the key things I miss about Reddit. The scale of Lemmy just doesn’t have the same rate and quality of expertise jumping in to correct random things as a site with 100x the users.

Kidplayer_666 ,

Errmmmmh achstually…, lol

jballs ,
@jballs@sh.itjust.works avatar

The major problem with reddit is that you could never really trust the credentials of the person you were talking to. They might have been PhDs or they might have been 13 year olds who just learned to Google. It amazes me how many times I saw a highly upvoted comment posted about a subject that I knew a lot about, but was just so blatantly wrong.

repungnant_canary ,

As long as they provide appropriate sources then it doesn’t really matter who they are

kool_newt ,

There’s no clear winner between a 13yo who can use a search engine and a crusty old PhD who can’t keep up with changing times.

CanadaPlus ,

Especially if you move 0.1% away from that PhD’s particular specialty.

MotoAsh ,

I mean, unironically exactly why people think LLMs are smart.

jettrscga ,

Yeah voting on content has nothing to do with quality and everything to do with feelings.

People just vote for their side of any discussion, regardless of validity.

CanadaPlus ,

Only if it’s something controversial. If it’s something technical with no political affiliation, people vote for answers that sound right. Thankfully Cunningham’s usually comes to the rescue on time.

Feyter ,

To be fair this is not a Reddit thing and it can be found in the fediverse too. I can remember some of such situations where a person just posted wrong stuff but in a very confident way. I was able to prove him wrong later but nobody cared anymore.

reverendsteveii ,

cunningham’s law is intended to be used recursively

yum13241 ,

I know what you’re trying to do, but that is not the case /hj

CanadaPlus ,

Unless the thing falls under non-commercial electronics or computing. The community on here is skewed towards that for obvious reasons.

glitches_brew ,

I always kind of felt like those voices began to be drowned out the more and more popular reddit became. You’re correct about Lemmy’s scale, but there is certainly a sweet spot. I’m happy knowing Lemmy hasn’t yet reached its own, and reddit’s is long gone. I’m happier here and it’s likely only going to get better.

FlyingSquid , in Correcting > Helping
@FlyingSquid@lemmy.world avatar

ACTually, they’re still helping you, so it would be better to say correcting = helping.

Sincerely,

Definitely not Gollum’s alt.

Sotuanduso ,

Smeagol is that you?

FlyingSquid ,
@FlyingSquid@lemmy.world avatar

Don’t asks us, precious.

SonnyVabitch ,

Nicely corrected, thanks.

lowleveldata , in Correcting > Helping

Who post programming questions on Reddit? Are you looking for answers in meme format?

bassomitron ,

There are serious programming subs. However, I find that those tend to debate/discuss solutions/approaches moreso than the actual code itself, although that’s not unheard of either. For actual coding questions, I want to say there’s a “learn programming” sub that has those, but they’re pretty strict about just doing people’s homework for them (those posts tend to be pretty obvious).

tilcica ,

reddit was/is much more than a meme site

Kusimulkku ,

Where would you post them?

lowleveldata ,

stack overflow

Kusimulkku ,

Oh god

lowleveldata ,

There there. I’m not quite god himself yet although I have over 1000 points on stack overflow.

h_a_r_u_k_i ,
@h_a_r_u_k_i@programming.dev avatar

DUPLICATED, CLOSED, etc.

Joke aside, for an open question I’d prefer posting on Reddit/Lemmy/forums to have an open answer.

SO is too strict on its policy.

lowleveldata ,

for an open question

That’s clearly not the type of “programming question” mentioned in OP tho

oce ,
@oce@jlai.lu avatar

The validation system is extremely off-putting. I have been working on some specialized tools for years so I could have answered some very precise questions with good confidence. However, the system was always there to detrust me and I was not going to spend hours to go through their hoops for an answer that takes me 10 min to redact. So instead I’ll post it on Reddit or a gist hopping people will be able to discover it.

lowleveldata ,

Off-putting it is. Still an important tool for finding actual answers I need for my work.

oce ,
@oce@jlai.lu avatar

Useful for me too. But I wish it was more opened for people who would just want to answer a couple of times a year, community can sort it out.

lntl ,

for C and Python: libera.chat

Zagorath ,
@Zagorath@aussie.zone avatar

Honestly, meme communities’ comments could have some of the best in-depth discussions. Memes tend to provide a great launching point for discussions. A sort of prompt that everyone can coalesce around to talk in a serious manner about the subject.

/r/dndmemes and /r/programmerhumor were two great examples.

swab148 ,
@swab148@startrek.website avatar

And they’re still pretty good on Lemmy!

Zagorath ,
@Zagorath@aussie.zone avatar

Omg I didn’t even realise which community I was in as I made that comment!

But yeah, this one and !rpgmemes are both great.

oce ,
@oce@jlai.lu avatar

Niche professional subs under 100k members can be very good quality.

Cwilliams , in Correcting > Helping

My coworkers had a hard time picking resturaunts, so I started recommending McDonald’s for work parties, and then everyone else started chiming in with actually good ideas.

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. :-(

repungnant_canary ,

I would say that if someone asks a difficult question it’s often difficult because it’s very general, so you don’t have any specific point to answer that you know will satisfy the person asking.

On the other hand, if someone is writing misinformation then they provide specific statements which still may be difficult to correct but you have those anchor points you can refer to.

So I guess the thing here is that if someone, after asking a question, writes a BS answer they actually refine their question and narrow its scope, thus making it easier to answer.

I usually see broad questions about rather simple things unanswered, but very specific yet difficult questions answered

Snowplow8861 , in Correcting > Helping

Almost like that xkcd joke…

xoggy ,
@xoggy@programming.dev avatar

I was trying to remember where I read this originally. Thank you.

tilcica , in Correcting > Helping

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

themeatbridge ,

I know what you’re doing but I can’t help myself. It’s Cunningham’s law.

Malix ,
@Malix@sopuli.xyz avatar

tbh, I prefer Cole’s Law

bassomitron ,

Took me a minute to realize this was a pun… shame on me.

squaresinger ,

Cole’s law is best with a burger.

ObviouslyNotBanana ,
@ObviouslyNotBanana@lemmy.world avatar

Cole’s Law: if there’s a salad, I want that one.

jaybone ,

Brannigan’s Love is like Brannigan’s cole slaw, wet and chunky.

swab148 ,
@swab148@startrek.website avatar

The spirit is willing but the flesh is spongy and bruised.

Z3k3 ,

I’ll be honest you almost for me

magic_lobster_party ,

Ahem, it’s called Poe’s law

Sotuanduso ,

Are you /srs or /j?

AngryCommieKender ,

They’re Super Cereal

Sotuanduso ,

Is this Betteridge’s Law?

FlyingSquid ,
@FlyingSquid@lemmy.world avatar

No.

CJOtheReal ,

Nah thats called laws of thermodynamics! And they were made up by Elvis together with is homy Obama (the guy without last name) who were known for their contributions to biology

moody ,

Are you talking about uncle Obama, well known for his banana?

amanaftermidnight , in Temporary mental block

Trying to write tests for the spaghetti mess of a code of your app: 💀💀💀

fl42v , in A box of DevOps

Those devops should switch to nix already 😁

calcopiritus , in Show me a better text format for serializing

Serializing? For serializing you probably want performance above all else. I’m saying this without checking any benchmark, but I’m sure yaml is more expensive to parse than other formats where indentation don’t have meaning.

For human readability: it has to be readable (and writeable) by all humans. I know (a lot of people) that dislike yaml, toml and XML. I don’t know of a single person that struggles to read/write json, there is a clear winner.

DrM ,

JSON would be perfect if it allowed for comments. But it doesn’t and that alone is enough for me to prefer YAML over JSON. Yes, JSON is understandable without any learning curve, but having a learning curve is not always bad. YAML provides a major benefit that is worth the learning curve and doesn’t have the issues that XML has (which is that there is no way to understand an XML without also having the XSD for it)

Michal ,

Json should also allow for trailing commas. There’s no reason for it not too. It’s annoying having to maintain commas.

DerArzt ,

And also a standard date time type!

kogasa ,
@kogasa@programming.dev avatar

If a comment isn’t part of the semantic content of a JSON object it has no business being there. JSON models data, it’s not markup language for writing config files.

You can use comments in JSON schema (in a standardized way) when they are semantically relevant: json-schema.org/…/comments

For the data interchange format, comments aren’t part of the JSON grammar but the option to parse non-JSON values is left open to the implementation. Many implementations do detect (and ignore) comments indicated by e.g. # or //.

frezik ,

JSON models data, it’s not markup language for writing config files.

JavaScript package management promptly said otherwise. JSON is a config format no matter if you like it or not.

kogasa ,
@kogasa@programming.dev avatar

I’ve disagreed with JavaScript before, what makes you think I won’t do it again?

Anyway, anything using JSON as a config language will also certainly use a JSON interpreter that can ignore comments. Sure that’s “implementation specific,” but so is a config file. You wouldn’t use “MyApplication.config.json” outside the context of MyApplication loading its own configuration, so there’s no need for it to be strictly compliant JSON as long as it plays nicely with most text editors.

frezik ,

JSON5 has comments, among fixing a few other shortsighted limitations of the original.

kool_newt ,

I don’t know of a single person that struggles to read/write json, there is a clear winner.

Really? Any JSON over 80 chars becomes a nightmare to read for me, especially if indention is not used to make it more readable.

kogasa ,
@kogasa@programming.dev avatar

Serializing isn’t necessarily about performance, or we’d just use protobuf or similar. I agree Json is a great all rounder. Combine with JSON object schema to define sophisticated DSLs that are still readable, plain JSON. TOML is nice as a configuration language, but its main appeal (readability) suffers when applied to complex modeling tasks. XML is quite verbose and maybe takes the “custom DSL” idea a little too far. YAML is a mistake.

Blackmist ,

I don’t know why we’re fucking about trying to use text editors to manipulate structured data.

Yeah, it’s convenient to just be able to use a basic text editor, but we’re not trying to cram it all on a floppy disk here. I’m sure we could have a nice structured data editor somewhere for all those XML, JSON and YAML files we’re supposed to maintain every day.

Artyom , (edited ) in Show me a better text format for serializing

Yaml is a great, human-readible file format. Unless there’s an exclamation point in it, then it is an illegible Eldrich horror.

MagnoliaMayhem , in Show me a better text format for serializing

Json. Your move, Joker.

theterrasque ,

puts the json in the yaml parser

Your move, foolish mortal

derpgon ,

For those uninitiated, every JSON is a valid YAML, since YAML is just a superset of JSON.

Windex007 , in Show me a better text format for serializing

Genuinely curious what features OP is looking for, specifically for serialization as per the post, that has resulted in the conclusion being yaml.

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.

jjjalljs ,

Yes, but whoever decided that json can’t have trailing commas has my ire.


<span style="color:#323232;">{ "a": 1,
</span><span style="color:#323232;">  "b": 2,  &lt;-- nope
</span><span style="color:#323232;">}
</span>

There was some other pitfall I can’t remember around missing keys and undefined, too, but I can’t remember it now.

OmnipotentEntity ,
@OmnipotentEntity@beehaw.org avatar

Change to Haskell formatted commas and the problem goes away :D


<span style="color:#323232;">{ "a": 1
</span><span style="color:#323232;">, "b": 2
</span><span style="color:#323232;">, "c":
</span><span style="color:#323232;">    [ 3
</span><span style="color:#323232;">    , 6
</span><span style="color:#323232;">    , 9
</span><span style="color:#323232;">    ]
</span><span style="color:#323232;">}
</span>
ursakhiin ,

Where is the nearest fire to dump this comment in?

Sgtmoustache ,

I’m pretty sure you can have trailing commas…

Bjornir ,

You can’t but some parser allow them. But those that do do not respect the standard.

Sgtmoustache ,

Good to know. Must be why I thought you could. Thanks.

adambowles ,

Trailing commas are supported in json5, as well as comments

kool_newt ,

There should be a “Simple YAML” that is just scalars, lists, and dicts.

kogasa ,
@kogasa@programming.dev avatar

Toml

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines