Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

ninjan

@ninjan@lemmy.mildgrim.com

This profile is from a federated server and may be incomplete. Browse more on the original instance.

ninjan ,

What an amateurish way to try and make GPT-4 behave like you want it to.

And what a load of bullshit to first say it should be truthful and then preload falsehoods as the truth...

Disgusting stuff.

ninjan ,

Gemini Ultra will, in developer mode, have 1 million token context length so that would fit a medium book at least. No word on what it will support in production mode though.

Note-taking app that looks too good to be true? - Siyuan

Recently stumbled upon this note-taking app called SiYuan, but it honestly looks a bit too good to be true(?). Has anyone here used it or got any experience with it? Trying to replace Obsidian is a difficult task, and I've been through almost all note-taking apps there are out there, however this one looks fairly similar....

ninjan ,

Hmm:

"Does not support desktop and mobile application connections, only supports use on browsers"

Regarding Docker deployment. It's unclear if the application package for Linux supports usage together with the apps because that is a needed feature for me, to have everything centrally stored but easily edited via phone, and from experience the browser experience tends to be rather miserable.

I'll for sure test it out when I have the time though, looks pretty feature complete if a bit overboard for just note-taking. This is not OneNote, this is more like Confluence.

My dream is something that can handle both seamlessly, I want to both take quick notes and have them easily searchable and indexed automatically while also supporting structuring knowledge in pages and sub-pages with rich content support.

ninjan ,

Most homeless are in the big cities, most churches are out in the boonies. The homeless are very unlikely to accept being bussed to a flyover state to sleep in a church in bumfuck nowhere. For a myriad of reasons.

Keep in mind also that a lot of them have a very hard time accepting any help due to past trauma as well.

