u/JavaOldTimer

1 post karma · 83 comment karma · joined Mar 2023

JavaOldTimer

I write huge lambdas all the time.

Please. Stop. Doing. That.

JavaOldTimer

A language is a tool to do a job to drive business, so we get paid, so we can support ourselves and our families. A language is not a religion.

If it's not in the business's best interest to upgrade every time Goetz has a brain fart and drops a new Java feature people probably don't even need (streams, function programming, modules); it's not OK to label that business or its people as idiots.

JavaOldTimer

That's not OK to paint everyone who disagrees with your programming choices as evil. It's toxic and probably wrong in the majority of cases.

JavaOldTimer

It took me about 5 years to warm up to streams. The whole "lambda" math style aura and function programming shoved down our throats was like a progressive movement on steroids. Now several years later, I like streams in the cases where I think they make sense. map/reduce/filter (OK not filter) still are hurdles I have to overcome each and every time, if they'd used familiar syntax like select and where I'd have been onboard the first day they came out.

JavaOldTimer

I wish Java used the infinitely familiar select and where syntax C# uses.

JavaOldTimer

people like you

When someone switches to attack mode, especially personal attacks; they've long lost the debate.

JavaOldTimer

I run my web sites and email server in an Ubuntu Linux VM running on my Ubuntu Linux laptop using KVM. Nothing in my home is publicly accessible to the Internet.

I use a public Ubuntu Linux VPS running Wireguard which uses iptables to route incoming Internet requests (for the ports that I have opened in the VPS) over the Wireguard VPN to the VM on my laptop. Nothing running inside the VM is accessible to my LAN except the SSH server.

I use KDE Desktop on the laptop and the Virtual Machine Manager GUI when I want to change something, except when I'm feeling froggy I use the excellent virsh CLI.

To confirm the setup works regardless where I run the VM, I shut down the VM on the laptop, copied the qcow2 VM disk file and the VM definition file to a different machine on my LAN, used virsh on that machine to start the VM and boom my web sites and email server were available again.

I could copy the VM to any machine anywhere in the world as long as it runs KVM (or any virtualization engine providing I convert the disk file to that format), start it and it will connect to Wireguard on my public VPS, establish the VPN and start serving web and email while the public IP of the VPS never changes.

The VM has its own IP on my LAN. Hopefully something in that was helpful.

JavaOldTimer

Thank you, and whomever I learned it from years ago!

JavaOldTimer

The header and body checks are part of postfix. The Java service is what I wrote. It's not published anywhere. It talks to postfix and cooperates with it using this API http://www.postfix.org/SMTPD_POLICY_README.html.

JavaOldTimer

Congratulations on keeping the art alive. It's amusing and depressing as a coder who has worn the admin hat to help in startups and admins all his own stuff to see /r/sysadmin is basically Windows cloud button pushers.

For my own system, I got tired of dealing with updating Spamassassin's scores so I stopped using it and now I allow only TLD domains (.com, .net, .org, .int, .edu, .gov, .mil, .arpa) using a Java headless app (system app) I run in a Docker container. That app does a few other checks as well.

I also use postfix's body_checks and header_checks db files with simple regex to DISCARD repeat offenders or REJECT really annoying repeat offenders. DISCARD and REJECT are tracked in /var/log/mail.log.

It's reduced SPAM for me to >95% where it was maybe 75% with Spamassassin.

JavaOldTimer

I'm a coder but I see the same pattern, they use the term "hybrid" a lot.

JavaOldTimer

Musk votes Democrat, "Musk is great, Musk is terrific!" Musk votes Republican, "Musk doesn't know shit!"

JavaOldTimer

Obviously swing is reaching its end game

It is? I don't see Swing or SWT reaching an end game.

JavaOldTimer

Someone was in here a few days ago asking about Java and CI, here was my response, maybe it's helpful.

JavaOldTimer

I have sort by Best on, I'm not sure why I had to scroll down so far to find the best comment!

JavaOldTimer

Ordinarily I totally agree. The thing is, lately, Microsoft related technologies are being touted as the only viable solution for any issues in multiple subreddits and on other tech news forums. Some of us need to highlight when tools suck so the uninitiated can be more aware as they come into the field to help them avoid wasting precious time.

JavaOldTimer

I see, if it works I guess go with it. When a requirement or request comes in for a customization of the PS script or tailoring to dynamic needs; the flexibility of the UNIX style approach will be more apparent.

JavaOldTimer

When I have to use Windows, I use git bash to make it more palatable https://gitforwindows.org/

JavaOldTimer

Can you provide any specifics?

JavaOldTimer

PowerShell is garbage. Bash is great. Trying to suggest PowerShell isn't scripting is misleading at best. Suggesting objects over streams makes more sense is illogical. The number of people defending PowerShell in here is interesting.

JavaOldTimer

It's so good at what it does it's creepy to me and I keep ufw running on all my machines which also blocks it.

JavaOldTimer

I don't use Activities or Virtual Desktops. Back in Gnome 2 days I used Virtual Desktops some but not much.

JavaOldTimer

There is no norm. There's Java and there's CI. It might be Jenkins deploying to OCP using a GitHub action. It might be all Azure DevOps using a pipline yaml file and the whole thing golden pipelined to deploy in Azure as soon as a commit occurs. It might be a GitLab pipeline yml file and deploying to Amazon EKS.

Personally and on several teams I've been on, I dislike auto formatting mangling the code in pretty ways.

For the rest of your research, wish you the best of luck.

JavaOldTimer

It seems likely you used a resource somewhere, perhaps a disk that was part of the "free trial" but not necessarily always free or the always free limit was exceeded somewhere during the trial. Using more than 20 GB I think would trigger payments to start. Just some additional thoughts.

JavaOldTimer

Did you exceed the free limits? https://www.oracle.com/cloud/free/

"Services you can use for an unlimited time."

If you remained inside the free limits and they started charging you and you're certain of these things; then their advertising is deceptive and you can file a claim with the FTC. https://www.ftc.gov/news-events/topics/truth-advertising