« first day (1348 days earlier)      last day (2674 days later) » 
00:00 - 20:0020:00 - 00:00

12:00 AM
RELOAD! There are 3283 unanswered questions (91.9548% answered)
 
Found it.
Reference type problem.
 
12:18 AM
Now I just need to make it able to remove pieces from the board.
Shouldn't be too hard, but I won't do it just now.
 
Goodnight everyone
 
Later @denis.
 
12:42 AM
Codereview perhaps? — Dmitry Polonskiy 16 secs ago
 
Clean Code looks good. I wouldn't mind picking up a JS book either, I think it's the only major language / platform I haven't really used yet
 
1:03 AM
0
Q: Refactoring two similar methods into a single Angular service

theGreenCabbageI am trying to create a service for two similar-but-still different methods: Method one is this: scope.computeStyle = (element, rowComponent) -> elementHash = {} if element.type == 'table' elementHash.height = 600 if rowComponent?.height? elementHash.height = rowComponent.heig...

 
1:33 AM
0
Q: Change the port of a django project

David HilbertWith django, I tried to run the server (i.e., python3 manage.py runserver), but I got the following error : Error: That port is already in use. How could I change the port? In fact, I work on a another project (with django) asking me to use the port 8000. Hence, I can't use that port. I t...

 
1:56 AM
0
Q: Proper Implementation of Trie Structure

Khaled JaberI want to improve this code. I know i'm not fully utilizing the data structure. (This is not a homework assignment, I finished and passed the class this fall semester). I would really like to know for future reference. Thank you. /** * Words indexed by this trie. */ ArrayList<String> words; /...

 
Only if you use iVodka, which requires a special dongle known as the iSpout , available from Apple for $ 79.95 . — Carl Witthoft 11 hours ago
 
@DainIIIronfoot LOL clever
 
I guess I'm done with Checkers for the night.
My Board Editor works.
It needs a few tweaks, but it works.
 
Oh nice
 
2:14 AM
There are a few posts in the CV queue, if anyone is looking for a badge.
Also some in the First Posts queue.
 
2:52 AM
-1
Q: How to insert json array into mysql database using ajax

