Python and Django nut. Dreamer at @escape_horizon. Creator of @sequelsermon. Senior Python/Django consultant for @TangentZA. Christian.

South Africa
Joined May 2009
If you set "choices" on a Django field, this is not applied on a DB level. And even though Django generates a migration if you change those options, nothing is changed in your DB. #django
2
0
0
0
Making scrambled egg with one egg is like having an array with one element and then randomizing the order. Pretty useless.
0
0
0
0
About 12 years ago I made my first serious attempt at building a side project. It was a list app with some todo-like functionality. I had just started learning Python and Django and I focused exclusively on the code of the app. No research. It's what developers do, right?
2
0
0
1
But at some point I realised I had half a product (maybe not even that), no idea if anyone would ever pay for it, and many doubts about whether I was spending my time on something useful. Big surprise - my first side project failed even before launching. My take-aways?
1
0
0
1
1) Just because you have a "good" idea for something that you can see yourself using, doesn't mean that everybody else will think it's a good idea too. And even if they do, it doesn't mean they'd be willing to pay for it.
1
0
0
1
2) If you start by building the product, by the time you launch you will have spent countless hours on something that might not succeed. Of course you can never be sure, even with research, but rather first get (or try to get) some validation for your idea.
1
0
0
1
3) Prepare to abandon many ideas. Sure, it's sad. Those ideas were crafted lovingly in your mind for a long time. But if they don't work, they aren't worth anything. I'm sorry. It's tough, I know.
1
0
0
0
4) Keep your expenses to a minimum in the early stages. Sure, you might think, "It's only a few dollars", and it is, but if your idea fails, you might feel that you wasted money - and that only adds to the disappointment. So keep it lean early on.
1
0
0
1
5) You probably need to build an audience before anything else. I hate to say this. But that's how this world works. Yes, I wish that "marketing" wasn't necessary, and that people would just automatically discover your great product. But you have to face reality.
1
0
0
1
So. Side projects are hard. And it might take a while until you can start with coding. Remember, patience is a virtue. ;-)
0
0
0
1
The difference between "null" and "blank" on Django models? They are related, but "null" is applied on a DB level, and "blank" is applied on a validation level. For example, if "null" is False and "blank" is True, it means you can input a blank string into that field. #django
0
0
0
0
Helmut Irle retweeted
Some tips for running a small business where one person is solely responsible for responding to all support requests. 1. Anticipate the question. Many support threads are submitted because, even if you think it's clear on the website, it's not. I've made this mistake many times.
5
21
2
150
Show this thread
In Django, sometimes you have a model method that filter on a related (M2M) model. But what if the originating queryset used prefetch_related? Then you are creating extra queries. But also, if you assume it was used, and it wasn't, you're retrieving more than you need. Solution?
1
0
0
0
You can detect whether a prefetch was done on a model instance, and then handle your logic appropriately. I'm busy writing up the details and will share soon. #Django
0
1
0
1
I believe that "Mark as read" reveals a design mistake in email clients. Most people treat the "unread" flag more as a "to be actioned" flag. "Mark as read" to them means "doesn't require my attention"; it's a work-around. The feature should be named better, e.g. "acknowledge".
1
0
0
0
If all email clients removed/renamed the "unread" flag, we wouldn't be worse off, as long as we can acknowledge an email or mark it as needing attention.
1
0
0
0
Of it wouldn't work realistically, because we're so used to the feature. Many people would be up in arms, just because they don't like changes.
0
0
0
0
Helmut Irle retweeted
[Year 1440] Johannes Gutenberg: I've invented this printing press. Printing Press: You're out of magenta.
24
634
25
2,743
Yes, there are haters whose criticism will be invalid, but let's be careful not to throw out the baby with the bath water.
0
0
0
0
Show this thread