« first day (641 days earlier)      last day (3374 days later) » 

5:00 PM
@rolfl ... I think we got around 1.2 k channels over satellite at my place..
 
@Vogel612 Yeah, I just found out it won't let me add Mage instances
 
urk...
 
> ValueError at /admin/characters/mage/add/
> Cannot assign "'Intelligence'": "CharacterAttributeLink.attribute" must be a "Attribute" instance.
@Vogel612 Urk indeed
 
@Vogel612 But my antenna subscription is $0 per century.
 
ermph... now if I had gone through with putting up the mess that django, python and windows made together I maybe could help you...
 
5:01 PM
@Vogel612 I did....
 
@rolfl well my parents just pay the normal "GEMA" fees
 
much nicer when you give in an use powershell
 
that's fee you have to pay as soon as you got a radio / PC / television in your house
and since we have multiple pcs anyways it's not any additional cost.
and yes, German thing...
 
Yeah, the UK has the tv license as well, pays for Top Gear to crash cars.
 
3
Q: How fast does poop fall?

James JenkinsSome building are really tall, if you flush the toilet and the contents go into a pipe and straight down, there could be a lot of energy, potentially enough to cause harm to the sewer pipe at the end of the fall. I know that in my home, the pipe goes straight down and then there is just a 90 deg...

 
5:10 PM
WTF
 
It actually has a pretty good answer.
 
It does, funny
 
@rolfl I am going to go and get a couple. we have 2 TVs that aren't used because there isn't any signal. (my kid's TVs, one of them has a DVD player though)
 
We rarely have a TV outage, but when we do, I drag out the emergency antenna.
 
1. Turn off eager loading, 2. Use custom marshllers, 3. Don't use deep unless you really need it. You might have better luck posting this question on code review. Since the question isn't a "problem" but rather "how can I improve this". — Joshua Moore 28 secs ago
 
5:18 PM
Let's say I have a character 't' in C++.
And I want to convert that into a tab.
What can I do short of if (character == 't') { character = '\t'; }?
Like, character = '\' + character; won't work, because it just escapes the ' and gives a compiler error.
 
@Hosch250 I don't think there is another way...
 
Nor do I.
 
Character = '\\' + character
 
That will result in the string: \t
not a tab
 
I tried that.
 
5:23 PM
Oh right
 
And no, character + is an int converted back to a character.
 
What's wrong with your if?
 
Well, suppose I want to do a lot of them, n and b....
It gets a little messy.
 
character = character == 't' ? '\t' : character;
 
don't cross post please. if you think it might be a good fit for Code Review, please flag for migration using a custom flag. — Malachi 7 mins ago
 
5:24 PM
@SimonAndréForsberg I thought there was a meta about Design Review
 
@Malachi that's not a really good comment also ^^
 
hang on, you can do character math...
 
@Malachi yes, I should know, I wrote it.
 
Also, use a function if you are doing it a lot @Hosch250
 
Yeah. Not so nice either way.
 
5:25 PM
Please don't flag for migration either. I don't think this is a good Code Review question. This feels more like "Design Review" than "Code Review". This would likely be closed on Code Review. — Simon André Forsberg 1 min ago
 
@SimonAndréForsberg I thought that it was such that design review was acceptable. maybe I should read it again. I almost posted another comment or additional info on that question about the fact that I didn't think it had enough code for a good review
 
Character -= ('t' - '\t')
 
@Malachi I think the current question on SO is not that good on CR.
 
I thought that flagging for migration is what we want them to do so that a mod handles it rather than a user cross posting or posting crap
 
Wouldn't that screw up other chars @nhgrif?
 
5:27 PM
Well yeah. But if you only want to do this when character is 't' then what's wrong with your if?
 
I'd say, nothing. Looks like he's trying to do obfusticated code for no good reason.
(not that you really should do it for any reason in any production code)
 
I might write it as a ternary, but you have to use a condition unless you want to change all chars...
 
@Malachi I don't knoww if there is a guideline for flagging for migration vs. cross-posting. You might wwant to ask @rolfl about that.
 
Yeah, did that.
 
c = c == 't' ? '\t' : c;
But this isn't any faster.
 
5:31 PM
@SimonAndréForsberg I thought someone had discussed it before, sounded like something that @Jamal talked about. but agreed
 
Questions can be on-topic on multiple sites. In which case, cross-posting is a decent option.
Questions that are off-topic on one site, but on-topic on another, if they are decent quality, are candidates for migration (closing them on the source site).
 
For multiple. I'd probably do:

for(char char_map[2][] : {{'t', '\t'},{'n','\n'}})
{
if (character == char_map[0]) {
character = char_map[1];
break;
}
}
 
Any C++ people here?
I hope I didn't make an idiot of myself here: codereview.stackexchange.com/questions/79281/…
 
That was C++11
 
@rolfl the question is, do we want people commenting/eventually cross posting or flagging for migration so that mods can ultimately make that call?
 
5:39 PM
@Malachi Neither
We want people asking the questions in the right place, first time.
Anything else is janatorial shuffling
 
@rolfl :)
 
