« first day (1651 days earlier)      last day (3289 days later) » 

3:00 PM
@TimCastelijns Isn't that what I did when I put odd = []?
 
Alas, no screenrc is defined... I guess I am using screen wrong
 
@KernelPanic that's where you create an empty list. You fill it in the sort() function, but you print the result before you call sort()
 
@tristan It does if the escape key hasn't been redefined.
 
@KernelPanic so the results are in the lists, but they are not printed, because you already printed them before calling the function
 
@TimCastelijns So I put print odd, and then print even?
 
3:02 PM
@corvid What does screen -list show?
 
Just checking: have you changed print ("Odd: "), odd to print("Odd: ", odd) yet, as I advised?
 
Before calling the sort()?
 
This was just a terrible way of saying you need to move sort() above the prints
Nope
 
It is above the prints though.
 
both :: (settings*) » screen -list                                                                                                                                      ~/(super secret path)/both
There is a screen on:
	{my computer}(Detached)
 
3:03 PM
It wasn't in the code you showed :P
 
re-cbg
 
@TimCastelijns ideone.com/t6AhzM
sort() is ABOVE the prints
 
@KernelPanic You define it above the print, but you don't call it.
 
Oh god I'm an idiot.
 
Line 27: the print statement. Line 29: sort()
 
3:04 PM
I thought he meant line 19.
 
I'm not always a genius when it comes to explaining things
 
During that conversation I was going to say "It's probably worth mentioning that there are two places in the code where sort() is present, and both need to be above the prints". I guess it really would have been worth mentioning.
 
@corvid Ah. It's detached, meaning your term isn't "in" that screen session. Type screen -r.
 
Well it's still not printing out the list.
 
Yeah, because you didn't do:
3 mins ago, by Kevin
Just checking: have you changed print ("Odd: "), odd to print("Odd: ", odd) yet, as I advised?
 
3:06 PM
@Kevin Functionality > Style
 
Sure, but if odd is outside the parens, it won't be functional.
 
This is about functionality
 
DSM
(cabbage) for all!
 
cabbage!
 
@KernelPanic pro tip: assume Kevin knows what he's talking about
 
3:07 PM
@Kevin Well odd is within the parentheses.
 
And honestly if you're going to ask for free help on the internet, I wouldn't complain when someone gives you style advice as well.
 
Really, assume everyone does. It'll make your life a lot easier.
(At least until they prove you wrong)
 
I'm not trying to buck heads here. I'm just trying to understand.
 
@KernelPanic Style goes towards maintainability, and you will spend a lot more time maintaining code than you will getting it to work in the first place. A lot more time.
 
Not me though. Sometimes I appear to know what I'm talking about, when really I don't
 
DSM
3:08 PM
Ah, let me guess: KP is using Python 3?
 
Yeah he is
 
Anything else I should fix before I move onto to the sum portion?
 
remove the first line
 
@KernelPanic I mean, you really shouldn't be using globals.
 
3:09 PM
Rainy Cabbage
 
@MorganThrapp You mean like functions? Like main(), and sort()?
 
You should also either have a main function or not. Not both. As Kevin has already mentioned
 
@KernelPanic No, I mean how in your functions you're accessing items that are outside of the function.
 
Well the book taught me that functions help to organize the program.
 
@KernelPanic They do.
 
3:11 PM
They do. But you've got part in a function and part outside.
 
@KernelPanic Do you know how the return statement works?
@KernelPanic Here, take a look at this bpaste.net/show/c9f156c7ea67
 
That's honestly worse than not using them at all.
At least with regards to the main one.
 
Ok. What about it?
 
@MorganThrapp you forgot to return
 
@davidism Oops, so I did. :P
 
3:13 PM
@MorganThrapp As I understand it gives you back the value.
 
The end of sort should have return _odd, _even
 
This is how me and my evil twin would have looked like, if we were rabbits
 
Anyone know a half decent chart/graph plugin for google docs?
 
