« first day (753 days earlier)      last day (3056 days later) » 

11:00 AM
Which one kev? I am doing python as well
 
@TimCastelijns Oh yeah, totally forgot you :P
 
I have a gist of 5.2 and 6.1
 
First question, little don't understand day 2 part two. Does it mean (l+l+w+w) + (l*w*h)?
 
@tripleee So, what do you call this question?
 
@KevinGuan not necessarily
sum of the 2 lowest
 
11:03 AM
Depends on what is the highest/lowest number kev
 
Ahhhhhh, that's what's wrong!! thanks!
 
There's a trick to calculate that easily
 
Tip use smallest_two = heapq.nsmallest(2, [l, w, h])
Better than whatever java crap Tunaki is going to suggest :) no offence I love java
 
2*(l+w+h)-2*max(max(l, w), h)
 
Wall of text?
 
11:05 AM
@kayess No MCVE
@TimCastelijns no need for a priority queue :D (I guess pq means that)
 
YES! got another star
 
It's heap-q
 
My solution was:
for i in text:
    l.append(i[0]*i[1]*i[2])
    i.remove(max(i))
    l.append(i[0]+i[0]+i[1]+i[1])
Basic right?
 
@TimCastelijns whatever, just basic calculation with my solution :p
 
@KevinGuan syntax error on line 0: text was undefined
 
11:07 AM
@TimCastelijns What? That's NameError :P
 
@alirezasafian If somebody takes the attempt from his comment and updates the question with that, it looks fine, to my limited understanding of the topic
 
Spam: 1 2
 
though I'm guessing maybe a duplicate
 
Kev why do you use a list to keep track of a number?
 
just asked a new question if anyone has experience with Excel VBA: stackoverflow.com/questions/34265501/…
 
11:10 AM
@tripleee okay, thank you
 
@cybermonkey please don't do that here unless you specifically want help with getting your question closed
 
@tripleee obviously, I'm in this room far more than you are
 
@TimCastelijns Ohhhhhh, wait me.
 
@SmokeDetector ignore- edited
 
sd ignore edited
 
11:13 AM
1. [:27519861] Post ignored; alerts about it will no longer be posted.
2. [:27519418] <processed without return value>
 
@TimCastelijns Ohhhhhh, wait me.
 
@cybermonkey and that makes your question topical ... how?
 
it'd be interesting to see the time taken to reverse vandalism like that without Smokey
 
win
 
@cybermonkey you mean without Tunaki right?
:D
 
11:16 AM
@Tunaki Can you check this question?
 
I started speaking at the third person, what stage is that??
 
Is it off-topic?
 
@alirezasafian no, but OP needs to show what they've tried
 
@alirezasafian No. Add the code OP has (even if it doesn't work) and it's good
actually, it's better than most questions
there are the "what I have" and "what I want" parts clearly expressed
 
the Python room rules suggest 10 minutes of holding back after posting a "please update your question" comment -- I like to give a bit more, but that certainly seems like a plausible minimum
 
11:19 AM
@Tunaki but where is his attempt??
 
@Tunaki there's no evidence of anything they've tried
 
@Tim Okay I done. Now how do you use Python solve the Day3's problem?
 
Sec ill upload gist
 
As far as I know...no idea about it.
 
@alirezasafian I see @cybermonkey posted a comment, let's see what happens
 
11:20 AM
@cybermonkey "Should I be using .each loop with wrapall?" sounds like an attempt to me, though it would be better as an actual code excerpt
 
^ agree
 
@KevinGuan 1 or 2?
 
Still no idea about 1, maybe also no idea about 2.
 
@tripleee still, no actual code to help us answer their question though. the answer to 'Should I be using .each loop with wrapall? could be 'yes', but they could also be doing the loop completely incorrect (and only by posting their code would that become apparent)
still (again), that might warrant a separate question.
 
@KevinGuan can you view this? gist.github.com/TimCastelijns
 
11:23 AM
@cybermonkey I posted a possible dupe candidate and it aint shabby imo
 
@tripleee I think you don't agree with me because the topic is not clear for you
 
@TimCastelijns I got 2565, but incorrect.
 
@Drew huh, so the system automatically upvotes 'possible duplicate of' comments when someone else flags for the same duplicate target
 
@KevinGuan with my super code? It worked for me
 
apparently
 
11:26 AM
@TimCastelijns Huh? What's the answer?
 
@alirezasafian I think it's an honest question. There's a clear goal and wanted output for a given input. OP just doesn't know how to do it and suggested some options.
If I were to vote to close the questions that fail even describing the OP's goal, I would need 500 close votes per hour.
 
@KevinGuan everyone gets different input, answers vary
@cybermonkey that is correct
 
@cybermonkey yes
It might be a duplicate though
 
@cybermonkey I believe it actually upvotes any comment that links to the dupe in case someone typed it manually.
 
@TimCastelijns Wait...it's working now...don't know what's the problem. Now the output become 2572. However, you win!
 
11:30 AM
@Tunaki tnx, that's why I am out of flag right now.
 
@DavidG interesting, any idea when it was introduced? cheers for the answer by the way.
 
@cybermonkey Dunno, it's been there a long time though. And you're welcome :)
 
