« first day (3108 days earlier)      last day (1840 days later) » 
09:00 - 19:0019:00 - 00:00

7:01 PM
print a. i dont think it contains what you think it contains.
cause the groupby seems fine here to me
 
got it fixed thanks @ParitoshSingh
from itertools import groupby
n = int(input())
a = []
for _ in range(n):
    a.append(int(input()))
print(a)
b = list([k for k, g in groupby(a)])
print(b)
 
cool cool
 
7:21 PM
@toonarmycaptain I see nothing in the implementation of isinstance that supports your comment... implementation: github.com/python/cpython/blob/… - comment:
If you have your_module.py where you check for isinstance(instance, y) and use from v.w.x import y, and you import that check, but when you instantiate instance you use from x import y instead of how y was imported in your_module.py, the isinstance check will fail, even though it's the same class. — toonarmycaptain 5 hours ago
 
Is there a way to show labels next to a boxplot? like Q1, Q3 etc. I looked at: matplotlib.org/api/_as_gen/matplotlib.pyplot.boxplot.html but I can't see it
 
Labels?
Arbitrary text van be plotted with plt.text and other annotations
 
Yeah but then I would have to do it manually, I mean some options like labels=True that shows in the plot the numbers for the median, Q1 and Q3
ok, some more googling showed me this: stackoverflow.com/questions/40813813/… looks like there is nothing default for that
 
Ah, I see. Yeah, that's likely.
 
7:40 PM
Does somebody know why pycharm variables tab does not show some functions but autocomplete does? I wonder if autocomplete can show me the functions why the variable tab can not
 
7:53 PM
cee bee gee
 
hey cbg
 
8:08 PM
@JonClements lol
@JonClements so, hows life puppy?
 
8:25 PM
@Aran-Fey I was sitting outside for hours with the sun on my left today. Now I've got an Austrian flag between my eye and ear thanks to the temples of my glasses
 
personal question, but is it a thing to wear spectacles in the shower?
 
I don't think so
 
I do. If I don't, I stumble around... I've fallen down once too. If it matters, my power is -4.5
can't see anything without
 
I'd try putting the glasses right outside the shower, within reach
Otherwise sure, practicality beats purity ;)
 
yeah I'd only have to worry about the water washing off the coating on the lens... aside from that the mild annoyance of having to wipe off the moisture :p
 
8:40 PM
@AndrasDeak hahaha, so in a way we Austrians can consider sitting in the sun wearing glasses an act of patriotism now. That's pretty fun. I hope you enjoy your involuntary temorary display of support for your neighboring country :P
 
it's OK :P
 
@cs95 Does that make you near- or far-sighted? I'm near-sighted, and I have no need for glasses in the shower
 
negative is near (myopic)
 
hmm, I can't seem to find my prescription... but it's waaaaay outdated anyway, so whatever
 
it should stop changing around what I think is your age
then it starts going toward the positives above 40
 
8:46 PM
it's been getting worse even though I've held on to all my old glasses and only wear the weakest ones necessary
I own 3 pairs of glasses now
 
My optometrician claimed that wearing glasses for your myopia won't make it worse. Myopia has to do with the non-spherical shape of the the eyeball, so that far things (for which your eye lens is focused to infinity) don't get mapped to your retina. Wearing glasses won't strain your eye in a way that makes it worse.
 
@Aran-Fey it means I'm blind as a bat...
 
when your head stops growing so should your powers
 
I also have cylindrical
 
@cs95 that's just icing on the cake ;)
 
8:49 PM
no glasses: when reading books
weakest glasses: when doing stuff on the PC
stronger glasses: when going out
binoculars: when driving a car
 
Do you need glasses for a PC? I don't wear mine for that, only when I do anything away from a desk.
 
Yeah, I 100% need them. I'm actually starting to struggle with my weak glasses; every now and then I put on glasses #2 for PC stuff
 
you should probably get a new prescription then :P
 
I can put on my binoculars and sit in the front row at uni and still not be able to read the slides
 
Oh, I thought you were only mildly myopic.
I guess I misunderstood "the weakest ones necessary".
At least myopia is easy to diagnose and measure. Hyperopia is much worse because human physiology will go to great lengths to try and correct that, leading to obscure bugs.
 
8:56 PM
english needs to come up with some easier words for this optics-related stuff... like how the heck am I supposed to remember "myopia" or "presbyopia"?
just call it "Altersweitsichtigkeit", jeez
 
