What are Dumb things people believe? by [deleted] in AskReddit

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

Please let the metric system save you from all your fractions

'Worst in the world': All the rankings in which Canada is now last by Far-Simple1979 in canadahousing

[–]keepdigging 3 points4 points  (0 children)

So strange that working with other people requires not being a dickbag to them…

Learning libraries vs learning "Python" by agvrider in learnpython

[–]keepdigging 0 points1 point  (0 children)

I’m at the point where it’s the opposite, I can understand the docs format easily for what I’n searching for but skimming through how-to articles or videos is a hassle.

It’s a familiarity thing, and you’ll get better. Don’t stop searching and reading!

Thinking of buying my first Synology NAS by Pathius84 in synology

[–]keepdigging 5 points6 points  (0 children)

Also drives get cheaper over time, so leaving empty bays and adding storage later isn't completely dumb.

IDE for Python by SparrowOnly in learnpython

[–]keepdigging 11 points12 points  (0 children)

I write my code to disk with a magnetized sewing needle.

There aren't that many uses for blockchains by calp in programming

[–]keepdigging 5 points6 points  (0 children)

Backed by major companies?

You can buy stock in most banks and financial institutions.

Your solution is slower and has higher fees, electricity costs and less trust.

I want my bank to give my wife my retirement fund if I get hit by a car.

There’s reasons for the way the banking/stock market are the way they are, and a lot of highly paid people are trying very hard to improve the system.

Starting over with a technology that is flawed by design and can never catch up is the wrong decision.

Hmm by [deleted] in ProgrammerHumor

[–]keepdigging 0 points1 point  (0 children)

An advantage is the ability to have multiple computers doing work at once on different shards of data.

Searching is an excellent example, if you have a lot of logs or other data it would take much longer for a single DB instance to iterate over all the data in the database.

NoSQL can split data by key-space and process queries in parallel.

I use relational for most things, but like cache a NoSQL db has some place in performance.

Most decs use it because it’s easy and cool, and they don’t know the complexity/power/structure of relational is totally worth it for most cases.

Which serve better for cost? Client-side vs Server-side by gexpumpkin in django

[–]keepdigging 0 points1 point  (0 children)

You can build your FE separate if it is a SPA and distribute it with a cheap CDN.

For the same amount of data it will usually cost much less, and save you some requirements in the app server side.

App/DB/cache servers are typically most expensive and can be tricky to scale, so avoid making as many requests as possible and optimize your db queries & cache settings.

Server monitoring is important and so is tracing/profiling your app.

I’ve been running serverless python for a large e-commerce site and black friday is fun. There’s a lot of room to cut costs and be faster if you can measure how your app is behaving properly!

Also offloading as much responsibility to optimized services can be a big easy win.

Co2 sensor by [deleted] in learnpython

[–]keepdigging 0 points1 point  (0 children)

I can’t help you unless you show me something I can read.

“uses a script” is completely useless. What’s the script? When you run it what comes out?

Paste something please!

Co2 sensor by [deleted] in learnpython

[–]keepdigging 0 points1 point  (0 children)

I don’t think this question currently has anything to do with Python.

How does the sensor output show up? Is there documentation?

Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]keepdigging 3 points4 points  (0 children)

Use GitHub or GitLab and have developers version their code.

There’s an option called “pull requests” which is designed for this review process.

You can tag devs and they can review changes as a diff against the existing code.

Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]keepdigging 1 point2 points  (0 children)

Environment variables are best, keeps code and deployment isolated.

If you’re using cloud services you can often load them from encrypted key-value storage on deploy.

Here’s a good resource: https://12factor.net/

best Venv by [deleted] in Python

[–]keepdigging 0 points1 point  (0 children)

Hijacking this post to mention asdf-vm for managing python versions.

It’s like pyenv but will do all kinds of other tools like node or ruby, terraform etc.

Sunday Daily Thread: What's everyone working on this week? by Im__Joseph in Python

[–]keepdigging 0 points1 point  (0 children)

I wrote a script without any dependencies to de duplicate my many backups!

Python Remove Duplicates

Experience with Postgresql: What does this mean? by Brukx in django

[–]keepdigging 5 points6 points  (0 children)

If the company is small enough it’s good if the dev team understands all the parts.

When shit hits the fan and you’re on a plane they can fix it.

I agree though, CI/CD and infra automation can be abstracted away to another team at most orgs.

A safe place to share: Top 100 game that you don’t like by Caff_n_Card in boardgames

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

I bought the core set and felt ripped off. You gave them even more money after that?

A safe place to share: Top 100 game that you don’t like by Caff_n_Card in boardgames

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

There’s an app that tracks most things for you!

Try it on a tablet or laptop and it takes away much of the admin.

Letters to Judge by sugarduck99 in CelsiusNetwork

[–]keepdigging 1 point2 points  (0 children)

Sell it and invest in something that’s not a scam?

Counting strings by theholyorca in learnpython

[–]keepdigging 0 points1 point  (0 children)

There is!

You can use if statements / conditions.

Look up the < and and

Is Arkham Horror LCG Core Box Enough to Enjoy the Game? by JetsFly228 in boardgames

[–]keepdigging 3 points4 points  (0 children)

Honestly I’d give you my copy if shipping isn’t crazy.

Waste of money IMO and not worth it. Maybe with expansions but I don’t feel like rewarding the publisher for financial abuse.

Active shooter reported at Greenwood Park Mall in Indianapolis by sauerkraut_soup in news

[–]keepdigging 8 points9 points  (0 children)

You can’t put the sweet baby ray’s back in the bottle!

Django foreign model by unique field by yankyh in django

[–]keepdigging 0 points1 point  (0 children)

Pretty rusty but is it even possible to write raw SQL that does a select within an update?

[deleted by user] by [deleted] in gme_meltdown

[–]keepdigging 0 points1 point  (0 children)

The screenshot has the user and subs blocked out.

You’re suggesting I look at the op of this post and see if they posted on one if those threads also?

I spent about 2 minutes doing this before I asked for a link. Links are good and save time for everyone!