jcg

joined 1 year ago
[–] [email protected] 12 points 3 hours ago

Didn't crunchyroll used to be exactly that kind of website they're getting taken down now? Lame...

[–] [email protected] 23 points 11 hours ago* (last edited 11 hours ago) (2 children)

is-sorted and a handful of about 300 other npm packages. Cloning the repo and installing takes about 16 hours but after that you're pretty much good for the rest of eternity

[–] [email protected] 14 points 11 hours ago (2 children)

But then who backs up the backups?

[–] [email protected] 1 points 2 days ago

Nah too many false negatives. Vulgar language must be wholly extinguished

[–] [email protected] 13 points 3 days ago* (last edited 3 days ago)

Your freedom to do those things under capitalism is wholly bound by your existing wealth, and wealth begets wealth. When your parents are well off, you can get into good schools, get better education, and ultimately get a better job and, really, be a better worker bringing more wealth into the already existing pool of wealth your family had. Those who have been disenfranchised by way of things like eminent domain, redlining, or the straight up prosecution of them and their fellow men simply don't have that option to rise up. They don't even have the opportunity to try and fail, they've failed by their very existence. At a macro scale, once you've reached the top (e.x. Facebook, Google, Amazon, etc.) you have the resources to not only out-do any of the competition but to sell products at a loss to starve your competition and bully them into submission, which big companies do all the time instead of investing in better products. It's just good business.

Circumstance plays a lot into how much wealth you start out with and how much wealth you end up being able to accrue, so while it's nice being not even at the top but even just the middle, it's important to have the mindfulness to know that there are those below you who don't have the same freedoms, and they're not there because their businesses did poorly. Some of them are, but most are simply victims of greater powers stealing their capital.

[–] [email protected] 2 points 2 weeks ago

What sucks is if there was no commercial part here - i.e. like how you're doing it just for fun, or if we lived in a magical world where we all just agreed that creative works were the shared output of humanity as a whole - then there would be no problem, we'd all be free to just use what we need to make new things however we want. But there is a commercial part to it, somebody is trying to gain using the collective work of others, and that makes it unethical.

[–] [email protected] 1 points 2 weeks ago

Converting code too! I've used LLMs to go from Node -> GoLang, and that's basically how I learned to code in Go coming from a less low-level background. You can also ask about what the current best practices are.

[–] [email protected] 1 points 2 weeks ago* (last edited 2 weeks ago)

I've definitely run into this as well in my own self-hosting journey. When you're learning it's easier to get it to just draft up a config - then learn what the options mean after the fact then it is to RTFM from the beginning.

131
submitted 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/[email protected]
 

I've seen a lot of sentiment around Lemmy that AI is "useless". I think this tends to stem from the fact that AI has not delivered on, well, anything the capitalists that push it have promised it would. That is to say, it has failed to meaningfully replace workers with a less expensive solution - AI that actually attempts to replace people's jobs are incredibly expensive (and environmentally irresponsible) and they simply lie and say it's not. It's subsidized by that sweet sweet VC capital so they can keep the lie up. And I say attempt because AI is truly horrible at actually replacing people. It's going to make mistakes and while everybody's been trying real hard to make it less wrong, it's just never gonna be "smart" enough to not have a human reviewing its' behavior. Then you've got AI being shoehorned into every little thing that really, REALLY doesn't need it. I'd say that AI is useless.

But AIs have been very useful to me. For one thing, they're much better at googling than I am. They save me time by summarizing articles to just give me the broad strokes, and I can decide whether I want to go into the details from there. They're also good idea generators - I've used them in creative writing just to explore things like "how might this story go?" or "what are interesting ways to describe this?". I never really use what comes out of them verbatim - whether image or text - but it's a good way to explore and seeing things expressed in ways you never would've thought of (and also the juxtaposition of seeing it next to very obvious expressions) tends to push your mind into new directions.