-1
Q: My Python script isn't working- need solving

Adrians NetlisI have recently made some code, but it doesn't seam to work. Here is what I want to get: A program, that takes input number(a), gets all the prime factors of it, sums all the prime factors in one integer, gets factorial of the integer(factorial is the number you get like this: !11 = 1*2*3*4*5*6*7...

 
@rolfl so inform them that if they added what is need to make it on-topic they could migrate/post on CodeReview (after deleting the SO question in the case of Posting)
 
@CaptainObvious Close it.
 
@Malachi But:
23 mins ago, by Malachi
I thought that flagging for migration is what we want them to do so that a mod handles it rather than a user cross posting or posting crap
What problem does that solve?
What's the situation? A user posts a question to SO, it is:
 
5:50 PM
streamlines the process? I guess that pushing things through the cookie cutter doesn't let anyone know what the cookie cutter looks like
 
What process?
 
if they just post the crap here, or cross post here, then someone has to clean up the crap. so I guess I would say the cleaning up crap process
 
Clean up the crap by voting to close/delete.
 
Very important process. Cleaning up crap...
 
The processes are simple, when used right.
The problem is that people don't know which process to use, and when.
A well-asked code review question that's posted to SO should be flagged for migration.
2
A well-asked SO question that's posted to SO should be upvoted.
a badly asked question should be downvoted.
an off-topic question that should be closed, should be closed.
 
5:54 PM
and everything else should be: downvoted || deleted || closed
 
The problem is that people flag crap questions, or vote to close on-topic questions, etc.
 
That's a really long way of asking people to use common sense...
3
 
The processes as designed, are fine.
 
Fishing
 
The problem is the people who have no idea when to use which process.
That requires education and hand-holding.
 
5:56 PM
so we need to quit giving out fish and start continue teaching people how to fish
 
18 mins ago, by Malachi
@rolfl the question is, do we want people commenting/eventually cross posting or flagging for migration so that mods can ultimately make that call?
17 mins ago, by rolfl
@Malachi Neither
45 secs ago, by Malachi
so we need to quit giving out fish and start continue teaching people how to fish
 
I have never thought of SE even remotely as complicated as it is being made out to be right now...
 
I agree.... I think, but that's so ... odd ;-)
 
/me bangs head against wall
 
Seriosuly, if someone asks a question on Stack Overflow that would be a perfect question for Code Review, then flag it for migration. Anything else, keep it away from here.
By definition, a question perfect for here will be off-topic there... (where there needs to be something to fix).
After that, use the regular SO logic when dealing with SO questions: close off-topics, downvote crap, and for the love of all things holy, do not upvote anything - SO does not do upvotes for some reason ;)
 
6:02 PM
I should go spend 40 upvotes there per day.
Maybe I will cause a "revival."
I'm already out here, unless that latest question gets deleted so I can have my vote back.
 
40 downvotes per day seems more appropriate on Stack Overflow
 
@rolfl I think you're confusing SO with Eric Lippert in the last part...
 
@rolfl You should pin that so all of us can get used to doing that :)
 
So, I mainly upvote the good stuff, and the bad stuff has a lower score.
At SO, they downvote the bad stuff, the good stuff has a 0 score.
 
@Hosch250 Ain't that the truth
 
6:04 PM
The truly great stuff has a positive score (sometimes).
 
Every time I Google for an error and find my answer on SO (which is most of the time), I upvote both the question and the answer
2
 
all my upvotes at SO are the result of a google search which took me to a specific question, rather than simply browsing SO for the hell of it, which is in stark contrast to most other SE sites for me
 
@Malachi - also, for what it's worth, I rarely consider migrating off-topic code review questions to other sites.
for the same reasons I listed above.
 
I could downvote 40 questions an hour just in the iOS tag if I wanted...
 
A question has to be a good SO question asked on CR for it to be migratable to SO
3
 
6:07 PM
@rolfl ?
 
To SO...
 
Will continue from home, if anyone wants to help fix my Django thing ping me
 
Broken CR questions are rarely candidates for SO because they do not clearly define the problem, the symptoms, and the conditions causing it.
 
