postmodern's latest activity
- 21d ·
-
Public·
-
ruby.social
I'm liking that ROM has *finally* been integrated into Hanami, but I also worry about the amount of ceremony involved with mapping in a single table and querying it.
https://hanamirb.org/blog/2024/11/05/hanami-220/
…See more
I'm liking that ROM has *finally* been integrated into Hanami, but I also worry about the amount of ceremony involved with mapping in a single table and querying it.
https://hanamirb.org/blog/2024/11/05/hanami-220/
See less
I'm liking that ROM has *finally* been integrated into Hanami, but I also worry about the amount of ceremony involved with mapping in a single table and querying it.
https://hanamirb.org/blog/2024/11/05/hanami-220/
I'm liking that ROM has *finally* been integrated into Hanami, but I also worry about the amount of ceremony involved with mapping in a single table and querying it.
https://hanamirb.org/blog/2024/11/05/hanami-220/
- 3mo ·
-
Public·
-
ruby.social
@nateberkopec @jamie ideally, a framework or templating library could detect when a template is pure-HTML and automatically treat it differently.
…See more
@nateberkopec @jamie ideally, a framework or templating library could detect when a template is pure-HTML and automatically treat it differently.
See less
@nateberkopec @jamie ideally, a framework or templating library could detect when a template is pure-HTML and automatically treat it differently.
@nateberkopec @jamie ideally, a framework or templating library could detect when a template is pure-HTML and automatically treat it differently.
- 3mo ·
-
Public·
-
ruby.social
Just ran into an interesting question, is there a templating framework that allows including pure-HTML partials? Like what if your partial does not have any interpolation or logic in it, just HTML? Surely there's a way you could skip "rendering" the partial and just inline the static String. Rails had a `format: [:html]` option, but it's not clear whether that will bypass ERB rendering.
…See more
Just ran into an interesting question, is there a templating framework that allows including pure-HTML partials? Like what if your partial does not have any interpolation or logic in it, just HTML? Surely there's a way you could skip "rendering" the partial and just inline the static String. Rails had a `format: [:html]` option, but it's not clear whether that will bypass ERB rendering.
See less
Just ran into an interesting question, is there a templating framework that allows including pure-HTML partials? Like what if your partial does not have any interpolation or logic in it, just HTML? Surely there's a way you could skip "rendering" the partial and just inline the static String. Rails had a `format: [:html]` option, but it's not clear whether that will bypass ERB rendering.
Just ran into an interesting question, is there a templating framework that allows including pure-HTML partials? Like what if your partial does not have any interpolation or logic in it, just HTML? Surely there's a way you could skip "rendering" the partial and just inline the static String. Rails had a `format: [:html]` option, but it's not clear whether that will bypass ERB rendering.
- 6mo ·
-
Public·
-
ruby.social
There was a thread on the /r/ruby subreddit where @headius lamented about how C extensions have hindered JIT and eventual plans to remove the GIL. @tenderlove chimed in with tentative plans to eventually move away from C extensions. If we could somehow rid ourselves of C extensions, this would make it easier for multiple Ruby versions to share the same GEM_HOME (ex: RVM/rbenv/chruby). You shouldn't have to delete/re-install all of your gems after upgrading ruby 3.1.5 -> 3.1.6.
…See more
There was a thread on the /r/ruby subreddit where @headius lamented about how C extensions have hindered JIT and eventual plans to remove the GIL. @tenderlove chimed in with tentative plans to eventually move away from C extensions. If we could somehow rid ourselves of C extensions, this would make it easier for multiple Ruby versions to share the same GEM_HOME (ex: RVM/rbenv/chruby). You shouldn't have to delete/re-install all of your gems after upgrading ruby 3.1.5 -> 3.1.6.
See less
There was a thread on the /r/ruby subreddit where @headius lamented about how C extensions have hindered JIT and eventual plans to remove the GIL. @tenderlove chimed in with tentative plans to eventually move away from C extensions. If we could somehow rid ourselves of C extensions, this would make it easier for multiple Ruby versions to share the same GEM_HOME (ex: RVM/rbenv/chruby). You shouldn't have to delete/re-install all of your gems after upgrading ruby 3.1.5 -> 3.1.6.
There was a thread on the /r/ruby subreddit where @headius lamented about how C extensions have hindered JIT and eventual plans to remove the GIL. @tenderlove chimed in with tentative plans to eventually move away from C extensions. If we could somehow rid ourselves of C extensions, this would make it easier for multiple Ruby versions to share the same GEM_HOME (ex: RVM/rbenv/chruby). You shouldn't have to delete/re-install all of your gems after upgrading ruby 3.1.5 -> 3.1.6.
- 10mo ·
-
Public·
-
ruby.social
Definitely think this is a bug in rubocop.
Style/ConditionalAssignment: Use the return of the conditional for variable assignment and comparison.
case other ...
Occurs in this code:
def ===(other)
case other
when IPRange
@range === other.range
else
@range === other
end
end
…See more
Definitely think this is a bug in rubocop.
Style/ConditionalAssignment: Use the return of the conditional for variable assignment and comparison.
case other ...
Occurs in this code:
def ===(other)
case other
when IPRange
@range === other.range
else
@range === other
end
end
See less
Definitely think this is a bug in rubocop.
Style/ConditionalAssignment: Use the return of the conditional for variable assignment and comparison.
case other ...
Occurs in this code:
def ===(other)
case other
when IPRange
@range === other.range
else
@range === other
end
end
Definitely think this is a bug in rubocop.
Style/ConditionalAssignment: Use the return of the conditional for variable assignment and comparison.
case other ...
Occurs in this code:
def ===(other)
case other
when IPRange
@range === other.range
else
@range === other
end
end
- 1y ·
-
Public·
-
ruby.social
@searls rumor is consumer spending is dropping fast as the economy slows down to high interest rates and sticky inflation. Companies are getting desperate.
…See more
@searls rumor is consumer spending is dropping fast as the economy slows down to high interest rates and sticky inflation. Companies are getting desperate.
See less
@searls rumor is consumer spending is dropping fast as the economy slows down to high interest rates and sticky inflation. Companies are getting desperate.
@searls rumor is consumer spending is dropping fast as the economy slows down to high interest rates and sticky inflation. Companies are getting desperate.
…See more
See less
- 1y ·
-
Public·
-
ruby.social
@searls I've also noticed flawed PRs containing invalid markdown/documentation syntax during Hacktoberfest. I suspect people are using ChatGPT to generate the PRs, and then maintainers have to go through multiple rounds of review in order to fix the PR. While LLM can generate code, they can't distinguish between different markup syntaxes or documentation formats.
…See more
@searls I've also noticed flawed PRs containing invalid markdown/documentation syntax during Hacktoberfest. I suspect people are using ChatGPT to generate the PRs, and then maintainers have to go through multiple rounds of review in order to fix the PR. While LLM can generate code, they can't distinguish between different markup syntaxes or documentation formats.
See less
@searls I've also noticed flawed PRs containing invalid markdown/documentation syntax during Hacktoberfest. I suspect people are using ChatGPT to generate the PRs, and then maintainers have to go through multiple rounds of review in order to fix the PR. While LLM can generate code, they can't distinguish between different markup syntaxes or documentation formats.
@searls I've also noticed flawed PRs containing invalid markdown/documentation syntax during Hacktoberfest. I suspect people are using ChatGPT to generate the PRs, and then maintainers have to go through multiple rounds of review in order to fix the PR. While LLM can generate code, they can't distinguish between different markup syntaxes or documentation formats.
…See more
See less
- 1y ·
-
Public·
-
ruby.social
@nateberkopec I think there needs to be more recent examples of how to do SSE. The sinatra-sse README's example references eventmachine. I assume I can use the async gem to pipe redis pubsub into SSE?
…See more
@nateberkopec I think there needs to be more recent examples of how to do SSE. The sinatra-sse README's example references eventmachine. I assume I can use the async gem to pipe redis pubsub into SSE?
See less
@nateberkopec I think there needs to be more recent examples of how to do SSE. The sinatra-sse README's example references eventmachine. I assume I can use the async gem to pipe redis pubsub into SSE?
@nateberkopec I think there needs to be more recent examples of how to do SSE. The sinatra-sse README's example references eventmachine. I assume I can use the async gem to pipe redis pubsub into SSE?