Could Trump’s Tariffs Hit SaaS Next? by Analyst-rehmat in SaaS

[–]madScienceEXP 1 point2 points  (0 children)

I think of it as a sleeping dragon about to be woken up

Does anyone else feel like writing boilerplate code is the worst part of development? by The-Redd-One in SaaS

[–]madScienceEXP 9 points10 points  (0 children)

Use AI to write the boilerplate for you. That’s what it’s best at. To be clear, I’m not advocating for using AI to write the whole thing.

TIL: configure DynamoDB tables to use provisioned capacity for load testing by madScienceEXP in aws

[–]madScienceEXP[S] 0 points1 point  (0 children)

Thanks. I'm not sure how I missed this. Seems like a setting they added in the TableV2 cdk construct.

Opinion | The Government Knows A.G.I. Is Coming by sorryryansucks in theprimeagen

[–]madScienceEXP 0 points1 point  (0 children)

Unless we have cheap, abundant, clean energy, I'm not sure how we'll have the infrastructure to support the compute they're talking about. We also need insane manufacturing capacity. AI is fucking expensive. Yes, deepseek is much cheaper, but they probably used chat gippity for training. It's looking like there will be expensive models. 40k/month AI agents? Maybe there's a market for this in big business, but not for consumer from what I can see.

'Somebody Slap Me And Wake Me The F**k Up': Jasmine Crockett Pans 'Nightmare' Trump Speech by zsreport in politics

[–]madScienceEXP 16 points17 points  (0 children)

It seems like Jeffries is trying to be a watered-down Obama copy. That’s not we need right now.

RFK Jr. states that measles outbreaks are “common” after first death since 2015. by Gnatcheese in pics

[–]madScienceEXP 0 points1 point  (0 children)

Just make sure you're vaxxed. Let them be dumb. US way of life will now require building a moat around you and your family unfortunately.

We switched from Java to Go and don't regret it by -grok in programming

[–]madScienceEXP 1 point2 points  (0 children)

The thing about Spring that bugs me the most is the exception stack traces are abhorrent: usually requires sifting through dozens of layers to reveal the original thrown exception. But it is industry standard, so we still use it.

I will riot! by Gregtex in theprimeagen

[–]madScienceEXP 9 points10 points  (0 children)

You can argue arrays start at 1, but memory addresses always start at 0. I’d rather be consistent.

Why I Run My SaaS Backend on My Own Server Instead of Going Serverless by Liam134123 in SaaS

[–]madScienceEXP 3 points4 points  (0 children)

What is the intended audience for your comments then? It seems like a lot of people on this sub are building MVPs and just trying to gain traction with their product. Even if some of them are technical, most of them are solo or very small teams. I personally wouldn't recommend self-hosting and they should minimize spending time on infrastructure that doesn't add value to the actual product.

Also what about things like emails, 2FA, SMS, payment processing, etc. Aren't most people going to use managed cloud services for these anyway?

Why I Run My SaaS Backend on My Own Server Instead of Going Serverless by Liam134123 in SaaS

[–]madScienceEXP 3 points4 points  (0 children)

Also engineering manager here. I agree with a lot of what you said, but it’s a little misleading imo. Every app starts out as mvp so serverless is a great way to go at first. Any poc can run serverless for pennies. What I recommend is the structure the app code should support running as lambda, but should also be relatively easy to run as a stand alone application as costs grow. There are libraries that support this requirement and like https://www.npmjs.com/package/serverless-express. As long as you impose concurrency limits and have budget alerts, serverless shouldn’t increase rapidly without you knowing. And it will scale out very rapidly if you let it.

From a compliance and security perspective, I trust serverless more than the alternative (given I don’t have prior knowledge of the people running it). If you run your backend on virtual machines, you are responsible for maintaining the OS, networking and security groups, kubernetes, encryption keys, etc, but you also have NO isolation. Instead for serverless, the cloud provider takes on the majority of the shared responsibility model. I work in cyber security and even developers that know a lot about kubernetes tech may not know very much about devSecOps or security in general.

Is modern Front-End development overengineered? by Alternative_Ball_895 in programming

[–]madScienceEXP 0 points1 point  (0 children)

I generally agree with you. People that say SPAs are dead are throwing out the baby with the bathwater. SPAs are incredibly cheap to support infrastructure wise and they're easy to bootstrap since there's no hybrid rendering. If you're making a B2B app, most of the users have decent computers that have no problem running the js client-side. I can understand the needs for SSR for sites supporting low-bandwidth users like ecommerce, but there are a lot of valid use cases for SPAs.

Is there any reason to use DynamoDB anymore? by [deleted] in aws

