« first day (2698 days earlier)      last day (2250 days later) » 

2:20 AM
hi
 
 
3 hours later…
4:57 AM
cbg folks, before I was talking with folks about what I should know how to do if I want to say to someone "I know Python" and arg,kwargs,list comprehension were added to the obvious logic, functions, object-oriented,typecasting basics that you learn coming in from Java. What are some other essential skills I should aim to check off
 
 
2 hours later…
7:16 AM
HOw can i compare 2 time objects like a -b when a= time.struct_time(tm_year=2018, tm_mon=3, tm_mday=6, tm_hour=10, tm_min=15, tm_sec=0, tm_wday=1, tm_yday=65, tm_isdst=-1) and b = time.struct_time(tm_year=2018, tm_mon=3, tm_mday=6, tm_hour=9, tm_min=15, tm_sec=0, tm_wday=1, tm_yday=65, tm_isdst=-1)
 
7:45 AM
@Skyler Cbg. You might want to repost that question once more vocal people are online. To fill the void until then: learning what double-underscores in variable names mean, and how they are used
A while ago there was also this cooperation between stack overflow and an evaluation firm, something something IQ. You could do their python test over an over, since they already did all the work of "what do you need to know in order to know python"
 
@Skyler failing to understanding the Unicode design choices in Python is a common problem
@Arne Pluralsight, but the tests were broadly criticized, haven't taken the Python one so no immediate comments on whether it was actually useful
 
@Arne that would be interesting if you can find the name
 
Rachel Ferrigno on February 06, 2018

Today we’re excited to announce a partnership with Pluralsight, the enterprise technology learning platform.

Stack Overflow’s mission has always been to the help the world’s developers; whether it’s helping them get answers to their coding problems through Q&A, or helping them build their career with Jobs. Pluralsight has many of the same goals—helping the tech community grow their skills, share their knowledge, and create progress through technology—making the partnership a win-win for all involved. …

 
^tripleee did =)
 
@tripleee hmm, is that actually a big issue
 
7:58 AM
@Skyler the JavaScript and IIRC C++ portions got scathing reviews on Meta
 
anyone worked on nltk?
 
@Mahesha999 im no wiz but i know some
 
@Mahesha999 I have a degree in computational linguistics but I haven't used NLTK much
my professor dismissed it as a toy
 
I took the test two times, and I was positively surprised. but my expectations were also quite low. In my opinion it went a bit too deep into OOP specifics
 
(not a student for a long time but I overheard him on this topic a coupla years back)
100
Q: Pluralsight IQ credibility and quality/relevance of their tests

BohemianHas anybody vetted Pluralsight? Do they actually have any credibility in the industry? I did the "mysql" test and found the questions heavily weighted towards the DBA role (eg obscure questions about log file configuration etc) rather than the coder. Since the results of such tests are being ass...

 
8:01 AM
"Today’s developers don’t necessarily have time to read books" - Pluralsight CEO
 
not having time to watch videos people want me to look at is more of a problem for me
books I can skim, scroll, bookmark ... and if it's online link to and copy/paste from
 
cbg
 
I am struggling importing nltk data - first step in its tut: http://www.nltk.org/book/ch01.html

its given as

>>> import nltk
>>> nltk.download()

this opens some UI from which we have to download book

then do
>>> from nltk.book import *


I am getting error "getaddrinfo failed" as stated in this question: https://stackoverflow.com/questions/27750608/error-installing-nltk-supporting-packages-nltk-download

So I am trying to install data manually from github:
https://github.com/nltk/nltk

Downloaded zip, ran
 
"getaddrinfo failed" sounds like your network is down or something like that
there are a number of distinct failure scenarios but you want to start by figuring out if the host name is correct in the first place
the accepted answer on that question shows one way it could be wrong but there are others, most notably if you don't have a network at all or are behind a proxy which somehow fails to resolve the host
there are probably dozens of duplicates to that one, some with more or different answers
@Mahesha999 ^
 
8:36 AM
@DSM thanks :)
 
9:10 AM
cbg
 