@nhgrif Ah
 
I need to know how to resolve- where to ask that? I don't know much things about that! — Adrians Netlis 2 mins ago
So, apply the principles in real life.
 
6:11 PM
You might find help at Stack Overflow, but you will have to state what the problem is, and post the minimal amount of code needed to duplicate the problem. — Hosch250 25 secs ago
@Hosch250 - you will get a response in ..... 20 seconds: "But I am question banned on Stack Overflow"... ;-)
 
OK...
 
2 questions, both heavily downvoted.
 
Listening to some quiet, peaceful Strauss, and a loud Ping!
We should be able to pick a personal Ping noise.
 
You can disable the ping, you know that, right?
 
Evryone there just downvoted me. I said so I am begginer so I don't know the problem. I just want someone to fix my code! — Adrians Netlis 14 secs ago
No, I didn't.
Is that what disabling desktop notifications does?
I already have that disabled.
 
6:14 PM
 
Oh, thanks.
 
@Hosch250 - Ding!!!
 
No ping.
Thanks.
 
(I like the desktop notiications, by the way.
 
Anyway, he responded:
Evryone there just downvoted me. I said so I am begginer so I don't know the problem. I just want someone to fix my code! — Adrians Netlis 2 mins ago
 
6:17 PM
I've never tried the desktop notifications, gotta do that
somebody ping me
 
@SimonAndréForsberg Here you go.
@Hosch250 - pinging myself.
 
hmm... not that bad
 
Didn't work, want to ping me?
 
@Hosch250 boo
 
Cool.
Like a Windows Store app notification.
 
6:20 PM
On Mac it looks just like a Mail notification :)
 
Only here, it is in the wrong part of the screen.
It is at the bottom, not the top.
 
desktop notifications are so beautiful, I like them a lot
2
 
0
Q: Rebase array to match scale

Erki M.I have 2 long[24] arrays. Both of the contain values or each hour of a day. One of them has hit count and other queue times. Now queue times in ms are 5 digit numbers, counts are 2 digit numbers. I want to show them in one chart, because queue times are to some degree corresponding with hits, but...

 
I have no clue who downvoted you and why. I'm just suggesting a different way, which would definitely help your application. But in general, for Stack, posting your code and asking "can you optimize this" is not a valid question. I think there is another site on the StackExchange network better suited (maybe codereview)? — Patrice 33 secs ago
 
6:38 PM
@rolfl Just saw this:
29
Q: Impossibly fast delegate in C++11

user1095108This legendary C++ delegate article can be easily converted into C++11, without the need for fancy preprocessor magic in the original. I'd like to know if I got all the necessary C++11 nuances right. Suggestions? #pragma once #ifndef DELEGATE_HPP # define DELEGATE_HPP #include <cassert> #include

This looks like a normal review question, so why was it locked?
 
0
Q: cifying a capturing lambda

user1095108What do you think of this code: #include <utility> namespace { template <typename F, int I, typename L, typename R, typename ...A> F cify(L&& l, R (*)(A...)) { static L const l_(::std::forward<L>(l)); struct S { static R f(A... args) noexcept(noexcept(l_(::std::forward<A>(args)...))...

 
Whoa.
User just kept adding and adding changes?
 
The repeated, and ongoing edits to this question have completely invalidated the existing answers. This question has turned in to a mess of revisions, interleaved history, and is a very poor example of how Code Review questions should be managed. See Can I edit my own question to include revised code? Also, how to handle iterative reviews?rolfl ♦ May 4 '14 at 13:40
 
Instead of asking new/followup questions?
 
6:41 PM
exactly
this wwwas from the time before that wwas much more enforced, as it is today
 
I see.
 
Holy moly! 97 revisions!
 
I didn't read the comments, just the lock notification.
User just asked another question.
 
@RubberDuck I guess the most interesting aspect of it is that only one of them were made by @Jamal
 
They were almost exclusively made by OP over a course of over 2 years...
 
6:44 PM
So what happened to the other moderators who have the Sheriff badge?
Only Jamal has it of the existing mods.
Did they resign?
 
@CaptainObvious Is that a word? What does the code do?
 
@Hosch250 200 and rolfl got appointed in march, I believe.
 
OK, so they almost have it.
 
30
Q: Please welcome your new moderators!

PopsI'm Pops, a Community Manager at Stack Exchange. Though it saddens me to say it, not just one but two of your existing moderators are stepping down for personal reasons. Over the past week and a half, I've been working on finding replacements, and I'm happy to announce that two avid Code Reviewer...

 
You made me think for a moment that we'd have gotten new moderators...
 
