« first day (2141 days earlier)      last day (2801 days later) » 

3:46 AM
stackoverflow.com/q/39157420/478656 has a string aabbccccaa, and I thought "I don't have enough problems, let me use regexes to find those runs of same-character". Hoping to get ['aa', 'bb', 'cccc', 'aa'] I tried '(\w)\1+'
That seems like it should work. regex101.com in Python mode seems like it should work.
http://stackoverflow.com/a/6518277/478656 suggests (\w)\1 can work.
I can make it work in another language. But I can't get it to work in Python.
not with findall, not with search or sub -> repl.it/CsNB
python 2 or 3, \w or . even one match
yet (\w)[^\1]+ does seem to backref match as I'd expect
ah
thanks for being my rubberduck, chatroom. r'' raw string
 
 
1 hour later…
Eka
4:58 AM
Do any one know R's df[,-5] column selection alternative in python?
 
 
1 hour later…
6:14 AM
for arrays it would be arr[:,-5] if I guess R's behaviour correctly:D
cabbage
Python supports negative indices
 
As always an interesting question downvoted
and an answer that is completely incorrect and garbage upvoted to +3 and with comments from OP thanking for clarifying the thing.
oh noes. it is David C. Rankin again.
he is much better as a real lawyer than a language lawyer.
can't understand how he has earned that silver badge in (it is more than what I've got)
 
7:05 AM
cbg
 
7:17 AM
cbg
 
I am starting to like SQL
Joins are ugly but sometimes the solutions are cool
 
I do not understand you
there is nothing to be liked about SQL.
what you like is the concept of relational database.
 
good, good, to the darks side this way leads.
 
I like the declarative nature
 
and why you're hesitant about liking it, and why you think joins are horrible, is because of SQL.
SQL is the single worst thing to ever happen to databases...
 
7:21 AM
when you don't write the flow but the logic and it magically works
 
though it did get them standardized.
@khajvah ...
you should read wikipedia about relational algebra.
sql bastardized everything, it is surprising that something magically works.
@khajvah see, this is sql:
and you're like "I see some beauty to it"
when all I see is a bastardized version of
 
oh
well sql is my first experience with this type of programming
I can't compare with anything
 
disclaimer:
I've never had a diamond like that.
 
:(
 
that's the problem. But I've seen pictures of diamonds like that, and I can imagine one.
and after imagining one, I will always feel discontent with that ugly piece of glass :D
 
7:24 AM
I'm afraid no one has ever had a diamond like that.
only pictures
 
hence the needless frustration
 
exactly
but we were promised that diamond by Date and Codd...
but IBM said "nah, the other is good enough"
and it was made into an industry standard.
 
coming from the USSR, I know where those diamond promises lead :)
 
are there other languages/
?
@bereal which country?
 
7:26 AM
@khajvah Union of Soviet Socialist Republics
aka Soviet Union
 
-_-
 
@khajvah Russia :D
 
one of the incarnations of Russia
 
from the city of Radio Yerevan :D
 
soviet rules
 
7:28 AM
mwahaha
 
@bereal got any radio yerevan jokes?
 
@AnttiHaapala I've heard a lot, but can't recall any without context.
 
how about something related to computing
Radio Yerevan here, our listeners have asked the following question: "Is it true that American skyscrapers are the tallest in the world?"

We are answering "Yes, it's true, but on the other hand the Soviet-made transistors are the largest in the world."
 
yeah, I heard the version "soviet large integrated circuits are the largest"
- Is that true that an American soldier's ration is twice as large as of a Soviet soldier? - That can't be true, since no soldier can eat two bags of turnip.
 
:D:D:D:D:D
that's a new one
 
7:47 AM
@bereal lol
 
@khajvah hehe you're nostalgic :)
 
:D
so many Java jobs
 
is it really that bad now in Armenia?
 
Self deprecating humour is amazing - love it
 
I probably should learn it
@AnttiHaapala nah, it's not that bad.
I mean, lots of people are struggling
but it's not north korea
 
7:52 AM
you should say it like: "right now lots of people are struggling in Armenia"
In Stalin's USSR lots of people were struggling in Siberia.
 
no no, I was kidding.
about soviet
> Demonstrable competitive nature and winner's mentality, e.g. through winning Mathematics Olympiads, Chess tournaments
dropped
weird thing to put in skill requirements
 
well, I did that
 
did what?
 
@khajvah is that in a job description?
 
yes
 
7:56 AM
I was second in national IOI preliminary
 
is it math?
 
international olympiad in informatics
 
