« first day (986 days earlier)      last day (3017 days later) » 

10:00 AM
@Quill (y)! Wish I would have started coding as early as you! (y)(y)
 
Thanks for the tip on the directive; that's really great and I'll try to get it through a code review. But please help me understand the rule: in what sense is there a source and a destination in cmp %rax, %rsi? I know that cmp is implemented as a subtraction, but it's rather hard to keep straight in my head. I'm just looking for a mnemonic. — jacobsa 47 secs ago
 
Kangaroos are such nice animals
 
Yeah, @Käsebrot, I am
 
@skiwi lol
 
@skiwi they're really nice when kept in zoos
 
10:02 AM
^
 
@Käsebrot, we have 14~15 year old moderators on Stack Exchange, I'm not all that extraordinary actually :p, but thanks
 
^
 
rly? 14-15? And I suppose they are doing a good job, right?
 
I know a 16-year old over here and he is almost like the moderator of 2 communities...
@Käsebrot yep, they do suprisingly...
I wonder when they find the time to do this with school, etc.
 
0
Q: first npm module

LazyexpertI've written a small npm module. It is my first module. I'm asking you to review several things: Readme. If the Idea of the library is clear? The code. I am rather starter, so any wise critic will be super. Any suggestions or ideas on the library. Npm-module | Github And sure, I'll repeat th...

 
10:05 AM
I'm not so sure it's surprising otherwise they would not have gotten made moderators.
You find time with a job :-)
 
If code is working but you seek improvements then question should be posted on Code ReviewRoamer-1888 48 secs ago
 
Or with college, or whatever.
 
i guess...
@DanPantry well that's me...
I hope to be a mod sometime...
in Biology.SE...
 
FWIW I started coding when I was 13 and got a lot of attitudes like that ("Wow, it's so surprising you're not an idiot :D") so remarks like that irk me a little ._.
 
Monking
 
10:10 AM
monking...
@SuperBiasedMan how's the reopening of my question going?
 
@TanMath Looks like it is going to stay closed
> Note, this code runs, but does not produce the correct result and displays an incorrect result.
That's what we call broken
 
Zak
I *technically* did my first coding aged 11. If you can call copying html and embedding some internet games *coding*
Then the odd batch file for a decade
 
@Pimgd sorry, but you are confused... I am talking about my stack overflow answer...
 
I think TanMath meant the one on SO, which is sitting at 3 reopen votes still it looks like.
 
Zak
then started proper aged 21 ^^
 
10:13 AM
@SuperBiasedMan so still stuck on 3?
 
I started with Basic and Python around 10/11. I remember making some very rudimentary text adventure stuff but it was all pretty limited.
@TanMath Yeah, afraid so.
 
should I lobby for the reopening of the question in the Python chatroom? like say "check this question out...do you think it should be reopened?"
 
0
Q: How to remove if condition from my tableView:cellForRowAtIndexPath method?

