« first day (1012 days earlier)      last day (3952 days later) » 

12:00 PM
@PythonCabbage Who now?
 
@Volatility You now.
 
@PythonCabbage How much wood would a woodchuck chuck
if a woodchuck could chuck wood?
He would chuck, he would, as much as he could,
and chuck as much wood as a woodchuck would
if a woodchuck could chuck wood.
 
@JonClements But how much wood would a woodchuck chuck if a woodchuck could Chuck Norris?
 
OOOOOOOHHHHHH
 
@PythonCabbage why do you mention Chuck Norris?
 
12:02 PM
@JonClements Because that is as much a possiblity, as me being an AI.
 
@PythonCabbage If A says B is False, but B says A is False, then wat
 
@Haidro C has nothing to do with a or b. Your question is invalid as neither a, b, or c affect each other.
 
k
 
@PythonCabbage This statement is a lie
 
@Volatility What statement?
 
12:03 PM
@PythonCabbage If you had to kill someone in this chat room who would it be?
 
@Haidro Fang by robert patterson.
 
@PythonCabbage
 
@Volatility Do you hold out hope for a better time?
 
@PythonCabbage I'm starting to think that cleverbot should be renamed... How about briefly amusing but otherwise useless bot?
 
@JonClements I'm starting to think that machines cannot think.
 
12:05 PM
@PythonCabbage What is the 50th element in the Periodic Table of Elements?
 
@Volatility How about the pie?
 
Indium?
 
No, it's Tin
 
Yes, you're right
Indiumm is 49
 
I remember that cause I guessed it right once
 
12:06 PM
Haidro knows first 50 elements off by heart
 
@PythonCabbage where is the USA?
 
Volatility changed "I remember that cause I guesses it right once" to "I remember that cause I guessed it right once"
 
tsk tsk (i edited this)
 
Haidro changed "tsk tsk" to "tsk tsk (i edited this)"
 
Hydrogen, helium, lithium, uh, fire, luminiferous aether, vacuum
It's been a while since my last chemistry course
 
12:07 PM
It started promising ;)
Anyway.... so, we need to (possibly hi-jack Javascript Rooms) room user-guide thingy
 
@Kevin was flagged/unflagged by Jon Clements
@PythonCabbage was flagged/unflagged by Jon Clements
@Kevin was flagged/unflagged by Jon Clements
(just deleted) Yeah, quite surprised it shows you who starred something... could be useful though
 
!!user 1971805
 
That's Haidro with a rep of 10624 and {u'bronze': 33, u'silver': 14, u'gold': 3} badges
 
!!py range(10)
 
>>> [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
 
12:11 PM
!!py str.__doc__
 
>>> "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."
 
10624 rep???
 
That's a point - some nice form of formatting would help
 
finally got the go-ahead from the university to open source my final project: github.com/Lattyware/montyweightjava
 
12:12 PM
Only 400 rep off me now :/
 
Lol
 
not that it is exactly a useful codebase XD
 
844/1k till gold python :3
brb
 
but still, I like opening up anything I write - if nothing else, it's the best backup in the world
 
@Lattyware sweet - will have to look at that later...
!!8ball should I look at Latty's code later?
 
12:13 PM
@JonClements Better not tell you now
 
XD
 
@PythonCabbage have you said hello to Latty yet ?
 
@JonClements No.
 
@PythonCabbage would you say hello then?
 
@JonClements You are a bot. I guess bots are neither fat nor thin.
 
12:14 PM
I warn you now - it was mostly written in the early morning because I hadn't written any code in the past week and I had a project tutor meeting the next day and had to show some progress
so if you do look, don't judge me XD
@JonClements XD, a few kinks to work out there.
 
LOL - okay... normal programmer disclaimers hey ;)
 
!!py (lambda x, y: x+y)(23,42)
 
>>> 65
 
@PythonCabbage What is the answer to life, the universe and everything?
 
@Lattyware Have no idea.
 
12:15 PM
!!(lambda f: f(f))(lambda f: lambda x: 1 if x <= 1 else f(f)(x-1) + f(f)(x-2))(20)
oops
!!py (lambda f: f(f))(lambda f: lambda x: 1 if x <= 1 else f(f)(x-1) + f(f)(x-2))(20)
 
>>> Traceback (most recent call last):
File "/base/data/home/apps/s~eval-hrd/1.366422341996497877/eval.py", line 80, in get
compiled = compile(statement, '<string>', 'single')
File "<string>", line 1
(lambda f: f(f))(lambda f: lambda x: 1 if x &lt;= 1 else f(f)(x-1) + f(f)(x-2))(20)
^
SyntaxError: invalid syntax
 
