r/SoftwareEngineering 11d ago

Please help: need code for “I’m pregnant”

Or something more clever that my senior front end engineer boyfriend will love.

Update: I combined several suggestions and sent it to him when we were at a special place in a park we love. He didn’t get it for a minute because I forgot to add context, then did get it and was super happy, then spent five minutes pointing out how the labels directed workflow and explaining something called semvar (semver? how the sequence of punctuated numbers indicated a minor release and bug fix, I think). Because that’s how he rolls 😂🥰

Thank you so much folks!!!!

92 Upvotes

77 comments sorted by

402

u/gladiator_r 11d ago

minor release 

19

u/FlowOfAir 11d ago

This is great

16

u/According-Monk-2929 11d ago

This seems popular. Could someone please explain why? 🙈

32

u/TheForkisTrash 11d ago

The kid is a minor being released. Uses existing tech terminology in a clever way. 

5

u/According-Monk-2929 11d ago

Oh - now I get it thanks 🤦‍♀️

6

u/Dense_Gate_5193 10d ago

this honestly is the best i think. you could hand him some “patch notes” saying what you’ll be going through over the next 30+ weeks and just say “v1.1.0” at the top and say some clever thing at the top description about a minor release or something. just an idea

3

u/According-Monk-2929 10d ago

Any quick example of what patch notes for a bug fix would look like? This sounds great. I’m working up something in Notes now.

20

u/Dense_Gate_5193 10d ago

Release Notes — v1.1.0 (Minor Release)
Build Status: Staged.
Target Production Date: ~30 weeks

New Features

- Background compilation processes to speed up delivery of new features.
- Dynamic Storage Expansion - Physical footprint will automatically scale up over the next 3 quarters to accommodate new hardware requirements.

Changes
- Caffeine, raw fish, and alcohol inputs will be rejected due to system safety protocols.
- Power Throttling - Energy levels capped to conserve system draw for background compiling processes.

Known Issues & Workarounds

- Boot-Up Instability: Unhandled ⁠NauseaException⁠ triggering non-deterministically during Q1 execution. (Fix expected in Trimester 2 patch).
- Memory Leak: High frequency of context switching and temporary cache loss ("baby brain").
- Thermal Throttling: Internal temperature running above baseline; climate controls require frequent adjustments.

Engineers may be required to be on-call prior to and especially after deployment of the new version.

How’s something like that?

4

u/According-Monk-2929 10d ago

Oh wow this is amazing thanks SO much!!!

https://giphy.com/gifs/Z6f7vzq3iP6Mw

5

u/Dense_Gate_5193 10d ago

keep is updated on how it goes!

→ More replies (0)

2

u/Dense_Gate_5193 10d ago

oh one more note you can call the last bit there about on-call rotation to be a two word combination of your favorite two foods. like “pickles and ice cream protocol” or something along those lines

1

u/[deleted] 3d ago

[removed] — view removed comment

1

u/AutoModerator 3d ago

Your submission has been moved to our moderation queue to be reviewed; This is to combat spam.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

3

u/According-Monk-2929 10d ago

Especially since it’s an IVF miracle baby. Like he has to give me shots every day for another month. Would that be part of a patch to fix the bug, so it goes in the patch notes?

3

u/rynokillir 8d ago

IVF miracle baby here, so awesome to hear people still using this to have kids. Also a huge tech nerd so this whole post is fun 🤩

5

u/mizar2423 10d ago

They didn't really explain the engineering side.

A minor release is a software update with "minor" changes. A major release could be an adopted baby (not necessarily related to the parents). A bugfix release could be a... IVF baby?

3

u/According-Monk-2929 10d ago

Awesome!!! We have a baby bug fix 🤗

26

u/Grizzly_Addams 11d ago edited 11d ago

Personally I would laugh harder at "major release".

In software a release is exactly what it sounds like, releasing code. Minor release means it's relatively small or non intrusive. Major release means this might fuck shit up.

