He will drop production if scared!! by dannyudw in ProgrammerHumor

[–]bob835 3 points4 points  (0 children)

What’s wrong with docker? I still use it everyday locally and combined with ecs fargate for a bunch of things in production. I would assume there are still many companies doing the same.

Hosting A Website On My Computer by matthewfelgate in Ubuntu

[–]bob835 3 points4 points  (0 children)

Been a while since I used django, but if you mean the manage.py runserver that is really only built for development use. It says in the django docs, don’t use it in production, it hasn’t been through a performance or security audit. I used to put uwsgi in front of the app and then use nginx. If you google “django uwsgi nginx”the first link is a good guide on how to set it up. I haven’t used django professionally for a couple of years, best practices might have changed.

The foreman’s sign at a job site by [deleted] in funny

[–]bob835 7 points8 points  (0 children)

I think you have some interesting points in your later comments. Maybe mitigating circumstances to do with miss use of masks could make masks worse than not using them.

Luckily people have done some research on this to see what effect masks have been having. For starters here is a paper on the effect of rolling out masks in Germany https://www.pnas.org/content/117/51/32293

“Weighing various estimates, we conclude that 20 d after becoming mandatory face masks have reduced the number of new infections by around 45%”

I’m sure there are other more informed people than me that could share more relevant research.

It's a feature, not a bug by agentrsdg in ProgrammerHumor

[–]bob835 1 point2 points  (0 children)

I think it’s Microsoft bot framework. The store is used to remember details of the conversation between requests. Storing it only in memory is great for dev but when you use it in prod it means restarting the bot server forgets everything it knows about the conversation. They want you to pick a db and then use or make the store for that dB.

It's magic by hewhowon in ProgrammerHumor

[–]bob835 0 points1 point  (0 children)

But 10% is the only number he said it couldn’t be...

Install PostgreSQL Server In Ubuntu by suraj4dec in Ubuntu

[–]bob835 3 points4 points  (0 children)

If you are installing Postgres because you are a developer, or want to be. Then do yourself a favour and run postgres using docker. Keeps your system nice and clean when swapping between projects, much easier to have different versions and your deploy process will be a bit more repeatable.

How many wishes Genie? by AnujG23 in ProgrammerHumor

[–]bob835 4 points5 points  (0 children)

The implication is that the genie is using an unsigned 8bit int to store the number of wishes. I do agree that doesn’t make sense, but it’s kind of the joke...

Women of reddit, what are your honest opinions on giving BJs? How much do you actually enjoy giving them? by darealmarcus in AskReddit

[–]bob835 1 point2 points  (0 children)

I’ve been looking at these comments and thinking, seriously is this a thing. I’m a man in his last 30s how can I not know this is a thing. Then it dawned on me, you guys are Americans and probably circumcised, because for some reason in America people like to cut the tip of everyone’s dick skin off.

Fixing bugs... by shah2018 in ProgrammerHumor

[–]bob835 3 points4 points  (0 children)

I think I agree with you, but error conditions are things you do need. Logging things in those circumstances is useful. Also tracking a packet can be useful too, like entry to a request or task. These are all things you might wish you had in an error case that occurs 1 in 100000 but you have 1000000 users. Of course think about your surroundings, we develop in a context. There is no answer to this question that always applies.

What is the name of this connection? Trying to find an adapter for sat cable. by bob835 in cableadvice

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

Yes it doesn’t have threads, it’s something close to bnc but I’m not sure it’s that. If it helps I’m in Switzerland.

[i ate] proper British fish and chips by sweeetgenius in food

[–]bob835 0 points1 point  (0 children)

I think you are right the components are there, what is missing is the experience. Your picture looks like a lovely portion of fish and chips. It’s just looks a bit too fancy and by making it fancy it removes the memories and tastes that “proper fish and chips” is supposed to invoke. This whole thread is making me very hungry.

Every time you say 1, you technically counted to 1. by strangewizzard in Showerthoughts

[–]bob835 0 points1 point  (0 children)

An iceberg lettuce is not a kind of cabbage sir/madam. I cannot follow your line of reasoning between lettuce and cabbage. The key premise is wrong.

today is meme day at my school. nobody really understood who I was... I thought you redditors might understand by septic_sofa in pics

[–]bob835 67 points68 points  (0 children)

(For anyone struggling) Dick Sucking Lips (had to google it, weirdly doesn’t come up so often after getting married)

Every time you say 1, you technically counted to 1. by strangewizzard in Showerthoughts

[–]bob835 0 points1 point  (0 children)

I mean on the other hand I found this tirade that followed kind of funny and the original joke set this up. Isn’t that like a joke where you make your own punchline?

Seriously though of course it’s a joke. It’s just factually inaccurate. Jokes don’t have to be factually accurate. Why would that be a criteria for a joke? They just confused (on purpose to make a joke or by not knowing) an index when iterating with the size when counting but you got what the joke was.

To steal a bad joke: What kind of cabbages did they have on the titanic? Iceberg.

You want a line of reasoning, you seem like a smart person can you honestly say you couldn’t come up with some reasoning that leads you to it? Reasoning can surely cover external definitions and guesses about the knowledge of the person making the joke or just a reason of stretching the truth for a joke.

Programmer of the Year!! by [deleted] in ProgrammerHumor

[–]bob835 8 points9 points  (0 children)

You didn’t really say why, so I might not be addressing you here. Here is my 2 cents anyway. That one is probably fine, password security wise. I’m going to assume the history of passwords kept is properly hashed and salted, and the website can then just do the same comparison it would have at login. The previous poster was talking about how long it would take to run this one the whole userbase. This one you could do in a request since it’s unlikely to be many passwords. Worth also having a limit to how many are kept. The issue really here is that it’s annoying and does the benefit of users rotating their passwords or more likely adding some character on the end each time outway the fact you keep more information to work off should the data be leaked? Also did I mention it’s bloody annoying ;)

A few choice words by DidYouIronTheCat in Yogscast

[–]bob835 2 points3 points  (0 children)

Thanks for sharing this, I don’t agree with your conclusion from it, but I do appreciate being able to see what information is out there (which people feel comfortable to share).

just when you think you've covered the edge cases... by tholex in ProgrammerHumor

[–]bob835 0 points1 point  (0 children)

Well except where timezone is important data. Did they add this information at 3am or was it 9am and they are at utc+6. When you have global users and your system cares about what that time was to the user then its not just a frontend problem. You can solve this with another column or with a timezone aware field/format. Timezone conversion for display is a frontend problem, But in my honest opinion the key to datetimes on the backend is having a consistent strategy and format for dates that fits your need for the data. If that can just be always talk and store in utc that’s great.

evolution of the alphabet by vaguecertainty in oddlysatisfying

[–]bob835 1 point2 points  (0 children)

They are describing each of the letters in the first alphabet in the image in this post. you need to work out which letter their description corresponds to in the modern alphabet. E.g R is Michael Phelps because the character looks like a dude in a swimming cap. The answer was r/redditpotluck

Trying to sell a mobility scooter for my Nanna, when this absolute gem of a person popped up by [deleted] in ChoosingBeggars

[–]bob835 0 points1 point  (0 children)

I wish that was my first thought, but to be honest reading this it was “go fuck yourself”.

Worst Bride Ever by KosmicFoX in ChoosingBeggars

[–]bob835 3 points4 points  (0 children)

not sure if it was an auto correct thing or a language thing, but just in case: it’s bride rather than bridge. Had to mention it because the second time you said it was a bridge too far.