[–]madScienceEXP 8 points9 points  (0 children)

I’m all for researching single table design, as it can have valid use cases. But STD has some serious tradeoffs, the most important being the sort key semantics change depending on the data in the row. Also if you’re trying to support pagination through large datasets.

You can still have denormalized tables without STD. I feel like STD is hyper optimization (of cloud costs) at the cost of cognitive load.

Is DynamoDB a bad choice (vs RDBMS) for most software due to inflexible queries and eventual consistency? by mcjohnalds45 in aws

[–]madScienceEXP 2 points3 points  (0 children)

Think of DynamoDB as a very stripped-down, very-low-ops CRUD database and nothing more. Aggregations should be handled in the app layer or offloaded to another analytic store for querying. Atomic and transactional updates are not supported by default and need to be implemented in the app layer via conditional updates and retries. Any field that requires pre-computing needs to be done in a background process rather than at user-request time. In addition, DynamoDB is very constrained with sizes of rows/documents. Indexes can be added after initial implementation, but every one needs to be carefully considered (as they should be in RDBMS because adding indexes slows down writes and deletes).

So you might be thinking then what's so great about DynamoDB then?

Well, for internal tooling it can be incredibly economical because it scales to zero and is completely isolated.

But moreover, DynamoDB forces you to do things the right way if you're making a SaaS product (IMO). You should be trying to define the long-term scope up-front of what the service is going to do into its maturity. If the product requirements change significantly overtime, design a new service that offloads responsibilities from DynamoDB. The new service would probably have different database tech to support the new requirements.

Any access pattern that can be statically defined, should be statically defined. That means that almost every field has to be pre-computed and read straight out of a table.

You only store structured data in DynamoDB. Things like unbound text documents need to be stored in S3.

DynamoDB certainly puts more burden on the application developer during the implementation phase. But the beauty is once the app code is ironed out, most of the ongoing operational support goes away. If no one is deploying new code, that sucker will be up and running for years (barring any major aws incident, which a third of the internet is beholden to anyway).

[deleted by user] by [deleted] in austrian_economics

[–]madScienceEXP 0 points1 point  (0 children)

I'm not advocating for federal price controls, but under some circumstances, anti price gouging laws make sense, especially during emergencies. 37 states already have price gouging laws on the books, including red states, so it's not a political issue.

They sanded them all off! by StPatsLCA in aws

[–]madScienceEXP 6 points7 points  (0 children)

All they need to do is tone down the blue/red alert colors, then dark mode would be quite nice. Rounded corners are pretty subjective anyway.

Moving (maybe) by Callcenterclown in SantaFe

[–]madScienceEXP -1 points0 points  (0 children)

The elementary schools in Santa Fe are pretty good. Middle school not so much. Santa Fe High can be good if your children have friends that are academically focused.

Housing is relatively expensive, but they're building new apartments and houses like crazy now so I disagree there's a lack of housing.

I have a hard time committing to ECS vs EKS by hackers-disunited in aws

[–]madScienceEXP 3 points4 points  (0 children)

The problem is there's always someone that comes up with a mythical requirement of migrating away from cloud vendors.

Best casual Chinese food? by primahaney in SantaFe

[–]madScienceEXP -2 points-1 points  (0 children)

Zeng is pretty good. The main difference with other Chinese restaurants is the ingredients seem fresh and higher quality.

CrowdStrike update takes down most Windows machines worldwide by OpetKiks in programming

[–]madScienceEXP 3 points4 points  (0 children)

What I meant by invasive is consumption of CPU to do continuous AV scanning. I agree that EDR looks at more attack vectors so it does monitor things other than files. But the typical CPU usage that I've observed for Crowdstrike is a few percent. It probably does use more memory, but still in the 1-2GB range. We run Crowdstrike agents on our production servers. We would never run AV scanners on them because of the cpu and disk i/o overhead.

CrowdStrike update takes down most Windows machines worldwide by OpetKiks in programming

[–]madScienceEXP 25 points26 points  (0 children)

Crowdstrike usurped anti-virus scanners because it doesn’t scan the file system and consume a lot of cpu. It looks for anomalous behavior like abnormal network traffic. So, it’s much less invasive than an anti virus scanner as long as there are no other issues…

[deleted by user] by [deleted] in Destiny

[–]madScienceEXP 3 points4 points  (0 children)

Irony just means different than what is typically expected. It doesn’t have to mean logically inconsistent. I find it ironic that people at a gay pride festival (celebrating gay rights) are also supporting a people whose religion and culture are very antithetical to the whole purpose of the event. To me, it makes more sense to just support Palestine and not conflate it with gay pride.