wm.p1usI have "fetchData" method which fills my "imagesArray": func fetchData(){ let imageQuery = PFUser.query() imageQuery?.whereKey("username", containedIn: namesArray) imageQuery!.findObjectsInBackgroundWithBlock { (objects: [PFObject]?, error: NSError?) -> Void in if error ==...

 
I started python coding at 8, but still I am not good at it!!!
 
@TanMath No,
 
10:15 AM
@CaptainObvious Wow, Swift looks weird.
 
They'll think you're a help vampire.
 
@Mast why not? will they get angry (like they always do! :p)
 
They'll think you're being a help vampire.
 
@Mast oh yeah right... their stupid "help vampire" thingy...
26 secs ago, by Mast
They'll think you're a help vampire.
 
It's not really "stupid", it's there for a purpose.
 
10:16 AM
@TanMath It's a legitimate term for a legitimate problem.
 
Help vampirism is a real problem
 
I hate that policy...
They really are mean...
 
It's not mean
On this network people help you for free
 
They once kicked me out because I was being a "help vampire"!
 
Them choosing to restrict how much time they dedicate you is pretty reasonable
 
10:16 AM
@TanMath So don't.
Don't fight the system.
 
fine...
 
You'll only get called a help vampire if you look like you're not trying to make an effort
You wouldn't want to teach someone if they didnt' seem to be particularly bothered in the journey, and only in the destination, would you?
 
well, nobody here knows how much effort i put in this project...
and that is the problem...
 
@TanMath It's not about how much effort you put into the project, it's about how much effort you put into the question.
 
How much effort you put into the project is completely irrelevant.... if you sit back and expect people to just put solutions for your problem in your lap without putting in more effort, people aren't going to want to help you.
 
10:18 AM
The project is irrelevant.
 
all people tell me is "be independent" or "your lazy" or this and that...
 
then maybe you should take it on board a little?
 
huh?
 
If you're being called a help vampire on StackOverflow, you'd probably be called a help vampire in the real life workplace too.
2
 
@DanPantry I'm going back to my code, we've been in agreement for the past couple of comments, no point in having both of us telling the same thing.
 
10:18 AM
And in the real life workplace, being a help vampire gets you fired
 
lol...
 
@Mast sure
 
@TanMath give link of your question
 
You may be putting in a lot of effort into your question or something, I don't know.. but you need to present that to people as well instead of complaining that people don't seem to think you're putting in effort.
 
2
Q: Open quantum system modelling

TanMathI have been working for a long time now on modelling an open quantum system using the Lindblad Equation. The Hamiltonian is the following: However, two other matrices are added to the Hamiltonian. One of them has all the diagonal terms equal to -33.3333i and everything else zero. Another is a ...

@DanPantry right now, my project is solving the question
 
10:20 AM
Your question (to me) boils down to:
 
This might be something for codereview.stackexchange.comFabian H. 1 min ago
 
lol
 
> Something is wrong in my code. I don't know what, I don't know where it is wrong, and it takes 2 hours to run. Please help. I also haven't tried debugging it because it is "Hard to follow"
 
> it takes 2 hours to run.
 
Have you tried comparing your implementation to another implementation?
 
10:21 AM
huh?
> Note, the code takes a few minutes to run.
 
And then putting the smallest numbers that make sense in there, so you have something that runs in, I dunno, 2 seconds?
 
@TanMath You originally had that in your question before it was closed and it is quoted in the cmoments.
 
well then, thanks to Phrancis and Quill, I made that 10 minutes...
 
You:
- Haven't stated what you've tried
- Haven't stated what is wrong - just that it gives the incorrect result
- Have just posted a dump of code and asked "what is wrong with this?"
- Haven't given *succint* sample inputs/outputs
- Haven't even *debugged* it yourself according to comments
 
like, instead of a whole graph, just a single data point which you know needs to be a number like 5
but gives 10 instead
 
Zak
10:24 AM
@DanPantry Or sometimes promoted.
 
Like @Pimgd said and I said when you originally posted it here, you need to condense the problem down to something more managable.
 
@TanMath the question is indeed off topic here, not as to broad but because it gives the wrong output.
 
If you don't know how to condense the problem into something more managable either, then of course you're being called a help vampire - You have so many points you could improve on that people have told you about and you haven't made an effort to fix any of those things :s
 
But as @Pimgd said, you should try to insert points of the graph and test them for correctness
like this, it doesn't take so long for running and you can see when it goes wrong (and hopefully also where)
 
And even if the question were re-opened in its current form on SO, I'd very much doubt you'd get answers given the amount of time the sample code takes to run. People on SO (indeed, across the entire Q/A network) are giving you their time for free - time that could be spent working on other things. You shouldn't make the problem any harder to solve than it needs to be.
 
10:25 AM
ok...
- I forgot to add that in...
- I have said what the correct output is and what it currently gives
- specifically, what do you want
- I have not input output samples!
- I have debugged it, I will add...
 
Like, right now you calculate stuff on a 7x7 matrix, is a 2x2 matrix feasible to test with?
 
@Pimgd i have no data like that...
 
@TanMath oh snap =D, it's original research...?
 
@Pimgd well, it would be like modelling a new system...
@Pimgd no, but only the graph is would I could find in the article... I can only compare the graph to the research...
 
Is it possible to start at 70 instead of 0?
 
10:27 AM
@TanMath could you be something with this site? : qutip.org/docs/2.2.0/guide/dynamics/dynamics-master.html
 
@chillworld yes, but that is an older version of the module...
 
so the result there are incorrect?
 
@chillworld no, that is modelling a different system...
 
is your code system specific, then
 
yep!
 
10:31 AM
all of it?
If so, how do you know it's not a vendor bug?
 
um... it could be... but technically I should assume that it isn't...
 
@TanMath it's difficult to find any stuff on this, so in that way you probably did your homework good
maybe you could also mention it in a SO question
 
10:45 AM
@chillworld meaning?
@chillworld so? this is for mathematica... I do not know mathematica...
 
If this discussion is going to go on much longer could I ask you move it into another chat room? It is going a bit far off what 2nd monitor should be used for. I appreciate there is no site business, but this is getting quite long.
 
It's already over and handled :P
 
That's why I prefixed with "If" :-)
 
11:01 AM
I'm voting to close this question as off-topic because it is about the improvement of working code, it is more suited for Code ReviewGerald Schneider 28 secs ago
 
0
Q: Getting data from s3 bucket

aWebDevelopervar aws = require('aws-sdk'); var s3 = { connection: null, connect: function() { if (s3.connection === null) { var s3bucket = new aws.S3({ params: { Bucket: 'sandbox-s3test' } }); aws.config.r...

 
@Quill Can't... tell if that's a joke or not.
 
Zak
Aren't half of those ads for the wrong site?
(though I admit, the cats on keyboards one is actually quite useful advice)
 
What do you mean wrong site?
 
11:13 AM
@Zak Any site can put ads on other sites.
We can make ads and put them up there as well.
 
Isn't the whole point that people are voting to vet the ads, so they can be for whatever you want?
(within reason)
 
Yup.
 
@TanMath neither do I know good math. I'm more the problem solver then the effectieve alghorithm. @rolfl is great in math
 
0
Q: Gilbreath's conjecture in Python

u003fI've written some code for testing Gilbreath's conjecture in python (2.x). The conjecture was shown (in the 90s) to be true up to n=1012. My code uses the primesieve module to quickly generate primes and, by ignoring blocks of 0s and 2s, only calculates values in the array when necessary. However...

 
Darn Dutch autocorrect
 
11:20 AM
@chillworld ?
 
Reply on your last whisper to me
 
@chillworld I said mathematica, not math
 
11:46 AM
isn't that the same?
 
lol
are you serious?
 
There is even a difference on SE network:
(Monking, btw)
 
monking @MathiasEttinger
and yes I'm serious (sorry for not knowing :s) but what's the difference then?
 
mathematica is a programming language
 
lol oke :D
well I can't know all the programming languages that are out there ;)
 
11:58 AM
0
Q: Split string at index field length or just before that if there is white space

Иво НедевI had to write a function to split a string that goes into a field if it(the string) were too long for the field, as it would disappear and be unreadable. How's the code lookin' ? function splitText(instr, fieldSize) //instr = string to split into two lines, fieldSize = the width(in characters)...

 
12:09 PM
@chillworld Mathematica is a pretty famous one, it's from the same company as Wolfram Alpha
 
0
Q: Iterative depth-first search and topological sort in Java

coderoddeThis is the iterative depth-first search, that does not abuse the stack. Also, I gathered some information from DFS that may be useful; for example, I am able to do topological sort using the result information of DFS, and use topologically sorted graph node set in order to solve the shortest pat...

 
Meh, saying something is "famous" is often not relevant. Something is only famous if you know about it ;-) For example, Adabas is a famous database.
Really, it is. it is about as famous as the "Harlem Globe Trotters", or "Oscar Pistorious"
 
12:25 PM
possible answer invalidation by John Ludos on question by John Ludos: codereview.stackexchange.com/posts/116417/revisions
 
@Mast don't even know that one ;)
monking @EthanBierlein
 
0
Q: What restrictions apply to query and target vector encoding on fast-forward neural networks?

skiwiI'm currently studying fast-forward multi-layer neural networks with back propagation, in the book I see that all query and target vectors are binary-encoded, this makes me believe that this is the only allowed encoding, yet all other neurons in the hidden layers and output layer can take on any ...

 
@chillworld Monking :)
 
@skiwi I understand some of these words.
 
Like network?
 
12:35 PM
Like "What" and "and"
This computer science just blows my mind. I really do need to take ea course on compsci, but I didn't even finish a lot of prerequisite math stuff so I should do that too.
 
I underestimated how useful it is to have a dedicated touch button to switch between apps rather than to open the settings on my new phone
With an almost-Bachelor CS degree you can surprisingly read a lot of theoretical CS books and papers
Without it I can imagine it is pretty hard
Having different settings on the phone is odd too... I started a Bullet For My Valentine album and now I suddenly hear Foo Fighters
 
@skiwi Good chocie of music
@skiwi It's just all the mathematical notation and the sentence structure of Wikipedia doesn't help.
 
I realised a few days ago that pretty much any resource on the Internet to learn CS is really poor
Books are just so useful
 
0
Q: Optimum Tree traversal algorithm Topcoder

TheJackalI'm practicing a 1000 point algorithm problem on the topcoder.com arena. The problem is as follows:      You work for an electric company, and the power goes out in a rather large apartment complex with a lot of irate tenants. You isolate the problem to a network of sewers underneath the compl...

 
And I myself still make the mistake to study from slide lectures rather than the books... It works for most subjects but definitely not all
 
12:50 PM
Maybe you should post your question in codereview.stackexchange.comSalva 42 secs ago
 
Monking
 
Monking
 
I'd suggest posting your full code up at codereview.stackexchange.com/ — Gareth 6 secs ago
@Salva: Fair call, however this question in its current state is not suitable for CodeReview. Please see meta.codereview.stackexchange.com/questions/5777/… for details. — PM 2Ring just now
 
1:05 PM
Crack the code : 1 + ([]+!!-[])
[(1<<1)+1] + (1<<1) + ((“”.constructor)+’’)
[(1<<4)-(1<<1)] + ‘zK’ + (([][+[]]+{})[1<<1])
 
Gareth, I posted on codereview. with my currently using code. — KISHOR BHOIR 38 secs ago
 
Greetings, Programs.
And just in case anyone forgot, IT'S F R I D A Y !!!!!!!!!!
4
 
noooooooo :)
 
@Quill I'm so glad YouTube is blocked at work because that's the stupid fking song isn't it
3
 
1:14 PM
@Quill you didn't this is the second time
 
 
God damn it
 
If this is otherwise working, please ask your question on codereview.stackexchange.com instead — Mathias R. Jessen 13 secs ago
 
I can acces youtube but no audio ;)
 
0
Q: Perform loop through process on all sheets at once

KISHOR BHOIRI have workbook having multiple sheets and having same data on it. Currently I am using macro that .autofilterand copy paste on respective sheets. I am using looping process like:- Sub SCRIPT() Application.ScreenUpdating = False Sheets("SCRIPT").Range("A3:P100").ClearContents Dim ...

0
Q: Arabic to Greek numeral converter, 1 - 10

MastJavaScript is one of the most popular technologies at the moment. It's modern, runs on every browser (more or less) and can do pretty much anything. One of the things JavaScript does quite well is Unicode support. If you want to return ϝ (lowercase digamma, not a simple f), you simply tell it to...

 
1:20 PM
@CaptainObvious Mast and JavaScript? WHAT?
3
 
@Mast I assume you do not want to convert numbers larger than 10?
or rather 20, ...
 
@Vogel612 Eventually, one thing at a time.
 
I think I wrote an answer on exactly that before
 
I do miss some "block user" tool on SO
 
@Mast okay so that's out of scope...
 
1:21 PM
So you can see if a question is by one on your block list
 
@Vogel612 It's Code Review. You can answer whatever you notice about the code.
@chillworld You can ignore tags and remove those from sight.
 
Since you have code that already works, you should move your question to Code Review. — dandan78 36 secs ago
@dandan78: but won't code review generate a lot of stuff along the lines of "don't write 32767 as a magic number", which while true is completely irrelevant to the question? — Steve Jessop 34 secs ago
 
0
A: Add the ability to ignore users

chillworldIn mine opinion you should never hide any questions/answers or comments from other people. But what could be interesting is a specific highlighting for the question/answer/comment. This has the advantage that you could still see everything but if a comment of your "ignore" list is set you know ...

@Mast users not tags ;)
 
