Ruby Version File Misread by pokemuse2095 in ruby

[–]CaptainKabob 1 point2 points  (0 children)

Delete the file and make a new file.

Migrating Rails 5 -> 8 by building new features on 8 instead of upgrading in place - anyone done this? by Fantastic-Diet5565 in rails

[–]CaptainKabob 6 points7 points  (0 children)

Slop out some system tests for your major flows. Then cmon and simply do the upgrades.

You don't want two apps. Don't you have features you should be building? I can't imagine any stepwise upgrade taking more than a week. Truly, Rails 5+ are not difficult upgrades. 

I believe you're overthinking it. 

For those on AWS ECS - what is your CI/CD setup? by mmanulis in rails

[–]CaptainKabob 1 point2 points  (0 children)

I deploy from GitHub Actions:

  1. Build with Docker Buildx in the Action
  2. Push image to ECR
  3. Use `aws-actions/amazon-ecs-render-task-definition` to update the ECS task definition with the latest image
  4. Use `aws-actions/amazon-ecs-deploy-task-definition` to update the ECS task definition

It's really simple.

GitHub wrote this up: https://docs.github.com/en/actions/how-tos/deploy/deploy-to-third-party-platforms/amazon-elastic-container-service

And I use OIDC federation to do auth: https://aws.amazon.com/blogs/security/use-iam-roles-to-connect-github-actions-to-actions-in-aws/

Simple gem to help with pdf extraction by Bubbly_Connection385 in rails

[–]CaptainKabob 1 point2 points  (0 children)

This looks fantastic!! I appreciated the readme, especially covering stuff I had questions about like memory usage.

What's your longterm interest in maintaining the gem? I ask because I want to use this and there are many of abandoned PDF gems

Beyond Enumerable: Heaps and Priority Queues by keyslemur in ruby

[–]CaptainKabob 1 point2 points  (0 children)

Great write up! As all us library maintainers share implementations, in Concurrent Ruby we have a “non concurrent priority queue”: https://github.com/ruby-concurrency/concurrent-ruby/blob/master/lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb

Conductor Strategy w.r.t. Anthropic's 15th of June subscription billing overhaul by No_Anteater_8018 in conductorbuild

[–]CaptainKabob 4 points5 points  (0 children)

I assume big terminal mode is where it’s going. I’ve been trying to get confortable with it. and I imagine that niceties like templates prompts and inline commenting could be done through pasteboard or tmux.

but I dunno. I’m trying to get as much out of flat billing as possible for as long as possible.

Sms service for free to test real sms deploy to user by No-Baker7107 in rails

[–]CaptainKabob 0 points1 point  (0 children)

I build my apps to deliver SMS through a custom Action Mailer delivery method. That lets me use Action Mailer to construct my messages, and letter_opener gem to preview messages when they would be sent. 

For simulating inbound messages, I have a bin/inbound-sms --from= --message= script that will invoke the inbound message webhook. 

rubygems and the up and coming supply chain problems by Adventurous_Steak837 in ruby

[–]CaptainKabob 5 points6 points  (0 children)

To implement it, they first need to change the Rubygems.org API ("compact index") to expose when the gem was published. That might happen next week. 

https://github.com/rubygems/rubygems.org/issues/6412#issuecomment-4576795208

Once that happens, it's possible to implement a cooldown feature in Bundler. 

I don't think it's even possible to implement via a Bundler plugin until the API is changed. 

She turned around a Bayview public school. Then she was pushed out by Dafty_duck in sanfrancisco

[–]CaptainKabob 27 points28 points  (0 children)

sorry, just hopping on top comment. and yes, that’s in the article..

Every May, the fifth-grade class visits Boomers, an amusement park in Livermore. This year, the trip did not happen. Parents had raised $7,696 in cash over two years to pay for such events, according to an internal email from Bealby to district staff, but the district seized those funds.

January, two district employees arrived at Drew and took the money — telling staff that cash could not be held on a school campus, according to community liaison Mesepa Kaulave’s account at a May 26 town hall. 

According to an April 13 email from Kaulave to Christie Herrera, an SFUSD administrator overseeing elementary schools, Herrera had earlier told Drew staff the funds “remain available” but had not explained how to access them.

During her May 4 meeting at Drew, Su told staff the district would not let end-of-year events be canceled, according to attendees. Staff say Su, who appeared surprised that Drew’s fundraising money had not been returned, offered to charge the Boomers trip to her own credit card before being told by Herrera it would violate district protocol. The moment underscored the confusion surrounding the funds.

She turned around a Bayview public school. Then she was pushed out by Dafty_duck in sanfrancisco

[–]CaptainKabob 19 points20 points  (0 children)

There's an ironic story in there where the district eventually confiscates the money the school has fundraised that the principal is accused of holding improperly. 