neptuneI would like to add this json array to mysql [{"id":null,"parent_id":null,"depth":0,"left":1,"right":14},{"id":"2","parent_id":null,"depth":0,"left":2,"right":9},{"id":"4","parent_id":"2","depth":1,"left":3,"right":6},{"id":"6","parent_id":"4","depth":2,"left":4,"right":5},{"id":"5","parent_i...

 
3:23 AM
@CaptainObvious broken per OP comment
 
3:46 AM
0
Q: Factory Method Pattern - Base implementation to Add New Records

Coder AbsolutePlease help me to verify whether this approach make sense to you? Am also open to take another approach, if you think it make more sense. AddNewBaseClass (abstract) abstract class AddNewBaseClass { private TransactionModel _transaction; public AddNewBaseClass() { _transacti...

 
possible answer invalidation by 200_success on question by Khaled Jaber: codereview.stackexchange.com/posts/152301/revisions
 
4:21 AM
0
Q: Calling a common method from an abstract class

AimanBI'm developing an Android app using Java. Is it a good practice to put showLoading() method in a base class? In my case, I'm putting this method in an abstract class called BaseActivity which extends AppCompatActivity. The idea is to make us easier to call this method anywhere in Activity or Fra...

 
This might be more appropriate for Code Review. — shmosel 52 secs ago
 
4:56 AM
0
Q: Optimize python script that displays stock portfolio stats for speed

Danaimport time import csv import argparse from nsetools import Nse from colorama import Fore nse = Nse() t = time.time() CSV file contains +------------+-----+-----------+ | INSTRUMENT | QTY | AVG PRICE | +------------+-----+-----------+ | | | | | APLAPOLLO | 3 | 949....

 
0
Q: To write genetic algorithm programm for cellular layout design

sarath kmTo write a genetic algorithm programm for cellular layout design

 
This question doesn't belong here, and should be moved to CodeReview. — 31piy 37 secs ago
 
@CaptainObvious that's a pretty huge Python script
@CaptainObvious no code, no glory
 
5:14 AM
Blech
 
?
 
Long day.
 
Ah, sorry to hear
 
Happens, I'm over it. :)
Because now I have time to do anything I want.
 
I believe that this is better fitted for code review. If it's too old to be migrated, I believe it should be closed as off topic. Stack Overflow is Question Answer, not Question Advice. — David Archibald 59 secs ago
 
5:31 AM
@EBrown cool what's on your mind then?
 
About to work on that thing we were working on.
 
Nice
Trying to decide if I want to pick up Clean Code or a Javascript book
 
5:57 AM
Monking
 
6:08 AM
Monking
 
It's 2017 and my ISP still caches DNS query results for hours. Better: if I manually try a server they intercept the query and respond to it
 
lol
 
@EBrown8534 I named this image `DNS WTF.png` since that was only appropriate. https://t.co/vl4RoO4W5j
@EBrown8534 If you guessed that this one is named `DNS WTF2.png` then you get a gold star. https://t.co/nOwevmKBF7
I don't even...
@EBrown8534 Oh and it's not just Windows either. (`Mac DNS WTF.png`) https://t.co/86NibjcpZx
 
6:41 AM
Monking
@Phrancis Clean Code
 
BTW, MySpace is apparently still a thing
 
8:07 AM
@EBrown Give me my gold star.
@Tushar Thanks, I desperately need to read that before writing anymore JS.
 
0
Q: Javascript: Profile Lookup from freecodecamp

VadamadafakaThis is my answer in freecodecamp Basic Javascript: Profile Lookup (third day trying javascript using Udemy and freecodecamp), can you help me to minimize the lines of code of my lookUpProfile function? any help, tips, techniques, methods, shortcuts on profile lookup or your personal lookup techn...

 
8:31 AM
PLZ SEND HELP
2
I'm so not good with this aggregate stuff -.-
-- TODO stop "SELECT *"
TTGTB
 
0
Q: Automatic computation of mean, standard-deviation, sum, min, max in property

monsieur_hWorking on a game I need to record events compute some values about it (the more the better). The twist is, I need to store as little data as possible. Constant (as in O(1)) weight is required. The following code is not acceptable : public class Player { private List<float> previousGamesDura...

 
Monking
 
Monking
 
Monking
 
9:05 AM
0
Q: Tool for blind users who also have NO speech

JoeI'm building an (open source) online tool for users with NO speech who are also blind. The program steps through a list of utterances in a female 'thinking' voice, and when one is selected, speaks it in a male 'speaking' voice (switch genders for a female target users). I've written a demo of ...

 
Kaz
@EBrown ^^
See I just have a bookmark folder for all of those things
Only about 80 bookmarks so far.
And a good 10% of that is #JoelOnSoftware
Also, Monking @all
 
Monking
@Kaz I assume they got their own subfolder?
 
Kaz
9:21 AM
@Mast Nah, it's not that many bookmarks that I need to have sub-directories. Yet.
I'm no @skiwi
Yet.
 
0
Q: JavaFX Smoke Effect (Particle Generator algorithm)

Phil FreihofnerI wrote a "Smoke" effect that I thought I'd post for code review. It's a decorative effect for a puzzle game I'm working on--there will be four of these, animated independently, probably with a purplish tint. I'm mostly interested in feedback on the "Smoke" class, not so much the little JavaFX sc...

 
9:35 AM
Monking
 
9:48 AM
@Vogel612 Monking
 
If you're specifically interested in a code review, try codereview.stackexchange.com. Otherwise, this is merely an invitation for opinions on how this could be done differently, to which there is no definitive answer. At least point out a specific aspect you'd like to rectify. — deceze ♦ 39 secs ago
 
@Kaz He has tabs, he doesn't need bookmarks.
2
 
0
Q: Creating a generic notification service

EldhoI'm trying to create a generic notification service that works with Mail (smtp ) Sms (Third part vendor) Push events (For future) Purpose : Create a notification service and it should be pluggable A Common interface for all notification service public interface INotificationService { ...

 
@Kaz I'm @skiwi
2
 
10:14 AM
I guess you can't. "The design of LevelDB is such that the same comparator must be used when opening a LevelDB that was used to create it." codereview.chromium.org/213263004Dej 5 secs ago
 
10:27 AM
Code Review - read their guidelines first, read Stack Overflow's guidelines too — Sayse 44 secs ago
 
11:17 AM
If your code is working but you want to improve it, perhaps asking on Code Review is in order. — StoryTeller 14 secs ago
 
0
Q: making a gui more efficient -python3

FuzeeI have been tasked to create a GUI that asks the user questions about a mobile device.the GUI i have created asks the user a sequence of questions to try and come to a solution.However, i feel that my inexperience with GUI has made me repeat myself a lot with this. Therefore, is there anything i ...

 
11:35 AM
possible answer invalidation by Victor Moraes on question by Victor Moraes: codereview.stackexchange.com/posts/152256/revisions
 
11:51 AM
@Duga handled ...
 
12:08 PM
I'm voting to close this question as off-topic because the question should be asked on codereview.stackexchange.comRuslan Osmanov 39 secs ago
 
ewww ...
        List<String> topXKeywords = getKeywords(result)
                .stream().collect(Collectors.groupingBy(Function.identity(), Collectors.counting()))
                .entrySet().stream().sorted(Comparator.comparingLong(Map.Entry::getValue))
                .limit(20).map(Map.Entry::getKey).collect(Collectors.toList());
 
@ufo maybe codereview.stackexchange.com is a more suitable forum for this type of question — Anthony Kong 7 secs ago
foreach (Enum.GetValues...)... but this isn't Code Golf nor Code Review. — CodeCaster 58 secs ago
 
hmmmm interesting ... github forks don't seem to create a separate repository. instead they use the same repo and are separated through the refs they own ...
 
this probably saves a lot of precious storage space
 
yep.
but it also incurs calculation overhead when working with forked repos ...
because you may not make all references available when fetching
 
12:21 PM
Monking
 
1
Q: Practicing Arrays with String Class methods

Miguel-DavidI am a Spanish programming teacher in a vocational training course. We are studying the arrays and in order to practice and to get the students familiarized with some methods of the String class, I proposed them to reinvent the wheel implementing some methods of the String class using char arrays...

 
12:38 PM
The other thing: if you already had some really working code of "some" quality, then you could take that code to codereview.stackexchange.com — GhostCat 21 secs ago
 
@Vogel612 Doing to much in one place.
 
It's just collecting the top 20 keywords that are most common
 
12:56 PM
So put it in a function that says that and don't nuzzle it up like this.
Code should be self-documenting.
 
1:08 PM
1
Q: Text based game, project improvements?

EvanI've made quite a long text-based game which I'm quite proud of and would like to know ways in which to improve it! I plan to keep working on it and make it much longer and more complex! Thanks in advance. Main import java.util.Scanner; import Saves.GameSave; import Saves.GenderSave; public ...

0
Q: Apply a custom property on every descendent of an element

OrangesandlemonsI chose this approach to keep the code short, as I can't think of purely iterative approach without conditionally testing or storing the index of a node for moving horizontally. If I wanted re-usability, I could pass in the property and the value and use node[passedProp]=passedValue. The code: ...

0
Q: Count Characters Function PHP

RobinAs part of studying algorithms, I needed to make a function to count occurrences of characters in a string. My solution is below. I'd like some feedback about how I did - could the implementation be cleaner? Are there any conceptual gaps my code suggests? <?php function ra_count_chars($str){ ...

0
Q: Smart Pointers with Reference Counting - C++

rajaditya_mI am trying to improve my general skills in C++ so I plan to write versions of shared_ptr and unique_ptr from scratch. I wrote a version of shared_ptr with reference counting and I was wondering for reviews. #ifndef __SHIVA_XSMARTPTRS__ #define __SHIVA_XSMARTPTRS__ /* This tries to define a ref...

 
1:19 PM
0
Q: Simple Oracle connection using JDBC

Dex' terI'm trying to continue the learning process in Java, and I've made a simple yet useful class which will allow me to retrieve the data inside a table from an Oracle DB, using JDBC. What I'm especially looking after in a review is: styleguide - as in naming variables / classes, spacing, and so...

 
Java is weird
 
@Mast that might be subject to change anyways...
 
@Vogel612 thanks for the edit. I forgot that tag ^^
 
0
Q: How to simplify subscription with Observable?

ViktorI've this part of code this.productAddedSubscription = this.basketService.productAdded$.subscribe((product: Product): void => { this.updateCart(); this.showAddedMessage(product); }); this.productRemovedSubscription = this.basketService.productRemoved$.subscribe((product: Product): void =>...

 
No ducky, I didn't want a calculation. That's an IEC specification...
3
And yes, my new work PC is installed in Dutch unfortunately, got to change that somehow.
 
Kaz
1:49 PM
13 months later, Jon Skeet has still got a decade's lead on the closest competitor.
24
A: Does Jon Skeet ever have to answer another question to remain the #1 user on Stack Overflow?

KazNot for at least a decade Instead of making theoretical assumptions about what people *might* gain in rep, why not go on what people have actually earned? Update: January 2017 Using Data from the past 13 months: (Dec 2015 to Jan 2017): 10.9 years Assuming Jon Skeet never answered ano...

 
@Heslacher about your finally comment. Netbeans throws a cannot find symbol for connection in the finally statement ^^
 
I have updated my answer.
 
I have updated my windows.
 
monking
 
Declare connection outside of the try
monking @EthanBierlein
 
1:54 PM
@Heslacher I can't. DriverManager.getConnection should be declared in a try block :)
 
I will edit my answer again...
 
0
Q: Syntax sugar and improving speed

Fátima AlvesI have the following code: resolved = [] rejected = [] for file in files_within("./_input/"): file = File(file) if file.extension.lower() == "gdb": resolved.append(file) else: rejected.append(file) MAP["resolved"] = resolved MAP["rejected"] = rejected And i would li...

0
Q: PHP Mysqli - Search Query using Coded Search Bar

Bill04I have been trying for ages to code my search bar but with no luck. The only code I can get to work is a code which will show all items in the results page after hitting search bar (no matter what I type in the searchbar), can someone help me code this to actually look at the info I enter in the...

 
Thank you @Phrancis!
 
@Dex'ter edited
 
monking!
 
1:59 PM
@Heslacher I still get errors on connection() from inside the finally block
> variable connection might have not been initialised
 
AFternoon all :)
 
and at the end of close() I also get the must be caught or declared to be thrown exception
 
I have added the try-with-resources points which @Vogel612 has mentioned You can read about the syntax there. I am nowhere near a Java IDE.
 
@Heslacher Feel free to edit the answer when you get near one. As it is, it doesn't work. But nice answer overall ! Thanks
 
@Marc-Andre wasn't it you who's wife was pregnants a few months ago? :)
 
2:04 PM
@Dex'ter Well I hope that won't happen in the near future ;-) I am just more into C#
 
@DJanssens Yeah and now I have a baby of 10 weeks :D
 
Can I still (late) congratz you ;)
4
 
@Marc-Andre congrats. It will give you good and bad times. My daugther is 14 years now and I can tell you thats not a nice age ... at least for us.
 
Yeah sure :D! It's not like I was really present here in the last couple of weeks!
 
@Marc-Andre It seems I haven't been online here for a while either ;)
 
2:08 PM
@Heslacher It sure changed our life! And we already know it's gonna be a challenge but we'll do our best! The adolescence can be quite something, now with all the social media and everything there is a lot of interactions for the kids and the world is not an easy to find it's place! I hope it will get better for you. If you do your best, I'm sure when she will be older she will be grateful!
3
 
@Kaz Bummer, I was waiting for Jon Skeet to answer that question
I agree that with 30000 posts he is unlikely to stop hitting the daily rep cap for a very long time. A quick query on the data explorer suggests that he is getting 909 up votes a day over the last 90 days from posts more than 150 days old (data.stackexchange.com/stackoverflow/query/139099/…). — MikeD Sep 25 '13 at 15:13
wow
 
Kaz
@skiwi That's, what, 3M rep/year?
 
it's mortarboard all day every day
 
@Heslacher I cannot relate, but I could imagine that :p
@Kaz A lot yes
 
@DJanssens Welcome back :-)
2
 
