« first day (581 days earlier)      last day (3451 days later) » 
00:00 - 17:0017:00 - 00:00

12:02 AM
If a question is tagged with one of the ASP.NET-MVC tags, does it not need both and as well?
 
12:45 AM
ASP.NET is a completely different framework, also known as "WebForms"; ASP.NET MVC doesn't need an MVC tag, so.. nope ;)
 
Ducky did add those tags to one of the questions.
 
Hmm
 
I'd use MVC on top of ASP.NET MVC when the question has an element specifically about the MVC pattern / architecture
But maybe it's just me
 
1:25 AM
This is extraordinarily annoying.
Swift is all gung-ho about type-safety.
I can declare a variable's type to be a protocol (read interface in C#/Java). I can also declare variables as optional. But I can't declare a variable whose type is a protocol as being optional unless the protocol is from Objective-C code or marked with the @objc keyword.
And the reason I'd want it to be optional is so it can be a weak reference to the object, rather than a strong one.
And even all of this is okay-isn, but if I've also created a Swift enum, and I want to either pass an enum as an argument in one of the protocol methods or receive it as the return value, then the code won't compile, because Objective-C doesn't understand Swift enums.
Which makes a bit of sense--they do work different. Objective-C enums are nothing more than named constants really. But I'm still allowed to have Objective-C enums in my Objective-C protocols.
But the bottom line is, if you want to implement the protocol-delegate pattern (which is extraordinarily widely used in Apple code), you have to do it in Objective-C.
And so until Apple fixes this problem (if they even consider it a problem), when people ask whether to learn ObjC or Swift, the answer from now on can only be Objective-C. Before, I thought it didn't matter much.
 
1:45 AM
Hmmmm
JS question
I have an object, I want to support 2 different ways of instantiating it
do I work with detecting types of parameters, or something else?
 
2:09 AM
0
Q: How does Swift memory management work?

nhgrifSpecifically, how does Swift memory management work with optionals using the delegate pattern? Being accustomed to writing the delegate pattern in Objective-C, my instinct is to make the delegate weak. For example, in Objective-C: @property (weak) id<FooDelegate> delegate; However, doing thi...

Thank you for your concern, but I added that for additional context. Leave it alone, thank you. — picciano 3 mins ago
I'm not editing it again, but a mod might be nice @Jamal @rolfl @200_success
 
looking, @nhgrif ...
 
2:53 AM
@rolfl :/ We've now kind of opened the door to chameleon questions. What happens if I edit my answer or add a new answer to review the code he added in his edit? And then when he posts more code to add more context to the context he just added..
 
3:05 AM
0
Q: Does this open the door for chameleon questions?

nhgrifObj-C wrapper for OpenLDAP The user originally posted the top half of the code there. An answer was posted. After the answer had upvotes and a comment from the questioner (noting his appreciation for the answer as a good answer), the question was edited to "add more context". No where does an...

 
1
Q: Does this open the door for chameleon questions?

nhgrifObj-C wrapper for OpenLDAP The user originally posted the top half of the code there. An answer was posted. After the answer had upvotes and a comment from the questioner (noting his appreciation for the answer as a good answer), the question was edited to "add more context". No where does an...

 
3:21 AM
0
Q: Simon says HTML5

EdwardHere's a little game written in HTML5 using bleeding edge audio. Since I don't do much HTML5 or Javascript, I'm particularly interested in: Structure Is this a reasonable way to structure the Javascript? Should I encapsulate everything in an object? Compatibility I believe the older versions ...

 
So I toiled away writing this silly Simon says game, and now the snippet won't run.
What magic am I missing to make that code snippet work?
@Mat'sMug: What am I missing to make this run as a code snippet?
 
Edward: your current problem is getQuadrant wants a canvas but you don't supply it one
 
3:37 AM
@KyleHale Is the javascript loaded as part of the <head>? or when?
 
No, after the </html> tag, to let all the DOM load
 
So it's the equivalent of having a <script> tag in the <body>?
 
Yes
 
OK, that helps, thanks!
 