@KernelPanic Yes, it does. It's much better to have a function generate all its data within the function and then return the data.
@KernelPanic So, instead of
odd = []
 
A properly encapsulated design, with no global values, would look more like:
def make_number_list():
    numblist = []
    for x in range(0, 101):
        numblist.append(number())
    return numblist

def split_by_parity(seq):
    odd = []
    even = []
    for item in seq:
        if item % 2 != 0:
            odd.append(item)
        if item % 2 == 0:
            even.append(item)
    return odd, even

def main():
    seq = make_number_list()
    odd, even = split_by_parity(seq)
    print ("Odd: ", odd)
    print ("Even: ", even)

main()
 
3:14 PM
Yeah, that.
 
Then my professor would be questioning where I actually got the code from.
 
Heh. Yeah, don't copy-paste that :-P
 
@KernelPanic Have they not taught you about the return statement?
 
@Kevin No comprehensions? :'(
 
@MorganThrapp They have albeit briefly. This is an express course so it kind of is bare bones.
 
3:15 PM
@thefourtheye We're working with minimal Python magic here. I'm pushing it just by doing multiple assignment in odd, even = split_by_parity(seq).
 
@thefourtheye he is just reorganizing KP's own code
 
I swear you guys are all wizards.
 
DSM
Can we teach KP about else?
 
Oops, sorry.
 
for..else or if..else?
 
3:16 PM
Only if he plucks the first budding flower of spring from the mountain top, as proof of his discipline.
 
@KernelPanic I prefer Sauceror. ;)
 
I'm half tempted to eat lunch, and take a nap. However, I've put this off for too long.
 
@Mitch try...else
 
DSM
@Mitch: if/else. for/else still looks weird to my eyes. :-)
 
You can try..else?
Is that different from try..finally?
 
3:17 PM
I can
Ah.
 
Try-except-finally-else-unless-sometimes-never, coming in Python 4
 
Don't forget about maybe.
 
try else and try finally could never do the same, even if if they both were valid
 
DSM
MAYBE COME FROM
 
@DSM You beat me to it
 
3:20 PM
@TimCastelijns they are both valid
 
@RobertGrant didn't know about try/else. I find it difficult to imagine a time i'd need it
 
We have the same construct in Ruby, and I've used it... once, I think. Almost always, whatever I would want to go in the 'else' should just go in the thing being tried.
 
Huh. That is really weird.
 
@RobertGrant you're right
 
@KernelPanic Just to throw in my 2 cents on the style thing: Good style makes your code less confusing for people who read your code. That includes you, and the people who are trying to help you.
Making your code modular by putting everything into functions & not using globals means that you can debug each function, one by one, and not have to worry about spaghetti-like connections running all over the place. It's not a major issue for a tiny program like this, but it's an excellent habit to get into, so that it's 2nd nature when you want to code something serious.
 
3:22 PM
I perceive try-else as something that you would almost never need, but which would be a huge pain to replicate if it didn't exist natively in the language. Much like nonlocal.
 
and since I had to look up nonlocal, for others: stackoverflow.com/questions/1261875/python-nonlocal-statement
 
@PM2Ring I understand.
 
Excellent. :)
 
Huh. So it's reverse global?
 
It's, like, half a global. Sort of.
 
3:24 PM
I don't think I've ever actually used the global keyword.
 
Hey guys. I'm trying to get the string between two substrings. the string I'm using to search contains a colon. Is there an easy way to escape this character? Backslashes don't seem to work.. :(
 
@KevinMurphy how are you searching? re.search?
 
@KevinMurphy can you give a sample?
 
@KevinMurphy post code, use dpaste.com if it's long
 
3:25 PM
If you're just using str.find or something, you shouldn't need to escape colons at all.
 
sure, one sec. thanks!
 
DSM
@KevinMurphy: I have nothing to say, but everyone else was @-ing you and I didn't want to feel left out.
 
@DSM just for you
 
