« first day (724 days earlier)      last day (3279 days later) » 

12:00 AM
There are 1322 unanswered questions
 
Just wanted to stop by an say LEET-REVIEW
 
Early, Duga
 
Ohhhh. St. Patricks Day theme?
 
@rolfl No, not really, but if you enlarge the image you will notice other differences as well.
 
12:01 AM
@Duga It keeps going up! groan
 
I s33 th3m, n3at.
The number of questions is concerning..... :(
 
Lol.
 
@Ethan - your gif in your profile is ..... unusual.
 
At least they are 100% answered!
And I keep killing zombies, too.
I just got a C zombie today.
I got an HTML zombie the other day.
 
@Ethan - there is a meta post that I am not going to show you..... ;-) - because you may want to add your input there....!
 
12:03 AM
It seems pretty steady to me.
@SirPython where'd your question go?
 
@RubberDuck I removed since it was already answered in the post you linked.
 
Duplicates are OK on many things.
Different search terms, etc.
 
Hmm, I don't think you should have deleted it.
 
Oh. Okay. Just checking.
 
Whether it's not a duplicate or it is, it's better as undeleted.
 
12:05 AM
Yes. Agreed, because it is a different question.
The other post just happened to have the answer.
 
And someone will probably ask that question again in the future.
 
Should I click "That solved my problem" in the duplication box above my post?
 
with the exact same title.
I don't know what that does.
 
Is that new??
 
I'll take a screenshot
 
12:07 AM
I've never seen it, so thanks. =)
 
Well that's nifty. Never saw that before.
I bet clicking it marks it a dupe. Not sure, but...
 
Should I click it and find out?
 
sure.
 
Why not?! Let's find out what the button does.
2
 
12:10 AM
@RubberDuck That is me all the way through.
I scare my family because I click buttons indiscriminately on computers just to see what happens.
4
Nothing interesting has happened yet.
 
286
Q: New UI encourages askers to confirm or dispute duplicate votes

Shog9As of the 9th of March, the banner shown to askers whose questions have attracted at least one duplicate close vote has a couple of new options: If the author clicks the first button, they're shown a confirmation that clarifies the results of this action somewhat: If they click "Ok", the qu...

 
I see - when you click on it, it asks you to confirm something about the post becoming a duplicate and redirecting users to the question it duplicated.
 
If I was writing a blog about Macs, I'd probably run the command to clear the disk just to see what happened so I could write a post about recovering from it.
 
Would it be best that I clicked that button?
 
@Hosch250 The same statement could apply to cancer
 
12:15 AM
@Quill Really?
Probably good thing I'm not a doctor ;)
 
@Hosch250 If I was writing a blog about 'cancer', I'd probably 'give myself cancer', just to see what happened so I could write a post about recovering from it
 
If there are no answers, then I would think not clicking that button would be pretty obvious, @joe — Shog9 ♦ Mar 10 at 20:34
@Hosch250 If you were learning Swift, I'd think about giving you the code that, if put in your playground, would wipe your entire system...
 
@nhgrif No big deal, I need to do a reset in a couple weeks anyway.
I have all sorts of crap in my computer from college courses.
All of it actually is interesting, but I like not having it too.
 
I think the button should say "Sorry. I promise to search before asking my next question." (Only half-serious: I wish we could teach users that they'll get an answer sooner if they search rather than waiting for us to point out the duplicate.) — Jeffrey Bosboom Mar 11 at 1:14
@Hosch250 Not having what? Cancer?
 
No, Sketchup and the rest of it.
 
12:20 AM
@nhgrif I am sorry. I did search before I asked, but I guess I didn't well enough.
 
@SirPython I've found that you should go through the links on the side after your write your post too.
 
You have ketchup in your USB ports? Are your USB sticks actually fries?
 
They change as you write your post, and I've had things come up after I've written the post that weren't there before.
No, haven't you heard of Sketchup?
It is a drawing sort of app.
Seems the U has been working on it for a while: docs.google.com/document/d/…
 
I'm voting to close this question as off-topic because it is asking for Code Review. You might be able to try codereview.stackexchange.com, but check their submission guidelines first. — IMSoP 50 secs ago
 
Don't be sorry @SirPython. It happens. Now there will be another search hit and a clear sign post.
Push the big red button man
=)
 
12:32 AM
I already did.
 
