« first day (2348 days earlier)      last day (2600 days later) » 

2:01 PM
super cabbage 64
 
2:11 PM
I got here, still need to capture the special second line

>>> re.findall(r'(?P<def>[A-Z]+):(?P<remainder>.*(?![A-Z]+:))', test_string)
[('INFO', ' this is the test text'), ('SOURCE', ' source field'), ('DESCRIPTION', ' test description')]
 
@AshishNitinPatil Nicely done. I think the second line doesn't get captured because "." doesn't match newlines by default. But there's a flag for that, I think
print(re.findall(r'(?P<def>[A-Z]+):(?P<remainder>.*(?![A-Z]+:))', test_string, re.DOTALL))
#Result: [('INFO', ' this is the test text\nSOURCE: source field\nsecond line\nDESCRIPTION: test description')]
Hmm, that's not quite right, though...
 
Well, for what it's worth, this seems to be a classic regex problem [<patter><not-the-pattern>]+ which I am unable to find the right keywords for. There has to be a solution for this out there on the internet.
 
Yeah it seems like something that ought to occasionally pop up
 
test_string = '''\
INFO: this is the test text
another line
SOURCE: source field
second: line
third line
DESCRIPTION: test description'''

data = []
for line in test_string.splitlines():
    if line[0].islower():
        data[-1] += '\n' + line
    else:
        data.append(line)

dct = dict(row.split(': ', 1) for row in data)
for t in dct.items():
    print(t)
('INFO', 'this is the test text\nanother line')
('SOURCE', 'source field\nsecond: line\nthird line')
('DESCRIPTION', 'test description')
 
2:28 PM
This one's better but still not right :|

>>> re.findall(r'(?P<def>[A-Z]+): (?P<remainder>(?![A-Z]+:).*)', test_string, re.MULTILINE)
[('INFO', 'this is the test text'), ('SOURCE', 'source field'), ('DESCRIPTION', 'test description')]
 
As Kevin said earlier, you need the re.DOTALL flag (aka re.S) if you want .* to match over newline boundaries.
 
DSM
I don't know how well DOTALL plays with ? which I think you'd need to add..
You could try reversing the logic, I guess, and instead of trying to findall, try to split. Something like
In [162]: parts = re.split("([A-Z]+:)", s)

In [163]: dict(zip(parts[1::2], parts[2::2]))
Out[163]:
{'DESCRIPTION:': ' test description',
 'INFO:': ' this is the test text\n',
 'SOURCE:': ' source field\nsecond line\n'}
but you'd need to make sure you were only splitting on the start of lines somehow, and I'm out of practice with regex..
 
Yeah, we figured out a split-based solution a while back, but I was hoping a findall solution existed, so we wouldn't have to manually split the results into 2-element-tuples.
 
DSM
This is what happens when I show up late to the party. :-)
 
cbg
 
2:38 PM
\o cbg :D
i see that the earlier question was solved, and now Kevin is just doing Kevin things :D
 
The fact that we independently came upon the same(ish) solution implies that it's probably the way to go
 
he's just Kevin' around
Which, considering the large number of Kevins usually in the room, is a much more diverse set of activities than one might imagine.
 
and by "probably the way to go" I mean "probably the way to go if you are dead-set on using regex" because two other people also came up with a non-regex solution, so we can't say ours is best because we both thought of it
 
hell you can
 
I'm going to think that privately, of course.
 
DSM
2:42 PM
I have a groupby/accumulate approach I've used before for this kind of stuff.
 
I should learn accumulate
and I'm too lazy to make that into a <cat contemplates doing thing> image macro
 
huh I just discovered an option "powersafe mode" in pycharm - anyone knows if that really does make laptops live substantially longer on battery?
 
that sounds a bit weird in an IDE
perhaps it makes linting be less on-the-fly?
 
Well apparently it disables intelliJ-based codeinspection completely, I just wonderi if that would really save battery in the long run?
 
Well doing fewer calculations should, in principle, cause less energy to be consumed
 
