« first day (1175 days earlier)      last day (3790 days later) » 

4:01 PM
mehhhh
Please tell me I have a root login on this machine…
If I have one, I have it written down on this piece of paper which I totally cannot find.
 
cpx
Can I have the list sorted according to the way windows does for example: ['1', '5', '10']?
>>> l = ['5', '10', '1']
>>> l.sort()
>>> l
['1', '10', '5']
 
Whoo! Found that piece of paper—with a password!
 
cpx
@poke: How did you find the question so quick? Just curious :)
 
I literally entered “natural sort python” into SO’s search ;)
Guess it helps that I know that the sorting is called “natural” :P
mount: cannot remount block device /dev/sda1 read-write, is write-protected
MEEEEEH
I can’t even open manpages sigh
 
Umm.... is it an important server? :)
 
4:13 PM
Well, not exactly… it just runs the stuf for my master thesis…
I wish I could just go there and pull the plug, but nope. It’s ~30 kilometers away, behind a door which I have a key for, behind another door which I don’t have a key card for, behind another door which I don’t have a key for. So, yay, weekend.
 
adn a shutdown -r won't work ?
heya @FMc
 
I’m backing up some files right now.. you never know..
 
Well, if it ain't going to restart now - it ain't going to restart after a 30km journey... so yeah, maybe a backup and fingers crossed suck it and see restart :)
 
Thanks @JonClements
 
Cool, scp doesn’t work either… xD
@Jon Ahaha~ -bash: /sbin/shutdown: Input/output error
Trying this now… fingers crossed.
The “good news” is that I lost the connection :P
I have the bad feeling that the screen is full with fatal errors now…
 
4:37 PM
@poke :(
Is it worrying or just awesome that the community has all these secret ways around rebooting a system because apparently the drive going into readonly mode is so common:)
 
Anyone can lend me a haswell machine with an intel compiler for the weekend? ^^"
 
a haswell ?
 
Intel’s current micro architecture
 
ahhh
@kevin greetings
 
Hi
 
4:40 PM
Cabbage Kevin
 
Today is a work from home day, due to the eight inch snowfall overnight.
 
@poke what exactly is it supposed to be doing?
 
Which is nice, but I'll have to shovel the sidewalk at some point :-/
 
@Kevin that's no excuse.... a shovel and setting off extra early is all that's required!
 
@JonClements Is what supposed to do?
 
4:41 PM
cbg
 
Greetings
 
@poke the server that's playing possum?
 
Oh, well, I’m trying to progress on my master thesis, which is essentially optimizing and synchronizing in-memory b-trees.
 
@Kevin Same case here.Work from home.
The sad part is that my son's school is closed too.
 
A most mysterious comment:
there is more doughnut flavours but for some reason it wouldnt allow me add them in due to not going over the 4 spaces — user3093027 1 min ago
Apparently markdown has some kind of maximum allowable flavors setting? :-)
Only Stackoverflow Gold members may have more than five flavors per question.
4
 
4:45 PM
Maybe the user wants to say "There are more doughtnut flavours, but for some reason it wouldn't allow me to add them in due to not going over 4 spaces"
 
@Kevin Bahah
 
I'm guessing he's having a problem with overly long lines. Maybe he thinks his code won't render properly if word wrap kicks in.
 
There’s no word wrap, it scrolls…
 
My psychic debugging skills are no good here, then
 
Me: What type of object is request?
OP: yes its request object.
uhm, not sure if trolling or..
 
4:49 PM
That’s a perfectly valid idiot answer.
 
Ah, must be one of those "guess what third party libraries I'm using" questions.
 
Ooo... how does one become a Stackoverflow Gold Member.... I want the ability to list millions of doughnut flavours
 
It's a closed beta. Only other Stackoverflow Gold members can grant you access.
 
I'm running a highly successful line of doughnut flavours, how do I become a Gold Member on Stack Overflow?
 
