« first day (1553 days earlier)      last day (3395 days later) » 

7:00 PM
@Kevin supernoodles doesn't count as a meal :)
 
If I eat something and then don't starve, it was a meal.
 
I'm trying to free up fridge/freezer space, so I'm going for a chicken kiev atop 2 burgers, which chips and coleslaw
ooo... maybe throw in some onion rings a well... I should have been a chef cough
Probably lucky I don't build systems like I build meals though...
 
looks good, but clogs the tubes?
 
I had a tuna salad for lunch... I'm hoping it all balances
 
I'm pretty sure that's exactly how it works, yes.
 
7:07 PM
(and its "low fat" coleslaw apparently)
 
DSM
Okay, it being Friday, it's time for some subcontinental cuisine. Lunchtime rhubarb for all!
 
@DSM rbrb for now
 
In case anyone cares, I'm going for Netflix's Marco Polo.
 
@Ffisegydd ahhh... I was thinking about that the other day - you be the guinea pig and let me know? :)
 
Sure mate
 
7:11 PM
I think my parents watch that. Or maybe I saw on reddit that someone's parents watch that.
 
@Kevin I understand your confusion - they're obviously synonymous...
 
This one's sense of identity has melted like so much watery putty.
Trying to figure out whether this story's author is in favor of multiple-return or not.
The big two paragraphs in the middle seem to indicate "Single-Entry Single-Exit is a concept from long ago when coding was a lot different than it is today", but then the moral appears to be "multiple return is dumb because it's a pain in the butt to get halfway through an expensive function and then return early when the arguments you passed weren't well-formed",
Although I guess that's not so much a strike against multiple return, because you could just as easily do that with a goto failed
I guess with 176 stories, they can't all be winners.
 
@Kevin Not sure, but unless the rice gag is a recurring joke, it's probably intended to demonstrate... something?
Every time the master asks the novice for something, the novice goes through a single entry and exit (though in reverse, from the master's perspective) to fetch it.
 
It's a gag in the sense that the stories all take place in an alternate universe where programming is carried out by monks in an buddhist-esque temple.
 
But if that's supposed to endorse SE/SE, I don't see it as any kind of good analogy.
 
7:26 PM
sounds similar to an environment where a group of strange looking people discuss programming
 
You mean perlmonks? Yeah, I agree.
Although I envision them as more European style monks.
 
I fiddled around for a minute trying to write a function that imitated what the koan might be trying to demonstrate but gave up because it just doesn't translate.
 
If anything, I think it's an argument against dynamic typing. "Oops, you passed in a WhiteRice instance instead of a BrownRice instance, wouldn't you have preferred to be notified at compile time instead of halfway through running the method?"
 
Yeah, that's the sort of analogy that would work here.
Anyway, return isn't the only way to exit... what about caught exceptions?
Which is what that koan looks like, to me
 
user559633
A novice was trying to fix a broken Lisp machine by turning the power off and on.
Knight, seeing what the student was doing, spoke sternly: "You cannot fix a machine by just power-cycling it with no understanding of what is going wrong."
Knight turned the machine off and on.
The machine worked.
 
7:37 PM
:-)
With the Jargon File properly referenced, I will now link to the Tao of Programming to complete the triad of weirdly eastern-inspired computer content
 
does anyone know of an equivalent software to screenflow for ubuntu?
 
user559633
blatantly nothing to do with programmin
 
agreed.
 
same
 
7:43 PM
yeah
 
10 upvotes though!?
 
user559633
not even close to about programming
 
closed
 
They'd all be well deserved -- if the post was on Super User
 
cbg btw
 
user559633
7:45 PM
cbg jerry
 
gong
 
user559633
"jerry, man, the ring" - a political joke made by one of jerry's friends at a wedding
 
user559633
Does stackoverflow show the highest rep users for the flaggers?
 
user559633
I've never seen my name in the "off-topic by X,Y,Z" list
 
hmm, isn't not that only users who actually voted at this close reason that are listed?
 
7:48 PM
@tristan I can see how it has to do with programming, but all you have to do to find out is look at the url for a few 1080p videos and find the syntax...
 