@DavidG says something that it took me until now to actually notice it
 
Which day do you think is the easiest? I like Day4, toooooooo simple to solve.
 
11:34 AM
1 lol
 
Nah, except that one :P
 
@KevinGuan Day 12 part 2 using only regex
 
I should learn to use regex..
 
@KevinGuan Try it, and ping me when you have the solution ;)
 
However I'm not following the days, let me try day 12 :D
@TimCastelijns Well, it's so simple, however when I trying to solve the Day5 part 1 I choose use regex, but I got stuck...so I asked a question on SO...hmm...just got another upvote 1 min ago, now there's 15 upvotes on it, and still getting upvotes.
Well, this one. It's my best question now: stackoverflow.com/questions/34261346/… :D
Let me try day 12!
 
11:39 AM
I wish you had asked me, I have a 3 line simple solution for that
 
@KevinGuan And I've got first comment on it :)
 
@Tushar Yeah, that one ;)
 
@Tunaki @tripleee Now, it is a correct question.
 
@TimCastelijns Then go answer it.
But if I asked you, I can't get these 15 upvtes == (75 + 2) rep right? :P
 
Oh kevin, you rep whore
 
11:43 AM
Flagged
 
Your question is lacking the fact that the letters need to follow eachother, like "dd", but not "dad"
 
Hmm...I think the examples are clear. Also my last comment said about that.
@Thaillie 1. Yes. 2. part one passed. Solution: sum(map(int, re.findall('-*\d+', text))).
 
user3956566
@Thaillie not happening for me
 
Oh hey @MsYvette :D
 
user3956566
11:48 AM
@KevinGuan hi I'm hitting a brick wall in my work, annoying
 
@KevinGuan Part 1 is easy with a regex, try part 2
 
You all are abusing the json :(( json doesn't deserve to be treated like a string, json is a beautiful object
 
@MsYvette Ah, I know that feeling. However if you're annoying you can relax and chat here :)
@TimCastelijns Show your solution which using import json.
@Tunaki Okay, looking at it.
 
@TimCastelijns Actually, I solved it by parsing the Json ;)
 
I will when I find time to do it :)
 
11:58 AM
What's wrong with regex re.sub('{.+?red.+?} *, *', '', a)? I tried it in shell it works fine, but in file it doesn't.
 
@KevinGuan hint: recursion
 
@Tunaki But that's regex :(
@Tunaki Oh yeah, understand what does recursion in this case means...
 
@Tunaki Just found a working regex for day 12 part 2 o_O
 
@KevinGuan pretty ugly but at least it respects json gist.github.com/TimCastelijns/0ae796315c668a59e1ca
 
@TimCastelijns There is no need to respect JSON when you have regex ;)
 
12:11 PM
I know nothing about regex :P can't use that
 
@TimCastelijns So that's why I like sum(map(int, re.findall('-*\d+', text))).
 
I imagine you had trouble with part 2
Ezpz for me :P
 
Just want to say Any ideas :P
But your solution gives me an idea. Check this question of mine, you can use the same way to delete the dict, not just change the value: stackoverflow.com/questions/33606899/…
Check justinfay's answer
 
Why would I delete a dict
 
...because there's a "red" in it?
 
12:17 PM
Why would I delete it? Skipping it altogether seems easier
 
Yeah, yeah. However just ignore it.
Do you know that don't use built-in function name as a variable name?
Also total = 0;, why there's a ;??
 
