« first day (2755 days earlier)      last day (2192 days later) » 

12:02 AM
(and we had a 4-day weekend here)
 
 
2 hours later…
1:42 AM
anybody here?
anybody good with tensorflow?
 
2:23 AM
UNLUCKY
 
 
4 hours later…
5:58 AM
You could always try the python IRC channel on freenode
Brief cbg from the Future BlockChain Summit!
 
6:13 AM
Cabbage
 
@AshishNitinPatil where's that at
ah :D
 
Cabbage
“I aspire to be as smart as you one day” – Uhh boy…
 
It's nice to have fans, but compliments like that generally just make me feel uncomfortable.
 
6:31 AM
Yup…
 
@AnttiHaapala Dubai world trade centre
 
6:47 AM
cbg
 
cabbage
I can't find it, but surely there is a question that asks why my_instance.some_method is my_instance.some_method produces False?
 
@timgeb I'm sure you're correct. And I'm sure I've read a great answer by Martijn which explains why that happens due to the dynamic nature of the method binding process.
 
yes, I was looking to re-read that answer.
 
Voilà:
41
A: python bound and unbound method object

Martijn PietersWhenever you look up a method via instance.name (and in Python 2, class.name), the method object is created a-new. Python uses the descriptor protocol to wrap the function in a method object each time. So, when you look up id(C.foo), a new method object is created, you retrieve it's id (a memory...

 
Melon
hah, I even had that favorited, but I have too many favorites.
 
7:07 AM
I just wrote an answer to User adding tags that aren't relevant. Please let me know if I left out anything important, or said something dumb.
 
recbg
 
@PM2Ring also old-style/new-style when somebody writes class A: ... and there's no version tag.
 
@PM2Ring perhaps something like "Sure, you can simply wrap parentheses around the parameters to a Python 2 print statement, (IOW, parenthesize the sole operand of the print statement) but that's not a great idea since if that is changed to have multiple operands, the output will be that of a tuple, and therefore different to what a proper print function call would output."
well, I mean, print("HELLO WORDL") doesn't have a tuple
 
7:57 AM
Good ideas, @timgeb and @AnttiHaapala.
 
8:10 AM
cbg
@PM2Ring There are also many beginners who run into problems with `input`, when they're using examples made for Python 2 on Python 3. These are though usually easy to guess.
 
8:25 AM
@ThierryLathuille Indeed! How did I forget to mention that? :oops: I guess it's so obvious that I figured it didn't need mentioning. :) But I'll add something to the stuff that talks about print, since they tend to go hand-in-hand.
 
@PM2Ring have linked you to a post where I pointed out a few bits re: 2.x/3.x - if you want to use some of that (if it's at all useful for the context of what you're answering on mso that is)
 
@JonClements Thanks. I'll take a look at it. I've just updated my answer.
FWIW, I answered a Python 2.6 question last night. I think the OP is in Eastern Europe. His company is still using 2.6 and cannot currently update to Python 3. I guess they aren't too concerned about the Python 2.7 End of Life, since Python 2.6 stopped being supported quite a while ago. If he'd just tagged his question and I'd written 2.7 compatible code my answer would not have run on his system, due to the changes in the .format method.
 
8:40 AM
:D
@PM2Ring was python-2.6 tagged :d
 
Yep. It was right up my alley. :D
 
"pm 2ring: favourite tags: python-2.6. hates: python-3.x" :D
hmm I've got python-2.x and django in my ignored tags :D
frustration -= 42
 
I like python-3.x, I just don't like it when questions with the python-3.x tag don't have the generic python tag, since I don't normally see them if I don't go looking for them, since I mostly just look at stackoverflow.com/questions/tagged/python
 
Wow... just realised when I said "a while back" - it'll be 5 years ago in a little over a week - bloomin' heck
 
8:55 AM
:D
 
@JonClements Ok, I've added a link to that post and a few remarks relating to it.
 
Can think of lots of other things like ChainMap or ipaddress or asyncio now but...
Was asyncio in its earliest forms back ported as something? tulip maybe? Or... not sure why I'm thinking that...
 
FWIW, here's that 2.6 question. stackoverflow.com/questions/50115102/…
@JonClements No idea, but I've hardly touched async.
 