Ah right, presbyopia and hyperopia are different things. The former is due to an aging lens and related tissue, the latter is again about a non-spherical eyeball. I think we have the same naming in Hungarian, where the former is "old-age-related" + the latter.
 
also near-sightedness can be fixed by presbyopia, but long-sightedness only gets worse
 
@Aran-Fey at least "myopic" also appears as an idiom. I had to look up the others.
 
If I reach the respectable age of 1500 years maybe I'll be normal-sighted again
 
@Aran-Fey I'm not so sure about that. You just won't get to focus parallel rays on the retina, whether or not the lens has an aging machinery. I think with age you reach a stage where you don't see far (because you're myopic) and you don't see near (because you're getting old)
 
9:01 PM
uff
 
I do have a vague notion of "small negatives go into positives with age" but I just don't see how that would happen. My understanding of the medical background might be off, of course.
 
recbg
 
but, I've heard Good Things about laser correction surgery. It's not perfect, and you might still need glasses afterward, but it can bridge a large chunk of not seeing.
 
I should have my eyes checked. My hindsight is better than eyesight in my right eye.
 
and there are multifocal and progressive glasses as well as contact lenses these days
 
9:04 PM
sorry, I mean the other right.
 
@AnttiHaapala right
 
I heard there are special contacts that can help improve your eye sight, but I tried contacts and couldn't stand them
 
Yeah, they're quite divisive. I know they're not for me even without trying.
 
spent half an hour trying (and eventually succeeding) to put them in. The next time I took longer. The 3rd time I gave up
 
my wife loves contacts
 
9:08 PM
hindsight is 20/20
 
@Aran-Fey you tried one kinds only?
 
Contacts work but they are very uncomfortable unless you shell out for the better brands
 
plus contacts and shower are probably not a good idea
though I wouldn't know
 
@cs95 the other right used to be 20 / 12.5
 
@AnttiHaapala yeah, I bought a pack of throwaway contacts for swimming. I ended up throwing it in the trash after the 3rd attempt and never tried again
 
9:10 PM
@AndrasDeak Actually not, they sit pretty well once they're on. I've never lost a contact lens while taking a shower wearing them
 
@Aran-Fey wifey went to an optician, tried several kinds there
 
You have to be wary while rubbing your eyes or washing your face with your eyes open, that's all
 
@cs95 well several Hollywood movies have taught me that it's very easy to drop your contacts in an elevator
 
Ha! If I want to try several kinds, I'll have to be there for 4 hours!
 
they'll teach you that too :D
 
9:12 PM
I don't know about contacts but I once had a friend drop his phone down the elevator shaft
 
I once lost my left arm
 
Had to call building maintenance. Escaped with a cracked screen
 
I'm way beyond the point that can be fixed by contacts anyway. So since they can't fix my eye sight and I can't stand them, I'll just stick to glasses. Those take far less skill to put on :D
 
And glasses are +8 wiz +6 int
 
@AnttiHaapala back in your kernel days? Losing test hardware must be bad.
 
9:14 PM
Yeah, and contacts have a minimum requirement of 30 dex
 
if you need a nat 20 to put them in you'll have to be really lucky to get them out again later
 
what's nat
 
bleh there are no natural rolls in MUDs
 
natural 1 and you're blind
 
9:17 PM
having separate verbs for playing music and playing games in Finnish is a sure way to show ones ignorance. Someone had subtitled "we play DND" a little wrong.
 
hmm, that was Airheads (1994)
 
 
2 hours later…
10:57 PM
@AndrasDeak I lasered my eyes about 9 months ago. It is amazing. You have dry eye from time to time it's a bit worse in winter, but you just take 1-2 times a day eye dropes every now and then. I know it felt like magic the first few months :D
 
11:51 PM
@Hakaishin how's your night vision? I have large pupils and I'm worried about halos in dim light...
 
@cs95 -4.5 dioptres roughly means that you can't focus on objects further away than 1/4.5 m ~= 22 cm. That is strong myopia, and the astigmatism doesn't help. It's not quite "blind as a bat"; IMHO, you need -8 & worse for that.
I used to sell contact lenses to optometrists, so I've seen many thousands of contact lens scripts, and I used to know a lot about the various types of contacts, but that knowledge is a little rusty these days. My own script for most of my life was -3 & -2, with a cyl of -0.75, but I don't wear my glasses often these days, due to presbyopia. I mostly only wear them outside, when I have to cross roads.
 
09:00 - 19:0019:00 - 00:00

« first day (3108 days earlier)      last day (1840 days later) »