6:50 PM
@skiwi I know! @SimonAndréForsberg scared the crap out of me too. =P
 
Anyone need to work towards a reviewing badge?
 
Me? @Hosch250
 
Well, there is something in the First Posts queue.
I can't do it as I'm out of votes.
 
I did it.
 
OK.
I can see what action you took.
 
6:56 PM
I did 83 in total...
 
I did more than twice that.
 
0
Q: Simple Win32 console library (mimicking almighty SFML) -follow-up

MORTALI'm trying to mimic the SFML library to be suitable for text-based games. The library called MSLIB in GitHub, here a link. Here sample of the library implementation. it prints gray square in screen and it can be controlled by arrow keys to move it up, down, right and left. How can I improve it....

 
Sigh... I don't have the time...
And when I do, there are none to do...
 
Just check regularly.
That is all I do.
 
I don't have my computer on all the time...
 
6:58 PM
I shouldn't be on here so often, but everything seems to be working fine for now.
I basically have to, because I'm doing school online.
 
Lucky...
I have to actually "go" to school...
Be back later
 
I'm doing college - it is half the price to do it online than to attend physically.
 
I forget that some flags are actually close reasons.... and that I can access them here
 
See you.
 
can your editor edit binary files? mine can :p
0
Q: How to edit binary files in hexa mode?

janosIs there a way to edit binary files in some kind of hexadecimal mode? For example if I have some binary data shown by xxd or hexdump -C like this: $ hexdump -C a.bin | head -n 5 00000000 cf fa ed fe 07 00 00 01 03 00 00 80 02 00 00 00 |................| 00000010 12 00 00 00 40 05 00 00 85 ...

 
7:00 PM
I can open them.
 
codereview.stackexchange.com might be a better place for this. — Nick 1 min ago
 
I don't know if Notepad displays them write.
s/write/right
 
But, at Code Review, you should post the full version of your code instead of just a small section so we can review it better. — Hosch250 2 mins ago
2
 
@Duga might be a better fit, but tight pants are still tight pants
 
Hey guys.
 
7:19 PM
Hey.
@Vogel612 Someone wanted to edit one of your answers.
I rejected it, but they have a valid point.
 
@RubberDuck sooner or later I will make it to 2k rep over there and then you won't have to approve my edits....lol
 
I'm voting to close this question as off-topic because it belongs to codereview.stackexchange.comSourav Ghosh just now
 
incoming
 
@Malachi I'm about to hit 3k. Close votes =)
 
@RubberDuck that is my ultimate goal for SO, after that I am going to coast I think
 
7:28 PM
That's what I'm up to.
 
I'm surprised that we just got our first question.
 
CGI is not very common anymore.... I have a couple of books on it, though. Perl, of course.
 
1
Q: Verification on returning an array in C

cp177I was wanting some clarification on my code, as I am new to pointers in C. I am trying to return an array from a simple function just so I can understand exactly what it is that I'm doing. Here is the code I have so far and, to me, it seems as if I haven't even used the pointers correctly. #in...

 
Let me rephrase that, CGI is very common, but dealing with it at the low level is not.
 
hey @Pureferret, I was at work earlier
the bounty you put on your question is very tempting, I'll dive into it on Friday I think
 
7:35 PM
I had just realized that we still have on the main site.
 
the incrementer in C has to be declared outside of the for loop declaration, right?
 
^^^ what?
 
0
Q: c# check if table is full or not

Franstatic bool IsFull(int[] t) { int i; bool notFull = false; for(i = 0; i < t.Length -1; i++) { if(t[i] == null) notFull = true; } return notFull; } I want to check if a table is full or not, I know I cant do: t[i] == null Cuz...

0
Q: Python Caesar Cipher Encryption + Decryption

Tech CheckI would really appreciate if someone could help me with the decryption part of this code. BASE = ord('A') msg = input("please enter a message:") shift = BASE - int(input("please enter a number to shift by:")) output = [] for letter in msg: #this time check for spaces using isalpha (spaces are no...

 
int i;
for(i=0;i<size;i++)
 
@Malachi Only for earlier standards, I believe.
 
7:41 PM
it's not given what standard we are using here. the question is mostly about pointers, but figured I would say a couple of things
 
Which we had to use on university, of course.
I'm still curious whether for the upcoming AI assignment I'm allowed to use Java 8
 
@Malachi That is C#, though.
 
@Hosch250 are you messing with me?
that is C, it would work in C# though
 
However if they're using C88/89 and OpenGL 1.1, then I'm starting to doubt if we'll use Java 8...
 