1:37 PM
This seems to be more fitting for the Code Review sister site. — Roland just now
 
@Quill Was this really necessary?
 
Sorry, I'm totally going for the refiner badge
 
Zak
This looks like it's deserving of more visibility
56
A: A New Code License: The MIT, this time with Attribution Required

Shog9Meta meta-Meta For a post that was intended primarily to address one of the concerns raised (repeatedly) in the previous discussion, this sure has kicked up a lot of dust. I got to talking with a few people in chat earlier, and they... Kinda seemed surprised by a few things that I thought were o...

 
I have an answer on that question, but it's buried at the bottom of the positive answers
 
@Quill Don't game the system while going for badges. It will make people mad at you.
 
1:43 PM
No worries
291
A: A New Code License: The MIT, this time with Attribution Required

200_successThe year is 2018… … and the economy is in a slump. Pundits on CNN are attributing the decline to a lack of growth in the computing sector. According to the Alyssa P. Bitdiddle, senior analyst with the Society of Innovative Computer Programmers, This has been a disaster in the making since ...

This one is better
 
Zak
@Quill Sure, but I'd say it's got more than enough visibility without my intervention ^^
 
oh hey @Zak, I didn't mess up the tag edits on this question, did I? codereview.stackexchange.com/questions/116874/…
 
