[-] thirdBreakfast@lemmy.world 1 points 1 day ago

Build anything small into a container on your laptop, push it to DockerHub or the Github package registry then host it on fly.io for free.

[-] thirdBreakfast@lemmy.world 1 points 2 days ago

Photograph: Fredrik Varfjell/NTB/AFP/Getty Images

[-] thirdBreakfast@lemmy.world 1 points 2 days ago

Great write up, thanks. For video learners, Wolfgang does a good step-by-step on YouTube

[-] thirdBreakfast@lemmy.world 48 points 2 weeks ago

Guide to Self Hosting LLMs with Ollama.

  • Download and run Ollama
  • Open a terminal, type ollama run llama3.2
549

Last June, fans of Comedy Central – the long-running channel behind beloved programmes such as The Daily Show and South Park – received an unwelcome surprise. Paramount Global, Comedy Central’s parent company, unceremoniously purged the vast repository of video content on the channel’s website, which dated back to the late 1990s.

37

Has anyone got some experience/advice for choosing between the options? It seems like they are:

My usecase is just to have a local single instance for testing apps against. I prefer to spin stuff up in Docker on the homelab.

33

This is a pretty great 1 hour introduction to AI from Andrej Karpathy. It includes an interesting idea of considering LLMs as a sort of operating system, and runs through some examples of jailbreaks.

[-] thirdBreakfast@lemmy.world 38 points 4 months ago

+1 for the main risk to my service reliability being me getting distracted by some other shiny thing and getting behind on maintenance.

15

I'm writing a specification for a web app that will store sensitive user data, and the stakeholder asked that I consider a number of fairly standard security practices, but also including that the data be "encrypted at rest", i.e. so that if someone gains physical access to the hard disk at some later date the user data can't be retrieved.

The app is to be Node/Express on a VPS (probably against sqlite3), so since I would be doing that using an environmental variable stored in a file on that same computing instance, is that really providing any extra security?

I guess cloud big boys would be using key management systems to move the key off the local instance, and I could replicate that by using (Hashicorp Vault?) or building a service to keep the key elsewhere, but then I'd need secure access to that service, which once again would involve a key being stored locally.

What's your thoughts, experience, or usual practice around this?

81
submitted 5 months ago* (last edited 5 months ago) by thirdBreakfast@lemmy.world to c/coffee@lemmy.world

I asked for some advice here a couple of months ago about transitioning to espresso from Aeropress, and have since done that, and thought my journey my have some lessons for others, or y'all might have some ideas for my remaining issues.

Journey

Instant -> Nespresso pods -> Aeropress -> multiple daily espresso

Machine

After a bit of research, I was quite keen on the Sage/Breville Dual Boiler, but it was well out of my price range. I ended up purchasing "The Infuser" which is like their bean to cup Barista Express without the built in grinder. I had been planning on getting the Bambino, but the Infuser was less money (AUD350 - perhaps this model is being retired) and seemed more like a 'real' espresso machine.

The Infuser is a 54mm portafilter, PID, three way valve machine. The water heats quickly (although not as quickly as the Bambino) although I tend to turn it on and let it sit for a while to let the group head warm through anyway.

It's supposed to have volumetric dosing, but the volume output changes with the grind, so perhaps this is just setting how many pumps of the little piston pump or something. It's not time either. In any case, it does allow you to make repeatable shots once you've dialed in and set it. The setting is very simple to change.

The water tank is plenty big enough for me, and the drip tray might be on the small side - I generally empty it every coffee but you could probably do two.

Accessories

I have a personal failing wherein I buy too many gadgets when I'm excited about a new hobby. I'd originally started with a Rhinowares hand grinder with my Aeropress, but had found a 2021 Timemore C2 on eBay which is nicer to hold, and grinds the same amount of beans with a lot less turns. Perhaps it is visibly more consistent particle size, or perhaps I'm imagining that to justify this purchase.

I'm very happy with the eBay puck screen I purchased. I don't know that it's making the coffee any better, but it's keeping the group head clean enough that I don't bother scrubbing it after each shot, and the pucks I tip out of the portafilter have gone from 6.5 to a 3.5 on the Bristol stool chart.

I also got the cheapest ring that goes over the portafilter I could get for charging the basket, and that plus reducing to around 16gm of beans (I only use the double unpressurised basket) means I don't up with tiny specks of coffee all over the kitchen which was a constant issue when I started.

I also have a $2 eBay needle distribution tool, a couple of swirls with that means that when I bang the portafilter on the bench a twice I have a pretty flat, clump free looking bed of grounds that I've just been tamping with the supplied plastic tamp. I've never used anything different, so this seems fine to me although I wish it was a tiny bit bigger as there's a visible ridge left around the outside after tamping. This is probably a future upgrade.