1
Q: Pickling cars with simple management system in Python

user2018675This is my first Python program (before that I've been just poking around with the interpreter itself). I took this opportunity to do some user input and play around with pickle. I tried to made a system that reads input from the user (a car's name, year of launch and price), and then gives the ...

 
You guys were so fast to close it did not even make it to the review queue?
When you all have a moment, you should scan the stats in meta related to users, and reviews... it's a poor sign of activity .... :|
 
Which stats @rolfl?
Okay... So, I think I have a meta brewing in my head here.
 
Does that only show stuff done through the review queue though?
 
12:43 AM
16 people this quarter have voted 10 or more times...
 
What's the ethics behind undeleting an OP deleted answer? It's a very good and useful answer (if the wrong part of it is edited out), but that whole situation got heated pretty quick...
 
Or, this: meta.codereview.stackexchange.com/users?tab=editors 23 people in total, have edited posts on meta.
 
Are you posting a meta?
 
Yeah. Meta's been slow.
 
I am not sure it is a bad thing for meta to be slow.... but it is interesting.
 
12:45 AM
Yeah. I think I am... because I legitimately don't know.
 
lots of possible conclusions could be drawn.
@RubberDuck Sounds like a good candidate for
 
I can post an answer... but I'm about to go upstairs, lay in bed, watch some videos.
Word-to-the-wise, never give a 7 week notice.
3
 
0
Q: largest palindrome in a string