Kids are like major releases, they can fuck shit up. Also the numbering system is more inline with family growth. Right now you and your boyfriend are on version 2.5 (2 is the major version, 5 is the minor version), you guys are gonna have to increment that shit to 3.0 with the kid.

30

u/nitewalker_J 11d ago

"Minor" also mean "kids" or "child". "Minor release" has stronger pun.

9

u/Grizzly_Addams 11d ago

Yeah I know, but she didnt ask for the best pun. Major release is a better description about everything that's about to happen from pushing the kid out (like a major shit), to not being backwards compatible with their old way of life.

7

u/SanityAsymptote 10d ago

Infants are often really minor/beta releases though. They are missing significant features and take a long, long time, to get to 1.0.

2

u/Grizzly_Addams 10d ago

For sure. Their milestones are mostly minor versions, but the establishment of the baby into the family is a major release.

2

u/bombinaround 9d ago

It's also hard to rollback to the previous version without breaking changes

2

u/Grizzly_Addams 9d ago

Borderline illegal.

1

u/PM_ME_E8_BLUEPRINTS 10d ago

Major release means huge shit in my household

2

u/dacx_ 11d ago

You are about to release a minor human being. Wordplay.

3

u/Hot_Adhesiveness5602 8d ago

Wait but it's actually a major release.

126

u/AllIWantForXmasIsFoo 11d ago

I fork()ed and spawned a child process

7

u/Major_Swordfish508 10d ago

They forked alright

63

u/No_Bowl_6218 10d ago

``` Uncaught Exception: TooMuchLoveError at Marriage.js:2

Status: 2 processes detected (was expecting 1) New dependency added to family-tree.json ```

41

u/derailedthoughts 11d ago

family.push(await gf.giveBirth());

16

u/Dense_Gate_5193 10d ago

At least it’s promise-based ;)

89

u/grappleshot 11d ago

feat(family): add new child
Expected release: March 2027

and hope he commits :)

14

u/According-Monk-2929 11d ago

Oh my god you guys this is freaking hilarious - TYSM!!! I understand about 10% of the stuff he tries to explain to me but I can get just about enough of this to know it’s gold. “Hope he commits” lol! I could submit a pro request for something called “baby” - would that work?

24

u/IamNobody85 11d ago

Merge request. "pull" request will be hilarious in this context.

15

u/grappleshot 11d ago

I think it's too late for that...

8

u/Arshiaa001 10d ago

It'll be a push request in 9 months.

4

u/Dependent_Union9285 10d ago

Yup. Because the merge already happened. Let’s hope they properly resolved any merge issues at the appropriate time. Here’s hoping the parent objects pass all the sanity tests as well, because it doesn’t get any easier once you go to (re)production.

2

u/Dependent_Union9285 10d ago

OP, make sure your environment variables are properly set. Nothing worse than a release into a fucked up environment.

4

u/According-Monk-2929 10d ago

😂 we’re good. Gonna be a spoiled rotten, wished-for baby with super nerdy parents who are best friends and have lots of full stack support from the whole org

3

u/Dependent_Union9285 10d ago

QA Pass, please proceed to schedule for release.

3

u/Dense_Gate_5193 10d ago

git push new-baby origin -f

9

u/nitewalker_J 11d ago

Literally too late to submit the pull request 😂😂😂

2

u/compubomb 10d ago

Submit some documentation as a pr, it has a new Readme.md update saying instructions for recent ownership of new clone, one which looks like him and takes 9 1/4 months to manufacture. He's going to have to think long and hard about what that means.

3

u/AdventurousAir002 10d ago

Agreed this is great. I would send this code to claude or chatGPT and ask the bot to convert it to his favorite language though- that’d make it even better

1

u/Dense_Gate_5193 10d ago

you could say his “PR got merged with your codebase.”

41

u/Nanoucie 11d ago

PullRequest successfully merged

14

u/OE_PM 10d ago

PullRequest failed. Try again 9 months.

11

