« first day (465 days earlier)      last day (3545 days later) » 

9:04 PM
How does the algorithm for feeds work? It's not posting feeds in one of my chatrooms at all
Well there's a 30 minute delay, which I consider long
 
-2
Q: Why does this code does not work as expected?

BRAYBRAYI am working on a codewar exercise which asks me to: Write a method that takes a maximum bound and returns all primes starting with 0 up-to and including the maximum bound. prime(11) will return [2,3,5,7,11] I have come up with the following solution but it kept failing the test cases; Could a...

2
Q: Self-referencing join to find duplicates with different status

PhrancisSuppose an Excel file loaded into an Access table with the following columns: Client_Dealer_ID Dealer_Name Contract_Number Client_Contract_Number Status Sequence_Number Product_Description Model_Number Serial_Number Contract_Purchase_Date Equipment_Purchase_Date Contract_Begin_Date Contract_Expi...

 
LOL
15
Q: Fibonacci pagination

XCoreToday I stumbled upon this pagination concept and I found it fascinating. It's actually an old shot but it made me think as I'll need to paginate some content in the near future. Pages will soon become hundred and eventually thousands, so I'll need some "clever" pagination [in groups] (10-30 |...

Like we didn't have enough Fibonacci?
 
@Phrancis TS, because I'm out of them already
 
@skiwi There's actually a direct formula for calculating any arbitrary element of the sequence. It's pretty weird though.
 
9:13 PM
@Donald.McLean Yeah, I've had to derive it at university
But please, I don't want to use that formula ever again
 
LOL
2
 
0
Q: Sorting a collection

ckuhn203Related to, but not exactly a follow up of this question. After fixing some issues discovered in the last review, I added a little more functionality to the Enumerable class. The problem is, I've never sorted before. I tried (and failed)to implement a few of the standard algorithms before coming ...

0
Q: How to serialize json data coming from two url's in same object?

WebbyI have two url's (urlA and urlB) and both the url gives me json response back in the same json format. Below is my JSON String which I am getting back by calling from urlA. I have shorten it down by having only three reportRecords for the understanding purpose. In general, it might have more than...

 
TTGTB, afk tomorrow
@syb0rg s/Nine/Nein/
1 hour ago, by Phrancis
4 mins ago, by ckuhn203
3 mins ago, by Phrancis
5 mins ago, by Simon André Forsberg
1 min ago, by Donald.McLean
8 mins ago, by Phrancis
Awesome
 
I love the hover text
 
9:50 PM
AMEN! and last one of the day
are we allowed to Rage vote? not to be confused with Serial Downvoting.
 
Define rage-vote?
 
Why does this work? how does it solve the initial problem? — Malachi 1 min ago
@Phrancis Down vote because the guy is a jerk
doesn't review the code, and doesn't explain how the approach works and whether or not it working for 100 gunman is a fluke thing or not
 
10:06 PM
Hell yeah. That answer was useless, I DV too
 
@Malachi And to be fair, I shouldn't have polished turd. I should've just deleted it right away. I'll let it collect delete votes for now.
 
So, just got off last call of the day, with one of our resellers. After I was done helping him, I asked if he had any other question (we have to or our QA team downscores us) so he said: "If a fly is flying to land on the ceiling, how does he know at what point he needs to flip upside-down?"
I was literrally LOL
 
@rolfl you were not very thorough on this one:
6
Q: Integer seconds to formated string mm:ss