@MorganThrapp Here's a scary example of global abuse: stackoverflow.com/questions/25928184/…
 
If the substrings are constant and they only exist once apiece in the string, you can find the in-between values using only builtins:
>>> s = "Hello how are you doing today? I've got a lovely bunch of coconuts"
>>> s.partition("you")[2].partition("lovely")[0]
" doing today? I've got a "
 
3:28 PM
@PM2Ring that might just be the ugliest program I've seen in a while
 
@PM2Ring I, what? I don't even know how to start reading that. :P It's amazing how complex people can make simple code.
 
Agreed
 
Well here is the final program for now: ideone.com/Tnz8B2. You guys have been a godsend, and in the future I will keep my code cleaner cut. Thanks!
@PM2Ring Gross.
 
DSM
Okay, to be fair, that code was the output of an analysis program, it seems.
 
@TimCastelijns Well, there's a reason for that: the code's machine-generated.
 
3:29 PM
dpaste.com/0P0YGVS - I haven't found a better way of searching through html. I've seen parsers but they don't do exactly what I need. so as you can see there's some inline CSS i need to include in the search.
 
@corvid You disappeared. Did you get sucked into a screen session? Are you now starring in a bad Disney movie?
 
@WayneConrad Bad disney movie? I'm starring in Pirates of the Carribean
I actually think that would be the coolest thing to ever happen
 
@KevinMurphy I think your problem is not colons, but quote marks. Try print(findBetween(html, '<div style="clear:both; float:right; margin:1em; width: 30em; background-color: white; text-align: left; font-size: 90%; border-width: 1px; width:30em;', '</table><table width="100%">')
 
@corvid I was thinking of Tron.
 
@KevinMurphy Just put r in front of the string.
 
3:30 PM
@corvid Did screen -r attached you to the detached screen session?
 
@KevinMurphy But really you should be using a proper parser.
 
@Kevin yep you're right! didn't even notice them there, thanks!
 
@KernelPanic As an aside most python I see written by other people put all the def function()'s at the top, and then any procedural calls that aren't functions (e.g. your main() odd = [] even =[]) at the very end
 
@KernelPanic cool :)
 
See, since your string contains the character ", you can't unambiguously use that character to mark the beginning and ending of the string. Hence why the code colorer thinks the string ends after style=".
 
3:31 PM
@MorganThrapp any examples of similar problems with solutions using a proper parser?
 
@WayneConrad it seems to have, although the hotkeys aren't working still
 
So you could use the single quote mark to remove this ambiguity, or escape all your internal quote marks with \", or use some flavor of raw string literals which I don't have a lot of experience with
 
@KevinMurphy I haven't done a ton of html parsing, but I would be surprised if lxml or similar couldn't handle that.
 
@corvid screen -list should now show the session as being attached.
 
BeautifulSoup does that kind of stuff (html parsing)
 
3:33 PM
oooh it worked!
 
@TimCastelijns thanks, i'll look into it!
 
cabbage everybody
 
@MorganThrapp I was thinking that, good point. thanks!
 
Yeah, BS or a similar parsing lib is probably the way to go if you want something best-practicey. But honestly, it would probably require more code than the down-n-dirty rindex approach.
Basically, it's a tradeoff between, "how robust do I want my code to be?" and "how much time do I want to spend writing this?"
 
rhubarb
 
3:36 PM
it's a pretty basic script and so far it does what I want and how I want, I guess I know I'm not doing it properly
all the parsers I've seen just deal with printing out text and getting attributes. nothing like I want - guess I have more research to do later
 
Manually parsing html gets a bad rap, but it can be fine, if you're working on simple predictably formatted HTML, and/or what you're scanning for isn't totally nested and screwy.
 
DSM
That's true enough, but in most cases after you're familiar with how your parser of choice works, it's as fast to do it the right way as the wrong way.
 
Aye
 
Haha, oh, Puzzling.SE, where "because it looks like a sideways butt" is a legitimate answer.
 
