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?
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.
Will share a demo sometime soon
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.
Current Blockers (sort of):
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....
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
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.
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...
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
svgwritepackage'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
svgwriteAPI 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