It's not a situation with a quick fix. Really the first step isn't even ensuring housing for the homeless, it's making sure we don't get more homeless. We likely can't save a subset of today's homeless because they don't want/or won't accept any help that comes with any strings (like no drugs or just they can't trash the place). But we can ensure no-one else ends up on the streets by beefing up mental healthcare and social services.

ninjan ,

On that I agree 100%

ninjan ,

Since I'm not American I keep forgetting about your for profit churches. The concept is just too foreign to me. When I think church I think of 300 year old cold stone building in the countryside.

Still there are homeless that would refuse, some from not believing or trusting you, some from not wanting to relocate even if it means that level of comfort, some from being deep into addiction thinking that they'll be forced to get clean. And some will take you up on it and just absolutely trash the place trying to steal anything not bolted down.

That said the vast majority would for sure jump on it and thrive. So if it was at all possible to make happen it would be a good idea.

ninjan ,

I don't know why the article doesn't bring up Valve being the company to bring loot boxes and that business model to gaming as the prime example. Valve earns extreme money from the skins market and gambling in CSGO / CS2 since they sell the keys and take a cut of trades as well. They're far more concerned with money than actually caring for the people involved. Gambling ruins lives and Valve is the gambling company that faces by far the least vitriol in that horrendous crowd.

ninjan ,

Dead accurate meme.

My protip if you really can't bother with all that and just want to do expensive Legos is to go to an active forum for PCs where you can simply ask for a recommendation for a build.

What you need to supply is a budget example and what it needs to cover. I.e. if screen needs to be part of it or if you have one. If you do the resolution and refresh rate is good input (or just make and model which is printed on it). Finally you need an idea of what games you'll play. With that a mini war will erupt between AMD and Intel and AMD and Nvidia around what would be the best build for the budget.

Keep in mind to pick a forum based in the same country as you, else the recommendations might not at all fit your budget due to local price variance.

Hell you could probably make do without a budget if you say you're unsure how much is reasonable to spend to play the games you wish to play and you'll get recommendations to that effect as well.

ninjan ,

Do you have a firewall? Packet inspection in particular can wreak havoc on speeds.

ninjan ,

Ah, right, read to fast it seems! Though that still leaves the possibility of software firewalls, but any OOTB ones wouldn't be doing any packet inspection.

[Thread, post or comment was deleted by the moderator]

  • Loading...
  • ninjan ,

    I'd say the problem isn't so much optimization as it is scaling. The FPS delta between low and ultra is just stupid small in many games nowadays. Before dropping to low would make the game look like shit sure but it would also run on 5+ year old hardware. Now you get like 10 FPS+ and still slog around under 60 fps on 2-3 year old 6-series cards (X060/X600). Sure some games are CPU bound as well but that's less common.

    Really what needs to happen is devs need to add a potato mode so we can at least play the game.

    I'll however say that the source of the problem is of course consoles. On them settings are rather meaningless so it's only for the PC market you need them and given how many gaming PCs outperform consoles and PC gamers generally expect the PC version to look better it's no wonder that's where they put their focus and effort. But a proper low setting that actually scales shouldn't be too hard to achieve.

    ninjan ,

    Windows can't be Christianity, it's not fragmented enough. It's either Scientology because it's tightly controlled and without meaningful denominations. Or Buddhism from a very western point of view (i.e. oblivious to the denominations and local variations).

    Appreciation / shock at workplace IT systems

    After self hosting several services for a few users, with SSO, backups, hardware issues etc, I really appreciate how good the IT was in my old company. Everything was connected, smooth, slick and you could tell it was secure. I had very few issues and when I did, they were quickly solved. Doing this all at scale for thousands of...

    ninjan ,

    Tell them to move to yubikey or similar hardware key which is far more secure than any password policy will ever be and vastly more user friendly. Only downside is the intense shame if you manage to lose it.

    The key should stick with the user thus not be stored with the computer when not in use. The key isn't harmless of course but it takes a very deliberate targeting and advance knowledge about what it goes to and how it can be used. It's also easy to remote revoke. If you're extra special paranoid you could of course store the key locked at a separate site if you want nuclear codes levels of security.

    ninjan ,

    I'll add to the group saying things got better by 30. In my case having kids has helped me get my shit together and take better care of myself both physically and mentally.

    ninjan ,

    No the joke is that this is that sassy but supporting friend saying it. It's a reality check and an opportunity to ask for help from the friend saying it.

    ninjan ,

    Works pretty well in Chrome in my experience. At least on iPad.

    EDIT: though to be fair I mainly use it to cast.

    ninjan ,

    Yeah interesting thought there actually. In absolute numbers I wager more people believe in mythical beings of some form today in Europe than the 1700s. But as a share of the total population it's going to be a lot lower, of course.

    ninjan ,

    Isn't this the good thing about open source? You can just fork and revert these changes? That AMD wants to limit your ability to potentially damage your card is completely reasonable, and since they provide the source code for the drivers you should be able to circumvent this and take that risk if you want. This only stops low tech / low skill users that really have no business tuning their card outside of the spec.

    ninjan ,

    Wouldn't you be refunded for the original ticket purchase?

    ninjan ,

    Yeah that's is an attack on Netlify and not on him. It's them that should have protections against this. I argue that the customer can't even effectively defend against this themselves if they're using Netlify, which is turn means a court would likely get them off the hook for anything that can easily be classified as a DDOS attack.

    ninjan ,

    Proxmox is VMWare light in a good way.

    ninjan ,

    Altman and short stints regarding being CEO or not, name a more iconic couple.

    ninjan ,

    Yes.

    Microsoft To-Do has most of the features requested here (but is not open really) and I've tried to use it extensively but for anything that's not one-off it doesn't really work because the problem isn't generally remembering that you need to clean, pay bills etc it's actually doing it.

    To-Do software only really works for the things you forget, like buy ingredients to make a birthday cake or setup that ladder service in your selfhosted setup to go around pay walls in a more automated fashion.

    For app supported habit forming there are some gamification apps that some friends swear by but they've never really done it for me. For me the only thing that works is cultivating discipline by... Just fucking doing it, no matter what I feel.

    ninjan ,

    I can't grasp your use case I feel, pretty much all your complaints seem... odd. To me at least.

    First subdomain. I think HA is completely right that proxy with a subpath is basically an anti-pattern that just makes things worse for you and is always a bad idea (with very few exceptions).

    As for your tunnel I don't know how you've set it up and I haven't used tailscale but them only allowing one domain sounds like a very arbitrary limit, is it something that costs money to add? I use NetBird which I selfhost on my VPS and from there tunnel into my much beefier home setup.

    Then docker in HAOS. The proper way I feel of running HA is for sure HAOS, and also running it in its own VM / or on dedicated hardware. This because you will likely need to couple additional hardware like a stick providing support for more protocols like ZigBee or Matter. It really isn't a good solution for running all your self hosted stuff, and wasn't ever intended to be. Running Plex in HA for instance is just a plain bad idea, even if it can be done. As such the need for an external drive seems strange as well. If you need to interact with storage you should set up a NAS and share over SAMBA. All this to say that HA should be one VM/Device, your docker environment another VM.

    As for authentication there are 10k plus contributors to Home Assistant yearly but very few bother to make authentication more streamlined. I would've loved OpenID/OAuth2 support natively but there are ways to do so with custom components and in the end I quite strongly feel that if the end-users of your smarthome setup (i.e. the wife and kids) need to login to Home Assistant then you've probably got more work to do. Remote controls which interact with HA handle the vast majority of manual interaction and I've dabbled with self-hosted voice interfaces for the more complex operations.

    Sorry if this came across as writing you on the nose, that's not my intention. I just suspect you're making things harder for yourself and maybe have a strange idea around how to selfhost in general?

    ninjan ,

    That's one part of it, but the other is that there's no proper way to ensure you won't cause issues down the line and it makes the configuration unclean and harder to maintain.

    It also makes your setup dependent on seemingly unrelated things. Like the certificate for the domain which is some completely different applications problem but will break your Home Assistant setup all the same. That dependency issue can be a nightmare to troubleshoot in some instances, especially when it comes to stuff like authentication. Try doing SSO towards two different applications running on different subpaths on the same domain...

    ninjan ,

    I think a VPS and moving to NetBird self hosted would be the simplest solution for you. $5 per month gives you a range of options and you can go even lower with things like yearly subscriptions. That way you get around the subdomain issue, you get a proper tunnel and can proxy whatever traffic you want into your home.

    As for control scheme for your home automation you'll need to come up with something that fits you but I strongly advise against letting users into Home Assistant. You could build a simple web interface that interacts via API with HA, through Node-Red is super simple if it seems daunting to build the API.

    If a RPi 4 is what you've got and that's it then I guess you're kinda stuck for the time being. Home Assistant is often quite lightweight if you're not doing something crazy so it runs well on even a RPi 3, same with NAS software for home use, it too works fine on a 3. If SBC is your style my recommendation is to setup an alert on whatever second hand sites operate in your area and pick up a cheap one to allow you to separate things and make the setup simpler.

    ninjan ,

    So no ads, sure, but then you need a commandment about paying for what you consume. Since otherwise, if we all followed the commandments, we'd be out of content right quick since you can't make a living producing it.

    Cloud Hosted VMs

    Not sure if cloud hosted VMs count as selfhosted for the purposes of this community, but I run a lot of services at the house and want to have a few services that require high availability run in a cloud external to my home. Specifically, I want to run Vaultwarden, an email server and a VPN. My question is one of...

    ninjan ,

    Well, as someone also self-hosting email I agree with his solutions but he paints a picture of how bad it is that I feel is a bit exaggerated. But then again I host for myself and my family, I suspect it gets a bit different when you have many users and send hundreds of mail per day.

    Only one I've had trouble with it Microsoft, they're the strictest and you need to get some support from them to make it work reliably. Google has an automated service.

    ninjan ,

    The best ones are with the philosophy guy imo, he employs the rethorical "Principle of Charity" in such a master class way which turns her stupid questions into profound conundrums which he tackles and he manages to act out this sense of being delighted to finally being asked deep philosophical questions in an interview. It's great.

    https://piped.video/shorts/6FNv4hsTBM8?si=2042cjUDRztDM579

    ninjan ,

    You do know the URI is the same so you can just change piped.video to youtube.com

    ninjan ,

    So no vacation homes at all?

    And what constitutes an individual? A family unit? Or can you own two houses when you're married, one per adult?

    ninjan ,

    No residential property I assume? I guess apartments would need some new form of owning entity. In Sweden we have "bostadsrättsförening" which is basically an organization where your personal say is proportional to how much you own (i.e. how large your apartment compared to the total). Of course it has its drawbacks, especially if there is no resident that actually understands how to handle economy and plan maintenance that has to be a joint effort. Or if you have someone that embezzles.

    ninjan ,

    Sure but from my understanding the problem in the US (and most places) isn't that there isn't room. The sum of empty houses/apartments is greater than the amount of homeless. It's more distribution and logistics.

    So we drop demand by outlawing many forms of ownership but with lower prices from that drop its reasonable to expect an increase in demand for the most popular places / places with a good salary and strong job market.

    This then naturally moves the spot with available homes further from the major areas. People with low/no means are they then expected to move there to not be homeless? Even if there's no career prospects or even jobs?

    If we cap relocation how is that handled? Are you not allowed to move into and buy a new home in say San Francisco, LA or NY?

    And how much relocation are we mandating for the homeless?

    If we remove the free market there is an extreme demand for very thoughtful, planned out rules which need to be airtight because people exploit everything and every loophole will be found.

    And if we don't eliminate the free market, just limit who can own, then how do we avoid the aforementioned problems of accelerating urbanization? Such that we don't equalize at the exact same prices just private owned instead of corporate owned.

    ninjan ,

    It's not so bad, 9 months later a whole new car plops out!

    ninjan ,

    I'm confused, what nation did you buy from? There are no tarrifs inside the EU? I'm fairly certain you could easily find both German and Italian sites that ship to Greece.

    ninjan ,

    If you don't need power then why not buy old laptops? Plenty of companies around that sell corporate laptops 5+ years old that of course still work fine. Also gives bonus points for reuse and thus reducing ewaste instead of adding to it.

    multimedia manager by series (lemmy.dbzer0.com)

    is there a media server/manager that supports multiple types of media (i.e books, series, comics, etc) natively and allows media to be ordered by series? i came across this problem when trying to organize a series in my media collection that contains movies, series and books; i tried searching for a solution on jellyfin...

    ninjan ,

    Doesn't sound like it's own "product" to be honest. I'd probably look at an alternative presentation layer that can present what's in Jellyfin and also supports being the presentation layer for the top solutions for books, comics etc. If nothing like that exists I think there are people that would be interested in a unified media presenter. It doesn't even need to actually play the media, just link to it.

    ninjan ,

    Yeah exactly, if they have decent APIs or you can scissor out the content via iframes or something. Not really a web developer so I probably ain't makin' sense.

    ninjan ,

    Preserve the source IP you say, why?

    The thing is that if you could (without circumventing the standards) do so then that implies that IP isn't actually a unique identifier, which is needs to be. It would also mean circumventing whitelists / blacklists would be trivial (it's not hard by any means but has some specific requirements).

    The correct way to do this, even if there might be some hack you could do to get the actual source IP through, is to put the source in a 'X-Forwarded-For' header.

    As for ready solutions I use NetBird which has open source clients for Windows, Linux and Android that I use without issues and it's perfectly self-hostable and easy to integrate with your own IDP.

    ninjan ,

    If you can fool the Internet that traffic coming from the VPS has the source IP of your home machine what stops you from assuming another IP to bypass an IP whitelist?

    Also if you expect return communication, that would go to your VPS which has faked the IP of your home machine. That technique would be very powerful to create man in the middle attacks, i.e. intercepting traffic intended for someone else and manipulating it without leaving a trace.

    IP, by virtue of how the protocol works, needs to be a unique identifier for a machine. There are techniques, like CGNAT, that allows multiple machines to share an IP, but really it works (in simplified terms) like a proxy and thus breaks the direct connection and limits you to specific ports. It's also added on top of the IP protocol and requires specific things and either way it's the endpoint, in your case the VPS, which will be the presenting IP.

    ninjan ,

    You want to group by IP in grafana and not using http traffic? Why not group on data or metadata in what is being sent which is the common approach?

    ninjan ,

    Well thats just a normal reverse proxy then. In my setup I use Caddy to send traffic through the NetBird managed wireguard tunnel to my home machine that runs Jellyfin but for any outside observer it look like it's my VPS that is serving Jellyfin.

    ninjan ,

    Yeah, I was just confused about the direction/flow he was asking for. He clarified and his use case is fully solvable. Just not something I've personally dabbled in since he wants it for non http traffic.

    ninjan ,

    Well good part there is that you can build everything for internal use and then add external access and security later. While VLAN segmentation and overall secure / zero-trust architecture is of course great it's very overkill for a selfhosted environment if there isn't an additional purpose like learning for work or you find it fun. The important thing really is the shell protection, that nothing gets in. All the other stuff is to limit potential damage if someone gets in (and in the corporate world it's not "if" it's "when", because with hundreds of users you always have people being sloppy with their passwords, MFA, devices etc.). That's where secure architecture is important, not in the homelab.

    ninjan ,

    There's absolutely no issues whatsoever with passing through hardware directly to a VM. And Virtualized is good because we don't want to "waste" a whole machine for just a file server. Sure dedicated NAS hardware has some upsides in terms of ease of use but you also pay an, imo, ridiculous premium for that ease. I run my OMV NAS as a VM on 2 cores and 8 GB of RAM (with four hard drives) but you can make do perfectly fine on 1 Core and 2 GB RAM if you want and don't have too many devices attached / do too many iops intensive tasks.

    ninjan ,

    Sure, I'm not saying its optimal, optimal will always be dedicated hardware and redundancy in every layer. But my point is that you gain very little for quite the investment by breaking out the fileserver to dedicated hardware. It's not just CPU and RAM needed, it's also SATA headers and an enclosure. Most people doing selfhosted have either one or more SBCs and if you have more than one SBC then yeah the fileserver should be dedicated. The other common thing is having an old gaming/office PC converted to server use and in that case Proxmox the whole server and run NAS as a VM makes the most sense instead of buying more hardware for that very little gain.

    ninjan ,

    Yes, but in the post they also stated what they were working with in terms of hardware. I really dislike giving the advice "buy more stuff" because not everyone can afford to when selfhosting often comes from a frugal place.

    Still you're absolutely not wrong and I see value in both our opinions being featured here, this discussion we're having is a good thing.

    Circling back to the VM thing though, even if I had dedicated hardware, if I would've used an old server for a NAS I still would've virtualized it with proxmox if for no other reason than that gives me mobility and an easier path to restoration if the hardware, like the motherboard, breaks.

    Still, your advice to buy a used server is good and absolutely what the OP should do if they want a proper setup and have the funds.

    ninjan ,

    No the scenario a VM protects from is the T110s motherboard/cpu/PSU/etc craps out and instead of having to restore from off-site I can move the drives into another enclosure and then map them the same way to the VM and start it up. Instead of having to wait for new hardware I can have the fileserver up and running again in 30 minutes and it's just as easy to move it into the new server once I've sourced one.

    And in this scenario we're only running the fileserver on the T110, but we still virtualized it with proxmox because then we can easily move it to new hardware without having to rebuild/migrate anything. As long as we don't fuck up the drive order or anything like that, then we're royally fucked.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • incremental_games
  • meta
  • All magazines