9:13 AM
@JonClements twisted?
 
@FlorianMargaine nah... that was long standing library that Guido based the original asyncio on...
Wowsers... yeah... it was called "Tulip"... one day I'll remember useful stuff...
 
still not sure why they didn't go with gevent approach...
 
shrugs
I'm just a little puppy... not my job to worry about such things :)
 
10:44 AM
Here's a fun SE.physics HNQ about ultra-high density data transfer. The top answer discusses using a pipeline of mini black holes. :) physics.stackexchange.com/questions/403016/…
 
@PM2Ring strangely have an image now of a /dev/null that starts off innocently enough but eventually just consumes the entire filesystem :p
 
10:57 AM
:) I've read sci-fi stories where big black holes are used for data storage, but I've never previously encountered the idea of using "small" black holes for data transmission. It's a fascinating concept, but rather scary.
 
A really awesome way to xfer data! (warning: might lead to non-existence of the planet you live on)?
 
11:15 AM
[str(x.rstrip()) for x in line.split(",")] it gives me 1 empty list element although i m using rstrip
 
@pythonRcpp and what's your input string?
 
actually string has the problem it is 1,2,3,
i should strip , first
tried [str(x.rstrip()) for x in line.strip(",").split(",")]
 
Out of interest, why the extra str() wrapping?
 
The trailing , produces an empty string and the stripping an empty string still leaves an empty string
line.rstrip(',').split(',') should give you what you want, no?
(not sure why you need that list comp at all)
 
or the more general [x.strip() for x in line.split(",") if x.strip()]
.. something like that
 
11:27 AM
@IljaEverilä i wanted to get string values. default is str i think
 
@Arne or [el for el in (word.strip() for word in line.split(',')) if el]? :p
 
@Arne I don't like that double x.strip() call.
 
me neither, but can't strip x before testing it, right?
without the kind of nesting Jon wrote
 
i am unpacking the list, i need only 1st 3 elements and ignore rest. can this be done in python 2.x ?
 
Or list(filter(str.strip, line.split(',')) but whatever...
 
11:30 AM
@Arne Correct, unless you wrap it in an inner list comp / gen exp, as in Jon's suggestion. But when you start doing stuff like this, it's time to consider using a traditional for loop instead of a comprehension, IMHO.
 
maybe [x for x in map(str.strip, line.split(",")) if x]
 
Yeah, I was also thinking about a map / filter approach. But I'm eating, and it's hard to eat, chat, and test code at the same time. :)
 
@pythonRcpp sounds like you would really be better served with a loop
 
list(islice(filter(str.strip, line.split(',')), 3) ?
that ()s don't look balanced but typing purely into chat so... someone else can figure that out :)
 
@PM2Ring Fitting, given this is a Python room, what with its GIL. Perhaps you should consider rewiring your brain with Java?
 
11:34 AM
Oh... having said that.. in Python 2... filters going to be a list anyway so might as well just slice it or switch to ifilter
 
@IljaEverilä Never! :)
 
If I have a list of grouped values like [[1, 2, 3], ['a'], [True, False]], is there an easy way to pair the values from different groups? For example you could pair 1 with a or True or False, but not with 2 or 3 because those are from the same group. I'm trying to create as many pairs as possible. The code I came up with is 60 lines long and has 3 nested loops, and I can't shake the feeling that there's a smarter way to do it
 
@Aran-Fey itertools.product ?
 
One valid result would be [(1, 'a'), (2, True), (3, False)] for example
 
ahhh... not directly then.... how many results are you expecting?
Would the round-robin recipe work for you there?
 
11:37 AM
uh, idk, I'll have to take a look. But with that input, any result with exactly 3 valid pairs is acceptable
 
What if you had [1, 2, 3, 4] as the first item?
 
Same results, 3 pairs. One of the integers would go unpaired (doesn't matter which)
I guess I should just link the question
Round robin doesn't really do it. roundrobin([[1,1]]) -> [[1, 1]]
 
from more_itertools import roundrobin, chunked

data = [[1, 2, 3], ['a'], [True, False]]
list(chunked(roundrobin(*data), 2))
# [[1, 'a'], [True, 2], [False, 3]]
^^ was thinking something like that?
Although - think that might then produce pairs from a larger group actually
ahh yeah... it will... never mind :)
 