like 4 users vote too broad and the 5th votes unclear, the Q will be closed as too broad by the 4 voters
 
It's programming related in the same way that "my friend forgot to sign out of Facebook so I'll mess with his status" is hacking
 
Jerry's right, only actual close-voters are listed, since a flag doesn't equal a vote
(Unless you have CV privileges, in which case the flag is silently changed to a vote)
 
The OP now has 404 rep (2 downvotes). It's something :D
 
wow lol
 
7:50 PM
And his other top question with +7 is giev code pls
 
user559633
@corvid sure, in the same way that "what's the facebook link to groups" is about programming
 
Can I iterate a queue like: for item in queue:?
 
"Please provide a sample code solution for this."
 
or do I have to use get?
 
@RobertGrant who says I have to test ;)
 
user559633
7:51 PM
or what kevin said, i didn't read up
 
(I'm trying to do a BFS expansion of states to create a computer player for my n-in-a-row game) :)
 
@ReutSharabani Not in 2.7.5. TypeError: iteration over non-sequence
And pay special attention to the note about blocking
 
user2555451
@ReutSharabani - queue's do not support iteration because getting items from them removes the items.
 
@AirThomas thanks :)
 
user2555451
You could call queue.get() repeatedly in a loop though.
 
user2555451
7:56 PM
But this will remove items.
 
@iCodez that's what I did, but I instinctively wrote for x in q.get() and figured out it may not be possible
 
for x in foo.get() does not make any sense, you should stomp that instinct with a boot
Just as you would stomp an offending insect
Assuming you tend more to the Bootist than the Buddhist
(hashtag dadjokes, play me off Johnny)
 
I like to catch insects between a cup and a piece of paper, and release them outside.
... Where they will probably get eaten five minutes later, but meh
 
By another insect, or perhaps a toddler
 
@AirThomas I meant for x in q, sorry :)
 
8:01 PM
Don't worry, I won't stomp you. I'm not wearing boots, and anyway I like this monitor too much to break it.
 
DSM
Could someone give me the five-word explanation of the "web scale" meme?
 
well, I don't know what stomping is and I'm too focused to check
 
what does "MVC push/pull" mean?
 
I need some extra money for a small project of mine (like $2,000 or so). Is there any way to do Linux or Python work temporarily?
 
DSM
8:03 PM
@AirThomas: much obliged, sir.
 
And, shortly thereafter, the nomination
 
@corvid Wild guess: there are two ways to implement the communication that goes on between the components of Model-View-Controller. push (model tells view, "hey, this state changed"), or pull (view asks model, "anything change recently?")
The effective difference being, which component has responsibility of initiating contact with the other.
 
@ReutSharabani To step on something really hard
 
 
1 hour later…
9:05 PM
Hah, my meta question is on Hot Meta Posts list
 
user2555451
Apparently, you found a major bug. Few of the recent bug reports have hit a score like that.
 
so, in games, when a player suddenly disconnects, how does the game save their last known state? Does it write it to a buffer then send it to the server every x number of seconds, and if they disconnect, simply write the last updated buffer?
 
user2555451
Most modern games I've seen save periodically as the person plays. You'll usually see a saving icon in a corner of the screen.
 
user2555451
Usually, it's when you hit a checkpoint or other important part of a specific level.
 
user559633
@corvid background state saving.
 
user559633
9:14 PM
like in web applications how you asynchronously safe user actions as he/she browses the site
 
@iCodez I mean more in the sense of a networked multiplayer game, such as world of warcraft
@tristan I'm trying to implement a web game, where the player's position is saved even when they leave the window
 
user559633
Okay, so how does the player send his position back to the server?
 
user2555451
The answer is simply based on style.
 
user559633
9:41 PM
I put a comment that people don't seem to enjoy :/
 
user559633
Why are simple shit answers always voted up quickly? It is the amateurization of the internet thing?
 
user2555451
I also don't know why people keep linking to Google's style sheet. That is not an official guide. It's like saying "well, these people do this".
 
