jcg

joined 2 years ago
[–] [email protected] 4 points 3 weeks ago

Nah I'm an innovator! I'll just innovate a better chip that'll never fail and software that has no bugs!

Proceeds to put Linux on a common SoC and load it with shoddy software from a low paid contractor.

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

dd if=/dev/null of=/dev/eng0

Oops!

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

Lin Manuel Miranda goes Canadian

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

What is this magical dictionary? I'm almost afraid to ask but, won't just about any dictionary do just fine?

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

Not a lawyer, but I've had to deal with copyright before. If I'm not mistaken, the only thing the Smite devs could feasibly hold a copyright to is there specific expression of the characters - i.e. the unique visual design, the voice lines, the lore (assuming it's not also just the lore from already existing public domain works), animations, etc., that's the only time you'd be in trouble. With game mechanics it's pretty dicey because I think you'd have a hard time finding a judge to actually rule that any company "owns" a game mechanic. But if you copy how the characters look, the art style, maybe even specific dialogue (which couldn't be found as part of another public domain work) that's when you could possibly have a claim.

But even still, you have to remember that copyright is not this "oh you've broken the law you're a criminal now" type thing where once you've "infringed" it's over. It's typically handled first via informal means like contacting Steam/Epic/GOG/etc. and saying "hey we believe these guys have stolen our character." They'll have to convince the platforms first, and then the platforms will take it down to avoid liability. It's only if the parties want to pursue it further will they have to take it to court and have a jury/judge rule on it. Copyright suits tend to be ruled on precedent rather than just the black-and-white letter of the law.

[–] [email protected] 1 points 1 month ago

If that's your concern I personally find ZeroTier a lot simpler to set up securely. You basically can't expose things to the public internet through it because it doesn't even require you to forward ports or anything.

[–] [email protected] 1 points 1 month ago

I've observed the same thing about YT music's audio. It's actually a bit frustrating because YT has the better quality, it's louder too (Spotify app is strangely quiet in comparison), the algorithm is nicer, I actually even like the UI a little better. But the queue system sucks donkey balls, there's no cross-system control, and no jam so I often go back to Spotify when with friends.

[–] [email protected] 1 points 1 month ago

As someone who used to run a Plex server and a jellyfin server for myself (not at the same time) I'd have to agree with the sentiment. If I were trying to provide it for my less techy friends/family I'd go Jellyfin again. But for just me? Video files + samba fileshare all the way. Even lets me play the videos on my phone.

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

Well, not exactly. For example, for a game I was working on I asked an LLM for a mathematical formula to align 3D normals. Then I couldn't decipher what it wrote so I just asked it to write the code for me to do it. I can understand it in its code form, and it slid into my game's code just fine.

Yeah, it wasn't seamless, but that's the frustrating hype part of LLMs. They very much won't replace an actual programmer. But for me, working as the sole developer who actually knows how to code but doesn't know how to do much of the math a game requires? It's a godsend. And I guess somewhere deep in some forum somebody's written this exact formula as a code snippet, but I think it actually just converted the formula into code and that's something quite useful.

I mean, I don't think you and I disagree on the limits of LLMs here. Obviously that formula it pulled out was something published before, and of course I had to direct it. But it's these emergent solutions you can draw out of it where I find the most use. But of course, you need to actually know what you're doing both on the code side and when it comes to "talking" to the LLM, which is why it's nowhere near useful enough to empower users to code anything with some level of complexity without a developer there to guide it.

[–] [email protected] 7 points 1 month ago (4 children)

You can get decent results from AI coding models, though...

...as long as somebody who actually knows how to program is directing it. Like if you tell it what inputs/outputs you want it can write a decent function - even going so far as to comment it along the way. I've gotten O1 to write some basic web apps with Node and HTML/CSS without having to hold its hand much. But we simply don't have the training, resources, or data to get it to work on units larger than that. Ultimately it'd have to learn from large scale projects, and have the context size to be able to hold if not the entire project then significant chunks of it in context and that would require some very beefy hardware.

[–] [email protected] 8 points 2 months ago

Ah yes the ever elusive "tech debt"

[–] [email protected] 3 points 2 months ago

It's remarkable, really.

164
submitted 6 months ago* (last edited 6 months 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?

 

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.

37
Are you seeing this? (halubilo.social)
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

This post has been seen times!

 

I'm planning to migrate my email to a different provider, but they don't give much storage, so I was wondering what people would recommend for this kind of setup: basically I'd like to use the new provider as something like a relay. I'd want them to only store an email or two at a time and have some kind of self hosted solution that just grabs the emails from the provider and stores them after deleting them off the provider so it's never storing my entire email history, and also keeps my sent emails somewhere so that I have a copy of it. Ideally I'd wanna be able to set this up with a mail client like NextCloud's.

 

EDIT: Thanks for the info guys! Very excited to get this all set up

At the moment I have a bunch of self-hosting services hosted in the cloud. I plan to get rid of my cloud resources entirely and run stuff on some server hardware I acquired recently but my ISP doesn't give me a static IP and I'm behind a NAT or whatever it's called (the thing that makes multiple people's home connections be behind a single public IP) so I don't think I can even expose directly to the internet. So my plan is to have a very small and cheap server at a data center and proxy my actual server behind that.

My question is, is there a way that I can set things up so that the same domain can connect directly to the server when I'm at home, and to the proxy when I'm not? The difference would be what connection I'm connected to (my home WiFi vs 5G/others' WiFi). I'm thinking I could maybe run DNS on the server and configure my router to use that as a DNS server, but wouldn't my phone/laptop cache DNS entries? So it'd still try to connect to the local IP even when I'm out.

view more: next ›