9 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?

7 comments

  1. EgoEimi
    Link
    Been doing 'soft' programming. I received early access to Anthropic's Claude LLM /w API access. I've been using iOS Shortcuts to slowly integrate Claude on my phone through Siri. Got...

    Been doing 'soft' programming. I received early access to Anthropic's Claude LLM /w API access. I've been using iOS Shortcuts to slowly integrate Claude on my phone through Siri.

    • Got back-and-forth conversation working, so I can immediately follow up w/o re-triggering Shortcut
    • Got continuous day memory working by storing chat log in Notes (through Shortcuts), so I can have a coherent conversation throughout the day with Claude.

    Next:

    • Create a server and endpoint to offload more complex logic.
    • Create workflows that Claude, with proper instructions, can do stuff on my phone.
    • Not sure how yet, but give the AI some proactive tasks to do and allow it to ping me when it has something interesting to say or suggest

    Will share a demo sometime soon

    5 votes
  2. [2]
    pezhore
    Link
    I'm finally rebuilding my homelab. It's a semi-functional/semi-learning space - Plex, a minecraft server, etc. I'm also standing up kubernetes cluster for the first time to try and get some hands...

    I'm finally rebuilding my homelab. It's a semi-functional/semi-learning space - Plex, a minecraft server, etc. I'm also standing up kubernetes cluster for the first time to try and get some hands on experience with that.

    This go around I'm using three Lenovo m720q systems with a 10 gig fiber storage network running Proxmox and Ceph. It's going fairly well - although I've been avoiding anything k8s aside from setting up the 3 node cluster. Everything is either done in Terraform or Ansible so at least I've got that going for me.

    Next up:

    • Documentation, and a lot of it. My memory is already pretty crappy and I don't want to have to rely on it when I revisit my code in 6 to 9 months.
    • Something that will handle the automation of my lets encrypt wild card cert, pushing it out to all of the various servers and containers in the lab.

    Current Blockers (sort of):

    • I can't quite figure out how to get my PiHole and the two PowerDNS servers to best talk. I really like power DNS from a terraform perspective, but I am most comfortable with the PiHole's upgrade/update whitelist workflow.
    • Time/scheduling. Unfortunately, aside from the kubernetes portion, there's not a whole lot of translates directly to my day-to-day. When I'm done with work I don't have a ton of energy left to work on the lab.
    3 votes
    1. Akir
      Link Parent
      Isn't PiHole just a fancy prepackaged DNS server? I don't have any experience with DNS servers, but I would imagine it wouldn't be too difficult to have whatever blocklist that PiHole is using...

      Isn't PiHole just a fancy prepackaged DNS server? I don't have any experience with DNS servers, but I would imagine it wouldn't be too difficult to have whatever blocklist that PiHole is using work on your existing DNS server. Or go the other way around and put your custom DNS rules into your PiHole installation.

      The last time I looked at certbot (which was practically an eternity ago) it already had automation to renew Lets Encrypt certs - but I know that wildcard certs had special rules to go with them.

      ... I'm not sure this response was helpful at all....

  3. [2]
    scrambo
    Link
    I realized looking back on the comment that I forgot to thank @whispersilk for their suggestion on my previous post in here about my fishing tournament application. Thanks! :) The architecture for...

    I realized looking back on the comment that I forgot to thank @whispersilk for their suggestion on my previous post in here about my fishing tournament application. Thanks! :)

    The architecture for the application has changed pretty drastically after I took a long think about how well certain features would work on a windy, stormy, beach with no data and minimal cell connectivity. No more rest api, no more controllers, no more spring anything.

    Now the backend is a simple cli application that I plan to run from termux on my android phone. It will take data in csv format (either as a string or file), run calculations on that, and spit the results to stdout so they can then be read for closing ceremonies.

    "Now @scrambo..." you may ask. "How are a bunch of geriatrics who are scared of technology, supposed to be able to format the data you need?" And to that I say: "They won't!"

    The second half to this project now is a PWA that they will enter all of their catches on during the day. When the tournament ends they will send the data (either as file or SMS) to me, and I'll merge all the results together and feed it into my program. That way everything should be formatted properly, and I (hopefully) won't have to worry about connectivity on the beach.

    source is here if anyone wants to take a gander: https://github.com/huffstler/SRCServer

    3 votes
    1. whispersilk
      Link Parent
      Hey, that looks awesome! Glad you got it all working and love the thought you put into making sure it’s usable on the day of by the people who will have to use it.

      Hey, that looks awesome! Glad you got it all working and love the thought you put into making sure it’s usable on the day of by the people who will have to use it.

      2 votes
  4. fazit
    Link
    I'm trying to build a report for Jasper Reports with iReports Designer, for our companies ERP System. At first it was really, really confusing. But after a day fiddeling with it, it all starts to...

    I'm trying to build a report for Jasper Reports with iReports Designer, for our companies ERP System.

    At first it was really, really confusing. But after a day fiddeling with it, it all starts to make sense, more or less. One problem is that our software version is quite old, and the documentation and forums are quite mangled by a few redesigns of the Jaspersoft Community website.

    It feels like the very early days of programming again: "Oh, I guess I have to copypaste this incantation if I want to pass a parameter to a subreport. Oh, and this one, too!", "Interesting, if I put the element above this blue line, it's only printed once. If I put it below, it gets repeated for every row in the SQL query!" and so on.

    If anybody knows any good tutorials or ressources about Jasper/iReports, please throw them my way! ChatGPT wasn't a lot of help here...

    2 votes
  5. onyxleopard
    Link
    I started writing a program to create SVG visualizations of linguistic annotations. I consulted ChatGPT to help with this and while it was somewhat useful, it was a little bit too optimistic in...

    I started writing a program to create SVG visualizations of linguistic annotations.

    I consulted ChatGPT to help with this and while it was somewhat useful, it was a little bit too optimistic in that it hallucinated some methods in the svgwrite package's API. Those methods would be very helpful if they existed (such as being able to call svgwrite.Text.bbox() to get a bounding box of a Text), but unfortunately the svgwrite API does not provide such amenities. I imagine ChatGPT would be much more helpful in this scenario if I could not only feed it my code, but also point it to svgwrite's documentation and source code (to hopefully prevent hallucinating parts of its API that don't exits). Unfortunately, that is not possible given ChatGPT's current limitations.

    Here's my in-progress GitHub repo: annovis

    1 vote