davidI am working on a question in which I need to find a largest palindrome given a string. Below is my code: public class LargestPalindrome { public static void main(String[] args) { System.out.println("Longest Palindrome 1: " +findLongestPalindrome("xyzracecar")); System.out.println("L...

 
Should I wait for your post?
 
12:49 AM
@nhgrif Agreed
 
You're right that I should be in bed, but I'm not the one making up the rules of this site. It's designed for discrete questions and answers, which will hopefully help other people in the future. Answering a question asked as a comment under a request for code review simply doesn't fit that format. Best of luck with your exercise. :) — IMSoP 44 secs ago
 
I thought I'd be helpful and actually put some effort into getting stuff written down as documentation and give them a really big window to get someone in (potentially even help train). This, compared to the 2 week notice my boss gave 2.5 months ago.
 
@nhgrif I'm working on it, but I'm in no hurry for an answer.
 
I have an answer, I think, depending on the question specifics.
going to bed
 
0
Q: Should we un-delete useful answers that were deleted by OP?

RubberDuckThis meta is prompted by a specific Q & A, but I'm curious how the community feels about un-deleting useful answers that OP themselves deleted for whatever reason. I think it will be easiest to explain the exact situation that prompts me to write this and then ask for general guidance on this and...

Good night @nhgrif. When you have time buddy. I need to get back to the code.
 
1:06 AM
Trusted users can see deleted answers?
 
Yeah, actually, 2K rep can
@RubberDuck - that answer, to use the Australian term..... Crikey!
 
Wouldn't that be a question better for meta.stackexchange in general?
 
@rolfl Yeah, see why I'm conflicted?
 
Yeah, also, I am not convinced your assessment of his answer is accurate.
 
Maybe, but every site has a slightly different culture and there's no answer here.
 
1:08 AM
I think you may find, that, when you read his answer differently, and your responses/comments, you may actually find he was right all along...and you were not so much
 
@rolfl He found the bug though. That makes it pretty damn useful in my eyes.
 
No, that's not what I am saying.
 
Buddy, I've tested the code, stepped through it, it wasn't being tokenized the way he said it was.
And maybe he was right, could be a difference in the .net implementation.
 
What I am saying, is that, when he says: W.r.t. the white spaces, these do not cause tokens to be glued together. The input 1+1 2-2 3*3 produces 9 tokens, not 7 ... that he's right
Anyway, the point is, that, in essence, you went as far as to do the equivalent of saying: "Yo, Jon Skeet, you no nothing about this C# thing" , or "Yo, Linus, this Linux thing is beyond you" .... ;-)
 
And I understand that. I do, but I know what the code was doing right here in my runtime.
 
1:12 AM
1
Q: Should we un-delete useful answers that were deleted by OP?

RubberDuckThis meta is prompted by a specific Q & A, but I'm curious how the community feels about un-deleting useful answers that OP themselves deleted for whatever reason. I think it will be easiest to explain the exact situation that prompts me to write this and then ask for general guidance on this and...

 
Saw it with mine own two eyes I did.
 
Right, well, I am going to reach out to him directly, would that make you uncomfortable?
I'll put a comment on his answer saying: "This is being discussed in meta: ...<link>"
 
I'm fine with that. I just don't want to argue about it.
 
OK, fair
 
But I also don't want to see a really useful answer be hidden from the world either...
Maybe I care too damn much.
 
1:15 AM
OK, can you do me a favour though, for both of us?
 
Sure.
 
can you run your code through with a debug in the token listener and print each time it is called?
And the exact values it comes through with?
I am interested to see.
Make it a separate, on-the-side thing.
 
Yeah. Give me a few minutes. I need to figure it out a bit. The code Bart posted for printing didn't work.
 
I suspect his code was probably rushed, but his idea is sound
 
It is, and I think he was right about how it's lexed, but something is concating those two tokens together.
 
1:32 AM
I should write a query to find if an answer is eligible for necromancer time-wise.
I have 2 at least.
And, I just realized I only have 3 C answers, and I scored 14.
 
@Hosch250 I know someone who wrote such a query
 
I bet you did.
But I can't learn SQL by running other people's queries...
I should post that in the SQL room and persuade someone to pin it.
Also, I can't get school done by chatting here...
 
0
Q: maximum sum subarray efficiency -- divide and conquer w/ vectors

Ian TaylorI have successfully implemented a divide and conquer approach for find the maximum sum subarray (see code below). The code works fine and is correct, however I have an efficiency problem in that in order to recursively calculate sub-vectors, I need to do a copying operation which ordinarily would...

 
monking!
I ended up blogging about it: retailcoder.wordpress.com/2015/04/28/…
(hint: some of it is bounty material)
 
@RubberDuck @rolfl ^
 
^^ I saw that. Sad story.. the guy has 88K on SO, and is an gold badger...
 
1
Q: Offering bounty on own question and accepting own answer?

h.j.k.My question: Yet Another Java GUI Calculator I'm thinking of offering a bounty to see if I can attract any answers for my "specific feedback", and unless there are any dark horse answers during the 7-day bounty period, I will be very inclined to accept my own answer, or at the very least, bounty...

 
I have competition for voting this week.
If I rep cap, I'll pass a couple users.
 
I'm just pleased I have a spot on the top row.
 
If I go at my average of 50-80 points a day when I'm regularly posting, it'll take 4 days.
 
1:49 AM
I need more time for CR... and RD...
 
@mjolka yikes!
 
@Mat'sMug yeah it's a lot of fun looking through the corefx issues
 
Is there a meta post about when you should add another answer?
I treat the meta part of the site more like a forum, and rep has nothing to do with anything, but I feel like a point I made is important enough that I'd want it to stand on its own, while I also find it important to expand on others.
 
2:22 AM
0
Q: Plotting a trigonometric function is too slow?

Vu Ngo ThanhI have this code do calculate the velocity and accelerator of one element. If, I calculate with 1 value of w is very fast. %**setting the equation to calculate** syms m w k e mi c w t L z ; a = (((m * w ^ 2 - k) ^ 2 + (c * w) ^ 2) / (e * mi) ^ 2) ^ (1 / 8); B = 1 / 4 * atan(-c * w / (m * w ...

 
2:47 AM
0
Q: survivor programming challenge

user1950349I am working on a survivor problem as shown below: Here is the source Complete Question Text: Take a second to imagine that you are in a room with 100 chairs arranged in a circle. These chairs are numbered sequentially from One to One Hundred. At some point in time, the person in cha...

 
3:02 AM
Be precise on your problem. If you want someone to review your code, StackOverflow is not the appropriate place. Consider going to codereview.stackexchange.comAdrian Shum 36 secs ago
Hi, Juan. Welcome to Stack Overflow. Questions of the form "My code works, but it could be better" get wonderful answers at our sister site, codereview.stackexchange.com. You might want to ask your question over there. — Robᵩ 33 secs ago
Hi, Juan. Welcome to Stack Overflow. Questions of the form "My code works, but it could be better" get wonderful answers at our sister site, codereview.stackexchange.com. You might want to ask your question over there. I'm voting to close this question as off-topic because it will get better answers at codereview.stackexchange.com. — Robᵩ 44 secs ago
 
3:19 AM
0
Q: Java Tic Tac Toe

BrettI need help revising my Tic Tac Toe Java BlueJ java Code, most of the things are working correctly except trying to get the checkwinner function to determine how and if player 1 or player 2 wins that parts seems to work fine except it can not determine if there is a tie or not. Are my values inco...

0
Q: DOM Traverser in Javascript

user1575106I'm writing a function in javascript which, when given an element, can look for the previous or next node, assuming a depth-first order traversal. If the next element is out of bounds, it should return null. I could of course use document.querySelectorAll('*'), find the index of the element, and...

 
0
Q: When is it appropriate to post another answer?

LegatoI was wondering and I don't think there's any specific guideline concerning this. The specific instance I have in mind is concerning a meta answer here: Should we un-delete useful answers that were deleted by OP? It's not something I've ever done before, so I was wondering-- I also don't partic...

 
3:41 AM
0
Q: Switch questions using javascript and css

FelixI am writing a QA wap page and want to switch questions in one page. This is my first time to write js and css code, so I think there must be some improvement :) here is my code: <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> <meta name="viewport" cont...

 
4:29 AM
0
Q: Code Produces no output

CBlumeyBelow is a piece of code I am completing for a project. Please excuse any rough edges, this is my first time posting on Code Review. If something needs editing or clarification. The below program is supposed to justify text that is input to it and print it out. Each line is of a specified length...

 
4:44 AM
0
Q: c++ abstract usage

Venkata KarthikI am very new to c++, im trying out a sample program. Could you please help me. // Example program #include #include using namespace std class Employee { public: char *name; long int EmpID; void setPerson (char *n, long int id); void print (); }; class Manager : ...

 
5:00 AM
0
Q: count each char in a string

Abdul-Mumin YakubuOk so I was bored at home and an idea hit me. I wanted to count the occurrence of each char from the alphabet in a string. However, it's not turning out quiet right. Here's my code public static void countEachLetter(String str) { int counter = 0; // loops through the array of alphabet an...

 
This is not code review. — Robby Cornelissen 11 secs ago
 
 
1 hour later…
6:31 AM
This should be moved to codereview stackexchange — STT LCU 58 secs ago
 
0
Q: Is it pythonic to merge multiple function calls in one line?

akshatI am writing a piece of code, where each subsequent method uses data returned by previous one as an argument. The code looks like below: class Fun(object): def __init__(self, n): self.n = n def foo(self, a): return range(a) def sq_foo(self, l): return [i*i f...

0
Q: Basic PHP class with multiple constructors, getters, and setters

Tyler LazenbyI am make a basic class and am very new to PHP, but not new to programming. I just want to make sure I developing this code correctly before moving on. /** * Basic class of web elements in web design app. * * @category element * @copyright (c) 2015, Tyler Lazenby * @author Tyler Lazenby...

 
7:16 AM
0
Q: Remove duplicate values in array with one loop?

user3534656I am writting a program to remove the duplicate values from an array, is any way to optimize code by removing one loop? var arr=[10,20,30,20,40,10], newarr=[]; var foo=function(ele, index, array){ match=array[index]; for(var m in newarr){ if(newarr[m]==match) return true; } ne...

 
Once you've resolved your problem I strong suggest you post this code on the code review stack exchange. — Ash Burlaczenko 22 secs ago
 
7:38 AM
Monking all
If there's anyone alive out there, that is
 
7:58 AM
To make sure, is it correct or not, test your code. If your code does work properly and you are wondering about style and structure, then post your question on codereview.stackexchange.comRafael Osipov 42 secs ago
Even though I like the question and would love to see a good answer, shouldn't this be on codereview? — Dion V. 7 secs ago
 
0
Q: Linq where with extra parenthesis

PeteI have the following query: return Postcodes .Where( s => s.Postcode.IndexOf(term, StringComparison.InvariantCultureIgnoreCase) > -1 && string.IsNullOrEmpty(country) ? true : s.CountryRegionID.Equals(country, StringComparison.InvariantCultureIgnoreCase...

 
8:22 AM
0
Q: Check if a binary tree is balanced, java implementation

CodeYogiclass BinaryTreeNode { private BinaryTreeNode left; private BinaryTreeNode right; private int data; BinaryTreeNode(int d) { data = d; } public void insertLeft(BinaryTreeNode n) { this.left = n; } public void insertRight(BinaryTreeNode n) { this.right = n; } pu...

0
Q: I don't know i is right structure of my Binary Search Tree code

이종일I write the code BST Insertion with book. The book is written by using a recursion. but I just want to know that Not using a recursion. So here is my code. It is working. but I don't know It is correct...... :( Please check on this code. public class BSearchTree { BNode root = null; publi...

 
8:36 AM
Yes, I agree that there are some code smells that probably need to be addressed (in manners you suggest). However, OP hasn't quite posted enough of his/her setup to be able to do a code review c.q. suggest alternatives without resorting to guessing. This is why I answered the question straight up. — Jeroen 17 secs ago
 
8:47 AM
Monking @all
 
Monking @Heslacher
 
Monking
 
hey @Mast hey @skiwi
 
Monking @skiwi
 
Monking
 
8:51 AM
monking @MadaraUchiha
 
9:04 AM
I have a GitLab server somewhere, and I'm having things like branch develop merged into branch develop
Shouldn't those not be reglar commits instead of merge commits?
 
0
Q: How would you refactor this code?

hd1import argparse from backports.lzma import LZMAFile import csv import datetime import time import tweepy parser = argparse.ArgumentParser(description='Links report on twitter -- some basic metrics as to how many links I shared today') parser.add_argument('API_KEY', action='store', metavar='API_K...

 
@skiwi Why?
You're merging, why shouldn't it be merge commits?
 
@Mast If it's only about commits on develop, then can't they just be fast-forwarded?
develop on origin is at commit D, and someone else pushes local commits E-F, then develop on origin could be D-E-F instead of D-E-F-mergecommit
 
There might be a rule for that which you have to modify, I'm not sure
 
Problematic question here:
2
Q: Survivor programming challenge

user1950349I am working on a survivor problem: Complete Question Text: Take a second to imagine that you are in a room with 100 chairs arranged in a circle. These chairs are numbered sequentially from One to One Hundred. At some point in time, the person in chair #1 will be told to leave the ...

It doesn't work, but in another way it is "reviewable"
 
9:16 AM
If it's broken, it's off-topic
" Questions containing broken code or asking for advice about code not yet written are off-topic, as the code is not ready for review. After the question has been edited to contain working code, we will consider reopening it. "
Or am I too black-white in this?
 
I think the problem is that the OP hasn't made sure that the answer he gets actually is correct.
 
Afternoon all °/
 
Monking @DJanssens
 
Afternoon? It's 11:27 AM!
 
@SimonAndréForsberg If the code is working most of the time, it's sometimes considered reviewable and sometimes it isn't. If the working behaviour can't be reproduced however, I'd consider it broken code.
 
9:28 AM
@Mast This code is never working.
 
hey @DJanssens hey @SimonAndréForsberg
 
wait a minute...
I thought the challenge was the same as another one, but perhaps it is different.
 
I was wondering, does anyone here, by any chance have a background in machine learning/information retrieval :D
 
I thought it was the same as this, but it isn't:
16
Q: 100 gunmen in a circle kill next person

CaridorcI am very happy because I solved this problem with very little code: """ 100 people are standing in a circle with gun in their hands. 1 kills 2, 3 kills 4, 5 kills 6 and so on till we are left with only one person. Who will be the last person alive? Write code to implement this ...

@DJanssens I have a slight interest in it, can't say I'm a professional though.
 
I'm doing my thesis about duplicate detection on web forums. It would be nice if I knew someone in the field with whom I could discuss now and then :D
 
9:36 AM
It sounds very interesting, but I don't think I will be able to help much about that.
 
np, thanks anyway! :)
I've been hanging out on freenode, but I never really liked irc communities :p
 
@DJanssens You could ask a community manager from SE for support, or one of the devs.
You never know.
 
0
Q: Java Improving Data Loading Hash Map

CraigI'm trying to improve my codes performance, and I've found an area where the execution time is being significantly increased. I've had a look through the code but I can't see how I can improve it. Here is the code: AddData gets called over 200,000 times. public void AddData(String label, int f...

 
10:03 AM
As a side note, you may be interested in CodeReview.SE, be sure to read their FAQ before posting your question 1-on-1 though. — Jeroen 19 secs ago
 
10:31 AM
@RubberDuck, Why do you like Code Review? Aren't the questions there often just waaay too localized? — Pacerier 1 hour ago
@Pacerier because the code works. — RubberDuck 10 mins ago
 
My SO meta answer is approaching 100 upvotes.
Whoa... 2 downvotes...
 
@nhgrif What are you referring to?
 
92
A: Many question askers seem to only want the code, not to understand how to solve their problem

nhgrifYou shouldn't be writing your answers specifically tailored to the specific scenario asked about in the question or specifically tailored to the specific user asking the question. Your answer should certainly solve their specific problem, but your answer shouldn't be quite so specific. Instead,...

Wow, posting that answer has generated 38 upvotes and 6 downvotes on the example I linked to.
 
Linkage does that
The best way to score upvotes on SO is to make sure your question/answer gets noticed by a lot of people in a different thread
 
I need questions I've answered to be used as examples in the meta.
 
10:44 AM
Don't we all? :P
+1 for the manual bounty on the best answer btw, it makes a clear statement to those who read all the answers.
 
0
Q: Graphs processing in Scala

mkrakhinI've just started to learn Scala and decided to implement small graph library to train. Here is the basic version, that describes graph and nodes structure and also provides implementation of DFS to find some path from one node to other. class Graph[A] { var nodes = Set.empty[Node[A]] def ...

 
At this point, I'm basically responsible for 320 of that user's 635 rep.
 
11:06 AM
0
Q: Iterate through collection. How to remove duplicate code and extra iteration?

ivan_petrushenko public RepositoryReport GetRepositoryReportData(RepositoryReportSettings settings) { return GetRepositoryReportData(x => settings.RepositoryIds.Contains(x.Key)); } private RepositoryReport GetRepositoryReportData(Func<KeyValuePair<Guid, IRepository>, bool> predicate = nul...

 
11:35 AM
-1
Q: Access only ExcelShapes

nleventeI am trying to access checkboxes from my worksheet. foreach ( OfficeOpenXml.Drawing.ExcelShape ch in xlWorkSheetinc.Drawings) { Console.WriteLine(ch.Name); } unfortunately the code above returns ExcelPicture too, and gives an exception: System.InvalidCastException: Unable to cast obj...

0
Q: uploading files on a html website

Ericblender7Now after I have completed making my first html website, and linked it with an online website hoster, how do I make continuous updates on the contents? The website has a page where I would like to keep on updating news without losing former news. I want to always keep track of the news I post and...

 
@nhgrif I've recently seen a facebook or linkedin post with exactly this
Thousands of replies by Indians with just their email address
I think it was about recruiting at Google
This is the one
 
@JeroenVannevel Google != Facebook
and getting a job and getting codez is not the same thing.
definitely similar though.
 
@JeroenVannevel Huh, that's funny
Monking all... ;-)
@200_success - you pacing your gold badge perfectly:
 
12:25 PM
Do we have any control over "pacing"?
I guess if we're getting more than 5 upvotes per answer, we could write worse answers.
5
 
Well, you can control the rate you answer, not the rate people up,, or down vote.
I am just a sucker for seeing symmetry, that's all
 
It is a nice coincidence
 
That you were awarded that badge..... 4 days ago, though.... is an indication of a bug in the system
 
Yes, it was quite amusing seeing "you've been awarded the gold badge" every day and then finding that it wasn't true
Same thing happened on Stack Overflow
I can only imagine that different bits of the UI are based on caches that update at different frequencies
 
The new profile features are great, when they work.
5
I particularly like the access to the predictive assessment of badges that were previously impossible to track.
 
12:28 PM
Renders some of your SEDE queries obsolete, doesn't it?
 
Yes, especially the ones where I was guessing.
(which also happen to be the ones i care about ....)
Sadly, apart from tag badges, the only bronze badge I have left to "earn", is peer-pressure
I need to get to work, for real..... drat... been a nice, lazy morning.
 
12:44 PM
:)
I actually like the impact statistic
 
1:02 PM
 
1:26 PM
@Mat'sMug your Wordpress post is kind of boring so far, just a bunch of VB, yuck!
 
The tag badge bug is fixed:
18
A: Tag badges are being awarded incorrectly

Jarrod DixonOne should never push code right before going on vacation. The bug has been fixed, a test has been written, and any incorrectly-awarded badges have been revoked. Your topbar's achievement list has also been cleaned. My apologies.

 
This user thinks everyone is his buddy...
5
Q: Will my own deleted, non-closed, flagged `useful`posts be completely un-associated from my Stack Overflow account?

AvidanI had five questions which were poorly received (3 downvoted by single votes and all 5 with no answers) by the Stack Overflow community, and therefore I had deleted those. Yesterday when I was not able to post my second question in a day. I thought it's because of my history of poorly received...

Read the comments.
 
@GarethRees While that bug may be fixed, 200's profile is still borked..... ;-) It still says "Next Badge: gold beginner" even though he was awarded it 4 days ago.
 
This should be moved to Code ReviewNathanOliver 59 secs ago
 
Doesn't he have to pick the next badge to go for?
 
1:42 PM
@nhgrif Buddy is on the right:
I kid you not.
 
0
Q: spoj.com problem TSHPATH. Optimizing Dijkstra's algorithm

CodeWriterProblem: http://www.spoj.com/problems/TSHPATH/ I'm getting TLE(Time limit exceeded) (30 times, sadly). I have used Dijkstra's algorithm, java.util.PriorityQueue. Code (Java): http://ideone.com/WYrVHT How do I optimize it?

 
Also take your code out for a walk on Code Review every now and then ;) — Quentin 52 secs ago
Interesting question, maybe this codereview.stackexchange.com/questions/30689/… will be helpful. — bodi0 9 secs ago
 
2:02 PM
is it a good idea to write blogs on the company sharepoint site? what are the pros and cons?
 
Pro: People understand how you think. Con: People understand how you think.
6
 
Ts^
 
I've been weighing the pros/cons of (at)-in my new company's Twitter from my blog's Twitter. It won't happen before my current company tells my coworkers I'm leaving, so I've got time to weigh...
 
@RubberDuck RSA
@rolfl I think that I am going to keep it to simple things for the time being, things I would post to my public blog(and will post) so it's not anything super secret or anything like that, and it won't be giving away company secrets.
 
@Lyle'sMug I assumed when you said company sharepoint, you meant internal-to-the-company only, right?
 
2:09 PM
@rolfl yes
 
In which case, and in seriousness, yes, write blogs, but keep them on-task.
Keep all data factual.
 
@NathanOliver Did not know about Code Review. How do I move it or simply delete and repost there? — l0ckm4 56 secs ago
 
show results in a team-friendly way.
show issues in a non-blaming way.
do not add any opinional bias to anything.
 
^^ That's the hardest part!
 
I've realized that my company sent the wrong people to this conference. I already know all this stuff, because I keep up on the new releases. The product owners really need to be here to see what's possible.
 
2:11 PM
I am going to try and invite discussion on Documentation with my first post. this is my first real job so there is still a lot I don't know about corporate structure after 3 years....mostly because it's state and not really corporate
 
@RubberDuck Conferences are only 20% about keeping informed.
50% is a reward for deserving to go ahead of your peers, and the other 30% is so you can network with others, and get a job somewhere else.
 
Understood @rolfl, but the networking here is... lacking. And I've got my best friendly face on. =)
I came here to network, but it seems no one else in my field has. Why are tech people so backwards? Oh... That's right...
 
they are nerds and scared of other people...?
don't tap the glass
3
 
ATM I believe only a moderator can move a post to code review. I have flagged the post and asked for it to be moved but it is still pending. — NathanOliver 40 secs ago
 
user image
3
I really don't like documentation, I think I need more coffee, already after 9 and I need a second cup....lol not good
 
2:17 PM
monking!
 
@l0ckm4 It's perhaps easier if you delete the question here and instead post it to Code Review yourself. Migrations can take some time as there are tons of moderator flags on Stack Overflow. — Phrancis 1 min ago
 
@Lyle'sMug but it's !
 
@Mat'sMug :)
is this a Typo? ►► this.procedurr
 
hmm yup
 
lol
short and sweet, looking for discussion
Finally Read "Code Hoarders"
 
2:40 PM
0
Q: Another Conway's Game of Life Simulation (With colored populations!)

CarcigenicateThis is my near-final version of Conway's Game of Life, with inherited colors using PDCurses. Any new spawned cells take on the most frequent color surrounding it when it spawns. This leads to single-colored populations roaming around, and causes interesting "battles" between 2 populations; which...

 
sorry I had to share this...lol
 
@Lyle'sMug What is that even?
Crab?
 
@Mast that would be my guess....lol
 
Or in case of actually breaking the class, 'oh crap'
Although it probably isn't carnivorous
 
Greetings, Programs.
 
2:56 PM
seems most herbivores are the bigger animals, isn't that weird...
 
That's because the small herbivores were eaten.
It probably also has to do with the nutrients you get from plants vs meat
 
@Lyle'sMug fixed
 
g2m, back in an hour
 
@nhgrif and those that weren't started breeding faster and faster to compensate
 
@Donald.McLean Hello, user.
 
3:05 PM
0
Q: How to remove the repeating string from a given string and get the count of repeated string in JAVA?

Abhijit BashettiThe code I have tried is below : public static void main(String[] args) { String longString = "Energy in the form of seismic waves is released " + "after an earthquake and seismometers measure its amplitude to calculate the " + "qu...

 
@Mat'sMug Tribbles.
 
@nhgrif And possibly the fact that most large carnivores (and a few large very large herbivores, of course) really got screwed by a catastrophic asteroid or two!
 
Well... Elephants are herbivores, right? Are whales? But then after those two, bears, lions, tigers, (oh my), sharks... Lots of large meat-eaters.
 
Whales are omnivores I'm pretty sure.
@nhgrif Those are definitely pretty large compared with today's surviving animal populations, indeed
 
Alligators are big meat-eaters.
 
0
Q: PHP - Get innerhtml, outerhtml, and plain text of an element by id or class

l0ckm4Ok, I do a fair amount of scraping but I am by no way a good php programmer. I always struggle to get the innerhtml of elements using php, domdocument and xpath. I have cobbled together a couple of functions that appear to do what I need but my question is are there any major holes in my logic ...

 
Yep, whales eat meat. And they're the largest animal on the planet, short of the kraken.
 
how hard is it to learn SSIS?
 
not really if you know some SQL
 
3:29 PM
0
Q: Unix shell function for adding directories to PATH

SildorethAdding a directory to the PATH in Unix/Linux is a very common task. However, what if the directory is already in the path? My goal is to write a shell function (preferably portable) that will add a directory to the front or back of the PATH variable, but only if it's not already there. Here's ...

0
Q: Would I gain any advantage dropping a loop that only iterates once?

It's been a pleasureI am not quite sure this question is suitable for here rather than SO but since I have a working code and seeking possible optimization I thought of CR in the first place. I am not able to truly test the performance as it's an ERP's BPM called on the server side and I don't have the ability to p...

0
Q: Let's Break Down the Party by Breaking the Party Down Recursively

h.j.k.This is a rags-to-riches an overdue alternative implementation on my previous question: Let's Break Down the Party This alternative uses the int internal representation suggested by @janos and recursion to arrive at the same results. For starters, here are the changes in Denomination enum to sup...

 
3:40 PM
@Mat'sMug awesome.
 
Hey, @Lyle'sMug is your blog supposed to have gray background with white background behind text?
 
If the code works as expected and you are looking for improvements, you are welcome to delete your question here and post it to the Code Review site if you want. You might want to add a bit more context and write a title that says what the code does, rather than what you would like reviewed about it. — Phrancis 44 secs ago
 
that is what it is supposed to look like @nhgrif
 
0
Q: Making my query more secure with (prepared statement)

user3907211I am figuring out how I could make the following query more secure: I have already used mysqli_real_escape_string but i doubt that adds much to security. I have looked into the following: http://mattbango.com/notebook/code/prepared-statements-in-php-and-mysqli/ but I also have to take into acco...

 
3:45 PM
Have you seen it on a mobile device?
 
@nhgrif let me take a look on my phone.
that does look weird doesn't it?
 
Yea
Looks good in screenshot from your desktop though
 
Might be something to contact BlogSpot about.
<div style="background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: 'Segoe UI', Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;">
Do you ever go back to code you had written a long time ago and wonder who had written it and why they made it so messy?</div>
Each paragraph is shoved into its own <div>, which is weird
Probably has to do with that
 
I tried to change the layout and I couldn't get anything to change....I don't like that.
 

« first day (724 days earlier)      last day (3279 days later) »