java habit man
input is not a builtin in python 2 is it?
 
It is...it'll run eval()
 
Ok I see you're right
well here is part 2, 2 lines more than part 1 gist.github.com/TimCastelijns/6b25b863428d568fd764
 
@TimCastelijns Yeah, document and SO question.
 
12:24 PM
I already checked lol
 
That's fine :P
 
How are you going to solve it now?
 
@TimCastelijns But unaccepted it and accepted qarma's answer because RegEx is the best!
However I can't solve it use RegEx at this moment...
 
delete comment then
 
Oh yeah, forgot about that.
BTW, your code is working!
But maybe useless for @Thaillie.
 
12:29 PM
Yea I only upload it after I know it works
 
@KevinGuan :p
 
@TimCastelijns That's fine. Now what's the next target?
 
Attempting 7 atm
 
I posted a question where I am looking for help from the community on design practices for developing for lite browsers where standard frameworks like Angular or Backbone don't work. My question has been closed as it involves opinions
I am confused though, where I could discuss such a question?
-2
Q: Opera Mini and JavaScript Framework

ShouvikI have my existing solutions written in Angular 1.37 and I have recently been tasked with supporting Opera Mini. Now, Opera Mini is very special as it doesn't allow me to execute JavaScript functions unless they are explicitly bound to user events. Angular.js has compilation issues which prevent ...

 
@Shouvik Here and meta.
Let me check it.
 
12:36 PM
@KevinGuan Sure.
 
So it's @Kyll's fault :D
 
Hold on, let me read up.
 
@Kyll [on hold]
 
@Kyll I have been a user for 5 years and the idea behind stopping people from asking tutorial questions was to prevent upvote streaks.
The community has matured over years and has essentially figured out what is posted for upvotes vs what is a genuine question or concern. Debating / Opinions should be allowed and at most I suppose you could push it as a community wiki question
 
@Shouvik it also prevents the stack from getting over-run from people coming here that should be on a tutorial site
 
12:43 PM
!!/blame
 
@KevinGuan It's Doorknob's fault.
 
@Shouvik No. The spirit of the law today is that tool recommendations ("Is there a lite weight CSS + JS framwork which work on lite browsers?") mainly attract opinions ("I like foo") and spam (very high seed value, spam can almost seem natural on this kind of post).
 
Nope, another site's user.
 
This kind of question attracted a long list of answers, rarely more detailed than "try this, it is good"
As such, questions like these are off-topic for Stack Overflow. Noticing yours, I decided to vote to close it and prompted this room for review of my moderation action. The question was later closed.
 
I think, then it's the answers which need to be regulated and I am posting the question to get opinions. Ironically, if you google for recommendations, you will not find any suggestions.
 
12:45 PM
Stack Overflow values experience and technical expertise, not subjective opinions.
 
Stackoverflow was a place where we could discuss such questions because the answer asks for a design paradigm.
 
how about dragging people in the Angular world into an Angular chat room. The room will always be there
 
I think suggestions on design paradigm seems to be a technical expertise too?
I could move to IRC for Angular specific discussions
 
!!/blame
 
@KevinGuan It's Kyll's fault.
 
12:46 PM
also Quora. They love to talk
 
>.>
 
Yeah, that's what I want to see.
 
Asking for a library is off-topic and unsalvageable for Stack Overflow, asking for approaches is probably too broad. However, there is another Stack Exchange on which you can ask for softwares: Software Recs. Beware, they have pretty strict rules!
 
Good morning.
 
Morning
 
12:47 PM
Plop
 
Good evening :)
 
yo!
 
if someone wanted to talk to me in my chat room, the conversation could go for days, when we have the time here and there. That is chat
 
Morning Nathan o/
 
Hey
 
12:48 PM
so is IRC
 
Is anyone wearing a new hat yet?
 
software recs seem very non technical as this is a framework related question
 
@NathanOliver Yep, see my hat.
 
@Shouvik It's the only place I know of on which you could ask such a question
Extending on tool recs, I see multiple issues with them on Stack Overflow:
 
fair enough. But it is the Primarily Opinion Based questions that spiral out of control
 
Sam
12:49 PM
Good hatty afternoon!
 
@NathanOliver I'm wearing a mask :p
Hello Sam o/
 
Wohoo
 