2:15 PM
0
Q: Delphi datatype to merge Integer and String

Etsitpab NiolivThe problem that got me there : I have 2 tables to represent some data sent to my app. The first table is the most common case : The data fits in the typed columns The second table uses only varchar columns, in case insert on the first table fails (corrupted data). So, I need a convenient way t...

1
Q: Longest Increasing Subsequence (Nlog^2N) for coordinate points

DJ bravoLongest Increasing subsequence for set of point (x,y) is defined as:- if A(x1,y1) at index i in array B(x2,y2) at index j in array if i<j and x1<=x2 and y1<=y2 and (A != B) i.e !(x1==x2 and y1==y2) then A and B are in a increasing sequence we have to find the longest sequence of points ...

 
@Mast Nice to see you again ;)
 
2:26 PM
0
Q: Cake Pattern with implicitly added functionality

Daniel de PaulaI have a scenario where I want to implement a variant of a Cake Pattern, but adding implicit functionality to a class (a Spark DataFrame). So, basically, I want to be able to run a code like the following: trait Transformer { this: ColumnAdder => def transform(input: DataFrame): DataFram...

0
Q: Registering data types with logger at compile type

ryan0270I'm working on a data recorder in my library for psuedo-realtime systems. I have a default templated "record" function to cover basic data types and library users can specialize that function for custom data types (e.g. for images they could write a flag to the main data file then record the imag...

 
2:37 PM
0
Q: Finding the lowest missing integer in a vector containing negative and positive values?

Babra CunninghamI'm writing an operation to find the lowest missing element of a vector, V = 1..N + 1. This has to be performed in O(N) time complexity. Solution One: std::vector<int> A {3,4,1,4,6,7}; int main() { int max_el = *std::max_element(A.begin(), A.end()); //Find max element std::vector<int>...

 
@Kaz With only mortar boarding every day it's 73k rep a year, where did you get 3M?
 
Wow, this site must be super secure /s I had to login on the website, then I had to login again to get into my account settings page and then I had to yet login again to access billing information
 
@EBrown he is getting 909 up votes a day => So if there were no cap he would skyrocket to 3M/year. (This is what I think he meant)
 
Ah
 
0
Q: PHP tagging script

user2351471I have created this PHP script in Laravel. I have database table with items and in my app I can create tags with different regexes. If regex matches text in description or epoch. I will insert relation into ItemTag table. My current solution is really slow (few hours to run). I have about 200 00...

 
2:52 PM
@skiwi If that's 3x the same credentials the added benefit is negligible.
 
@Mast Unless, someone has hijacked your session with a cookie, but for impactful operation you want the person to re-login to make sure the person or the hacker knows the password :P
 
Cookie hijacking or someone using your account while you'd already logged in but walked away, yes.
That's why you often see 2x. But 3x...
 
0
Q: Updating database based on selected check boxes

Sirwan AfifiI posted the original question here, But I think it would be nice to have someone else's eye on this code for improving the code: public override void Update(UserProfileDto item) { base.Update(item); var memberIntersestIds = _memberInterestService.GetAllPlusDeleted(); var dbIds = m...

 
Kaz
3:16 PM
I did not know excel functions supported wildcard searches
countif(range, "*[thing]*") makes this all so much easier.
 
In that case, this question is more suitable for codereview.stackexchange.com. — Dogbert 56 secs ago
 
0
Q: Any tips to create run DoSomething.org project

Shaig KhaligliI want to create own DoSomething.org clone project. They have already shared this project in github but I don't have exact idea how to begin. Anyone has experience DoSomething opensource project may help me, give some tips. Really I don't know where to begin because there are lots of modules in...

 
@CaptainObvious @Marc-Andre I just used 'Broken or not yet written' off-topic reason.
 
Great, I was feeling like a custom vote close could be more helpful, but indeed I could have chosen that one instead
 
^ Yay, free flags
 
3:24 PM
You must excuse me, I'm sleep deprived!
 
@Marc-Andre I was voting the same time you were...lol If you had voted before me I would have gone with your reason. ;)
@Dex'ter Is it just me or were there more than 3 flag options before?
I only see 'spam', 'rude or abusive' and 'in need of moderator intervention'
I could have swore we had more flag reasons.
 
