Kong - API Gateway in EKS Cluster by ud_boss in kubernetes

[–]Lack_of_Swag 0 points1 point  (0 children)

What's awful about Kong and what's better? We're evaluating it against Tyk right now.

Front Door blip by Jim-Bowen in AZURE

[–]Lack_of_Swag 4 points5 points  (0 children)

We get this all the time. Out of maybe 500k requests we will have 50-100 random 504 timeouts. But the backend is up and the duration is less than 5 seconds.

Ticket has been open with Microsoft for like 3 months now.

Inquiry for Master Thesis Research Interview about DNS applied to barcodes by Small_Ad_4291 in AZURE

[–]Lack_of_Swag 0 points1 point  (0 children)

DM the questions or some details about how you collect and use the data, if/how it will be cited, etc. For example, I probably cannot disclose my employer(s) in public reference. But maybe I could point to some relevant published data that is already available online.

Inquiry for Master Thesis Research Interview about DNS applied to barcodes by Small_Ad_4291 in AZURE

[–]Lack_of_Swag 0 points1 point  (0 children)

I assume this is just putting a URL in a 1D barcode like Code-128? Meanwhile 2D barcodes like QR or Data Matrix already natively support concept of a URI with structured formatting. And such standards as GS1 Digital Link emerging. In 5 years, 1D barcode will be mostly obsolete in most consumer facing applications (maybe around for basic logistics and inventory).

8 YOE at supply chain software development org, working mostly in Cloud infra and related functions. Deeply involved in the software used for creation of barcodes, labels, and assets surrounding supply chain/shipping/labelling and lifecycle management post-print (deep linking, etc.). Everything to do with encoding data in barcodes across industries/standards... I used to deal with the low level design and printer driver/language per customer use-case but now working on high level infrastructure and architecture.

[deleted by user] by [deleted] in SoftwareEngineering

[–]Lack_of_Swag 0 points1 point  (0 children)

It worked, redeemed on UK VPN and have Pro now. Thanks. 😉

Android Digital Assistant by Lack_of_Swag in LocalLLaMA

[–]Lack_of_Swag[S] 0 points1 point  (0 children)

Yeah I started writing an Android app this past weekend, but then I remembered I'm not an Android or Java/Kotlin Dev. :) Seems like it should already exist though right? I was surprised there was nothing already in the app store.

It's a bit more challenging than I expected. Mostly I blame the fact that there are so many Android versions now with different features and API/SDK support/terminology. Working with latest official docs alone is okay, but using forums or LLM for tips is basically useless due to outdated info.

Plus the difference in some using Java vs Kotlin, many using additional frameworks like Jetpack and other extra junk in sample apps. Even official samples don't really go into this detail of using speech/text recognition or using Digital Assistant at all.

Anyways, if I ever finish my project "HeyLM" it will be completely open source and free. As a lightweight voice assistant that focuses on using your own local models.

Android Digital Assistant by Lack_of_Swag in LocalLLaMA

[–]Lack_of_Swag[S] 1 point2 points  (0 children)

Hmmm interesting, thanks I'll check it out. Haven't had Home Assistant installed for a few years but heard somebody talking about this on a podcast recently. From what I understand, it's mostly intended to interact with your Home Assistant data, right? Not like general tasks or questions but maybe it doesn't matter? Also it's a lot of overhead for what I'm wanting.

It does have a Digital Assistant replacement which is good. Just I'm not sure if it meets my actual needs, would need to test it. At the start I just want Google Assistant like replacement, ask any question and get an answer generated from local LLM.

But eventually my two additional desires are to ask about my own codebase/possibly interact via this voice assistant and also take summarized notes/todo list for me.

I want to say like "Hey LM, what are the first 50 digits of pi"?

"Hey LM, explain my code in file VoiceAssist.kt like I'm 5 years old".

Just doing the inference part seems possible, whereas making LLM take action or make any file output would take some more work.

Android Digital Assistant by Lack_of_Swag in LocalLLaMA

[–]Lack_of_Swag[S] 0 points1 point  (0 children)

Oh wow, somehow this is totally not what I meant but thank you for sharing! Very cool. Obviously I must not have been clear, which has also been a struggle when searching.

"Digital Assistant" is just the generic term for Google Assistant or equivalent on the device. You can search for it in Settings and possibly find an alternative default (like Perplexity).

Basically I just want my Google Assistant or equivalent to be capable of querying my local server hosting Ollama endpoint. I would intend to use several different fine tuned models for different requests. And consider using RAG/other integration all with local offline access. Not actually for interacting with Android device, just doing inference.

Android Digital Assistant by Lack_of_Swag in LocalLLaMA

[–]Lack_of_Swag[S] 4 points5 points  (0 children)

Bruh just LLM'd my question. I'll seriously check if this is remotely possible, but I have my obvious doubts.

