A pretty normal one?
shastaxc
- 0 posts
- 62 comments
- 1 year
Yeah we have IDEs to color keywords for us these days. Caps is just extra work
- shastaxc@lemm.eeto
Programmer Humor@programming.dev•TIL that "nginx" is pronounced "engine-x", and not "n-jinx"
1 yearWhere did the I go?
In that case though, the person helping you doesn’t have the ability to solve the problem by changing code. They have to work around the bug to try to make it work for you in its broken state and report the problem to developers to fix in the next release. It’s a more difficult problem to solve
Having dealt with this drama before, and as team lead currently, as soon as this project began, the first thing I did was set up a linter with very specific rules. If a dev doesn’t agree with the rules defined there, too bad. They’re there to prevent this kind of drama, and to make peer reviews more focused and productive. I don’t wanna see PRs about syntax. They’re nearly always just a difference of opinion.
- shastaxc@lemm.eeto
Programmer Humor@programming.dev•TIFU by not using objects in my object-oriented programming coursework
2 yearsGenerally true, but if the professor in this context was not a moron, he probably mentioned at the start of the class that he would be forcing a change to requirements part way through the course. Ideally, he would’ve specified what kind of changes this would be, in order for the students to account for that in their design. I think it’s likely this happened, but the student was lacking so much experience he didn’t understand that hint or what he needed to do in the design in order to later swap parameters more easily. I’m going to withhold judgement on this professor having only heard a biased account. It could’ve been a very good assignment, now being told from the perspective of a mediocre student.
Programming and math are both heavily rule-based and logic-based, which is why people say if you’re good at math you may be good at programming.
Another z-shooter like Tribes Vengeance. A different company got the rights to the franchise and tried to make a more realistic physics engine approach in the sequel, Tribes Ascend, but it was not as fun imo. The use of the grappler specifically to slingshot yourself up to fast speeds and to change direction without losing speed were key to the enjoyment and strategy in Vengeance that Ascend never managed to replicate.
Also, I love the shooter moba genre. I loved Monday Night Combat and the sequel, Super MNC. It’s a shame those games never took off. I’ve been really enjoying Deadlock so far and can’t wait to see how it turns out. But more games in that genre would be welcome.
- shastaxc@lemm.eeto
Reddit@lemmy.world•Reddit is profitable for the first time ever, with nearly 100 million daily users
2 yearsIt will matter to Reddit in rhe long run if advertisers notice they aren’t getting as many clicks on their ads from Reddit as their metrics say they should be getting and then pull their ads off the platform and/or sue Reddit for falsifying metrics.
So many suggestions here but I thought I’d chime in because I have a setup very similar to what you suggested and I found a very easy way of hosting it securely. I am using Unraid on a system in my house. I have my web service running in a docker container. I exposed it using a cloudflare tunnel. There is an Unraid plugin for cloudflare tunnels that takes out a lot of the configuration work involved in getting it running locally. You just have to also set up a corresponding endpoint on Cloudflare’s website and have a domain name registered with them for you to link to it.
The way it works then is when someone requests your domain (or subdomain) in their browser, Cloudflare gets the request and redirects the traffic to the cloudflare tunnel client app that you set up in your computer. That app on your machine then redirects the traffic to your other container that is hosting your web service and established bidirectional communication that way.
The benefits to this system are:
- Relatively easy setup, especially if you want to expose more services in the future (you’ll need to run a separate cloudflare container for each service exposed though)
- No need to open ports in your router or firewall on your home network. Cloudflare just knows how to communicate between its server and its client app on your computer (I think you have to set up an access token so it is secure).
- None of your users ever learn your home IP address because once they connect at Cloudflare’s server, they don’t get any more knowledge than that about what’s on the other side.
- It’s free (not including the cost of registering your domain)
- You don’t have to worry about changing anything if your ISP randomly changes your IP address. Hell, you could even move to a new house and take your computer with you and you wouldn’t have to reconfigure anything.
Downsides:
- You have to trust that Cloudflare is not scraping all the traffic going through the tunnel.
- Some people have a moral issue with giving Cloudflare more responsibility for hosting “the Internet”. We already rely on their infrastructure heavily for large sections of the Internet. If they ever become malicious or compromised, there is a lot to lose as a society.
I believe you can use Wireguard and a rented VPS to recreate this setup without Cloudflare but it will require a lot more knowledge in order to set it up with more points of failure. And it would cost more because even though Wireguard is FOSS, a VPS will cost you a monthly fee of at least a few bucks per month.
I currently have 2 services exposed using Cloudflare tunnels on my Unraid system at home. They’ve been running for over a year now with 0 interruption.
I love going into a PR with 3 approvals already and shitting all over it
- shastaxc@lemm.eeto
Selfhosted@lemmy.world•Good guides for the security you need to set up for self hosting?English
2 yearsPeople don’t like centralizing the Internet in a single service. There’s nothing wrong with the product. It works great and is much more secure than opening ports in your home network. This community is just more biased toward decentralization and privacy, which is a common reason for people to start self hosting.
I think wireguard can allow you to set up a similar external connection with some extra steps. This would remove Cloudflare from the loop.
- 2 years
Do they have any leverage? How much money is wow still making off new content at this point?
- shastaxc@lemm.eeto
Linux@programming.dev•'Critical' vulnerability in OpenSSH uncovered, affects almost all Linux systems
2 yearsWhile statistically unlikely, it would be possible to exploit the vulnerability on the first attempt
- shastaxc@lemm.eeto
World News@beehaw.org•"Saying Hong Kong Is Dead Does a Disservice to Its People": The gutting of the city’s civil society by Beijing has at times moved very slowly, and still meets with resistance
2 yearsIt’s not gonna get any better. The Hong Kong from a few decades ago is never coming back.







Like Michael Jordan? Very weird