I'd heard the conventional wisdom that UX research states that mice are more efficient than keyboards, but turns out there's virtually no research on this!
Notices by Wilfred Hughes (wilfredh@mastodon.social)
-
Embed this notice
Wilfred Hughes (wilfredh@mastodon.social)'s status on Tuesday, 29-Oct-2024 05:30:00 JST Wilfred Hughes -
Embed this notice
Wilfred Hughes (wilfredh@mastodon.social)'s status on Thursday, 26-Sep-2024 16:17:59 JST Wilfred Hughes I'm intrigued to see that Google has quantified that new code is generally buggier and less secure than code that has existed in your codebase for longer: https://security.googleblog.com/2024/09/eliminating-memory-safety-vulnerabilities-Android.html
-
Embed this notice
Wilfred Hughes (wilfredh@mastodon.social)'s status on Saturday, 14-Sep-2024 23:45:16 JST Wilfred Hughes An ad hoc, informally-specified, bug-ridden, slow implementation of half of a text adventure game -- or as I like to call it, a compiler.
In conversation from mastodon.social permalink -
Embed this notice
Wilfred Hughes (wilfredh@mastodon.social)'s status on Tuesday, 30-Jan-2024 15:19:50 JST Wilfred Hughes Difftastic is written in Rust, so I was surprised to get a user report of a segfault.
After some investigation, it turns out that it's a segfault in git itself, which has existed since 2014! https://lore.kernel.org/git/CAFXAjY7XcL1APhLRXU8TO96z=f7957f2ieK56dHVsXUay55vpg@mail.gmail.com/T/#u
(Upstream has already kindly written a patch.)
In conversation from mastodon.social permalink Attachments
-
Embed this notice
Wilfred Hughes (wilfredh@mastodon.social)'s status on Saturday, 12-Aug-2023 22:10:11 JST Wilfred Hughes Running a package manager host for a popular language is really expensive. TIL that Python costs several million dollars per year!
In conversation from mastodon.social permalink Attachments
-
Embed this notice
Wilfred Hughes (wilfredh@mastodon.social)'s status on Thursday, 27-Jul-2023 15:08:35 JST Wilfred Hughes I've released difftastic 0.49! In this release:
* LaTeX support
* Smarter diffing in languages that prefer the outer delimiter (JSON, Lisps)
* Improved parsing for C, C++, Java and HaskellIn conversation from mastodon.social permalink Attachments
-
Embed this notice
Wilfred Hughes (wilfredh@mastodon.social)'s status on Sunday, 16-Jul-2023 04:09:05 JST Wilfred Hughes I've been thinking about making difftastic smarter about context. In principle it understands structure, so I could limit context to the enclosing definition.
However, sometimes it's nice to see surrounding code. Line 644 isn't useful, but maybe 655 is. Opinions?
In conversation from mastodon.social permalink Attachments
-
Embed this notice
Wilfred Hughes (wilfredh@mastodon.social)'s status on Sunday, 09-Jul-2023 11:26:20 JST Wilfred Hughes A great deep dive on building GitHub's code view, optimising React, scaling to thousands whilst supporting both Ctrl-F and syntax highlighting: https://github.blog/2023-06-21-crafting-a-better-faster-code-view/
In conversation from mastodon.social permalink Attachments
-
Embed this notice
Wilfred Hughes (wilfredh@mastodon.social)'s status on Tuesday, 04-Jul-2023 15:13:27 JST Wilfred Hughes Steve Jobs famously asked for smooth scrolling (i.e. not line-by-line) in a Smalltalk demonstration and they changed the UI live.
Here's a lovely 2 minute YouTube video demonstrating that modification: https://www.youtube.com/watch?v=eEz08IlcNMg
In conversation from mastodon.social permalink Attachments
-
Embed this notice
Wilfred Hughes (wilfredh@mastodon.social)'s status on Tuesday, 20-Jun-2023 13:34:37 JST Wilfred Hughes I've just added closure support to my toy programming language: https://github.com/Wilfred/garden/commit/d1fb4566a2187dfe98fb1d2278a7a0d2acd8059e
Closures are more fiddly than I expected, but I now have a much better understanding of what downward/upward funargs are :)
(Downward: passing a closure, upward: returning a closure)
In conversation from mastodon.social permalink Attachments
-
Embed this notice
Wilfred Hughes (wilfredh@mastodon.social)'s status on Sunday, 04-Jun-2023 23:48:39 JST Wilfred Hughes Rust has an elegant solution to testing private functions: you put the test in the file that defines the function. It generally works well.
I've even seen people argue that it makes mocking much less necessary! I've not felt the need to mock in Rust so far.
In conversation from mastodon.social permalink -
Embed this notice
Wilfred Hughes (wilfredh@mastodon.social)'s status on Tuesday, 15-Nov-2022 17:30:09 JST Wilfred Hughes Advice from one of the authors of Common Lisp on PL work: established languages tend to win in their domain. It really helps if you enjoy working in this space.
(There is a ton of PL skill and insight in the smaller languages IME.)
In conversation from mastodon.social permalink Attachments
-
Embed this notice
Wilfred Hughes (wilfredh@mastodon.social)'s status on Monday, 12-Sep-2022 14:13:43 JST Wilfred Hughes Tired:
Unexpected IndexErrorWired:
Tried to access index 10 in a 4 item list ["x", "y", "z", ""]In conversation from mastodon.social permalink