user6568562
I have to say, I don't know if bash means it when calling me master or is it sarcasm
 
ah. I once tried competing in university and realized that I had to practice those kind of problems a lot
 
If I were interviewing, I'd just say, "Cool. Do you have the number of the person who was first?" Just to mess with you.
 
user6568562
7:57 AM
You made a typo in your command, again, "master".
 
@khajvah no, the IOI and mathematics olympiad and so are open to only highschool students or lower
@khajvah anyway, the thing was that at the same year, there were 2 competitions:
 
yeah but in high school, good schools(I went to shitty one) had olympic teams
that had separate classes
and practiced a lot, so I had no chance
 
I placed among top 10 in both international olympics in informatics preliminary and international biology olympics
I had no training whatsoever to either of them before...
but top-10 got to a national training camp of 2 weeks
and they were held at the exact same time :D
 
I failed in physics Olympiad(I was the best in school), and also failed in math and informatics
 
and... Biology olympics were held in Brussels...
 
7:59 AM
I guess I shouldn't tell that during the interview
 
and IOI was in Tampere, Finland.
 
@AnttiHaapala you are shmart
 
so I decided to try to get into the biology competition instead :P
also I thought there would be a better gender balance :D
 
user6568562
@khajvah I have a couple of friends that went to Armenia for some holidays. The landscapes are amazing. I dig mountains and plains neighboring water
 
@randomhopeful yes, we have lots of beautiful places
 
8:05 AM
I've yet to see a country that didn't have something beautiful
any suggestions :?
This one from Somalia:
 
user6568562
@AnttiHaapala Somalians would be so happy to hear bout this
 
north korea
 
Cabbage
 
to be fair, natural beauties are limited in here, but man-made ancient buildings are fascinating
 
user6568562
8:09 AM
@PM2Ring Cbg [ :
 
more pics from Somalia ^
 
we have a church that was built in 303
 
@khajvah original...
Etchmiadzin Cathedral (Armenian: Էջմիածնի Մայր տաճար, Ēǰmiatsni Mayr tačar) is the mother church of the Armenian Apostolic Church, located in the city of Vagharshapat (Etchmiadzin), Armenia. According to scholars it was the first cathedral (but not the first church) built in ancient Armenia, and is considered the oldest cathedral in the world. The original church was built in the early fourth century—between 301 and 303 according to tradition—by Armenia's patron saint Gregory the Illuminator, following the adoption of Christianity as a state religion by King Tiridates III. It replaced a preexisting...
but that building is not from 303 for sure
 
well of course it was restored
mostly because it's the main church
 
@TessellatingHeckler You should use itertools.groupby, as suggested by the answer to that question. There's no need to use regex for stuff like that.
 
8:12 AM
or whatever it is called
 
Hi, random.
 
@khajvah cathedral
mother church it seems it is called in wikipedia
 
yeah, I don't know much about religion
 
:P
I'd want to be able to win a Jehova's Witness in a debate.
I am that competitive.
 
I was once approached by 2 American mormons
 
8:17 AM
@AnttiHaapala Erm, I think you mean "win against" or "beat" rather than "win". Saying "I'd want to be able to win a Jehovah's Witness in a debate" makes it sound like the Jehovah's Witness is the winner's prize. :)
 
how was their armenian
 
not good
 
@PM2Ring ok should've used "defeat"
 
the weird thing is, they were in a suburb where people literally don't give a fuck about anything.
 
@PM2Ring thanks for correcting :D
 
8:18 AM
Yes, "defeat" would work in that context.
 
I often write Finnish in English without thinking.
the difficulty is that in Finnish "voittaa X" can be understood as both "be awarded X" and "successfully defeat X" :P
so I often do not think about it
 
cabbage
 
@BhargavRao cabbage, long time no see.
been watching cricket or why not around :? :d
 
Yep, Was out of station.
Had job training in another city, Back to my place after a month.
 
@AnttiHaapala Fair enough. :) I've noticed that your use of prepositions is often non-standard, but it's generally fairly easy to figure out what you're trying to say. I guess the virtual lack of noun cases in English must be a bit annoying, coming from Finnish with its strong case structure.
 
8:22 AM
currently English is not a spoken language to me :D
 
