« first day (960 days earlier)      last day (3354 days later) » 
00:00 - 16:0016:00 - 00:00

00:00
RELOAD! There are 1630 unanswered questions (94.5171% answered)
user image
2
@Mast @TheCoffeeCup ^^ Also of course: Go to a place in the code and see what memory cells are accessed by that code
monking btw
00:16
ok, I made my decision.
> TL;DR: I stand by my close-as-dupe decision. Implement it in actual .NET code if you want it reviewed by a .NET crowd.
0
A: Post wrongly marked as duplicate

Mat's Mug Of course it was compiled as VB.NET! Why did you closed the post before verify yourself that? Of course I disagree with closure! That code is part of much bigger project, and fits perfectly in it. The reason for looking the same code as the vba version is because the vba version was designed o...

I'm talking about when I say that your "VB.NET" code is VBA with enough lipstick to satisfy the pig .net compiler.
Zak
Zak
@Mat'sMug Did you know there are 204 vb.net questions, and your answers have a combined 204 upvotes? Because it took me a while to figure out that you *hadn't*, in fact, answered every single vb.net question :)
00:31
lol
Ooh I got a meta-downvote! Did OP read my answer?
Or maybe my response was a bit harsh.. hmm...
Huh.. ugh, phone glitch
Zak
Zak
I rather liked your answer. It does seem like a pretty poor question where everything I would say about the code can be replaced by "See my previous reviews"
and "use exceptions", and "leverage System.Linq" and, and, and
Zak
Zak
He did seem to be saying "You VBA people evidently don't understand my program, so I'm going to re-classify it in order to get some vb.net people to review it properly".
completely
2
Q: Fibonacci forever

TheCoffeeCupI recently wrote a Fibonacci program in python, and one of the answers mentioned an Infinite Sequence. I decided to implement a Infinite Sequence in Java, as I am not that experienced in Python. Code: import java.math.BigInteger; import java.util.LinkedList; import java.util.List; public class...