Anyway, I added a canvas parameter to your getQuadrant on my local and that seemed to work
 
3:39 AM
It works just fine here locally -- something broke when posting and attempting to make it run as a snippet.
Hmmm. I'll try that.
 
Did you have a global canvas variable maybe? Or change "c" to canvas in your code?
I think you just broke a global somehow
It's really fun, my kid loves the beeping
I thought about doing AudioContext, now I'm jelly
 
Working now.
Thanks for the hints!
I should have made the canvas scalable....
 
3:58 AM
@Edward best one so far IMO!
 
Thanks. I was tempted to put Simon's picture in the middle but decided against it. :)
 
yeah, I removed it too - not his fault, be he kinda ruins it :D
 
It was a good excuse to fool around with HTML5 and AudioContext. I hadn't even looked at that until today.
 
I'm making a circular window, with animations in WPF... never done that before. Love it!
 
If I'd had more time and more ambition, I was thinking of making the number of pie slices a variable.
Feel free to steal the idea if you like. :)
 
4:04 AM
that's not something that's possible with my current design.. in fact, my XAML sucks big time... I have no idea how to DRY it up, I feel like getting the XAML reviewed on its own.
 
I can't even spell XALM.
 
"xamel"
 
G'night all.
@KyleHale: thanks again for the prompt help!
 
night!
 
4:49 AM
Just reviewed this:
0
A: Insert into table class

Hassan AlthafThere's very little to review. Variable Names Use full names for variables, avoid short forms of those words/abbreviations. For example, you wrote, $stmt, instead you could write $statement to increase the readability of the code. Class Names Your class name, addProfile is not really suitable...

 
0
Q: How can I dry up this Rails Form code?

BlazingEagleI was creating a Rails From where users have to enter their state. I ended up creating a select tag which is really, really ugly. I'd like to think there's a better way of writing this. <p> <%= f.label :state, "State:*" %></br> <%= f.select(:state, [['AL', 'AL'], ['AK', 'AK']...

 
5:08 AM
hey @RubberDuck
 
Hey Mug.
How goes Simon Says?
 
having fun with WPF animations
I have a circular window, with radial gradients in each quadrant - they animate on mouse hover and click
 
Oh! Wow. You're going for the actual circular game! That's cool.
 
the animation is actually pretty cool.. doesn't show here really
having an issue with my MouseLeave trigger... it seems the quadrants get lighter and lighter as you click them
but you have to leave them several times before they come back to their original colors
how's your VBA coming along?
 
Didn't touch it to be honest. Maybe tomorrow night.
 
5:16 AM
I want to get this done ASAP, so that I can concentrate on rubberduck :)
@Malachi ^^^ is that more like it?
 
Yeah.. Idk. Between work and Rubberduck, I might skip the challenge and play the ones people have posted.
 
it's all up to you :)
 
Yeah. I know, but I suggested it because I wanted to build one! Eh, I've got a little time.
 
5:36 AM
wow.. I really need to figure out how I can display anything in that window now..
(like score, ...and a way to exit the app)
 
Got 4 reviews on FizzBuzz... all have great points...
 
did you play Edward's HTML5 ?
 
Also why didn't anybody tell me that I listen when they said that Java is fun?
 
until you need LINQ
;)
 
We'll see if when that comes around ;)
I'm not sure PostgreSQL and LINQ would get along that great, anyways ;p
 
