« first day (1994 days earlier)      last day (2944 days later) » 

1:00 PM
Sure, if you like mountain dew and call of duty. But hey, I'm not one to judge. :P
 
@MarkoMackic Weaving threads in threads for blanket processing?
 
yo dawg...I heard you love threads....
 
Morning cabbage.
 
@PM2Ring What would we call it? BahaScript?
 
Is blanket something you cover with when you go to sleep? and I never heard of word "Weaving" everything else is clear :D
 
1:06 PM
You are correct. Weaving is this
 
Yeah, I've google translated it
 
@idjaw Perhaps, or JawaScript, since Java in Bahasa is Jawa. Or just keep the old name, for maximum confusion. :)
 
point made. Sticking with maximum confusion
let the chaos begin
 
I feel like Google's April Fools jokes have gotten really lame these past couple years. My favorite was still TiSP.
 
Grrr. People are giving speculative answers to that unclear list comparison question. I guess it's time to...
 
1:10 PM
wow I'm surprised Padraic answered that. It's really not clear. Unless he analyzed the code and figured out what they are trying to do.
 
Cbg
 
cbg @vaultah
 
@corvid Sorry but that was terrible.
 
1:16 PM
it is terrible, that's exactly what makes it great
 
@corvid Or is it just terrible.
 
But djent covers of pop songs are always at least somewhat entertaining
 
@idjaw Well, he is offering multiple solutions to (hopefully) cover all options. :) I guess it's fair to presume that the OP really does want the output they're getting from their current code, and they just want a more efficient way to do it.
But the OP really should have responded to the comments requesting clarification. Dumping a question and then not hanging to clarify stuff is just plain rude, IMHO. Sure, unforeseeable stuff can happen that takes you away from the computer, but when you're asking for free help from strangers you should try to organize things so that you can make sure that you're available to respond to them.
 
> Dear python Stackoverflow users,
You know a question is good when it starts like that.
 
Dear Santa
 
1:22 PM
@PM2Ring I absolutely agree. It really bugs me too. The worst part is when you know they are actually hanging around and refuse to provide details because they just want an answer. Because, when the answer comes up, they accept or comment and leave.
@poke Yeah...I liked that one too. It made me feel warm and fuzzy.
 
I also liked how they approached that problem.
 
@idjaw "Just give me the real answer, don't bother me with details! And hurry up, because I've got to hand this homework in tomorrow morning".
 
@PM2Ring This is where I want to put together an advanced answer that the teacher would easily tell they did not come up with on their own.
 
I'll go with "never attribute to malice..." here and assume that most OPs are too dumb to understand follow-up questions, so they don't reply to them.
 
@poke Cute. On a vaguely related note, someone should probably explain to Anes that in English, when a complete stranger calls you "friend" they are probably about to assault &/or rob you.
@idjaw Yep. Nested list comps, generators, heavy use of map, filter etc. And chuck in a decorator or two if you can.
Another one I'm tempted to do is to spell out "stackoverflow" with my variable names.
 
1:29 PM
anyone to recommend good science fiction?
 
hah, I saw what you did there ;)
 
What to say :D Spacing is a habit to me.
So it's hard not to edit :)
 
The next major Python version will be Python 8. I for one support this bold initiative.
 
Habits are hard to kill, yeah :)
 
@PM2Ring I saw an answer yesterday where someone made a comprehension on like 4 lines, that had nested calls inside of it...just for the sake of making it a comprehension
let me see if I can find it...
 
1:31 PM
Here's hoping they introduce another version-incompatible syntax for print. You know, to preserve symmetry with the 2-to-3 change.
 
> we will beat Firefox 44 in 2022 (Python 64)
He missed that Firefox will have advanced by then too.
 
Bad habits just have to be smacked on the head over and over again until you remember that smack before you do the thing.
 
@Kevin puts
 
@poke I thought you said "Hobbits" :)
 
1:32 PM
Firefox will switch to version doubling too when it notices Python catching up. Python will have to switch to exponential versioning, then factorial versioning.
 
@Kevin my bet's on sys.print
 
Looking forward to Python A(99,99) in 2030
And Firefox "infinity plus one times a hundred" in 2031
 
@poke Assuming they continue their current plan, worst case Firefox will be on release 81.
 
Luckily, programmers are well-known for their uncanny ability to estimate software release schedules ;-)
 
@PM2Ring haha I also just noticed that answer started with "Why not simply:"
 