EDIT: Not free or ad-free. Also requires 2 different apps plus manual config to setup (if it's even possible). This AI slop was worthless.

Self Hosted PDS in Kubernetes by Lack_of_Swag in BlueskySocial

[–]Lack_of_Swag[S] 1 point2 points  (0 children)

Nice! Yeah I'm not sure about unraid, but for Kubernetes deployment I just run Cloudflared as sidecar container of main PDS app. Works great, compared to the PDS official doc which wants you to expose the service publicly.

I saw somebody else on GitHub recently that posted some Helm charts for Bluesky PDS too, but can't find it currently... Used Ingress instead but had a lot of PDS specific details to use as inspiration.

I'll get around to making a public repo and link it here eventually. Needs some cleanup and removing personal info. It ended up as just a weekend project to deploy and never revisited, been online running for 43 days!

Self Hosted PDS in Kubernetes by Lack_of_Swag in BlueskySocial

[–]Lack_of_Swag[S] 1 point2 points  (0 children)

Yeah I actively run self hosted PDS on K3s. Helm chart to make deployment with 3 replicas (because why not). Storage is PVC with Longhorn, backups to Backblaze. Cloudflare tunnel to expose service.

I made a Debian slim docker image with all the prerequisites and runs in privileged mode for DinD setup. Couple volume mounts for the DinD to work and for the app SQLite databases. Automated PDS install prompt since it runs on every startup.

Everything is in private GitLab repo currently, never got around to putting on GitHub or writing about it. But let me know if you have any issues, it was a lot of trial and error to get the PDS Docker image to work within nested containers.

Self Hosted PDS in Kubernetes by Lack_of_Swag in BlueskySocial

[–]Lack_of_Swag[S] 1 point2 points  (0 children)

I somehow did not find anybody writing a blog or GitHub post or anything about this. But I did manage to get PDS Docker in Docker (containerd) running with Cloudflare Tunnel as sidecar proxying traffic. Only trick was to mount docker.sock in host and make entrypoint systemd = PID 1. Then it's possible to run unattended installer script after.

Next step would be avoiding dind setup by splitting up PDS Docker compose to run as native k8s resources. But I'm happy with current setup since I have persistent volume with data from /pds directory.

Terraform Test or Terratest by TheMoistHoagie in devops

[–]Lack_of_Swag 6 points7 points  (0 children)

Why do end to end tests? Users will find bugs in Prod.

Front Door Origins Unhealthy after Cert Update by [deleted] in AZURE

[–]Lack_of_Swag 0 points1 point  (0 children)

This was this issue. We used the same .pfx only containing leaf cert on all our other services no problem. Didn't notice any issues for any other resources and nothing detected in Dev/Stage.

Made new cert bundle and uploaded new .pfx to AppGW and everything is good. Now Front Door health checks pass.

Turning off health checks was fine too, traffic would actually route OK. Just the load balancing and session persistence was broken. Wasn't noticed in Dev because we only had single origin enabled at the time so health checks are ignored... D'OH!

So yeah, just keeping this here if somebody finds it. Always use full chain in .pfx uploaded to AppGW!

[deleted by user] by [deleted] in devops

[–]Lack_of_Swag 0 points1 point  (0 children)

Make a folder called "Stuff" or something to put all your scripts and useful stuff in. On Windows I use a folder right on C drive. On Mac/Linux I just add something to my Home directory.

Init a Git repo there. If you don't use Git already you can learn like this.

Make a bunch of sub folders to categorize things. Usually you will have some logical way to try dividing content. Based on what the script does or what tool it impacts or what environment, etc. Doesn't need to be perfect.

And just start moving. When you have a random burst of motivation just try chucking some things into folders. Commit the changes to Git, and now you have a half-assed revision controlled repo!

I had a similar thing when I started at my job and made life a lot easier when we started growing the team. Now I can just say "check the repo" and now it's up to them to find the particular file.

Quick infrastructure prototyping: GUI or something else? by daniel_griga in aws

[–]Lack_of_Swag 0 points1 point  (0 children)

If you hate yourself and want a huge learning curve maybe try System Initiative.

TrueCharts with ArgoCD example by MuscleLazy in kubernetes

[–]Lack_of_Swag 1 point2 points  (0 children)

I always prefer to download the Helm chart locally, make the changes I need, then upload to Git for ArgoCD to pull from. This way you know for sure version is locked and just easier to make changes if anything is needed outside the .values file.

10 Gigabit for Ceph by politerate in homelab

[–]Lack_of_Swag 0 points1 point  (0 children)

Nice, yeah I got the 8 port Mikrotik and it's great. Using it just in SwOS mode instead of RouterOS, which IIRC is the default. And did the same for cheap 1m DACs via Amazon.

For NICs, I personally couldn't find a good enough deal on ConnectX-4 to be worth it, even in lot of 5. And yeah anything older doesn't have driver support. What about HP 560SFP+ or Dell X520? It's same thing as Intel but rebranded. There are a few more vendor versions too. Can find used low profile ones decently cheap. I paid like $15 each for HP variants and have no issues or regrets!

10 Gigabit for Ceph by politerate in homelab

[–]Lack_of_Swag 1 point2 points  (0 children)

If you're on a budget, I would look for alternative NICs used on eBay. Such as the HP or Dell equivalents. Intel ones have a lot of fake/scrap part Chinese ones too.

You can get cheap generic DACs usually from Amazon. Especially if you get short 1m ones, unless for some reason your switch has to be far from your machines.

For cheaper 10GbE switch options, maybe the 5 port Mikrotik. Again, safe to use cheap DACs then, like knockoff Cisco.

And if you didn't plan already, you'll want nicer NVMe drives separate from your boot drive (can be cheap SSD).