RobL

2.5K posts

RobL banner
RobL

RobL

@braindeaf

Senior Software Engineer (Ruby/Rails - 15 Years). Looking for new remote opportunities.

Brighton, UK Katılım Ağustos 2008
61 Takip Edilen278 Takipçiler
RobL
RobL@braindeaf·
@catalinmpit However, never lose sight of who you are outside of the roles of giving to other people. You get to my mum's age and wonder where your life went after your children grow up and your friends die. When is it your turn?
English
0
0
0
9
Catalin
Catalin@catalinmpit·
After you have a family, you don’t care about much anymore. You just want to provide for them, love them and keep the safe. Everything else is secondary.
English
3
1
45
2.5K
RobL
RobL@braindeaf·
@catalinmpit Theory is great, perfection is a noble pursuit but in the end we need to ship something that works in the time that we have.
English
0
0
0
23
RobL
RobL@braindeaf·
Just reflecting that I have been using Ruby for 20 years now. Wow. Anyway...just published this gem simple today Ouroboros. "...Ouroboros is an experimental implementation of an infinite circular Array. An Array eating it's own tail..." rubygems.org/gems/ouroboros #ruby #rails
English
0
0
0
26
RobL
RobL@braindeaf·
@schwad_rb We use AI for inspiration and help with speeding up problem solving..kind like Google with batteries. I've heard code reviews in other companies where "AI wrote it" has been uttered as justification for the way a piece of code is written...which is a solid NO from me
English
0
0
0
28
schwad
schwad@schwad_rb·
Software companies and software engineers now have to figure out if they align on their “usage or not usage of AI” preferences and it’s actually a massive problem in tech that nobody is talking about
English
1
1
1
394
RobL
RobL@braindeaf·
@dhh I am sure that is true for you. But it is not for everyone but societal expectations to have children contributes to the many millions of unwanted children and the damaged adults they become. Embrace joy in people and help others, personal freedom from children is not a bad thing
English
0
0
1
187
DHH
DHH@dhh·
Don't miss out on parenthood. I guarantee you that no amount of "personal freedom" is worth more than the existential delight of embracing your offspring like this.
English
182
720
12.5K
653.8K
RobL
RobL@braindeaf·
@KevinMonk I ditched 7,000 emails this evening. A sorry weight on my existence is lifted.
English
0
0
1
26
RobL
RobL@braindeaf·
@KevinMonk I am skeptical about AI because I think I don't want to think decades of learning is edundant. However, I took a stab at making a Sinatra based GMail email cleaner because at 98% capacity I am too stingy to pay an extra £2 a month for email. Most of this took about 15 minutes.
RobL tweet media
English
1
0
1
25
Kevin Monk 🇬🇧 ⏩
Kevin Monk 🇬🇧 ⏩@KevinMonk·
Vibe coding is a 10x advantage. The sneering from the anti-AI “but I can code better” crowd is embarrassing to hear at this point.
Jon Stokes@jon_stokes

Confession: I thought "vibe coding" was a dumb X thing until I did it today with Claude Code and shipped an amazing refactor with it. I've had my head in the problems with this code for over a week, so I could guide the model through the decision tree and really direct it and micromanage it in a way that actually felt like coding but on acid or something. Anyway, $28.12 in tokens later, I have a 2,300 LOC PR that cleans up a ton of the app and is impossible to review without also using Claude Code to go through it and understand all the changes. I just tried this method of code review, where I gave Claude Code a prompt like this: "I'm on a branch and what I need is a complete code review for this branch. You'll need to diff it from `main`, examine all the changes, and then first give me an overview of all the changes in the code. Then ask if I have any questions or want to dive deeper on a particular change. Then you may have to walk me through specific changes. I also want to hear your opinion of the changes -- are they sensible, do they make the code better or worse and why, could they be improved, are there any coding standards in our app that they fail to meet, etc." From there, it was basically like playing one of the Infocomm text-based adventures, where I just sort of explored around the PR, gathering even more insights and understanding even more of what was happening. Anyway, TIL vibe coding is real, and if you're not doing it then you will lose to people who do. (Sorry, but these are the facts as of right now in 2025. If you're some sort of coding purist, you should plan to retire ASAP.)

English
1
0
1
108
RobL
RobL@braindeaf·
@JunoBirch Was hoping to see Copenhagen on that list :)
English
0
0
0
53
RobL
RobL@braindeaf·
@schwad_rb I'd buy that for a dollar
English
0
0
1
30
RobL
RobL@braindeaf·
So the Sky footage of the F1 was so focused on Hamilton's finish they l show the podium takers crossing the line on the final race as an afterthought. I don't give a shit about Hamilton
English
0
0
0
118
RobL
RobL@braindeaf·
@MichaelDChaney Thank you for the detailed explanation it was very helpful. The documentation is certainly misleading then. I think I have to do a write-up of this to make sure I understand and present the problem I was actually trying to solve.
English
0
0
1
11
Michael Chaney
Michael Chaney@MichaelDChaney·
I was in the wrong place, anyway, as that was for lazy evaluation. Here's the code: #L4870" target="_blank" rel="nofollow noopener">github.com/ruby/ruby/blob… This is the secret sauce: #L977" target="_blank" rel="nofollow noopener">github.com/ruby/ruby/blob… Basically, it hashes each key and then uses ar_find_entry to see if that key's already in the hash. Here's the simple explanation. Hashes store the keys in order of entry now. So "uniq" creates an empty hash: hash = rb_obj_hide(rb_hash_new()); and adds the array items one at a time to this hash: rb_block_call(obj, id_each, 0, 0, func, hash); basically as "val => val". It's either going to use "uniq_func" if there's no block given or "uniq_iter" if there's a block. Those each call "rb_hash_add_new_element" with the value or the block return value as the hash key. If the value is already in there as a key, it's not overwritten. At the end, it grabs the values from this hash: ret = rb_hash_values(hash); clears the hash, then returns the values. To make it simple - it doesn't use "eql?". Instead, it uses the built-in hashing to do the comparison.
English
1
0
1
28
RobL
RobL@braindeaf·
Is this a bug? Or am I not understanding something? Elements in an array are de-duped according to 'eql?' Seemingly not. #ruby #rails
RobL tweet media
English
2
0
0
93
RobL
RobL@braindeaf·
@MichaelDChaney Sadly I'm not a C programmer, so I can only take a guess at what this is doing. Is my assumption correct that it isn't actually calling eql? I guess I am grossly underestimating the simplicity of this.
English
1
0
0
11
RobL
RobL@braindeaf·
@13Zombo13 Well, if you find that you can't bear to hold onto any Original Series 1 then I have a massive amount of gaps in mine.
English
1
0
0
10
Zombo
Zombo@13Zombo13·
I’ve been told Garbage Pail Kids are worth thousands all of a sudden. We’ll, I have thousands of them!
Zombo tweet media
English
1
1
2
174
RobL
RobL@braindeaf·
You don't realise how important this is until it affects people you love Mandate to provide ground level HRT information to all women with symptoms of menopause. chng.it/QpY2NKxkyQ via @UKChange
English
0
0
1
49
RobL
RobL@braindeaf·
@catalinmpit A medium where you can suspend the concerns and troubles of daily life and sink into the world of Michael Corleone's rise to power but before we get past the wedding remember you're going to die one day and your pets need a financial safety net + Walkers only use British potatoes
English
0
0
0
16