jcg

joined 1 year ago
[–] [email protected] 5 points 1 week ago

And then their non standard file format turns out to just be a zip file or gzipped JSON data πŸ˜‚

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

It's BeetleChowder. But I don't wanna summon BeetleChowder so I won't say BeetleChowd

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

Doing this gives big bow to the machine energy for me, I don't like it.

[–] [email protected] 12 points 3 weeks ago* (last edited 3 weeks ago)

Holy shit, microplastics are defined as fragments smaller than 5mm????? I thought it's way smaller, 5mm is big enough to see with your naked eye!

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

from a bussy

I assume that word also means something else than what I'm thinking...

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

But it’s good that viable alternatives exist in case Microsoft ever considers shutting down the Java edition.

I had never even considered that as a possibility but now it seems all too possible and I'm gonna have to sit with that for a while...

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

I've actually used this to my advantage. I bought some cheap speaker/light combos which basically made the lights dance to the music. The only power connector was a wire that comes straight out of the device and into an outlet. But it did have a USB port for loading music from a USB stick. So naturally I plugged one side of a USB A into the port and the other side into a power bank and it just straight up worked.

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

How does the math work out on that? Both are fairly mature, I don't believe that either application takes a considerable amount of development effort to maintain. And taking features from Wordpad and putting them into Notepad has a time and effort cost.

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

I prefer a hybrid approach. A document explaining some common things to do and generally the idea behind why the API is structured that way (shows me you actually thought about it, and makes it more logical to find different parts of it without necessarily looking it up), and then an API spec showing all the parameters.

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

Absolutely nothing... This article literally just says that somebody on an internet forum pointed out that what might happen is that if your account has been around longer than the average lifespan then they'll investigate and maybe terminate it after determining it's no longer owned by the original account owner. Valve today doesn't have the support capacity to perform this kind of investigation. Valve in 50-60 years will be an entirely different beast. This speculation means nothing.

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

From the stories I've heard from corporate software employees, this does sound like exactly the kind of thing you gotta do to show some manager the guy is buddy-buddy with that they're actually not doing their job. And even then they didn't listen.

[–] [email protected] 14 points 3 months ago (2 children)

We have to work under the assumption that most development is done by inexperienced or, to put it bluntly, bad programmers. I would MUCH rather have bad JS code than bad assembly. One may crash a single tab in my browser, the other may crash my entire computer.

 

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.

 
view more: next β€Ί