3:49 PM
yeah if you ar lookingfor a simple pattern re.findall("Revision: ([^\n]*)",some_html,re.DOTALL)
 
thanks everyone for your help. by far the most helpful SO chatrooms :D
 
Nobody answered.....If you're gonna mark it as duplicate at least answer the goddamn question. — Toshiro 1 min ago
^_^
 
Sigh. Flagged.
 
user559633
4:05 PM
That's a mad anime.
 
Flagged his next comment as well
 
@EllaShar are you legally blind? It's right there. — Toshiro 50 secs ago
 
Yeah, that one
 
Maybe it's time to raise a "custom" flag..
 
haha wow
AskUbuntu gets a lot of the hostile crazies, too
 
My coworker was having trouble getting his ID card to scan, and I told him, "yeah, the scanner is real sensitive". It occurred to me that this statement has two completely opposite meanings, depending on whether you interpret "sensitive" as "temperamental and easily disrupted" or "Highly attuned and perceptive"
 
user559633
x-post /r/mildlyinteresting
 
/r/showerthroughts.
 
/r/showerthoughts
 
DSM
Are those really opposite, though? They're both "large reaction to small input" effects.
 
4:21 PM
s/throughts/thoughts
 
In this particular context, it's the difference between "easy to scan" and "hard to scan"
But the definition of the word itself doesn't quite quality as an auto-antonym, I think
 
huh. Never thought about auto-antonyms en.wikipedia.org/wiki/Auto-antonym
 
Yeah, that's really interesting.
 
I wonder if ESL speakers have trouble differentiating "Bob has left" and "Bob is left".
 
I don't
 
4:26 PM
"bob is left" is probably confusing by itself simply because of left = remaining and left as in left handed
 
@AnttiHaapala pyramid refuses to let me override a template with another one with config.override_asset - have you used it?
 
I'm not ESL and it took me way longer than I'd like to admit to figure out the second one. :P I was trying to figure out why Bob would be left (direction).
 
Weird verb tenses were always tricky for me in high school French.
 
yeah, I can't think of a time when I'd say "Bob is left" without actually saying "Only bob is left"
 
Terrible book idea: a murder mystery where the victim writes "[character]'s left" before dying, and the detective has to determine which of the three contradictory interpretations is correct.
The character left during the night, so he couldn't have been the murderer? The character is the only person left in the will, establishing motive? The character's left hand has no fingerprints, facilitating the crime?
 
4:28 PM
Mary was fired from our group and Bob is left to do her job
@Kevin The murderer was communist?
 
@Kevin If you released it for < $5 on the kindle store I'd buy it.
 
DSM
@Wayne: I was thinking of "left" as "left-leaning" earlier. That could be a motive for something else.
 
It's a little strained, I admit. "Leftist" would be more idiomatic.
 
Sure, but that's ok. Murder mystery victims don't always write full sentences with their last breath.
 
DSM
We're lucky they leave dying messages at all!
 
4:32 PM
Compare to "Rache" in Sherlock. (the tv show, not the original story)
 
This is starting to sound like the beginning of the Da Vinci code "What could the fibonacci sequence that he left written in his blood mean?!"
 
DSM
A team-up between an Egyptian god and an Argentine killer. Next season, on FXX!
 
I'd watch it.
Like a modern day Odd Couple.
 
DSM
I think "The Odd Couple" is the modern day "The Odd Couple".
 
Ra is the clean one, and Che Guevara is the messy one. His half of the apartment is almost totally occupied by silk screening equipment that he uses to produce T-shirts with his face on them.
 
4:37 PM
@Ffisegydd do you still have the code for the log scale charts on that benchmark? I'm working on an update (one new answer, improvements to two others, and the Q is suddenly getting a lot more attention the past day or so from somewhere), and your gist is producing linear charts.
 
@Zero give me two minutes to rewrite it
 
@Kevin Ew. Not Che.
 
