« first day (1523 days earlier)      last day (3429 days later) » 

12:01 AM
So, yeah. Somehow you have a db migration that hasn't happened. Is there a typo in or around your article field definition?
Like, manage.py migrate bails out when you run the migration???
Atom shit out on me because one plugin wasn't working. So, maybe one of your imports is bailing in something related to article and it's screwing everything up because the exception is handled in a "Silence infidels" sort of way.
 
manage.py makemigrations was enough though
 
Well good then. I thought you already tried that.
 
I mentioned that because it is not on the wiki
 
assumptions
 
xD
I'm listening Depech' Mode
 
12:05 AM
<.<
 
 
Don't shop between November and January with a credit card. Problem solved.
 
at least they didn't put him in a hoodie ;)
 
@Mateo I saw something hilarious related to that... HOW HARD IS IT TO DRINK MOUNTAIN DEW AND TYPE IN A HOODIE INSIDE A SERVER ROOM... YOU SWEAT TO DEATH
 
Isn't him Zorro's son?
 
12:09 AM
lol
 
suddenly realize nathan isn't around
 
I saw when he dropped out. He likes intellectual discussions. He usually disappears when it goes in this direction.
 
@NathanOsman you should recheck the python version you were using, it is not nearly working here
I need to add middleware classes & ROOT_URL into settings.py
 
Oli
I'm in the process of upgrading just over 20 sites from Django 1.4 to Django 1.7. This chat room is not for me tonight.
 
are you kidding? This gonna be your jam :p
 
12:17 AM
@Lucio Hah... it's not the python version. It's the django version... or a combination.
 
Are you using the latest checkout from the 2buntu Git repo.?
I thought we fixed that one a few commits ago.
 
pure git clone over master
 
Oli
@Lucio If you only knew the fun of chasing up backwards incompatibilities...
 
Hmm... that's really odd.
 
@hbdgaf Django>=1.7 stated on requirements.txt
 
12:19 AM
Yeah, it should just work.
 
@Lucio That doesn't mean the first deployment started that way... or that everything is clean and proper on the server like a new deployment. It just means it's supposed to want that :/
 
Are you sure it's not the pre-release Django 1.7?
(Taking stabs in the dark here.)
 
Fair point @NathanOsman
 
@NathanOsman reply that
 
:P
Yup, you've done everything right.
Do you get a shell if you run './manage.py shell'?
 
12:22 AM
yep
 
Well, that's a good sign... I guess.
 
take into account that without a twobuntu.settings file I get "Bad request 400"
so I need to rename local_settings.py to settings.py
 
Oh, no - don't do that.
It needs to stay as local_settings.py.
There are two settings files - and both are important.
 
Is it because of using a deployment scripts and not using juju deploy? I could see that doing it...
 
For example, this is where ROOT_URLCONF is declared.
 
12:26 AM
wait a second..
that was strange..
 
Oli
No, screw this. Django 1.6.8 will do for today.
 
jrg
@Oli Yeah, I get to do the same thing for Rails.
 
I didn't saw the settings.py file, and the mv command replaced the original one
 
jrg
That's tomorrow night. All 4 applications.
All of which have 10+ external deps that may or may not be compatible.
One has 80 different libraries. :P
 
Oli
@jrg Django has changed how its authentication database model is structured (so you can replace it) and that means everything that accessed the old User model now needs different code... Well sort of.
 
12:30 AM
you in worst case scenario @jrg
 
jrg
@Oli Oh brilliant!
 
Oli
It's times like these I think I don't charge my clients enough.
 
jrg
I definitely don't get paid enough. :P
 
@Oli and this is why flask is a good idea. modular. not monolithic. so your changes hit a piece at a time not all at once.
 
Oli
Bah. The cohesion works really well until everything changes.
 
jrg
12:31 AM
Not a client anymore, so I get healthcare instead of 1.5x pay. (woooo)
 
I had a Django 1.7 feature backported to 1.5 last year for a client :P
 
jrg
@NathanOsman self-rolled patch?
 
you get all the django-orm fancy-pants-ness with flask-sqlalchemy and all the templating with jinja. so, I really don't see the benefits much. saying everything is awesome until it's not isn't exactly an argument.
 
@jrg In a way...
@hbdgaf I've worked with SQLAlchemy, Flask, and Jinja2 a lot. It's a nice combo.
 
i guess it's needs a more consistent wrench, but when you always turn the wrench, the OH GOD I HAVE TO PICK UP A WRENCH!!! isn't so bad.
@NathanOsman I'm liking it.
 
12:34 AM
@NathanOsman fixed things up
 
I worked with one of the guys that created WTForms, so obviously, we used that.
 
dunno how to debug that
 
@Lucio That's a really easy one.
 
@NathanOsman sends a digital hug
 
O.o
 
12:35 AM
You've got DEBUG set to False and since you're not accessing it via 2buntu.com, it throws an error (unrecognized host).
Just set DEBUG to True in local_settings.py.
 
