Chris Howlett

Results 8 issues of Chris Howlett

Using a Wii remote (with attached MotionPlus, and nunchuk). I've successfully made Windows 10 recognise the wiimote as a games controller, and can access the controller properties. Buttons all register,...

I encountered a situation where I needed to give a validation on a serialized Hash access to the outer, "real" object - for instance, validations conditional on some state of...

If I have the following (Ruby) code: ``` do_the_thing(on: me, with: it, using: flamethrower, ignoring: nil) ``` and I invoke Align on the `with: it` line, the result is: ```...

Since a color input has to have its value set directly via javascript (presumably because of the difficulty of interacting with the browser's colour picker), the `change` and `input` events...

Given HTML like: ``` ``` Then the following test will fail: ``` fill_in("control", with: "#c0ffee") expect(page).to have_content("changed") ``` This is because the `set` method for a color input only forces...

- HTTP method to submit form by - extra data fields to submit with form

Because `normalize_number` strips all non-phonelike characters from its input, you get weird results like the following: ``` PhonyRails.plausible_number?('https://doi.org/10.1002/rse2.195', country_code: 'GB') # => true ```

In a brand new Rails app with a single controller defined as so: application.js ``` import "@hotwired/turbo-rails" import "controllers" ``` controllers/application.js ``` import { Application } from "@hotwired/stimulus" const application...