I spent a lot of time sightseeing, So had become busy :(
@khajvah Did you change your mail ID or are you also suffering from that gravatar bug?
 
@BhargavRao nope, I never had an avatar
 
@PM2Ring well, I'm becoming so careless with English...
 
You had that pink gravatar, rite?
 
yeah
 
8:25 AM
Or am I imagining things?
 
it sometimes changes the color
 
Yeah, that's a bug. It was posted on MSE
 
it's different here
 
Every day I use Vietnamese, Finnish and English, all of which are completely syntactically different.
wowo
 
Vietnamese ?
 
8:26 AM
Vietnamese.
 
how many languages do you konw?
 
This was the old one gravatar.com/avatar/…
@AnttiHaapala You forgot another language o_O
 
I am able to read German and Swedish pretty much effortlessly
 
so that's 5
 
listen to Swedish without any problems, German I need some concentration, read Danish, Norwegian
meaning I can read newspapers in all these languages and understand most of them
 
8:27 AM
Crazy
 
impressive
 
This is the 2nd question I looked at today. So much rubbish. :( stackoverflow.com/questions/39160750/…
 
I know English fairly well. Other than very basic French and German that's pretty much it.
 
That's not so impressive for a person with such high caliber ;)
 
@khajvah but you should understand that Danish, Swedish and Norwegian are very close to each other
 
8:28 AM
C'mon @Antti You should learn more languages
 
for example, if you buy a bottle of shampoo and read the list of ingredients
they'd have Finnish separately, then Swedish...
 
> Here is a way to do it "Pythonically"
> words = [s[i:i+7] for i in range(len(s) - 7) if s[i:i+3].isupper() and s[i+3].islower() and s[i+4:i+7].isupper()]
 
Good idea! Add Navajo to that list.
 
@khajvah Antti's wife is Vietnamese.
 
this doesn't quite seem Pythonic
 
8:29 AM
but for Danish and Norwegian, they'd just use / to write the wordpairs that are different
 
Hory Sheet, Joncle is no longer an RO! When did that happen? o_O
 
@PM2Ring I guessed
 
Hi, I was wondering if I could make Python harder to reverse if I'm using Cython?
 
well it would be harder yes...
but not impossible
 
@BhargavRao He just removed himself a day or 2 ago. And changed his username to Ninja Puppy.
 
8:31 AM
>>> "".join(sorted("CPython", reverse=True))
'ytonhPC'
@edsheeran ^ Just as easy
 
@PM2Ring err what happened?
 
^that is danish, swedish and norwegian in one text :D
it is not correct in any of those languages but legible
 
Heh interesting - polyglot :-)
 
@BhargavRao I know nothing about joncle, apart from what I just told you. However, Zero also removed himself as RO, with no explanation.
 
8:33 AM
RUH RO
 
Oh, Zero was added back and then removed himself?
They're preparing for Cold War I guess :P
 
@BhargavRao Yeah. Zero came back about a month ago.
 
no, joncle just removed himself from the list since he's a mod already
 
Damn, He made it uneven. There were 12 and now my OCD kicks in
 
that's because joncle is no longer a mere room owner, he's a SO pwner now!
 
8:35 AM
Sure, joncle doesn't need to be in the RO list. But neither does Martijn. :)
 
@BhargavRao got any aspirations
 
Naw. :/
 
@BhargavRao He hasn't been on the RO list for ages.
 
I feel as though these explanations are far too boring
 
I can help with that, I can tell you the real reasons, if you'd like?
 
8:40 AM
@Ffisegydd Oh, ok. I vaguely remember him removing himself very recently, but maybe he'd just added himself back temporarily. Or something. :)
 
Are you sure that Zero and Joncle aren't secret lovers, and it turns out Zero is actually a spy for PHP, unbeknownst to Joncle, and unbeknownst to Zero, Joncle is a secret spy for Ruby, both here to infiltrate the Python room, and it all came out (boom) last night?
 
@PM2 yeah I believe that was it, he re-added himself, then I removed him, then he added himself, then he removed me, then he added me, then he removed himself :P
@Rob close. You forgot about the coup and the hidden treasure.
 
@Ffisegydd Ah, right. :)
 
My theory is that the reason why we don't see the photos of Zero and Joncle is that they both are underpant gnomes, and they've stopped being room owners now that they've finally figured out what the step 2 is.
 
FWIW ROship for mods is meaningless
 
8:42 AM
@RobertGrant We could answer that, but then we'd have to kill you.
 
@Andras meaningless? Do you think that italics are meaningless? :P
 
should we donwvote mp now?
 
@AnttiHaapala :-P No need, the -3 answerer already did.
 
you're still at +1 :D
 
8:43 AM
@Antti Always. I'd be on 30k by now if I hadn't been downvoting MP every so often. Uhhh, no!
 
It's hard work hitting the daily rep limit on downvotes
 
@Ffisegydd There's no italics for mods. The FR is still there
 