Simple problems are simple.
 
Yup, that's a very common one with Django.
 
wildcarding for getting stuff running then specifying and having everything fall apart is common too.
 
\o/
 
12:38 AM
haha, I needed to read the title in order to remember it
BTW
/twobuntu
|
-- /app1
-- /app2
-- files
Why does it have this tree structure?
 
shakes head and goes back to what he was doing...
 
/app1
/app2
/site
|
--files
that's who django tutorial say it should look :S
 
@Lucio It's complicated.
Glad you got it working though.
 
thank you for the help :-)
 
No problem.
 
jrg
12:45 AM
@NathanOsman didn't you build a fig docker container to simplify dev?
 
Oli
Wait, are you using Postgres for a blog engine? SQLite3 is plenty fast for production on simple databases (and makes dev deployments a lot more simple!) I've had 100k views in a day go through on ~1% CPU. I wouldn't touch Postgres unless you a) need obscure features (eg GIS), b) webscale or c) have and are processing massive amounts of data.
 
meh..
 
jrg
@Oli yeah, we're using pg.
dunno why.
 
My neck is hurting by now
 
jrg
at work we use it because hstore.
(gosh, hate the use of hashes EVERYWHERE)
 
12:59 AM
have a great weekend guys
ciao
 
Oli
1:14 AM
There is something nice about digging through code you haven't looked at in half a decade. Past Oli was a lazy jerkhole and I love swearing at him.
6
 
 
1 hour later…
jrg
2:23 AM
No wonder everything is so slow...
 
2:36 AM
0_0
 
@Oli: does SQLite provide schema modifications in transactions? I don't even think SQLite supports all types of schema alterations.
 
jrg
2:52 AM
@JourneymanGeek Yeah, so finally brought the system CPU temp down from 86C.
it's now at 68C
and it'll only get cooler as the room gets colder (yay winter)
 