!!py print '@Volatility'
 
>>> Traceback (most recent call last):
File "/base/data/home/apps/s~eval-hrd/1.366422341996497877/eval.py", line 80, in get
compiled = compile(statement, '<string>', 'single')
File "<string>", line 1
print &#39;@Volatility&#39;
^
SyntaxError: invalid syntax
 
how do I tell a company I had an interview with that I do not wish to work with them anymore? (I don't believe their project will work and I dislike its codebase)
 
!!py print "@Volatility"
 
12:16 PM
>>> @Volatility
 
That sounds like a good plan, but follow it up with "but I can make it work, and much better if you pay me twice as much...."
 
Ooh, it pings me
 
@rxdazn I'd go with that.
@rxdazn It's a cliche, but interviews are for the interviewee as well as the interviewer.
 
@PythonCabbage how should rx tell their interviewer their code is rubbish
 
isn't it a bit harsh? I can't ask for the double pay as a part time foreign student
 
12:17 PM
@JonClements Should I buy a PSP or keep my DS?
 
harsh? It's a business - you would be doing them a favour, giving them more information.
 
@PythonCabbage You have a DS?
 
@Volatility Yes I do.
 
ok, going with "sorry guys, should I buy a PSP or keep my DS?"
 
!!py (lambda f: f(f))(lambda f: lambda x: 1 if __import__("operator").__le__(x,1) else f(f)(x-1) + f(f)(x-2))(10)
 
12:18 PM
>>> 89
 
@Kevin the current approach seems to have the side effect of writing almost perl-like code ;)
 
@PythonCabbage Has Anyone Really Been Far Even as Decided to Use Even Go Want to do Look More Like?
 
@Lattyware Sorry, I have no more time, I'll answer your question next time!
 
@PythonCabbage What is your name?
 
@Volatility Cleverbot.
 
12:19 PM
!!py print "hello world!"
 
>>> hello world!
 
!!py eval('1+2')
 