4:51 PM
(Spoiler alert: There are no beta members yet.)
 
@Martijn could be HttpResponse is django... although it's strange to use that directly...
 
Time to go shoveling. be back later, perhaps.
 
Have fun Kevin
 
@poke: Nice try...
yes.. i need a dd value from HTTP request
so wants to post an ASCII-art facepalm in the comments now.
 
4:57 PM
WOW, WAT
 
This is brilliant
Have to screenshot that, before someone starts deleting stuff
 
sod this, voting to close.
This needs a SSCCE, as the code posted is not complete to assist.
 
@MartijnPieters I have imported from django.http import HttpResponse, HttpResponseNotFound and i am doing Django app. all urls are defined in urls.py and what action needs for that url request. — Nikunj Gami 39 secs ago
Then why cgi?! D:
 
Ah, now we are getting somewhere.
 
5:00 PM
So, I don’t know django, what could pod_available be?
 
Think you want request.POST.getvalue...
Or probably just .get
or just request.POST['dd']
 
@poke never heard of pod_available, perhaps a user variable?
 
@Martijn watched Ambassadors yet?
 
@Salyangoz It’s his function name, but I meant what kind of thing it could be, i.e. what calls it etc.
 
@JonClements nope, sorry.
@poke request.GET in this case.
I posted an answer pointing to the relevant tutorial.
 
5:04 PM
@poke oh this was for the question that was posted. Okay didn't catch that ^_^ fairly new to the whole stack overflow experience.
 
heya @Salyangoz
 
hello @jon
@JonClements
 
@MartijnPieters According to the reference, you can just do request['dd'] and it will automatically check GETs and POSTs.
 
Yes, I know.
 
@Salyangoz No worries ;) This discussion started a while ago, and was really confusing anyway :D
 
5:06 PM
But it's better to use the .GET and .POST objects, explicitly.
@JonClements Been watching Broadchurch, though.
Watched the last 3 episodes back-to-back, unplanned.
 
@MartijnPieters Don’t tell me that, I’ve been there before ;)
 
After episode 6, we could no more stop watching than stop breathing.
 
@MartijnPieters ahh... I think I wouldn't mind seeing that... Did you see that other thing Tennant was in (he played a lawyer of some sorts)
 
No, not yet.
@JonClements He played a lawyer in a pilot that didn't make it to a full series, I think..
 
@Jon The Escape Artist?
 
5:09 PM
That's it :)
it was only a 3 parter though... but actually not bad at all
 
I liked it, although I thought the story was a bit too dark. (The Escape Artist)
 
Broadchurch?
That was its strength..
 
I think we might have been talking about "The Escape Artist..."
 
^ ^^
 
5:10 PM
Although - they're now doing a new broadchurch aren't they?
 
Apparently.
Intrigued what that'll be about.
Many of the main characters in Broadchurch are clearly talking about leaving the town or have already left (one way or another) when the last episode concludes.
 
@Jon My server didn’t come back btw.
 
@poke awww.... that's something for you to do at the weekend then :)
@MartijnPieters well - I did hear from someone that's watching it - they're a bit confused as to the direction they could go now... but...
 
Maybe I should download a new debian testing ISO already, in case I need to set it up again…
 
5:28 PM
@MartijnPieters you sneaked the accept there didn't ya :)
oh dear... i just mismatch two application.. Thanks for reminds me. — Nikunj Gami 22 mins ago
I feel somewhat sorry for anyone that's paying them to write a webapp for them :)
 
(I want edit rights for comments)
 
@poke I use vagrant which is extremely helpful as testing and developing.
my boxes bring all the devs to the yard
and theyre like 'gimme your (Vagrant)File'
 
You mean VMs?
 
yeah
but theyre more portable i believe
 
Well, I can’t use VMs, I access specific low level CPU functions.
 
5:34 PM
I'd never have thought to associate Kelis with server management...
Ahh poo - forgot I was meant to do an invoice today...
 
