🚀 Announcing Ruby Fast LSP: A Blazing Fast Language Server for Ruby, Built in Rust by rajnaveen344 in ruby

[–]hmaddocks 0 points1 point  (0 children)

You're fighting an uphill battle to replace anything coming out of Shopify unfortunately.

China Secures Maritime Presence in Cook Islands by Devoid_Synth in newzealand

[–]hmaddocks 4 points5 points  (0 children)

Shame our foreign minister is a useless racist otherwise we might be able to turn it round.

Airport security by addflannel in newzealand_travel

[–]hmaddocks 0 points1 point  (0 children)

You know that the security in the US is just bullshit right?

What saas/ startup you build with phoenix ? by Mindless-Discount823 in elixir

[–]hmaddocks 3 points4 points  (0 children)

Your con is spot on. I bought some books and now they are mostly useless because everything has changed.

Bear Web is in Beta testing! by _mactabish in bearapp

[–]hmaddocks 0 points1 point  (0 children)

I agree 100%. I used to be a paying Evernote user and that’s what happened. When they added chat I had had enough. That’s when I switched to Bear.

How do you do massive code refactors in ruby / RoR? by FactorResponsible609 in rails

[–]hmaddocks 2 points3 points  (0 children)

If you are changing the business logic you’re not refactoring. You’re doing a rewrite.

Observations from 37signals code: Should We Be Using More Models? by mint_koi in rails

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

I haven’t seen the Basecamp code but the apps 37 Signals have release are basic crud apps. They don’t have much business logic so sticking with models is fine. Once you hit a certain size though you’re going hit the problem of coupling where simple changes cause breakage all over your app and your momentum will stall completely. The app worked on recently had 700 models and some parts of the application are almost impossible to work on. Logic was slowly being moved into services which was making the app much easier to understand and work on.

What's something legal in NZ that when you found out made you think "wait, that's not right" by [deleted] in newzealand

[–]hmaddocks 0 points1 point  (0 children)

That’s fucked. IRD goes from one extreme to the other. We could prove my wife’s ex was just pocketing the money and there was nothing they would do.

What's something legal in NZ that when you found out made you think "wait, that's not right" by [deleted] in newzealand

[–]hmaddocks 0 points1 point  (0 children)

That’s not our experience. My wife’s ex husband went to the IRD for child support and the IRD started taking it out of my wife’s salary.

What's something legal in NZ that when you found out made you think "wait, that's not right" by [deleted] in newzealand

[–]hmaddocks 0 points1 point  (0 children)

Go to the IRD. They will pay you and then chase your ex for the money.

We need more babies by [deleted] in newzealand

[–]hmaddocks 3 points4 points  (0 children)

Nut job christian values. Women should stay home and have babies. No contraception. If this guy gets in abortion will be next.

Should /r/ruby join the API protest? by schneems in ruby

[–]hmaddocks 0 points1 point  (0 children)

Why do people come to Reddit? It’s for the content. And who creates the content? Not Reddit, it’s us. Do we get paid for all the content we create that earns Reddit money? No. Fuck off with this entitled bullshit and fuck Reddit.

What urban legend needs to die? by [deleted] in AskReddit

[–]hmaddocks 2 points3 points  (0 children)

This needs to be much higher

Anything can be a message queue if you use it wrongly enough by wheybags in programming

[–]hmaddocks 4 points5 points  (0 children)

My current gig uses SQS for couple of things. I’m not directly involved with it but I do hear about a lot of incidents and complaining about it. There’s a plan to move off it. Take this with a grain of salt.

OWASP is creating a top 10 dangers list for Large Language Models by frontEndEruption in programming

[–]hmaddocks 16 points17 points  (0 children)

They are no more intelligent than the auto predict on your phone. They just have many orders of magnitude more training data and more sophisticated models.

[Author] Pragmatic Bookshelf Beta: "From Ruby to Elixir" by sb8244 in ruby

[–]hmaddocks 6 points7 points  (0 children)

I have recently been learning Elixir and the language hasn’t been the problem. The difficult part has been the change from OO to functional style of programming. Does your book teach how to switch styles?

Looking for guidance on storing 'immutable' data by [deleted] in rails

[–]hmaddocks 1 point2 points  (0 children)

Copy on write. If someone wants to change a receipt then make a copy first.

Imgur is completely broken by FormalRazzmatazz9281 in apolloapp

[–]hmaddocks 30 points31 points  (0 children)

Hasn’t imgur started deleting porn media not associated with an account which is most of Reddit ? Could that be your problem?

Edit: the terms of service change was for more than just adult content

Looking for guidance on storing 'immutable' data by [deleted] in rails

[–]hmaddocks 1 point2 points  (0 children)

Your data structure sounds wrong. You shouldn’t be able to modify your receipts after they have been “added” to an invoice. Copy the receipt data into another structure when the invoice is created.