Hey, where did all the Ffisegydd's messages go suddenly, I can't see his profile any longer... wait what?
 
@AnttiHaapala who?
 
OMG MP just pwned Rob's account :P
 
8:45 AM
What's a Ffisegydd?
 
@AndrasDeak a nickname?
 
I don't know, but I know we're at war with Eastasia. We've always been at war with Eurasia. Eastasia is our ally.
5
 
Nice. Nice reference.
 
user6568562
Nice comment on a nice reference
 
@Ffisegydd You still have a ways to go to catch up to my biggest 'fan'. They are perma-banned, so you do still have a shot!
 
8:50 AM
\o/ yeah I think I remember that guy.
 
Tired cabbage
 
cbg
 
9:13 AM
Haha, Spam with python tag wont survive long
 
9:23 AM
@BhargavRao /me blows the smoke from his revolver before putting it back in the holster with a flourish.
 
I'm surprised it wasn't for male enhancement with that tag
 
Did anyone else guess that it was Martijn? :P
 
10:12 AM
Brief "g'morning" to all. I hadn't noticed that Joncle had become Ninja Puppy. I guess that means his Ninja credentials remain intact.
 
G'morning Prof
 
He's being a very subtle ninja;)
morning
 
cbg \o
 
JIRA is terrible
slow and buggy
 
 
2 hours later…
11:56 AM
cbg
@khajvah it is ... so what's the alternative :D
 
dunno
feels weird though that they haven't fixed at least performance issues by now
 
I am asking because I am using Jira...
it only cost $10 for license
 
yeah
 
and it is still better than google docs...
but I am using it for agile,
and it is worse than the program I would write in one week if someone paid for it :D
 
:D
feature-wise it's nice but software-wise it sucks
I should write one
shouldn't be too complicated
 
12:00 PM
jira's biggest problem is its configurability
it is "one tool fits all"
... or rather like a golden (jack)hammer
 
hm, I am not sure. I haven't used its advanced features
 
what do you use it for?
 
We use JIRA, never had an issue with it.
 
I use, sprints, components, epics , versioning
those stuff
 
so, agile...
remember it used to be an issue tracker
 
12:02 PM
:D I don't know the terminology
 
issue tracker means:
"a bug, a bigger bug, a gaping hole, all of them needs to be fixed by yesterday"
 
:D
 
whereas in agile you list features...
and you will never have any bugs, just unimplemented features ;)
 
I like that it gives organization. Before, we were kind of confused. We had all the features that needed to be implemented and didn't know where to begin
 
@khajvah ^
I refer to the SQL discussion above :d
 
12:06 PM
?
 
JIRA is not the diamond...
 
ah
:D
 
it is pretty awful in many respects
I never remember how to complete a sprint, say...
 
what you mean?
 
navigation is bad, UI is bad, sometimes it is slow...
 
12:08 PM
oh I see
 
it has too many tools, but all of them work bad...
 
Antti's law (apologies EP. Box) "All software is bad, but some of it is useful"
 
like sprint report...
I don't whine about everything, but when I do, I do it properly :D
 
Can't type
 
If you develop a new software, give it to Antti; He'll make you hate it
 
12:10 PM
"software critic"
 
@RobertGrant ''.join(reversed('CPYTHON')) => ИOHTYꟼƆ
3
 
re-cbg
 
@PM2Ring ha, continuing on the topic "Antti's idiosyncratic English", speaking English with Vietnamese is truly detrimental to grammar
like, at one point I was happily using "angry" as a verb.
 
I've never used Jira, but from what you guys are saying it sounds like they originally had a useful piece of software but they modified it to do a whole lot more than it was originally intended to handle. That's a dodgy practice at the best of times, but when you just keep adding features without proper planning and without a clear view of the end result you end up building a big incoherent jumble that's unpleasant for the end users to learn and to work with.
 
12:19 PM
well my issues were primarily about performance and glitches
 
@PM2Ring it is like at first you have a spreadsheet program and then decide to add a word processor to it...
 
there is this also: axosoft.com
 
@AnttiHaapala Oh dear. :) I used to work with a Vietnamese guy who grew up there during the Vietnam war. He'd been in Australia for over 20 years, but he was still really hard to understand, both because of his heavy accent, and the weird way he used grammar.
 
in Vietnamese adjectives can be used as predicate verbs
I guess I should read more English prose
 
Good idea. I've been reading so much broken English in SO questions (and answers) that I think it could be adversely affecting my English. :)
 
12:28 PM
I've found myself editing and then looking back and thinking (oh, it still looks like broken English) :( My bar for acceptable has lowered (or, more positively, my tolerance has increased a lot).
 