user4229770
9:25 AM
Does cbg stands for "hi" ?
 
user4229770
Haa, thanks, i see :)
 
9:55 AM
cbg
For those (like me) having trouble deciding between technical debt and refactoring, here's a guide that I recommend (blog entry). Just wanted to share.
 
10:16 AM
cbg
 
cbg
 
10:49 AM
What is a clean way to simulate live logging in a file. If i already have the logfile. Basically replaying the logfile. I did
open("logfile",r) as infile
contents=infile.readlines()
for line in contents:
  write to new file in random order & random time gap after each line
 
@pythonRcpp Seems okay to me (as long as timestamps, if present, match with the randomness (or you change it))
 
Cabbage
 
@poke cbg
 
11:05 AM
Cabbage
 
guys do you see anything wrong in this command:

sudo pip install nltk --proxy uid:password@proxy.mycompany.com:8080

Gives:
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', error('Tunnel connection failed: 407 Proxy Authentication Required',))': /simple/nltk/
 
@AshishNitinPatil no but i need to put randomness, this prints everything in same order and at usual speed
 
@pythonRcpp My concern was only about the content. Logs usually have timestamps in the beginning of a single log message. If that timestamp is not important, then yeah sure, your simulation seems okay.
 
@Mahesha999 it starts with sudo; that's usually a bad sign
 
11:22 AM
didnt get you
does sudo have something to do with the error?
 
is there a way to remove dict from list by value. example [1, 2, {'a': 1}] now i wan to remove {'a':1} dict element of this list
 
@pythonRcpp l.remove({'a': 1})?
 
thanks ! I thought it was too ugly to write this way and didnt even try . but yes it works
thanks @IljaEverilä
 
11:45 AM
? stackoverflow.com/q/49129172/4909087 this is a typo (see comments)
 
This is super weird stuff with virtualenvwrapper. When installing a python package using pip, I get permission denied error, but when I cd into the /virtualenvs/project/lib/python3.6/site-packages folder and do a pip install, it works. Any clue why this could be happening. I've noticed this error from last week, haven't made any changes to the virtualenvwrapper I have setup from the last 1.5 years.
 
is there any website which allows me to python by installing importing packages like nltk...seems that I am not able to set proxy for nltk, so want to try it with some online tool
?
 
12:05 PM
@Mahesha999 Have you gone through sufficient number of SO questions that state your exact problem (proxy issue with pip install)?
@codeln That's mostly because of file permissions with a temporary directory that pip fetches the package to. You may want to change the owner of that temp directory.
 
@AshishNitinPatil very interesting, will check this out
 
@AshishNitinPatil solved pip install, now stuck with ntlk.download() , giving getaddrinfo failed error
 
@codeln Your pip error should tell you which temp. location it's giving the error for.
 
Greeting all knowing python gods. We all know the trivial python syntax:
var = 'true' if x else 'False'

But is it possible to combine it with an elif statement somehow? Or is it only possible to have a single "if else" condition?
 
@Mahesha999 getaddrinfo is also a connectivity issue. Your proxy may still not be working.
90
A: Putting an if-elif-else statement on one line?

Tim PietzckerNo, it's not possible (at least not with arbitrary statements), nor is it desirable. Fitting everything on one line would most likely violate PEP-8 where it is mandated that lines should not exceed 80 characters in length. It's also against the Zen of Python: "Readability counts". (Type import t...

(first google search result :/ )
 
12:14 PM
I am so sorry I didn't know what to search for.
Googling is not strongest field unfortunately.
 
can we test Django app with SSL authentication on localhost, if yes then how can i test it
 
Hey would you look at that! It is possible:
>>> a = 1 if i<100 else 2 if i>100 else 0
 
@SebastianNielsen Yes, but that's not elif exactly. Also, if you plan on doing that (you shouldn't), then use brackets to group the if else accordingly.
 
DSM
@SebastianNielsen: FWIW, for me that question is the second result for "python Or is it only possible to have a single "if else" condition?"
 
IMO it is a lot neater than to have a lot of lines
 