00:45
@CaptainObvious dat title
Zak
Zak
I really liked that line:
[Mat's Mug]:"As the all-time top answerer in both vba and vb.net tags on this site, I think I know what I'm talking about"
@Zak that was in response to his comment
> There are vb.net specific differences! So this is the method here: when somebody don't understand something he just proceed to cut it out?
Zak
Zak
Reminds me of "I'd like to speak to the manager" - "I am the Manager".
lol
Zak
Zak
Does this mean you get your mjolnir hat now?
00:48
I don't know what that hat is, but no I don't have it
I don't know if mods have a gold-tag close privilege.
It always uses their mod privilege.
don't think mods can get it
there's been a bit of discussion whether mods can get it
I don't think anyone has a gold badge
@Zak Odinson, or soemething. Closing a question as duplicate as a gold-badge user, or flagging/voting, then being closed as a duplicate by a gold-badge hammer.
@Quill-HATMANIAC On other sites.
I only have a gold
00:49
This is the only hat I have that I don't have on CR.
Yeah, I already got it on SO
Unfortunately, it is the only one that fits my puppy nice.
missing 99 answers and 406 upvotes for a gold VBA
I believe that this is on-topic now.
Zak
Zak
00:52
I never realised, I'm only the third person ever to earn a badge
I have but one VBA answer, and no questions.
And I'm an active programmer on Rubberduck creating some very VBA-specific refactorings.
@Mat'sMug helps me, though, with providing the syntax for different things.
And so does C Pearson, but VBA4All is down.
Soon as I get a job, I'm going to ask Mat to super-ping him and I'll host it.
vba4all.com was @meehow's
Yep. I'm not ready to host it yet, so don't ping him.
@Mat'sMug Holy smokes, open RD in VS and press ALT-F11.
The Code Analysis has all sorts of issues about not implementing IDisposable correctly and using P/Invoke wrong.
complaining about external methods that should be in their own static class? yeah yeah..
01:00
congrats!
@Hosch250 Passed the HAT MANIAC! Congratz!
guys, a beta site has more hats than we do
@Mat'sMug don't blame me
2
also yeah
congrats
I'm comin for ya
@Mat'sMug By less than 500...
Writing a linkedlist in python is a pain. I get errors, and if I fix them, more come up...
>>>
Traceback (most recent call last):
  File "F:/Programming/Python/Python_3_4/linkedlist.py", line 67, in <module>
    list.add(10)
  File "F:/Programming/Python/Python_3_4/linkedlist.py", line 13, in add
    size += 1
UnboundLocalError: local variable 'size' referenced before assignment
>>> ================================ RESTART ================================
>>>
Traceback (most recent call last):
  File "F:/Programming/Python/Python_3_4/linkedlist.py", line 67, in <module>
    list.add(10)
Zak
Zak
Over a month now and not a single upvote :(
0
A: Matching between files and a list of filenames at scale

ZakSo, 3 months later, I come back to this project. This time around, I implemented some serious Benchmarking and experimentation. File Matching: I tried a number of things. I got a good solution going by sorting the company numbers and filenames in ascending order so I would only have to iterate...

01:06
YYYYEEEEEEEESSSSS!!!!!!!!!
'grats!
Zak
Zak
Apparently, I once answered a question. I had no idea.
4
A: Reading XML files from RSS of different websites in PHP

ZakI'm not very familiar with PHP so this will only cover some basic observations. Readability. On the plus side, your code is full of comments explaining what everything does. On the minus side. It also suggests you're not separating things out. Really good code should never need to explain what ...

@Zak So did I. It got me the Populist badge (is that the one where you have 5 rep in 20 of the top 40 tags?).
so did I once... oh wait I have the bronze badge...
@Hosch250 It's Generalist, I believe you are describing.
01:16
Oh, yeah.
0
Q: Why does a GC after a LINQ query free the WhereListIterator but not the Func representing the condition?

Jeroen VannevelI was looking at the memory impact of a simple LINQ query and noticed that the LINQ query created 2 extra objects of types Enumerable+WhereListIterator<Int32> and Func<Int32, Boolean>. The code used is this: static void Main(string[] args) { // Setting baseline snapshot var list1 = new...

experts required
it's for a good cause
the func<int,bool> is this one right?
item => item > 5000 && item < 7000
what happens if you put each "snapshot" in their own scope/method?
I think it's probably "marked for collection" but just not collected yet at that point for some reason
you might actually get a Skeet answer on that one
Well, I would expect it to be marked
but why isn't it collected in the previous GC yet?
01:23
GC mecanics are ..a frakkin' black box
One thing I'm considering:
the Func is referenced by the Iterator. When the GC is in the marking phase it skips the Func because it sees the Iterator references it
But then it comes to the Iterator and sees it has no references
so it marks the Iterator
no wait, even then it shouldn't be possible
WHY DOES THE FUNC LIVE WHEN ITS PARENT DIES
such funcy behaviour
@JeroenVannevel Good pun.
Zak
Zak
@Mat'sMug I didn't know this was a thing you could do in VBA: Dim i(0 To 1) As Long
@Zak you didn't know you could declare an array of int32's in VBA?
and specify the boundaries
Zak
Zak
01:29
Oh, is that what it is?
I thought it was a long with a constrained lower/upper bound
no, it's a zero-based, single-dimensional array of Int32's using indexes 0 and 1. in other words, it's a useless array that actually stands for 2 Long variables
geez
Zak
Zak
I'm at 2,223 rep. tempted to downvote just to make it line up nicely.
IIRC there's a screenshot somewhere of Jamal (user id 22222) at 22222 rep
Zak
Zak
Mine's 81,541, that'll take a while...
hah
I was here before jamal
and Mug
<- oldschool
2
01:36
says the guy who's chat profile still says "Stack Overflow is my home"
;-)
Mine is 34k something.
Hush now baby. You know the love is there
It'll be a while yet.
If you want to improve your working codes, go to codereview.stackexchange.com. Here we deal with only problems. — Tareq Mahmood 6 secs ago
@rolfl I forgot to tell you earlier, but I'm really glad you had me do that multithreaded thing. It really helped debug and fix the multithreaded issue in Rubberduck.
01:42
@JeroenVannevel so, how do you trace that? DotTrace?
dotMemory?
Visual Studio
I need to start checking these tools out
so, does having the linq in its own scope change anything?
1
A: Why does a GC after a LINQ query free the WhereListIterator but not the Func representing the condition?

dasblinkenlightThe reason the lambda is not GC-ed is the structure of the lambda itself: item => item > 5000 && item < 7000 This lambda does not capture anything, meaning that it can be compiled once, and reused forever. C# discovers this, and takes advantage of lambdas like that by caching them statically t...

well there's your answer
dat compiler is a smartass
yeah, looks like that's it
I tried your suggestion by moving it into a separate method and now the Iterator isn't collected though
Not quite sure how that fits in
looks at linked answer --> Jon Skeet. duh!
haha your question was marked as a dupe by the sentient SE bot!
01:58
c'était moi :P
I don't have C# hammer but I can VTC it and then use the community thing to close from my own suggestion
eh, and blinkenlight re-opens it
Seems like a dupe to me but oh well
Today I learned about lambda caching, LINQ expensiveness and diagnostic profiling in VS
You can tell the deadline is nearing
meh, dupe or not dupe, it's already linked to the other post anyway
you made the Internet a better place
Don't I always
awaiting snarky "of course" remark
lol
0
Q: Check my test code

Jake ParkRecently, I had some several coding test for getting a job as a Java Programmer but I failed. I do not know what is the reason why I failed. Please give me some advice to improve my code. Description We have provided you with a set of tests (SodaVendingMachineTest) and an empty skeleton of the...

I'M NOT PREDICTABLE
02:01
I never said that :)
:'( I'll go cry and finish my chapter
Thank you guys. It was first time to ask something here Stackoverflow. Yes, it would be better to move this to somewhere. Thanks. — Jake Park 2 mins ago
aawww
I need to clear my head before I jump into the RD Code Explorer 2.0 XAML templates and the view models.. back in an hour or so
Zak
Zak
0
A: Find value from other dataset based on 6 variables that must be equal in both datasets

ZakMagic Variables Not the good kind of magic either. A magic variable is any hard-coded value. E.G. For i = 2 To 1511 'Loop over all values from total dataset For j = 2 To 288503 'Loop over all values from IBES file 2 to 1511, 2 to 288503, Magic Variables. Where have th...

"Magic Variables, not the good kind of Magic either." I chuckled as I wrote that.
That ASCII > shape with nested loops and ifs...
02:08
you know what makes me chuckle? the 4 close votes on that one:
8
Q: How to refer to ByRef and ByVal in a dropdown label?

Mat's MugThe MSDN page on ByRef and ByVal keywords isn't very helpful; unless I somehow skipped it, they're simply being referred to as "keywords" everywhere. One of the main contributors of the Rubberduck project is working on a very cool Encapsulate Field refactoring, and the UI is coming along pretty ...

@Zak man, you're becoming a pretty good reviewer :)
2
I don't get why the accepted answer has this:
                End If
              End If
            End If
          End If
        End If
      End If
    Next j
  Next i
Zak
Zak
@Mat'sMug Well, I learnt from the best :)
</flattery>
@Mat'sMug Neither do I, but to be fair, it *was* the only answer for more than a week.
It's only 2am and I'm already at +75 ^^
@Zak Quality
02:31
@200_success I will SICP check it out, thank you!
s/SICP check/check SICP/
Monking all
Hey @Phrancis
@Mat'sMug That's nested 6 levels deep...?
@Phrancis 'Ello
@syb0rg (print "'Ello")
Ugh so broken chat is, sometimes
@Phrancis It looked like Yoda-speak.
02:42
May as well be. Playing around with Lisp after all. (so-broken (sometimes chat))
BTW Hi @Edward :)
LISP, eh? Whatever possessed you to do so?
3
#Fun
It's kind of neat, at least I think so. I should probably spend more time on Java instead.
But at least now I know what linked lists are!
It is kind of neat. As you probably already know, it was once the llingua franca for artificial intelligence research.
I've seen some things related to AI and Lisp indeed
> We know nothing about Yoda's people, though. If I were two feet tall and green with donkey's ears, marrying a cousin would be the least of my worries.
02:57
And lingua franca means French language, doesn't it?
not quite
A lingua franca /ˌlɪŋɡwə ˈfræŋkə/, also known as a bridge language, common language, trade language or vehicular language, is a language or dialect systematically (as opposed to occasionally, or casually) used to make communication possible between people who do not share a native language or dialect, in particular when it is a third language, distinct from both native languages. Lingua francas have developed around the world throughout human history, sometimes for commercial reasons (so-called "trade languages") but also for cultural, religious, diplomatic and administrative convenience, and as...
ahhhhhhh ok
Makes sense
There's one thing about Lisp that I really like... everything in any set of round brackets (parens) has to be a valid expression of its own
@Edward, could I ask a favor of you?
@syb0rg Sure.
0
Q: Where it all begins: Khronos

