Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chris12321
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
chris12321
2y ago
> In my experience, most web applications are terminating HTTP connections from clients, then reaching out over a network to database servers, etc. to do work. This is very much IO-bound, so I'm not sure how this wouldn't be a
32.
▲
by
chris12321
2y ago
Seeing how they've started having their support team use AI to generate features https://twitter.com/shl/status/1839741937504415934 and their "coding CEO" is using it to cover for their lack of abil
33.
▲
by
chris12321
2y ago
ActiveRecord doesn't generate models based on database tables, it uses conventions on table and attribute names along with Ruby's metaprogramming capabilities to define behaviour on models automatically. From my understanding, Cay
34.
▲
by
chris12321
2y ago
In terms of convention over configuration, Ruby's metaprogramming is crucial for the name-based class conventions that make Rails so convenient. For instance, if you have a class User with the attribute name, at runtime Rails dynamical
35.
▲
by
chris12321
2y ago
It's really the other way around, Ruby is the superpower that makes Rails what it is. There are very few (if any) web frameworks comparable to Rails because Rails is only possible due to the dynamism and expressiveness provided by Ruby
36.
▲
by
chris12321
2y ago
Ruby methods can have both positional and keyword arguments, so, in this case, the `has_many` method takes the symbol `:players` as an argument and takes a keyword argument called `dependent:` which is being passed the symbol `:destroy_asyn
37.
▲
Caley.io – Switching from React/Next.js to Ruby on Rails
(twitter.com)
3 points
by
chris12321
3y ago
|
0 comments
38.
▲
by
chris12321
3y ago
As a Rails developer, I am quietly rooting for Mastodon, but I don't see it gaining the mass adoption necessary for a social network.
39.
▲
by
chris12321
3y ago
Most code doesn't follow SOLID principles.
40.
▲
by
chris12321
3y ago
Those things are all just Objects in Ruby, just with some syntactic sugar, not built in data types. `/a?/` is just syntactic sugar for `Regexp.new('a?')`, ['a','b','c'] is just `Array.[]( &#
41.
▲
by
chris12321
3y ago
Well it's trivial in ActiveRecord to avoid n+1s by preloading associations. As with any technology, if you use it wrong and inefficently then things will be incorrect and slow.
42.
▲
by
chris12321
3y ago
For some reason, some people with discount any example of Rails scalability as not counting.
43.
▲
by
chris12321
3y ago
No, it's a question, "does array x include object y?" `x.include?(y)`
44.
▲
by
chris12321
3y ago
No it's not a deep fake, the AI was just used to isolate John's vocals from a demo tape.
45.
▲
Performance impact of the memoization idiom on modern Ruby – Object Shapes
(railsatscale.com)
3 points
by
chris12321
3y ago
|
0 comments
46.
▲
by
chris12321
3y ago
They've just posted the recording https://www.youtube.com/watch?v=wV1Yva-Dp4Y
47.
▲
Intercom - Monolith-ifying perfectly good microservices – Rails World[video]
(youtube.com)
1 points
by
chris12321
3y ago
|
0 comments
48.
▲
Aaron Patterson – Future of Developer Acceleration with Rails – Rails World 2023 [video]
(youtube.com)
1 points
by
chris12321
3y ago
|
0 comments
49.
▲
by
chris12321
3y ago
Intercom gave a talk at the recent Rails world conference about how they moved to a micro service based architecture, but all it ended up doing was increase operational complexity. They're now in the process of porting their microservi
50.
▲
by
chris12321
3y ago
DDH made a funny comment about this in his keynote for the Rails World conference that just happened: "Twitter moved off rails and I was always really curious about that story. Here's a testimony from someone who actually worked a
51.
▲
by
chris12321
3y ago
I recently saw a talk from lead engineer at Intercom who talked about how they're moving away from micro services and porting them over into their rails monolith. Their reasoning was that that managing all these services creates a huge
52.
▲
Rails World 2023 Opening Keynote – David Heinemeier Hansson [video]
(youtube.com)
14 points
by
chris12321
3y ago
|
1 comments
53.
▲
A happier happy path in Turbo with morphing
(dev.37signals.com)
4 points
by
chris12321
3y ago
|
1 comments
54.
▲
by
chris12321
3y ago
> in an ephemeral way, yes. So no. Or why not measure productivity in an ephemeral way.
55.
▲
by
chris12321
3y ago
They've only just abandoned their manifesto commitment to leasehold reform last week. https://www.theguardian.com/money/2023/may/10/plans-abolish-...
56.
▲
by
chris12321
3y ago
The Tories have been dangling rental reform in front of the electorate for a decade now. Considering the number of MP's who are landlords and where the Tories get there money from, I'll believe this when it's actually through
57.
▲
by
chris12321
3y ago
Land ownership here in the UK has hardly progressed past the feudal system. Have a look into leaseholds if you want to see how bad it is.
58.
▲
by
chris12321
4y ago
Just because Rails is untyped doesn't mean you can add type definitions to your own code within a rails application.
59.
▲
by
chris12321
4y ago
Sharp knives and all that
60.
▲
by
chris12321
4y ago
With bundler, Ruby dependency management is excellent. I don't think I've ever had a problem setting up an app where the Ruby dependencies are the issue. I certainly can't say the same for JavaScript apps.
More ›