11 votes

What programming/technical projects have you been working on?

This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

5 comments

  1. [2]
    admicos
    Link
    Managed to "revive" my laptop that I previously mentioned on Tildes before. The secret? Pay someone who knows what the hell they're doing. Apparently you just pull the keyboard off and there are...

    Managed to "revive" my laptop that I previously mentioned on Tildes before. The secret? Pay someone who knows what the hell they're doing. Apparently you just pull the keyboard off and there are holes underneath it to plug everything in from. What a great innovation (!)

    I apparently broke the "zero insertion force" (yeah, right) connectors, so they're being held together with pieces of cardboard, and the SSD is being held by a piece of paper towel (3rd party SSD, didn't have the right mounting setup), but it works, and that's what matters, right?

    I set up Arch with disk encryption and put GNOME 40 on there. The battery seems to be going well enough, the touchpad is a bit wonky because of some small water damage from way back, but it still seems to work once you disable the clicky buttons (any libinput devs reading this, make this a proper config option plz), and the fan occasionally makes weird sounds, but not as commonly as it did before I messed it up, so that's neat I guess (I have no idea what happened)

    And that's one machine saved from being e-waste, even if I might not exactly have a use for it just yet, it's nice to know it's there and works.

    7 votes
    1. whbboyd
      Link Parent
      This is basically best practice. ;) Double-sided foam tape is a very normal mounting solution for SSDs in desktops which either lack mounting hardware or room for a more traditional mount. There's...

      the SSD is being held by a piece of paper towel

      This is basically best practice. ;) Double-sided foam tape is a very normal mounting solution for SSDs in desktops which either lack mounting hardware or room for a more traditional mount. There's no moving parts; actually screwing them to the computer's structure is three or four orders of magnitude more mounting force than is required under any conceivable circumstance.

      And if it makes you feel better, you are in very good company hating ZIF connectors. They're used mostly because they can be made extremely small; but of course, when they're made very small, they also become very fragile, and are a common point of failure.

      5 votes
  2. DaveJarvis
    (edited )
    Link
    KeenWrite, my text editor that separates content and presentation, nearly has a new version: an integration with ConTeXt to typeset plain text documents. Here's a screenshot (work-in-progress)...

    KeenWrite, my text editor that separates content and presentation, nearly has a new version: an integration with ConTeXt to typeset plain text documents. Here's a screenshot (work-in-progress) showing a chapter:

    https://i.ibb.co/qCFs50C/keenwrite-pdf.png

    The far left panel lists YAML variables in a tree (see outdated demo video). The variables may be referenced using R statements or moustache syntax ({{key.ref.name}}). Changing the variable values affects the preview panel in real-time (shown behind the PDF), but the PDF must be generated separately. I'm in the midst of creating a few themes that dictate how ConTeXt typesets the output document. A manuscript theme is on the horizon, which uses double-spaced 12pt Courier.

    JavaFX was not a great decision for building a desktop app. Although it gets off the ground quickly, there are many gotchas that have bite. For example, when exporting as a PDF, if you opt to replace a file, the built-in JavaFX FileChooser will wreck application focus upon returning. To fix this, I've replaced the FileChooser with a third-party picker, which isn't as feature rich at the moment.

    ConTeXt converts SVG files to MetaPost code. Sometime between 2019 and 2020, broad changes were made, freeing the system from its Inkscape/rsvg-convert dependency. There are some show-stoppers in the new SVG/MetaPost conversion routines.

    After the issues with the file chooser and ConTeXt are ironed out, KeenWrite will have export to PDF functionality. Five years in the making!

    4 votes
  3. Liru
    Link
    I've been slowly trying to implement an interpreter for Wren in Rust, and quickly came to the realization that I have no idea how to implement some of the features that the canon implementation...

    I've been slowly trying to implement an interpreter for Wren in Rust, and quickly came to the realization that I have no idea how to implement some of the features that the canon implementation written in C provides. At this point, I'm just overlooking those things and trying to get something working without worrying about the details.

    3 votes
  4. elcuello
    Link
    I'm looking for a learning app for Angular. I don't know if that exist. I wish something like Duolingo existed for everything. I need a daily reminder of sorts. I've learned basic Javascript and...

    I'm looking for a learning app for Angular. I don't know if that exist. I wish something like Duolingo existed for everything. I need a daily reminder of sorts. I've learned basic Javascript and taken some online courses in Angular but I still can't grasp it...it's overwhelming and It's bringing me down at work

    2 votes