User Controls
Posts by Lanny
-
2016-12-03 at 8:22 PM UTC in Button to jump to last post of a threadI needed to cut content to get acceptable tap targets and spacing on 4" phones, the last poster column was the natural choice. I like not having to zoom to hit anything personally.
-
2016-12-03 at 8:03 PM UTC in The retarded thread: Fuck, §m£ÂgØL made one first editionWell for Germany at least that's just not true: https://en.wikipedia.org/wiki/Median_income#Gallup_gross_median_household_income
Your currency could be extremely valuable but if your adjusted median wages are lower it doesn't mean much. Also realize the numbers listed are median purchasing power, and remember how lopsided wealth distribution is in the US which drags our median significantly below the average -
2016-12-03 at 7:51 PM UTC in The retarded thread: Fuck, §m£ÂgØL made one first editionIt's not so overpriced when you're earning in barely taxed USD
-
2016-12-03 at 7:48 PM UTC in Problems with Django.(Lan you're the Django man)
Originally posted by Sophie Probably will need to fine tune it at some point. Now here are some problems, when i want to migrate what i have so far to the database here is what i am getting.
Sophie@Ubuntu:~/root_command$ python manage.py migrate
Results in the following.
File "/home/system/root_command/root_command/urls.py", line 24, in <module>
url(r'^main/$', views.main),
AttributeError: 'module' object has no attribute 'main'
Why? I have a main.html, or is it because i need to make a model for the main page as well? If so how do i do that?
So your urls.py is a mapping from url patterns to things that handle requests, django calls these views. The second argument to `url()` needs to be a function that takes a request object and returns a response object, it is not the name of an html file. So the immediate issue is that when you write `views.main` python is looking in the views model for a main function and failing to find it, hence the exception. So you can either comment out your second urlpattern as well or make views.main a function that just does nothing so it can at least be found in urls.py
Also note that templates (html files you want to serve as responses, so login.html and main.html) belong in `CNC/templates` rather than `CNC/static`.And on the subject of models what do i all need to make a model for. Keep in mind the purpose of the site.
So a model just represents a table in the database, so you'll want to make a model for every "type" of information you want to store persistently. So I imagine the only model you'll need is one to holds keys and who they go to. It will obviously need a column (field, from the django perspective) for the private key. If every bot deployed is going to have a unique username/password then you'll want to store a foreign key to the users table, if they're going to autogen ids or something you'll just store that in a charfield or whatever.
For viewing keys, django comes with a nifty admin interface, you've probably seen it before. The getting started guide details how to register models so they appear in the admin interface. That's probably plenty for your use case. -
2016-12-03 at 7:13 PM UTC in loli mad at her cat
Originally posted by Bill Krozby I read lolita years ago and saw an underaged girl in a bikini the other day on a longboard. I definitely know what a loli is.
Haha, well that quote's a keeper
-
2016-12-03 at 9:40 AM UTC in Are we getting spammed by bots?The issue with that kind of approach (as with "oranges") is that it works until someone makes the one line change to cater specifically to your forum. Not a bad idea as it generally increases the complexity of making cross-site functional spam bots but ultimately it can't replace captchas. More kicking spammers in the shins than a dependable defense.
-
2016-12-03 at 9:11 AM UTC in Spreading positivitystrong pass, it would cut into my drinking time
-
2016-12-03 at 9:08 AM UTC in Are we getting spammed by bots?Well I was thinking I'd concoct some sentence like "Is Bill Krozby not not a cuck on opposite day" when the page loads, so the correct answer would be no, leave the box unchecked, and then "has Bill Krozby's girlfriend not remained faithful to him" another time (answer being yes) and generate permutations of theses so the answer requires parsing an english sentence and understanding something about the mechanics of cuckolding which might be difficult for a computer. The issue occurs to me that with exactly zero effort a coin flip will be right 50% of the time so that's a problem but regardless, working the spirit of Bill Krozby's cuckoldry into it somehow is enticing
-
2016-12-03 at 7:50 AM UTC in Highest man ever
Shamby, your mom is kinda hot tbqhfabbq -
2016-12-03 at 7:47 AM UTC in Highest man everif you can't figure out how to type out a video tag you don't deserve to embed
-
2016-12-03 at 7:46 AM UTC in Internet addiction/forum obssssion is psychosisBill Krozby, you used to be kinda cute. Alcoholism sure did a number on you
-
2016-12-03 at 7:43 AM UTC in Girl claiming I got her pregnant,,, wtf help!!!!!!!!!!!
Originally posted by Iam she has a fiance….
Skip town, no matter who the real dad is she'll make him raise it. Everybody wins. Except him sorta, but whatever. -
2016-12-03 at 7:37 AM UTC in Turkey declares war on syria.You were in the army Bill Krozby?
-
2016-12-03 at 7:35 AM UTC in DAE miss zokletCan't say no to a guy just trying to help out his old man
-
2016-12-03 at 7:34 AM UTC in Spreading positivityHow the fuck is this an 80 post thread?
We're all terrible people wasting our lives on petty things in a world desperately in need of something better than more retarded flunkies who think they're geniuses or free spirits or whatever bullshit you tell yourself to justify your failures.
How's that for some positivity? -
2016-12-03 at 7:30 AM UTC in I have flu wat do
Originally posted by reject Whiskey and weed.
This is my go-to cold cure.
Drink some G&Ts too in case malaria -
2016-12-03 at 7:29 AM UTC in Hey
Originally posted by zok jr. what're you gay im a dude
He's super gay. -
2016-12-03 at 7:21 AM UTC in Are we getting spammed by bots?I went recaptcha because it's drop in and I have a secret hardon for jedigle. We'll see how it goes. There are a few more tricks I can try but I'd rather spend time on features and UI QoL adjustments.
I like the idea of the cuckbox though. Maybe I could wire something up to ask wether or not Bill Krozby is a cuck in some byzantine way with a random number of nested negatives. Might be a good weekend project at some point. -
2016-12-03 at 7:12 AM UTC in loli mad at her catThat's not loli, that's autism.
She's got a cute cat tho -
2016-12-03 at 2:28 AM UTC in Doug's next child/My forum futureOh shit. Bill Krozby, if you kick her in the stomach until your child oozes out of her vagina it'll be the best thing you've ever done for one of your kids.