syb0rgThis is the main.c file for Khronos, a personal project of mine. This is basically where the whole program is setup, run and then quit. I'll post the short summery of what this file does from the README.md: How Khronos Works The process starts off by recording a .flac file with the hel...

03:06
@syb0rg It's not apropos to the question, but you might consider using Festival as the speech synthesis engine.
@Edward Instead of my own? :(
@syb0rg I generally find that enhancing an existing open source project is preferable to launching my own independent project.
@Edward Festival is partially C++ though
@syb0rg Don't know why that would be a problem.
You're already using part of it (Flite) by the look of it.
@Edward Tritium is based off of flite
Zak
Zak
03:14
I'm on a roll this morning:
0
A: Raw Exchange Trade Data Analysis Program Code

ZakThings I like Using Descriptive variable names. row_number, tradeTime,tradeMonth,legCounter`. Now I don't have to keep guessing what your variables are supposed to be. Good use of commenting. 'Row color tester is a proxy for testing trade time "structure principle" that took you 5 seconds to wr...

But, different
Zak
Zak
100 rep by 3am. Maybe today's the day I get my first mortarboard :)
3
03:37
;-;
it's just doge language guys chill out
Zak
Zak
@Quill-HATMANIAC That seems overly harsh.
yeah, well... you know
people don't like doge
It'd be the same if I made a script to turn every font on a page into Comic Sans
0
Q: "Simple" pathfinding algorithm

oldmud0I decided to write a pathfinding algorithm in order to expose myself to the world of pathfinding and for me to further understand more advanced algorithms such as A*. I chose C# due to its flexibility compared to other languages such as Java. I will start with the basic objects and work up to th...

Zak
Zak
03:56
We're getting close to CR crossing the 30k Question mark :)
@Zak Lol, we still have like 400 questions to go.
Zak
Zak
That's only, like, a week?
BTW.Monking
Zak
Zak
Oh, but wait, christmas.
Well, maybe by New Year's then :)
Also:
1
A: Code Review Secret Santa: Show off your gifts

Ethan BierleinThanks Santa! I've been wanting to learn C++ more in depth for quite a while now, and this book should certainly help. :)

Magical gifts!
04:13
Pimping:
1
A: Where it all begins: Khronos

EdwardWithout more of the code, it's not really going to be possible to address memory management or bottlenecks. So instead, I'll look instead at readability and portability. Use the appropriate #includes This program fragment requires two headers, which should be included but are not: #include <s...

Goodnight all.
@Edward Good night!
Thanks for the answer!
Zak
Zak
'Night all.
@Zak Cya
04:38
If you have working code, I suggest that you post it on Code Review to get some feedback on how you can refactor it. — TigerhawkT3 31 secs ago
05:26
15
Q: How do I tell my family they need to give me more free time to get hats?

MetaFightAs we all know, hats are a very important part of this site. In fact, the only reason I tolerate other people on the internet is so that once a year I can spend some time earning these glorious avatar noggin covers. Recently a few children have been added to my family. They were totally awesom...

lol ^^
0
Q: x is not divisible by 2?

Niccolo MachiaveliiI don't understand how 'if not x % 2' would return True. Wouldn't that be the opposite? From that part of the code I read that if x is not divisible by 2, then return True. What the heck? def is_even(x): if not x % 2: return True else: return False

There is nothing wrong with Python; it is already one of the best languages available these days. We could give you a technical generic answer to you question, but it will probably be mumbo-jumbo to you. Becoming a good programmer takes practice more than anything. If you can solve any textbook problem correctly but poorly, post it to Code Review and we can show you how to organize your code properly. — 200_success 22 secs ago
05:45
@EthanBierlein yep :P
@CaptainObvious Wow. Let your guard down for a few minutes, and two people answer that junk question.
@Duga That's right. Python is really cool, and is my second language of choice.
@200_success I wonder if they followed from another site.
Also, I'm a bit confused by this. This line: for (size_t i = count-1; i >= 0; --i) results in a seg fault at the end, but for (size_t i = count-1; i != -1; --i) doesn't. Is there some difference between them?
@Jamal It wasn't migrated.
It's OK to say "Stack Overflow", if that's what you mean.
05:54
@Jamal Absolutely no idea. That looks crazy.
They look identical to me as well.
When I first CV'ed the question, there were no answers.
@200_success The 101 user doesn't have SO as a top site, so I didn't assume SO.
 
1 hour later…
07:10
0
Q: Root URL Service in ASP.NET MVC + Angular Application

AlexeiI have a medium sized ASP.NET MVC application that should be improved in terms of responsiveness. Some jQuery is used to do some operations asynchronously, but I want to use AngulaJS as much is possible. Since am new to angular and the time is short, I thought of leaving MVC views (no single pa...

07:28
@CaptainObvious Second opinion on closure, please?
 
1 hour later…
08:34
Greetings
@200_success That sounds like: 1- incomplete code, 2- asking about design patterns.
Thanks. Could you please add a comment with your opinion?
My opinion is like that code: it can't stand on it's own
And I lack the "meat" behind to make it a perfectly valid opinion
08:48
> Your code currently is missing too much: It doesn't have a single line of jQuery (even though you speak about it), you are missing the definition of the "coreModule", you don't even describe how the controller will work. The code, by itself, won't work in any way (unless we try to guess what code you wrote, which is impossible). It can be considered both example code and/or broken.
@200_success What do you think?
Cool, thanks.
You're welcome
You want me to post it or you will do it?
09:14
So...what is your question? If this is for code review then move it to codereview.stackexchange.comIdos 44 secs ago
0
Q: Binary to ascii mapping in JavaScript

user92682This morning I've seen this on Twitter: http://mynewtechworld.tumblr.com/post/135545896048 I case that somebody can't see the image: I 01101100 01101111 01110110 01100101 you. Just for fun I wrote this binary to ascii-converter in JavaScript: var chars = [ 'I ', 0b01101100, 0b01...

09:48
0
Q: Is this a correct polymorphic thing I should go for?

joey rohanI was trying to achieve a simple problem : If the user is an employee of the store, he gets a 30% discount If the user is an affiliate of the store, he gets a 10% discount I came up with the following : The abstract super class : abstract class Customer { String cid; String customer_nam...

10:08
0
Q: List all repeated substrings with a fixed length

Ismael MiguelWhile fiddling around, I've made a very simple and naive function to retrieve any repeated sub-string within a certain string. function getRepetitions(str, length){ if(isNaN(length)) { throw new TypeError('length must be a number'); } if(length < 1 || length > 2147483647...

0
Q: Can you request review for User Interface code?

Hassan AlthafI have been working on a software since a while in Java, and started the designing phase of it. I use JavaFX for the GUI, and use FXML for defining Scenes. I want to get the code reviewed which is related to how I handle the user interface. Like, how I render different pages, etc. Would that be c...

possible answer invalidation by StepTNT on question by StepTNT: codereview.stackexchange.com/posts/114216/revisions
@Duga I would rollback, but I'm not entirelly sure
10:27
0
Q: Optimal matrix chain multiplication in Java

coderoddePreliminaries Given two matrices $$ A = \begin{pmatrix} a_{11} & a_{12} & \dots & a_{1q} \\ a_{21} & a_{22} & \dots & a_{2q} \\ \vdots & \vdots & \ddots & \vdots \\ a_{p1} & a_{p2} & \dots & a_{pq} \\ \end{pmatrix} \text{ and } B = \begin{pmatrix} b_{11} & b_{12} & \dots & b_{1r} \\ b_{21} & b_{...

@CaptainObvious @IsmaelMiguel does this work with letters?
It works with anything
As long as it has a .toString() method
Is there a size limit on these?
getRepetitions("1111117890", 10)
that doesn't work
10:32
That is because you want to check for a 10-char long repetition, on a 10-char long string
The algorithm to find all repeated substrings would be too slow
And wouldn't be much different from what I have now
you're code ran at 2500ms and checking all ran at 4000ms
? Sorry, I don't understand :/
alright, I was a little confused about the length variable, but you explained it
Maybe it isn't clear enough
I will edit in a few moments, to add run examples
10:46
0
Q: WPF without MVVM

Krzysztof UrbańczykI know I should use mvvm, but just starting with WPF, here is my code: https://github.com/KrzysztofUrbanczyk/EasyUpdater what do you think?

@CaptainObvious No code, just a link
possible answer invalidation by StepTNT on question by StepTNT: codereview.stackexchange.com/posts/114216/revisions
11:02
I have flagged this as belonging to codereview.stackexchange.comKayaman 17 secs ago
First of all, please edit your question with an appropriate title. Secondly, this is more CodeReview material since you do not have any problem or concrete question. I do suggest that you format your question better before posting it there. — user1803551 26 secs ago
I'm voting to close this question as off-topic because it is better suited for CodeReview after it is edited. — user1803551 42 secs ago
11:20
I think this question is probably better suited to codereview.stackexchange.com than to stack overflow. In answer to your question, you basically can't unit test code that depends on statics for a number of reasons. You're better off avoiding static methods where possible and relying on other techniques such as dependency injection (passing things in). Statics have their uses some times but on the whole they cause more problems than they solve. — GordonM 36 secs ago
possible answer invalidation by Anurag on question by Anurag: codereview.stackexchange.com/posts/114493/revisions
0
Q: Grade work please

Beginner 14So I am doing homework and here is the problem and my code (YES the class name is weird but I didn't feel like changing it) what I would like is to write the instructions down show you my code and you tell me if the code satisfies the assignment requirements or if I missed the target completely a...

0
Q: Simple stopwatch class

user2296177A stopwatch class. I'm not sure what the best way is when dealing with users calling start() multiple times or stop() before calling start(), I decided to silently return. I lean towards not using exceptions for these situations. Is there a good argument to be made for exceptions? Is there a dif...

0
Q: PHP: How to make testable static methods

James Okpe GeorgeI decided to make my own poor man's ORM framework. Since I did not know how to go about it I decide to develop before testing. Github. After making it work the way I want, I realise that my code was untestable because of the tight coupling between my static methods from the query class and BaseMo...

12:13
0
Q: Notification script | from RSS to Email | Bash

JohnnyKing94This is a script that must send an email at each new article published on a specific website. Any suggestions or improvements to do? SENDER_EMAIL="[email protected]" TO_EMAIL="[email protected]" RSS_SITE="example.com/feed.xml" CHECK_INTERVAL=10 while [ 1 ]; do LINK_ARTICLE=$(rsstail -i ...

12:42
0
Q: Getting to Wikipedia's "Philosophy" article using Python

SumitOn Wikipedia, if you click the first non-italicised internal link in the main text of an article that's not within parentheses, and then repeat the process, you usually end up on the "Philosophy" article (see this Wikipedia essay). To test this idea, I made a simple Python module that does the ...

68
A: Congrats on 1m [javascript] questions!

SheepyCongrats! Long live JS! 🎊🎉🎆🎇🎈🎆🎉🎊 And JS will rule with ES6, and ES7, and forever! Behold, a self rendering script to show the power of JavaScript! <!-- By Tiffany Rayside http://codepen.io/tmrDevelops/pen/jEEdNy --> <canvas id ='oldSkool'></canvas> <script> window.requestAnimFr...

that's a cool script
13:05
Monking
13:48
somehow I got the accept on this... weird
14:08
@SimonForsbergMcFeely That's going to make debugging so much easier.
0
Q: count the number of words of 3 letters of a string

NasverI need to find the number of words of a length of 3 characters of this string, but I do not know how. this code just counts the number of words. #include <iostream> #include <conio.h> #include <string> using namespace std; int countWords(string st) { int number_words = 0; for (int i=0; i<...

@Quill-HATMANIAC Holy sh*t.
Check out this Answer to the Question that I bountied! it deserves at least as many upvotes as my answer (if not more) ▼▼▼
3
A: Find & Delete Duplicate Records on All Tables in current MSSQL Database

joranvarAside from Malachi's remarks about capitalization of keywords and indentation of the code, I would add two points about variable naming: DON'T use variable names that start with @@, as they are reserved for T-SQL functions. This would now give a conflict between the parameter @DiscludeTables an...

@CaptainObvious VTC for explanation of someone else's code
14:37
0
Q: MVC binding list of values to checkboxlist in efficient way

ProgrammmerCode Objective I have this code which generates and shows list of selectable items that user can post to controller in order to save into database. Model looks like public class DeliveryAddressSelectionModel() { public List<DeliveryAddress> DeliveryAddresses { get; set; } public List<int> S...

14:55
Greetings
Questions of the form "this code works but I'm wondering if it can be better" belong to Code Review Stack Exchange. That said, your code will fall into infinite recursion if there are loops in your graph. For example, try adding Paris -> New York to your initial list of tickets and you will see infinite recursion. — abl 46 secs ago
@IsmaelMiguel hi
How's it going?
sick, I'm supposed to be working tomorrow too
and you?
:/ that sucks
Me?
Couldn't sleep ALL NIGHT LONG
14:58
that sucks
Could be worst
I could be sick and having to work the next day
So, did you checked the code I've put for review?
yeah, I couldn't see much I could improve on
your stuff has been really good lately
Not sure if a good thing or a bad thing
you and @DanPantry are a league above me, that's for sure
Nah, I just used the basics
15:01
JosephTheDreamer may review your code if he decides to. His reviews are usually pretty good
Never saw him
0
Q: how to create this code?

nazverGiven a string of text in which the words are separated by spaces or commas. You need: a) to determine the number of words of length 3 characters; b) find the words that have the same number of vowels and consonants to the number of their serial numbers; c) get the word out in descending order...

@CaptainObvious vtc for unwritten code
I've been seeing tons of garbage today
@Quill-HATMANIAC you're too kind :)
15:05
@abl thanks for this information, I didn't know about Code Review Stack Exchange — ruby_dev 29 secs ago
@Quill-HATMANIAC That's what happens in my job when stackoverflow is down. :D
3
@CaptainObvious this is cool
1
Q: Find all possible combinations of tickets to get from point A to point B

ruby_devI have an array of tickets that contain information about departure and destination: class Connection DB = [ {departure: "New York", destination: "Madrid"}, {departure: "New York", destination: "Berlin"}, {departure: "Berlin", destination: "Madrid"}, {departure: "New York", de...

15:44
You should think of this as a directed graph with no cycles. It lends itself well to recursion. If you want to go from A to B, and from A you can go directly to C and D, then all paths from A to B is all paths from C to B, each prepended with A to C, plus all paths from D to B pretended with A to D. Yes, this question belongs on Code Review, where you're likely to get more useful answers than you would here. — Cary Swoveland 39 secs ago
> You earned "vote early, vote often" on Code Review
Congrats
:)
that one was quite a bit of work haha
I don't even know what that is
Probably to vote around 100 questions?
Or 500?
250 votes on 7 consecutive days
15:52
That is A LOT
that's 35 votes spent per day
Isn't the limit 40?
That is a lot
IoW, the hat is basically "vote-cap every day for a week"
it is, ..but it generated quite a bit of rep on the site in the past week :)
15:53
I don't see much of a difference
I've been looking at some very old zombies to kill.
Quill killed my zombie
I should be earning "Explorer" on Cooking.SE around midnight UTC
I would really like it if my laptop wouldn't BSOD while I'm finishing a chapter for my thesis
that'll be my 2nd hat that I don't have on CR :/
15:55
With that question about the cake?
@JeroenVannevel save early, save often :)
yeah
Can you show the result?
If possible
I'm really curious
it's being finalized right now
yeah I didn't lose much luckily -- just annoying that now I have to re-open every window I was using
That's awesome!
15:58
@JeroenVannevel I remember saving a friend's thesis many years ago when it was all on floppy disks.
I wouldnt mind a slice of that cake
00:00 - 16:0016:00 - 00:00

« first day (960 days earlier)      last day (3354 days later) »