has anyone used python-crontab? cron = CronTab() gives me TypeError: __init__() missing 1 required positional argument: 'crontab'
 
docs? Docstring?
Did you look at those?
 
11:53 AM
 
That is not an answer
 
I had a look at the github page but I am not sure I understand it well
cron = CronTab() should work based on the ReadMe
I see, I have the wrong package
 
@Ajit Yup
That __init__ can't give you that error
 
I think I got it. Unsurprisingly, the solution is based on iterators.
 
@Aran-Fey A possible solution: dpaste.de/N8AS. The problem seems like a variation of the bin packing problem, I think.
 
12:11 PM
@IljaEverilä Nice! I just wish it wasn't necessary to re-sort the list every iteration
 
I share that sentiment, and was thinking if a proper first fit would allow removing it (where "fit" is defined as "can't share a bin with equal value").
 
12:26 PM
@Aran-Fey And another one: dpaste.de/H3Ws
 
Re-sorting is the last resort. ;)
5
 
groan
 
Could be improved still, if filled bins were removed from the candidates.
 
Huh. It seems to work, but I'm having trouble understanding how :D
@PM2Ring is single-handedly boosting the pun quality in this room by a factor of 10
 
:)
 
1:17 PM
\o cbg :D
 
cbg
 
cbg
 
cbg
 
cbg
 
cbg
I wonder... why np.concat is so slow compared to python's extend
 
1:30 PM
because arrays are homogeneous blocks of memory
lists' extend method increases the underlying data by doubling it each time or something?
so most of the time you'll just be playing around with pointers with an alloc every now and then
np.concat will allocate the complete new array for you even if you just add one item
 
yes, but why does concat do that
 
What else would it do?
 
same as python's extend
 
Are you familiar with c?
 
except they're supposed to do different things
a little
I've used malloc and that stuff
 
1:33 PM
because you can't malloc right next to an existing block
a cornerstone of numpy arrays is that their data is homogeneous and fits perfectly
 
ok... so I guess that for operations they will be faster
 
and memory-efficient, yes
 
I see
 
*footnote: views of arrays are inhomogeneous subsets of homogeneous blocks
 
because I have to append the results of a bunch of workers, and using numpy is killing me
so I will use built-in python lists, and will cast them to numpy before doing the computations
 
1:36 PM
that's how it's done, yes
 
:D thanks
 
no problem
well either that or pre-allocate and insert your results, but "workers" doesn't sound very compatible with that approach
using a list and converting at the end is fine unless you see that becoming a bottleneck
 
workers mean I'm getting an array for each thread
and I'm waiting for them then sending all the data to the algorithm
so yeah, casting at the end will work fine I guess
 
yeah but if for each thread you know the slice of the corresponding array in the big result you can res = np.empty(shape_of_res); for slice,subarr in zip(list_of_slices,list_of_subarrs): res[slice] = subarr
then you don't create the list at all, just insert the values you need
 
You can read about the list growth pattern under list_resize at github.com/python/cpython/blob/master/Objects/listobject.c
 
DSM
1:45 PM
Anxious midweek cabbage for all.
 
cbg
Wherefore anxious?
 
cbg DSM :D
 
Moo Moo!
what's up
 
DSM
Yesterday something came up which imperils my PyCon attendance. (And also the dinosaurs lost even though the birds won.)
 