@EBrown I think there were two more. But I don't exactly recall
 
Meh, the standard 'code not yet written' seems perfectly applicable.
@EBrown Duplicate and Off-topic aren't listed?
 
@Mast Not in my flag reasons. Do you have them?
 
Haha
No, because the question is already closed.
On not-closed questions I have them all.
You can't flag for closure on a closed question, for obvious reasons.
 
3:27 PM
@Mast Well give them back!
I think they only show up on questions you haven't VTC'd either.
Even if it's not closed yet.
Because I have them on your questions. ;)
 
I hope that there is no flag for closing a question when you have vote close privilege...
 
0
Q: Converting unsigned integer value into byte array

void.pointerI have a function that takes an unsigned value and transforms it into a std::vector<std::uint8_t>. The requirements (and post conditions) are as follows: The code must utilize "modern C++" up to C++14 The focus is on readability/maintainability first, performance second The most significant byt...

 
Hmm, I'm sure this can be reviewed further:
2
Q: Simple Oracle connection using JDBC

Dex' terI'm trying to continue the learning process in Java, and I've made a simple yet useful class which will allow me to retrieve the data inside a table from an Oracle DB, using JDBC. What I'm especially looking after in a review is: styleguide - as in naming variables / classes, spacing, and so...

 
@Marc-Andre Yes, there is. Which will automagically transform into a VTC anyway.
@Dex'ter It's 2 hours old.
Give it time.
 
