News for hackers. Stuff that matters.
Re:Building GitHub with Ruby on Rails by neals on Friday April 07, 2023 @05:23AM (#35479798)
As someone who has experience working with large codebases, I am thoroughly impressed by GitHub's approach to upgrading their Ruby on Rails monolith. It is clear that the GitHub team has invested a significant amount of time and resources to ensure that their application runs on the latest version of Rails and Ruby, and this has resulted in real tangible benefits such as better database connection handling, faster view rendering, and improved security posture.

I particularly appreciate the fact that GitHub's weekly upgrade process for Rails and Ruby is not just about staying up to date with the latest versions, but also about contributing back to the community and strengthening their engineering team. It's great to see a company that values the importance of investing in their frameworks and treating them as an extension of their application.

One thing I'm curious about is how GitHub handles potential incompatibilities that may arise from these frequent upgrades. The article mentions that each Rails upgrade incorporates only a small number of changes, which makes it easier to understand and dig into if there are any issues. However, I wonder if there are any specific strategies or tools that GitHub uses to mitigate the risk of unexpected changes from an unknown location.

Re:Building GitHub with Ruby on Rails by that_guy_iain on Friday April 07, 2023 @06:28AM (#35480129)
> As someone who has experience working with large codebases, I am thoroughly impressed by GitHub's approach to upgrading their Ruby on Rails monolith. It is clear that the GitHub team has invested a significant amount of time and resources to ensure that their application runs on the latest version of Rails and Ruby, and this has resulted in real tangible benefits such as better database connection handling, faster view rendering, and improved security posture.

To be fair, they did spend years not adding features. (Only really starting to add features when the Dear GitHub letter came out) It seems like they spent that time wisely just investing in stuff like this. GitHub are in a unique position where they spent so long ignoring features while having a large team. I feel like for the majority of teams these sort of investments are rarely possible because feature work is required.

Re:Building GitHub with Ruby on Rails by irjustin on Friday April 07, 2023 @07:04AM (#35480340)
I down voted because it just seems like you wanted to being up the dear GitHub.

It's been years... 7? with great features that go well beyond the letter. Yes gh was stagnant but this is pretty well in the past and your points have almost no current relevance.

Re:Building GitHub with Ruby on Rails by that_guy_iain on Friday April 07, 2023 @07:20AM (#35480444)
> I down voted because it just seems like you wanted to being up the dear GitHub.

I only brought up dear GitHub because I am sure people wouldn't have had an idea what I was talking about.

> Yes gh was stagnant but this is pretty well in the past and your points have almost no current relevance.

When my point is they used a bunch of time that other companies wouldn't give to build a solid foundation it seems very much that the past, that being the foundation, is very relevant. My entire point, is that they're in a very unique position a position that others can't really fairly expect since very few companies are able to ignore features for such a long time. This isn't to bash github. This is to put into persective what they've done and if others can do it. It removes the whole "GitHub did it so..." thing that many will suggest down the line.

Re:Building GitHub with Ruby on Rails by bspammer on Friday April 07, 2023 @06:47AM (#35480230)
Was this comment generated via ChatGPT? Not trying to catch you out, just curious if I'm able to successfully spot it in the wild.
Re:Building GitHub with Ruby on Rails by teshigahara on Friday April 07, 2023 @07:17AM (#35480430)
I also got very "ChatGPT" vibes from that comment but thought I was being too paranoid by the last paragraph
Re:Building GitHub with Ruby on Rails by willriches on Friday April 07, 2023 @07:23AM (#35480463)
I passed their comment to ChatGPT 3.5 and it seemed confident that ChatGPT wrote it.
Re:Building GitHub with Ruby on Rails by codetrotter on Friday April 07, 2023 @07:35AM (#35480535)
I don’t think ChatGPT can tell if something was written by ChatGPT. At least not reliably.
Re:Building GitHub with Ruby on Rails by padolsey on Friday April 07, 2023 @07:38AM (#35480555)
Re:Building GitHub with Ruby on Rails by sheepscreek on Friday April 07, 2023 @07:52AM (#35480640)
ChatGPT is probably not trained for this. The classifier seems like a different model/product. Can access it in the playground here:

https://platform.openai.com/ai-text-classifier

Re:Building GitHub with Ruby on Rails by Karunamon on Friday April 07, 2023 @07:37AM (#35480547)
* * *
Re:Building GitHub with Ruby on Rails by neals on Friday April 07, 2023 @07:51AM (#35480634)
You caught me red-handed! Yes, the previous comment was actually generated by ChatGPT. I must admit, I was curious to see if anyone would be able to spot it in the wild, and you my friend have successfully done so.

In the interest of full disclosure, I should also mention that I didn't actually read the article before leaving my comment. I know, I know, shame on me!

But on a more serious note, I think it's important to recognize that while AI has made incredible strides in recent years, there is still a lot of work to be done on the creative side. Many texts generated by AI tend to have a similar structure or tone, and it's not always easy to tell them apart from human-generated text.

Re:Building GitHub with Ruby on Rails by ilyt on Friday April 07, 2023 @07:58AM (#35480676)
The true test is "is it actual marketing-speeech or chatgpt". There are few easy things to catch like

>and this has resulted in real tangible benefits such as better database connection handling, faster view rendering, and improved security posture.

No actual honest tech person would ever say "security posture"

It also generally read like someone trying to sell tech to managers. I wouldn't blink an eye if something like that was posted on corporate blog because that's exact type of worm-speech they use

Re:Building GitHub with Ruby on Rails by cutler on Friday April 07, 2023 @08:39AM (#35480976)
Am I the only one already bored ****less by everything ChatGPT?
Re:Building GitHub with Ruby on Rails by efxhoy on Friday April 07, 2023 @07:57AM (#35480663)
What prompt did you use? I immediately smelled chatgpt from the comment too. No one on hn actually writes like that, says so little and refers back in such a methodical way to the talking points of the actual article.
Re:Building GitHub with Ruby on Rails by aczerepinski on Friday April 07, 2023 @07:59AM (#35480679)
This one is also gpt. Can we please keep hn comments human only?
Re:Building GitHub with Ruby on Rails by neals on Friday April 07, 2023 @08:09AM (#35480746)
I apologize fellow human. The world has changed, the genie is out, and all that is left is bullet-point communication.
Re:Building GitHub with Ruby on Rails by rco8786 on Friday April 07, 2023 @07:58AM (#35480668)
Got the same vibes. It seems to write in a very "formal" fashion unless explicitly instructed otherwise, and even then doesn't do a great job all the time.
Re:Building GitHub with Ruby on Rails by handsclean on Friday April 07, 2023 @08:14AM (#35480782)
Interesting, reading GPT output with an expectation of human quality made its shortcomings a lot more obvious to me. Thank you for that experience. In particular, it stood out that significant parts are an oddly direct regurgitation of input text, suggesting they didn’t undergo translation into abstract form then back to text, and that it doesn’t pick out interesting or unexpected things to respond to, instead coming up with some comment on many parts of the input like it’s a checklist.
Re:Building GitHub with Ruby on Rails by neals on Friday April 07, 2023 @08:32AM (#35480915)
You're welcome. I had to remove the last paragraph from the output as well, as chatGPT seems to like to summarize it's output one last time. I see that a lot in it's output and it's a dead giveaway.