Trying to survive 25 degree weather.... :(
how are things on your end idjaw?
 
1:48 PM
@DSM aww, I hope it won't interfere :(
 
The dinosaurs had so two solid chances to drop the point.... :( made me sad that they couldn't put it away.
 
DSM
We might as well call them the Cleveland Meteors. :-(
 
It's one game, and one point. I think we should see what happens later on. (though I'm not liking the chances if they follow the leaves :( )
 
raptors vs metors akin to caps vs penguins
it just can't happen
but I really hope it does
 
DSM
PyNorth representin' right now
 
1:53 PM
On another note I'm surprised the jets are bringing it that badly to the predators
PyNorth is strong
 
DSM
Far better the Jets than the Knights. That'd just kill me.
 
@idjaw where is PySouth?
 
We don't care about PySouth
PyNorth is the only Py we care about
 
I honestly think the Knights might win it all.
 
The Knights taking it would be ludicrous, insane, wild
TBH it is a big <expletive> to the teams that rejected these players
it literally is a team full of good players that were left out to dry by their prior teams
 
1:55 PM
It would make a lot of GMs look silly , "who would have thought a solid team of above avg player can win it all without star players" /s
 
they are angry and hungry and I love that they are owning it
 
DSM
Have you followed Bellemare's story? Crazy.
 
IMHO I stopped watching the games live, only following the score and stats.... :( I just don't care as much after my team got knocked out... :\
 
Yup. Very interesting story
 
DSM
1:58 PM
Re: PySouth, I'm not sure who our southernmost visitor is. Zero was in Argentina for a while, I think, and of course PM is down under.
 
oooh we were talking about people in PySouth
 
Hello, i am a newbie to python pandas. I need a help in creating multi level index data frame
 
I misunderstood
then I take back my statement. We definitely care about PySouth. But how far south?
there are two levels of south
 
DSM
.. and yes, I know there are very many people in the room who are more north of the three Canadians currently here. But they're not part of the True North :-P
 
i will post the image
Left is my input, right is the table i need
 
2:00 PM
@idjaw south enough to wrap back to us :D
 
need pointers how to achieve this
 
FWIW, my latitude is a little over 33.9°S
 
The only Pandas I know of are cute and adorable bears, other than that I have nothing to contribute, sorry
 
DSM
@PM2Ring: oh, I remember exactly your latitude. ;-) #callback #overprecision
You're just a tad north of Buenos Aires, looks like.
 
@DSM :) I've moved further south since then. I'm back in Sydney.
 
DSM
2:03 PM
@Vamsi: images aren't super-handy because they can't be copied and pasted. It would be more helpful to post the text of your source table into something like dpaste.com.
 
To add to DSM have you tried the Pandas docs they are pretty well written. pandas.pydata.org/pandas-docs/stable/advanced.html
 
@DSM most of the sites are blocked :( even gist as well..
 
export as csv and copy-paste the first 6-8 lines?
 
time place occasion cardNum
BEFORE_COMMUTING_TO_HOME_TIME UNKNOWN UNKNOWN 100
UNKNOWN UNKNOWN UNKNOWN 100
BEFORE_COMMUTING_TO_HOME_TIME HOME UNKNOWN 100
UNKNOWN UNKNOWN UNKNOWN 100
UNKNOWN UNKNOWN UNKNOWN 100
office Office Weekend 200
UNKNOWN UNKNOWN Festival 200
UNKNOWN Home Weekend 200
UNKNOWN UNKNOWN Festival 200
Home UNKNOWN Birthday 200
 
I don't see any commas
I'm off anyway
 
DSM
2:15 PM
That part's okay, since there are no spaces within a field.
 
yeah, but that seems coincidental
 
take care AD \o
 
excel->export->csv => again opened with excel; dont see any commas
 
@MooingRawr \o I won't be far though :P
or maybe I will
 
DSM
2:21 PM
@Vamsi: I don't see how the numbers in your output table map to your input one. Why is 100 / Occasion=Unknown only 1 in the occ_Count column?
 
lets take cardNum = 100 case;
 
I have a terrible feeling that processing limited threads at a time in a thread list will reply "great! except I need the threads to execute in exactly the order I created them". This will displease me. I don't want to have to explain that if you want perfectly sequential behavior, you should not be using threads.
 
for card num = 100; for place column (Unknown - 4, Home - 1)
 
@AndrasDeak doesn't the memory depend not only on the number of elements, but also on the type of the elements?
 
sorry.. it seems i pasted wring input
time place occasion cardNum
EARLYMORNING UNKNOWN Festival 100
UNKNOWN UNKNOWN Weekend 100
EARLYMORNING HOME Weekend 100
COMMUTE UNKNOWN Weekend 100
UNKNOWN UNKNOWN UNKNOWN 100
office Office Weekend 200
UNKNOWN UNKNOWN Festival 200
UNKNOWN Home Weekend 200
UNKNOWN UNKNOWN Festival 200
Home UNKNOWN Birthday 200
 
2:29 PM
Is list.pop thread-safe? I forget.
 
docu doesn't say it is. It does in case of dequeue though, so I'd give a tentative 'no'
 
2
Q: is list.pop thread safe in python

john smithlets say I have a program which initializes a list with random values. The application then spawns a bunch of threads and each thread keeps popping items out of this shared list. My question is , is this operation thread safe : try: while global_list.pop(): ...do something .. except:...

 
I didn't find the answer there very convincing. Neither did this guy:
 
meh it doesn't convince me
 
2:32 PM
You linked a bunch of tangentially related stuff talking about what atomic means, but provided no justification or evidence that (at least in CPython) list pop is actually atomic. Your linked SO question has this detail, though. — GManNickG Apr 13 at 1:01
I think I'll go ahead and use a queue.
Hmm even using a Queue instead of a semaphore, I still don't get apparently sequential thread execution. There must be a race condition where thread A starts before thread B, but B executes its first line of code before A does. Not really much I can do about that.
 
implement your own list wrapper
 
DSM
@Vamsi: I had a look at it. Getting the counts themselves will be pretty easy, but your desired format is a little quirky. Are you wedded to exactly that output?
 
a semaphore will do @Kevin
 
Except I tried a semaphore and it had precisely the same race condition.
 
except the context switch happens after the semaphore and before the pop
 
2:43 PM
I have a print rather than a pop in my target funcs, but yeah.
 
can you define atomic operations in python?
 
You can get sorta atomicity if you use Locks.
 
yeah that's what the link is about
you can make the semaphore check part of the atomic operation
 
@DSM no.. i want to prepare a heatmap based on the count.
 
isn't that a mutex?
 
2:45 PM
let me give you a rough idea how to heatmap should look alike
 
Fredrik probably wrote that ten years ago (checks: September 2008!) and it's still good.
 
I have a feeling that putting a lock around the semaphore and the work-doing part of the target function will either 1) cause a deadlock; or 2) make it so that nothing runs in parallel at all, in which case we may as well not be using threads
 
well, you don't want the "pop" to run in parallel
 
This may be a direct consequence of the problem statement as I'm interpreting it, which might be silly to begin with
 
you can only mutex that
maybe
 
2:47 PM
@Neoares Mutex behaviour can be more complex than that of a lock, but can be implemented with a lock and a state variable should you need to :)
 