1:37 PM
@idjaw Cute. BTW, you should probably change your .split(' ') to plain .split(), since the latter handles any whitespace.
 
@PM2Ring I tried that. Unfortunately, I kept it per the exact specs of what OP provided
Because OP is explicitly looking to split first column as one entry, and everything as second entry
I could have probably done something where I reconstructed what I needed. But it seemed like the simplest way to keep things closer to OP's implementation.
 
Looks like one of my answers will soon receive a +200 bounty, but it's neither "exemplary" nor "worthy of an additional bounty". How can improve it? Link stackoverflow.com/a/28184705/2301450
 
@vaultah I like how “in six days” is soon for you :P
 
@idjaw You could do:
>>> s = "A  1 2 3"
>>> s.split(None, 1)
['A', '1 2 3']
 
I would convert it to CW, but CWs still receive bounties
 
1:40 PM
... Although I'm not sure that's any better than what you've got
 
@Cerbrus no one can live without any bad habit :)
 
I'm sure there are people who'd disagree
 
@Kevin I didn't think of that actually. Personally I don't like having a split on explicitly counted spaces. Yours would work with N spaces. I think yours is better
 
@idjaw Ah, of course. :oops: Another thing I just noticed: the redundant parentheses on (key, val). Sure that's what's in the OP's code, but you could explain that they're not required and they just add clutter to the code.
 
Well, no one is perfect :) That's what they told me :) But everyone has his point of view
 
1:42 PM
@vaultah I think your answer is fine. It may not be “exemplary” but OP is free to award their rep to anyone imo. And the namedtuple story is stupid anyway.
I personally would also say that it’s just a historical burden. It should have been replaced by something else that made more sense than execing something long ago.
 
@PM2Ring Good catch! I did not even process that in my head. Thanks for the review.
 
It could have probably be implemented very cleanly and fast in C.
 
sigh.....I just want to answer any unittest question I see...but this is so vague...I just don't even know where to start...
 
@vaultah Maybe you could expand on your own comment and do a performance comparison
 
with open('new_file.txt') as fin:
    valid = (line.split(None, 1) for line in fin if ';;;' not in line)
    d = {k:v.split() for k, v in valid}
I'd probably have gone for ^^^ - keeps it fairly readable
 
1:46 PM
Thanks @poke!
 
:)
 
@vaultah Maybe you should ping Raymond Hettinger... :)
 
schooled. Very nice @JonClements . I don't know why I didn't think of trying to go that route from the get-go. Seems so obvious now. You don't mind if I updated my answer to append that improvement?
 
@idjaw go for it
 
cheers
 
1:48 PM
@PM2Ring There must be a better way.
 
@poke I must admit I was a little surprised when I first learned that namedtuple uses exec.
 
Me too
It feels—and is—hackish
 
Just thought I'd say this was a great thread to follow. :) Wish there were more of these good conversations. — idjaw 9 mins ago
Good conversations from the above don't happen often enough. It was refreshing to have a good conversation about something.
I had a discouraging day with JavaScript yesterday as I realized how long it's been since I've touched it. I really need to jump in to a JS project to refresh my skills. I don't like how much they have regressed.
 
cbg ! :p
 
2:01 PM
cbg @AnttiHaapala
 
@MarkoMackic watch your spacing :D
 
that's why :P is there.
 
@AnttiHaapala w h y ?
 
@poke I told Marco that if @davidism kicks him again, I'd be mad at @MarkoMackic.
 
heh :D
 
2:09 PM
About to execute my first Python on a microBit
 
someone said python3 is unstable :O :O
it drove me to the point of rage
There was a little debate between 2 and 3
should there even be a debate in the first place?
 
No, Python 2 defenders should just burn.
 
No: people should (be allowed to) use what they want to use. Ignorance should be ignored, too
 
help and improvement queue is the most. useless. review. queue. ever.
 
I see so many imposter Kevins on SO.
 
2:13 PM
I've done 4 edits so far
 
@Programmer i'm thinking of changing my name to 'Kevin's mentor' :D
 
@Antti I’m surprised by your resilience
 
SO Highlander - There must be only one (Kevin)
 
88 % of them are LQ's
10 % I have no idea what they're saying
1.8 % I do not know why they're there to begin with.
and 0.2 % I can add some code tags.
 
It's always just 'Kevin' too, nothing more. There must be something about that name...
 
2:16 PM
hi
does anyone
 