and you can cozy up to angular people and do that all you want in chat
 
@Kyll We have some . So [so] == StackOverflow (with link).
 
I just got a secret hat :)
 
12:50 PM
I have 3 hats, including a secret one :D
 
1. In five years all answers are useless. It's the Web, so let's say three years.
2. Most answers (and votes) will be based on whatever people like and not objective, concrete criteria.
3. They're excellent spam seeds, as spam can actually appear legit on it.
4. Answers almost always have very little value whatsoever.
 
@Tunaki I think my secret one is the same as yours
 
Sam
@DavidG Dupe hammer one? :)
 
Let me reword my question
 
@Sam Yea
 
12:50 PM
@Sam Hey, are you cold now? You're hat looks very warm. :P
 
Sam
Congrats
 
@Sam Hey
o/
 
Sam
\o
 
@Shouvik Rewording a tool recommendation ("is there a tool to foo?" in another way ("how to foo?") often makes the question too broad.
 
Sam
@KevinGuan It protects me from all the rubbish I have to sift through on the site.
 
12:52 PM
Oh, however I like mine one. It's gold!
 
or lite browsers. I dont know why I latched on to Angular. sorry
 
!!/coffee
 
@DavidG for day 7, what is the starting values of the wires?
 
@KevinGuan brews coffee for @KevinGuan
 
@TimCastelijns zero
 
12:52 PM
@TimCastelijns the instructions are not in order
 
!!/blame
 
@KevinGuan It's Shouvik's fault.
 
see I knew it
 
@SmokeDetector So not Kyll's?
!!/blame
 
@KevinGuan It's S.L. Barth's fault.
 
12:53 PM
Nah, not him.
!!/blame
 
@KevinGuan It's DavidG's fault.
 
@Tunaki the order is not mentioned though
 
@TimCastelijns yep, because the wires can be initialized at the end
or at the beginning
you don't know
 
@KevinGuan Enough with the blaming please!!!!
 
Sam
@KevinGuan sigh
 
12:55 PM
@Tunaki Are we supposed to order it ourselves? It's unclear to me. I have working code for the example circuit but it's not production ready :P
 
Reworded the question to make it seem like a design pattern questions as opposed to library request. stackoverflow.com/questions/34265135/…
 
@DavidG stage 2
 
@TimCastelijns no you're supposed to write a code that doesn't depend on the order
 
> What sort of an architecture is advisable for this?
 
@KevinGuan Yes, see the chat history.....
 
12:56 PM
Too broad.
 
@shouvik, read it, seems broad to say the least, by SO standards
 
Sam
@DavidG Lol
 
@Tunaki strange that the puzzle doesn't mention it
 
@DavidG Fine, give yourself a cup of coffee, and relax.
!!/coffee
 
@KevinGuan brews coffee for @KevinGuan
 
12:58 PM
@KevinGuan Or I just ignore you, that's the simple solution.
 
brews it for @DavidG
 
@TimCastelijns at first, I thought like you, that it would be in order. Then it failed miserably when I ran it and realized that it wasn't :)
 
It makes it 100x harder
 
@DavidG Hmm...forgot that we can ignore an user in chat room.
 
@TimCastelijns Harder -> better
:)
 
12:59 PM
@TimCastelijns I didn't like that one, instructions are confusing, part 2 even more so.
 
@Pham stats
 
7,602 need review
1,782 reviews today
2,988,592 reviews all-time
 
Yep seems broad, but when you see that the design pattern being used is MV-VM and I am looking to replace that on lite-browser, seems like it's a very specific set of design patterns that will work for those conditions?
 
Soooo slow
 
can you do a 30 second elevator speech as to why you need the stack that you chose, Javascript getting rendered on the server
 
1:01 PM
Looks like we can done review 3,000,000 in this week. I'll create a room for a party to celebrate that :D
 
and I would love to know, why is it that you need to do Opera Mini? Why can't the request merely be met with NO
 
We have a B2C solution which serves predominantly 3rd world countries
The mobile devices are defaulted to Opera Mini which accounts for about 70% of the traffic
we would like to accomodate all those users.
 
so it seems that you need not Angular, and as you say design your own mvvm
and you think that SO is a good forum for that. It might be, in Chat, in your dedicated room, where people come and go
 