I'm not using pop, anyway, I'm using queue.get
 
@Neoares the memory does but the array already knows its type, so you can assign to arr[i:i+k] and whatnot. Honestly I don't really understand your question
 
@holdenweb that's why I said he could biuiild a list wrapper
a class, with the lock as a property, etc
 
i have a question i get an error and i can't solve it can an1 help me here

this is the line of code

raw = requests.request("POST", "url"='urlsm', 'data'="{}", 'headers'='param')

Error:
File "python.py", line 36
raw = requests.request("POST", "url"='urlsm', 'data'="{}", 'headers'='param')
^
SyntaxError: keyword can't be an expression
 
2:49 PM
@AndrasDeak nvm, you have dtype so it knows the type :P
 
@Doggo quotes around "url" and 'data' and 'headers'
 
still got the same error @AndrasDeak
 
compare foo(keyword=val) and foo("keyword"=val)
 
also, mixing single and double quotes is disgusting
 
@Neoares that's not an error, just a mistake
 
2:50 PM
except you really have to
 
@Doggo What is the code you are now using?
 
DSM
Hey, now. Some of us mix quotes.
 
raw = requests.request('POST', 'url'='urlsm', 'data'='{}', 'headers'='param')
 
xD
remove quotes from 'url'
 
Ah, I think you misinterpreted Andras' advice.
 
2:51 PM
and from 'data', and 'headers'
 
Yeah, but why not simplify instead of heading in the other direction? Alternatively make your own mind up about lists: the implementation's only just over 3,000 lines of C github.com/python/cpython/blob/master/Objects/listobject.c
 