@JonClements "I can show you the world", romanticmovies4u.files.wordpress.com/2011/04/…
Excuse my riff raff; friday, end of the day and all that hoopla. I have yet to get home.
cheers everyone.
 
cabbage
wow, it looks like blender has a super awesome stackexchange community too!
although their chatroom is not as active as ours ;)
 
Is that how it's advertised "super awesome ... community" ?
that must mean we're errr, "impossibly awesome"
 
:):):):)
that's actually right.
 
Woo hooo - the old minimum payment thingy is back!
0
Q: Conditionals and bisection search. (for python.)

AstromanI'm a beginner in programming and I have a two basic question. The first concerns conditionals. If I have an if and else statement and the condition is met for the "if" statement, when it's finished with the if, the program will skip the else statement, right ? (Just to be sure.) Second question...

 
5:44 PM
 
What's with the trend of people writing for each in myIterable:? I don't like that too much
 
@JonClements And a wonderfully broad question too!
 
@Martijn indeed...
 
@JonClements That’s crazy. First is “how does else work” and then suddenly some crazy bisection search
 
Let's go solve a CS problem with minimal programming knowledge! Especially when you are not certain how if and else work!
 
5:46 PM
Yeah... but at least with a link to the lesson... I've saved that PDF for later :)
 
Those “test cases” on that PDF are not test cases.
More like, “example output”.
 
@Martijn well - someone did the list-comp one while I was busy typing from operator import itemgetter :)
Interesting we both called the var indices :)
heya @shuttle
 
@JonClements hi :)
 
Finally! My rep... It's over nine thousand!!! :-)
crushes scanner
 
:D
 
6:01 PM
@kevin what's with the scanner crushing ?
 
@Kevin YAY:)
 
It is a meme reference. Click here to see what I did there.
 
Ahhh.... bit more with you now...
 
@JonClements can you imagine? it was one year +- a few days ago (late december early january) when I started learning Python!
OMG this was the fastest year ever
it seems to me it was yesterday..
 
cabbage
 
6:04 PM
@Peter we've put up with you that long? :) That's amazing :)
@TheProgramm3r cabbage
 
@JonClements nope! I joined actively SO after a few monthes.. maybe in March?
or something like that..
 
@peter yeah, something like that :)
@kevin so... how long until 10k ?
 
so, I am working on a game with Python 3.3 and Pygame. What should I use to package it to an exe? I've heard favorable reviews of pygame2exe and pyinstaller.
 
If I assume I grow at the same rate I've done over my SO lifetime, about April
Or was it June... I forget. I calculated it a couple weeks ago.
 
@Kevin need to do a Martijn and start doing 10k'ish a month :)
 
6:06 PM
@TheProgramm3r, IIRC pyinstaller isn't compatible with 3.X
 
dangit
thanks
 
That bow tie is way too big :(
 
10k a month is a little beyond my capabilities ;-)
 
@Kevin Focus... that's all you need :)
 
I suppose I could quit my job, and sell all my material posessions
Train in the mountains for twenty years.
 
6:09 PM
Okay... sounding like April is probably just simpler then... :)
 
If you spend 20 years training, it's gonna seriously drop your rep/month though :/
 
@Ffisegydd heya Stewie!
 
Join these guys and become a whirling devastation of coding
 
@JonClements :D Hey Jon.
 
@Kevin errr: thecodelesscode.com/case/106 - they sound like great people... have fun with them
 
6:12 PM
It's not so bad. Only the worst fools and middle management are subjected to potentially fatal punishment.
 
Umm... is "the worst fool" - a very bad fool, ergo, they're not really a fool.... Damn that site - it's making me think
 
@JonClements Thanks, it's the first time I'm trying out beautifulsoup ^^;
 
@jerry No problem... I always forget it's there...
 
Yea, I know you use notepad to parse html ;)
 
