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.

neonred , in Junior dev VS FAANMG dev

and CI/CD goes “f*ck you, no deployment today, Linter is unhappy”

jubilationtcornpone , in Looks good to me 👍

Reviewing large PR’s is hard. Breaking apart large PR’s that are all related changes into smaller PR’s is also hard.

If I submit a big one, I usually leave notes in the description explaining where the “core” changes are and what they are trying to accomplish. The goal being to give the reviewers a good starting point.

I also like to unit test the shit out of my code which helps a lot. The main issue there is getting management to embrace unit tests. Unit tests often double the effort up front but save tons of time in the long run. We’re going to spend the time one way or the other. Better to do it up front when it’s “cheaper” because charging it to the tech debt credit card racks up lots of expensive interest.

pageflight ,

Yeah, if you don’t want the next dev (or your future self) to accidentally undo that corner case you fixed, better put a unit test on it.

zalgotext ,

I can’t believe we still have to justify writing unit tests to management in the year 2024

jack , in Looks good to me 👍

Ask him to do 500 lines and he will never look at it, making you wait forever

Honytawk ,

Meanwhile, ask a c-suite to do 500 lines, and they party until they overdose.

grrgyle , in Looks good to me 👍

This and bike shedding.

souperk , in Looks good to me 👍
@souperk@reddthat.com avatar

I am definitely guilt for that, but I find this approach really productive. We use small bug fixes as an opportunity to improve the code quality. Bigger PRs often introduce new features and take a lot of time, you know the other person is tired and needs to move on, so we focus on the bigger picture, requesting changes only if there is a bug or an important structural issue.

NocturnalMorning ,

I always try to review the code anyway. There’s no guarantee that what they wrote is doing what you want it to do. Sometimes I find the person was told to do something and didn’t realize it actually needs to do Y and not just X, or visa versa.

ScampiLover ,

I like to shoot for the middle ground: skim for key functions and check those, run code locally to see if it does roughly what I think it should do and if it does merge it into dev and see what breaks.

Small PRs get nitpicked to death since they’re almost certainly around more important code

derpgon ,

Especially when you see a change in code, but not in tests ☠️

souperk ,
@souperk@reddthat.com avatar

Yes, I always review the code, just avoid nitpicking the hell out of it.

NocturnalMorning ,

Yeah, sorry, totally misread your comment.

breakingcups ,

So you’re always behind, patching up small bits of code that don’t comply with your guidelines, while letting big changes with, by deduction, worse code quality through?

souperk ,
@souperk@reddthat.com avatar

Not really, we are a small team and we generally trust each other. Sure there are things that could have been better, but it’s not bad either.

brian , in Surely "1337" is the same as 1337, right?

json doesn’t have ints, it has Numbers, which are ieee754 floats. if you want to precisely store the full range of a 64 bit int (anything larger than 2^53 -1) then string is indeed the correct type

bleistift2 ,

Let me show you what Ethan has to say about this: feddit.org/post/319546/174361

bleistift2 OP ,

json doesn’t have ints, it has Numbers, which are ieee754 floats.

No. numbers in JSON have arbitrary precision. The standard only specifies that implementations may impose restrictions on the allowed values.

This specification allows implementations to set limits on the range and precision of numbers accepted. Since software that implements IEEE 754 binary64 (double precision) numbers [IEEE754] is generally available and widely used, good interoperability can be achieved by implementations that expect no more precision or range than these provide, in the sense that implementations will approximate JSON numbers within the expected precision. A JSON number such as 1E400 or 3.141592653589793238462643383279 may indicate potential interoperability problems, since it suggests that the software that created it expects receiving software to have greater capabilities for numeric magnitude and precision than is widely available.

www.rfc-editor.org/rfc/rfc8259.html#section-6

laserm , in Life is hard

Mood

laserm , in Coomitter be like

What tying your self worth to a commit graph looks like…

NigelFrobisher , in Surely "1337" is the same as 1337, right?

This is String - you’ve seen it before haven’t you, Gollum?

Wilzax , in Surely "1337" is the same as 1337, right?

Protocol Buffers are hated, but they are needed.

JackbyDev ,

Do you actually use them?

Wilzax ,

I’m a student so, yes and no?

sukhmel , (edited )

I do, but I also don’t think that’s a silver bullet, unfortunately. There’s convenience in code generation and compatibility, at least

NaoPb , in Alcohol is my way to turn myself on and off again

If you want to know my comment, that’s an idiotic question.

humbletightband , in Surely "1337" is the same as 1337, right?

The comment section proves that xml is far superior to json

Draegur , in Please stop

This makes Debian look kinda good actually…

mariusafa , in Please stop

What’s wrong with having a some year old software? Does it do what you need? Yes. Then what? I have all I need on Debian. Why should I care of new updates. Security? Yes we have Debian security because of that. Look, y’all had the xyz backdoor package in your systems because it was new. Me as a Debian stable user I didn’t have to deal with it. Did I lose something by not having the latests software? No. Well maybe less crashes.

Most privative software also gets weekly updates. Does it make it better? No. You may prefer that.

Also I don’t get the point about the version numbering of Debian packages. Every team uses the versioning they want.

From my experience software that updates a lot tends to break old features a lot too.

Debian suporting freesoftware projects or other stuff doesn’t look as a relevant argument. I mean if you prefer using privative stuff and using that kind of software. Do whatever you like with your Google/Facebook/Apple friends.

But don’t come intoxicate the community with this bullshit.

bruh ,

Does it do what you need?

No

phoenixz ,

Cool, get something else, then.

yum13241 ,

Because then people file bug reports for ages old software. Ancient does not equal stable!

howrar , in Alcohol is my way to turn myself on and off again

Reminds me of this story of the wifi that only worked when it rained

predr.ag/blog/wifi-only-works-when-its-raining/

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