now it's all singlequote
 
and google "python named arguments"
 
You probably thought he meant "all of the quote marks around url, data, and headers should be the same". What he meant was "url, data, and headers, should have no quote marks at all around them"
 
lol, he took only my advice
 
2:52 PM
My internal answer to 90% of all threading questions
> in which case we may as well not be using threads
 
@Neoares no need to lol, clearly there's a communication barrier
 
@Arne That sounds about right. I estimate that people are 10x as enthusiastic about threads as they should be.
 
@Neoares "disgusting" -> value judgement. Suggested replacement: "lowers readability" ?
 
They need to learn about the GIL and get depressed about their utility like a proper person
 
and they are called keyword arguments
I've warned you before that this is not the JS room
 
2:54 PM
Now it looks like this
raw = requests.request('POST', url='urlsm', data="{}", headers='param')
 
Great :-)
 
Thanks for your help
@ everyone
 
no problem
 
@Arne Yes, don't use threads until you know you need threads. Once you do, a lock is a handy way to allow them to run concurrently without interference (there is only delay when a thread is waiting for a lock, usually a comparatively infrequent occurrence).
 
2:56 PM
 
I find that threads are bad at what most people use them for (making their code go faster) and good at what most people don't want them to do (making their code execute in a nondeterministic-yet-predictable-in-some-ways fashion)
 
@PM2Ring 62 bit xDDD
 
@DSM something like above.. where T1,T2.. time C1 andC2.. are card nums
not properly formatted.. kindly bear
 
Hello, I have a problem- when I restore a table from my db backup and next try to add new items to that table - i get an IntegrityError. I have read that I have to use "manage.py sqlsequencereset app_name", i see that this command executes, but when I try to add items - still get IntegrityError
PostgreSQL
can I fix that somehow? :)
 
Hmm can't say I know anything about postgres
Seems like a fine question for the main site, if you can manage to compose an MCVE (which I understand can be tricky when databases and other such external resources are involved, but do your best)
 
DSM
3:01 PM
@Vamsi: you're going to want to look at groupby and value_counts. In your particular case, melt also comes in handy. See here
 
yep, I posted that question, but got a "duplicate" report - where the recipe is to use that "manage.py sqlsequencereset app_name" - but for me that does not work :/
 
@DSM will check that
@DSM thanks a lot.. :) this looks very perfect. Kudos to you
 
DSM
Time to work for a living. Rhubarb for all!
 
\o take care DSM
 
3:31 PM
@Doggo raw = requests.request('POST', url='urlsm', data="{}", headers='param') is probably still wrong, unless you really do want url to be the string 'urlsm', data to be the string "{}" and headers to be the string 'param'. So if urlsm is actually the name of a variable containing a URL, data is supposed to be an empty dictionary, and headers some other variable, you should have raw = requests.request('POST', url=urlsm, data={}, headers=param)
 
3:45 PM
cbg
 
cbg coldspeed
 
I love wasting my time optimizing my workstation for that extra 1% ergonomicness
 
cabbage
 
best part of my day
cbg
 
cbg to you two
 
3:49 PM
I have a fun problem to work on this week. Using RPA software to extract data into a pandas dataframe.
I think im the only person in my company who knows python.
 
Does RPA have something to do with remote procedure calls?
 
RPA is Robotic Process Automation
@cᴏʟᴅsᴘᴇᴇᴅ Shameless plug - uipath.com
It's really interesting stuff. Basically it's advanced business process automation. Think Machine Vision + Scripting + Docker in an easy to use package. Disadvantage: it's written on the .NET platform, so it's only usable on windows (or using CITRIX to tie into a remote machine)
But we have a client who is a data science/analytics company that wants to integrate it into their python workflow, and I know python so I got tapped for it.
 
Hmm... I need to learn Docker too, or else you'll see more like this around.
 
Docker is one of those ephemeral things that I'm convinced there are like 4 people in the world who ACTUALLY understand it and the rest of us are like blind people poking animals with sticks. We know how the stick works, but sometimes we poke a bear.
 
4:06 PM
aha, sound analogy
 
I was the same way when I first learned it, but then at some point it just clicked and I love it now
 
