• 0 Posts
  • 49 Comments
Joined 9 months ago
cake
Cake day: October 13th, 2023

help-circle
  • Nyfure@kbin.socialtoLinux@lemmy.mlRaspberry Pi Smart TV?
    link
    fedilink
    arrow-up
    17
    arrow-down
    2
    ·
    2 months ago

    Dont. They are notoriously bad at such things. Lack of Hardware acceleration mainly. These old Chips and problems with single-board-complications are just not worth it at such high prices.
    An Intel N100 MiniPC will have much more compute with less complications.








  • As far as i understood tailscale funnel its just a TCP-tunnel.
    So you handle TLS on your own system, which makes sure tailscale cannot really interfere.

    If you already trust them this far, might aswell do the same with a VPS and gain much more flexibility and independence (you can easily switch VPS provider, you cannot really switch tailscale funnel provider, you vendor-locked yourself in that regard)

    I’d connect the VPS and your home system via VPN (you can probably also use tailscale for this) and then you can use a tcp-tunnel (e.g. haproxy), or straight up forward the whole traffic via firewall-rules (a bit more tricky, but more flexible… though not that easy with tailscale… probably best to use TCP-tunnel with PROXY-Protocol).
    This way you can use all ports, all protocols, incoming and outgoing traffic with the IP-Address of the VPS.

    Tailscale might even already have something that can configure this for you… but i dont really know tailscale, so idk…

    And as you terminate TLS on your home-system, traffic flowing through the VPS is always encrypted.

    If you want to go overboard, you can block attackers on the server before it even hits your home-system (i think crowdsec can do it, the detector runs on your home-system and detects attacks and can issue bans which blocks the attacker on the VPS)

    And yes, its a bit paranoid… but its your choice.
    My internet connection here isnt good enough to do major stuff like what i am doing (handling media, backups and other data) so i rent some dedicated machines (okay, i guess a bit more secure than a VPS, but in the end its not 100% in your control either)


  • Nyfure@kbin.socialtoSelfhosted@lemmy.worldI love Home Assistant, but...
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    4 months ago

    Many systems dont support subpaths as it can cause some really weird problems.
    As you use tailscale funnels, you really want incoming traffic from the internet. I am not sure thats a good idea for e.g. homeassistant that is limited in access anyways.
    Might aswell use tailscale and access the system over VPN.

    And for anything serious i wouldnt use something like funnel anyways. Rent a VPS and use that as your reverse-proxy, you can then also do some caching or host some services there. Much simpler to deal with and full support for such things as you then have an actual public IPv4/IPv6 address to use.
    Heck, dont even have to pay for it with the Oracle Always-Free system.


  • How much time do you have? Because even small models will take alot of time on that kind of hardware to spit out a long text…
    And the small models arent that great. I think the current best and economic model would be a mistral, mixtral or dolphin.
    If you got the power, nous-capybara is very good and “only” 34B parameters (loading alone needs like 40GB of memory).


  • I dont see how e.g. arch would be super hard to maintain.
    There is a nice GUI program for installing programs and updates. (like many modern distros)
    If you dont want to set everything up, go with Endeavour or Garuda.

    I find rolling release to be easier to maintain and keep up to date than non-rolling.
    Specially if you want up to date packages for desktop use.


  • Windows has a request assistance function? wtf… where is that found?
    I only know Remote desktop tools and most of these work perfectly fine on linux as the client or even under Wine.

    [Edit: woah, i did some rambling below here… not related to your specific case here, but some nice information maybe]

    Linux as host is where it gets funny… bigger ones support X11, pretty much none support Wayland.
    To be fair, its impossible to control mouse and keyboard under Wayland without root.
    I think we now have some new desktop packages for gnome and kde which can do that, so now they need to be implemented.

    But i dont see an effort being made for Wayland by the bigger providers in the near future… the market just isnt there and there is lots of uncertainty with the featureset.

    Switched to Rustdesk a while back, works nicely as client, but only picture output with wayland as host.l as of now.
    And i cannot copy&paste under wayland as client… even though it worked before…





  • smartctl

    But 10.000 seems on the low side, i have 4 datacenter toshiba 10tb disks with 40k hours and expect them to do at least 80k, but you can have bad luck and one fails prematurely.
    If its within warranty, you can get it replaced, if not, tough luck.

    Always have stuff protected in raid/zfs and backed up if you value the data or dont want a weekend ruined because you now have to reinstall.
    And with big disks, consider having more disks as redundancy as another might get a bit-error while restoring the failed one. (check the statistical averages of the disk in the datasheet)


  • Async is good because threads are expensive, might aswell do something else when you need to wait for something anyways.
    But only having async and no other thread when you need some computation is obviously awful… (or when starting anothe rthread is not easily manageable)

    Thats why i like go, you just tell it you want to run something in parallel and he will manage the rest… computational work, shift current work to new thread… just waiting for IO, async.




  • more time into crafting the right prompt

    Thats not work to you? My company pays me to spend time to do the right thing, even though most of the work does the computer.

    I see where you are going at, but your argument also invalidates other forms of human interaction and creating.

    In my country copyright can only be granted if a certain amount of (human) work went into something. Any work.
    The difficult part is finding out whats enough and what kind of work qualify to lead to some kind of protection, even if partial.
    The difficult part was not to create something, but to prove someone did or didnt put enough work into it.
    I think we can hold generated or assisted goods to the same standard.

    Putting a simple prompt together should probably not be granted protection as no significant work went into it. But refining it, editing the result… maybe thats enough, thats really up to the society to decide.

    At the same time we have to balance the power of machines against human work, so the human work doesnt get totally invalidated, but rather shifted and treated as sub-type.
    Machines already replaced alot of work, also creative ones. Book-printing, forging, producing food… the scary part about generative AI is mainly the speed of them spreading.