I bought a couple of 220mlish ceramic cups, which I love the look and experience of. If you popped in to see me, that's what I'd serve you, but for daily use I use Duralex 220ml latte glasses since I'm still getting used to the milk frothing process and it's easier to see how that's gone in a glass.

The Experience

My main concern going to espresso was that it would be more mucking on than the Aeropress and that I'd give up and go back to that. Actually, it's probably a similar amount of carry on - just more bench space. They are both more time consuming than the Nespresso machine, but in my opinion worth it for the better coffee experience.

Dialing in has been a bit of a challenge - I'm chasing 16 in, 32 out in 30 seconds, but the click steps on the Timemore seem too big. For example on the medium roast I'm drinking this week that recipe goes from 22 seconds to 50 seconds with a single click. I'm not sure if I'm doing something wrong - I don't think so. In any case, I've just been choosing whatever is closest, and altering the dose and tamp pressure tiny bits to try and improve it a little as I work though that lot of beans. This seems fine for milk drinks.

Fussing on frothing the milk seemed like an optional thing to me, and I wasn't sure I was going to bother (with the Aeropress I just microwaved my milk) but that silkiness of the milk coffee when this is done correctly turns out to very worth. My latte art is highly variable, tending to mostly rubbish @daddyjones@lemmy.world knows what I'm talking about. I think my frothing is fine, but other people seem to be able to decide when the white blob appears on top, whereas mine randomly appears when it feels like it - often too close to the end of the pour when the cup is full. I'm sure this is to do with distance and speed of the pour and I'm missing something important. Feel free to offer suggestions.

