Nate Hopkins(@hopsoft) 's Twitter Profileg
Nate Hopkins

@hopsoft

Software writer, maker. Creator of UniversalID, TurboBoost, StimulusReflex, CableReady, and several other Ruby/JavaScript libraries. https://t.co/05iSQRrXtS

ID:24274695

calendar_today13-03-2009 22:55:16

9,5K Tweets

5,3K Followers

1,3K Following

Nate Hopkins(@hopsoft) 's Twitter Profile Photo

What's currently en vogue for an LRU cache/hash in Ruby these days. Are folks still using lru_redux? There's not a lot of activity on the repo, but I presume that's because the project is condidered done and stable. 🤔 github.com/SamSaffron/lru…

account_circle
Nate Hopkins(@hopsoft) 's Twitter Profile Photo

Running git rebase for a branch on a large and active project after some drift and multiple commits to the same files isn't a fun job.

account_circle
Nate Hopkins(@hopsoft) 's Twitter Profile Photo

The way we write software will change dramatically over the next 2-10 years. If you’re not paying attention to the shifting landscape, you’re already falling behind. leanpub.com/patterns-of-ap…

account_circle
Nate Hopkins(@hopsoft) 's Twitter Profile Photo

How many of y'all knew it's possible to use ActiveRecord to configure an in-memory SQLite database, define and create a table (migrate), and seed it with data in just 3 lines of Ruby?

How many of y'all knew it's possible to use ActiveRecord to configure an in-memory SQLite database, define and create a table (migrate), and seed it with data in just 3 lines of Ruby?
account_circle
Michele Hansen(@mjwhansen) 's Twitter Profile Photo

Payroll should be a tax deduction again, period. Employee salaries shouldn't be added back in as 'profits.'

Yet, that's happening right now for developers, designers, PMs & more

As a result, people are getting laid off, & small business owners are being bled of every last cent

account_circle
Nate Hopkins(@hopsoft) 's Twitter Profile Photo

Rails URL/path helpers are astonishingly permissive and flexible. Want to use a human friendly method name ✅, or pass ordinal args ✅, or pass kwargs ✅, mix and match args ✅, use the generic URL/path helper instead of the friendly one and pass any combo of these args. ✅

account_circle
Fritz Johnson(@FritzTheDev) 's Twitter Profile Photo

Changes to section 174 of the tax code absolutely crush software startups.

A 5-year depreciation schedule for a software engineer’s salary is insane.

Is the new move to build a “finished product” pre-revenue then fire all your engineers? Seems plausible.

🤡

account_circle
Nate Hopkins(@hopsoft) 's Twitter Profile Photo

Very interesting and important nuance when optimizing an app for SQLite. 🤔 I wonder how we could mitigate design decisions tailored for SQLite (such as intentional N+1s) if/when you switch to another database that requires a different approach.

account_circle
Saurabh Dashora(@ProgressiveCod2) 's Twitter Profile Photo

My favorite software engineering quote:

'Don't try to find the best design in software architecture; instead, strive for the least worst combination of trade-offs'

It comes from the book Software Architecture: the Hard Parts.

Have also found it to be true many many times...…

My favorite software engineering quote: 'Don't try to find the best design in software architecture; instead, strive for the least worst combination of trade-offs' It comes from the book Software Architecture: the Hard Parts. Have also found it to be true many many times...…
account_circle
Nate Hopkins(@hopsoft) 's Twitter Profile Photo

Loving the instant18n translation gem. Obie Fernandez When do you plan to cut the next release? It's currently got ruby-openai pinned to '~> 4.0.0' 🙏

account_circle