5:40 AM
LINQ has nothing to do with databases - it's about querying collections of objects
(which may have database entities underneath, but that's not the point)
 
Yeah, it also has nothing to do with Java, AFAIK
I thought LINQ was a Microsoft thing, anyways
 
basically you can query any array as you would a database.. and yeah, in that area Java does in 10 lines what C# does with a one-liner :)
it's a .net thing
 
I'm right by proxy then lol
 
lol
 
In any event, back to Xmas music (blech)
 
5:43 AM
@Phrancis so are you making a SimonSays in SQL?
 
Um. No?
 
just asking!
 
Unless PostgreSQL have come out with a brand new way to make buttons and stuff
I don't think databases were designed with that in mind ;)
 
hmm right
 
It'd be fun to try to make one in Java, but I don't think I'll be good enough with it soon enough
@Mat'sMug Are you making a ?
 
5:46 AM
C#/WPF
36 mins ago, by Mat's Mug
I have a circular window, with radial gradients in each quadrant - they animate on mouse hover and click
 
Oh I saw that
Can't wait to try
 
I still need to figure out a way to close that window other than by stopping the debugger.. but it's nice to have a circular window
 
0
Q: Determine if braces in a string are balanced in Clojure

Michael0x2aI'm currently learning Clojure, and am working through a few exercises. The exercise that I'm working on right now is accept an arbitrary string and determine if the opening and closing parenthesis, curly brackets, and square brackets correctly nest and line up to each other. For example, "hello...

 
oooh I think I got it.. you right-click, and the top and bottom (green+red/yellow+blue) come apart and reveal a "quit" button.
 
Fancy Shiny!
 
5:57 AM
oh yeah
hmm.. I think I'll just leave that stripe there, and use it to display score.
my XAML-fu is improving like crazy with this project!
TTGTB
 
 
2 hours later…
8:04 AM
0
Q: Clojure solution to HackerRank Challenge 'Restaurant' under Number Theory

JosiahThis is my first ever Clojure program, so I know this is probably not idiomatic Clojure, nor is it neat, nor probably fast, either. Please give as much feedback as you would like on my code (especially regarding stuff that's bad about it). The challenge is, given a list of 2D dimensions for pie...

 
8:25 AM
0
Q: optimizing execution time :php merging images

mourSpeedify merging of images. I am using below code to merge two images but it take avg of 6-7 sec for creating 16 images . i there any way i can speed up my process please guide Below is code $image1=imagecreatefrompng('img/'.$value); $image2=imagecreatefrompng('img/'.$value1); $w=imagesx($imag...

 
8:40 AM
-1
Q: My Android code is crash, i do not what wrong! can you help me

GAOShere is my code, public class MainActivity extends Activity { private ListView mainListView; private DBAdapter db; private Cursor cursor; private SimpleCursorAdapter SAdapter; //public static final int RCode = 1; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate...

 
 
1 hour later…
10:07 AM
 
10:20 AM
0
Q: jQuery slideshow code - adding previous and next classes a better way

mangsethI have a slideshow in jQuery slideshow switching picture automatically every 5 seconds with CSS3 transitions. The current picture has the current class, the previous picture has the forrige class and the next picture has the neste class. The first picture on page load has the first class to avoid...

0
Q: Find a string in a Excel cell in the fastest way

KrishathI have to implement a "filter" in a Excel file which deletes/shows particular strings found in specified columns. I save the rows numbers that have to be deleted in a list. I have my filters in several dictionaries containing a list. The column index is mapped to a list containing every string th...

0
Q: "Rational" Wrapper class with support for Rational Number Approximation

ambigram_makerI haven't posted any new code here for a really long time. So, here's something that I recently came up with: Enough with imprecise floating point datatypes called float anddouble, I present to you Rational. Of course, Rational number arithmetic is easy, so I took up a much more interesting chall...

 
 
1 hour later…
11:43 AM
0
Q: AVL tree implementation in C

justanothercoderI have an assignment. I need to write an AVL tree. This is what I have written so far. It works on all of my tests, but suddenly fails in checking system with TL(time limit exceeded). Personally I think there could be a bug with input data in test (although I have already solved this problem wit...

 
12:00 PM
hey
 
12:12 PM
Hey
 
hey
 
0
Q: Deck of Cards functions

chubakafrom random import randrange def generateDeck(deck): i = 0 deck = [] while i < cardSum: deck.append(i) i = i+1 return deck cardSum = int(raw_input('How many cards are in your deck?')) #print generateDeck(52)#cardSum def shuffle(deck): ndeck = [] if len(deck)

 
@CaptainObvious Getting tired of your combo-breaking behaviour.
2
 
12:37 PM
hey
(a little slow this morning...)
 
12:50 PM
We already have three Simon says entries for the Pre-WinterBash Code Challenge
 
I have a question about migration from SO to CR. This stackoverflow.com/questions/27320002/… seems to be a good candidate for a code review, and I have already left a comment. "Closing>Off-Topic>Migration" does not list CR, should I flag for moderator attention? Actually I have already prepared an answer. Can I answer on SO and the answer would be migrated to CR as well?
 
If you answer on SO and the question is migrated to CR, your answer is migrated with the question.
Looking at the question, I'd also agree that it looks like it would be suitable for CR.
 
@Edward Three? I see six of them.
 
Hmm. Only three tagged with
 
Nope, six.
 
12:59 PM
Very odd. I see ones in C++/SDL, HTML5 and AS3. There are more?
 
@Edward OK, answer posted. But how can I initiate a migration?
 
@Edward Python, Javascript and Objective-C.
 
@MartinR I believe that moderators need to do that. I'm not one.
 
7
Q: Simon's Opposites Game

bazolaI cooked up this little game today for the community challenge mentioned here. The idea of the game is that sometimes when Simon gives you a color, you should choose the opposite color (the color in the opposite corner). The game visually indicates this when it is an Opposite Simon. I'm not to...

12
Q: Simon Says in Javascript (with Knockout) - Playable Code Snippet

Kyle HaleI resolved to do the whole thing with just vanilla Javascript as a challenge, but man, Knockout's binding and state management is just too easy. A tiny bit of callback hell to get all the flashing / guessing synchronized, but what I'd really like people to look into is the OO-style of this. I tr...

10
Q: Simon game / Four tiles game

CaridorcWhen I read the community challange, I couldn't wait. So here I go with the very first Four tiles game: import pygame as pg import sys import random import time import tkMessageBox if sys.version_info.major == 3: import tkinter as tk else: import Tkinter as tk from pygame.locals import...

 
Ah! SIlly me, I was only looking at "unanswered" category
 
1:04 PM
That explains a lot :p
 
@Edward for beta-sites that always holds true in both directions
graduated sites may have a close-reason, that auto-migrates though
 
Just 6-8 months
 
2
Q: Does this open the door for chameleon questions?

nhgrifObj-C wrapper for OpenLDAP The user originally posted the top half of the code there. An answer was posted. After the answer had upvotes and a comment from the questioner (noting his appreciation for the answer as a good answer), the question was edited to "add more context". No where does an...

 
@nhgrif There were six different postings of this question.
4
Q: Tic-Tac-Toe in C++11 - follow-up 5 - final

MORTALPrevious question: Tic-Tac-Toe in C++11 - follow-up 4 How to improve this code further? #include <iostream> #include <cctype> #include <algorithm> #include <functional> #include <array> #include <random> #include <ctime> // empty struct for inheriting functionality struct Mute { Mute() = ...

Not sure that's better than chameleon...
 
That's iterative review though and explicitly allowed.
 
1:16 PM
It is; I just found it annoying.
 
And it's a different question, not an edit to an existing question with existing answers.
 
It's just that very little seemed to change between revs on that one.
 
When you edit a question I already answered, then two months later someone looks and wonders why my answer doesn't address aspect A of the code.
But how could I have reviewed that part if it wasn't included until after I posted my code?
3
 
IMHO, any question that has any upvoted answer should be considered frozen unless comments have asked for context.
 
I agree.
At least the code in the question.
Iterative review is different. whether or not I address the second question, the completeness of my first answer isn't affected.
For now, I'll just down vote the question I guess. If we decide to rollback his edit that doubles the code in the question, I'll flip back to up vote.
 
1:24 PM
I've chimed in on meta.
 
You should edit this into your answer
You also should not append your revised code to the question. Posting improved code is an answering activity, not a questioning activity. An example of such a problematic edit is Revision 2 of Optimize vector rotation. While the addendum to the question does not necessarily invalidate existing answers, it muddles the question. What are late-coming reviewers supposed to do? Reviewing the original code would be silly, but reviewing the revised code could lead to version skew among the answers.
It's from the answer to the meta you linked.
And although he didn't append revised code, he did append code that muddles the question.
 
Seems to me that a pointer to that is sufficient. One can get the full context that way.
My reviews tend to be long, but my meta posts short. Personality flaw, I guess. :)
 
Ok.
 
Wisdom of the day: if you use SDL with modern C++, use std::unique_ptr and custom deleters to have some RAII magic.
 
I agree. While the edit did add revised code, it does add code that muddles the question. What happens if a new review is posted reviewing the code added for context? And then another level of context is necessary... And then that context level is reviewed, etc. the context code could've been provided on an external site such as pastebin. — nhgrif 25 secs ago
 
1:30 PM
16
Q: What questions are suitable for migration to Code Review, and how does the process work?

rolflConsider this situation: There is this question on another site which I think would be a good candidate for migration to Code Review. What should I consider before flagging the question, or actually migrating it?

Hmmm, that does not actually say "what to do".
 
@Morwenn +1 from me. I was just looking at that code but didn't come up with a solution as elegant as yours.
 
@MartinR, you should flag the post for moderator attention on SO (the question), and in the message say: "please migrate to Code Review"
 
Ironically enough, this guys question didn't need more context. I was recommended he do the. ObjC to C conversion at the last possible moment... so he posted "context code" to show he is doing the conversion at the earliest possible moment... Exactly opposite of my recommendation.
 
A process will begin then, where at somepoint, the SO mods will process the flag, and decide whether the question should go.
 
@Edward I helped to update a project using SDL to C++11. We realized that custom deleters could be good. Then I read about std::unique_ptr and empty base class optimization. Then we also realized that not having to pass the function to the constructor was great.
 
1:34 PM
If you want to accelerate the process, you find a Code Review mod and bring it to their attention too. We will directly contact the SO mods, and coordinate the process as well.
 
@Morwenn Very nice. I haven't used SDL before and spent quite a few minutes just getting it to compile and link. I only had SDL 1.2 on my machine before this morning...
 
@Edward That's to say that I didn't just come up with this solution. I already used it once, and it took some time before finding it :)
 
@rolfl I have done that . Thanks for the information and your help.
 
And now, let me see how much I can accelerate that (and I agree, it would be good on CR).
 
@Morwenn Saving the rest of us a lot of time independently rediscovering that wisdom.
I have another project in which I think I can use this idea.
 
1:36 PM
@Edward Well, I also found it a few minutes ago on StackOverflow...
 
@MartinR - now you need to welcome the question to CR, it's here ;-)
 
That was fast!
 
1
Q: Pure swift solution for socket programming

RienI have spend quite some time now to find out how exactly to do socket programming in Swift (xcode 6.1). There are a few examples out there, but most of them no longer work for the latest release of Swift. Finally I came up with the following (see below). That seems to work, but I am not 100% cer...

@rolfl did you see my meta post?
 
I have. I am waiting on some other moderator input.
 
Can I request that the edit is rolled back temporarily while this is discussed? An answer posted about the code added would make the discussion moot, right?
 
1:40 PM
@nhgrif - I stand by the decision I made, and I think the context that was added improves the question.
Your answer is not invalidated, but I agree that someone looking at the question 'anew' may get the impression your answer is incomplete.
 
I don't think it does, but why can't the context be addied to an external site?
 
There's meta posts about that too.
 
He's actually trying to invalidate part of my answer though. He wouldn't have posted the "context" if I didn't make the point about the c strings.
His whole point about the context actually is the my point about c strings is invalid because he's doingit elsewhere
 
that's something that should go to a comment IMO...
 
No, nothing should change on the question on main site right now.
 
1:45 PM
since if it wasn't in the question's premise, the answerer can't know about it
adding it is a backstab against the answer..
 
@nhgrif @nhgrif - as a compromise, I have locked the question.
Get some resolution on meta, and go from there.
 
Ok
That works.
 
Now, I have a question for you: Without the context, another reviewer to the question will likely be misdirected in the same way as you were about the C-Strings, right?
Are you saying he is not allowed to get useful answers to his uestions because there was not enough context in his original question, so he's not allowed to add that context now, so that all reviewers have the same disadvantage?
 
No because the context doesn't change my point about them
 
Oh, so the context does not change your answer?
I'm confused.
 
1:51 PM
But either way he can clarify the context without double the code
 
Does the context help, or not help the next person to review his code (assuming they review the first section of code only, not the context)?
 
I will be back in a few hours.
Waiting on other people still..
The context doesn't particularly help actually.
Consider this, his code is 3 layers.
I reviewed only the deepest layer (call it layer 1), and my recommendation was that the c-strings should be changed INSIDE this deepest layer.
His original code included layer 2.
His context includes layer 3.
If my suggestion were that he should change at the earliest possible moment, I'd be recommending at layer 2. But that's not what my answer suggest. My answer is suggesting the latest possible necessary moment.
It doesn't matter if there are 15 layers over top of what he posted.
My answer is still to change it in the exact same spot.
 
OK, I understand why you have a strong interest in defending yur answer, but tha asker also has a strong interest in getting reviews that address his main concerns.
 
Here's the thing, if he only wants to add context to talk specifically about the C-String thing, why not post the code externally, then in a comment make the explanation and link me to the code?
 
Where is the compromise point in here.
 
1:58 PM
But now, in order to further defend my point about the C-strings, all I can do is now include a deeper review of the context code to explain further why it should be done since he obviously doesn't believe me.
And now I've reviewed the context code.
And when he adds even more context on top of the context to try invalidating that new points?
And then I re-review... and he adds even more context, etc.
Where's the limit? He could just adopt my other main points in my answer, keep the C-string as he has it, and post a new question with the context included originally, right?
Then his changes can be double checked and I can re-address the C-string issue.
 
There is a limit, I just don't believe we have been there yet.
 
No one is obligated to implement any changes recommended in an answer.
 
and he did not change the code in the question.
 
and now i'm leaving, I'll be back.
 
1
Q: Music note class in python

qedA class for notes calculation. #!/usr/bin/env python3 from string import ascii_uppercase class Notes: notes = ascii_uppercase[:7] notes_number = range(7) notes_dict = dict(zip(notes, notes_number)) numbers_dict = dict(zip(notes_number, notes)) def __init__(self, _note): ...

 
2:10 PM
monking
 
@nhgrif @rolfl I added my two cents to that meta. I've gotta go though. C y'all later.
 
2:32 PM
Time sure flies by fast around here!
 
Yes it does ;-)
Hey @Simon
 
Hey monkey!
 
Too many people thinking that a => b also means b => a.
2
 
horses have 4 legs, right?
 
There was this question on SO: how to find the neighbours of a Gray code?
 
2:38 PM
0
Q: Sieve of Eratosthenes in Haskell

DuÅ¡an RychnovskýI've implemented the Sieve of Eratosthenes algorithm in Haskell. Please take a look. Any suggestions are greatly appreciated :) import Data.List -- a list identical with {seq} but for multiples of {p} which are replaced by {-1} sieve_once :: [Integer] -> Integer -> [Integer] sieve_once seq p = ...

 
The two answers began with "consecutive values in a Gray code sequence differ by 1 bit, therefore, you just have to check whether the two values differ by one bit".
That's true: consecutive values differ by one bit. But that does not mean that all values differing by one bit are consecutive.
Had to downvote the two answers and post a new one.
Reverse napalm.
2
Oh wait, that meme is outdated.
 
So am I, bbut I'm still funny ;-)
2
 
I'm instaling VS Community 2013. That's seriously too big. That thing weights 15 Go. I know MMORPGs which weight less.
 
3:02 PM
0
Q: Music note class in python v2

qedVersion 2 of Music note class in python #!/usr/bin/env python3 from string import ascii_uppercase from string import ascii_lowercase class Notes: octave_number = 7 low_notes = ascii_uppercase[:octave_number] high_notes = ascii_lowercase[:octave_number] notes = low_notes + high...

 
wow, interesting situation:
> This was plagiarized, I did not have permission to post someone else's code. I should be ashamed of myself.
 
Yeah, I don't know what to do with that one.
 
it has a nice review on it
maybe revert and close?
^^^ @rolfl would you agree?
 
Looking now
 
3:20 PM
-3
Q: Android based programmin ---

NITESH KUMARC:\Users\NITESH\Desktop\10169199_707672962652917_981469186944286893_n.jpg please solve this question. thanks in advance

lol
 
half of the closers from CR :)
cross site cleaning service
 
0
Q: Graph Creation and BFS in C#

GiladI was asked to implement a graph and BFS. This is what is have done. Please comment, is it understood? is my algorithm correct? optimizations? using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication2 { ...

 
Noooooo
My chat tab stopped refreshing
 
@Malachi I only installed what I needed and downloaded it off my cell phone data plan... total 800mb. Wtf are you installing??
 
@Mat'sMug What are you installing in the first place that you need 800mb?
 
3:29 PM
Oh I meant @Morwenn lol
@skiwi the VS shell, C#, VB, and SSDT
 
0
Q: Comparison between implementations

Niek HaarmanI was given this piece of code, which calculates the length of the longest string in a vector of strings: static size_t max_line_length(std::vector<std::string> &lines) { size_t max = 0; for (auto it = lines.begin(); it != lines.end(); it++) { if (it->length() > max) { ...

 
@Mat'sMug The full Visual Studio Community 2013. The Windows 8 stuff is probably bigger than I thought.
 
@Mat'sMug Okay.. why would you install it over mobile?!
 
Well, at least it told me before installing that I needed 15 Go.
 
I was at the garage waiting for my winter tires to be installed, so I installed VSC on my work laptop lol
 
3:34 PM
It's almost done and it seems that it doesn't weight more than 3 Go in the end.
 
Weird
 
It all depends on your mobile data plan though ;)
 
2GB
 
@SimonAndréForsberg Wait, you on Apple, what happened?
2
 
3:38 PM
@skiwi Two words: LibGDX, RoboVM
 
And (null)
 
@SimonAndréForsberg It's emulated?
 
@skiwi emulated? not really. It converts to native code
 
Lavender Town theme has so many good remixes that I could fill a playlist.
 
:/ I wish that question wasn't unlocked so hastily. But whatever. I told you I'd be gone for a few hours and I intended to discuss this further.
 
3:44 PM
@SimonAndréForsberg But the device in which you run your code
 
@skiwi at first I will use the iOS Simulator
 
@nhgrif Yeah, and locking the question means no-one an comment or vote.'
 
Or answer.
And as soon as an answer is posted on the added "context", the meta question is a moot point.
We can't roll back the context without invalidating the other answer.
 
Essentially, @nhgrif - your arguments are circular, I looked at your reasoning, and while I can see some of your logic, the bulk of it just does not add up to the conclusion you are trying to draw.
 
I'm posting a new answer.
And if the edit still isn't rolled back then I'm reviewing his added context and it won't necessarily be as nice as possible.
 
3:54 PM
Punishing the asker by not allowing people to answer his question is unfair too.
Also, @nhgrif - I did edit his question to make the context more clearly context.
 
In this case, his context doesn't even add anything.
Again.
His code has 3 layers.
The question contains layer 2 and 1.
I reviewed layer 1 and he added layer 3 after.
 
You can't have it both ways. You can't say the context code 'does nothing', and then also say 'it damages your answer'.
2
 
Because he DOUBLED the reviewable code in the answer.
The code in the context is WORSE than the code in the original answer and in more need of a review.
And if it were there originally I would've reviewed that and spent very little time on the original part.
 
The second half of the question contains code that's not for review.
 
It's NOT not for review.
 
4:00 PM
@nhgrif So, what's the issue, add a second answer, and score more rep.
 
We have a rule specifying that everything in your question is up for review.
 
@nhgrif I agree, and people reviewed it, even though, in my question I said it's not for review.
 
Because a second answer on a second question is eligible for for a second accept vote.
 
> I have tested this code with the following system that's not for review, but provides an idea of usage. Note, it uses some Java8 concepts..
 
Plus, it's already hard enough to decide what answer should be marked as accepted on CR.
What answer should he mark accepted, the one that reviews the original code or the one that is a better answer because it makes bigger improvements to the "context' code?
Or the third that makes even larger improvements to the next bit of context he adds?
 
4:02 PM
The one that the asker's whim dictates, or none.
3
 
Why should I ever create a new question rather than just "adding context" to some other question?
 
Because, at some point, it becomes unclear. and the title goes out of date, and it is to your advantage to have multiple questions.
If the asker wanted the context code reviewed, he'd ask it in a separate question.
 
So the line is at some abitrary position based on which mod looks at it and what sort of mood he's in?
 
Look, the situation is a mess, but the solution you're suggesting is missing the point.
 
He's added code to the question because he disagrees with 1/3rd of my answer.
 
4:05 PM
@nhgrif If you are determined to look at things from that sort of perspective, then everything is that way. If I was in 'a mood' I could just suspend everyone,.
 
When you disagree with an answer you've received, shouldn't your options be
1) do nothing and don't implement that
 
@nhgrif That's not true.
 
2) discuss it with the answerer to figure out why you might do that
 
He's added code to his question because 1/3 of your answer is based on facts that are not relevant
 
It's not though.
My answer is based on the fact that method 3 takes a c-string as a parameter rather than an NSString.
The context he added doesn't even call method 3. It calls method 1 and 2.
 
4:07 PM
So, what your saying is that you want to downvote his question...?
 
I already did.
 
So, move on.
There's nothing nefarious or sinister here that I can see.
3
the system is not being 'gamed', the alternative solutions you are suggesting have more negative effects than positive,
the situation where you talk about 'chameleon questions' is no where this is going.
 
I don't care.
 
This is just a person asking a bad question, then making it slightly less bad.
 
I'm posting an answer reviewing his terrible context code.
He made it worse by doubling the amount of code in the question and trying to mark half the code in his question as "not for review"
But that's not how Code Review works.
 
4:11 PM
@nhgrif That's up to you, and if it was me, I would do it as a separate answer, and et reputation points from it.
 
I am.
Maybe two new answers.
There's quite a bit to talk about in his context code.
 
Yay! Everybody's happy then! (/lurks)
3
 
But, @nhgrif - I understand your frustration here, remember to take it out on me, or other mods, and not the asker.
 
Not really.
I'm not taking it out on the asker?
I'm just reviewing his bad code which is bad.
 
No, I am just saying you should not let your frustrations with this situation leak in to the answers you are about to give.
 
4:13 PM
I'll let you be the judge and edit it if it's too mean.
 
4:27 PM
My first new answer pretty much only comments on things I could gather simply from reading the method signature basically..
And there will be another answer.
0
A: Obj-C wrapper for OpenLDAP

nhgrifThe "context" code also has some issues. For a start, I know that the Group and Authenticator classes are not included, and I'm not reviewing those explicitly so to speak, but they need some better class names. We don't have namespaces in Objective-C. Namespaces are used in other programming l...

upvotes ahoy. :/
 
it's a nice review
btw it seems the OP was grateful for your first answer as well
2
 
4:54 PM
This gotta be a joke, right?
Many different controversies and criticisms have surrounded Comcast for various reasons over its recent history. == NFL Network == On November 10, 2006, Comcast announced it would add NFL Network on digital tiers in time for the eight-game Thursday- and Saturday-night package. In August 2007 Comcast moved NFL Network from the digital tiers to the Sports Entertainment Package. This led to a lawsuit between NFL Network and Comcast, with the ruling in favor of Comcast. Comcast sent NFL Network a cease-and-desist letter to stop encouraging subscribers to leave Comcast. Comcast's agreement with the...
 
00:00 - 17:0017:00 - 00:00

« first day (581 days earlier)      last day (3451 days later) »