@Quill I have accepted your edit ;)
 
cool :-)
 
Omg this chat prototype is so broken on iPhone/Safari
 
1:53 PM
How so?
 
Anyways, I saw this on SE app and was wondering if it's supposed to look like that?
The HNQ on math.se has not mathjax formatting at all
 
Zak
@Quill Looks fine to me.
 
cool, thanks
@Phrancis it's probably already on MSE, but if it isn't, report it
tl;dr MathJax is a JS plugin
 
Ah, that would probably explain it then
On the chat prototype... Let's just say there are several bugs which make the experience difficult. The box where you type text is sometimes visible and sometimes not... Necessary features are hidden and unclickable behind a big Search bar (whose Cancel button is also unclickable) and it only works in portrait orientation AFAICT
For some values of "works"
And there doesn't appear to be a way for me to opt out and go back to the old model which was ugly but at least worked
 
2:11 PM
you probably can send that request with fkey: false
to opt out that is
 
How would you do that on an iPhone?
 
you don't need to..
it's user-based.
 
0
Q: Battle Ships - Console Application

Ryan SwannI have built a light version of a battle ships program and would love for anyone to critique it. The game does not feature OOP, AI nor multiple boards. I aimed more for functionality than correct variable names and other related things just to get it working temporarily so sorry if some things ar...

 
@Vogel612 you lost me a bit there, but if you have any information on how to change it please do share
 