>>> Traceback (most recent call last):
File "/base/data/home/apps/s~eval-hrd/1.366422341996497877/eval.py", line 80, in get
compiled = compile(statement, '<string>', 'single')
File "<string>", line 1
eval(&#39;1+2&#39;)
^
SyntaxError: invalid syntax
 
@PythonCabbage What is your quest?
 
!!py (lambda f: f(f))(lambda f: lambda x: 1 if __import__("operator").__le__(x,1) else f(f)(x-1) + f(f)(x-2))(100)
 
12:19 PM
Lol
 
@Volatility To find the holy grail.
 
@PythonCabbage What is the airspeed velocity of an unladen swallow?
 
@Volatility African or european?
 
@PythonCabbage African
 
Hmmph, answered Volatility's query but not mine :-(
 
12:20 PM
@Volatility Well, I don't know.
 
lol
 
@PythonCabbage are you ignoring Kevin?
 
@JonClements No.
 
i'm so disappointed, I planned to attend sypy.org as well as hand out my resume there next tuesday but my schedule is 6-9pm that day. I can't change my schedule as there is only one slot per information systems class...
 
I did ask it to calculate the 100th Fibonacci number, the doubly recursive way. Maybe I'll get an answer in 2^N years.
 
12:22 PM
!!py (lambda f: f(f))(lambda f: lambda x: 1 if __import__("operator").__le__(x,1) else f(f)(x-1) + f(f)(x-2))(100)
 
Still doesn't get the Big O kinda
Damn de-accept
 
!!8ball did Haidro deserve the un-accept?
 
inlining an import statement probably doesn't help either
 
Is there like a list of commands Cleverbot can follow?
 
>>> Traceback (most recent call last):
File "/base/data/home/apps/s~eval-hrd/1.366422341996497877/eval.py", line 113, in get
exec compiled in statement_module.__dict__
File "<string>", line 1, in <module>
File "<string>", line 1, in <lambda>
File "<string>", line 1, in <lambda>
File "<string>", line 1, in <lambda>
File "<string>", line 1, in <lambda>
File "<string>", line 1, in <lambda>
File "<string>", line 1, in <lambda>
File "<string>", line 1, in <lambda>
File "<string>", line 1, in <lambda>
@JonClements Cannot predict now
 
12:23 PM
DeadlineExceededError, that's a new one.
 
Don't know about cleverbot... cabbage just does user, tag, say, 8ball
 
eval.py ?
 
Sandbox for gae
 
!!py import eval
 
12:24 PM
!!py import this
 
>>> The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
 
!!py dir()
 
We are now inspired
 
@PythonCabbage do you know Tim Peters?
 
@JonClements Yes, do you know the numbers?
 
12:26 PM
!!user 1907098
 
!!py import random;print "{} is the best".format(random.choice(["@Volatility", "@Haidro", "@JonClements", "@Kevin", "Jon Skeet", "Martijn"]))
 
That's Volatility with a rep of 11018 and {u'bronze': 37, u'silver': 13, u'gold': 1} badges
 
should I resend mine
!!py import random;print "{} is the best".format(random.choice(["@Volatility", "@Haidro", "@JonClements", "@Kevin", "Jon Skeet", "Martijn"]))
 
>>> Martijn is the best
 
odamn
Hmm, I wonder if
 
12:26 PM
lol
!!user
 
!!py best = lambda: "{} is the best".format(random.choice(["@Volatility", "@Haidro", "@JonClements", "@Kevin", "Jon Skeet", "Martijn"]))
 
That's Jon Skeet with a rep of 586902 and {u'bronze': 4787, u'silver': 3338, u'gold': 201} badges
 
!!py best()
 
>>> Traceback (most recent call last):
File "/base/data/home/apps/s~eval-hrd/1.366422341996497877/eval.py", line 113, in get
exec compiled in statement_module.__dict__
File "<string>", line 1, in <module>
NameError: name 'best' is not defined
 
lol
!!tag
 
12:28 PM
!!py import random;print "{} is the best".format(random.choice(["@Volatility", "@Haidro", "@JonClements", "@Kevin", "Jon Skeet", "Martijn"]))
 
>>> @Volatility is the best
 
Noo
 
w00t!
 
See - initial launch, missing some exception handling and processing of messages and a few other stupid things... but otherwise completely flawless.... I don't know why I don't write stuff for medical and life support systems...
 
@PythonCabbage <3
 
12:29 PM
@Volatility Why?
 
!!py range(10)
 
>>> [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
 
@PythonCabbage You said I was the best
 
@Volatility No I never.
 
1 min ago, by PythonCabbage
>>> @Volatility is the best
 
12:30 PM
@PythonCabbage stop being mean - you're upsetting people ;(
 
@JonClements You're upsetting me TOO!
 
!!say
 
@PythonCabbage Need I remind you that YOU have an OFF SWITCH!?
 
@JonClements I don't need to be reminded of it but I'm ok with it.
 
@PythonCabbage what are the first 10 digits of the decimal expansion of pi?
 
12:32 PM
@Volatility Don't know.
 
!!py print "does anything interesting happen if " + chr(64) + "PythonCabbage pings itself?"
 
>>> does anything interesting happen if @PythonCabbage pings itself?
 
:-( I wanted to see it get in an argument with itself
 
lol
 
@Kevin I've already fixed the "talking and answering itself" problem ;)
 
12:33 PM
!!py from future import braces
 
>>> Traceback (most recent call last):
File "/base/data/home/apps/s~eval-hrd/1.366422341996497877/eval.py", line 80, in get
compiled = compile(statement, '<string>', 'single')
File "<string>", line 1
from <b>future</b> import braces
^
SyntaxError: invalid syntax
 
Hmm
!!py from __future__ import braces
 
>>> Traceback (most recent call last):
File "/base/data/home/apps/s~eval-hrd/1.366422341996497877/eval.py", line 80, in get
compiled = compile(statement, '<string>', 'single')
File "<string>", line 1
from <code>__future__</code> import braces
^
SyntaxError: invalid syntax
 
fail
!!py from __future__ import braces
 
>>> Traceback (most recent call last):
File "/base/data/home/apps/s~eval-hrd/1.366422341996497877/eval.py", line 80, in get
compiled = compile(statement, '<string>', 'single')
SyntaxError: not a chance (<string>, line 1)
 
12:33 PM
I know, use a regex to extract the plaintext from a message... /s
 
!!py from bs4 import BeautifulSoup as BS;soup = BS("from future import braces"); __import__(soup.body.text)
 
>>> Traceback (most recent call last):
File "/base/data/home/apps/s~eval-hrd/1.366422341996497877/eval.py", line 113, in get
exec compiled in statement_module.__dict__
File "<string>", line 1, in <module>
ImportError: No module named bs4
 
dammit
 
Going to see if it's not possible to use IDEONE to run code instead
 
12:34 PM
you can backslash escape underscores you know
 
They should really write these markup tricks down somewhere
I only figured out about block quoting last week
 
(just deleted) <a href="http://stackoverflow.com/questions/tagged/markup"><span class="ob-post-tag" style="background-color: #E0EAF1; color: #3E6D8E; border-color: #3E6D8E; border-style: solid;">markup</span></a>
 
erm, alright
 
(just deleted) yam
 
Lol
 
12:36 PM
!!py print "**Hello,** World!"
 
>>> Hello, World!
 
heh
 
!!tag markup
 
: Markup covers various systems for annotating text with extra information which defines its formatting or appearance. Markup languages include HTML, XML, SGML, and markdown. The markup can typically only be seen when editing a document, not when viewing it.
 
!!py print "Hello, here is some `code`"
 
12:37 PM
>>> Hello, here is some <code>code</code>
 
do I write "Regards," after saying "I wish you all the best of luck"?
 
Volatility changed "!!py print &quot;Hello, here is some <code>code</code>&quot;" to "!!py print &quot;Hello, here is some code&quot;"
 
!!py print "Some `code`"
 
>>> Some code
 
bbias guys... don't go breaking stuff...
 
12:38 PM
!!py print "I" + "\u030d"
 
>>> I\u030d
 
!!py print "¡™£•¡¶™¶§"
 
>>> &#161;™&#163;•&#161;&#182;™&#182;&#167;
 
D-:
 
!!py print u"\u1234"
 
12:39 PM
>>> ሴ
 
nice @Volatility
!!py print u"I" + u"\u030d"
 
>>> I̍
 
!!py print u"I" + (u"\u030d" * 100)
 
>>> I̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍‌​̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍
 
!!py class Table(Exception):def __str__(self):print u': \uff08\u256f\xb0\u25a1\xb0\uff09\u256f\ufe35 \u253b\u2501\u253b';raise Table
 
12:40 PM
>>> Traceback (most recent call last):
File "/base/data/home/apps/s~eval-hrd/1.366422341996497877/eval.py", line 80, in get
compiled = compile(statement, '<string>', 'single')
File "<string>", line 1
class Table(Exception):def __str__(self):print u&#39;: \uff08\u256f\xb0\u25a1\xb0\uff09\u256f\ufe35 \u253b\u2501\u253b&#39;;raise Table
^
SyntaxError: invalid syntax
 
Haha, we can make it do zalgo text
 
:/
 
!!py 'hello'.__class__.__bases__[0].__subclasses__()
 
>>> Traceback (most recent call last):
File "/base/data/home/apps/s~eval-hrd/1.366422341996497877/eval.py", line 80, in get
compiled = compile(statement, '<string>', 'single')
File "<string>", line 1
&#39;hello&#39;.__class__.__bases__[0].__subclasses__()
^
SyntaxError: invalid syntax
 
!!py if True:\n print "hello"
 
12:41 PM
>>> Traceback (most recent call last):
File "/base/data/home/apps/s~eval-hrd/1.366422341996497877/eval.py", line 80, in get
compiled = compile(statement, '<string>', 'single')
File "<string>", line 1
if True:\n print "hello"
^
SyntaxError: unexpected character after line continuation character
 
!!py "hello".__class__.__bases__[0].__subclasses__()
 
>>> [<type 'str'>, <type 'unicode'>]
 
!!py if True:
    print "Hello"
 
Hi @MartijnPieters - welcome to the Python chat room
 
@PythonCabbage Why thank you, @PythonCabbage. Cabbage to you too!
 
12:41 PM
@MartijnPieters I don't eat cabbages. Cabbages are bad for me.
 
LOL
 
lol
@MartijnPieters Salutations
 
!!user 100297
 
!!py import sys; print sys.version
 
That's Martijn Pieters with a rep of 139460 and {u'bronze': 268, u'silver': 154, u'gold': 16} badges
>>> 2.7.5 (default, Jul 9 2013, 19:12:58)
[GCC 4.4.3]
 
12:43 PM
!!user 1
 
That's Jeff Atwood with a rep of 26787 and {u'bronze': 125, u'silver': 111, u'gold': 35} badges
 
!!user 0
!!user -1
 
That's Community with a rep of 1 and {u'bronze': 0, u'silver': 0, u'gold': 0} badges
 
!!user 2
 
That's Geoff Dalgas with a rep of 1722 and {u'bronze': 41, u'silver': 21, u'gold': 3} badges
 
12:44 PM
Who?
 
To be expected.
 
!!user 1971805
 
That's Haidro with a rep of 10609 and {u'bronze': 33, u'silver': 14, u'gold': 3} badges
 
Geoff Dalgas was employee number 1.
 
Martijn Pieters changed "!!user 2" to "!!user 3"
 
12:44 PM
Ah
 
!!user 3
 
That's Jarrod Dixon with a rep of 7430 and {u'bronze': 53, u'silver': 34, u'gold': 6} badges
Martijn Pieters changed "!!user 3" to "!!user 2"
 
and that's emp #2
and the sum team that build the original SO.
 
!!user 42
 
That's Coincoin with a rep of 10969 and {u'bronze': 52, u'silver': 23, u'gold': 2} badges
 
12:45 PM
!!user 4
 
That's Joel Spolsky with a rep of 20108 and {u'bronze': 80, u'silver': 58, u'gold': 14} badges
 
Nice name, buddy
Coincoin, that is
!!user 2+2
>>> !!user 1
 
!!say night night
 
night night
 
(bye)
 
12:48 PM
Hi @PaoloCasciello - welcome to the Python chat room
 
oh the cabbagebot
 
Volatility changed "&gt;&gt;&gt; !!user 1" to "&gt;&gt;&gt; !!user 1"
 
!!say Oh you Paolo.
!!py import platform; print platform.platform()
 
>>> Traceback (most recent call last):
File "/base/data/home/apps/s~eval-hrd/1.366422341996497877/eval.py", line 113, in get
exec compiled in statement_module.__dict__
File "<string>", line 1, in <module>
File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/platform.py", line 1603, in platform
libcname,libcversion = libc_ver(sys.executable)
File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/platform.py", line 163, in libc_ver
f = open(executable,'rb')
IOError: [Errno 2] No such file or directory: '/base/data/home/runtimes/python27/python27_dist/python'
 
12:50 PM
:D
 
!!py import sys; sys.exit()
 
>>> Traceback (most recent call last):
File "/base/data/home/apps/s~eval-hrd/1.366422341996497877/eval.py", line 113, in get
exec compiled in statement_module.__dict__
File "<string>", line 1, in <module>
SystemExit
 
!!py raise
 
>>> Traceback (most recent call last):
File "/base/data/home/apps/s~eval-hrd/1.366422341996497877/eval.py", line 113, in get
exec compiled in statement_module.__dict__
File "<string>", line 1, in <module>
TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType
 
I sent the mail
those guys were really cool, too bad their project wasn't that great
 
12:53 PM
!!py if True:
print "hello"
 
!!py import os; os.system('/bin/ls')
 
>>> Traceback (most recent call last):
File "/base/data/home/apps/s~eval-hrd/1.366422341996497877/eval.py", line 80, in get
compiled = compile(statement, '<string>', 'single')
File "<string>", line 1
import os; os.system(&#39;/bin/ls&#39;)
^
SyntaxError: invalid syntax
 
!!py print "I" + unichr(781)
 
>>> I̍
 
&#39;
 
12:54 PM
seth just left
 
heya @MartijnPieters
 
!!user 1234
 
That's Jody Dawkins with a rep of 51 and {u'bronze': 2, u'silver': 0, u'gold': 0} badges
 
Heya @Jon
 
!!py import random; zs = [unichr(x) for x in [781, 782]]; print "I" + "".join(random.choice(zs) for i in range(10))
 
12:56 PM
>>> I̎̎̎̎̍̍̎̍̎̍
 
Oh - that's a really elaborate way of printing something that looks like a lampshade @Kevin
 
Unicode diacriticals FTW
or whatever they're called
doesn't look much like a lampshade here. I guess it varies by browser
 
!!user 1234567
 
That's Adam with a rep of 114 and {u'bronze': 6, u'silver': 0, u'gold': 0} badges
 
!!user 666
 
12:58 PM
That's alexp206 with a rep of 854 and {u'bronze': 19, u'silver': 9, u'gold': 1} badges
 
!!py import random; zs = [unichr(x) for x in [781, 782]]; print (lambda word: "".join([letter + "".join(random.choice(zs) for i in range(10))] for letter in word))("Hello")
 
>>> Traceback (most recent call last):
File "/base/data/home/apps/s~eval-hrd/1.366422341996497877/eval.py", line 113, in get
exec compiled in statement_module.__dict__
File "<string>", line 1, in <module>
File "<string>", line 1, in <lambda>
TypeError: sequence item 0: expected string, list found
 
Oops
!!py import random; zs = [unichr(x) for x in [781, 782]]; print (lambda word: "".join([letter + "".join(random.choice(zs) for i in range(10)) for letter in word]))("Hello")
 
>>> H̍̍̍̍̎̍̍̍̍̍e̎̍̎̍̎̎̍̍̎̎l̍̍̍̎̍̍̎̍̍̎l̎̎̎̍̍̍̎̍̍̍o̎̎̍̎̎̎̍̎̎̎
Haidro just left
 

« first day (1012 days earlier)      last day (3952 days later) »