"Buy Me A Coffee"

  • 3 Posts
  • 107 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle
  • Yes it would. In my case though I know all of the users that should have remote access snd I’m more concerned about unauthorized access than ease of use.

    If I wanted to host a website for the general public to use though, I’d buy a VPS and host it there. Then use SSH with private key authentication for remote management. This way, again, if someone hacks that server they can’t get access to my home lan.


  • Their setup sounds similar to mine. But no, only a single service is exposed to the internet: wireguard.

    The idea is that you can have any number of servers running on your lan, etc… but in order to access them remotely you first need to VPN into your home network. This way the only thing you need to worry about security wise is wireguard. If there’s a security hole / vulnerability in one of the services you’re running on your network or in nginx, etc… attackers would still need to get past wireguard first before they could access your network.

    But here is exactly what I’ve done:

    1. Bought a domain so that I don’t have to remember my IP address.
    2. Setup DDNS so that the A record for my domain always points to my home ip.
    3. Run a wireguard server on my lan.
    4. Port forwarded the wireguard port to the wireguard server.
    5. Created client configs for all remote devices that should have access to my lan.

    Now I can just turn on my phone’s VPN whenever I need to access any one of the services that would normally only be accessible from home.

    P.s. there’s additional steps I did to ensure that the masquerade of the VPN was disabled, that all VPN clients use my pihole, and that I can still get decent internet speeds while on the VPN. But that’s slightly beyond the original ask here.






  • marsara9@lemmy.worldtoSync for Lemmy@lemmy.worldPost launch day chat
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    1 year ago

    Totally understand that. And personally, $20 to remove ads forever, seems reasonable. But the other features under Ultra currently don’t add up to the price tag for those features at the moment.

    None of the current Ultra features really stand out to me except tagging/highlighting users. Push Notifications will be a game changer but they aren’t in the app yet.


  • marsara9@lemmy.worldtoSync for Lemmy@lemmy.worldPost launch day chat
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    1
    ·
    1 year ago

    First I want to preface that I actually never used Sync for Reddit, I always used RIF but I wanted to give Sync for Lemmy a shot and see what it was all about.

    A few things from my perspective:

    1. So I’m using the combined BottomNavigation style, but finding settings or other options doesn’t seem all that intuitive. Some of the things, like how to switch from Everything to Subscribed for my feed, I found by accident. Where to buy the Ad removal was also rather hidden, etc…
    2. The elephant in the room… Pricing… as a developer myself I get needing to make enough money to sustain your projects, and I get that there’s a lot less users on Lemmy than Reddit, but the prices for the subscriptions just seem outrageous. The problem as I see it, is that there’s already a healthy competition for Lemmy Apps out there today and most are completely free and have no ads as-is. Some may even be operating in the red, but still $2/mo, $17/yr, $100/lifetime still seems a bit much for essentially:
    • No Ads (I’ve got a PiHole, so honestly I don’t see any ads at the moment anyway)
    • Cloud Backup – backup of what? My login? My app settings? The former seems concerning, the later I don’t see much value as I only have a single Phone. If I get a new phone, sure it might save me a few minutes re setting it back up. There’s not that many settings at the moment that needed customizing. And adding too many makes the app too confusing.
    • Highlight / Tag users – Ok this seems interesting but not quite worth $2/mo IMO.
    • Translate text – I can do this in the web app already just by highlighting a comment. But to be critical here, /most/ of the content is already in English, and I don’t subscribe to any foreign language communities at the moment, so this at least doesn’t have any value to me.
    • Select text from image – Ok, another interesting feature but still not quite at $2/mo
    • Push notifications (coming soon) – I’m really wondering how this is going to work personally, but this is a much needed feature, at least just for private messages. Probably the feature I’m most excited about.
    • Import / export subscriptions – This honestly needs to be built into Lemmy itself, but there’s also a handful of user scripts and other tools other developers have already written that can do this.

    Keep in mind I don’t have a frame of reference for what the prices were in Sync for Reddit, but cut the prices to about a 1/3rd or 1/4th of what they are now and they seem to be more inline with the value that the app provides over the other apps.

    1. The privacy policy. It’s a lot longer than I’d hope for a Lemmy app. I’m assuming most of the data being collected is for advertising, but it’s still concerning to me.

    I don’t mean to sounds critical in all of this. The app is probably one of the smoothest and best looking out there so far, but the value to money ratio just isn’t there.




  • Playing devil’s advocate for a bit… So these are just cross-posts. Which existed even on Reddit. …I assume they weren’t handled in any way in Sync or Reddit?

    But let’s say this is fixed… What to do about the multiple comments threads? How would you reconcile them with each other? Especially since the user can choose different ways to sort the comments as well. Would all of this logic normally handled by the Lemmy back-end now need to run on your phone? Also how do you choose which post / instance to actually display and which ones to hide?

    Btw, I’m not trying to dismiss the idea. Just want to call out some of the technical problems that might come up trying to implement such a feature. As well as ask questions to try and determine exactly how such a feature is expected to work.




  • Think of Lemmy as email. Each post or comment is just an email sent to a distribution group (a community). If your email server goes down, all of those users and distribution groups are gone. Now I’ll still have the emails I sent to you in my email box but you won’t be able to see them as your email server is offline. Sure you could create a new account on a new server but you’d have to tell everyone about your new address (federate) but there’s nothing to associate your old user with your new one and there’s no way to backfill data. I could reply-all or forward (comment) on to your new address but there’s still no way to associate those old posts with your new account.


  • So the builder pattern is supposed to solve the problem of: if you have a large number of optional fields that may or may not need to be set to construct your object. Then once the dev has called all of the setters that they require, they call build to fully realize that object.

    Some rules that all builders should follow:

    • All setters SHOULD represent optional parameters. (Or ones that have a default value). If a parameter is required for all instances, include it in the constructor of the Builder itself.
    • All setters SHOULD return a copy of the Builder. This way you can chain calls off of each other.
    • Setters SHOULD do nothing more than store the provided value in a field local to the builder itself and then return itself (or a copy of itself).
    • You MUST expose a .build() method that will return the fully realized object. This method should essentially call the constructor for your target object using all of the parameters, regardless if a setter was called or not. Obviously any value where the setter wasn’t called will be null or some default value.





  • That looks like 8.8.8.8 actually responded. The ::1 is ipv6’s localhost which seems odd. As for the wong ipv4 I’m not sure.

    I normally see something like requested 8.8.8.8 but 1.2.3.4 responded if the router was forcing traffic to their DNS servers.

    You can also specify the DNS server to use when using nslookup like: nslookup www.google.com 1.1.1.1. And you can see if you get and different answers from there. But what you posted doesn’t seem out of the ordinary other than the ::1.

    Edit just for shits and giggles also try nslookup xx.xx.xx.xx where xx.xx… is the wrong up from the other side of the world and see what domain it returns.