to enable you sent that JS request, right? Pasted some code into the console
same code, just one different parameter
in Tavern on the Meta on Meta Stack Exchange Chat, Jan 5 at 14:12, by balpha
@UNIKITTY2.0 @rekire paste this into the javascript console on a chat page: $.post("/users/new-mobile-ui", fkey({ value: true }))
^ this one is for enabling...
I assume you can disable with s/true/false/
 
2:31 PM
Ah, and here was me wondering why it didn't work on desktop Firefox lol
 
-1
Q: A forked version of an IRC bot with more functionalities than the original version

Ace TakwasAm I contributing properly to this IRC bot project? The original project was written 3 years ago with minimal functionalities. I started out trying to add testing to the application, but so far what I have been doing is basically refactoring the whole thing and adding more functionalities to it....

0
Q: Python 3 Beginner - Guessing Game

php123In the past few days i have started to learn python 3 in my spare time and i am really enjoying it so far. I have attempted many simple programs such as a palindrome checker and reverse a string in an attempt to improve my skills. I was hoping that someone would be able to provide some feedback...

 
And that fixed it, thank you @Vogel612 !
 
yw. I'll keep the new UI though.
works just fine on android
 
@CaptainObvious 2 more CV.
No code included.
@Quill The proposal went down to almost -200, serves them right.
 
gone
monking!
lol, there's not enough room to show the - sign
7
 
2:46 PM
@Mat'sMug Ouch
 
Why are there no robot assassins in this story? I was told there'd be robot assassins. What kind of half-rate dystopia doesn't have robot assassins? Are you gonna tell me that all the killer robot companies got sued out of existence and the future will have no roving killbots at all?! — Shog9 ♦ 15 hours ago
Shog is awesome
 
@Mat'sMug For some values of awesome.
@Mat'sMug !
 
Monking again
 
@JasonS they wanted to keep it secret but Cy D. Fect spoiled it — gnat 7 hours ago
 
@Quill Not that crap.
 
2:55 PM
-1
A: STL Stack Implementation

pari#include<stdio.h> #include<malloc.h> using namespace std; template<typename T> struct Stack { T *data; Stack<T>* next; }; // Creating node consisting of int elements template<typename T> void createStack(Stack<T> **stack, T *data,int n) { for(int i = 0; i < n; i++) { Stack<T> ...

-1
A: C++ Stack using template