The steam wand on this Breville is quite slow (which is probably a plus for me while I'm learning to steam milk), and makes a horrid squealing noise that no one would want to hear in the morning. I don't know if that's all steam wands in the world, just this model, or just my machine or my technique, but the cure seems to be to lower the jug and make half a second of stupidly large bubbles then put the tip back in.

Stopping steaming when I was burning my hand on the jug (which seems to be the standard advice) produced coffee that wasn't hot enough, so I purchased a milk temperature gauge, and highly recommend this. I've started counting how many seconds after the jug is too hot for my hand before the temperature gauge is just touching the red zone, so I could probably ditch it now.

Conclusions

Basically - no regrets. I'm enjoying lovely coffees that feel like a treat every day. I think a grinder with finer steps might be in my (distant) future, and I'd like to solve my latte art issues, but overall the experience has been a source of joy.

564

*What rights do you have to the digital movies, TV shows and music you buy online? That question was on the minds of Telstra TV Box Office customers this month after the company announced it would shut down the service in June. Customers were told that unless they moved over to another service, Fetch, they would no longer be able to access the films and TV shows they had bought. *

[-] thirdBreakfast@lemmy.world 15 points 6 months ago

The Debian thong made me laugh. Who is buying this? For themselves, their partners? I'm imagining Christmas morning when I'm trying to explain the value of this gift you've just opened.

8

I've been thinking about writing a script that would alert me if there was an updated version of an image I was running.

DockerHub shows an image digest on the page for that tag:

And I can extract the digest for an image I am running with:

docker inspect --format='{{index .RepoDigests 0}}' jc21/nginx-proxy-manager:latest

This matches the one from the DockerHub screenshot. But I can't see a CLI way to get the image digest from a registry. It seems like:

docker manifest inspect jc21/nginx-proxy-manager:latest

should do it, but it pulls out the digest of each of the architecture builds for that tag instead of the one shown in dockerhub.

Is there a way to compare the current local image with one in a registry from the command line? Or perhaps there's a more sensible way to do this?

[-] thirdBreakfast@lemmy.world 17 points 6 months ago* (last edited 6 months ago)
Infrastructure:
  • Proxmox VE - everything's virtualised on Debian, mostly in docker inside LXC's for neat backup/restore and moving between nodes
  • NGINX Proxy Manager - in front of most of my homelab services so they have https certificates
  • Tailscale - access everything, everywhere, including on phone, securely
  • Uptime Kuma - monitoring, with ntfy notifications
  • apt cacher NG - unnecessary caching of apt updates
Apps:
Currently in testing on the dev server:
  • neko - virtualised browser. Been experimenting with this in a container with a VPN for really simple secure browsing - ie launch it, do your online banking and then destroy the container.
  • Dashy - I go through periods of wanting a pretty home page with all my services, set it all up, then fail to actually use it and eventually delete it, then hear about another cool one...
  • Sharry - securish file sharing. I don't love just emailing my accounts off to the accountant.
  • LimeSurvey - survey software (like Survey Monkey) - just something I'm testing for work
  • Omada controller - I've got a TP-Link switch and WAP that don't really need centrally controlled, but you know, can be.
  • A couple of development environment LXCs I use VS Code in

I still have not landed on a music system. I've put some of my library on Jellyfin, and tried a couple of apps with, but haven't hit on a good combination yet. [edit:formatting}

52

I'm currently brewing in an Aeropress, and considering one of the lower end espresso machines.

But based on a few comments from James Hoffmann about him drinking filter coffee at home, I'm wondering if an espresso machine is something that people end up using every day, or if people are brewing with simpler methods and just making espressos when they've got time on the weekend or people over?

What's your experience, did you buy a machine and it mostly just takes up counter space, or is it a daily source of joy?

36

Somewhat bewildered by the millions of Aeropress recipes on youtube, I'm wondering if daily users end up settling into a reliable, simple process that's similar from person to person.

In particular, I note that my method (basically a french press) is vastly different from the one in the instructions which is ground much finer, uses less water, and starts dripping through the filter immediately.

Anyway, here's me:

  • 12g mild-roast (coarse ground a touch finer than most people would use for a french press, done with a C2)
  • inverted
  • one filter paper, not washed, but damp enough to stick
  • fresh boiled water (so probs 95°+) 180g
  • stir enough to break up the floaties
  • push the plunger in far enough that the liquid is almost at the top before I put the filter on
  • tip over and start plunging at 1:30, finish by 2:00
  • into ~70g warmed milk

I'd love to hear yours.

62

Moved from a Rhinowares to a 2021 Timemore C2, stumbled out to breakfast and used the same clicks without thinking.

26

I'm a coffee newb - bought an Aeropress and a Rhino hand grinder, and I've sort of flailed around changing things randomly and ended up with an enjoyable repeatable cup by sticking to the same beans, grind, water temperature, brew time & method that seems to work for me.

My issue is I'm not really sure about the terms used to describe the basic aspects of coffee taste - eg bitter, sour, acidic, under extracted, over extracted, etc. I feel like if I did understand them, that would give me the skill to try different things (such as a different roast) and adjust the other factors to match them to get something that suits me, or to be able to make a cup of coffee that would suit someone else's taste.

I'm wondering if you're able to tell me how to deliberately create these other tastes - I imagine I could comparatively taste them and mentally match the words to the sensations. For example, how can I deliberately create an obviously bitter cup, an over extracted cup etc.

The resources I've got for this project are the Aeropress and grinder mentioned, Nespresso machine, a medium and a dark roast, a French Press, and whatever coffee I can get from a supermarket.

Does this sound like a viable plan? If so, what are the tastes I should learn, and how can I create guaranteed and slightly exaggerated versions of them?

[-] thirdBreakfast@lemmy.world 187 points 8 months ago

I read somewhere that GoPros and other action cameras are one of the least used purchases, so I figured "that should mean there's plenty on eBay". So grabbed up second hand bargain, played around with it for a couple of weeks, bought some extra batteries and other accessories, and since then it's sat in the cupboard except for a single occasion.

Turns out you don't need an action cam if you're not getting any action.

118

I started on Elitedesk 800 G1s when Raspberry Pis got hard to find and expensive, and I now feel they are better in every respect if you don't need the GPIO pins.

Every time I open them up to upgrade something I'm impressed with the level of engineering. There are quality manufacturer manuals for them, the cooling is good and they look great

[-] thirdBreakfast@lemmy.world 28 points 1 year ago

Me too. I've been carrying it around in my head as "the time we listened to scientists, and almost everyone worked together on some short term pain for worldwide long term gain". I was even hoping we might do something like that again.

[-] thirdBreakfast@lemmy.world 17 points 1 year ago

Tailscale is a very cool way of seamlessly creating a private network spread out geographically. Devices sign into the Tailnet from anywhere. It's very big in the selfhosted community (it has a generous free tier). For example my home servers are signed in, so I'm able to stream from my media server to my phone over my private Tailnet tunneled through the internet. I also have an offsite backup location with another server connected to the Tailnet for accepting automated backups.

The underlying technology is Wireguard. It is very smart about figuring out the most effective route - If I'm on my laptop in my home wifi, trafffic from my servers is direct, if I'm away somewhere, it's piped though the net securely. What Tailscale adds is ease of setup and native apps for each device.

The privacy angle is that I'm able to get rid of all the cloud services I used to rely on. For example I don't want my CCTV system connected to a cloud provider, but with Tailnet I can connect to my cameras over the internet without having to expose the system to a data mining corporation.

view more: next ›

thirdBreakfast

joined 1 year ago