6:26 PM
I'm just trying to set up a django site at the moment and I've run into an issue that I'm sure other people have run into before. I'm trying to represent a move that is a sequence of distinct components. The order in which the components happen changes the move. So I initially thought I could make a Move class and a Component class where Move has a list of Components stored in it but then I wasn't sure what the best way of doing that in Django was. How should I be going about this type of thing?
 
What's this for? A game?
 
@JonClements Works for me :P
 
@poke yeah... but it doesn't fit on puppy :(
 
@Jon Grow up then! ;P
 
NEVER!
 
6:37 PM
@Kevin I'm trying to make a database of information about juggling tricks
 
I don't know much about Django, but your class design sounds fine to me. Are you worried it isn't going to work?
 
Juggling tricks? Cool
 
@shuttle87 That is really cool btw :P
 
@Kevin I think the main concern is that Django creates the database tables and stuff for your models. I'm just not entirely sure what the best way of storing such a list is.
 
Throw balls, pick balls up.... throw balls, pick balls up.... throw balls, pick balls up... swear loudly... Throw balls....
 
6:43 PM
lol!
 
so
how's everyone doing?
 
@JonClements Sounds like something you do with your dog, i.e. with you.
 
Grab ball, run off with ball chew ball, take ball back.... Grab ball, chew ball, slobber all over ball, attempt to return ball...
 
keep ball, run away with ball, fight with master over ball, run away
 
Stabilise a black hole.... good doggy!
 
6:52 PM
lol
 
wat
 
trying to use Python 3 to 2 and py2exe to make an exe
taking forever to figure out
 
Also, why is my piece of paper comment starred twice?
 
because people felt like it
 
@poke what @TheProgramm3r said :)
 
6:54 PM
 
7:10 PM
@Martijn Why big endian?
 
Assumption.
And if you expect bit shifting to work across bytes, then you better have big-endian data..
Hiding an integer in a bitmask between from bits 8 through to 21 spans more than one byte, where little-endianess would make very little sense.
 
Well, it depends a lot on where the data comes from.
 
Time to invent middle endian :)
 
I’ve worked with some weird base64 encoded stuff before which data had variable bit length, and didn’t care at all about byte boundaries. It was little endian, or actually endian-less, so you would just interpret your bits as they were.
 
@poke: Interestingly enough, I think the OP is counting bits from left to right..
as he wanted to shift to the right by three steps, not 8.
 
7:23 PM
ohh
 
That would only make sense if bit 21 was counted from the left, and puts him in the middle of the \x00 byte.
 
But how do the longer byte strings look like then?
 
Not sure what you mean
Gotta split, rhubarb all!
 
Rhubarb!
Adjusted my answer for from-left-counting.
I’m out too, see you later!
 
@poke see you laters
 
7:37 PM
@poke tra
 
8:03 PM
does anyone here know how to use py3to2?
i can't puzzle it out, and can't find any tutorials
 
There's a 3 to 2 ?
 
Ummm... interesting...
 
That's surprising to me. How would you replace new features like nonlocal?
 
8:06 PM
Yup - and some stuff on bitbucket: bitbucket.org/amentajo/lib3to2/overview
 
that is the correct one
sorry
 
wb @nil
 
will there be a "absolut reason" (probably some physics fact?) that will put an end to the theism vs atheism debate?
 
probably eventually
I'm personally an atheist
 
8:08 PM
I mean what kind of "act" will prove that one of the sides has the "truth"
 
Physics! Woo!
 
but I really don't care what people believe in :P
@PeterVaro something that proves the nonexistance of heaven/hell (aka someone coming back from the dead)
 
yes, that is one of the "very powerful" statements
 
8:10 PM
@PeterVaro A lot of theists will argue that facts have little to do with religion, it's a statement of faith, so even if there was some "proof" that God doesn't exist a lot of people won't accept it.
 
are you thinking of something similar to: someone dies, and after an hour, we bring the life back to his/her body
 
yeah, something like that
 
