« first day (746 days earlier)      last day (3568 days later) » 

17:00
@CommitStrip That's a bold face lie.
Is @CommitStrip a bot?
Yes
Well, a feed, to be exact
Like Captain Obvious, right?
Yup
@Duga is an actual bot, but all others are just feeds AFAIK
17:18
While I think this is fine here - technically speaking if this is "finished code" that you want help improving it belongs on Code Review. I don't actually post over there and I don't know if any SAS users do - so I tend to be fine with them here - just noting. — Joe 21 secs ago
17:30
Quiet in here again.
Shhhh
NOISE
top - 12:31:32 up 34 min,  0 users,  load average: 1.80, 1.26, 1.10
Tasks: 156 total,   2 running, 150 sleeping,   0 stopped,   4 zombie
%Cpu(s): 15.7 us,  8.1 sy,  0.0 ni, 74.8 id,  0.5 wa,  0.0 hi,  0.8 si,  0.0 st
KiB Mem:   2049116 total,  1035272 used,  1013844 free,    18568 buffers
KiB Swap:  2001088 total,        0 used,  2001088 free.   378868 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
  880 wpa       20   0    4816   2456   2036 S   0.0  0.1   0:00.11 wpa_supplicant
How bout' that for noise. ^^
top - 13:33:36 up 59 days,  2:58,  2 users,  load average: 0.04, 0.31, 0.49
Tasks: 622 total,   3 running, 619 sleeping,   0 stopped,   0 zombie
up 34 minutes vs. up 59 days .... ;-)
Oh, you should see my home laptop. When I open task manager it read this for uptime: 234:21:21:54. Last time I checked of course. That was 3 weeks ago.
I think I just destroyed CodingGround...
"Whoops"
I love it when stuff randomly breaks
17:39
Oh, I meant "Whoops", not Whoops.
Apparently their Bash emulator has no protection against the command rm -rf / --no-preserve-root. I think that they had it coming for them.
7
Of course, it's just an emulation, but, they should still be careful.
@EthanBierlein I've done that on a real server... No wait, all I did was sudo chmod -R 777 /
Was it fun?
Seriously, you can try it out. Just go here and type in rm -rf / --no-preserve-root. It'll give an error message, but after doing that, try to execute other commands. It doesn't work.
I may or may not be going around on random online Bash/Linux Shell emulators and seeing if they have protection against malicious commands.
BYE
18:16
@EthanBierlein What do you expect to happen instead? Some witty insulting reply?
You haven't really deleted anything; clearing your cookies will restore the original state.
What would be more interesting is a fork bomb.
@CommitStrip lol I wish!
This could be a better place for the question: codereview.stackexchange.comrkhb 22 secs ago
1
Q: BotClean challenge

