Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment I’ve always hated CMSs (Score 2, Funny) 25

I’ve always hated to use CMSs; they never do exactly what you want and they’re a pain to master, especially when you have to use plug-ins.

Whenever I did a website, I did my own thing. And when I was maintaining one such website, one day, I see strange garbage strewn accross my PHP code.

Turns out the server had been compromised, and every file was injected with malicious code, but only if it was part of a Wordpress website

Because of this, the web hoster yanked every Wordpress website from his server, except mine, which, despite being riddled with malware, did not do anything harmful because the malicious code was never called by Wordpress

That definitely cured any idea I might subsequently have about using a CMS

Comment Re: Rust garbage (Score 0) 157

What you've been describing, I call "lifelong geek syndrome". You've known it for so long, you've forgotten what it's like not to know it. You've invested so much time learning the specific tools of your trade, you lean toward disdain for those reluctant to follow the same path.

I started learning C three decades ago. C++ about 7 or 8 years later. And frankly, compared to today they were a mess. Still are a mess, but Stockholm Syndrome and experience make it somewhat manageable. Most of computing is like this. You and I have spent a great deal of time learning how to avoid use after free, to avoid memory leaks, adopted unique_ptr instead of bare pointers whenever possible, honing our craft, debugging obscure race conditions in production, finding tools to shore up the gaping holes in C and C++'s memory safety model, etc.

But to claim that everyone of any experience level should know to adopt, configure, and use the baroque array of disparate tools to help C and C++ be less of a collective dumpster fire is nonsense. If software engineers built bridges and airplanes, death would abound.

That's like a great writer claiming that English is an elegant language with no possibility of substantial improvement.

There are several sorely missed features in C++ that everyone agrees would be great ideas and simply things were it not for breaking ABI compatibility and 30+ years of legacy.

Rust is not perfect (and not even necessarily the best replacement for C when looking at alternatives like Zig), but it is by far the closest I have seen to a C++ with unique_ptr/shared_ptr effectively being mandatory and enforced by the compiler, sane and consistent module support, typesafe macros (c'mon, the preprocessor is a dumpster fire all on its own), a simpler template metaprogramming model, comprehensive dependency management, forbidding diamond inheritance patterns, cleaner functional programming options, etc.

You are an expert in the C and C++ tool domain, but that's not an industry goal. C and C++ are not and have never been the goal. No language is. The goal is getting good software released, fewer security problems, and faster release times. That's it.

If someone starting out their career today by following your advice that C, C++, a pile of different add-on tools, and years of experience learning to avoid 30-40 years of legacy cruft, they are doing themselves and the industry a gross disservice.

Go should displace Java to improve the state of things precisely because it doesn't consume RAM like it's going out of style and is a much better fit for smaller, composable functions in the cloud. Rust should replace C++ for new systems level development whenever possible precisely because most folks with less than 30-40 years of experience in the industry will produce safer, more secure, and more maintainable code by virtue of learning from and adapting the lessons of those 30-40 years of mistakes.

But by all means, try to defend #define, #ifndef, and null-terminated character strings as some sort of natural virtue or how things like the iostream were paragons of modern design rather than poorly conceived and byzantine minefields.

Comment Re: Career DB Expert Here...you're very incorrect (Score 1) 53

Most major relational databases today have an indexable JSON data type. You don't need a thousand tables with hundreds of foreign keys.

MongoDB is a one-hit wonder whose fifteen minutes were up quite a while ago. (I also find it difficult to forgive MongoDB for the numerous data integrity bugs they've had over the years.)

Comment Re: In any sane world... (Score 1) 53

There's definitely use cases for NoSQL. That doesn't necessarily mean that all NoSQL offerings are worthwhile. I for one like DynamoDB and Redis for certain specific use cases. MongoDB on the other hand can kick rocks. I'd rather use Postgres with indexed jsonb columns over MongoDB every day of the week and twice on Sundays.

Because one day, you're gonna need something beyond JSON, and the MongoDB dev will not be happy on that day. They'll make excuses, wrap their data in makeshift JSON, tie their code in spaghetti knots, and deny to their last breath that anything has indeed gone horribly wrong.

And all because they simply refused to properly learn SQL and use the various highly tuned engines that implement it.

Comment Re: In any sane world... (Score 1) 53

You say that like relational and transactional (aka OLTP) are synonymous. They are not.

Redshift: column-oriented analytic RELATIONAL database (OLAP)

TimescaleDB: time series RELATIONAL database

YugabyteDB: distributed multi-master with horizontal scaling

And those are just some of the PostgreSQL-compatible offerings, hardly an exhaustive list of all SQL-compatible offerings out there from multiple vendors.

Comment Re: Pathetic attempt to distraction heats up (Score 4, Informative) 343

Abortion makes up ~3% of PP's services, it is not in any way an outsized profit center for PP, and no government funding goes toward abortion since their budget is specifically bifurcated to avoid it by federal law.

But none of the right wing news sources you follow reported those inconvenient facts, have they? Nor do they discuss where the other 97% of womens care will come from if PP is shut down. It's partisan political theater, and you fell for it.

Submission + - With Roe in doubt, some fear tech surveillance of pregnancy (apnews.com)

Pig Hogger writes: Following the recent "leak" purportedly from the SCOTUS, pundits are going overdrive imagining how the US could effectively become the proverbial Handmaid’s Tale totalitarian theocracy. But with modern information scooping and advert targeting technologies, "invisible" pregnancy-monitoring based on mobile-phone searches by pregnant women could effectively ferret out "clandestine" abortions whose perps (or beneficiaries) would be delivered to vigilantes or authorities to persecute in order to annihilate threats to "secure a steady supplies of infants".

Comment Re: The managers fear for themselves (Score 1) 289

Our scrums were done via conference call, but they made us stand up anyway. :-)

You know what, that's a great idea. I may implement it for my team, because our meetings are tending to last too long.

My parents have found the perfect way to make sure condo board meetings don’t last more than they need to: they hold them in the parking garage.

Comment Fuck wordpress and other CMS (Score 1) 19

Years ago, I made a website for someone. I coded it as I intended it to work, not like whatever weed the Wordpress developper wanted it to, and everyone's happy.

Years later, I was just perusing through the code, and I see garbage in essentially every script.

But the website was working perfectly well

Upon digging, I found out the host was compromised, and every script in every single account was infected with some malware that would only "work" with Wordpress.

Every malicious account got deleted. Mine was safe, as despite being infectred, it was not effective as it wasn't a Wordpress website...

And this is why I totally hate Wordpress and consorts.

Slashdot Top Deals

The biggest difference between time and space is that you can't reuse time. -- Merrick Furst

Working...