mscccc | 5 months ago | on: Cloudflare and PlanetScale launch integration
mscccc's comments
mscccc | 2 years ago | on: School lunch breaks in France can be two hours (2012)
mscccc | 2 years ago | on: School lunch breaks in France can be two hours (2012)
"Food coma" is from carbs/sugar. :)
Edit: to satisfy my friendly HN editors. :)
mscccc | 2 years ago | on: How does Sidekiq really work?
> Why?
To build fast. Our team knew Ruby well. Many of us worked at GitHub and trusted we could solve the problems ahead of us with it.
> Do you have trouble hiring?
No issues at all.
mscccc | 2 years ago | on: Pegasus Mail
mscccc | 2 years ago | on: D1: Improvements to performance and scalability
mscccc | 2 years ago | on: Show HN: A 15 min daily stretch routine for desk workers
I don't think his message is that stretching "does nothing". It's more that, research has shown that combining stretching with strength (using the range of motion) is the way to create lasting change.
mscccc | 2 years ago | on: Building GitHub with Ruby on Rails
I was saying it came after, meaning GitHub could not have used it since it didn’t exist. :)
mscccc | 2 years ago | on: How does database sharding work?
Definitely not normal. It’s hard to know why you’re seeing slow queries without more information.
The most common causes are either: missing indexes or network latency between the app and database (are they in the same region?).
We don’t have cold starts, but it is possible for queries to get faster once data is moved into memory. 3-4s is very slow though, I suspect it’s doing a full table scan and an index will solve it.
If you check Insights you can get more info, would also help to run an explain on the query (https://planetscale.com/courses/mysql-for-developers/queries...) to see what’s happening.
Also, if you email support, they’ll help debug it for you. Hope that helps!
mscccc | 2 years ago | on: Building GitHub with Ruby on Rails
Attributing some UI bugs with their choice of framework is a massive oversimplification of the problem.
mscccc | 3 years ago | on: Google releases Bard to a limited number of users in the US and UK
mscccc | 3 years ago | on: Ask HN: Real-world anecdotes of MySQL at scale?
mscccc | 3 years ago | on: Why We’re Sticking with Ruby on Rails at Gitlab
I don't exactly agree that it's a design problem. I think there is a lot of value in testing at a high level (controller tests) and having them touch the full stack (down to the DB). Gives a lot of confidence that the code will work in production. Throwing money at it (running the tests in parallel) pretty much solves it.
I have seen FactoryBot use get out of control (creating 8x as many records as you'd expect). That's a really easy way to slow down a test suite :). One way I've found to fix that is by adding tests for the factories, and asserting they are only creating what you want them to.
On model tests, another thing GitHub did well was encourage using `.build` when possible to avoid writing the the DB.
mscccc | 3 years ago | on: Why We’re Sticking with Ruby on Rails at Gitlab
In addition to that, the test suite performance was regularly monitored. And like any performance issue, we'd instrument and then fix issues as they came up.
mscccc | 6 years ago | on: Publish NPM Package with GitHub Actions
https://help.github.com/en/actions/automating-your-workflow-...
mscccc | 7 years ago | on: Ask HN: Who is hiring? (June 2018)
GitHub is changing the way the world creates software and we want you to help us craft the best way to build a software workflow: GitHub Marketplace. We’re looking for a talented Engineer to help make our Marketplace be the ideal place to find and sell the best tools development workflows.
You’ll work with our team of Ecosystem engineers, designers, and product managers to craft a cohesive experience for both our customers' integrators. The Ecosystem organization works together to ensure every part of our Platform is low friction and provides a high amount of value. Become part of the future of software development by joining our Marketplace team.
Details:
SF: https://boards.greenhouse.io/github/jobs/1152666
Remote US: https://boards.greenhouse.io/github/jobs/1152669
Remote Global: https://boards.greenhouse.io/github/jobs/1152619
Keywords: Ruby/Rails, JavaScript, GraphQL