Originally appeared on Alchemists: Articles.
htmx Infinite Scroll
Pagination is always a feature you have to tackle in web application development in one form or another. A common approach is ...
Originally appeared on Alchemists: Articles.
htmx Infinite Scroll
Pagination is always a feature you have to tackle in web application development in one form or another. A common approach is to use a gem, like Pagy, to provide the following capabilities:
Load records in batches (a.k.a. pages).
Previous and next links.
Numbered links to specific pages.
Bookmarkable links complete with browser history.
Definitely useful to decrease server load since you’re only loading a small subset of records per request. The problem with this approach is:
Most people bail after reading through the first couple of pages and not finding what they want.
Includes a lot visual information, design-wise, that not only consumes…
We can do better. With infinite scrolling, we…
Topics:
infinite scrolling
htmx
pagination
server load
browser history
Originally appeared on RubySec.A flaw was found in rubyipmi, a gem used in the Baseboard Management
Controller (BMC) component of Red Hat Satellite. An authenticated
attacker with host creation or ...
Originally appeared on RubySec.A flaw was found in rubyipmi, a gem used in the Baseboard Management
Controller (BMC) component of Red Hat Satellite. An authenticated
attacker with host creation or update permissions could exploit this
vulnerability by crafting a malicious username for the BMC interface.
This could lead to remote code execution (RCE) on the system.
Topics:
rubyipmi
satellit
os command injection
remote code execution
Count
Releases
0
Commits
1
Contributors
1
Pull requests merged
1
...
Count
Releases
0
Commits
1
Contributors
1
Pull requests merged
1
Issues closed
1
At a Glance
A Wild Email Appears
Jumpy Alien
Community Site
A Wild Email Appears
I received an email about Taylor! Someone noticed a bug on the playground and
reported it. This small act by them made me feel like I’m actually making a
difference with this project.
The thing that makes me chuckle about this bug report is that they’re focussing
on the missing y call on the Vector2 but mention nothing about the clearly
broken background drawing.
I’m very thankful for this report though, I have fixed both of these issues but
I’m still not sure how to tackle keeping regressions like this from happening
automatically.
Jumpy Alien
I got Jumpy Alien updated for Taylor v0.4.1. This was mostly
the change around Texture2D#draw no longer defaulting the origin to the
centre of the image and instead puts it back at Vector2[0, 0] to make it work
like nearly every other #draw function.
I did some gameplay improvements too.
The pipes now spawn at random heights
Player gravity tweaked
Pipe movement speed tweaked
Exit button now works
If your browser doesn't support the video tag, you can
download the video.
The main menu is shown before going into play the game. Once playing the
player gets a score of three before crashing into a pipe and seeing the end
screen showing their high score of 3.
Community Site
Now that I got warden working with Hanami I’ve decided to go back to my
Rails implementation of the community site. While I’ve enjoyed Hanami I’m
looking to have a high velocity with this so sticking with tooling I know is
going to be better. I will absolutely revisit Hanami later as I liked a lot of
the decisions they’ve made and found it a great experience.
Going back to an old codebase always means I get to do one of my favourite
things, upgrading libraries! I’m not even kidding, I get a lot of pleasure out
of bumping gems and doing Rails upgrades. So now it’s running on Rails 8.1.
I decided to take it a step further though and rewrite the entirety of the erb
templates I was using into Phlex. I find using Phlex a much nicer
experience than writing erb templates.
I’ve been using Hotwire in production since the beta release of Turbo, and it’s changed the way I build web apps. It’s a great way to get SPA-like interactivity at a fraction of the complexity. In ...
I’ve been using Hotwire in production since the beta release of Turbo, and it’s changed the way I build web apps. It’s a great way to get SPA-like interactivity at a fraction of the complexity. In this article, we’ll explore how we can use Turbo 8’s morphing, the view transitions API, and a sprinkle of Stimulus to create a smooth, interactive experience with minimal code. We’ll see how these t...
Was always so inspired by that speech where JFK said "we will go to the moon... or do some other stuff instead" https://www.theguardian.com/science/2026/feb/27/nasa-changes-delays-moon-missions