« first day (953 days earlier)      last day (3080 days later) » 
00:00 - 20:0020:00 - 00:00

8:00 PM
gotcha
smelly code
 
That has been a trap for many aspiring C++ programmers, I guess the same holds for C#.
 
Increment and decrement operators are unary operators that add or subtract one from their operand, respectively. They are commonly implemented in imperative programming languages. C-like languages feature two versions (pre- and post-) of each operator with slightly different semantics. In languages syntactically derived from B (including C and its various derivatives), the increment operator is written as ++ and the decrement operator is written as --. The increment operator increases the value of its operand by 1. The operand must have an arithmetic or pointer data type, and must refer to ...
36 secs ago, by Malachi
smelly code
 
I think we have had the i++ ++i conversation a time or two before @rolfl
 
Indeed ^^^^ Any modification of the for-loop control-variable inside the loop is an automatic code-review fail for me.
6
 
I seem to have a bit of Deja Vu
needless to say, on about 4 questions, I thought to myself "I wouldn't do any of this, I would rewrite the code without goto"
 
8:04 PM
@rolfl for me having that kind of question in an interview would raise suspicion about whether they're looking for devs that will have to deal with that kind of mess on the daily
 
@Mat'sMug Perhaps the dev they just fired was fired for good reason ^^
 
@rolfl for (int i = 0; i <= 1000; i++) { i = i * 1.1 + 1; }
 
#FML
 
@skiwi Illegal.
 
@skiwi I wouldn't touch that trash with a 20' pole.
 
8:05 PM
int won't hold a float
 
@Mast It might just round it off.
 
@Hosch250 but C# won't.. this isn't VB :)
 
@Hosch250 I'm not going to touch the compiler you're talking about.
 
No, C# won't, but I know some languages do.
 
Real languages don't.
JavaScript and VB probably do.
 
8:06 PM
C++ might, although I can't say for sure.
 
IIRC it doesn't. It shouldn't.
 
^^^
 
Python would throw a runtime exception or just turn your int into a float, I don't know which.
 
It should give you an in your face error telling you to sober up before coding further.
@Hosch250 Python doesn't know type safety, so it will just turn it into a float.
 
I think it's time to write a meta question......
 
8:08 PM
It might do both, though.
 
@skiwi Java or C#? would that crash if i = 1000.1 ?
 
You can cast an int to float by multiplying it with 1.0
 
oh but it won't hold 1000.1
 
@Mast to be fair I think VB will correctly refuse to compile it with Option Strict On
 
Now, what if you try int i = 100 * 1.1 + 1; // equals 111?
That evaluates to an int.
 
8:09 PM
@Hosch250 Python is consistent. You must be thinking of JavaScript, where it does a in Firefox and b in IE.
 
@Mast No, it might cast it to a float, then crash later because you expect an int.
 
@Mat'sMug I'd hope so, otherwise there's no point in being strict.
 
@Hosch250 but your int is just a float dressed up as an int. for all we know it could very well be 111 == 111.0000000000001
 
@Mat'sMug Only in computer land.
 
what I mean is that it doesn't matter what the value is, a float is larger than an int, C# won't do the implicit conversion
anyway, I have a StackOverflowException to fix in Win32 code
p/invoke ftw
 
8:13 PM
@Mast that is not JavaScript's fault, that is the browsers interpretation of Javascript
 
Everything is JavaScript's fault
2
 
@Malachi Of-course it's IE's fault.
But JavaScript is partly to blame in the whole ordeal as well.
 
@Mast well yeah. that's why Microsoft finally got rid of it
 
You're mixing JavaScript and IE?
 
@Malachi s/finally got rid of/renamed
 
8:15 PM
I emailed that recruiter that he should throw that assessment out the window, that no one uses goto in C#
 
Where's @DanP when you need him...
 
I have never seen a goto in any C# book I have looked at so far
 
@Malachi Good. I have high hopes for your library so far.
 
@SimonForsberg You mean that Jamal has a hard time hiding he's an edit-robot?
 
1
Q: Is nitpicking worthy of a full answer?

Nate KerkhofsSometimes, others have already pointed out the obvious flaws in a review. What is left after that are details: naming conventions, style conventions, things that are not bugs that affect results, things that are not important. I recently made an answer on a question about a single letter variabl...

 
8:24 PM
Well this is comforting...
 
@SimonForsberg uh, so, you're getting that shipment?
 