Lastly, I don't know if it's just because there's an abundance of Japanese language learning content online, but GPT 4o has been incredibly useful in learning Japanese. I can ask it things like "how would a native speaker express X?" And it would give me some good answers that even my Japanese teacher agreed with. It can also give some incredibly accurate breakdowns of grammar. I've tried with less popular languages like Filipino and it just isn't the same, but as far as Japanese goes it's like having a tutor on standby 24/7. In fact, that's exactly how I've been using it - I have it grade my own translations and give feedback on what could've been said more naturally.

All this to say, AI when used as a tool, rather than a dystopic stand-in for a human, can be a very useful one. So, what are some use cases you guys have where AI actually is pretty useful?

[–] [email protected] 5 points 2 weeks ago

Now that is an interesting target to get tons of people off twitter. If all these K Pop labels like Hybe and JYP suddenly started publishing on BlueSky their fans would immediately follow suit

[–] [email protected] 1 points 2 weeks ago* (last edited 2 weeks ago)

I wouldn't say I'm in control per se when I don't have the option to just do the update whenever I feel like it. I'm in control the same way a prisoner is in control of whether or not they eat that day by just not eating. Like, put it behind a giant bold unmissable piece of text that says "IF YOU DO THIS YOU ARE PUTTING YOUR MACHINE AT RISK AND HACKERS WILL IMMEDIATELY STEAL ALL YOUR MONEY" but don't make it so it's impossible for me to do without some workaround.

[–] [email protected] 4 points 3 weeks ago (2 children)

Have you got a more specific search term for Gemini? Unfortunately the word has been taken by Google

[–] [email protected] 1 points 3 weeks ago (1 children)

It's a bit hacky but I suppose there's always the option of using a separate WebDAV server on the directory where frappe drive stores its files. I haven't tried something like that, though. Unfortunately I don't know of any integration within frappe drive itself. Seems they're accepting contributions now so it's possible these will be implemented in the future. WebDAV is a bit of its own beast, though, so that'll be a huge undertaking in my opinion.

 

I have an Ubuntu server with two network interfaces - an ethernet and a WiFi network let's call eth0 and wlan0. So far I've been able to set it up as a router by enabling packet forwarding and then doing some iptables trickery. These are my iptable commands:

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -A FORWARD -i eth0 -o eth0 -j ACCEPT
iptables -A FORWARD -i eth0 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT

If I'm understanding correctly, the first command says "if you receive packets from a device, do NAT and then forward them with your IP", the second one says to forward packets from eth0 to eth0, and the last line says "if you get packets back, only accept them if a connection has already been previously established". This Ubuntu server is connected to a router which is connected to a modem that actually has internet access. I've set it up so that my router uses my Ubuntu server as the default gateway during DHCP requests. This works fine, I'm able to use devices to connect to the internet, and if I do a trace route, it first goes to the Ubuntu server, then to the router, then out into the great beyond.

Now, I've run:

iptables -D FORWARD -i eth0 -o eth0 -j ACCEPT
iptables -A FORWARD -i eth0 -o wlan0 -j ACCEPT
iptables -A FORWARD -i wlan0 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT

Which, if I'm understanding correctly, should forward packets through to the WiFi interface instead, but it isn't working. I'm still able to access other devices on the network but not the open internet. I also tried doing iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE which as far as I can tell is unnecessary, but that didn't do anything. When I do trace route this time, it is able to get to the Ubuntu server but no further. I've also tried doing iptables -L -v but neither the wlan0 -> eth0 rule or the reverse have any packet count. I also tried doing iptables -A FORWARD -i lan0 -o wlan0 -j LOG --log-prefix "FORWARD: " to just log it first, but nothing shows up in /var/log/syslog even if I try to connect to the internet from a device.

I'm at a loss here so any help even debugging or if I'm going about this wrong would be greatly appreciated. My ultimate goal is to set up a failover so that if the LAN interface doesn't have a connection, it'll start sending packets through the WiFi interface which will be connected to a different internet connection.

 

I have a fairly old router that doesn’t support gigabit. I also have a network switch that does support gigabit. If I connect two devices directly to the switch, then connect the switch up to the router, will the connection between the two devices support gigabit? If I’m understanding correctly the router would just act as DHCP server and give the two devices a local IP address, but the actual connection between them wouldn’t go through the router at all.

 
view more: next ›