@Mast What, so it could count in the helpful comment ?
 
3:36 PM
@Marc-Andre What does flagging have to do with commenting?
 
@Mast Sir, yes sir !
 
Also, as this does not have a definitive answer, I suspect it would be better placed in Code Review — Oliver Williams 48 secs ago
@OliverWilliams No, example code is off-topic at Code Review. — Mast just now
 
@Mast I wanted to write : in the helpful flag count... Why and how it changed to what I wrote... I don't know.... I need to sleep... badly...
 
@Marc-Andre No, doesn't count. I tried.
 
Does anybody else (except me) see something strange in here ? :D

def main([_|_] = args) do
hahaha
 
3:41 PM
@Dex'ter A nose.
 
@Dex'ter Looks ugly.
Markdown breaks in multi-line messages.
 
0
Q: Patten matchin against non empty list

G3zI'm learning Elixir and I was tinkering with a module to compile it as a cli tool. I understand that main receive a list of arguments, I would like to know if my approach to check if the args parameter is a non-empty list is elixirish enough or if there are downsides, better approaches or any adv...

1
Q: address book program which saves contacts to text file

Agnieszkapackage com.company; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Scanner; import static com.company.Person.id; public class Main { private static Scanner in = new Scanner(System.in); private static File file = new File("Addresses.txt"); st...

0
Q: CUDA binary tree / trie not working (possible race condition or branch divergence)

Ardeshir81This is my first question in this website, so if there is anything I am doing wrong, please let me know. I am trying to implement a trie (its actually something between a trie and binary tree) using CUDA! I give it an array of IPs (each of which contains 0 to 32 bits) and I wanna create a trie ...

 
3:55 PM
possible answer invalidation by Sirwan Afifi on question by Sirwan Afifi: codereview.stackexchange.com/posts/152350/revisions
 
@Dex'ter Elixir, odd things happen there.
@EBrown Oh, and VLQ.
 
Then provide your implementation and it is better to ask it at code review .se not here — Saeed Amiri 38 secs ago
 
0
Q: is given ip address is between ip ranges algorithm

ilanschI have an array of ip ranges(tuple - Start and End), e.g: [10.0.0.1 - 10.0.0.255], [10.2.0.1 - 10.5.0.255], ... I receive an additional single IP as parameter. My goal is to see if incoming ip is in one of these ranges. I am trying to see if my code works for all scenarios. Scenarios I thought...

0
Q: ping/traceroute at intervals-PYTHON

Maahir DadlaniI am pretty new to Python. I want to ping a server from my host and also trace the route it takes every 15 minutes and save it all in some kind of log file/text file. Any help is much appreciated .

 
4:18 PM
@CaptainObvious No code
 
Monking
 
Monking
 
@Heslacher You don't like omitting curly braces ? :(
 
nope
 
I never do it myself but since OP is doing it I decided to show him some "OK" examples
 
4:25 PM
Its ok, the remaining of your answer was good so -1 +1 ==0
;-)
TTGH see you all tomorrow
 