and if (s)he is still the human we know -> then there is no heaven or hell?
 
Of course if science were to prove that God did exist? They'd be over the moon :P
 
8:11 PM
lol
yeah
 
@Ffisegydd technically there is almost always a small layer that you can say: well that is the God territory
that's why I asked:
is there a bullet-proof statement
 
"gods exist" is an unfalsifiable statement. A universe with no god is not observably different from a universe that has a god that doesn't intervene in its events.
 
@PeterVaro i don't think so
 
@Kevin that is also correct, I think
although
 
consult..... THE CODELESS CODE
 
8:13 PM
we all know the fact, that things are changing just by watching them and because of watching them
 
we must read every sanction
and observe
:P
 
@TheProgramm3r dun dun dun
 
(since everything is all just possibilities)
 
As for resurrecting a person that's been dead for an hour, I would question any testimony they deliver. Whatever they see could be a hallucination caused by a flurry of electrical activity in the brain just prior to death.
 
now, that means, if you follow the pattern of the world
then you can get to it's number one observer?
 
8:14 PM
@Ffisegydd :D
 
so @Kevin maybe by the "law-of-observing" can lead us to the observer?
or if it turns out that the world is not observed besides us -- then that is also a conclusion
 
@PeterVaro If God exists though might we not argue that he has abilities/powers that humans do not? In such a case it could be argued that he could observe something without changing it.
 
@Ffisegydd that's not neccessarely true
even if you can't achieve that kind of power
 
Well it's a possible scenario
 
the changes that are made on this universe
are observable
so you can get some clue from them
 
8:18 PM
omfg.... we are talking about god in here and in the GameDev SE chat
 
or is this a stupid argument?
 
:)
I just started because I'm in a huge email thread about this topic
and I just sent my answers a few minutes ago
:)
 
It sounds like you're saying this: observing a system has a measurable effect on that system. So if we analyze how a system has changed over time, we can determine from where it was observed.
 
@Kevin yes, something like that
(although this is more of a question rather than a statement from me)
 
8:20 PM
It's an interesting idea, but not necessarily true. In a nondeterministic universe, that kind of information my be irretrievable.
 
@Kevin and how can we know that this universe is deterministic or not?
 
Hopefully it isn't, or else free will is impossible.
 
oh free will is imposibble in my opinion
think about the quantum physics and the string theory
 
I was about to suggest, we can test whether the universe is deterministic by destroying it, and making a new one with identical starting conditions.
 
:)
that's a good idea! Michio Kaku created a small BIG BANG last year!
 
8:23 PM
But since the starting condition of our universe did not include "us, watching from afar to see if it unfolds identically", then we wouldn't be around to see if it works
 
that is sadly also true
 
And making a mini universe within ours won't work, since merely observing that universe would change it.
 
umm.. so many limitations.. I don't like these :)
 
Good old quantum mechanics, always stirring up trouble.
 
but all these limitations brings us back to my first question: will there be ever a way to prove that one of the sides has the turth?
and I guess the answer is no.. right?
 
8:26 PM
You can never prove that a god doesn't exist, but it's easy to prove that one does.
 
so all these debates are more likely pointless
 
He merely needs to descend from the clouds while angels trumpet His presence.
 
so @Kevin you are saying that there is a chance that we can prove that the God from the Bible exists or not, right? Or Allah from the Koran.. or anyone.
 
Of course that leads to a serious problem: how do you distinguish between a god, and a being that merely has capabilities far beyond our own? Maybe the god descending from the clouds in my last hypothetical is just a prankster from alpha centauri with a hologram projector.
 
:)
that brings us the question: what a god is.
 
8:28 PM
@kevin I'm thinking of "Devil's Due" the ST:TNG episode now...
 
If we define a god as "a being with capabilities far beyond our own", then the alpha centauri prankster is in fact authentic.
 
@peter god is just a backwards dog :)
 
so you are a negative god, then?
sorry, the right word is "inverse"
 