Haven't been interrupted all morning while working. Apparently putting my headphones on means start interrupting me....
 
here knows how to build a live ANPR system?
 
I had to look up that acronym. So my answer is no
 
@AccountUnknown cbg, no, no one ever reads the room rules before asking :D
 
Automatic License Plate Reader
cbg?
 
2:17 PM
Isn't that ALPR?
 
as I said
automatic number plate reader
I've done it, in matlab.
 
cbg
 
really?
 
though the charset was limited
 
% of accuracy?
average?
 
2:19 PM
@Programmer There are no impostor Kevins. Only projections of the shadow of the Platonic Ideal Kevin into your 3-dimensional realm.
5
 
ah it was just OCR for register plate pics
 
@Account...i just saw a related question stackoverflow.com/questions/36358444/…
opencv???
 
It doesn't have to be in python
@AnttiHaapala can you sell it to me?
 
:D
no.
 
i am not going against the chat room rules?
 
2:21 PM
We don't have a "no solicitation" rule explicitly, no.
 
@Kevin it all makes sense now.
 
I am stuck and Desperate...
 
Although I think I'll add it to the agenda for our April 15 meeting.
 
@Kevin Isn't it against SO rules?
 
@AnttiHaapala it's licence writin' time
 
2:22 PM
@idjaw I don't know. Maybe.
 
can anyone guide me where i can get this ?
 
@AccountUnknown are you a developer, employed to write this, or are you looking to procure a system?
 
or a student? :D
 
hey, deleted posts aren't really deleted, right ?
 
existing systems surely must exist
@MarkoMackic bin-go
 
2:23 PM
@AccountUnknown if you're a student then that could change the licence terms
 
if you've got yourself 10k internet pøints, you can view them.
 
so what's the rep needed to see them?
yeah
cool
 
@RobertGrant yep
 
Whoops it's on the 13th, not the 15th... I'll just unstar that.
 
2:25 PM
@AccountUnknown is this a project set by your uni?
 
it's for someone i know
 
... from mirror :D
 
I don't see question protection being done that often.
 
I must be capital
!!!!
 
@AnttiHaapala if you change your mind... please contact me
 
2:28 PM
@MarkoMackic very good :)
 
Yeah, I'm learning very fast.
 
You assume that I'd just refuse to sell you. Not only that but also I do not have it, so I can avoid the dilemma altogether.
 
Ok, let's try again.
 
How many icons... is too many icons
 
Spring 2016 Room Meeting - tentative date April 13, 15:00 (UTC) sign up here
 
2:29 PM
@MarcusS 42.
 
what happened?
 
@MarcusS 512 icons should be enough for anyone.
 
you developed it right?
 
difficulty(UI design) >>> difficulty(actual coding) // :(
 
@MarcusS I know that feeling.
Coding is simple when you have solid requirements. But UI design is never totally solid. "Where should I put this button so my users best understand its purpose?" requires ten years and a research team to answer with any real confidence.
 
2:32 PM
Even then they won't get it 100%
 
Exactly how I feel at the moment
 
And "Hello, World" has appeared on my microBit
 
Congratulations :-)
 
\o/
 
I had this realization yesterday when I demoed my project for the CEO. "How did you do this? How would someone know to do this?"
 
2:34 PM
congrats @holdenweb
 
(/me googles "microBit")
Ah, it's a small computer. The Wiki page could really use a photo.
 
Using irc sintax? :D
 
Depending on my mood. Sometimes I use italics or asterisks to indicate an action, but I worry that it's not easily understood.
 
DSM
Morning cabbage for all!
 
At my place It's almost good night. :) cbg DSM
 
2:40 PM
@DSM cbg! how was your farewell party?
 
I could use some feedback on this: imgur.com/ImQTfwN
 
DSM
@idjaw: I'm only getting into the office now, and would have preferred to spend the rest of the morning in bed, but if I don't start transferring files to my portable hard drive it'll never finish..
 
@DSM So it was a good night! :)
 
1. Too many icons? 2. What would you expect each thing to do / what you would want it to do?
 
DSM
@MarcusS: I have absolutely no idea what that first icon is.
 
2:42 PM
Everything is a placeholder for the moment
Supposed to be an eyeball
eyeball, camera, pencil, red X
The aesthetics and such I am saving for the end after the functionality and design is in place
 
When I click X I expect it to remove all body fat from me lol :D
 
