• 1 Post
  • 79 Comments
Joined 2 years ago
cake
Cake day: June 11th, 2023

help-circle





  • This is a really fantastic explanation of the issue!

    It’s more like improv comedy with an extremely adaptable comic than a conversation with a real person.

    One of the things that I’ve noticed is that the training/finetuning that’s done in order to make it give good completions to the “helpful ai conversation scenario” is that it flattens a lot of the capabilities of the underlying language model for really interesting and specific completions. I remember playing around with gpt2 in it’s native text completion mode, and even with that much weaker model, it was able to complete a much larger variety of text styles without sliding into the sameness and slickness of the current chat model fine-tuning.

    A lot of the research that I read on LLMs is using them in the original token completion context, but pretty much the only way people interact with them is through a thick layer of ai chatbot improv. As an example for code, I imagine that one would have more success using an LLM to edit your code if the context that you give it starts out written like it is a review of a pull request for the code, or some other commentary of a form that matches the way that code is reviewed in the training data. But instead of having access to create that context directly, we have to ask for code review through the fogged window of a chat between an AI assistant and a person discussing code. And that form of chat likely isn’t well represented in the training data.


  • Max@lemmy.worldtoxkcd@lemmy.worldxkcd #3022: Making Tea
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 months ago

    I think we may have different definitions of a kettle. I mean something like this:

    Which you put on the stove. I can’t imagine that having tea in this is a problem at all. It’s just glass.

    I’ve also done this with something like:

    Which I could imagine keeping more of the taste/being a problem.

    I assume you mean something like this by a kettle?:


  • Max@lemmy.worldtoxkcd@lemmy.worldxkcd #3022: Making Tea
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 months ago

    Apparently I’m committing all the tea sins. I definitely make tea in a kettle. But if I do that, I boil the water before adding the tea bags. Isn’t that pretty standard? I’d only do so if I’m making a lot of the same tea (or iced tea), usually for a group of people


  • Max@lemmy.worldtoxkcd@lemmy.worldxkcd #3022: Making Tea
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months ago

    I often do this. With loose leaf tea too. The quality of the result highly depends on the tea and whether you get the timing right. I know my microwave pretty well and can hit boiling or just before boiling by changing the time for a black vs a green tea.

    When boiled appropriately, I can’t really tell the difference for most bagged teas, so maybe I’m just tea uncultured?

    The earl grey loose leaf I have I actually like better when it’s kept boiling for longer (about 15 seconds of boiling), and the microwave allows me to easily do this.

    The loose green tea I have changes its flavor a lot when heated for different amounts and to different temperatures. The microwave also let’s me easily control this in a way that I would struggle to with a kettle. I suppose I could add the tea afterwards and just get the water a bit hotter to compensate, but I’m lazy and I always forget about my tea in the microwave so it’s easier if it already has the leaves in it so I don’t have to re-steep





  • Cranberry Sauce with Zinfandel & Spices

    sauces Difficulty: Easy

    Ingredients:

    1-¾ cups red Zinfandel 1 cup sugar 1 cup (packed) golden brown sugar 6 whole cloves (look up conversion to ground) 6 whole allspice (look up conversion to ground) 2 cinnamon sticks

    1. 3x1” strip of orange peel
    2. 12oz bag of fresh cranberries

    Directions:

    Combine all ingredients except cranberries in medium saucepan. Bring to boil over medium-high heat, stirring until sugar dissolves. Reduce heat and simmer until reduced to 1-¾ cups, about 10 minutes. Strain syrup into large saucepan. Add cranberriees to syrup and cook over medium heat until berries burst, about 6 minutes. Cool. Transfer sauce to medium bowl. Cover and refriderate until cold. Can be made 1 week ahead. Keep refrigerated.

    Source: Bon Appetit, November 2001

    (My clipboard was actually empty, but this is the last text I shared on my phone)




  • I don’t know a lot about tailscale, but I think that’s likely not relevant to what’s possible (but maybe relevant to how to accomplish it).

    It sounds like the main issue here is dns. If you wanted to/were okay with just IP based connections, then you could assign each service to a different port on Bob’s box, and then have nginx point those ports at the relevant services. This should be very easy to do with a raw nginx config. I could write one for you if you wanted. It’s pretty easy if you’re not dealing with https/certificates (in which case this method won’t work anyway).

    Looking quickly on google for npm (which I’ve never used), this might require adding the ports to the docker config and then using that port in npn (Like here). This is likely the simplest solution.

    If you want hostnames/https, then you need some sort of DNS. This is a bit harder. You can take over their router like you suggested. You could use public DNS that points at a private IP (this is the only way I’m suggesting to get public trusted ssl certificates).

    You might be able to use mdns to get local DNS at Bob’s house automatically, which would be very clean. You’d basically register like jellyseer.local and jellyfin.local on Bob’s network from the box and then setup the proxy manager to proxy based on those domains. You might be able to just do avahi-publish -a -R jellyseer.local 192.168.box.ip and then avahi-publish -a -R jellyfin.local 192.168.box.ip. And then any client that supports mdns/avahi will be able to find the service at that host. You can then register those names nginx/npn and I think things should just work

    To answer your questions directly

    1. Yes I think just a box can work
    2. I think locations are going to be a nightmare. don’t use them if you can avoid it. Also plain nginx really isn’t so bad, and you can learn pretty quickly. this is probably fine in npn though
    3. I don’t think you need to dive into iptables or anything like that. Iptables would provide a lower level proxying (level 3 instead of like level 7), which could be useful if you’re running non http services, but isn’t necessary for 99% of web stuff.
    4. I think part of the problem might be working with higher level systems like npn, but a lot of it is just that networking involves so many layers and there are multiple solutions to any problem, all of which require knowing somewhat what’s happening under the surface to understand why they’re failing

    I’d be happy to try and give more specifics if you choose a path similar to one of the above things.



  • Yeah openwrt should be great. It uses nftables as a firewall on a Linux distribution. You can configure it through a pretty nice ui, but you also have ssh access to configure everything directly if you want.

    The challenge is going to be what the ISP router supports. If it supports bridge mode then things are easy. You just put your router downstream of it and pretend like it’s a modem. Then you configure openwrt like it’s the only router in the network. This is the opposite of what you’ve suggested, using the upstream ISP router in pass through and relying on the openwrt router to get the ipv6 GUA prefix. (You might even be able to get a larger prefix delegated if you set the settings to ask for it)

    If you don’t have bridge mode then things are harder. There’s some helpful information here https://forum.openwrt.org/t/ipv6-only-slaac-dumb-aps/192059/19 even though the situation is slightly different since they also don’t want a firewall. But you probably need to configure your upstream side on the openwrt router similarly.

    Also looking more, the tplink ax55 isn’t supported by openwrt. If you don’t already have it, I’d get something that does. (Or if the default software on the ax55 supports what you want, that’s fine too. I just like having the full control openwrt and similar gives)


  • I’d recommend something that you can put openwrt or opnsense/pfsense on. I think the tplink archers support openwrt at least.

    The ISP router opening things at a port level instead of a host level is kinda insane. Do they only support port forwarding? Or when you open a port range can you actually send packets from the WAN to any LAN address at that port.

    Can you just buy your own modem, and then also use your own router? (If the reason you need the ISP router is that it also acts as a modem).

    Does the ISP router also provide your WiFi? If it does you should definitely go with a second router/access point and then disable the one on the ISP router.


  • I’m a little confused where the NAT comes in. It sounds like you want to use the same addresses on the server and the client, which means that there is no translation going on, just routing?

    I’m not familiar with wireguard, so I’m not going to be much help with that, but I’d imagine that you need to tell the server that that subnet is routed via the wireguard interface? If you do like ip -6 route on the server do you see that fd42:413d:a91f:dd37::/64 is routed via wireguard?