@Mat'sMug I hope so...
 
or wait, the order is in the system, but nobody knows because the email never went out
 
0
A: Is nitpicking worthy of a full answer?

Mast What is left after that are details: naming conventions, style conventions, things that are not bugs that affect results, things that are not important. I beg to differ. Readability is a major point of concern in both professional and hobbyist code. You code can be good, but how well does th...

Does it need more?
I like keeping it short.
 
8:31 PM
@Hosch250 Your personal goal insinuates you're not a software developer in .NET yet. Is this accurate?
 
@Mast Not professionally.
 
So change it into professional .NET developer
 
0
Q: Why are the buttons not aligned?

OldBunny2800Here's my code: h1 { text-decoration: underline; } /* Common Header */ body { background-color: #d5d5d5; } .header button { background-color:#8C481B; text-align:center; } button { display:inline-block; border-radius:15px; height:50px; width:125px; font-size:20px; } button span .comi...

 
0
Q: Migrate to Programmers / Stack Overflow Revisited

rolflIt has been about a month since the migrate-away options were added as close-reasons to Code Review - Migration paths to other sites Since migrated-away posts are deleted on the source site after about 30 days, a month is about all the history we get to see the source posts. In addition, the SED...

 
Highlighting professionality can't hurt usually anyway.
 
8:33 PM
> * Write and maintain a technical blog on Windows.
Make that "about", not "on".
 
@rolfl Well, I do it on Windows too :P
 
@Mast hello, who you needed me?
 
Thanks for the help.
 
Greetings
 
Hola.
 
8:35 PM
@DanPantry @skiwi and I (and a couple others) weren't sure whether to blame IE or JS.
 
How's it going?
 
Or, as you are Portuguese, Olá.
 
Monking
 
Monking
 
hey @janos
 
8:36 PM
hey @skiwi
 
@Hosch250 That's quite good. What else do you know in Portuguese?
 
@IsmaelMiguel It hasn't been snowing or earthquaking, so I guess it hasn't been going bad.
 
@Mast always blame IE
 
@IsmaelMiguel Nothing, except what Bing can translate for me :P
 
At any rate I'm streaming atm. If you post the issue in javascript masterrace i'll try and get around to it :P
 
8:36 PM
@Hosch250 LOL
@Mast IE isn't always the one to blame - an IE user
 
If anyone likes gaming, shameless plug
 
@IsmaelMiguel Cão que ladra não morde.
That's about as far as I go and I'm not even sure I got the spelling right.
 
You did
 
@IsmaelMiguel You're biased.
 
@Mast Yes I am biased. But IE has proven to be faster with memory manipulations (array accesses, and what-not)
Chrome is WAY faster on DOM access and manipulation
 
8:40 PM
FF all the way.
IE can't handle my tabs.
 
Firefox has one flaw
It starts slowing down
 
Never noticed.
 
It becomes a bit laggy
 
Tends to crash if I do really crazy stuff with it, but all browsers do.
 
One thing about IE is that it has Flash built in, and doesn't let other programs access it.
 
8:41 PM
Well, Firefox is quite crashy
 
@IsmaelMiguel @skiwi opinion?
 
So, I can use Flash content without having to download it into my whole system.
 
you aren't going to be using javascript for memory manipulations
you're going to be using javascript for dom access
also, I dislike the fact that yeah, IE has flash enabled and chrome does not
 
@Hosch250 Why do you intend to remove the reference to RD?
 
But, I use IceDragon for everything else.
 
8:42 PM
Chrome has Flash
 
@Mast Huh?
 
Everything has Flash.
 
yes it can use flash
but NPAPI is deprecated and opt-in on Chrome
in *
 
But Chrome's Flash is a big pile of s..t
Peper-flash, that's what it is called
 
@RubberDuck promised me a reference, and I need to get it soon.
 
8:43 PM
Or something
 
@Mast Partially agree, it tends to occasionally crash when I have more than 2000 tabs open
 
^^
 
It crashes when I am too fast with it
But again, I use it with 10-30 tabs opened
And 3-5 tabs on Chrome
 
@IsmaelMiguel could be worse. cars do that too, and recovery isn't as easy :)
 
8:45 PM
Especially if you're the driver.
 
@Mat'sMug Yes, sometimes there isn't a recovery at all
 
Just instance a new car.
 
