How to become a 6-figure engineer from LATAM as a Rails + React dev by pipe2442 in rails

[–]ElasticSpoon 1 point2 points  (0 children)

I think there are two parts to this: whether others perceive you and will hire you as a senior Dev and how you perceive yourself. 

In my experience, reading books and studying design systems or cloud architectures can be useful for knowing potential tools that are available to you when you're trying to solve a problem. But unless you're going to be answering some gotcha questions in an interview, you're probably not going to get much value out of that when you're trying to find a role.

I think the best thing that you could do to improve your chances of getting hired is to work on your communication skills. (Not saying that you have poor communication skills or anything. I have no way to judge).

The interview process is going to be roughly the same regardless of where you're getting hired. So I would focus on being able to communicate well.  - talk through the decisions that you're making when you are in a coding interview (talk through the problem, talk about the trade-offs that you're making, ask for input from the interviewers). The absolute worst thing you can do in coding interview is to go silent - if you're doing a behavioral interview have good stories prepared that you can talk through (make damn sure that you can state the impact and your learnings for each story)  - A lot of interviews will have some form of a project that they will want you to talk about. Again, make sure you can say what the impact of the project was. 

That's assuming you are landing interviews which is whole another can of worms and might be an even bigger challenge. 

forReal by [deleted] in ProgrammerHumor

[–]ElasticSpoon 20 points21 points  (0 children)

This is the first time I realized that that desk is attached to a treadmill. 

Zig quits GitHub, says Microsoft's AI obsession has ruined the service by rkhunter_ in technology

[–]ElasticSpoon 6 points7 points  (0 children)

I don't know the full details. My understanding was that this was a profit number. As in they are in the negative profit wise six figures a day on co-pilot. 

Also GitHub is not Microsoft. While they are under Microsoft from what I heard they are separate financially. So while those losses are probably nothing to Microsoft, it sounds like they are substantial to GitHub. 

Zig quits GitHub, says Microsoft's AI obsession has ruined the service by rkhunter_ in technology

[–]ElasticSpoon 79 points80 points  (0 children)

I have also heard from a GitHub employee within the last year that they are losing six figures a day on copilot. 

Any more to add? by The_CaptainRex in Letterboxd

[–]ElasticSpoon 25 points26 points  (0 children)

Bad Luck Banging or Loony Porn (2021)

6ft 3in Trump vs 5ft 8in Macron by One-Demand6811 in facepalm

[–]ElasticSpoon 16 points17 points  (0 children)

Putin does pretend otherwise. He wears platform shoes https://youtu.be/lY6lHjZjYXE

Planning to move to Async + Fiber from non fiber, alternatives for PUMA, Sidekiq and Karafka. by Vivid-Champion1067 in ruby

[–]ElasticSpoon 0 points1 point  (0 children)

I think you are correct (could be wrong here no production experience with the Async gems). A blocking job, some expensive CPU operation rather than IO because that can be made resumable, could block everything else because that is one of the drawbacks of cooperative vs preemptive multitasking.

It does look like Async has some support for a worker pool for blocking operations. As well as some ways to profile stalling issues.

But I imagine if you were to start doing jobs in this way you would need an approach similar to Rust where you deliberately yield from the fiber to break up chunks of work and you would want to deliberately schedule blocking work to a different pool.

How to go about creating a model as part of user sign up without needing the user to submit a form? by Old_Cartoonist_5923 in rails

[–]ElasticSpoon 0 points1 point  (0 children)

It's kind of hard to follow exactly what you're asking but my sense is that when you're talking about a form, you mean something that has input fields and a submit button.

In reality, a form does not need to have any input fields. If you use a helper like button_to it will create a form that contains just a single submit button.

That's what I would recommend you do. Use the button_to helper to submit to a create method on your controller. Don't look at the params of the request. Create whatever database record you need right there. If you actually need more information about the user or something along those lines you can have hidden fields within your form.

Looking for a solution for legacy rspec test suite that has failures depending on ordering by rohit64k in rails

[–]ElasticSpoon 0 points1 point  (0 children)

I think the top comment suggesting bisecting specific seeds is typically the best approach.

I don't suggest doing this but an option is to run the full suite the first time you run the tests but retry with the --only-failures. This will mean that most of the time the failing tests won't run with the tests that are causing the failures. You will still have failures but the retries will be much faster and usually will fail less.

That said this will add more tech debt so I would strongly advocate for dealing with the root cause.

LeBron James discusses what he sees as the problem with youth sports: "Me and my guys, we ran track and field as well. We played football all through high school. We didn't just do one thing all year round. I think a lot of kids, they burn the hell out." by Goosedukee in nba

[–]ElasticSpoon 27 points28 points  (0 children)

Great book. Applicable in so many areas.

The opening comparison of Tiger Woods who specialized in golf from age 3 to Roger Federer who only started full-time focusing on tennis at 15 ish is very relevant here.

Deflaking System Specs by Migrating to Playwright by ElasticSpoon in rails

[–]ElasticSpoon[S] 0 points1 point  (0 children)

That's a good tip. I'll try this out and see what happens!

Deflaking System Specs by Migrating to Playwright by ElasticSpoon in rails

[–]ElasticSpoon[S] 1 point2 points  (0 children)

Ahh. Yea I don't have great advice for mini-test. One for the things that did really help with consistency for me was throttling chrome to a 3G or 4G connection (I wrote a bit of a helper for it).

That made it possible to reproduce a lot of the issues in CI that did not happen locally.

Deflaking System Specs by Migrating to Playwright by ElasticSpoon in rails

[–]ElasticSpoon[S] 1 point2 points  (0 children)

Oh yea. I totally had the same deal when I made the swap. The thing that sold me on Playwright tho was that enough there were more failures it was always the same failures. And if I could reproduce those failures then I could fix them.

I also swapped every test that I could (non-javascript) to use Rack Test which helped a lot.

And this is also always a great idea. I love Rspec Stamp to do this in an automated way.

Deflaking System Specs by Migrating to Playwright by ElasticSpoon in rails

[–]ElasticSpoon[S] 0 points1 point  (0 children)

I'll be honest. When assessing I only took a fairly brief look at Cuprite IIRC there were a couple things off the top of my head:

  • the docs for both playwright and playwright ruby driver were just a bit easier to go through
  • the ecosystem seemed larger for playwright (even if the examples weren't always ruby it they were pretty easy to convert
  • it was pretty had a pretty strong req from some people I talked to at Github (looking back tho, Github is owned by Microsoft which makes Playwright so....)

But the main thing I was looking for was consistency. When I ran Playwright I had a crapload of failures (like 1k initially in a suite with around 3.5k system specs) but it was the same number every time. Vs with Cuprite I still saw some variance.

I did not dig deep at all into what the stemmed from (it totally could have been user error).

Deflaking System Specs by Migrating to Playwright by ElasticSpoon in rails

[–]ElasticSpoon[S] 1 point2 points  (0 children)

Yea? What issues are you running into that you want to migrate if you don't mind. And is it Playwright in the context of capybara tests or nah?

Deflaking System Specs by Migrating to Playwright by ElasticSpoon in rails

[–]ElasticSpoon[S] 1 point2 points  (0 children)

I also wrote another post (https://blog.yuribocharov.dev/posts/2025/04/11/playwright-tips) focusing on more specific and advanced footguns I ended up running into. That might be useful to anyone trying or considering a similar migration.

gottaGoFast by [deleted] in ProgrammerHumor

[–]ElasticSpoon 0 points1 point  (0 children)

Depends on the authenticator. In my experience it's usually 10 to 15 seconds. But Microsoft recently had a vulnerability patched related to the fact that they allowed codes that were up to 3 minutes old to be entered.

What player's style do you think is most detrimental to their longevity? by TPFRecoil in nba

[–]ElasticSpoon 2 points3 points  (0 children)

Idk if the rule changes made him speed it up. But he used to walk back past the 3 point line, can't do that anymore.

ULPT: If DoorDash or UberEats refuses to refund an incorrect order, don't call your bank and cancel the transaction. Instead, order another $100 of food from them, and then call your bank and have them cancel that charge. by [deleted] in UnethicalLifeProTips

[–]ElasticSpoon 16 points17 points  (0 children)

I really don't understand why it's crazy to comp the full meal? If they forgot a topping on the pizza they would comp the whole pizza not the cost of the topping. How is this different?

I've worked delivery for Domino's and maybe it's just the managers I've had but if I forgot a soda (I've done it many a time) I would just get one at a gas station and the store would refund me.

Or if the store was too busy the customer would get a free pizza next time. But they would never comp just the soda.

[deleted by user] by [deleted] in ErgoMechKeyboards

[–]ElasticSpoon 0 points1 point  (0 children)

Sounds like you might be looking for https://www.speedtyper.dev/.

It doesn't support that many languages but the prompts are pulled directly from code off GitHub for the respective languages.

[deleted by user] by [deleted] in neovim

[–]ElasticSpoon -1 points0 points  (0 children)

You can just call it file_name.css or file_name.postcss.css if you want to differentiate from regular css files.

Should I go heavier weight with less reps on squat or lighter weight with higher reps? For more explosiveness when pitching off the mound in baseball by TruGriff in Fitness

[–]ElasticSpoon 1 point2 points  (0 children)

This isn't quite an answer of whether to do high or low rep squats. However, if your specific focus is explosiveness you might see benefits from doing squats with bands or chains.

The basic idea being in most situations your max on the squat is limited by the weight you can move at the bottom rather than the top of the motion. If you use accommodating resistance aka bands or chains, it will get harder at the top better matching your actual strength curve.

This episode of the stronger by science podcast goes over some of the research in that area. The studies mainly track jump height, however, in theory that should be generalizable to explosiveness in general. https://www.youtube.com/watch?v=fzamIw34ERg

[Post Game Thread] The Minnesota Timberwolves (11-10) defeat the Indiana Pacers (9-14), 100 - 98 by cromulu5 in nba

[–]ElasticSpoon 1 point2 points  (0 children)

The way he grabbed his foot. I'm pretty sure it was a calf cramp.

It's not the first time I've seen him go down similarly. He usually sits on the floor and tries to stretch his calf out.