The question is tagged C#.
 
7:43 PM
1
Q: Verification on returning an array in C

cp177I was wanting some clarification on my code, as I am new to pointers in C. I am trying to return an array from a simple function just so I can understand exactly what it is that I'm doing. Here is the code I have so far and, to me, it seems as if I haven't even used the pointers correctly. #in...

 
different questions...
 
Oh.
 
but the has the same problem.
 
I was confused.
 
lol
2
 
7:44 PM
No, that is definitely C.
2 first posts, if someone needs to work towards a badge.
And that is the trouble of having a backlog of votes to give.
I will start doing fewer early on, and fewer a day until I catch up.
 
First and only: DO NOT FEED THE TROLLS. — Mazura yesterday
 
MS released Office in the Windows Store for those with Win 10.
 
@rolfl @Donald.McLean WWE ARE BEING WWWATCHED!
 
Limited version, but maybe they will expand it with feedback, like they did with OneNote.
@SimonAndréForsberg Huh? Someone is watching us now?
 
how can you still code with that keyboard @Simon
 
7:52 PM
The w key decided to be modern, mad, and unpredictable.
It is now a ww key or a www key.
 
You should see him typing web URLs.... wwwwwwwww.google.com
 
The one time it is useful is when you need to type www.webpage
Just wait till the backspace key goes bad.
 
There's always ^h for that
 
Huh?
 
@rolfl actually, I did wwrite wwww.stackexchange.com earlier today. Turns out there is no such site
 
7:54 PM
I could have told you that without trying.
 
@Hosch250 Person of Interest fans knowws what I am talking about
 
OK, I see.
 
@janos good question.
 
Hello, late checkmark!
 
We should start a GoFundMe to get @SimonAndréForsberg a new keyboard
 
7:56 PM
@Phrancis this freaking thing is new.
 
Return it then.
 
0
Q: Optimising single-delimiter string tokenisation

PidgeyBAWKIn C, I am trying to optimise my tokenizing of tab delimited strings (see code below). static void split_line(string &line, input_record &rec) { int col = 0; char *row = &line[0]; char *token = strtok(row, "\t"); while (token) { switch(++col): { ca...

 
@janos Thanks
@janos did you like my picture?
:p
 
@CaptainObvious @Hosch250 they cross posted, but the question is different
 
it's a beauty @Pureferret ;-)
2
 
8:00 PM
What is that?
 
@Hosch250 Win 10 is out?
 
The preview is.
It is apparently very stable, but I can't risk it with school in, and I don't have experience with VM's, so I don't have it in.
I'll put it in this summer in a VM.
Be back later, time to take my puppy out to play.
 
Why don't we have blog post feeds in here.... hmmmmwww
 
@Legato A poor attempt at UML-ing my schema
 
@Pureferret Have you heard of LucidCharts? ;p
 
8:11 PM
@Phrancis Yes....
This one lets you input the uml as text and generates the pictures for you
like:
[A]->[b]
[b]->[C]
 
This probably should be on code review. — Spencer Wieczorek 1 min ago
@SpencerWieczorek No, it should not. Example code is off-topic on Code Review. — Simon André Forsberg 1 min ago
@SpencerWieczorek - This is example code, and as such, would not be appropriate on Code Review. — rolfl 1 min ago
 
@Duga Interesting
 
8:27 PM
2
Q: Notepad5, a simple html5, javascript notepad webapp

udbI made a simple notepad webapp, called Notepad51. You can use it to make notes while browsing the web and don't want to open up a separate application or extension to put the notes down and don't want to store them on an external server. (more) Please review the code: /*! * Notepad5 v1.04 * h...

 
@Pureferret what's interesting?
 
@SimonAndréForsberg That it picks them all up
 
@Pureferret could easily be filtered further, of course.
 
@SimonAndréForsberg I think having the full discourse is useful
2
 
I like it too. It is nice to see CR folks responding to the comments.
Besides, it gives us something to star (as if we needed that)
4
^^ I knew that would be starred
4
 
@Hosch250 they were correct with that edit...
Thanks for notifying me :)
 
@SimonAndréForsberg LOL
 
@SimonAndréForsberg Why on earth are you watching wrestling?
2
 
@rolfl Maybe @Duga can post them
 
8:56 PM
0
Q: Return most recent non null field values for multiple unknown fields

aaronmallenI am attempting to create a stored procedure that looks at one table and imports changes in that table to another. This stored procedure is going to be preformed on multiple source tables and will dump out into multiple log tables. The way the data in the log table is stored looks like this: I...

 

« first day (641 days earlier)      last day (3374 days later) »