@nhgrif @simonforsberg I know you can answer in multiple questions, but if they're duplicates, then that's kinda pointless, I was trying to get the author to differentiate the two.
 
From your CarFactory
 
But Firefox isn't the problem
Lets be honest:
Chrome eats RAM like House takes Vicodin
 
8:47 PM
@Mat'sMug I dreamed last night that I had to chase someone with 160 km/h on a 80 km/h road in order to get their license plate, because they scratched my car
I'm having my driving exam (2nd try) tomorrow... might be relevant to that dream ^^
 
Wow, that escalated quickly
2
 
@skiwi noting: had to
 
187 minutes to winterbash... winterbash2015.stackexchange.com
 
Wait, it's today?!!
 
@Mat'sMug Well, how else am I going to get that scratch damage covered? (Mind the chance of wrecking the car)
 
8:52 PM
gonna suck to be at work tomorrow
5
 
It was during a driving lesson actually, makes it even better
 
lol
 
@janos Do it monkey style and take a couple days off.
 
0
Q: Summing a sequence of fractions to a limit n

cody.codes Your method should accept a real number as a parameter representing a limit, and should add and print terms of the sequence until the sum of terms meets or exceeds that limit. For example, if your method is passed 2.0, print terms until the sum of those terms is at >= 2.0. You should round you...

 
Welcome @david
 
8:55 PM
@Mast thanks
As the winter bash is about to start feel free to drop in on the winter bash room.
 
@IsmaelMiguel Meh, in my experience IE is worse.
We're debugging a memory leak in work now that only occurs in IE11 (and obviously earlier versions). Chrome is fine. IE is leaking memory like a sieve.
 
Well, IE has that problem
 
@David A dedicated Winterbash room. This is so going to break my productivity.
6
 
I think that the easiest fix is to set everything to null
 
Luckily I already finished the deadlines for tomorrow ^^
 
8:59 PM
@Mast lol, I know!
 
@Hosch250 email me so I don't forget. (Use git to get it if you don't have it.)
 
@RubberDuck that was a lot of "it"s
3
 
hey guys.. does anyone have any feedback on this question of mine.. I haven't got any attention so far.. I will place a bounty as soon as I am allowed to do..
0
Q: Synchronous / asynchronous REST client

davidI have a code working fine with original design and now I have a slight design change so trying to code review that as well. I already had code review on my original design here. Original Design: I am using RestTemplate as my HttpClient to execute a URL and then my server will return a JSON str...

thought to check here
 
0
Q: Reducing complexity of a filter

Bernard MeurerI have a filter method that receives a list composed of dictionaries. You must discard dictionaries that have their handle or their citizen_number elements off the filtered result as well as concatenate any lists inside that dictionary. In addition to that, in case an element on that main list is...

 
9:40 PM
0
Q: Applet glitches when running program. What do i change? Java. simple but new to coding

J.Doe User enters his/her name and lucky number. Color background, the numbers and each sentence in different colors. Use different size font style for text and numbers. All random numbers should be placed randomly on the screen Screen glitches about 10 times before it stays still. Numbers a...

 
I still don't get why people dump non-working code over here
What makes our site look so attractive?
 
Monkeys
7
 
They see the upvotes and camaraderie among those in the clique.
 
this belongs on codereview — Dagon just now
 
Clique = those who understand what the site is for.
 
9:52 PM
0
Q: Im trying to tell the user the strength of a password they have input but my if/else/elif functions do not work, how do i fix this?

leahthis is my code: choice=("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z",) choice1=("a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z",) choice2=("0","1","2","3","4","5","6","7","8","9") ...

 
@CaptainObvious Even your title is broken.
2
 
0
A: Simple neural-network simulation in C++ (Round 3)

ZulanSo here are a few more thoughts on your code: Declare variables as local as possible In general you want to declare variables in the most local scope that is possible. This makes it much easier to reason about the code and understand what is doing. For instance spike_times is used only within ...

 
10:18 PM
 
10:31 PM
@Mat'sMug How many hours did the SE developers use to implement this animations versus graduating sites?! :-p
 
@holroy Ask them, not us.
There's a meta about it somewhere.
 
0
Q: Is there a cleaner way of implementing LSD Radix Sort than the one I've come up with?

jcmI would love a code review of this LSD radix sort implementation. I've rolled my own, and have implemented counting sort as well. I feel like some of the data structures I've chosen could be improved, like my List<List<char[]>> is a little gross and makes fiddling with its innards more complex th...

 
HeHe... It's more of an rhetoric question, with a slight side-kick to the elongated graduation process here on Code Review, rather than a real question...
 