DudiI have a String like "Time left (XX)" or "You need stay here for (XX)" and int as second. I use those two variables to format label like "string (mm:ss)" example "Time left (59:23)". private String timeDescription(String pDescription,int pTime) { final String preformatedTime = secondsToStri...

on purpose, maybe?
I filled in some gaps:
0
A: Integer seconds to formated string mm:ss

janosThat entire code could be reduced to these few lines: private String timeDescription(String description, int seconds) { return putTimeInXX(description, secondsToString(seconds)); } private String secondsToString(int seconds) { return String.format("%02d:%02d", seconds / 60, seconds % 60...

 
10:22 PM
TTQW see you all in a bit :)
 
1
Q: Is Code Review the site to ask for code examples?

user154989Is Code Review the site to ask for code examples? For example, if I need some examples for threads, which site would I go to ask for them?

 
I retagged it. ;-)
 
10:45 PM
Oh amazon
 
0
Q: Implementing an "Add Company" section in a project

zelliottI'm working on avoiding JavaScript that either directly modifies the DOM a ton, contains a ton of anonymous functions, or is encapsulated in giant $(document).ready... blocks. This is one of my first attempts at writing a section of my project in a better way. The code is commented and organize...

0
Q: Achievements for iOS Game

bazolaThis is my first time implementing achievements in a game so I could definitely use some feedback on what I have done here. I have heard about singleton approaches to this problem, but I did not feel it was really necessary and I would rather avoid singletons since they have a bad reputation. I...

 
It looks like my selfie is one-away from Revival.
 
LOL @JeroenVannevel
 
someone upvoted my answer again....lol
 
Ofcourse. Now I'm going through the process by creating my own account and I suddenly receive an email that my application through LinkedIN is in progress
 
10:51 PM
It's pretty meta that the intern application page was apparently written by an intern ;)
 
@BlueCheeseMonster TS for TS Sake!
 
@DanLyons I should add that screenshot to my application and tell them I can do a better job
 
heh do it
 
@JeroenVannevel lol
 
Those US-oriented education questions are so annoying though
My degree isn't in the list so I have to guess what it corresponds with and our system doesn't work with majors
 
10:56 PM
that's OK - the US system doesn't work very well with majors, either
 
0
A: Is Code Review the site to ask for code examples?

PhrancisTo add briefly, you can find lots of good code examples, as well as reviews on best practices, by clicking Tags on Code Review or StackOverflow and searching for a topic, for example multithreading. That for example brings up 9 pages worth of working code examples along with reviews, and it's a g...

 
let's see if I can break this VM again :|
I managed to get an MSI to hang mid-install, which put IIS into an irrecoverable state (even after removing and re-adding it)
 
2 hours ago, by Simon André Forsberg
1 hour ago, by Phrancis
4 mins ago, by ckuhn203
3 mins ago, by Phrancis
5 mins ago, by Simon André Forsberg
1 min ago, by Donald.McLean
8 mins ago, by Phrancis
Awesome
 
2 mins ago, by nhgrif
2 hours ago, by Simon André Forsberg
1 hour ago, by Phrancis
4 mins ago, by ckuhn203
3 mins ago, by Phrancis
5 mins ago, by Simon André Forsberg
1 min ago, by Donald.McLean
8 mins ago, by Phrancis
Awesome
 
11:24 PM
@Phrancis I don't think I understand what he's trying to do in that question Phrancis
 
0
A: What's a Zombie? And what are the many other memes of Code Review?

PhrancisMeme: Automagically Originator: Malachi Cultural height: Meta, The 2nd Monitor Background: On 13 Jan 2014, Malachi asked the following question on Meta: I was the last close vote on this question, does that automagically flag this post when there are no comments? Which was promptly jamal...

Probably trying to get code for free when he should be hiring a programmer instead ;) @nhgrif
@Malachi @Jamal remember this one? ^^^
 
I mean, I understand the results he wants. I don't understand the why.
It just doesn't make any sense to join like that.
 
Oh you mean a different post. Which one?
 
2
Q: One to one record mapping without any common column between two tables in SQL server

HarshaI'm trying to join two tables based on one to one mapping without any common column. For example, I have 3 records in the first table and 2 records in the second table. The mapping should be as follows: As there is no third record in the second table, nulls should be displayed. In order to...

 
Oh that. Yeah I thought to myself just do a cross join if you really need that kind of data layout, but I feel it's not very useful information.
@Jamal look what I just found
Did you do that on purpose, or did I just get very lucky (see what I did there?)
 
11:47 PM
Nah, it's a coincidence. I haven't checked this number recently.
 
You should frame it
Yes! and just in time for :D
 
1
Q: Are promises suitable for Model Controller communication?

JosephI have an Express app built with the Yeoman Angular fullstack generator to build an API to send JSON to Angular. I'm trying to work out the best way to pass back information from my model to my controller, further processing may occur in the controller. I'm currently using promises. I feel unco...

 
@CaptainObvious This sounds like a Programmers question.
 

« first day (465 days earlier)      last day (3545 days later) »