Gnocchi? Sure, I'll have some.
Wait a minute, that joke only makes sense if you pronounce gnocci without the hard C. Never mind.
 
Fun-thing-to-do: Speak to an Italian and pronounce gnocchi like "guh-no-chee"
 
a bit of help please..
 
DSM
4:42 PM
Have no idea what "it allots any number to a name" means.
 
I don't know anything about matplotlib, but I'm keeping you in my thoughts o:-)
 
@DSM instead of a unique number to a string , it allots any number. For eg: A,B,C,D should have 0,1,2,3 as their representations. But in some observations, C gets the value 0 , in some it gets 2 ..
 
@Ffisegydd Be sure to refer to them as eye-talians also
 
DSM
@Sword: so does this have anything to do with matplotlib, or is this entirely about Categorical encoding in pandas?
 
confused o_O ..
better alternative in matplotlib?
 
DSM
4:46 PM
Take a step back. This line: pd.Categorical(dfA['DiseaseName'].values).codes has nothing to do with matplotlib.
 
someone used hash(string) in some SO answer..
 
@Ffisegydd Gnocchi's Not Only Carbohydrate: Cavatielli Has rIcotta.
 
yeah , I know.. I did that because I do not know a way to do that in matplotlib..
 
@Zero updated gist.github.com/Ffisegydd/5c8e927a63ef35ce7354. The line ax = fig.add_subplot(1,1,1,xscale='log') is the one selecting logscale. You can modify it to lin (I think, maybe 'linear') to get it back to linear.
You could also just remove the xscale kwarg all together.
 
@DSM any good way in pandas to convert strings to factors ??
 
4:51 PM
@Ffisegydd Ta!
Going to rework the benchmark code so it checks for seaborn etc. and only tries to produce them if it can.
 
DSM
@Sword: if by that you mean integers in some encoding, pd.Categorical should work. You can always pass the categories= argument manually if you're occasionally encoding Series that don't have all the categories used.
 
@Zero Awesome. If you need me to change anything around let me know.
 
A while since I installed numpy, scipy etc. Those things are beasts.
 
DSM
@Zero: sufficiently so that on Windows I use Anaconda. I usually don't use monolithic distributions but life is far too short.
 
I've converted to Anaconda on Windows now.
 
4:55 PM
what does "codes" do exactly? the "levels" returns all the unique string values..
 
I don't like the idea of Anaconda, but yeah life is too short (especially now that Gohlke's website uses whls and so I'd have to boot up PowerShell to pip install the whl)
 
DSM
@Sword: the docstring has typos all over the place, but cleaning that up, it's an array of integers which are the positions of the real values in the categories array.
 
@DSM Ok, wait. Is "Categorical encoding in pandas" a real thing? I thought you were being funny...
 
DSM is never funny. He's always super cereal.
 
DSM
@Wayne: yeah, it's a real thing. :-)
 
4:58 PM
Haha! Oh my.
 
in SOPython, is there any kind of git hook to automatically generate docs before commits?
 
DSM
here (for Categorical, I mean, not for a git hook..)
 
@DSM that sorts it..Thanks!!
 
Plz accept his answer
 
I tried accepting it into my heart, but there's no room because it's already full of blood and cholesterol.
3
 
5:04 PM
You have a small heart :-)
 
And yet it can shoot blood up to eighteen feet. It's a great trick at parties.
 
Uhhh..
 
Oops, thirty feet. I was in the ballpark.
 
DSM
You need more exercise, I guess.
 
Let me just go to the gym and jump on the heart machine...
 
5:09 PM
Yoga is better for you.
 