I thought of putting my PC outside during -30° weather and really overclocking it...
As long as the air intake was far away from where the hot air was being blown out, I'm convinced I could easily take this CPU from 3.6 GHz to at least 4.2 - maybe even 4.5.
(I'm not actually going to try that.)
 
3:08 AM
makes more sense to have a vent from the outside
 
Oli
@NathanOsman Database features might be worth considering if we were talking about anything other than a blog. Seriously, it could as well be flat file.
 
@Oli Our blog goes through a lot of schema alterations. Like a lot.
I don't think SQLite even does ALTER COLUMN.
 
Oli
At dev time? That's fine. That's what South is for.
(or Django 1.7's migrations)
 
We use Django 1.7, so no need for South anymore :P
Well, for fun, it might be worth benchmarking the two both running under our load to see how well each performs.
We don't get a lot of traffic - certainly not enough to make the database the bottleneck.
Hey, cool. I have IE5 installed in a VM.
 
3:37 AM
98 or 2k?
 
 
3 hours later…
6:36 AM
@NathanOsman Not to mention sqlite chokes on bulk writes, so if you ever work around some massive dedupe or new db table/file in some way that requires a lot of writes - it pukes.
postgres ftw.
 
7:06 AM
Another reason we need PostgreSQL - we're eventually planning to do replication.
SQLite doesn't do that.
 
7:58 AM
0
Q: ubuntu does no let me log in to my user, how can I fix it?

Jash linoMy ubuntu has just crashed. Now that I restarted it, it does nothing when I enter my password. The screen just gets refreshed leaving the password space empty again. However, if I try to enter a wrong password, it recognize that it is an invalid password. There is also a weird white box around th...

 
 
4 hours later…
12:22 PM
can anyone here nuke this pls
/me not sure about it whether it's off-topic or on-topic
 
Oli
@hbdgaf Again, that's just never an issue for a content-displaying site. 99% of views should be read only (or close to). Caching should mean that actually at least 99% of those aren't even touching the database at all.
And when you do need to bulk-write, do it in a transaction and it'll fly.
 
Tim
12:45 PM
Is anyone else having warnings with Ask Ubuntu on chrome? if I go to www.askubuntu.com it says it is unsecure...
 
not me
 
Tim
just askubuntu (no www.) is fine tho... :/
 
Oli
@Tim I get NET::ERR_CERT_COMMON_NAME_INVALID in Chrome.
 
Tim
I get this:
 
Oli
They're sending the stackexchange.com certificate, that's why.
 
Tim
12:49 PM
so yeah same problem...
should i post on meta?
 
Oli
Same in Firefox actually. I just never use the www.
Hmm, Firefox is a little more explanatory. The certificate was issued for: stackexchange.com, askubuntu.com, meta.askubuntu.com, stacksnippets.net, careers.joelonsoftware.com, discuss.area51.stackexchange.com, mathoverflow.net, meta.mathoverflow.net
 
weird I have no problems atm :P
 
Tim
Hmm it's because I got a new new tab page and i set the link to be www. I've changed it now but the problem is still there
 
Oli
@Rinzwind Are you sure you're on the right subdomain and using ssl?
 
lol
 
Tim
12:51 PM
And firefox is not giving any error, it just redirects to no www. and loads the page
oh hang on cos im not logged in there
 
@Oli got it now by doing it manually
 
Oli
@Tim But yeah, post a bug
 
Tim
this meta or se?
 
1:06 PM
MSE i think.
 
Tim
1:27 PM
It's a dupe. Been since Jun 27 '13
...
>:-(
 
2:27 PM
0
Q: What about gaining money on askubuntu

bleancook.5If we put ads on the askubuntu, then some helpers, users that answering the questions as a volunteer; they earn some money. This will make askubuntu hum i think. What do you think?

 
3:13 PM
0
Q: Debootstrap for Backbox Error with release file

l2mtI'm trying to install a BackBox (Ubuntu based) chroot environment with debootstrap using the following command: sudo debootstrap --variant=buildd --arch i386 trusty /MYJAIL/ http://ppa.launchpad.net/backbox/four/ubuntu and I get the following error: E: Failed getting release file http://ppa....

 
 
1 hour later…
4:21 PM
http://askubuntu.com/users/353416/bleancook-5

Account should be flagged
 
I can't access the site because too many requests from my ip?
 
 
2 hours later…
Oli
6:10 PM
@jokerdino SE were testing out Cloudflare integration on us the other day that made us all look like we were coming at the site from the same IP. You might be catching the second wave of that.
 
I am having this issue across the network. Weird.
 
your account looks clean..
 
I didn't do anything.
 
Claiming innocence now eh? Sounds suspicious :P
 
maybe your Internet company assigned you a bad ip?
I would reset the modem/router and try again
 
6:37 PM
I just got an accepted answer withing a minute of posting :P Might be a new record for me _O-
always good to gain rep while playing dragon age inquisition. now with TWO castles
 
 
1 hour later…
8:09 PM
hi can any buddy help me to solve this askubuntu.com/questions/555079/…
 
@Kalpit what happens if you do:
sudo apt-get install php5-mysql
 
i getting following error
The following packages have unmet dependencies:
php5-mysql : Depends: php5-common (= 5.3.10-1ubuntu3) but 5.3.10-1ubuntu3.15 is to be installed
E: Unable to correct problems, you have held broken packages.
and when i am trying to install php5-commin its saying its up-to-date
 
8:24 PM
@Kalpit Do you have any PPAs installed?
 
looks like it wants an exact version, an you have a newer one
 
PPAs? can you brief me?
 
software center -> edit -> software sources -> other software -> what is listed there?
 
The output of ls /etc/apt/sources.list.d would be helpful too.
 
source.list.d is giving outpu : google-chrome.list google-chrome.list.save
@Mateo some of the options were uncheck and i tick all of them and now its updating cache it seems
 
8:34 PM
how about apt-cache policy php5-common phpmyadmin php5-mysql.
 
well, ok. not really what we were going for.
 
Please paste the entire output into chat.
 
php5-common:
  Installed: 5.3.10-1ubuntu3.15
  Candidate: 5.3.10-1ubuntu3.15
  Version table:
 *** 5.3.10-1ubuntu3.15 0
        100 /var/lib/dpkg/status
     5.3.10-1ubuntu3 0
        500 in.archive.ubuntu.com/ubuntu precise/main amd64 Packages
phpmyadmin:
  Installed: (none)
  Candidate: 4:3.4.10.1-1
  Version table:
     4:3.4.10.1-1 0
        500 in.archive.ubuntu.com/ubuntu precise/universe amd64 Packages
php5-mysql:
  Installed: (none)
  Candidate: 5.3.10-1ubuntu3
  Version table:
 
I'm not really good at this stuff but something looks a little off with your php5-common..
You're running 12.04?
 
yeah
i have tried with apt-get php5-common but its saying you are running updated version
 
8:40 PM
Can you get apt-get check too please?
 
sure
 
Even if we can't fix it now, editing that info into your question will help someone else get you an answer.
 
8:56 PM
problem solved
Thanks @Seth and @Mateo
this has solve my problem
software center -> edit -> software sources -> other software ->
some of the options were not ticked so it was not allowing to install new packages
 
well, glad that worked, not sure how, but it is good you are back on track
 
yeah it was breaking my head from last 1 hour and finally got ride of it
 
Glad you got it fixed :)
 
:)
 
 
3 hours later…
11:34 PM
o/
 
o/
Anything interesting today?
 
Playing Christmas music... does that count?
 
I hope you enjoy it. I've grown through my work in retail to detest the holidays.
 
11:49 PM
I hear you - I can't stand what they're playing in stores either. Here's what I'm listening to: play.google.com/music/m/B7uck5vyfvlb6zt6j5r5lboi7bq
It's not your typical gentle Christmas music.
 
The only "christmasy" music that I still like it mannheim steamroller and a couple of renditions of greensleeves
 

« first day (1523 days earlier)      last day (3429 days later) »