pari#include<stdio.h> #include<malloc.h> using namespace std; template<typename T> struct Stack { T *data; Stack<T>* next; }; // Creating node consisting of int elements template<typename T> void createStack(Stack<T> **stack, T *data,int n) { for(int i = 0; i < n; i++) { Stack<T> ...

 
That user is not getting it.
 
joined today
 
void printStack(Stack<T> **stack) {
    if(stack == NULL || *stack == NULL)
        return;
    Stack<T> *start = *stack;
    while(start != NULL) {
        printf("%c ",*(char *)start->data);
        start = (start)->next;
    }
    printf("\n");
}
Why is **stack necessary? is there a reason for that? I haven't done C++ in a while but I can't imagine so
It's from the new user's answer, BTW
 
@DanPantry Magic.
3
 
@Mast neither is the following it seems
I have not included any code because I want to review the structuring "my project" not some snippet.How would I ever post code for something like that? Why is StackExchange always a pain to use? — Ace Takwas 5 mins ago
 
3:06 PM
@AceTakwas Where, pray tell, in the URL do you see "projectstructurereview" instead of "codereview"? — Dan Pantry 5 secs ago
 
@DanPantry Little much IMO
 
Zak
@AceTakwas The code is the structure. As to posting all your code, we have a character limit of up to 64,000 for a reason (though you would be wise to look at some other large questions for some guidance on structuring a large question) — Zak 1 min ago
 
But, the user is also being a PITA...
 
@Phrancis Users do that sometimes.
 
@AceTakwas Unfortunately, we only review sections of code and not "the structuring of my project". Please feel free to add a complete, non-hypothetical segment of your code from your project in your question and we'll review it - but otherwise this question is off-topic. — Dan Pantry 9 secs ago
 
3:08 PM
Ban all the users. Problem solved.
3
 
0
Q: Enum with a lot of boolean properties

JoffreyI'm currently working on a webapp where we often need to condition some server logic based on the page that is going to be returned to the user. For each page, we have a 4-letter page code associated with it, and these page codes are currently listed in a class as static Strings: public class P...

 
YOU get a ban and YOU get a ban.. EVERYONE gets a ban
 
Zak
@DanPantry Not strictly true. As long as "Structure" means "Code Structure" then it's definitely up for review.
 
Exploding bear traps, might be what this user needs
 
> structuring "my project" [sic] not some snippet
I interpret that to mean he doesn't want a review of snippets of his code, but a review of his project "structure".
 
Zak
3:10 PM
Sure, but what does he mean by project?
 
not sure if you guys can click this link or not, it is a LinkedIn group post --> linkedin.com/groups/40949/40949-6092573927949819905 <-- about C# switches
 
I haven't read the whole thread or the accompanying link yet
 
Just redirects me to the .NET Developers group, @Malachi (interestingly I have 3 connectiosn in there).
 
Dem commit messages...
 
3:11 PM
@Malachi Yes, we can click it.
 
Zak
As an example, my Code-Module structure is something that can get reviewed in my big VBA questions.
 
Asks me to sign-up, not feeling like signing up.
 
@CaptainObvious pseudocode, requesting cvs
 
@DanPantry it was posted 3 days ago, titled --> Is the C# Switch Statement bad design?
 
@Vogel612 Could actually be a good question if it wasn't pseudocode :(
@Malachi I can't see any articles, but I'm not part of the group.
 
3:12 PM
@DanPantry Yeah. Tell them. Mobile makes it hard on me
 
join up! lol
 
@Malachi I'd rather stick pins in my eyes than be considered a .NET developer
5
And my eyes are my best feature. So there's that.
 
@DanPantry Feel free to make that an answer. — Mast 39 mins ago
 
@Mast I saw, but my comments were as a response to Quill's answer rather than a review of your code
 
3:15 PM
@DanPantry So write an answer based on both the question and the answer. That's perfectly acceptable.
 
You just want me to write a review ;-) cracks fingers
 
^^
 
That's a pretty big switch statement @Mast have you considered using a data structure? Some kind of map/dictionary or whatever JavaScript has to do this
 
@Phrancis We have objects/maps
 
Oh, JSON, right... Duh
 
3:20 PM
@Phrancis Would you like to use jQuery for your switch statement?
 
@Phrancis That's probably a better idea, but this is as big as the switch gets. If I ever extend it, it will probably get another switch for the tens, hundreds, etc.
IMO this is as straight-forward as it gets. There are probably better ways to do this.
It's not like I'm any good with JavaScript.
 