Cya
 
4:38 PM
Now its +1 ;-)
 
Hehe thanks @Heslacher :)
 
Might want to move this over to codereview.stackexchange.commascoj 58 secs ago
You should make this a different question as it is a different topic. SO allows you to have an unlimited number of questions. Stackexchange Code Review may also be useful — James A Mohler 32 secs ago
Maybe try debugging, or at least asking at codereview.stackexchange.comddriver 34 secs ago
 
4:58 PM
@t3chb0t I don't know how to fix it. the code doesn't make complete sense
 
@denis do you mean the last question about the non-existing check-boxes?
 
and the code that was posted doesn't work --> stackoverflow.com/questions/41554920/…
 
Yeah he probably means that one
 
yes, I find this question is stupid and unclear, that's why I downvoted it and voted to close for being unclear
 
Oh btw 50 more rep for close votes privilege
 
5:02 PM
then you'll have a lot to do hehe
 
@Malachi I also wrote an answer to the question you might want to check it out.
I agree it's a little bit unclear.
 
@denis the code he posted doesn't do what he wants it to do
it should be closed on our site
 
it looks like we're the only two people who voted-to-close
 
there are 3 votes on that question
I thought that I had already VTC'd but I hadn't
 
5:17 PM
0
Q: Simple C++ Memory Pool

