« first day (2569 days earlier)      last day (2604 days later) » 

00:07
Rhubarb
00:23
cbg
 
2 hours later…
Why can't I type your name?
WTF is the second character?
chat doesn't seem to match it with a regular "o"
or even an uppercase one
02:29
@landpack What do you mean.. Tornado of air or what?!
 
2 hours later…
 
3 hours later…
07:37
recbg
08:55
Is that an MMO idle game?
@Code-Apprentice unicodedata.name ;)
09:09
Cabbage
@AnttiHaapala I guess that's inspired by Nick Bostrom's paperclip maximizer
@AndrasDeak not it is massively single player game :D
the more you play the more you unlock
Ah. So a simple idle game
not very simple :D
09:18
Here's a recent output from my random circle program. I just did an ugly hack to get it to make a tileable image, I'll probably figure out a cleaner way once I've refined the circle placing algorithm and have built a proper GUI for it.
09:36
@PM2Ring looks awesome
@AndrasDeak try playing it :D
the objective is to make more paperclips
... now, how bad could it get ... :D
@AndrasDeak Thanks. The circle placing algorithm is a bit smarter, but there's still plenty of room for improvement.
09:52
Earlier this morning, I got a "User Removed", losing 460 rep. Anyone else have the same thing happen to them? It didn't happen at the usual script running time, so I'm guessing a mod stepped in.
10:08
@cᴏʟᴅsᴘᴇᴇᴅ I've lost a few points due to "User Removed", but not recently. 460 points is a pretty big chunk to lose in one hit. I guess that user had upvoted a lot of your answers and perhaps they got deleted due to voting irregularities.
10:57
@cᴏʟᴅsᴘᴇᴇᴅ it might have been torazaburo. The manual delete and the location check out
Although that seems to have happened 4 days ago or so
stupid question, but is there an easy way to round to the nearest integer? With none of this new "round to even" behavior?
11:14
@Rawing There's always the traditional int(0.5 + x)
Oh, right, there's that. Thanks :D
I would hazard a guess for math.round?
@AndrasDeak That does round to even.
Anc regarding the rep thing, I find it possible (albeit unlikely) that deletions of this magnitude lead to a decoupling of deletion and vote cleanup. @cᴏʟᴅsᴘᴇᴇᴅ could check a few JS hotshots and see when they lost their rep
@PM2Ring huh, interesting
@AndrasDeak Wow. I'd never have imagined a user would've been deleted for violating the Be Nice policy.
11:19
FWIW, the decimal module lets you select a rounding strategy, on a per-context basis.
OK one can use Decimal for that rounding :|
@cᴏʟᴅsᴘᴇᴇᴅ read the links and comments: he rage-quit
Cannot find any people who've lost rep there. Must've been shadowing some other tags of late.
@AndrasDeak Ah okay. I ended up TL;DR'ing that link. I'll look at it again.
11:40
Perhaps it's still being calculated
11:57
@AndrasDeak This rage-quitting business happened almost a week ago. I'm trying to figure out how this related to my sharp rep loss...
 