MhmdI'm going through the artificial intelligence domain at HackerRank. I'm very new to this domain and I really need a guide on how should I minimize the number of if/else statements in my code. Problem Statement The goal of Artificial Intelligence is to create a rational agent (Artificial In...

According to the OP the code does not behave as intended. This would therefore be off-topic for Code Review. — Phrancis 18 secs ago
Does anyone here know why the C++ standard includes integer promotion?
18:36
Is it strange to get awesome ideas on how to program on bathroom breaks?
Hah, casual
You take bathroom breaks
0
Q: Is it okay to use multiple instances of a class

Azi BalochI am developing a library to easily register wordpress custom post types and taxonomies. but the problem is i can't use one instance of object because of adding the object in wordpress hooks. so what i have done as solution to re instantiate the class every time when you want to register a cust...

If it works as intended, post it at codereview.stackexchange.com for suggestions on how to improve it. — R Sahu 6 secs ago
anyone have any good forms for: Project Time Estimate Requests?
@Lyle'sMug You need forms for that? I have a dartboard.
2
18:41
@Mast I would like to be able to keep track of Additional requests for adding functionality
Alright, I think I will move it to code review. — Adelost 24 secs ago
like I want to know what they asked me initially, then what I told them that would take.
then what they asked me to add, and what I told them that would add to the timeline
Finally! What I've been making works
2
you see where I am going with this @Mast
otherwise, yes I use the dartboard method to tell them what I think it will take to get the job done...lol JK
@200_success Yes, something along the lines of that is what I expect.
18:45
@Lyle'sMug Can't help you with those I'm afraid
I think I will just make my own and then use Version control on them and continue to add things to each form
or take things away
@Lyle'sMug Excel is pretty good usually, just add a page with version notes.
0
Q: Safe to use templates to initialize (or add elements) from any iterable?

AdelostI want to be able to initialize and add elements to a custom container from other common containers Instead of handling each container separably, a really simple solution would be to create a template method that grabs the iterator from any container passed as argument. Like this: /// Constru...

@Mast I want to have them fill out a form with their requirements, so I am going to print one off or send it to them in fillable PDF or word format
they keep asking me verbally what I think it will take to create such and such site with such and such functionality, and I would like to keep track of when they add functions to the project.
something the project manager should be doing probably....
0
Q: Google Foobar Challenge: Save Beta Rabbit in Python

AndrewGoing through the google foobar challenges. Currently on the first challenge of level three. I've come up with a working solution, however, it's not an acceptable solution because it runs out of time. How can I optimize it? Problem Statement Oh no! The mad Professor Boolean has trapped Beta Rab...

19:09
This feels like a Code Review question. — Adam Houldsworth 40 secs ago
@AdamHouldsworth, this is not a Code Review question. not even close. — Malachi 40 secs ago
Who is that Malachi guy?
@Phrancis a troublemaker
Finally on SciFi
> You've earned the "Civic Duty" badge (Vote 300 or more times).
19:32
Any SEDE expert here? I'm wondering is there a way to get the amount of questions for each tag separately. Without using the field 'count' of tags.
Since there doesn't seem to exist a foreign key relation between tags and questions :/
I will look in an hour-ish
0
Q: What is a good regex to match any 0,X slice of a string?

Tristan BergerI want a regex that matches any 0,X slice of a given string - so for the string "test", it matches "", "t", "te", "tes", and "test". I have a few solutions, both so inelegant that I've taken to programmatically generating them - not ideal. Solution 1: (?:t(?:e(?:st?)?)?)? Solution 2: (?:|t...

@malachi fair enough, I was making the assumption that code would be provided to review. With code it could be a code review question quite easily. — Adam Houldsworth 42 secs ago
0
Q: Time Limit Being Exceeded ,Isomorphic Strings

Rohit KatyalTwo strings are isomorphic if the characters in s can be replaced to get t. Can efficiency be increased further for the below code . As am getting errors that limit is being exceeded for very large strings. static boolean isIsomorphic(String s, String t) { s= s.toLowerCase(); t = t.toLowerCase(...

19:44
Hey @Vogel612 I'm on my phone but... Our meta has a Q&A specifically dealing with regex that would be worth linking to this guy.
11
Q: Are we allowed to ask questions about just regular expressions?

Ethan BierleinAre we allowed to ask questions just about regular expressions?

@nhgrif This one?
I know it's mine, but still.
Yeah
Hey peeps.
How does this sound for a comment:
"Please see this post on meta regarding asking questions about regular expressions."
Sure. Or just:
19:50
My day started off with an insect flying into my mouth. How did you do today?
5
Sorry for interupting your text, @nhgrif :P
K, just commented.
20:02
@nhgrif I am on my phone now, too and I was not aware.
Thanks for the heads up ;)
I'm voting to close this question as off-topic because this question not about programming as defined in the help center. It might be on topic at Code Review. — JasonMArcher 23 secs ago
20:27
-1
Q: Bolded Text in MonthClendar

Vito KarleoneI have a simple calendar program. Dates and notes are saved in database(first cell is Date and second is Note). All noted days have bolded font in calendar. But When I run program again all days have no-bolded font, no matter was it noted or not. How can I fix this ? I tried to make something li...

This question might be better suited for the code review stack exchange since the nature of your question is to seek improvement rather than help with a problem. — Wai Ha Lee 57 secs ago
Oh my, I didn't even know code review was a thing. Can I move my post there or can someone move it for me? — dimlee 29 secs ago
20:40
@DJanssens looking around now
hero!
All I can think of atm is to do it manually, extract all tags from the tags table and then do a regex search in each question tags for the presence of that tag.
What exactly do you want?
A count of how many times each tag is used?
0
Q: C#- Sales Tax Problem, rejected for not being up to their standards

PamperedI applied for a Junior .NET Developer Position recently, and I was asked to solve a problem ( Sales Tax Program) and I was rejected for some reason. The question goes like this.. Basic Sales tax is applicable at a rate of 10% on all goods, except food, medicines and books..For all imported goods...

thats the basic version, I need to be able to adapt it further that I can count for example the amount of questions for each tag, where the question title contains the word 'test'.
this is a abstract example
the best would be if a join on Questions and Tags existed, but that doesn't seem to be the case
Hang on... something strange is going on here...
20:47
:/
Okay, the Count column from the Tags table is actually what you're looking for.
But you can join Tags to Posts as such:
I know about the count table. But I need to be able to give extra constraint to the question part :)
FROM Posts P
  INNER JOIN PostTags PT ON PT.PostID = P.Id
  INNER JOIN Tags T ON T.Id = PT.TagId
0
Q: Gridview cookies - how to make it look more elegant?

user26423On my web forms page, I have this huge GridView. I make it refresh every five minutes since the data has to be up to date. It has sort options, so upon every refresh, I use cookies through every refresh to remember the search and sort options. In the Page_Load function, this is how I do it. ...

20:56
I never heard of tagid before :/
the problem is that a post keeps the tags in a string format iirc <tag1>,<tag2>,<tag3>
Yes, but there's also the PostTags table
Which is how the database actually links posts to tags.
aha, that would make sense, I couldn't imagine it had to parse the stretch for each search
PostTags has two columns: PostId and TagId. It links the Posts table to the Tags table. It's a many-to-many relationship.
crap, I can't download the PostTags table from archive.org, it seems they did not release that one <,< archive.org/details/stackexchange
21:03
0
Q: Push sent only to one person

armanb21I am running a piece of cloud code: Parse.Cloud.afterSave("CustomMessage", function(request, response) { // Notify var query = new Parse.Query(Parse.Installation); query.equalTo('user', request.object.get('toUser')); Parse.Push.send({ 'where': query, 'dat...

0
Q: Factory for arbitrarily high-order operations

CaridorcGrade 0: ++ This is so low that it is boring; the operation of grade 0 is incrementing or counting up, for example: 5++ -> 6 8++ -> 9 Grade 1: + Addition is repeated incrementing: 4 + 3 -> 4++ ++ ++ -> 7 2 + 2 -> 2++ ++ -> 4 Grade 2: * Multiplication is repeated addition: 3 * 4 -> 3 + 3...

Oh well ,then I have to manually create the PostTags table, that might work
thanks for showing me the presence of that table @nhgrif
@maerics Code Review is for code which is already working as intended. This code doesn't appear to pass this test. — nhgrif 31 secs ago
21:20
Ok. Is this guy trolling, or does he seriously just not get it?
who guy?
Comments reflect the opinion of an individual. So this is not the right place to explain the closure reason. Moreover, a closure reason is irrelevant anyway since it was not closed at all. It was put on hold. It is good that you admit the mistake but the wrong reason is still mentioned on the page of my question. Could you please correct that. Question should be put on hold for a good reason or just not be put on hold at all. — Daan 12 mins ago
1. Close votes also reflect the opinions of individuals. In this case, those comments were posted by the same individuals who voted to put your question on hold. 2. Even if I could unilaterally change the close reason (I can't. It would take 5 votes to reopen and another 5 to reclose), I would not reopen a question just to close it with the "correct" reason. Feel free to flag it for moderator attention, but I have a feeling it will be declined. Who knows though, I could be wrong about that. 3. Your question was closed for a very good reason that you simply refuse to accept. — RubberDuck 3 mins ago
> Sets off exploding bear trap.
I'm actually pretty sick of this guy.
And I'm actually still a bit disappointed with how rolfl has treated him and treated our response to him.
What's his point, even?
That's where I'm lost.
He just wants to tell everyone they're wrong?
rolfl deleted my comment asking him what he'd like to see.
And right now I'm trying to think of a good way to word a custom close reason for this meta question.
Because I really think that the sole aim for this guy is to tell everyone they're wrong.
He doesn't want to discuss whether or not his specific question is on-topic.
He's used absolutely completely moronic arguments in the comments to my answer explaining that what he's asking for (additional evidence) is completely unnecessary. I don't even understand his line of reasoning...
He doesn't seem interested in the current and correct course of action when there is a dispute on whether or not a question is on-topic.
I don't see the point of the question other than to troll, at the point.
0
Q: if... for... if.. else... if... is that a break?

BraiamI have a very problematic nested if/else/for that I'm sure it could use some love. Here's how it looks originally: function addBookmark(obj) { var isFound = false; var posFound; if (bookmarks.length > 0) { for (var j = 0; j < bookmarks.length; j++) { if (obj.mirro...

And I'm not interested in seeing this come to chat
Because it's not going to be a quick discussion.
21:27
No. I actually feel bad about venting here.
It'll be rolfl and Daan talking for like 2 hours about it, and rolfl will kick anyone who makes any sort of comment.
I have family stuff to do.
Done with it. See ya later guy.
I just cast a close vote for unclear.
1
A: Should there be evidence for a provided reason when a question is put on hold?

Heslacher Questions seeking an explanation of someone else's code are also off-topic. This part of the shown close reason has a link on "someone else's code" which leads to this meta answer: http://meta.codereview.stackexchange.com/a/3654/29371 which clearly states how this is meant For mor...

I've voted to close this question as unclear. At this point, based on the asker's comments the question seems more like a rant or a troll. This question could be improved if the asker either added an example of what "evidence" might look like or if an explanation of what they'd like to see in response to a potentially inaccurate on-hold reason being used. — nhgrif 8 secs ago
Be sure that your topic is not a duplicate and try to narrow down the area within your code that might be specific to the error. Stack is about asking very specific questions, not necessarily for general code review. I'm sure you have a good question buried in there, just dig it out! It's like a block of marble that just needs a little more removed... — Shrout1 35 secs ago
21:42
0
A: Fetching Background Data in iOS View Controller

nhgrifYou've posted a lot of code, so I'm going to give a general overview of some common mistakes I see people making (and are also happening here). You are using lots of magic numbers and magic strings. Let's instead create constants somewhere for all of these. You're using NSLog statements withou...

21:57
By the way, this may be more suitable for codereview.stackexchange.comsmci 5 secs ago
@smci Code Review is explicitly for code which works as intended--this code does not work as intended. — nhgrif 15 secs ago
That guy who is trying to do iOS stuff and "working for free" showed back up today, after not coming in yesterday.
He's writing in Swift. I suppose I'll later investigate if he's simply working through the Stanford tutorial or actually writing a calculator app on his own.
Hi, @SteveHemond
@SteveHémond Are you in Daft Punk?
Hello, @inyoot
22:16
At 30.2k, you should know that "simply does not work" is simply not an acceptable description of your problem. — nhgrif 1 min ago
2
Oh thanks @nhgrif. The OP can and still should read CodeReview to learn from it. — smci 25 secs ago
@nhgrif WOW
This code is in desperate need of some Code Review lovin' as soon as you get it in working shape. — nhgrif 55 secs ago
0
Q: Refactoring a method that sets new lines and adds them to a list to be drawn

Kala JI have a method that basically passes in a known drawn line segment in my view and then draws parallel lines n distances away from the passed in original line. This one in particular draws two parallel lines on either side. I am wondering, it seems to be a lot of repeat code here, how can I ref...

"WOW" as in my comment is bad? Or "WOW" as in you agree with me that someone has hacked this guy's account?
Apparently, TIMEX started doing iOS development approximately the beginning of April.
22:26
Yo!
hey @EthanBierlein
Hello @bazola
I love how everyone just got really quiet.
(Not really, it's kinda boring.)
@nhgrif 1381 questions, 56 answers.
oh... wow
@SirPython hi... I'm new here.... thank...
22:33
@nhgrif The latter. :-)
Nah, just someone who was there at the start and gets rep from a shitload of questions that gathered easy upvotes for years
0
Q: Why are beta sites limited to just three standard off-topic reasons?

200_successGraduated sites may have up to five standard off-topic reasons. Why are beta sites are limited to three? Is it because "you ain't going to need it"? That is demonstrably false for Code Review — we have struggled to collapse our off-topic reasons into three categories. And that is confusing fo...

@200_success That should most definitely change. ^^
@200_success Because beta sites are stored in another table than the graduated sites, that has the columns close_reason_1, close_reason_2 and close_reason_3 ?
No, it doesn't work that way, as evidenced by the Data Explorer schema. Also, we can edit the reasons, and it keeps track of the old values just fine.
22:44
You didn't think I was serious, did you?
If they had such a database schema, they'd seriously need a code review...
3
22:57
0
Q: Python text based fantasy RPG error

user74064I'm making a textual RPG, and I'm running into a problem. So in the code below, mobHP is a global variable, which is equal to 20000. This is only a part of the code. So what's happening is that once the attack takes place, the new HP of the monster is shown, but then by the second attack, the HP ...

Hello.
Hello user. The programs welcome you.
Hello, @MannyMeng
Hi.
@EthanBierlein Huh?
23:12
Idk, that just popped into my head. Besides, we all know that the top SO users are bots anyways...
Hey there
2
A: Swift equivalent of #define to retrieve list of variable arguments

nhgrifWell, my original answer absolutely overcomplicates things... We do need to take a String for the format, and a CVarArgType... for the list of arguments (which as treated as a [CVarArgType] within the function). I complicated it by trying to use Objective-C's NSString. If we stick with Swift's...

-4
Q: Why I cant vote to close this question to codereview

Jordi CastillaI wanted to flag How can I improve my code? - A program that displays students details as offtopic > migrate because i guess it belongs to codereview, but I cant because is not in the list... why? I should make another action or what?

Well, it does not belong on codereview. — Deduplicator 15 mins ago
Hello.Ready not to get banned.
@rolfl @200_success on this one what is the next step? I think both solutions are perfectly viable, personally
Hey @RefathBari
Hey @Phrancis
Just stay on-topic and you'll be fine :)
23:20
Ho,alright.
Then maybe remove the word "explanation" from the second close reason? It could be replaced with "review" — Ben Aaronson 10 hours ago
@nhgrif I'm not sure that hits the problem at its core, though it's not a bad idea IMO
@GrimaWormtongue At least he didn't leave the OP a comment yet. Phew.
I think the easiest way to stay on-topic is to stay silent.Heh.Heh heh.
@RefathBari We goof around a lot here, everyone likes to have fun
23:23
@Phrancis heh,alright!
Have you guys heard about the treehouse show?
Just remember though, when there is an active code-related conversation going on, best to let it happen, unless you have direct input related to it
Alright,@Phrancis thanks for the advice.
Heh hEH.Edited.
Oh,that was accidental
"edit" is your friend
Well,that was fine.
I have actually shown an async implementation of this code in your other question. — Matt Cole 59 secs ago
23:28
@Duga False positive
PLEASE MIND THE LAST 4 LETTERS
LOL,I dont know if the creator intentionally created an esolang language with such a name.
esotoric*
is OK here :)
Whoa,phew
But yes, it is intentionally esoteric.
LOL,I dont know how someone can program in such a language.Perhaps it's possible-yet I still divert from it.
23:31
Those who do, do it for challenge, not because it's practical
"designed to challenge and amuse programmers"
36
Q: FizzBuzz in Brainfuck

Simon André ForsbergInspired a bit by a previous Brainfuck question and the recent fizzbuzz invasion, I decided to make FizzBuzz in Brainfuck. The code is entirely my own, except for the inclusion of the Printing a number algorithm that I found on StackOverflow. My code is divided into several parts. Setup Const...

Please use the edit function.
@nhgrif Done.
0
Q: Check if a String is a valid Double

CarcigenicateFor a class, I need to ask the user for a double. To verify that the number can be safely passed to Double.parseDouble, I wrote the following function. I'd like to have it heavily scrutinized; including the comments. Are my comments helpful? They're more directed towards the marker than a maint...

23:52
How was @RefathBari able to chat with only 1 reputation point?
Maybe he has more on another site?
^ that
Actually, he has 17 on SO, and only 1's on other sites.
Was he/she given special permission by someone?
cough, [hax], cough
23:59
RELOAD!

« first day (746 days earlier)      last day (3568 days later) »