12:17 PM
You can argue about neater, but definitely not about "readable".
 
@Mahesha999 "407 Proxy Authentication Required" says everything you need to know
 
@HiteshRoy stackoverflow.com/questions/8023126/… the 2nd answer is particularly very simple
(again, first google search result)
@SebastianNielsen I tried this search - "python if else one line elif"
It actually autocompleted, then I added the "elif"
 
DSM
It's tempting to write a bot which takes people's questions and googles parts of them.
3
 
@DSM But the goal should be to teach them how to do it, at the very least :/
So that you are not required the next time (and they start learning on their own, with increased efficiency)
Meh, utopian world...
 
@AshishNitinPatil i already tried that example but getting error of SSL, not work for me, i just want to know can we test Django app SSL authetication with secure certificate HTTPS connection on localhost
 
12:23 PM
@tripleee yup pip installation is done...now am stuck at nltk.download()
lots of posts online...some ask for proxy, some give nltk.download('book') and many other solutions....
waste hours on it
any idea
?
 
DSM
@AshishNitinPatil: I can't find it now, but there's a nice quote someone posted about how maybe people who ask questions about easily googled problems just want to talk.
 
@HiteshRoy My reply was for the 2nd answer being more easy, which doesn't require much on your end.
@DSM Kevin does it usually :-p (me too, if I am not confident, or have follow-up questions)
 
@Mahesha999 like I wrote earlier, this is a common question with three or four possible root causes. Figuring which one is yours requires you to do enough homework to show us what you have already tried
if you have a proxy which tells you your authentication didn't work then that's one obvious thing to troubleshoot
 
@AshishNitinPatil You mean Django-sslserver
 
@HiteshRoy Also, it's not that great a practise to do that on localhost anyway, if you have the certificate, try it on a test server (which you can assign a test domain to).
@HiteshRoy Oh, nope, I was talking about ngrok.com one, sorry.
 
12:28 PM
@AshishNitinPatil okay one more question can we test it with self signed certificate
 
is there a way to remove dict from list by value. example [1, 2, {'a': 1}] now i wan to remove {'a':1} dict element of this list. Instead of using a.remove({'a':1}) I need a way to remove using key value of the dict
 
@HiteshRoy Yes, because you'd have to handle the validity with whatever you are testing it. e.g. if you are testing with your browser, then you will have to add that certificate manually so that your browser treats that certificate to be valid.
(since regular validators are not aware of the signing authority, which is you)
 
@AshishNitinPatil okay thanks for such information....
 
@tripleee finally posted a question detailing all stuffs I tried till now

https://stackoverflow.com/questions/49130879/setting-up-ntlk-proxy

any suggestion will be severely appreciated...
 
12:37 PM
@Mahesha999 I'd hope that assisting someone with their issues would not have such severe consequences ;)
 
*sincerely appreciated would be little more apt with minimum char changes.
 
@AshishNitinPatil Rhubarb
 
Hey everybody. I have a beginner question about concurrency programming in python. I'm wondering if it is possible to share the same queue between two functions working in two different thread pools ?
 
@bonzinor Yes, if you pass the queue variable along as an argument to each pool.
 
1:01 PM
@col
@COLDSPEED thank you, I'm trying to use concurrent.futures for that
 
@cᴏʟᴅsᴘᴇᴇᴅ messing with other coldspeeds with his username (as always) :-p
 
@AshishNitinPatil Hah, they're all just cheap imitations of yours truly
 
:D I bet those are still far less than the number of Kevins
 
For sooth, there are infinitely more Kevins than coldspeeds. Kevins are temporal creatures after all.
 
1:17 PM
There are as many Kevins as there are numbers between zero and one
 
African or European?
 
Both, but more Europeans than Africans. It's a bell curve distribution centered on top of Ireland, the origin of the name.
 
I meant the numbers, just to be clear
 
That makes it more unclear.
 
Well the Egyptians had a concept something like zero in 17th century BC and Egypt is in Africa, so we'll give em that one.
 
1:25 PM
We'll give them the zero or one?
 
