railsdev

joined 1 year ago
-8
Batterygate is stupid (programming.dev)
submitted 11 months ago* (last edited 11 months ago) by railsdev@programming.dev to c/unpopularopinion@lemmy.world
 

Apple slowing down devices to extend battery life when the battery itself is low or degraded is awesome.

All the lawsuits coming out of this over recent years are uncalled for. Users that “suffer” from this likely need to simply replace the battery.

I expect an OS (and/or kernel) to manage resources. iOS/macOS actively doing so by adjusting its behavior when the battery’s shot is exactly the kind of magic people want in Apple products—so why is the opposite true when it comes to to this subject?

It’s wild to me that someone would be so upset as to sue over this.

Edit: I’m not arguing that Apple is superior or that everyone should happily go along with buying Apple products. The way a lot of these comments are written make it sound like they’re the only smartphone manufacturer and living with their software is forced upon you. If Apple makes you angry or unhappy, I happily encourage you to seek alternatives; I don’t believe any one company can make the perfect product for 100% of people.

35
submitted 11 months ago* (last edited 11 months ago) by railsdev@programming.dev to c/homeassistant@lemmy.world
 

I’m looking for alternative firmware for iRobot devices. By “firmware” I’m referring to whatever rat’s nest runs these things on device. I’ve about had it with the crazy errors, rebooting, etc. that comes from the terrible software.

I’m aware that dorita980 exists but from my understanding this is the server implementation (basically a drop-in replacement for AWS).

Is anyone aware of any hopefully open-source software for these devices?

 

Is this just his moderate side coming out? Appeasing Republicans?

 

Would it make sense to implement Background App Refresh in Mlem? It would be rather cool if feeds loaded more quickly as a result of background fetching but I’m concerned it could lead to battery drain.

Another related feature would be offline viewing; let’s say you leave home (where Background App Refresh happened) then go somewhere without service. It’d be cool if you still had access to your feed (up to the point it last synced obviously).

I’m bringing these ideas up because I was inspired by this post: https://sh.itjust.works/post/6491521

 

Lately there’s been drama surrounding the Piped Video bot that people seem to dislike and I’ve noticed that the bot isn’t posting very often.

As a privacy-aware user I’d actually like it if YouTube links could be rewritten client-side. I’m using a pretty intense Google blocker on my network so YouTube links are broken by default.

 

I have a Ubiquiti EdgeRouter X that works perfectly with both IPv4 and IPv6 from my ISP. Recently I've installed an OpenVPN client and I currently have IPv4 traffic going over the VPN.

I'm still wanting to support IPv6 but in a way that allows it to travel over the VPN. The VPN itself only supports connecting via IPv4 but does support IPv6 through the tunnel.

How can I configure the EdgeRouter X to do this?

For what it's worth, here's what I used to get IPv4 working:

set interfaces openvpn vtun0 config-file /config/auth/vpn-client.ovpn
set interfaces openvpn vtun0 description 'OpenVPN Client'
set service nat rule 5000 description 'OpenVPN Access'
set service nat rule 5000 log disable
set service nat rule 5000 outbound-interface vtun0
set service nat rule 5000 source address 192.168.143.0/24
set service nat rule 5000 type masquerade
set protocols static table 1 interface-route 0.0.0.0/0 next-hop-interface vtun0
set firewall modify openvpn_route rule 10 description 'OpenVPN'
set firewall modify openvpn_route rule 10 source address 192.168.143.0/24
set firewall modify openvpn_route rule 10 modify table 1
set interfaces switch switch0 firewall in modify openvpn_route
 

Never been into the swipe lifestyle; I’m constantly downvoting posts, comments, replies by accident. Is there a way to disable swiping? I’m fine with tapping on the UI elements and personally it seems weird having duplicate functionality (why are there voting arrows when swiping is enable?).

 

I’m a webmaster that refuses to use third-party assets, cookies, and tracking of any kind. When Instagram got caught inserting JavaScript in its webviews I added HTML to shoot it down. When FLoC was introduced I added HTTP headers effectively disabling it on my websites.

Does the new Topics API have a similar solution for us web developers? I’d hate to simply block the entire Chrome User-Agent because I know many of my visitors are using Chrome.

10
submitted 1 year ago* (last edited 1 year ago) by railsdev@programming.dev to c/webdev@programming.dev
 

I develop a SaaS that supports billing parties for services rendered. We have a GraphQL API that we offer and I’d like to make it possible for invoiced parties to retrieve their invoices via GraphQL, RSS, or some other feed.

For whatever reason I can’t seem to find solid answers via search so I thought I’d ask the community what formats are generally used? I’m working in Ruby on Rails.