tiflolinux.org - GNU Social
  • Login

Bienvenido

  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Notices by Wilfred Hughes (wilfredh@mastodon.social)

  1. Wilfred Hughes (wilfredh@mastodon.social)'s status on Monday, 20-Mar-2023 22:12:16 CET Wilfred Hughes Wilfred Hughes

    The Tomorrow Corporation has built its own game programming stack with live reload, time travel debugging, and even the ability to serialise the entire game state and replay it between testers!

    https://www.youtube.com/watch?v=72y2EC5fkcE

    In conversation Monday, 20-Mar-2023 22:12:16 CET from mastodon.social permalink
  2. Wilfred Hughes (wilfredh@mastodon.social)'s status on Sunday, 22-Jan-2023 22:26:26 CET Wilfred Hughes Wilfred Hughes

    Do commas ever appear in idiomatic Clojure? It's syntactically legal but I don't think I've ever seen them in the wild.

    In conversation Sunday, 22-Jan-2023 22:26:26 CET from mastodon.social permalink
  3. Wilfred Hughes (wilfredh@mastodon.social)'s status on Sunday, 19-Jun-2022 14:11:14 CEST Wilfred Hughes Wilfred Hughes

    Programming is a team activity: the vast majority of projects have multiple contributors. Yet all the films I've seen show a solo programmer at a keyboard.

    Have any movies got this right?

    In conversation Sunday, 19-Jun-2022 14:11:14 CEST from mastodon.social permalink
  4. Wilfred Hughes (wilfredh@mastodon.social)'s status on Friday, 17-Jun-2022 10:46:36 CEST Wilfred Hughes Wilfred Hughes

    Proper tail calls were added to the JS standard, but most implementations don't provide it. V8 even built it then removed it!

    The concern is worse developer experience. An opt-in syntax has been proposed (cf loop/recur in Clojure) but no consensus.

    https://www.mgmarlow.com/words/2021-03-27-proper-tail-calls-js/

    In conversation Friday, 17-Jun-2022 10:46:36 CEST from mastodon.social permalink
  5. Wilfred Hughes (wilfredh@mastodon.social)'s status on Sunday, 05-Sep-2021 13:04:36 CEST Wilfred Hughes Wilfred Hughes
    in reply to

    You can also configure GitHub to include the logo in the social media preview. Hopefully this works:

    https://github.com/Wilfred/difftastic

    In conversation Sunday, 05-Sep-2021 13:04:36 CEST from mastodon.social permalink
  6. Wilfred Hughes (wilfredh@mastodon.social)'s status on Sunday, 05-Sep-2021 13:04:32 CEST Wilfred Hughes Wilfred Hughes

    Taking a break from debugging graph traversal algorithms to give difftastic a logo :)

    In conversation Sunday, 05-Sep-2021 13:04:32 CEST from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/106/876/062/362/322/839/original/801bc6b3dc144e38.png
  7. Wilfred Hughes (wilfredh@mastodon.social)'s status on Sunday, 04-Jul-2021 14:03:08 CEST Wilfred Hughes Wilfred Hughes

    Difftastic update: I've rewritten the tree diffing logic to use Dijkstra's algorithm similar to Autochrome.

    It works amazingly well! Note how it recognises both parent and children unchanged nodes in the lisp example. You can even see me refactoring Rust to use if-let.

    In conversation Sunday, 04-Jul-2021 14:03:08 CEST from mastodon.social permalink
  8. Wilfred Hughes (wilfredh@mastodon.social)'s status on Sunday, 20-Jun-2021 07:54:28 CEST Wilfred Hughes Wilfred Hughes

    Printers increasingly speak a standardised protocol, making it feasible to support printers without any drivers at all!

    https://lwn.net/Articles/857502/

    In conversation Sunday, 20-Jun-2021 07:54:28 CEST from mastodon.social permalink
  9. Wilfred Hughes (wilfredh@mastodon.social)'s status on Tuesday, 15-Jun-2021 09:53:42 CEST Wilfred Hughes Wilfred Hughes
    in reply to

    The test file is from https://fosdem.org/2021/schedule/event/sexpressiondiff/, which is a project exploring a pure-lisp solution to this problem.

    In conversation Tuesday, 15-Jun-2021 09:53:42 CEST from mastodon.social permalink

    Attachments

    1. FOSDEM 2021 - Semantically meaningful S-expression diff
  10. Wilfred Hughes (wilfredh@mastodon.social)'s status on Tuesday, 15-Jun-2021 09:53:42 CEST Wilfred Hughes Wilfred Hughes
    in reply to

    How it works, roughly:

    The parsing is inspired by Comby: everything is an atom or a list.

    Tree diffing applies LCS diff at each level, then looks for subtrees that have moved.

    Finally there's tons of futzing with line positions to print something comprehensible.

    In conversation Tuesday, 15-Jun-2021 09:53:42 CEST from mastodon.social permalink
  11. Wilfred Hughes (wilfredh@mastodon.social)'s status on Tuesday, 15-Jun-2021 09:53:42 CEST Wilfred Hughes Wilfred Hughes

    A little more progress on my syntactic differ: now it only shows lines of things that have changed!

    Here's a Scheme example. Note that line 16 on the right has moved, but it's actually unchanged. Difftastic understands this :)

    In conversation Tuesday, 15-Jun-2021 09:53:42 CEST from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/106/412/959/980/835/260/original/dc4a935a20b70f15.png
  12. Wilfred Hughes (wilfredh@mastodon.social)'s status on Sunday, 13-Jun-2021 21:37:59 CEST Wilfred Hughes Wilfred Hughes

    One thing that bothers me about today's diffs: we often read changes in a format that patch can consume!

    Diffs are largely read by humans, but we have to mentally parse "@@ -40,7 +40,9 @@". Which line is line 40? Is it the first visible line, or the first changed line?

    In conversation Sunday, 13-Jun-2021 21:37:59 CEST from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/106/405/105/773/811/325/original/8e6abf96f19ab629.png
  13. Wilfred Hughes (wilfredh@mastodon.social)'s status on Sunday, 13-Jun-2021 18:49:33 CEST Wilfred Hughes Wilfred Hughes

    My syntactic diff tool basically works!

    Diffing trees and printing them in a comprehensible way is extremely tricky. I'm hoping to get something I can release once I've hammered out the bugs.

    WIP code is at https://github.com/wilfred/difftastic

    In conversation Sunday, 13-Jun-2021 18:49:33 CEST from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/106/404/365/114/994/983/original/0d9ee69727f42492.jpeg
  14. Wilfred Hughes (wilfredh@mastodon.social)'s status on Sunday, 16-May-2021 12:39:14 CEST Wilfred Hughes Wilfred Hughes

    This is really neat: an online collection of programs that can pass the type checker but fail at runtime, in a bunch of languages (Java, Scala, OCaml, Haskell, Rust): https://counterexamples.org/runtime-misinformation.html

    It also discusses the design tradeoffs that led to these behaviours.

    In conversation Sunday, 16-May-2021 12:39:14 CEST from mastodon.social permalink

    Attachments


  15. Wilfred Hughes (wilfredh@mastodon.social)'s status on Monday, 10-May-2021 00:50:57 CEST Wilfred Hughes Wilfred Hughes

    Python is discussing an elegant approach to tracebacks, where the subexpression that caused the exception is highlighted: https://www.python.org/dev/peps/pep-0657/

    In conversation Monday, 10-May-2021 00:50:57 CEST from mastodon.social permalink

    Attachments

    1. PEP 657 -- Include Fine Grained Error Locations in Tracebacks
      from /static/humans.txt
      The official home of the Python Programming Language
  16. Wilfred Hughes (wilfredh@mastodon.social)'s status on Saturday, 24-Apr-2021 11:42:17 CEST Wilfred Hughes Wilfred Hughes

    Why Lisp?

    It has its pros and cons.

    In conversation Saturday, 24-Apr-2021 11:42:17 CEST from mastodon.social permalink
  17. Wilfred Hughes (wilfredh@mastodon.social)'s status on Wednesday, 05-Jun-2019 00:45:54 CEST Wilfred Hughes Wilfred Hughes

    Ridiculous, brilliant and absurd: dynamically generating a keyboard layout based on the most common letters that you're typing right now! https://github.com/shapr/markovkeyboard

    In conversation Wednesday, 05-Jun-2019 00:45:54 CEST from mastodon.social permalink

    Attachments

    1. shapr/markovkeyboard
      from GitHub
      keyboard layout that changes by markov frequency. Contribute to shapr/markovkeyboard development by creating an account on GitHub.

User actions

    Wilfred Hughes

    Wilfred Hughes

    Programming geek, natural languages nerd, and occasional writer. he/him

    Tags
    • (None)
    ActivityPub
    Remote Profile

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          3899
          Member since
          5 Jun 2019
          Notices
          17
          Daily average
          0

          Feeds

          • Atom
          • Help
          • About
          • FAQ
          • TOS
          • Privacy
          • Source
          • Version
          • Contact

          tiflolinux.org - GNU Social is a social network, courtesy of tiflolinux.org. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

          Creative Commons Attribution 3.0 All tiflolinux.org - GNU Social content and data are available under the Creative Commons Attribution 3.0 license.