DSM
Makes sense to punt on the art. Would not have guessed eyeball..
 
I thought the eyeball meant "view" but then I saw the camera and I also thought that meant "view" so I've got to be wrong about one of them.
 
It's the only stock eyeball image in the Android system icons set for whatever reason
 
DSM
Once your design settles a bit, you should ask on UX. There are really smart people over there.
 
2:44 PM
The eye icon would probably read better if it was a solid color rather than an outline.
 
Kevin: The eyeball is meant to be view -- ideally, the ability to see the data you've logged either in list format or in graph format
Camera icon is for those who want to take progress pictures of some given metric
 
See, I'd want the eyeball action to happen when I tap the row.
Having a dedicated button for it feels weird.
 
DSM
Yeah, what happens if I tap "bicep"? Nothing?
 
I wondered that too, but then I also considered whether it should go to the recording pane instead (logging data)
 
The only camera icon that I see regularly is the one on Google images that you select to search by image. But "search by image" doesn't make much sense in a list context.
 
2:45 PM
I would agree....tapping the bar should expand the view
and then you can remove an icon to make it less busy
 
@DSM Right now I am thinking if you tap the word, an actual (Android dialog) menu would come up with words detailing all functions
View data, Take pic, Edit, Delete, etc -- that sort of thing
 
I like DSM's idea about going to UX actually. Not to push you away from talking about it here. But for the sake of getting some great feedback, they would probably have great things to say.
 
That's what I've drown yesterday
@MarcusS
 
I'll have to check out UX as well -- didn't even know there was a stackexchange for that
 
@Marko I don't think "drown" is the word you were looking for
 
2:48 PM
"Press the water icon to drown your arms"
 
draw ? the past tense
paint
what ?
 
"drown" is the present tense verb for "inhaling liquid until you die"
 
Yeah, I think you're looking for drawn.
Or drew.
 
Yeah I think "drew" reads best here. "That's what I drew yesterday"
 
then i haven't used the correct word beacuse it's not currently in my cache :)
yeah, drew is the right one
thanks on that
 
2:50 PM
I drew this, I have drawn that
 
For some reason the word drew looks wrong to me. I know it's right, but I had to google it to make sure.
 
semantic satiation?
 
It doesn't help that "Drew" is also a name.
 
Or "Art," for that matter
 
DSM
I drew, you drew, he/she/it drew.. too many drews!
 
2:52 PM
I am wondering if I should do away with the icons altogether
 
"My retired illustration teacher drew art" is a sentence but "My retired illustration teacher, Drew Art" is only a subject.
 
Just press the item and a little menu comes up with all the options in words
 
@MarcusS correct
 
cabbage
 
cbg davidism
 
2:59 PM
cbg @davidism
http://stackoverflow.com/questions/36359542/how-to-print-last-three-values-of-a-key-from-a-dictionary#comment60339077_36359626

Why do some people insist on providing code without doing at least minimum testing on it before answering. Sheesh. It's ridiculous.
....finally got it right after like 2394723 attempts
strongbad DELETED
3
 
3:22 PM
what's up people, why no one talks?
 
Talking good. Talking about talking bad. (Irony noted.)
 
@RobertGrant you silly goose, you.
 
This Sunday my friend is hosting Magic: The Gathering night for the first time in four weeks. I need to hurry up and finish making my proxies of Sensei's Divining Top so I can play one in each of my decks.
 
I'm so jealous
I want to have a game night. I've been meaning to get a game of StarCraft The Board Game going on
 
I'd like to play the Civilisation board game as well
 
3:31 PM
I worry that some of the other players will click their tongues at me, because I don't own a real Sensei's Divining Top. But the host specifically said "proxies are allowed as long as anyone in the group owns one" and I know with complete certainty that the host owns one.
 
@Kevin a fellow coworker keeps talking about going to the new release this weekend.
 
So I guess let them click their tongues, I'm still abiding by the house rules.
SDT has art that is too detailed for me to forge, so I'm brainstorming for amusing top-like objects to depict instead.
 
We've discussed having a discussion about a "no solicitation" rule before. I think the discussion on discussing it came to the conclusion we should discuss it, but we never did.
 
I plan to have at least four dreidels, each image depicting a different face. But I have seven decks so I need three other ideas.
 
top hat? :p
 
3:33 PM
cbg
 
Hmm, interesting. A play on words taking a nonstandard interpretation of "top".
 
good, they didn't mess up SO for April's fools
 