user2555451
The official guide is PEP 8 and the other PEPs.
 
user559633
Yeah, I downvoted the answer because it encourages crap questions and isn't at all a real answer
 
user559633
"here's my unqualified opinion and two links to other opinions"
 
user559633
9:45 PM
especially one that calls __init__.py a constructor >_________________>
 
Eh, I upvoted the answer... I thought it was kinda objective
 
user559633
Nah
 
user2555451
I've heard some people claim "Well, Google is huge". So? Most of the Google devs probably only follow the guide because they were told to.
 
user559633
Two examples, one of which being a corporate style guide and the other link that doesn't even mention placement and calls an initializer a constructor
 
"You last voted on this answer 14 mins ago"
"Thank you for your patches <my name>. But I think that the code can be made simpler"
+    def last_raises1(self):
+        raise Exception('Last raised')
+
+    def last_raises2(self):
+        self.last_raises1()
+
+    def last_raises3(self):
+        self.last_raises2()
+
+    def last_raises4(self):
+        self.last_raises3()
+
+    def last_raises5(self):
+        self.last_raises4()
Yeah, much better now
 
DSM
10:00 PM
Ehh?
 
My "minor" CPython patch became 176 line monster and the guy decided to refactor it into 221 line beauty (just kidding)
 
This question is on the front of HN right now: stackoverflow.com/questions/5168718/…
Pretty sure it should be closed but not sure with what reason.
I'm going with too broad.
 
DSM
@vaultah: what's that code supposed to do?
 
This is the helper function of the unittest for functions from traceback module. It'd raise Exception after num calls.
def last_raises(self, num):
    ''' Explicitly raise Exception from the last call '''
    if not num:
        raise Exception('Last raised')
    else:
        num -= 1
        self.last_raises(num)
This is my version ^
I'm sorry, my explanation is messy
 
DSM
Huh.
 
10:09 PM
I don't agree with his adjustments to my patch :(
 
DSM
I think I would have done something like your code myself; 3 is usually my crossover point.
 
need 1 more cv
closed
 
10:31 PM
cbg again
 
cbg Jon
 
Anyone have much experience with selenium?
 
Much? Nope. I've used it once for half a day, though...
 
used it briefly, but it's 10:30pm, I'm tired, and I'd only have to look at documentation anyway @Rahul (which is what you can do) :p
 
Do you know if it is capable of automating silverlight web apps without access to the .xaml file?
 
10:38 PM
I'm afraid not! Sorry.
I mean, I don't know.
 
ok, thanks anyways
 
10:58 PM
Probably not really a problem in python but In case anyone cares meta.stackexchange.com/questions/247203/… . Also cbg.
 
Hehe, рытфолд choosed the wrong Russian transcription of his name
 
@BenjaminGruenbaum Unless it's an emergency, and few ROs are active, we have a trello board for "problematic guests" to make notes and history of users' behaviour (old names/new names, things to watch out for), and we also have private means of chat between us if needs be. Thanks for the heads up though - I'll be keeping an eye on that
 
That's a good idea
 
also cbg - how goes it?
 
C++ room has the list of problematic users too, it's public though
 
11:07 PM
@vaultah they do?
@JonClements coding and stuff
 
@Benjamin same old then? :p
 
Yeah, same ol, workin on interesting stuff
 
Don't know how often they update it (maybe it was just one-time thing), loungecpp.net/the-law/fame.html
 
oh... we're much more constructive and active than that :)
 
I'm not that room's regular, but I think they are aggressively (=effectively) dealing with all the trolls/vampires in the general conversation
I don't post in that room often for that very reason :[
 
11:19 PM
well - you don't see many here do you? ;p
 
Trolls - no, vampires - yes, sometimes
I mean people post here their programming questions and I like it, but some of them turn out to be vampires. Almost nobody posts programming questions in that room, so there're no vampires there
 
well - each room has their own way of doing things - this one's worked mostly well for the members so far... if things change, we shall adapt :)
 
11:43 PM
Hope it didn't sound like I was complaining :P
 
not at all
 

« first day (1553 days earlier)      last day (3395 days later) »