'dog'[::-1]
 
Cabbage!
 
8:30 PM
@Ffisegydd reversed('dog')
@JonClements that also means, that Addams was wrong about the mice, it's the dogs!
 
I forgot my quotation marks D:
 
np
@Ffisegydd but your version will create a new god, mine won't :)
 
@TheProgramm3r So did you find anything useful for 3to2? I have just read the concept and it sounds pretty cool. I always thought that it would work in similar fashion as 2to3...
 
I decided to make the change from 2.7 to 3.3 and am being seriously caught out by print statements >.<
 
Umm... never short of varied/thought inspiring debate in this room are we :)
That or insane ramblings... I lose track which is which though :)
 
8:37 PM
@Ffisegydd You should have used from __future__ import print_function for years now :-P
 
This is what one semester's worth of Philosophy will get you.
I'm lucky no one here took two semesters of philosophy, or I'd get totally schooled. "clearly you haven't taken into account Kantian metaethics, or else bla bla bla..."
 
I did do A Level Theology but it was a long time ago :P
 
@Kevin I did take two -- but both were the same, since I did not go to the first one, so I failed at the end :)
 
metaphilosophy sounds cool... let's do that :)
 
What does it mean to philosophize? blows bubbles out of tobacco pipe
 
8:41 PM
:)
I have pipes, actually really nice ones:)
 
I've got the right glasses for a "professor that must be taken seriously" persona. but I still need the pipe, leather-elbowed jacket, and personal multi-floor library and/or two victorian sitting chairs in front of a fireplace.
 
cpx
@Kevin I think it means splitting the hairs out to arrive to a conclusion generally about the meaning of life.
 
@Kevin I want that multi-floor library with ladders tooo!!!! although it has no point in the 21st century, but still!!!
 
But what does "mean" mean? swirls grape juice around inside fine crystal glass
 
8:44 PM
:)
 
@PeterVaro Nice pipes :-)
 
thanks, it took me a while to collect all 15 pipes I have now
 
Also I think "crystal glass" might be a contradiction. If it's made out of crystal, it isn't made out of glass.
 
cpx
Well it's our own invention of mind to find a meaning to something which can be deduced to some kind of knowledge.
 
@Kevin You have no idea how much the term "crystal glass" annoys me...
It drives me beyond insane.
 
8:47 PM
I was thinking of putting down "chalice" but that's too big
 
@Ffisegydd how about plexi-glass ? (acryl plastic)
that also doesn't make any sense
 
transparent aluminium :)
 
Maybe "goblet" would have been good.
 
Ideal for making tanks to transport whales forward in time aboard bird of preys apparently
2
 
@PeterVaro It's slightly better though, as I think it's at least more disordered (and so closer to a glass state) than a crystal is :P
 
8:49 PM
@JonClements in that case, aluminium is opaque glass, right?
@Ffisegydd absolutely not! :):)
 
@PeterVaro Is it not? I don't know much about plexiglass :/
 
first of all, glass is a liquid, while acryl plastic is not
 
@PeterVaro I'm pretty sure that's a myth, the argument is that windows from the middle ages are thicker at the bottom than at the top, then why aren't Egyptian glass pieces puddles? :P
 
8:53 PM
The counter-explanation to the middle ages glass thing is: glass was always thicker on one side back in those days. They would intentionally install panes thick side down, so they would be more stable.
 
@Kevin Indeed. One of the ways they used to quench the liquid into the glassy phase was to spin it quickly, this made the middle thinner than the outer edge.
 
woof woof bow wow... deep meaningful words in some context....
 
How does modulo work for "fractions"? I understand that 5%2 = 1 (the remainder is 1) but why does 4%9 return 4?
Wait nvm
I understand, derp.
 
is there anyone here who is using AppleScript and Automator?
 
9:35 PM
@Fenikso No D:
 

« first day (1175 days earlier)      last day (3790 days later) »