I might trace out a Beyblade if I can find a nice dynamic source image.
 
Anyone here play pandemic? That game is so much fun
 
I've played it about three times.
 
3:35 PM
I've rediscovered the joys of the mobile game "Bonza" it's an anagram and crossword game combined.
 
If nobody reins me in I tend to spend the entire game bossing everyone else around.
Which is terrific fun for me.
There's an interesting variant of Pandemic called Pandemic Legacy. It's intended to be played only once, because the pieces are destructible.
Ex. if you fail to suppress an outbreak, a character dies and you have to tear up their card.
Or you put a sticker on top of a city to indicate that it's permanently quarantined.
 
that's insane
I want to play it
 
It's supposed to take place over a year, with one month occurring per gaming session. So you still get your money's worth - that's like 40 hours of gameplay.
 
but seems like expensive upkeep
oh
ok
that seems like a lot of fun, actually.
 
I haven't played it but the reviews are good apparently.
On this week's gaming night, we played Mag Blast. It's Munchkin-esque card game where each player has a space armada they use to kill everyone else's space armada.
I went first. I shot two players with laser beams, but they took no damage because I failed to make the mandatory "pew pew" sound effects. The player to my left eliminated my defenses, and the player to his left played Laser + Direct Hit + Catastrophic damage, destroying my flagship and eliminating me from the game.
So when I say "we played" I guess I mean "my friends played and I watched"
 
3:43 PM
Savage.
 
Oh man, I love that game.
 
that game looks amazing
adding it to list
 
Mag Blast provided endless entertainment/arguments in my family.
 
FizzyCorp is starting a board games club, I should join.
 
you should
I started one at work. We are playing Boss Monster next week
I love Boss Monster. It's so silly and fun
 
3:48 PM
I also loved the OOTS board game.
 
Very silly and fun is Munchkin. My wife hates it because the rules tell you, you can cheat if you don't get caught.
 
DSM
Just like life.
 
Deep.
 
Or monopoly
 
Munchkin is great too.
 
3:49 PM
Okay, retooled things a bit. Better? i.imgur.com/H4cIoW8.png
 
DSM is gettin' all Meta on us.
 
@idjaw I'm pretty sure you can cheat at any game as long as you don't get caught.
 
@MarcusS That looks like a good long press menu.
 
haha....for this one, they promote it.
 
I petitioned my MTG group to allow the use of Cheatyface but they were having none of it.
 
3:50 PM
@Morgan Short press defaulting to view?
 
Flux is a ton of fun too.
@MarcusS Yeah, that's what I would expect.
 
The only issue I have with long-press menus is that not everyone seems to be aware of the long-press feature
 
Maybe with an option to record from the view.
 
python reads equations from right to left, cool
 
@MarkoMackic Depends on the precedence of the operators.
 
3:51 PM
True. Maybe you could swipe the card and it shows that menu? Kind of like what most reddit clients do, if you're familiar.
As an additional way to access it, not instead of long press.
 
a=3
a,b=10,a+1
in this case b=4
 
Swiping should be a single action.
Such as "swipe left to delete"
Not "swipe left to open a menu from which you can choose edit, delete, etc"
 
I associate swiping with deleting -- but even then, swiping is way too easy to do accidentally
 
Nah not if you set the bounds properly so you have to swipe fully across.
 
+1 for undo
 
3:53 PM
Plus at the bottom it should say "Record Deleted (Undo)" so you can undo by tapping it.
 
Good points
 
Really? I like swipe for menu.
 
notes down further evidence that Morgan is a terrible person
 
Relay for Reddit (or whatever they're called these days) does it really well IMO.
 
I guess it depends on whether we're talking swipe "push" vs. "pull" -- I haven't seen any apps with menus that come up when you swipe towards the edge of the screen, but I have seen a couple where you "pull" the menu from (say) the far left of the screen (initially offscreen)
 
3:58 PM
Oh yeah. But they're totally different scenarios. In one you're pulling on a window, on one you're pulling on elements in the window. I know that might sound pedantic but they're different.
Of course it's difficult/impossible to have both of them at the same time in the same app.
 
Yeah
 
I assumed this was "Pull on a single element from a list to edit that single element"
But if it's just "Open a menu" then pulling from the side is good.
I might have to delete Morgan from my "terrible person" list.
 
In this case though it is a menu that is associated per-item of a list
 

« first day (1994 days earlier)      last day (2944 days later) »