The provenance of one is going to be harder to track down. Probably etched into a cave somewhere.
 
Although it's like as not to be in the fertile crescent, so possible 2-for-2 here
 
one Kevin is 274 Cesius
 
1:45 PM
@tripleee more like -272.15 Celsius
 
That explains why I've never seen anyone named Cesius around. We need a bunch more Kevins to unlock our first Cesius.
 
yeah, need around 270 more
 
@cᴏʟᴅsᴘᴇᴇᴅ I'm having some troubles using the concurrent.futures ThreadPoolExecutor in order to do this. It looks like the queue is within the object
 
Would you rather fight a Kevin-sized Cesius or 272.15 Cesius-sized Kevins
 
user4229770
1:52 PM
@bonzinor you will get soon -1 from Kevin
 
@Kevin I feel like the Kevins should be harder to fight because they are soooo cold?!
 
@Marius If you're saying "you're gonna get it now, because the room owners don't like people posting links to their own recent questions, so it won't surprise me if Kevin downvotes you personally", that doesn't really reflect our policy. Since the last room meeting, we're less hardline about the whole thing, and anyway I don't think anyone ever downvoted as punitive action, rather preferring to just move the link to the Rotating Knives room.
 
user4229770
@Kevin I am jk, why do you take it so personally :)
 
@Marius I hope not ...
 