I once saw a very nice Docker tutorial designed like a children's book, showing a giraffe going on an adventure through the ocean (Internet) by way of a container (container) on a ship (Docker)
 
no technology is complete without a cute animal mascot tbh
 
I am deeply disappointed that I've never been able to find it again, because it was the only document that explained things in terms I understood
 
4:09 PM
@Aran-Fey Done
 
aaaand vaultah beat me to it. That's impressive.
 
Found it. That was easier than I thought.
 
I don't know why the owl looks so severe, though
 
the owl is Stallman
 
Stowlman
 
wim
4:20 PM
They should just start every NBA game at 100-100 score and set 3 mins left on the clock.
 
The giraffe is adorable....
Wim, I don't think that would do well with the bench players or showcase stamina, plus fouls would abundant since they wouldn't worry about the number of fouls in the game since it's so short
> And so Phippy lived happily ever after.
10/10 story. I loved it.
 
> Phippy had some unusual interests. She was really into genetics and sheep. And so she asked the captain, "What if I want to clone myself… On demand… Any number of times?"
 
@cᴏʟᴅsᴘᴇᴇᴅ Gracie doesn't have an answer to her question, but she now has a few days worth of good reading material to work through, and code to experiment with. ;)
 
Gotta be careful with cloning, Phippy. That's how you get a bunch of doppelgangers running around with free will and suchlike. Speaking from experience.
 
Too bad Phippy was a PHP app
 
Um, can you move that please before it drives me insane? Thanks
 
Yeah, I was trying to figure out how to unhotlink
[url](the same url) is how I did it, but somehow I expect there's a better way
perhaps the url plus a space? I'll try that next time.
 
nope
url plus something other than a url, spaces typically don't work
 
url plus &nbsp;
 
Earlier today on SO meta I read a comment by Martin James (IIRC) where he used PHP as a swear word. From the context, it was supposed to be rather more powerful than our "yam". :)
 
4:35 PM
he's a heavy-weight grump
 
There seems to be quite a lot of grumps on meta, lately. Marching in the streets to defend their right to be curt with new users
My plan is to have a pint at the Winchester and wait for all this to blow over
 
but he was a grump beforehand
 
Ah, an O.G.
 
A true Hans Pessantite
 
I don't see what obscure chess moves have to do with this
 
4:45 PM
@AndrasDeak I prefer the term "curmudgeon". :) But I have to admire his tenacity and dedication to SO despite multiple suspensions.
 
especially that year-long one
 
Ya
 
obligatory "modern PHP is objectively okay at the very least", drowned out by boos
 
I used PHP very briefly in my early career and I didn't hate it.
If nothing else, it got me from a clean install to "hello, world!" in the browser faster than any other web framework before or since
 
4:49 PM
does PHP have a spec now?
 
TBH, I've had very little experience of PHP. That was a few years ago, and I didn't mind it that much, and there were some things I liked, but I could see that it had a few scary pitfalls. I understand that some of the worst aspects have been repaired, to an extent, and Poke also defends modern PHP. But I have no great desire to rush off and learn it, or to use it. But as a hobbyist, I have that freedom.
 
Kinda, but it also has multiple implementations, so the lack of a spec isn't a blocker it seems
 
Don't say "multiple implementations", you'll make me flashback to when I had to write IE7 compliant javascript
 
At the risk of sounding ignorant, can someone Explain The Joke regarding that starred Oregano comment? I just don't get it, but it's been starred 10 times
Does it have something to do with origami?
 
That's how I interpreted it, yeah
 
4:55 PM
Huh... okay
(I still don't get it)
 
@cᴏʟᴅsᴘᴇᴇᴅ Yes, it does.
 
No honestly I think you get it, you just don't find it funny. There isn't much to get. Our humor isn't always as intellectual as you'd like
 
okay, gotcha. We used to have origami courses back in school. Not my finest moments
 
But it only works if you pronounce "oregano" as "oreGAHno", not with the common American pronunciation of "oREGano".
 
as you should ;)
 
4:59 PM
I heard that oregano joke from Father Ravioli, our local pastor.
4
 

« first day (2755 days earlier)      last day (2192 days later) »