2:49 PM
Funny: any "inspection found hints" (ie pep8 violations) are still shown - even if you fix them (since it doesn't check).
 
But who can say if it's actually an amount worth caring about
If disabling code inspection saves you a millionth of a second of battery life, it's still technically saving battery life
 
If pycharm is constantly grinding the CPU to see if your half-finished line of code has any errors, then I assume it could matter, hypothetically
I'd look at CPU usage stats with and without "power save mode"
 
Well I notice that setting my screen brightness changes battery from ~30 minutes to ~4 hours while browsing "simple" pages like stackoverflow.
 
I'd expect disabling wifi to be much more effective:P
 
My home laptop has a battery life of about five minutes, because Dell is terrible.
 
2:51 PM
nooo Dell is great, Dell is life
 
The battery I had before I bought this replacement also had a battery life of five minutes, so I know it's not a fluke.
 
It's an MSI so I didn't really get it for battery life XD.
 
their batteries are not that bad if you compare them to dell chargers :|
 
I'm not exaggerating for comedic effect, by the way. The instant I unplug the AC adapter, the Critical Battery LED starts flashing.
 
how old a battery?
 
2:52 PM
But I still like to program a bit on my weekly 3 hour transit from here to my parents, and the trains only provide "usb-charging".
 
I don't let my dells discharge below 40% (on purpose, I mean), and I only start noticing degradation after a few years
 
Incidentally the charger is also falling apart, with exposed wiring at the brick
 
DSM
My work notebook is a Dell and its battery life is amazing. My personal notebook is (I think-- can't remember) also a Dell and its battery life is amazingly bad. Who can say?
 
Not even USB-c
@Kevin wow how old is that?
 
@Kevin yeah, that is typical in my experience, the only major objection I have against dells
I'll still go with a dell
 
2:52 PM
I dunno, like six years?
 
oh, that's beyond expected age-warranty I guess XD.
 
@paul23 I was serious about wifi though
 
Hi every body
I'm new be in python, and I found a code for augmentation for MNIST dataset, and use is but get error this

aaa = self.augmentor_batch_iterator(self.train_images_14x14, self.train_labels_14x14, 50, model='nearest')

TypeError: Argument 'image' has incorrect type (expected numpy.ndarray, got numpy.float32)
 
in case that's an option
@Ahadaghapour hey, there's really no need to keep saying that you're new to python, I've seen you do that for the third time in like 12 hours;)
 
Yeah, I'm not mad my charger fell apart after that long. That's reasonable. Eight months of good battery life followed by five years and four months of terrible battery life is not reasonable, however.
 
2:54 PM
@AndrasDeak Yea, but then I really can't a do thing. I tried that ones: programming in python while without internet. It was... interesting.
 
@Kevin did you let it discharge too much?
 
No, I left it plugged in near-constantly.
 
I only see my dell battery life plummet when something goes awry and the battery gets near-depleted by accident
@Kevin that's not the best practice either, but I guess it shouldn't kill your battery that fast
 
@AndrasDeak Ok
 
@Kevin Uh you're from the us so I don't know things there. But here a battery always has a minimum warranty of 1 year.
 
2:55 PM
If you're about to say "ah, you can't leave it plugged in constantly, because that overcharges it. You have to keep it from overcharging or discharging by toggling its plugged/unplugged state every three hours, including at night", I'm going to be mad
 
this is my methof I found form internet
 
Should've sent it back
 
def augmentor_batch_iterator(self, data, y, batchsize, model):
        '''
        Data augmentation batch iterator for feeding images into CNN.
        rotate all images in a given batch between -10 and 10 degrees
        random translations between -10 and 10 pixels in all directions.
        random zooms between 1 and 1.3.
        random shearing between -25 and 25 degrees.
        randomly applies sobel edge detector to 1/4th of the images in each batch.
        randomly inverts 1/2 of the images in each batch.
 
@Ahadaghapour what is self.train_images_14x14 and self.train_labels_14x14? Did you make sure that those are arrays?
 
self.train_images_14x14 is array
 
2:56 PM
@Ahadaghapour The error is pretty clear - it expected ndarray, but you gave it a float. Not sure which thing is wrong, but that's your problem
 
@Kevin I'm told the healthies approach is letting the battery discharge to ~40% every once in a while
 
the shape of it is (9000, 196)
 
@Ahadaghapour also, protip - you can edit your message and then click 'fixed font' and it will fix the indention errors
 
I think I'm going to solve this problem by getting a desktop PC
 
Python debugging 101: print(it)
 
2:57 PM
@WayneWerner he knew that yesterday... ;)
another pro-tip: post large blocks of code into pastebin or dpaste or something similar
 
@AndrasDeak I saw a slightly counter example... I'll see if I can find it...
 
DSM
@Ahadaghapour: for long code dumps, please use a paste service like dpaste or pastebin or something, as mentioned in... argh,. Kevin'd by Andras!
 
sorry:(
you can still link to the rules :P
 
Anyone think this is a bad idea to get current year w/o 20: str(datetime.datetime.now().year)[2:]
 
@Kevin I also came up with an iter-based solution, but it's rather ungainly.
it = iter(test_string.splitlines())
data, row = [], []
for line in it:
    row.append(line)
    for line in it:
        if line[0].islower():
            row.append(line)
        else:
            data.append('\n'.join(row))
            row = [line]
else:
    data.append('\n'.join(row))

dct = dict(row.split(': ', 1) for row in data)
 
2:59 PM
@Ahadaghapour are you absolutely sure that that's where the problem is coming from? Last time you misled us (by mistake)
 
@AndrasDeak yes
 
that's the article I think I was thinking of
 
@clickhere that's a string, datetime.datetime.now().year % 100 might be numberier
and watch out for a y2.1k issue in 83 years
@WayneWerner thanks, will read
 
@AndrasDeak ahh, ty, i do like that better
 
I debug and get error in this section
X_batch_aug[j][0] = self.fast_warp(X_batch[j][0], tform, output_shape = (PIXELS, PIXELS))
def fast_warp(self, img, tf, output_shape, mode='nearest'):
    return transform._warps_cy._warp_fast(img, tf.params,
                                          output_shape=output_shape, mode=mode)
 
3:01 PM
@Ahadaghapour you'll need to backtrack: I guess (?) fast_warp's second argument is a float instead of an array
try going backwards and finding the variable that doesn't have a type/shape that it should have
 
@clickhere Hmmm. I guess that's acceptable, but you could do datetime.datetime.now().year % 100 to get it as an int. If you want a string you can use strftime with the %y format spec.
 
I suspect that the code expects a 2d array and it gets a 1d array instead, so further down the line arr[0] is a scalar rather than an array
 
Kevin'd by Andras
 
time to quit at the pinnacle of my day, rhubarb until later ;)
 
@AndrasDeak Ok, let me try
 
3:04 PM
Multiple layers of indirection, but just verify the arguments? (print(img), print(tf), print(output_shape), print(mode)). Or if the printing is unbearable large, print(type(img)) etc.
 
See ya, Andras.
 
@WayneWerner so we can agree it's Kevin's fault
 
@paul23 let me debug it and say
 
 
>>> type(img)
<class 'numpy.float32'>
>>> type(tf)
<class 'skimage.transform._geometric.ProjectiveTransform'>
>>> type(output_shape)
<class 'tuple'>
>>> img.shape
()
 
3:09 PM
@AndrasDeak isn't it always?
 
@Ahadaghapour Is img supposed to be a single float32 ?
 
Your image is a single number?
 
at all I have image dataset in 14x14 pixels
I want to augment this dataset
and create new dataset
 
guys: the original input is an array, and there's that huge block of code "found on the internet" that throws the error
 
that new dataset augmented
 
3:11 PM
somewhere in between something is not what it should be
most likely the code found on the internet is not used in the way that it's supposed to be
I'm really leaving now :P
 
Yea but does fast_warp expect a single number as first argument? Really you should look up what that function does and what the inputs should be..
 
@AndrasDeak do you have pseudo code for image augmentation?
>>> X_batch[j][0]
0.0
for j = 0
 
Yes that's what I can guess to be the case - but is that also what the "code you copied" explains it needs to be?
 
I get this code from this code
but I don't know how to use exactly maybe
 
3:33 PM
You're asking us to research it for you now..... That's just something that won't happen.
 
@paul23 not researching, but I couldn't find my mistake and I want help
I found the error
>>> X_batch[j][0].shape
()
in this line:
X_batch_aug[j][0] = self.fast_warp(X_batch[j][0], tform, output_shape = (PIXELS, PIXELS))
 
4:17 PM
recbg
@Ahadaghapour I know this is a language thing, so I just want to note that "I want help" comes across as a bit needy :)
Judging by your questions here yesterday and today I think you do well in trying to use any help others give you, and you listen to what people tell you (unlike many people who come here for help). So I'm aware that you didn't mean that in a needy way.
 
@AndrasDeak I find the problem I think
 
@Ahadaghapour that's great!
good job
 
:36228711
 
@corvid I like how it does extra work to take the plant unawares
 
4:21 PM
X_batch_aug[j][0] = transform._warps_cy._warp_fast(X_batch[j,:].reshape(14, 14),
                                                                   tform.params, output_shape = (PIXELS, PIXELS),
                                                                   mode='nearest')
 
okay
 
X_batch[j,:].reshape(14, 14)
solve the problem
 
I'm glad to hear that:)
so indeed it was something that expected a 2d array and got a 1d array instead
 
but I get another problem and try to solve it
 
DSM
That's usually the way dev works..
 
4:23 PM
@AndrasDeak I like how the big fat kitty cat is super cute, want to pet
 
I've seen that, still willing to risk for one pet, except tigers aren't as great as snow kitty
 
Hmm I currently have an awful looking piece of code:
 
DSM
She responded better than I would have, I think. At least she moved, I'd probably just sit there thinking "well, I had a good run", expecting my imminent demise.
 
I give up
 
4:28 PM
    if re.match(self.prog_main, line) is None:
        if re.match(self.prog_side, line) is None:
            if re.match(self.prog_line, line) is None:
                 # ...
            else:
                 self.loading_main = False
        else:
            self.loading_main = False
    else:
        self.loading_main = True
How would I reduce such an if-mountain
 
use or
if re.match(self.prog_main, line) is None or ...
 
DSM
So you want to do something if all of re.match(self.prog_*, line) are None, otherwise set self.loading_main to True?
 
Well can't edit, but accidentally removed one line of the innermost else too many (it also sets another flag there)
So basically I have "3 cases", with 2 variables for "flags" - if case 1 matches (ignore rest!): self.loading_main = true ,
if case 2 matches, **and** case 1 doesn't: `self.loading_main = false`,
if case 3 matches **and** 1 & 2 don't: `self.loading_main = false, self.line_found = true`
oh wait, I should just violate the single return position and return after checking each one.
Still bad to have multiple returns, but probably better than above.
 
or populate a matched_eh[0:3] with bools and decide at the end
 
DSM
Do we have a good canonical for chained comparison behaviour?
 
4:38 PM
Feb 5 at 23:38, by PM 2Ring
There's also this one but it's mainly about in chaining http://stackoverflow.com/questions/38296689/where-in-the-python-docs-does-it-all‌​ow-the-in-operator-to-be-chained
that's all I've got (doesn't mean there isn't a better one)
 
@AndrasDeak Problem is: regex matches "might be slow" (they are each trying to match against a full webpage to be used for scraping, and if all fail it can obviously be slow. This can be done without the user knowing, since the "website visual complexity" and "html code length" have very little to do with each other). But that is indeed a good idea.
 
rb folks
 
4:58 PM
I feel like the single return policy is more relevant in languages that don't have try-except-finally and context managers. There, it's a pain to have multiple returns because you have to duplicate your cleanup code. But that's not an issue in Python.
Like, clearly this is a drag
file = open(filename)
if a:
    file.close()
    return foo
if b:
    file.close()
    return bar
#...
Fortunately, we can do
with open(filename) as file:
    if a:
        return foo
    if b:
        return bar
    #...
Instead.
 
now that's a username
@paul23 self.loading_main = not all(re.match(pattern, line) for pattern in [self.prog_main, self.prog_side, self.prog_line])
 
DSM
Didn't we talk about that here a while ago? Or was that on some SO question instead?
 
Looking at the room's search page, I don't see any relevant hits for "palindrome" from this year. Must've been somewhere else.
 
5:13 PM
@Kevin / @DSM I saw that on code golf recently
It's entirely possible you were thinking about this
 
DSM
I'm pretty sure it was somewhere in the SE ecosystem because someone gave the "abab", "abba" mapping to help the guy see it and it's recent enough it's still in my associational memory. :-)
 
@EmilioMBumachar Try replacing ( with a and ) with b. Is abab a palindrome? No, it would have to be abba. Then ()() isn't a palindrome either; it would have to be ())(. — DLosc Feb 20 at 6:40
 
Nice find.
 
DSM
Ha! Ha! Not senile yet! Take that, genetics which suggest I'm very likely to suffer early-onset memory disorders which I occasionally see very frightening symptoms of!
 
At least ()() is an ambigram, which is almost as good.
 
5:16 PM
@DSM Try crossword puzzles - I've heard tell that if you do them a bunch you won't suffer from Alzheimers. Then again that could have just been an old great-aunt's tale.
 
yes.
IANAN (I am not a neurologist) but that's silly
 
DSM
It's kind of embarrassing how much of a sense of accomplishment I'm feeling right now.
 
and the parentheses thing is very uncanny
 
I think it's because we're used to thinking of parenthesis as balancing elements and typically standing alone
 
I think it's because ()() is visually symmetric and ())( is not
whereas palindromes are the go-to mirror-symmetric blocks of text
 
5:20 PM
@DSM If I had a nickel for every time I took pride in something that an ordinary human wouldn't think twice about...
 
I mean in reality, the the isn't a palindrome, and we have no problems realizing that
 
it's as if you thought that 2525 was a palindrome on an 8-digit display
 
The visual symmetry is certainly one of the reasons
 
or szzs
wait that's a palindrome
but you get what I mean:D
 
OO is a palindrome but ()() isn't. But what if we kerned ()() badly so that it was visually indistinguishable from OO? Somebody fetch a typesetter.
 
5:21 PM
lol
 
wim
WIM is an upside-down palindrome
 
ɹǝɓpɐq
 
@wim Hey, mine is too! Small world.
 
Aug 26 '16 at 12:11, by Antti Haapala
@RobertGrant ''.join(reversed('CPYTHON')) => ИOHTYꟼƆ
@Kevin kevin'd by kevin.
 
wim
@Kevin The only part I can read is "DO NOT COPY"
 
5:27 PM
How dare you copy the DO NOT COPY message! It says not to copy it!
I had to click through a long EULA to get that image. I hope I'm not about to go to prison.
 
wim
eghh, what a shitty website that is
 
hello Kavin
 
what is the reason behind: TypeError: function() argument after ** must be a mapping, not generator? (I'm interested in the design decision, implemention limitation, etc.) Eg.
 
I want to make a "<something> generator" site for the purpose of generating beer money. Except I don't drink beer that much so I'd probably buy legos
 
def function(a, b, c, d, e):
    pass

def feed():
    yield from zip('abcde', range(10))

function(**feed())
(I know I can use function(**dict(feed())) -- the question is why I can't do, what I initially wanted to)
btw cbg all
(long time no see :P )
 
5:30 PM
@Kevin ye gods that's an insane EULA
 
wim
the function accepts positional arguments, not keyword arguments?
 
Permitting yielded pairs for a **kwarg seems like something that they could allow if there was demand for it, but there isn't much demand for it, so they haven't allowed it
 
@Kevin How about a LEGO generating site?
 
@wim they are also keyword arguments, you can always do: function(1, 2, e=3, d=5, c=0)
 
wim
oh, I understand your question now
 
5:31 PM
@Kevin :P
 
wim
it's not about the function, but about the unpacking
 
The default state of the astronomically vast majority of sensible features is "not implemented yet"
 
@wim yepp
@Kevin So I should create a PEP for this or what? :/
 
@WayneWerner Can't, Minecraft has already captured the procedurally generated building blocks market.
 
wim
** unpacking a generator would have to completely exhaust the generator anyway
 
5:34 PM
so?
 
wim
so why should they bother to implement it
they have to decide what the error message will be like if the generator yields something other than a pair, they have to decide what to do if it yields the same key twice, blah blah ...
 
actually it is way easier than that!
 
I think they'd want more voices from the community confirming that it's something the community wants
 
wim
the whole point of generator is lazy evaluation, which you don't get with unpacking, so ... what's the point exactly?
 
they just have to pipe the generator into a dictionary creation and then unpack it -- all the errors are already there
 
wim
5:36 PM
unpacking is syntax , it's not an operator you can overload
 
Bit of a chicken and egg problem, there... It might be a feature that everyone would use if it existed, but since it doesn't exist, there aren't many people that would come up with the idea out of nothing
 
wim
it's literally baked into the grammar
 
"If I had asked people what they wanted, they would have said 'faster horses'"
 
@Kevin you've gone too far :P
 
wim
the thing on the right has to be a mapping
 
DSM
5:39 PM
Why does everything Kevin say now remind me of something I read recently? I read something on the provenance of that saying just the other day.
 
wim
a generator can't be a mapping, although it can yield items which can be used to make a mapping
 
@wim yes and no -- it is a syntactic sugar, a baked one, but, in most of the time it elevates your thinking into higher levels: basically you are not using indices anymore for example
 
@DSM Baader-Meinhof phenomenon, plus the fact that I'm largely unoriginal.
 
wim
you can't customize ** separately from implementing the mapping protocol
 
DSM
@Kevin: ah, it was probably hot-networked.
 
wim
5:42 PM
and implementing the mapping protocol requires making promises that generators can't make
 
running the same query on two different databases... it's a race!
 
@wim now that's a good point!
 
Contribute $50 to my KevinScript patreon, and I'll allow overloading the behavior of ** in parameter lists. Contribute $100, and I won't allow it.
 
Nice
 
@Kevin what would 5 dollars get me ?
 
5:45 PM
A swift kick in the butt.
 
Good thoughts sent to the universe
 
so now you are also providing a S&M service too interesting...
 
 
wim
kwags, LOL
I'm going to call them kwags from now on
 
@Kevin I thought it might have been that reference but you made it 5 dollars :\ so I wasn't sure
 
wim
5:46 PM
and if anyone tries to correct me, I'll refer them to the CPython sources.
 
As you can see, inflation has hit the swift kick market pretty hard.
You might say... Industry pricing has received a swift kick in the butt
 
snicker
 
@Kevin but but that's some Kevin's inflation...
 
 
> $1 in 1995 → $1.58 in 2017
is what google came up with :D
 
I keep wanting to make a Chuck Tingle reference but I think that might be a little blue for the room
 
wait for Mr Blue BR to come then make it :D or summon him
Nothing is too blue for mr blue
 
wim
@PeterVaro I actually kind of asked your question 3 years ago
Kevin answered it, as usually happens with tricky CPython questions stackoverflow.com/a/22365935/674039
not specifically about generators, but about pinning down exactly what an object on the right side of ** requires
 
Unrelated: the third party regex module has recursive capabilities, so it can match things that ordinary regexes can't match, like "some number of A's, followed by the same number of B's". I wonder if it's capable of matching arbitrary context free grammars, and I wonder if it can do so in a reasonable amount of time.
 
@wim cheers for the extra references, I will read it later!
 
5:57 PM
Oh, a new avatar for Mr. Varo
or at least, new to me.
 
>>> regex.match("(?R)(?R)|a", "aaa")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Programming\Python 3.5\lib\site-packages\regex.py", line 252, in match
    concurrent, partial)
_regex_core.error: too much backtracking
ok, so it chokes trying to match the grammar S => SS | 'a'
But interestingly has no trouble with S => 'a' | SS
... Although it only bothers to match the first character and call it quits
 
@idjaw well, after 5 years or so.. it was about time ;)
 
Yeah. That's a good run.
 
(but thanks for noticing :) )
 
:)
 
6:00 PM
This may confound my attempt to write a regex that matches legal xml.
 
@idjaw this does not contain the latest one, but has several from the previous years :)
 
Neat.
 
@PeterVaro hey that's really awesome! Good job on keeping track and keeping up with doing this.
 
wim
@PeterVaro what is that?
 
If you do self.future = (some integer) anywhere, don't do that. It's hard to get more specific than that without seeing your whole code. — Kevin 3 mins ago
 
6:06 PM
@Kevin maybe it's time to make a super regex for KevinScript.
 
ntime = int((runtime)/(itstep)) — Anon 1 min ago
I think that may be where I went wrong, thanks kevin — Anon 1 min ago
 
@wim a fraction of one of the halves of my personal site
 
wim
cool website. did you use a template, or wrote it yourself?
 
Hmm, not sure if I actually helped there
 
I'm more annoyed with the 'spacing' in his coding than his coding practice....
 
6:08 PM
@wim I did it on my own, from sketch without any libs/frameworks, but unfortunately the sketchandprototype part has a serious bug which needs to be fixed, but I just don't have the time for it
 
wim
nice, i know that's a lot of work ..
I wonder if you know the band Besh o droM
 
yeah I do, why?
:)
 
wim
they're very popular in my hometown (Melbourne)
 
how do you know them?
 
wim
great band, love that music!!
 
6:09 PM
ahh.. interesting! they were very active 8-10 yrs ago, I did not know they still exist
 
wim
yeah, I searched for a gig when I was in budapest recently, but unfortunately it did not seem like they were playing anywhere much and I couldn't find anything
 
btw, if you are interested: "besh o drom" is a word joke, it is the english pronounciation of the hungarian word "besodrom" which means "I'm twisting", "I'm flowing"
or something like that
 
wim
ahh, ok
 
anyway, it's time to go home :)
 
wim
it remind me of latcho drom
 
6:13 PM
thanks for the heads up guys
 
I'm trying to figure out the significance of the final capital M in the name
 
wim
which means 'safe journey' in some gypsy language ..
 
rhubarb
 
take care @PeterVaro Nice "seeing" you :)
@wim what are you listening to these days? I got back in to listening to Afghan Whigs and similar
 
wim
I listen a lot to Django Reinhardt
 
6:14 PM
My theory is either "that language just has words with capital letters at the end sometimes" or "band names look better when they're symmetrical, so capital first letter requires capital last letter"
 
wim
and some pop music lately like dirty loops
bruno mars 24k magic is on high rotation
 
I listen to the Bubsy 3D World 1 background music sped up 125% on repeat
 
wow, wim vs Besh o droM :)
 
cool. :) Thanks for sharing. Django Reinhardt is pretty darn good
 
I think their name means something in one of the gypsy languages
 
6:19 PM
Oh you're not talking about a django plugin?
 
> The band was formed in Budapest in August 1999. The large, Budapest-based band employs a Romany title in the Lovari dialect (Besh o droM means ’sit on the road’ literally), but its real meaning is ’follow your path, get on with it’. It is also wordplay in Hungarian meaning ’I am rolling...’ (a cigarette).
 
wim
ahhhh ... now that you mention it I've heard the rolling a joint thing before, actually, from another hungarian guy
@KevinMGranger Django (the web framework) is named after Django (the gypsy guitarist)
and the creator of Django [web framework], Adrian Holovaty, is a great guitarist himself, actually
 
I did not know about him being a musician. That's awesome!
 
@Kevin I can't find any sources regarding that matter
 
Not really abt Python, but doesn't Joel Spolsky blog have a list of articles for new dev, old dev, managers, etc.? With his new blog layout there isn't such a list anymore.
 
6:29 PM
I think I remember that being a thing.
 
Right? Now the blog is just the entry, making it impossible to find the series of posts for new dev, and the linke
the like *
 
Maybe it's rendering improperly on your browser, because I see lists like that under the "reading list" header.
You have to click on the name of the role to get their specific list though
Like so.
 
when in doubt, use web.archive.org
 
The Internet Archive is such a treasure. I hope somebody is archiving it in case it goes down.
And if the Internet Archive Archive goes down? No problem, the Internet Archive can keep an Internet Archive Archive Archive.
 
hey that works! Thanks @Kevin. I was going straight to his blog post, which doesn't have the omnipresent side bar anymore
 
6:35 PM
Ah, makes sense.
 
Reading lists show up for me way down at the bottom of the page
 
Just wrote a comment that barely fit into the character limit, then decided that I misunderstood the question and deleted it. Time well spent.
 
Happens to the best of us. Everyone else just plows ahead and posts their stupid comments.
 
6:51 PM
This is what I get for making a high-INT character using WIS as my dump stat
 
INT is knowing a tomato is a fruit. WIS is knowing it still shouldn't go in a smoothie.
3
 
LONGINT is knowing that the distinction for fruits and veggies is arbitrary
 
Do dwarves only have SHORTINT?
 
A subterranean race would probably need a signed data type considering how much time they spend at negative altitudes
The question is how often they dig deeper than 2**16 meters down
 
DSM
7:20 PM
My google-fu is failing me. Is there a way to configure the system to show a FutureWarning each time (instead of only giving a warning the the first time?)
 
I don't know how to get any FutureWarnings. When I run None == 1 in 2.7.11, it happily executes with no complaints.
I assume Past Kevin failed to check a box during installation.
 
I don't get one either in 2.7.13
 
7:53 PM
>>> warnings.warn("deprecated", FutureWarning)
__main__:1: FutureWarning: deprecated
>>> 1 == None
False
I can generate one manually, which means that I'm not inadvertently redirecting stderr to some invisible endpoint...
 

« first day (2348 days earlier)      last day (2600 days later) »