1 hour later…
13:01
@cᴏʟᴅsᴘᴇᴇᴅ Bah... 460 is a tiny portion of your current rep. - wouldn't worry about it that much :p
@JonClements It's funny... a couple of days ago I could've lost 460 rep and still ended up with a positive score at the end of the day... but that -xxx in red looks ugly on my rep summary ;(
Wondering what I should do now to fill the 1-2 hours per day I was wasting on #StackOverflow.
Interesting, not trying to witch hunt, but understand the reason why someone with 60k+ rep would ask for deletion
Can't say what user it was - but it wasn't that user that caused the rep loss here :p
@AndrasDeak ^^^
13:11
He just said that it wasn't him
Probably an elaborate sock
@gldraphael The reason for the low quality is that there are too many questions from ignoramuses, period. We need to prevent, not encourage questions.
@AndrasDeak Strange (and incorrect) conclusion to jump to there :p
With that said, Google is surprisingly adept at wading through the sea of junk to return the most relevant links.
Well, Google wouldn't be Google if it didn't Google as well as it does.
Usage of Google as both a noun and verb in the same sentence :p
Is there a reason why you can't say who the deleted account was? Like, what's the harm in anyone knowing? (I'm sure there is a reason, I'm just wondering what it is)
13:27
@Rawing Well, must be someone extremely fond of my answers, for them to upvote me so many times. (462 is only indicative, since I'm usually way over my rep cap there must've been many more unseen upvotes lost as a result of this exercise).
Ah, so it's for their own protection; it's to prevent us from pointing fingers and whispering "Look, it's Coldspeed's creepy stalker" :D
@AshishNitinPatil Yeah, they didn't like that we didn't let them post just anything.
They had some dubious behaviour in the JS tag for a while.
So there was some more history before the great you deleted my post on Meta, now apologise to me and admit it was politically motivated tantrum.
(a tantrum that included a apologise and undelete, or I'll delete my account threat promise).
@Rawing We can't say what account was deleted because we can't actually see that. We just don't know.
13:45
@GhostlyMartijn Only the moderator who deleted the account would know, correct?
(Since they deleted it.)
Oh, I see
@cᴏʟᴅsᴘᴇᴇᴅ the account wasn't deleted in connection with your account, so there is no record on your account as to what account was deleted.
We can speculate and connect it with account deletions made that day, nothing more. Batch processes take care of the reputation recalculations, so the connection to an account deletion is not immediate.
Thanks, that was helpful to know.
 
1 hour later…
14:51
@JonClements incorrect conclusions are just my thing :P
15:09
@GhostlyMartijn Ready for Halloween I see
I'm going as a minion
damn this paperclip thing is addictive
15:51
@Code-Apprentice boooohooooo
DSM
DSM
@GhostlyMartijn: spooky!
 
2 hours later…
18:09
I don't think these edits are great. Should it be "reraise" or "re-raise"? stackoverflow.com/review/suggested-edits/17768272
That person clearly doesn't comprehend the purpose and/or existence of pseudocode...
"not working code fixed"
IMO the only worthwhile improvement that edit has made is rephrasing the "we will not catch e" bit. Having except ValueError as e: print("we will not catch e") is really a bit questionable
18:41
Wow, the crap that you answer Aaron :P
:)
reraise: To raise again or anew.
wow, that's an obnoxious one-box... let's see if I can fix it...
I do like psuedocode to actually execute so long as the communication isn't broken. But that's superfluous code added in that edit, at a glance...
I'm a bit of a pedant, but it seems correct to refer to things that are Exceptions as synonymous with "error". Am I wrong?
19:06
you're wrong
>>> issubclass(StopIteration,Exception)
True
if every exception was an error not only some of them would actually be called an error
there's also a subclass of Exception called Warning which probably stands for warnings
Fair enough.
python -m pydoc builtins
^^^Shows you the exception hierarchy from the command line. substitute exceptions for builtins if you're on Python 2.
The guy is making it impossible to approve his changes with the code edit.
I looked at Exception.__subclasses__() :P And that looks like import builtins; help(builtins)
19:23
@ElisByberi why don't you join me in the python chat room where a few of us are discussing your edits: chat.stackoverflow.com/rooms/6/pythonAaron Hall ♦ 9 secs ago
Hi there!
except ValueError as e: print("we will not catch e")
You always will catch ValueError but you will never catch exception "Exception"
ok, if you'll back out the function rewrite to minimal changes from the original to such that the pseudocode works, I'll approve it. (no *args or superfluous code, please)
You are excepting ValueError but not Exception
19:27
The eager pedant in me agrees with you, Elis.
I edit your API example code because it did not have any meaning to be honest. I made a simple example using args but not kwargs.
But that is I think where reasonable people will disagree, and at that point, I'll suggest you to write another answer if you want to offer that sort of an example.
Your example
who are we to know what reasonable people will think
I presume that all present are reasonable.
19:30
is not functional and it does classify as an example either. Maybe removing it at all
And since we disagree, it is a logical conclusion that "reasonable people disagree."
would be the right thing. It is very complicated for someone who do not know to raise an exception
I believe it would be the right thing to simplify answer by removing this bogus example.
I write for a multitude of audiences, from beginners to experts.
Ok! For an experienced programmer my example it very simple. Hahaha
:-)
I try to keep it simple and on the subject, without oversimplifying or dumbing it down.
19:34
It is simple but we can not post things that does not work theoretically and semantically neither.
I think the function change is too tangentially related to the point. It is intended to be a very trivial function with only two possible correct arguments.
If you wanted to add a tuple with those two arguments, such that the function would execute, I'll approve the change.
Yes, it is as simple as it is confusing.
Whoever wants to read a post on SO rather than the official documentation or the tutorial on exceptions has it coming
I mean the question is literally just "How can I raise an exception in Python so that it can later be caught via an except block?"
I vote for removing the example at all. It is confusing anyway for beginner and experienced programmers. We are not using OOP and a lot of programmers I know do not know to code without OOP.
"Errors can not be raised." It is an exception that we raise. Errors occurs but are not raised.
19:50
errors occur by something else raising them...
DSM
DSM
I'm coming in late, but this seems silly. ValueErrors can be raised, and presumably a ValueError is an error. So I'm pretty sure it's perfectly reasonable in a Python context both to say that errors can be raised and that errors can occur. Words can be used in different ways, after all.
I'm wondering what raises a SyntaxError
Error is a cause and exception is an effect. Error causes an exception to be raised. Error occurs and exception is raised. In python every error cause an exception to be raised and we use "try" statement to catch them.
@ElisByberi I only recently started learning Python/coding. It appears simple enough to me. I have not really used any OOP except through using a couple of modules. One of the earlier chapters of most tutorials/books refers to try/except statements. Some of them show simply how to do what Aaron's example does in that answer.
As I've already said, StopIteration is an exception and it has nothing to do with errors
DSM
DSM
19:56
@ElisByberi: repeating the definition you wish people would use doesn't make it the one actually used in Python. I get that you wish the word "error" wasn't used as loosely as it is, but I'm not sure what to tell you except that I offer you my sympathies.
args = locals()['args'] what?!
also, camelcase in python is rather awful.. (allowedArgs) @ElisByberi
@toonarmycaptain A return False would be sufficient in the example. It is bad habit to use exception everywhere. Exceptions are used sparingly for performance reasons. You can use try/except when getting a key from a dict avoiding checking if key is in dict.
@ElisByberi if you want your change approved, you need to stop debating here and make the edit I requested on the answer.
minimal changes
I am leaving example as it were before edit.
That's fine too.
20:03
Anything else we can talk about before edit?
:-)
@ElisByberi return False may be sufficient in many cases, that doesn't make this example a bad example of the technique demonstrated. The argument you made that I was responding to was that the example is confusing to beginners. I disagree: If you're in your first few hours of python, maybe, not if you're trying to raise exceptions.
@toonarmycaptain Of course.
@ElisByberi I think that covers it. For future reference, code changes should usually be restricted to formatting and typo fixing.
Old example is back.
approved. Ops, please push.
Wait, I'm not at work...
20:08
Cabbage everyone.
Cabbage cake to all
[It's my son's second birthday today.]
Yum I love cake.
As a pious meatatarian, I don't speak salad, so I'm off.
@AaronHall Yes, I think there is not embarrassing typo left there, hahaha.
It's weird think in coding when bored?
20:23
logger.propagate = False # This doesn't work
What am I doing wrong? For some reason I cannot temporarily stop the logging.
 
2 hours later…
22:40
hot diggity, daylight saving is over tonight
3
I'll be internationally confused for a week
I keep making off-by-one errors in my time with respect to UTC
takes me a few days to remember what the new offset is after a daylight saving switch
it also doesn't help that different parts of the world adhere to different switching times
so the night is 1 hour longer... good, now I feel a bit better about staying up late
I like a late night.
Not so keen on mornings after one though.
Actually does anyone here use Python in Visual Studio?
23:21
Hi, I'm sort of new to python programming, i have learned the basics and even made a gui with tkinter for my little app. But in tkinter the styling options are limited. So how is it possible for applications like dropbox or any other application written in python to look pretty with such limited styling options
I want to eventually make something that looks decent, if you know what i mean
aah thanks
ill look into that
no probs
another one could be pygtk.org, both are basically bindings to two popular GUI libs qt and gtk
@Kevin.a This might be of use as well.
It's another GUI WxPython
23:56
This user asked a question yesterday that was put on hold. Today, they opened a new question with a copy-paste of the same exact question that was previously closed.

« first day (2569 days earlier)      last day (2604 days later) »