@skiwi Right... not.
 
@skiwi Don't give him any ideas.
 
This is just not how the garbage collector works, it collects when it has to, not because the user closed the window. Two jiggabytes per window, that's the kind of excess that ought to deserve a good code review. — Hans Passant 59 secs ago
 
@Duga jiggabytes?
3
Sounds like a Pokémon
3
 
3:29 PM
I'm not sure what to think about this answer... Anyone weigh in, if you think it is warranted?
 
How do I do link aliases?
looks something like this as far as I remember: [linktext][alias] then at the bottom of the page, [alias](http://actuallink.com)
 
Never mind
it's [alias]: http://actuallink.com
 
Code Review? This way please. And then you post there, please don't just dump your code into the question. Format it correctly and tell them what this code is supposed to do. What input it might expects and what output it should give. — Tom just now
 
Zak
3:38 PM
Thank you so much for taking the time to show me all of this! Now to dissect it and learn all about it! Thanks again! — MisterGT 25 mins ago
^^
in VBA Rubberducking, 2 days ago, by Mat's Mug
@Zak I'll do VB.NET at the point of a gun only
Sounds like you and @Mat'sMug have similar feelings on the subject
 
lol
don't get me wrong, I love .NET!
 
VB <> .NET
 
Time to code up a neural network...
Not like I have anything better to do, like studying
 
It's pretty silly how much I can write in 30 minutes lol
Inb4 arthritis at 30
 
I'm voting to close this question as off-topic because it belongs on codereview.stackexchange.comPalpatim 21 secs ago
 
3:53 PM
@Duga Good grief
And deleted...
 
incoming bad question :(
 
0
Q: Licensing per Site

Hosch250Given the problem with licensing and the variety of sites on the SE network, why don't you allow each site to license content in the way that is most appropriate for them? For example, Code Review could continue with the current license, while a religious or language site could use a license app...

@DanPantry There it is :P
 
possible answer invalidation by u003f on question by u003f: codereview.stackexchange.com/posts/116869/revisions
 
How did you guess I was about to post a bad question?
 
welp
 
3:55 PM
@Hosch250 you don't like having MSE rep do you?
 
Not really :P
 
@Hosch250 I didn't, I was referring to @Duga's question that got RBA after someone suggseted to move it to CR
 
@Hosch250 License Fragmentation is bad.
-210
Q: A New Code License: The MIT, this time with Attribution Required

samthebrand TLDR: This is a follow-up to our initial proposal for transitioning to a more user-friendly code license. The purpose of this post is to address the concern expressed most frequently in response to the initial proposal: no attribution requirement. Also, we want to make sure everyone has ample ...

-210 WHAT
 
It wouldn't be fragmented. Each site would get its own license.
 
@EBrown I believe in the legal industry, -210 downvotes is known as a "pimp slap".
 
3:56 PM
1 hour ago, by Mat's Mug
user image
 
@Hosch250 Which would fragment the licenses.
 
@Hosch250 That is basically the definition of fragmentation.
 
@DanPantry You write good quarter of an hour reviews :-)
 
Only across SE.
 
I'm voting to close this question as off-topic because it belongs to codereview.stackexchange.com . — user694733 16 secs ago
 
3:57 PM
All fragmentation is bad.
 
SE want's to avoid fragmentation at all costs.
 
@Mast The last part about ES6 made it into a half hour review, but thank you :)
 
The whole network should stick to one license.
 
> We understand that some users feel the new terms are not a perfect fit for certain sites, but we think fragmenting the license across the network will lead to ambiguity – the exact problem we’re trying to solve by updating the terms.
 
@EBrown No they don't, or they wouldn't be fragmenting the text/code licenses.
 
3:57 PM
The fragmentation makes it awkward for users posting and users reading answers. It benefits no one except to let SO cover their asses.
 
@Hosch250 That's not really fragmentation to the extent you are proposing.
 
Well, I could argue that each site should be treated as an autonomous site.
They pretty much are anyway.
 
Yes, except there is one main body that governs all the sites, and that main body is responsible for managing all aspects of each site.
 
Such as where they are hosted and the legal team for each site
It would also be quite bad form to give each site legal autonomy otherwise each of those sites could end up promoting things that SO is quite against. For example, antiabortionists.SE wouldn't go down very well for SO's public image.
 

« first day (986 days earlier)      last day (3017 days later) »