zhaochenyouhttps://github.com/zhaochenyou/MemoryPool I write a simple C++ Memory Pool. There's a bug in OrderedPool::ReleaseMemory function, I debugged it for two weeks but cannot find why that bug happen. Please help me.

 
@JohnY I actually mostly agree (I guess, I read your comment too fast). This solution is best, except in extreme cases and even then it's not to be discarded without a benchmark. There's one more thing: A compiler can usually replace division by multiplication which makes this solution much better. Even such a trivial thing like x%3 == 0 can be fun to optimize, but the simplest solution ist best nearly always. — maaartinus 9 secs ago
 
5:35 PM
possible answer invalidation by Khaled Jaber on question by Khaled Jaber: codereview.stackexchange.com/posts/152301/revisions
 
Monking
9
 
Monking
8
 
Monking
8
 
Monking
8
 
5:45 PM
Monking
9
 
Monking
9
 
Monking
8
 
Kaz
Monking
8
 
Monking
8
 
Monking
9
 
6:04 PM
Monking
8
 
Monking
8
 
Monking
14
 
Monking
11
 
Monking
9
 
Monking
7
 
my god, it's full of stars
2
 
nooooooooooo!
2
 
ahhhhhhhh!
 
lol
2
 
You should have said "Monking".
 
6:25 PM
combo breaker
 
Duga is definitely the favorite.
 
I was like 2-3 more "Monking"s short of having a full screen of "Monking"s
 
Actually @DanLyons didn't break it, it was @CaptainObvious by saying something twice
 
out of stars...
 
6:29 PM
At last I can talk! I was so close to just break the thing!
 
LOL.
Is that the record?
 
I think so
 
17, not counting the Captain's last one.
 
I'm pretty sure this is the record
 
6:32 PM
Time to post it in the CRonicles.
 
Wat, even RoboSanta and Captain?
I smell mod abuse.
 
This type of questions is better asked on Code ReviewPM 77-1 23 secs ago
 
There's your record @Kaz
 
Oh my goodness what did I do.. 9 stars on my Monking lol
 
12 on Duga's.
 
6:36 PM
0
Q: Posting iOS notifications from sender or from receiver?

Forest KuneckeIn swift, should I be posting notifications to the iOS notification center from the device sending a text message or from the device receiving it? I'm using OneSignal, so my code to send a notification from the sender device to the receiver device looks like this: OneSignal.postNotification(["...

 
Got the close vote privilege finally :D
 
Kaz
@Mast :)
@Mast I would star, but, you know ^^
2
 
@denis so get to work now :-P
 
lol
 
@Kaz Out of stars huh?
 
6:38 PM
I was just writing answer to the first question that popped in the queue :D
 
@denis Yea, we'll expect you in the queues now :-)
 
I don't see what's wrong with this one, his code is working, and he is looking for review.
 
@DanLyons WHAT DID YOU DO?
 