Because I don't want bonzinor to feel sad and say "why would Kevin do such a thing, he's a monster ;_;"
Sadness is forbidden in the land of Python
4
Hmm it's weird to me that OrderedDict doesn't have a sortkeys method. So my choices are OrderedDict([(k, unordered_dict[k] for k in sorted(unordered_dict.keys(), key=whatever)), or implement insertion sort using move_to_end
 
2:05 PM
Phew, now only ROs and those present will know :P
 
Google tells me that Cesius is a kind of plant but I have been equated with weirder things so I'mma just roll with it
Ah, move_to_end can move to either end, so I could implement... Martini sort? Is that what they call that one?
 
Both Kevin and Cesius are missing an L in the same position
What is this sorcery?
 
Cocktail shaker sort, also known as bidirectional bubble sort, cocktail sort, shaker sort (which can also refer to a variant of selection sort), ripple sort, shuffle sort, or shuttle sort, is a variation of bubble sort that is both a stable sorting algorithm and a comparison sort. The algorithm differs from a bubble sort in that it sorts in both directions on each pass through the list. This sorting algorithm is only marginally more difficult to implement than a bubble sort, and solves the problem of turtles in bubble sorts. It provides only marginal performance improvements, and does not improve...
Ah, no, that won't work, it requires arbitrary swapping
@cᴏʟᴅsᴘᴇᴇᴅ Now that you mention it, I wonder if that might have been the intent of the original gag? I do appreciate a joke that sails over my head for thirty minutes.
 
Yes, hence my delete
I first thought the sick one was merely wrong
But then I also thought that Kevin had realized the joke
 
Nope I was just in my usual superposition of N different layers of insincerity where you can't tell if I'm playing along or just oblivious
 
2:11 PM
Interesting, considering I didn't even see the original comment before it was removed
 
@AndrasDeak Please don't give me weird titles :I
 
DSM
Tuesday cabbage for all!
 
Early to bed, early to rise doesn't apply when you don't sleep
 
@DSM quite some level of excitement you have there, cbg!
 
DSM
2:29 PM
Today I decided to do what I occasionally do and take the train northbound one stop (though I'm heading south) to guarantee a seat while I read. And it was a good idea, because the power was off, shutting down the whole line, and then there was a medical incident in my very car, also stalling everything. So I got to read my book in comfort while everyone else stood, packed uncomfortably.
 
\o cbg
It's the little things in life, that makes a day :D
 
I really hate our public transit with a passion.
@AshishNitinPatil hehe, you can be the fix, I'm not going to edit. :D
 
I'm imagining the medical incident as "man gets his head stuck in a traffic cone" and he's flailing about the car while DSM placidly turns the page
 
a whole new angle to the cone of shame
 
2:33 PM
rbrb all
 
At face value it looks insensitive but actually the book is about traffic cone removal so it's really the best thing he could be doing in that situation
 
rbrb Ashish
 
DSM
@Kevin: that's some nice expectation subversion right there.
 
Does anyone have eight sticks of butter? No? All right, maybe the next chapter will list alternatives.
 
2:57 PM
Ah, I've finally tracked down a longstanding bug in my work project. It's caused when three different global variables interact in an unusual way.
I could spend fifty man hours removing the global state from the program, or I could spend fifteen seconds adding a single additional strand of spaghetti logic to fix this one corner case
 
the obvious solution is to remove all three
port to fortran and use common blocks instead, I'm told those are great
 
I want to live in the universe where this application has no globals, but I don't want to walk through the metaphorical field of very sharp rocks that leads there
 
and that's how spaghetti code is form, one strand at a time
 
DSM
If you can't fix it now, at least localize the spaghetti as much as possible and document in the code exactly the circumstance that you're dealing with and why, including the possible solution directions you don't have time to implement.
 
assign it to Future Kevin
he'll hate you, but you shouldn't worry about that right now
 
DSM
3:01 PM
Nov 23 '16 at 15:30, by poke
Dear future Kevin: In order to print Unicode within the Windows console, you need to do chcp 65001 to change the code page. (SEO: powershell cmd windows console codepage code page chcp unicode charmap codec)
 
I need management to assign me hours that I can use to pay down technical debt. I'll let them know.
 
3:14 PM
Pet peeve of the day: Autocorrect changing NumPy to bumpy
 
I've come up with a solution that neither increases nor decreases the technical debt. Neutral victory.
 
"I have a bumpy array..." does it represent a sinusoidal signal?
 
Bumpy array is the softer friendlier version of jagged array
 
@DSM :D :D
 
morning cbg
@Kevin we are paying some technical debt for the next two weeks, primarily testing, but also some refactoring where it will help us write better tests
 
3:18 PM
@DSM Past Kevin did a pretty good job of that, actually. All the globals are nice and encapsulated in one module, with docstrings* and descriptive names.
(*or the Visual Basic equivalent thereof. Do not pay attention to the implementation details behind the curtain)
So at least I know what these things do. Application.NumSpokesChosenFromFirstForm is way better than the previous version, Session("n")
 
eewwww VB?
I had to do some VB last week. It left me feeling dirty and in need of an all-day shower.
 
Yep. It's the programming equivalent of sticking your hand into a bowl of peeled grapes during a Halloween party.
 
Actual eyeballs?
 
that's probably closer
 
3:23 PM
#FirstWorldProblem
I was at Whole Foods and I watched an old man approach the sample cheese plate, bypass the tongs, and reach with his grubby hand into the pile of cheese and remove said hand with a fist full of cheese.... why oh why did he not use the tongs?! I wanted some cheese too!
 
Old men are not bound by the rules of society
 
Should I have left a warning note for others so that they too would know of the atrocity?
 
Supplement it with another more visible atrocity. Pour an entire jar of mayonnaise onto the sample plate.
 
I question your judgement due to your apparent bias against mayonnaise.
 
Pet peeve #2: People MISspelling "studying" and "studding" and unfortunately never realise it's wrong since the pronunciation is the same
 
3:33 PM
@cᴏʟᴅsᴘᴇᴇᴅ Don't come hear speeking about mispelling wen u cant even spel 'realize'
 
I'm sorry you Americans have to have your own way with everything... the measurements, and spellings, and ugh, the side of the road you drive on
:p
 
...Wait, those words have the same pronunciation? My not natively english speaking brain cannot comprehend this
Surely "study-ing" has two "i" sounds while "studding" has a lot more "d"?
 
the cadence should be completely different
 
A distinction is visible if you pronounce them slowly enough
Say "studding" fast, 10 times
 
studding has two syllables, studying three
or rather, should have. after visiting Scotland once I had to admit that many things pass as English that I had just not yet envisioned
 
3:38 PM
@cᴏʟᴅsᴘᴇᴇᴅ Is this a magic spell to turn me into a stud?
4
 
I wish, I'd have used it on myself first
 
So, this is the opposite situation to that presented by Noah Webster and his dictionary of simplification. The Brits decided to change the language in their own unique way, and then couldn’t decide if they liked it like that or not. Should any of them have the nerve to get snippy about it now, you have my permission to give them what for, until they apologize. With three zs.
 
I learned the other day an interesting contributing factor to the US not adopting metric: the European advocate for the metric system was kidnapped by pirates on his way to advise Jefferson on the matter
 
I always pronounce studying with 3 syllables. However, I say kitten with a shortened double t... kit'n
 
@Kevin This is beautiful anecdote that I will retell to, at least my own, great amusement. Thanks =)
.. followed by my usual rant about the imperial system
 
3:46 PM
I will teach my kids metric... including celcius
 
British pirates no less, so let's bring up that fact loudly and insistently whenever they chide us for not getting with the program
 
DSM
My opinions that focusing too much on units and not on relationships stunts people's grasp of dimensional analysis remain unchanged.
 
@piRSquared *celsius :P
 
haha
nice reads
 
@Aran-Fey too funny. Yes, I teach them celsius as well...both
I've already explained to them that 1 calorie raises one cubic centimeter of water one degree celsius.
I had a conversation with my mother when I was in highschool and she told me the metric system was confusing. I ask her how many feet were in a mile and she couldn't remember.
 
3:51 PM
Pet peeve: the fact that "calorie" can mean either "calorie" or "kilocalorie" depending on context.
 
^ agree... also one of my pets
 
DSM
"Calorie" is a cute name for a pet.
 
It's almost as bad as a megabyte being either 1000000 bytes or 1048576 bytes or 1024000 bytes.
 
Depending on the pet's mood, it could mean a little energy or lots of energy
 
When I'm well-off enough to afford a dog, I'll name them "Missile".
 
3:53 PM
my opinion is that 1024000 is the most atrocious
 
DSM
Of the three, it's the least likable, I grant.
 
I can't get passed asking myself if the misunderstanding happens like 1000 * 1024 or 1024 * 1000. As if it matters, but I can't stop myself from being bothered.
 
DSM
Hmm. Probably the former, because we say "kilobyte" and not "byte-kilo". (I have to admit I like languages which put the noun first.)
 
@Aran-Fey You need to try some Indian accent for those to seem same
 
It has to be 1000 * 1024? Right? Someone sees a kilobyte at 1024 not making the connection with 2 ^ 10... then says, I want 1000 of those
 
3:58 PM
Seems logical.
 
4:11 PM
recbg
 
4:31 PM
rb folks
 
4:56 PM
I've now put in 4+ hours into a project which will almost certainly be used for only one day, and for only 30 seconds of that day. But I suppose the effort-to-payoff ratio is better than my average project, which has zero payoff.
 
wim
@Kevin slightly better OrderedDict(sorted(d.items()))
 
Increase your efficiency and stop doing stuff
 
wim
I love the metric system but my feelings towards Celsius have soured since moving to the US
 
@wim Go on
 
wim
First of all, fahrenheit is useful for speaking about the kind of temperatures you might encounter in everyday conversation
like if you say "today will be in the 70's" it means "today will be warm and suitable for a picnic"
"today will be in the 30's (celsius) can mean nice or unbearably hot
 
5:02 PM
You mean to say you can can take temp // 10 as category of temperature that is useful
 
wim
yes, that's one part of it
then the other part is that if you want a good logical scientific unit for temperature, Celsius is not really it anyway. It's Kelvin.
So Celsius is like this crappy middle ground, not scientific, and not useful
the 0 and 100 points corresponding to phase changes of water is not important for me
 
Yes, Kevin is pretty useful for science
 
But Kelvin and Celsius are pretty much the same in that the unit is tied to other SI units and water
But 1 degree Kelvin or Celsius is based on water as well
 
wim
Right but that's because they wanted the conversion of K - C to be easy
 
Energy required to raise a gram/ml/cm^3 of water one degree
yes, true
 
wim
5:05 PM
C has the zero point in the wrong place, and the gradient is arbitrary
so, why not use an arbitrary scale that is more useful
or, use K.
 
But it isn't arbitrary. The gradient is based on a fundamental natural element that we are all familiar
 
wim
at a particular altitude and pressure
it's contrived
 
Sea level
not contrived
 
wim
and how much salt in the water?
 
(-:
Ok, but if you're going to make a choice... you have to make assumptions. They chose a geographic location as a template (I'm pretty sure... looking up now)
 
5:07 PM
Wim you are a mad man if you prefer fahrenheit over Celsius
 
wim
shrugs I gave my argument, refute it :P
 
This is a really stupid argument. It's basically the equivalent of Emacs vs Vim. Pick a different topic.
 
coffee rbrb
 
wim
On a related note, scientists are planning to redefine the kilogram very soon
 
Aw, I just got used to the current one!
 
5:11 PM
What's it now? That titanium bar in SI?
My ignorance shows, the place is Sevres in France
Gah, that's the first thing they teach you in Physics Ed
 
wim
it's a cylinder of something or other .. platinum?
currently
 
wim
but it is going to be redefined to something related to electromagnetic force, I forget what exactly
 
There should be an option to temp. rename the room by the current topic being discussed. I'd call it Pythics currently.
 
wim
5:17 PM
Maybe there can be a similar redefinition of temperature, which doesn't rely on arbitrary human notions such as "sea level"
 
Temperature doesn't rely on sea level right? That's just Celsius. Scientific usage always refers to Kelvins IIRC
 
Celsuis is based on the temperature of which water boils and freeze
 
wim
Because K uses the gradient of C, and C gradient relies on sea level...
 
Yeah, I realized it after I typed that out
 
@SebastianNielsen Yes, and water boils and freezes at different energy levels depending on atmospheric pressure, which is proportional to your elevation.
 
5:19 PM
Wait I don't get it, are you claiming that celsuis is based on the sea level?
 
See previous message
 
Someone mentioned that subinterpreters are coming in python 3.8. It's almost, but not quite, a gil-ectomy
 
Meh I am not a science student.
 
Basically, same-process multiprocessing
 
wim
5:20 PM
we have that alredy ... exec ... runs
 
Better run or get exec-ed :-p
 
wim
curious - does the S.O. chat transcript hang around for ever?
 
Yeah
 
... So far.
 
wim
so there is publicly available paginated API ?
 
5:25 PM
Nah
 
wim
nah?
 
1000 quatloos to whoever implements one and puts it in the sopython repository
 
I mean someday SO must delete some of the chat history right? I mean it is pretty useless after 1 year or so. It is just using up space on the server..
 
wim
how would the "load older messages" button work if not to a paginated api
 
5:27 PM
publicly available
Much of the chat API has been reverse engineered, I don't know if the transcript API has though
 
Let's back up and define "public". Well-documented somewhere? Not likely. Reverse-engineerable by inspecting clientside scripts? Maybe.
 
wim
well, to SO members
 
for this room
 
wim
wow, don't recognise any of those names. Not a Kevin in sight!
 
We wanted to integrate transcript scraping into RABBIT but we haven't got around to actually doing it, last I checked
 
5:29 PM
Some of the first messages: "what is the point of this room?" "does python support macros?"
 
@wim Rotating Knives room has a better history in that regards - chat.stackoverflow.com/transcript/71097/2015/2/17
 
I think it would be fun to go back and see what some of the first messages were of some of you guys.
It better be something hilarious..
 
wim
it only goes back to Feb 2015
 
Yeah, but most (if not all) are recognizable names
And that's the origin genesis beginning of that room I suppose, 2015
@SebastianNielsen AFAIK that isn't available. You can see "recent" conversations by a person, and can search from all their chat history, but the oldest thing isn't available.
 
I believe this was my first post:
Oct 23 '13 at 5:05, by poke
print('Good morning world!')
 
5:35 PM
@poke How did you find that?!
 
I know me, so I knew what to search for :P
 
Haha that is so typical
 
Present me doesn't know past me so well -_-
 
Okay, maybe that wasn’t my first post.
 
I recall in my early years saying good morning and good night as I entered and left, but now I'm jaded to the max and drift in and out on a whim
My entrance is now heralded only by the flock of doves that leap dramatically into flight when I move through a doorway
 
5:37 PM
This is it:
Oct 22 '13 at 19:04, by poke
Hey!
Oct 22 '13 at 19:08, by Jon Clements
@poke next time, we want you to be MORE ENTHUSIASTIC WHEN SAYING HELLO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - we'll let you off this time though :P
Oh god, the memories.
 
wim
glad the transcript remains because I want there to be evidence of all the times davidism has kicked me out of the room for trivial reasons (like just then, for discussing K / C temperature units...huh?). Don't enjoy being bullied like this and want to raise it with moderators
 
Oct 22 '13 at 19:25, by poke
Should come more regularly. I spend too much time on SO anyway…
That was 2013, and look where I’m now. *rolls eyes*
 
5:43 PM
Aug 14 '13 at 16:56, by Antti Haapala
Hi...
Aug 14 '13 at 17:01, by Antti Haapala
first time in SO chat, does not seem that lively here
... nothing has changed :D
@poke amazing, I was an established regular in the chat by that time :P
 
:D
 
and you got room-p0wnered well before
 
currently on hunt for my first message
 
Hey, I've had a little hunt around, is there a way I can do for x in range(whatever, except n), without a comparison eg if x == n: do nothing?
 
wim
Is it just me or does the "when said by" search not work?
 
5:49 PM
It works / has worked well for me
 
I'm archiving something from the web, but page 404 returns nothing, and I don't want to except an error for that (unless it's just for that page...hmm)
 
wim
@toonarmycaptain it depends on the specific range
 
"When said by" never works for me because there are a thousand other Kevins in the system and most of them have not posted in here
 
wim
if the skips are evenly spaced, you can ..
 
@wim I think it only works if you select someone from the dropdown list. Manually entering a user's name or id causes it to find nothing IIRC
 
5:50 PM
@toonarmycaptain Better way to handle this would be to use try except with appropriate error handling (404 should ideally raise an error)
 
It works if I enter 953482 though.
 
wim
@Aran-Fey huh, that's a bad UI
 
Maybe they should just switch all of this over to discord
 
I once wrote a user script to improve that UI. Not sure where it went since greasemonkey deletes all of my scripts every time it upgrades
 
wim
5:51 PM
no idea how you guys are finding your first messages
 
I don't use it much, but that's the impression I got. Most of the time I can't get it to work anyway.
 
@AshishNitinPatil Maybe I can rig it to except JSDecodeError if n == 404, hmm.
 
I usually make a dedicated wrapper to handle the web page / response fetching, which has all logic for handling 404, and other errors, and only returns data when things go as expected (200)
 
@wim You have to enter a search term. It can't search for the empty string.
 
wim
but then you have to know what you said in your first message to search your first message ... :P
 
5:54 PM
Surely you can still remember what you said all those years ago? :p
 
wim
ooh, I just got a bounty for
 
@wim I am at the step where I'm manually going thru this room's transcript and CTRL + F 'ing out of it...
 
wim
/me fistpump
 
Sep 19 '13 at 22:25, by Code-Guru
in other words the converse isn't true. You can't always explain something clearly just because you know it well. Academia is full of examples of that.
 
I found a sufficiently old chat comment by me through search (hi / hello)
 
5:56 PM
This is somewhere near my first message
Feb 3 '16 at 17:40, by Code-Apprentice
cbg
 
My SO join date and current oldest post has a time difference of 2 months, welp. Have to skim through more.
 
My first cabbage...awww, the memories
Sep 23 '13 at 18:33, by Code-Guru
wtf is cabbage? (other than the rabbit food?)
lol, what a noob
 

« first day (2698 days earlier)      last day (2250 days later) »