A couple months back I had a daily regimen of 100ish situps, but all it did was make me sore the next day :-(
 
@Kevin thanks for that link. Invaluable information right there
 
After a month or two I didn't have dynamite abs, so I went back to being a slob.
 
Wow. Who flagged that?
 
At least you tried
 
5:11 PM
@Ffisegydd That was weird
 
DSM
Someone who's really pro-situp?
 
Clearly Kevin has more than one enemy.
 
Who's the enemy we know about?
 
...never mind...
 
Himself
 
5:12 PM
"You have to eat right too, or else the dynamite abs will be hidden underneath your dynamite flab", you say? But... But... My processed food... :-(
 
Please don't play with the flags
 
Gotta get my fix of high fructose corn syrup!
 
It's not worth it man, abs are overrated
 
@WayneConrad Well, someone must be responsible for all my problems, and I refuse to believe that someone is me.
 
Wow we've got quite a lot of people in atm.
 
5:13 PM
I'll get you, mysterious stranger, for foiling my various dreams!
 
DSM
Fortunately you can plug these boxes into machines at the gym and watch shows of your own choosing, so time at the gym isn't so bad these days. Of course we're in the playoffs of two sports right now, so there's lots to watch regardless.
 
Once I've settled down in a job I may start playing golf again for exercise.
 
Nice.
 
@DSM Which hockey team?
 
5:16 PM
Why are abs and gym being discussed on here? This a Python programming chat isn't it? Nobody talking here about code or something?
 
We frequently talk about non-code. We talk about non-code more than actual code :P
 
DSM
@DonkeyKong: I'm a Leafs fan, so playoffs aren't often something I have to worry about. :-)
 
We'll happily talk about code as soon as someone brings it up :-)
 
@Tenzin well abs is a built-in at least
 
We're talking about it right now!
 
5:17 PM
Too bad, I got an issue. Will look somewhere else then. :-(
 
@DSM LOL, I literally work in a building attached to the Air Canada Center, so I see plenty of sad leaf fans
 
cabbage I'm back
 
Hmm, is "talking about talking about code" a category of "talking about code"?
 
metalking about code
 
Being from Calgary I'm thrilled these days :)
 
5:17 PM
@Tenzin OK, good luck. (But really, did you just miss the part where we said we'd talk about code if it was brought up?)
 
Well now we're into a meta discussion about meta discussions.
 
I need to explain to my boss that I'm meta-programming
 
Should discussing this discussion really be a discussion?
 
Can I talk about other coding languages that don't have their own room? That's talking about code.
 
Python only, it's in the name!
 
5:18 PM
Aww
 
Yeah both discussions and meta discussions should only really be about Python.
 
DSM
There, there. You know you have a room of your own, Wayne. :-)
 
P-Y-Thon, it's in the game!
 
Of course, if there's literally nothing else being discussed some regular users will discuss other langs (as friends effectively).
But the issue is that if people come in here expecting help on language-X they'll probably end up being disappointed.
 
DSM
Sometimes people have argued in their defence that we're an active group, and so this was the right place to ask strange question about random language X. You can kind of see their point, but it doesn't work that way.
 
5:20 PM
I'm pretty sure we're doomed to have this meta discussion at least once every two months.
 
But where else will I find answers to my PHP questions? :(
 
So it goes.
 
DSM
@DonkeyKong: yeah. I'm also from Alberta but my father grew up in southern Ontario, and so I didn't have a choice about my allegiances..
 
If not the python chatroom.
 
Try the Ruby room, Wayne can show you the way.
 
5:21 PM
Hah!
 
I tried the Topaz room, but I'll give the Ruby room a shot.
 
It's down the corridor on the right, next to the loos.
 
I'd ask the Diamond room, but I can't afford the bottle service.
 
Bottle is on topic in this room, luckily
 
@DSM Well you have my sympathy ;)
 
DSM
5:22 PM
There's always Lounge<C++>, although I'd recommend you install every safe-browsing plugin you can find, and read the screen through your fingers.
7
 
The PHP room is in the sub-basement behind the bookshelf, in the disused lavatory whose door is labeled "beware of leopard"
 
Javascript is in the penthouse, living it large in the sun.
 
DSM
"X in the penthouse / living it large in the sun" sounds like a lyric.
 
Not much rhymes with Lounge<C++>. Would be hard to get it into a song.
 
DSM
5:26 PM
Lounge<C++> for code with more fuss / compile-time errors that ooze like pus
 
@DSM I like it.
 
MC DSM - Battle Rap Champion Of The Python Massive.
 
Now he needs a challenger.
 
@Kevin Obligatory Hitchhiker's reference, Ladies and Gentlemen. Who's up for some Pratchett?
 
I managed to sneak my running figgin reference in earlier.
 
5:28 PM
"[The Python Room is] the place where the falling angel meets the rising ape"
 
DSM
Lunchtime rhubarb for all! Half an hour before meeting I should be ready for, and I need to prepare some disses to distract them if all else fails.
 
Blow them away!
 
Remember to say "but does it scale?" and "can you go back a slide real quick?" to make yourself seem intelligent and engaged
 
And open your eyes every now and then
 
Remember to play with your phone so you seem important.
 
5:37 PM
Whatever you do, don't stare at the speaker and then slowly wink at them.
 
Lots of good advice here.
I usually just ask lots of questions and annoy everyone.
 
5:57 PM
Le Morning
 
is it okay to use slugs as replacements for ids in the database?
 
I prefer to use snails.
 
Slugs are fine, just don't salt your passwords
 
heh
 
@MorganThrapp what's wrong with 🐌?
 
6:06 PM
I did not know there was a unicode for that.
 
there's tons of unicode emoji
 
I'm just seeing a box with characters
 
U+1F681
Huh, that's not how it works. :P
🚁
Woo!
 
6:19 PM
@RobertGrant hmm, it depends on the templating system if it obeys the overrides
a Chameleon or Mako template file contained within a Python package.
which templating language are you using now?
(should add this to Tonnikala properly)
 
anyone here use mongo often? Got a weird query in mind
 
@Ffisegydd Updated:
 
@corvid no; anything in mongo is weird
 
67
A: How can I tell if a string repeats itself in Python?

davidismHere are some benchmarks for the various answers to this question. There were some surprising results, including wildly different performance depending on the string being tested. Some functions were modified to work with Python 3 (mainly by replacing / with // to ensure integer division). If yo...

 
@ZeroPiraeus lol that david zhang answer is waste of good rep :D
guy has 432 upvotes, accept and 150 from bounty and lifetime totals: 2314 :D
 
6:34 PM
Yeah, it's kinda mental :-)
 
@AnttiHaapala Well at least I'm sure it's gotten him multiple daily cap hits.
it is a ridiculously pretty answer
 
yeah that for sure, he got mortarboard on 9th Apr
 
probably halfway to Epic by now :)
 
Score of 100 after 4 days: that's 600 missed points
 
he should edit the answer to say "fav this ans and come back next month to upvote it" :D
 
6:44 PM
Restrictions in python on combining lines is yet another question whose answer would be interesting if only we could know what the devs are thinking
 
ah the answers on dupe are bad
(as usually)
 
The ambiguous else example in the top answer is pretty insightful, at least
 
hey is SO (or which) on topic for general questions about image processing? Such as when how I can add a low pass filter without losing as much detail as a gaussian blur does?
 
it is from the docs but it could have quoted the docs better :D
 
@paul23 you might want dsp.stackexchange.com
 
6:55 PM
@paul23 depends
 
@AnttiHaapala on?
 
For one thing, they'll close as off topic if they think it's too hard.
"It seems like the details of the solution could fill a whole textbook", they'll say.
 
I think something can be too broad on SO that wouldn't be too broad elsewhere
(though it shouldn't be so)
but what do you mean by "low pass filter that does not lose as much detail as a gaussian blur does
 
as currently stated it's something I would probably vote as (too broad)
 
yes
me too
 
6:59 PM
if you're asking for specific details on constructing / applying filters that might lead somewhere productive
off the top of my head I would say look at sinc filters
 
a low pass filter necessarily removes detail
 

« first day (1651 days earlier)      last day (3289 days later) »