crap.
classes start on Monday
gonna get rekt
 
morning cabbage
I don't think I have much of a problem with the broken English. But then again I do try to write prose a lot shrugs
 
Morning cabbage.
 
Morning, Morgan.
 
12:54 PM
@PM2Ring "big incoherent jumble" is a great way to describe Jira
It's my second least-favorite task manager, only beating out YouTrack because YT tries to be a Jira-esque version of Trello
 
I actually like Jira. It's better than the other ones I've tried.
 
> Ah, can't get a good sasparilla like this back in Springfield. It angries up the blood
 
@MorganThrapp what other ones have you tried?
 
@WayneWerner We tried a whole bunch of different ones at work. I'm trying to remember what all we used.
 
I like Jira when I used it but then I used Jira as a bug tracker ("new feature request") thingie
 
1:06 PM
Trac? FogBugz? Trello?
 
Yeah, we tried Trello. I know we tried Zoho as well.
We tried Asana too.
Zoho was definitely the worst of the bunch.
 
@MorganThrapp Here's some musical medicine for you: Soulshine performed by Gov't Mule with Greg Allman, Trey Anastasio, and Derek Trucks.
 
Do you remember what it was about Trello that didn't work for you?
 
@PM2Ring Oh wow! That's quite the lineup.
 
Does anybody actually use UML?
 
1:12 PM
@WayneWerner We just wanted more. We wanted time tracking, better searching, ability to link issues, etc.
 
@MorganThrapp Yeah. :) They're all great players, and I like the way Gregg's and Warren's voices work together.
 
@PM2Ring Oh, definitely. I've seen Phish quite a few times, so anything with Trey grabs my attention right away.
 
@MorganThrapp Ah. That makes sense.
 
@PM2Ring Nice - puts me in mind of The Band.
@QuestionC It's a truism that no-one uses UML like it's designed. I'm involved in a project that uses a subset of UML. However, I'm not yet convinced it actually adds a lot.
 
It adds a lot of diagrams
 
1:17 PM
That's true
When the diagrams are harder to understand than the code...
 
Curious about Phabricator as an alternative to Jenkins - anyone tried?
@JRichardSnape yeah exactly
EAs used UML for a long time, but things like Archimate are coming in that are so much easier to understand
 
@PM2Ring That jam at the end is amazing.
 
@MorganThrapp Yeah, it's pretty special.
 
I need to make some diagrams so business knows I'm working.
 
@PM2Ring Speaking of Trey, have you seen any of Fishman's vacuum cleaner solos? youtube.com/watch?v=1v4dIZNXfsE It's one of stranger things I've heard, but he makes it work.
 
1:22 PM
@MorganThrapp No. :) I'll have to check it out.
 
@QuestionC Just give them this:
 
@MorganThrapp That's silly. :D
 
Definitely working.
Or detoxing.
 
@PM2Ring Yup. :D
 
@JRichardSnape I'll play them some scenes from Hackers in the next video conference.
 
1:33 PM
This is the man who plays every show in the same polka-dot dress.
 
Yeah, definitely.
 
Floating, animated equations and code?
 
But seriously, I need to document workflows and dunno how.
 
Tell Mama Tedeschi Trucks with Sharon Jones and Doyle Bramhall II
 
prediction: these two poorly asked questions that are obviously not related will get an upvote each soon
cabbage
 
1:38 PM
can anyone understand what's being asked here?
 
good thing there is a minimal amount of rep you need before you can vote..
 
@MartijnPieters derp
The system works!
 
Also, everyone on the same IP address with < [some minimum of rep] is rate limited to one post per 90 minutes.
 
@PM2Ring I went from your earlier post to Tedeschi-Trucks with BB King and John Mayre. Also a nice musical path...
 
@JRichardSnape On one clip of BB jamming with Derek & Susan, BB's playfully flirting with Susan. Then while Derek's doing a solo, BB leans over to Susan and says "I can see why you married him". :)
 
1:46 PM
That's the one
Bah, other people's data!
 
I linked this clip a year or so ago, but it's so good it deserves repeating: Going Down. The interplay between Robert Randolph on pedal steel & Joe Bonamassa is pretty impressive.
 
It's a Comma Separated Variable file, not a CommaAndTrailingSpace Separated Variable file. Grr.
 
Hello
 
Hi @Ralf
 
Glad to visit the Python chat room again.
Oh! Hello there @JRichardSnape :)
 

« first day (2141 days earlier)      last day (2801 days later) »