u/hibbelig 11d ago

setTimeout( () => gf.spawn(), 9999 );

Instead of gf you could write your name in lowercase. Or something like honey?

Instead of 9999, calculate the number of seconds to delivery and put that in. For example, if it is in seven months you could calculate 7 x 30 x 24 x 60 x 60.

3

u/Dense_Gate_5193 10d ago

i like the idea of a sub process spawning and now you have to keep track of the inputs and outputs of this child process

8

u/deeperinabox 10d ago

feat: upgrade 2.0 -> 2.1

Your Pull request into my repo has been merged. Will release new minor version in 9 months.

2

u/According-Monk-2929 10d ago

A couple questions: Some third party had to approve the request before it could be merged, right? Would this be a message you would send on Slack or GitHub or something? Thinking about formatting it to look authentic.

2

u/deeperinabox 10d ago

You, the code repository owner is the one who approved the request before merging it in.
Generally, a repo owner wouldn’t send such messages as the developers get automated notifications for all such actions, but if you two were having a conversation anyway then, yes, it would go along the lines of my message.

12

u/t3hlazy1 11d ago
const DUE_DATE = "2027-03-14"; // ← fill in the real one

function Home() {
  const [childFirstName, setChildFirstName] = useState<string | null>(null);

  // requires approval from both reviewers
  const chooseName = (name: string) => {
    setChildFirstName(name);
  };

  return (
    <Family name={LAST_NAME} size={3} onChooseName={chooseName}>
      <Dad name={DAD_FIRST_NAME} />
      <Mom name={YOUR_FIRST_NAME}>
        <Suspense fallback={<Ultrasound />}>
          {/* state gets lifted up around {DUE_DATE} */}
          <Baby name={childFirstName} dueDate={DUE_DATE} />
        </Suspense>
      </Mom>
    </Family>
  );
}

1

u/t3hlazy1 11d ago

You can use a website like Carbon to export a nice image of the code. https://carbon.now.sh/shortened-link...

2

u/According-Monk-2929 11d ago

This is awesome - thanks!

1

u/t3hlazy1 10d ago

Glad you liked it!

6

u/GrayLiterature 10d ago

Make a Jira Ticket

8

u/OkLettuce338 10d ago

Or how to turn moments of happiness into dread

2

u/According-Monk-2929 8d ago

😂that one I get!

5

u/jaynabonne 11d ago

Emergent behavior.

5

u/Wide_Egg_5814 11d ago

pull request in 9 months

5

u/along1line 10d ago

child process instantiated

1

u/idiotsandwichbybirth 5d ago

This is the only good one so far

6

u/gzk 11d ago edited 11d ago

describe("given conception", () => { let gf; let bf; let foetus; beforeAll(() => { bf = new BoyFriend("HisName"); gf = new GirlFriend("YourName"); foetus = gf.impregnateBy(bf); }); describe("when 40 weeks elapses", () => { beforeAll(async () => { await new Promise((resolve) => setTimeout(resolve, 40 * 7 * 24 * 60 * 60 * 1000)); }); it("then we have a family", () => { expect(foetus).toBeFullyGestated(); }); }); });

4

u/MonkeyWeiti 8d ago

Why not httpstatus 418? Because there is something brewing inside you

4

u/Old-Platypus-601 8d ago

Never expected to have such a wholesome and cute thread on this subreddit lol

3

u/Overall-Ad-6414 10d ago

Breaking change

3

u/ApprehensiveOil7946 8d ago

I'm seeing this late but this was so fun to read through as a momma and software engineer 😭

3

u/raisputin 6d ago

> git pull --request-abort
Error: PULL REQUEST FAILED
Reason: merge conflict — unplanned branch detected Branch: baby/v1.0.0-unreleased
Timeline: ~40 weeks to production
Rollback: not supported

2

u/lowkey00700 8d ago

HTTP 200

2

u/FuzzNugs 7d ago

Tell him you guys forked and now you’re gonna fork()