@denis who knows, everything's magic in this and about this question, it looks like pseudocode
 
@EBrown too much Killer Instinct growing up :)
 
6:43 PM
@denis congrats!
 
in Duga's Neighborhood, 34 mins ago, by Simon Forsberg
@Duga do say "Monking" inRoom 8595
 
@SimonForsberg for real?! I thought you just logged in!
wah
 
Thanks @Mat'sMug I can now access all the queues ^^.
 
@Mast No idea what you are talking about... :)
2
 
Groovy #Magic
 
6:45 PM
@Mat'sMug Pfft.... I am a programmer, what do you think of me?
2
for the record, this is what @RoboSanta really said:
 
Kaz
@SimonForsberg Does that only work when you say it?
 
Sorry, can't star anymore
 
lol
 
@Kaz Can't quite remember. Apparently I set a limit so that only registered users with @Duga could do it.
 
Am I the only one in chat with stars left?
 
6:53 PM
I have stars too.
But I like my stars.
 
I used some of mine, but not all of them.
 
@EBrown I think I have some.
 
Ah good so the game is still on.
 
I HAZ STARZ
 
Get that lolcode out of here.
@SwiftOnSecurity this may help https://t.co/8JgSwfHScl
^^^ NAT in a picture
 
Kaz
7:06 PM
I just reviewed today's coffee consumption, and we're up into double digits.
That's... probably unhealthy.
 
What a mess, sorry I can not look on this code, please send it to some code review. — Maciej Sikora 48 secs ago
 
@Kaz depends on the unit of measure..
 
@Mat'sMug Ounces/gallons?
 
@DainIIIronfoot @Mat'sMug @Kaz Metric Tonnes
 
@EBrown that's a measure of weight...
 
7:11 PM
@EBrown Chinese Water Torture British Coffee Torture.
 
@Mat'sMug Which is also how they measure airplane fuel conveniently enough.
 
because the volume is highly dependent on the temperature
 
Kaz
@Mat'sMug Mugs, obviously ^^
 
@Mat'sMug Just like Coffee.
 
...
 
7:13 PM
lol a wireless device... to push a button
 
Aha!
 
now you can push buttons with the push of... a button?
 
@Mat'sMug I thought you were talking about Torture until I read the rest of the conversation
or something else
 
@DanLyons Oh dear god
2017: where you have a wireless device to push your buttons that can be activated at the push of a button.
 
@DanLyons Like this (watch for about 5 seconds): youtu.be/GQVsfeH57_A?t=4m43s
 
7:17 PM
the Graph on my user page is not working in Chrome....
 
Then don't use Chrome.
 
it doesn't work on any site in Chrome...
 
Shove Chrome under the bus.
 
The SE iOS app is being really weird at the moment.
 
odd
 
7:21 PM
It just keeps adding questions under 'Just Now' on the main page.
 
@Mat'sMug Lurking like a real 2nd Monitor citizen.
 
5
Q: Reputation Graph Area Selection not Working in Chrome

skrrgwasmeThe ability to view a reputation graph for a specific time frame is no longer working in Chrome: A user is supposed to be able to select a specific time frame for viewing in the large graph by clicking in the small overview and dragging the blue box to cover the desired time frame. Adjusting t...

 
7:46 PM
0
Q: like i have been given a pool of digits i have to count the number of numbers which can be formed from these digits that are divisible by 8

DONIn simple words you have been given a pool of digits you have to count the number of numbers which can be formed from these digits that are divisible by 8 For example 968→986, 96,8, are divisible by 8. Similarly for 888->8, 8, 8, 88, 88, 88, 888 are the possible values.

 
@CaptainObvious HAMMERTIME!
 
@CaptainObvious O RLY? like super cool
 
Is someone here used to create script with PowerShell?
 
wow that was NSFW
@CaptainObvious should I have flagged this as Low Quality?
curious as to the purpose of being able to flag as Low Quality when I have VTC priveleges
 
The VLQ flag places it in the VLQ queue.
I'm not sure whether it notifies the mods as well.
A CV places it in the CV queue, and a VLQ CV places it in both, I think.
 
00:00 - 20:0020:00 - 00:00

« first day (1348 days earlier)      last day (2674 days later) »