Pretty much, but even if I try to do that, the MV-VM just fails as Opera Mini blocks JS which runs for more than a couple of process cycles
 
@Shouvik You consider doing a large rewrite of your application, and asks for architectures. There is no specific issue at hand, no problem to focus on for answerers. Answers will just be advices on how to rewrite your application and design; that means there is way too many different possible answers to your question.
 
1:06 PM
@kyll I see your point but twitter and google have handled this problem as they have support for lite browsers. I was hoping someone who has handled this issue could probably provide some pointers
 
I forget, do we have an acceptable close reason for a very easy RTFM question?
 
@NathanOliver Dupe?
 
@NathanOliver Weird but Too Broad
 
You're going to delve into SSR and have a REST API setup, so maybe you could provide some lightweight examples of your current architecture and explain the issues you are having with SSR? That could give a great starting point for answers I think.
 
@Tunaki Why does too broad work?
 
1:08 PM
@DavidG do you have your solution in a gist?
I am stuck
 
@alirezasafian As worded that is a tutorial recommendation.
 
@alirezasafian More tool rec or too broad
 
Hot Meta questions disappeared again
 
@TimCastelijns No, that one's on my home computer unfortunately. Rene has all his in a repo, want the link?
 
@NathanOliver @Kyll Noted
 
1:10 PM
Yep. My meta Q has been updated already
 
@DavidG maybe later :) I got an idea just now
 
@kyll Accepted, I will post a new question. Deleting this one.
Thanks for hearing me out!
 
Sam
Hi
 
1:11 PM
8 hats anyone?
 
@Shouvik Glad I could help =D
 
Sam
@BhargavRao 6 here
 
@NathanOliver it could work: meta.stackoverflow.com/q/283177/1743880
 
@BhargavRao Hey o/
 
1:12 PM
\o
 
the feature-request was a hot-meta post this morning
 
Thought so. It got so many votes in a short span of time :)
 
Hate means hat erasure :P
Feature request: change to "I ate hats". — Shadow Wizard 2 hours ago
I like this comment :P
 
1:16 PM
Lol
Nice day do get the Marshal @KevinGuan
:D
 
@BhargavRao YES! That's why I didn't get it yesterday :P
 
I'm two votes away from a silver. I will get the silver hat soon \o/
 
Good luck!
 
Thanks :)
 
plop@BhargavRao
 
1:20 PM
Plop @kayess
 
Plop everyone
 
Sam
Hey
 
Sam
Nice
 
Sleep time now, Night Cya tomorrow / earlier later today.
 
1:25 PM
Bye
 
Bye bye Kevin o/
 
Are there actually a magic tag?
 
That is
 
Ah, that is.
 
^^, magik actually exists.
Not tag wise though.
 
user3956566
ok my friends, I am going to bed.. past midnight here...
 
Gnite @MsYvette
 
user3956566
happy hat shopping
 
Good night!
 
1:30 PM
Night
 
@MsYvette Name change?
 
user3956566
yes! I used to have a Mr Ed pic, which turned pink and now it makes no sense, so am using my name :)
 
nice :)
Well, 'night :)
 
user3956566
Nice to see you all!!
 
Later
 
user3956566
1:31 PM
thanks
 
Sam
Cya
 
@kayess Yes
 
@NathanOliver based on your experience, can a question like that one edited into an acceptable shape/state?
 
@kayess I don't see how. Even if the OP limits it to saying "I have found these products, which one should I use" then it would still be closed as POB
 
1:43 PM
@NathanOliver I see, thanks.
 
5 hats \o/
 
Awesome!
 
Sam
\o/
 
\o/
 
1:53 PM
@Tunaki Same! And 2 of them are secret :)
 
@DavidG How did you get the second secret one?
 
@Thaillie You want me to tell my secrets?!
 
@DavidG Yes, you are not a magician for as far as I know so it should be allowed :)
 
@DavidG well well well, I tool a look at ... and I think I know how you got it
 
@Tunaki lol
 
1:59 PM
@Tunaki Yeah, if you know about last year's similar one...
 
Sam
@Tunaki Yeah, tools tend to be pretty handy.
 
Dem 1 vote away now from silver and new badge.... heavy breathing
 
@BhargavRao Your latest notification? :)
 
@Tunaki Yeah
 

« first day (753 days earlier)      last day (3056 days later) »