We're finally graduated. Stop whining ^^
We already plagued the devs long enough till they finally gave us what we wanted.
I feel like there is another question hiding behind this question. If it's just wonder at how everything is interconnected, you could also consider that when you plug in your lamp, it's "directly" connected to the lamp on the president's desk in the Oval Office. — Digital Chris 2 days ago
 
I'm not whining! Bad attempt at trying to be funny...
But something strange is happening, I'm being misunderstood a lot these last few days.
Maybe I should just go hide in a dark cave somewhere...
 
10:40 PM
No fun in that.
There's a lot of bad attempts at being funny in this chat and a lot of sarcastic remarks on them. Please feel welcome.
 
@Mat'sMug, Could you please remove my bad attempt at a slightly funny remark regarding the animation and corresponding messages below?
 
@holroy I don't think it is worth taking it to that level...
 
Agreed.
Now I'm going to take a nap. I should at least try to be productive tomorrow.
/wave
 
bye
 
This is why we leave being funny to the pros
cue: me
 
10:50 PM
Is it winterbash yet?
2
 
No.
Have you reviewed my new refactoring yet?
I'm not going to merge it until the references get fixed so I can make sure the last few things work.
 
No. Getting new floors here while family is visiting from out of town.
 
I've got a couple things to change, but I need the debugging data.
@RubberDuck We got some a couple years ago. It was a pain.
 
Yeah. I'm tired.
 
If it's working then this question is more appropriate on Code Review. — Jim Garrison 11 secs ago
 
11:09 PM
0
Q: Non-generalized Site Generator

CarcigenicateFor my CS class, I need to, by the end, have written an entire website. The idea for my site is to supply information about Uromastyces. Because of this, most of each page will be nearly identical. The only part that changes will be the main body that contains unique information (this seems to be...

0
Q: Twig: Raw filter with ternary operator for html class attribute

RobI've been trying to figure out how to stop Twig escape the following code, which I feel is a little nicer with the succinct ternary operator. Hoping someone can confirm I'm using the correct syntax and if there are any performance hits doing it like this (as well as alternative methods, if any): <

 
monking
 
11:26 PM
when are we getting our Official CR swag?
 
There is a Stack Exchange for this: codereview.stackexchange.com As long as you don't have a specific question / problem it is probably better to ask there. — bastelflp 19 secs ago
 
@Malachi 6-8 weeks
 
@Mat'sMug from...?
lol
I still didn't get any of my SO Swag from whatever even happened that they were telling us we could have some in 6-8 weeks
 
Let's not talk about that. I'm salty about the SO swag not showing.
 
Hey @Malachi! I haven't seen you in this room for a while.
 
11:40 PM
@SirPython I have been trying to find work. it is hard to find time (and quiet) to do what I want to do sometimes.
I only have a laptop setup and it doesn't run as fast as my desktop, I do sorely miss it
 
Oh, sorry to hear. I hope you find some good work, though!
 
me too
I am trying to work on my websites and get them all moved over to Azure, and then upgrade them all by creating new versions with MVC instead of Raw HTML
but again, my kids are being homeschooled, and then there is always something that needs to be done
I miss you guys though.
what's new?
 
@RubberDuck not only you are...
@Malachi hats. in 15 minutes
 
@RubberDuck me too
 
11:46 PM
@Quill glad that this isn't blocked on spotify :D
 
I just rediscovered it in my Spotify library a few minutes ago actually
 
it's Friday, right?
 
@Malachi It's monday bro come on
 
when you don't work, you don't know what day it is
 
11:48 PM
yes you do
 
monkday
 
T minus 9 minutes
 
We need to get Duga to give a countdown.
 
@SirPython put it up as an issue on her repo!
8 minutes
 
11:52 PM
@JimGarrison Seems like I'm not wanted there either :( — Rob 42 secs ago
 
I doubt Simon can add it, roll it out and reboot Duga in 8 minutes...
 
In the issue, I added "Or maybe a countdown of how many days left"
 
Friday.. Hats.. Whatevs @Malachi
T -5 min
 
3 here
 
11:59 PM
drumroll...
 
00:00 - 20:0020:00 - 00:00

« first day (953 days earlier)      last day (3080 days later) »