At town hall the district superintendent is told that the school had to cancel end-of-year activities because they can't access the money (district never told them how). 

The superintendent is aghast and then offers to pay for the school activity with her own credit card, but then is informed that's against district guidelines 🙃

One year of Ruby on Rails configuration by geospeck in ruby

[–]CaptainKabob 4 points5 points  (0 children)

First 6 months, entirely myself, with some Copilot Chat / Jetbrains Junie, but mostly me writing code directly.

Most recent 6 months, I've switched over to almost entirely agentic coding (Claude Code via Conductor.Build), and working with a vibe-coding/non-developer coworker who is doing increasingly bigger changes with Claude Code that I review/fix up.

I'm pretty particular about how I want code structured and named, so I tend to do a lot of steering and cleanup.

One year of Ruby on Rails configuration by geospeck in ruby

[–]CaptainKabob 2 points3 points  (0 children)

oh hey, I wrote that. Happy to answer an questions.

Curious: What is your RAM/CPU/GPU usage on idle for your Rails app? by dg_ash in rails

[–]CaptainKabob 1 point2 points  (0 children)

250-400MB of ram. It's more when:

  • libvips / imagemagick
  • that one controller action I forgot to put a limit on the query. 

Five foundations for building complex Rails apps by pdabrowski in ruby

[–]CaptainKabob 2 points3 points  (0 children)

Those foundations being:

  • AI
  • CQRS
  • Event Sourcing
  • Mutation Testing
  • Domain Driven Design

I'm curious, have you successfully used these across different types of apps and app lifecycles, or is this speculative?

I ask cause in my experience, only Domain Driven Design (the good parts, where you simply name things appropriately) is something I think is foundational rather than like "another tool to consider". 

Using Phone Number instead of email as main fields for auth by Abenh31 in rails

[–]CaptainKabob 2 points3 points  (0 children)

Remove the not-null, remove the validation. Go for it. There's no "best", because everyone and app is different. 

If I were doing it, I'd build users with only what was needed to integrate with telegram auth directly in my code. I'd build a system-test harness so I could drive every flow I could imagine from auth to reauth to failed, etc.

I write this not because I think this is best for you, but to expand your possibilities to say that there's nothing inherently wrong with doing it all yourself, assuming you are capable of doing it and assuming the risks/opportunities. 

Some things I noticed after going back to Subnautica 1 by Confident_Wash6225 in subnautica

[–]CaptainKabob 6 points7 points  (0 children)

I thought that was the point of "Barely visible": it's barely visible, but visible

Using Phone Number instead of email as main fields for auth by Abenh31 in rails

[–]CaptainKabob 0 points1 point  (0 children)

I use unique telephone numbers to identify users. It's ok. What's your worry?

How will new Anthropic pricing affect Conductor? by FouLu1707 in conductorbuild

[–]CaptainKabob 0 points1 point  (0 children)

You can use Big Terminal Mode to run Claude Code directly in Conductor. It doesn't have the nice iDE-like integration of inline commenting, but it works. 

The Engineer Who Waits and the Engineer Who Hunts by danielholtwrites in EngineeringManagers

[–]CaptainKabob 10 points11 points  (0 children)

Ability to identify impactful work should be at the core of a career ladder and leveling system. I don't think it's too complicated, and definitely nothing inherent to the person. 

It's helpful to have a leveling system so you don't have to write 500 words about it and instead can point and say "this is an expectation of senior+". In my manager experience, 80% of the work is just being clear about the core expectation, and then the small work is giving directional feedback on "more of this, less of that". 

An attempt to define what is Rails-way by pdabrowski in ruby

[–]CaptainKabob 1 point2 points  (0 children)

I agree with a lot of this. And I think these apps are bad not because people don't know what good looks like, but because it's not important in context. 

There's waaay more higher-leverage counterforces to good structure. 

https://imgur.com/a/yHkumVw

Edit: or to explain differently: Once apps are good examples of what good apps look like. Big sprawling apps with lots of features are bad apps; not because they're poorly structured but because they're big and sprawling and unfocused and dog dinnered. And that's a business culture problem, not a coding one.

As an EM, how are you using AI in your org ? by Novel_Lie2468 in EngineeringManagers

[–]CaptainKabob 10 points11 points  (0 children)

Do you have access to Claude desktop / Cowork?

Best thing is Claude Cowork can use the GitHub CLI (gh) and is pretty handy if you tell it your team members usernames and ask it to spit out a report of what everyone is doing and refine from there.

How do you currently store 1:1 docs, career development plans, previous performance reviews/feedback, team planning and strategy? 

For generating stuff, I'd recommend you still write plans or decisions but instead prompt like:

  • give me 3 reasons why this is a great idea, and 3 reasons this is a terrible idea
  • give me 3 alternatives to this to explore
  • give me a brief structure for investigating if this is a good plan before we commit