« first day (640 days earlier)      last day (3369 days later) » 

3:00 AM
Good night!
 
@nhgrif No, I am mjolka's self-appointed representative.
He said $1 per line, and I added $1 per line removed.
Good night.
BTW, I charge a higher rate - $.50 per character added, removed, or changed.
Guaranteed to have only 1 bug per 100 chars - fix is free if I have a higher rate.
 
i really should have specified that's $1 per LOC maintained
 
Yeah.
 
3:29 AM
Man, if I had a nickel for every unclosed tag that Spring framework just found and refuses to parse...
 
3:41 AM
@Phrancis which badge needed 600 UVs?
 
Electorate.
On questions.
Civic Duty needs 300 total.
I'll have Electorate in a day or two.
 
@Hosch250 cheers
 
NP.
Post another question soon, maybe you can answer it.
See you later, chore time.
 
sure. ping me in @Hosch250
 
OK.
Maybe tomorrow.
 
3:47 AM
This question is better suited for code review. You would be expected to share your source there for review. If you don't want it on here, then maybe try chat. codereview.stackexchange.com Have you taken the 2-hour intro course that is free on Mathwork's training page? — Katie 15 secs ago
@Katie I'm happy to do a code review but privately not to put it on public — shepherd 31 secs ago
No, this would not be good on Code Review. There is no code here to review. — rolfl 1 min ago
 
0
Q: Assist to do a simple algorithm in Matlab

shepherdI wrote a simple algorithm in Matlab and I'm asking if anyone could please just assist me on making it better as I'm a bit new to Matlab, so I'd really appreciate if anyone could please assist me. I can't share it publicly as it's not only my work, so I'd appreciate if anyone could please give me...

 
4:47 AM
If your code is working, but you would like to optimize it, this would be more suitable for Code Review. — TheEngineer 1 min ago
 
5:02 AM
0
Q: Is this an appropriate usage of goto in PHP?

r3wti've been sitting here looking at this code for a few minutes now and i think i need a second opinion. A little background: A small personal project where most nonsensitive data is distributed to some globally hosted cdn servers, which store the json. now one problem we've seen during testing ...

 
@CaptainObvious I can't help but feel that was created before.
 
> I'm not smart enough to know why goto is considered evil so I would like a different opinion.
> feel free to rollback the title if you don't like it... but this might get a little bit more views ;)
1
Q: Goto-looping: Guilty as charged

r3wtThis is a small personal project where most non-sensitive data is distributed to some globally hosted CDN servers, which store the JSON. Now one problem we've seen during testing is a few deadlocks during spike loading of Ajax resources at the precise time that the cache is being distributed to t...

 
I bit too incendiary, in my opinion.
Not much better either, from the point of addressing Jamal's objection.
 
hmm should I roll back?
thanks
 
Post this in code review and see what they say. — Fred -ii- 29 secs ago
 
5:16 AM
Anyone here know PHP?
From a quick web search, I think this is actually valid PHP:
I don't know about PHP, but couldn't you do something like while ($steps > 4) { sleep(1); $steps++; }, then do your error message after the while loop? — Hosch250 3 mins ago
Not sure if I should post as answer, though, because I don't know PHP.
OK, got an answer.
NVM.
 
5:30 AM
@200_success Thanks for the comments on the PHP post.
I deleted mine and flagged yours as obsolete now.
Incoming off-topic question, if anyone wants to help close it.
0
Q: Euler problem 17

user64322If the numbers 1 to 5 are written out in words: one, two, three, four, five, then there are 3 + 3 + 5 + 4 + 4 = 19 letters used in total. If all the numbers from 1 to 1000 (one thousand) inclusive were written out in words, how many letters would be used? NOTE: Do not count spaces or hyphens. F...

 
0
Q: Euler problem 17

user64322If the numbers 1 to 5 are written out in words: one, two, three, four, five, then there are 3 + 3 + 5 + 4 + 4 = 19 letters used in total. If all the numbers from 1 to 1000 (one thousand) inclusive were written out in words, how many letters would be used? NOTE: Do not count spaces or hyphens. F...

 
@CaptainObvious For a second, I thought this was Duga.
 
lol
it's 12:34 here, TTGTB
 
-1 hour here.
TTGTBT.
See you.
 
5:49 AM
1
Q: Query on returning locally scoped objects in python

overexchangeBelow is the program that returns function type object adder defined in function make_adder. Below is the program that returns int type object whose value is 3 As per the above two diagrams, I see the difference in return mechanism, int type object locally scoped(in make_adder) is returned ...

 
6:06 AM
0
Q: iterate through array with some undefined results

user3565538I'm iterating through array ,no errors found, but when i check the console, I get, 2 undefined results and it's pointing to the for loop code block, // function constructor var Person = function(firstName, lastName, phoneNumber) { this.firstName = firstName; this.lastName = lastName; ...

 
6:46 AM
Your Rev 2 tries six times. — 200_success ♦ 1 hour ago
public function wait_lock()
{
    $steps = 0;
    while ( ! $this->is_enabled('cache-lock') ) {
        if ( $steps >= 1 ) {
            // the following method is a short cut for throwing an exception.
            $this->e('cache error. wait a few moments and try again. if the problem persists, contact the administrator.');
        }

        sleep(1);
        $steps++;
    }
}
@Brythan In the code above, I've taken your Rev 2 and changed 5 to 1. How many times does $this->is_enabled(…) get executed, at most?
 
7:07 AM
This kind of questions is better located at http://codereview.stackexchange.comJens 1 min ago
 
7:23 AM
@Jens Code Review might make the code look prettier, but there probably isn't much performance gain possible by tweaking a prepared statement executed in a loop. To improve performance, you might be better off asking Database Administrators. Perhaps a BULK INSERT could help. See the MS TechNet article for tips, such as temporarily disabling logging and indexing. — 200_success 23 secs ago
 
7:35 AM
Monking @all
@Duga you could use a fancier icon for your avatar
 
0
Q: Simplifying the code with same list comprehensions

user2734570I have such method where: primary_images is dict, additional is dict, get_uri_text is some decorating method, marker is telling how to parse two dicts how can I simplify this method? @staticmethod def decorate_sort_images(primary_images, additional_images, get_uri_text, marker=False): ...

 
I think your question is downvoted because of this: "I seek your advice in finding a better way to do this using css transitions." That's not a good question. Please ask specifict questions if you have a problem. SO ist not a code review site. — Lutz Horn 8 secs ago
 
hey
 
7:52 AM
hey @skiwi
 
0
Q: Find relative filenames recursively in Emacs

Håkon HæglandBackground I have a set of directories. For each directory I have a set of relative file names. I would like to select any of these relative filenames using completion, and then later reconstruct the absolute path of the filename. Question In order to create a list of relative filenames for...

 
@CaptainObvious …speaking of which, vi.stackexchange.com now exists!
 
8:21 AM
This question appears to be off topic. I might belong at codereview.stackexchange.comjurgemaister 23 secs ago
 
8:39 AM
Yay~ First page of users
3
 
9:02 AM
Many thanks to @rolfl bounty =D
415	 yesterday
 
But you posted a question on Code Review over a year ago! — 200_success 1 min ago
 
9:13 AM
Nooo undelete it
we must have more lolcodes
 
0
Q: Print all combinations. Any comments?

Gokul NathQuestion: Input String 1 = {1, 2, 3, ... , 26} Input String 2 = {A, B, C, ... , Z} Output Result 1 = {1, A, 2, B, 3, C, ... , 26, Z} Output Result 2 = {1, A, 2, A, B, 3, A, B, C, ... , 26, A, B, C, . , Z} Solution: public class Combinations { private static String stringNumbers[]; ...

 
10:07 AM
Monking
 
Monking @SimonAndréForsberg
 
10:23 AM
I'm voting to close this question as off-topic because it's more appropriate for codereview.stackexchange.com, if anything. — deceze 1 min ago
 
10:36 AM
0
Q: Scanning colon separated data in C

Rachit BhargavaI have a text file with 600 lines with data arranges as string;integer;integer;integer;integer;integer I want to print out only those lines into a textfile '1.txt' where the last integer in each line is '1' Using (in C) fscanf(p1,"%s%c%d%c%d%c%d%c%d%c%d",str,&f,&a,&f,&b,&f,&c,&f,&d,&f,&e); ...

 
10:55 AM
0
Q: Need fast csv parser for Python to parse 80GB csv file

kotlet schabowyI am looking for a very fast way to parse a huge csv file of 80GB and 300 columns. The csv file does not have backquote commas like a,"blah,blah,blah",c So I have tried csv module which gives me about 50MB/s speed. with open(file_name) as csvfile: reader = csv.reader(csvfile,delimiter=',')...

 
11:32 AM
0
Q: can this gauss elimination be better implemented

Ahmed Abd El MawgoodI have written a code for Gauss elimination #include <stdio.h> #include <stdlib.h> int gauss(double* matrix , int x, double* sol); int main(){ int x; scanf("%i",&x); double *mat = malloc((x+1)*x*sizeof(double)), *sol =(malloc(x*sizeof(double))); for(int i=0;i<(x+1)*x; i++) scanf(...

 
11:59 AM
0
Q: Remove duplicacy from two switch statment

Debmalya BiswasI am very much new to design pattern. I try to modify Rock, paper, scissor game from an example book where I try to add more various design pattern. But I am encounter two same switch statement which I think have duplicacy and I don't have any idea how to remove those duplicacy. Here are code sni...

 
12:10 PM
I hate this turmoil.
 
12:40 PM
@SimonAndréForsberg LOL
Greetings, Programs.
 
Greetings, @Donald.McLean :)
I thought you might like that one ;)
 
@Mat'sMug according to SO, vb and c# can't be compiled into same DLL.
Or if it can it is way more hassle than it is worth.
 
Hey @Simon, meet @maple_shaft
 
He's interested in hearing about Duga
 
12:48 PM
Hey @maple_shaft
 
@SimonAndréForsberg hi!
 
Are you here, @Duga?
 
He's not ;-)
 
Hmm... my Bot is missing
and it's still a she
 
I like the idea of the chat bot that is running looking for comments mentioning code review
 
12:49 PM
thanks. I We like it too :)
 
I want to basically copy the cron job in this app for Programmers
I am unsure how to proceed
 
This GitHub SE Chat service hook, is there supposed to be only one running instance of this?
 
well, it depends a bit on wwhich platform you want to run it I guess
 
Well it looks like there is a ScheduledTasks class that has a Spring cron job for your code review bot
 
12:51 PM
it's currently running in a Spring MVC environment, wwhich maintains only one instance of it
yup, there is
 
the bot is also being used as a wwwebhook on Github, for informing about github activities
 
oh...
so the app informs who of what is happening on its own GitHib project?
thats so meta
 
but it shouldn't be too hard to extract the part checking the StackExchange API
 
it monitors a number of other projects too... ;-)
 
12:53 PM
Hmmm
 
@Simon - I was thinking it should be even easier to add a second loop through the retrieved comments and post them to the Programmer's chat room if relevant....
 
yup, it does some API requests every now and then to github to see if there's been neww activity in various projects (the SEDE, for example)
 
The voices in my head are screaming at me about Single Responsibility Principle
but I digress
 
@rolfl oh definitely. If @maple_shaft would like, I could have @Duga post to programmers too
 
@SimonAndréForsberg So you would be willing to change the code to do this?
 
12:55 PM
@maple_shaft I'm blaming @skiwi for parts of the mess in this project. He started it. I've tried to refactor a bit. I think most classes follows SRP though
 
We will call him DugaSAK (SAK -> Swiss Army Knife)
 
@maple_shaft well, sure. I have already registred wwith the SE API, so I have 10k requests per day. Also posting to Programmers would not make me use more of those requests, as I am already grabbing all comments.
 
@SimonAndréForsberg Maybe a fork is in order? I just think if it was multiple projects and Maven modules that it might be more reusable
 
Ahhh, the price of success.... Maven
 
@maple_shaft that is absolutely true. It could use a bit of separation. Right now, everything is in one big piece.
 
12:58 PM
@SimonAndréForsberg If the program is grabbing ALL comments then I am sure the Stack Exchange servers would thank us not to run 100 instances of this thing
 
@maple_shaft You want to run it on your own Tomcat server? (or similar)
 
@SimonAndréForsberg Well maybe?
 
@maple_shaft it's only doing 1 request every 2nd minute though :) but true, 100 instances would be.... a lot :)
 
I don't understand it enough to make sure I am not going to run some of the other features and screw up somebody elses workflow
again...
 
@maple_shaft feel free to ask me about anything. I am mostly around.
 
12:59 PM
separation of concerns would be beneficial
 
@maple_shaft - you should understand a bit of the history of the project for it to all make sense....
it started off as a chat bot.... that's all...
 
@rofl I am too much of a Software Engineer to be a good programmer
damn
 
then, since it could chat, it made sense to add 'feeds' to it.
 
i did it again!
 
the comments-related-to-code-review is the most recent addition to the feeds.
(Simon I am sure is scrambling to find out where Duga went...).
 
1:01 PM
it is being used a lot here, informing about github stuff:
 
There are 5 branches... assuming I pull one and commit some changes, which branch should I commit to?
 
03-Feb-2015 05:42:34.599 SEVERE [http-nio-80-ClientPoller-1] org.apache.tomcat.util.net.NioEndpoint$Poller.run
 java.lang.OutOfMemoryError: Java heap space
whoops
 
lol
 
Monking!
 
Ahhh, Duga.
 
1:03 PM
yo
 
@maple_shaft duga-live is the one that is being deployed. stackapi was the recent addition of the SE api usage. You can also create your owwn branch if you'd like.
 
yo, @maple_shaft!
 
@Duga Hi... Simon is doing a good job of answering a lot of my questions
 
Yes, Simon is good
I am just "good enough"
 
I was hoping to change the code review chat bot job to also identify mentions of the Programmers site and post them to our chat room
 
1:06 PM
@nhgrif AFAIK that's correct.
 
I kind of want to pull, make the changes, possibly test safely in Tomcat, and commit and push my changes to the appropriate branch
 
@maple_shaft that shouldn't be too hard
@maple_shaft push to stackapi then
 
Do I have push rights?
 
nope. You can fork and then make a pull-request to my repository
 
I am not the best with Github, more of a corporate Git user
 
1:07 PM
Enthusiastic.... ;-)
 
Welcome to the 2nd Monitor @maple_shaft!
 
I wwill be waiting for a PR :)
 
@SimonAndréForsberg Fork the whole project?
 
WWhile you're here, you should tell us what is really on-topic on Programmers ;)
5
@maple_shaft yes. exactly. that is the Github-way to do it.
 
@maple_shaft you get your own repo to do stuff by that
 
1:09 PM
@SimonAndréForsberg Basically anything that @gnat ignores
4
:)
 
Excellent answer! :)
 
on a completely unrelated note. could somebody tell me why django tutorial assumes that running a bare python file would do anything??
 
@SimonAndréForsberg Oh man. That would be nice to know.... lol
 
@SimonAndréForsberg @Duga Thanks guys... I will play around with this in my spare time. I don't have much of it though so it may take me a while
 
@RubberDuck and we're like 70% through with moving a bunch of different vb dlls into one vb DLL...
 
1:12 PM
@nhgrif And there's like 5% of it done in C#, right? Ouch man..
 
@maple_shaft I could add the feature to @Duga in five minutes if you would like :)
 
0% in c#
 
although searching SO for "programmers" might give you more comments than you wwowuld like...
 
I wanted to start doing c#. That seems unfeasible at this point.
 
@SimonAndréForsberg - how about feeding the programmers questions in to the duga playground first
 
1:13 PM
@rolfl good thinking! wwwill do.
 
@SimonAndréForsberg Sure why don't you do that then
 
Then te programmers folk can decide whether it is useful
 
I just realized how busy I was... this would take me hours since I have never forked a repo in Github before I would be learning most of the time
 
alternatively, it would have to be "programmers.stackexchange" I guess. That wwill detect the link
 
1:15 PM
@SimonAndréForsberg The problem with that is that these users are too lazy to read our Help Center, they are also too lazy to link our site in their comments
I was thinking also a case sensitive match on the word "Programmers"
this should exclude false positives as it is a proper name
 
@nhgrif Well, does it have to be in a single dll? There's no technological reason the VB code can't call the C# dll and vice versa.
 
@maple_shaft if they're too lazy to read your help center, and too lazy to link to the site, you expect them to type a capital 'P' ?
 
If that is just too spammy then optionally you could additional criteria for where a comment contains both "Programmers" and "better fit"
 
@maple_shaft a fork is just one click
 
@maple_shaft I wiwll start by capturing everything containing "programmers" with case-insensitive, and feed that to Duga's debug room. Then we will see how to further narrow it down.
 
1:18 PM
where is the link to Duga debug room?
 
@maple_shaft but also "on-topic on programmers", "should be posted at programmers" ...
 
I am interested in teh results
 

 Duga's Neighborhood

It's a beautiful bot in the neighborhood. Would you be mine, w...
 
@SimonAndréForsberg Agreed and thank you
 
@RubberDuck I don't want a split language code base right now...
 
1:20 PM
Monking!
 
@maple_shaft No problems. For the record: WWe also get some 'false positives' from time to time.
2 days ago, by Duga
When you used the debugger, and executed each line one at a time (and looked at the variables' contents), which line is giving the issue? BTW, using a debugger is a lot faster than asking for a code review from StackOverflowThomas Matthews 2 mins ago
 
@SimonAndréForsberg lol I wouldnt even care if I was paying you to do this :)
its better than what we have now!
 
@nhgrif Oh yeah. I wasn't really recommending it. Just saying that it's possible. It would be a ton of pain until (if) everything got ported over.
 
@maple_shaft whoa, wait... are you willing to pay for 9 lines of code ?
 
0
Q: 2 way communication python socket

AlexDev4LifeI'm trying to create a 2 way communication socket in python. The socket will listen for connections from the client until it gets the data formatted in string like this: 'PHONENUMBER|STATUS'. I will need to split that and convert it to json which will be sent via http request to a web api. When t...

 
1:32 PM
@maple_shaft what do you have now?
 
Nothing I'm guessing.
 
1
Q: Better implementation of Gaussian Elimination in C#

Ahmed OsamaI made an algorithm in C# that solves any system of linear equations using the Gaussian elimination. There are 2 text boxes in the program for input and output. Input is in the format of the coefficients of the variables separated by spaces and lines. I want to know if this code can be cut shorte...

 
> I'm voting to close this question as off-topic because this question is about a library recommendation / different algorithm rather than improving the current algorithm.
Does this make for a valid close reason on CR?
 
@Pimgd Maybe maybe not. What question?
 
I'd like to not involve the question, but okay
1
Q: Need fast csv parser for Python to parse 80GB csv file

kotlet schabowyI am looking for the fastest to parse an 80GB csv file with 300 columns. The csv file does not have backquote commas, e.g a,"blah,blah,blah",c I have tried the csv module which gives me ~50MB/s speed. with open(file_name) as csvfile: reader = csv.reader(csvfile,delimiter=',') for row ...

 
1:44 PM
@Pimgd I'd say it is on-topic here
 
@nhgrif How about using ILMerge ?
 
Is code included directly in my question? (See Make sure you include your code in your question below.)
Am I an owner or maintainer of the code?
Is it actual code from a project rather than pseudo-code or example code?
Do I want the code to be good code? (i.e. not code-golfing, obfuscation, or similar)
To the best of my knowledge, does the code work as intended?
Do I want feedback about any or all facets of the code?
@Pimgd what would you say the answer is to those questions for this one? ^^
 
yes yes yes maybe yes no
screw readability, I want 200 MB/sec
That's why he posts 3 lines
and not the whole thing
 
That's exactly why I asked. I had a feeling, but without knowing, I wasn't able to recommend that you separate the GUI from your method so that it becomes testable. =) Now, hopefully someone stops by to look at your algorithm. Welcome to CR! — RubberDuck 35 secs ago
@Pimgd I actually VTC'd as unclear. I didn't feel there was really enough code for a meaningful review.
I'm sure others here will disagree with me about that though.
That's why it takes 5 votes =)
 
Well it's pretty obvious what he's asking
@RubberDuck this argument is flawed, see motivation about gold dupehammer on SO
Vote as if you're the only one deciding the fate of the question
 
1:51 PM
@Pimgd gold dupe hammer is an entirely different thing. off-topic and duplicate is not the same thing
 
or 5 people will go "eh, someone else can make the final decision"
@SimonAndréForsberg People were worried about their gold tag power instantly closing questions and the response they got is "You should already be voting as if your vote is binding"
 
@Pimgd I did vote as if I'm the only one deciding the fate of the question. I think it's unclear.
 
@Pimgd hadn't heard about that. I am very happy to have golden dupe power here on CR, even though it is very rarely that I am able to use it.
 
But the reason it takes 5 votes is because we don't all agree about the topicality of some questions.
 
@RubberDuck you are right, I don't agree. But I am glad it takes 5 closers.
3
 
1:55 PM
@RubberDuck I probably can't argue against opinion
But "Unclear what you're asking"
> I am looking for the fastest to parse an 80GB csv file with 300 columns.
Well, lemme fix it for you.
> I am looking for the fastest way to parse an 80GB csv file with 300 columns in Python.
 
Oh no. I get where you're coming from. I'm using a bit of a different interpretation of that close reason.
 
There we go.
 
You don't seem to get where I'm coming from though. What kind of meaningful review can come from reviewing 3 lines of code?
 
@RubberDuck =D Isn't that what Other is for
 
It's insufficient context.
 
1:57 PM
@RubberDuck ding ding ding ding
 
context.insufficinet == questionStatus.unclear
@Pimgd That would be a SO question in my opinion... Don't ya think?
 
I'm voting to close this question as off-topic because not enough context has been provided, and currently it's a library/algorithm recommendation question. Code Reviews are done over more than just 3 lines of code. Perhaps this should get migrated to StackOverflow instead. — Pimgd 1 min ago
Software recommendations could work too
with
They have other questions like this
7
Q: PHP OCR library

Nick WildeLooking for a OCR Library to integrate into a PHP/JS/HTML5 Web Application. PHP is preferred however any language can be made to work via exec so if a non-PHP option is faster or high quality I'd like to hear about it. Requirements: "fairly" good quality of OCR. relatively fast conversion (and...

 
2:14 PM
hmmmh bacon cookies
super tasty
 
Didn't know about codereview. I will post it there. Thanks! — Pablo Alonso 1 min ago
 
Monking
 
I see you were talking about my creation
As suggested, I posted this on [codereview][codereview.stackexchange.com/questions/79469/…. — Pablo Alonso 33 secs ago
 
@Duga hi @skiwi
first "Programmers" hit:
in Duga's Playground, 2 mins ago, by Duga
Your question is probably too open ended for a good SO question. See here [stackoverflow.com/help/dont-ask]( stackoverflow.com/help/dont-ask). Perhaps you should consider another similar site like http://programmers.stackexchange.com/ where discussions can take place. — Brian Tompsett 2 mins ago
 
why does TimeUnit not come with centiseconds
 
2:27 PM
because there's milliseconds and you can multiply that by ten?
 
but that implies greater precision
 
1
Q: How would you simplify this javascript constructor?

Pablo AlonsoI'm working on improving my knowledge of OOP in JS. I just created this custom dropdown selector. It's working nicely, but I'm not super happy about the Filter constructor. I would like to make all that code more readable. It's basically just defining some attributes and setting some event listen...

 
On the scale from 0 (OK) to 10 (trainwreck of thought), this code is about 140. I suggest to start from scratch and redo all exercises, showing them on codereview.com, one by one. — n.m. 1 min ago
 
related:
int storeline(char s[], int lim) {
    int i;
    int c;
    for(i=0;i<lim-2&&(c=getchar())!='\n'&&c!=EOF;++i){ /* this loop breaks at i==15 */
        if (c==' '||c=='\t') {
            while((c=getchar())==' '||c=='\t');
            s[i]=' ';
            ++i;
            if(c==EOF)
                break;
        }
        s[i]=c;
    }
    if (c!=EOF) {
        s[i]='\n'; /* a newline is added in s[15] */
        ++i;
    }
    s[i]='\0'; /* a '\0' character is added at s[16] */
    --i; /*no more characters have to be added so I bring the count of the characters down by 1 (a further unit
oh yeah, that looks fun to understand.
 
I may have found @Duga's creation!
in TCG Creation, Aug 22 '14 at 16:30, by skiwi
I'm currently thinking about making a web server/service that will post commit messages to chat
 
2:31 PM
@skiwi quick build a time machine and prevent yourself from unleashing the spam
 
@Pimgd Nooooooooooo
 
You're right.
You don't have to be quick about it.
 
@Pimgd Are you having complaints about @Duga?
 
Actually no
I wish the codereview comments were a bit more on-topic, but that's user error (by SO users)
 
In it's current state, this question does not belong on Code Review. Code Review is not for understanding why something happens. But if/when this code works as expected, feel free to come by and we can help you clean up the code! — Simon André Forsberg 1 min ago
 
2:35 PM
and by wishing that I'm probably missing the context of why it does what it does
 
@Heslacher what's that?
 
@Pimgd It is doing what it does so that we can intercept the questions before they come here and gets closed as off topic.
 
Combining multiple dll's into one
 
Hmmm.... The Samsung Galaxy S6 Edge 128GB is estimated at 1050 euros, that's really insane
 
2:36 PM
@SimonAndréForsberg then I guess it does it well
 
Circular references?
I thought Apple made the expensive mobile devices...
 
Oh France... Someone stole 20 million worth of postage stamps out of a truck, wow, just wow
2
 
That should make for some interesting job security in th epostal service at least.
 
I'd laugh as manager... except that may not be that appropiate if it's about 20 million
 
3:23 PM
Okay. This one has me stumped. I can confirm the smell (which I think comes mostly from the operator overloading...), but can't quite figure out how to clean it up. Everything I come up with means overloading or overriding everything. Perhaps there's a solution using generics??? Idk.
5
Q: Inheriting methods of an immutable type

DLehIn my project, I have a type BalanceByBucket that is an immutable type and has a bunch of methods. I have another class called a FundBalance which is basically just a BalanceByBucket that has an extra int FundID property applied to it. I want this FundBalance to also have access to all the same ...

 
3:36 PM
So, I have a really complicated web application I need to install and use for work.
It has hooks in to many other applications.... like, dozens of places.
It requires multiple API keys, permissions, authorizations, certificates, configurations, URL's, etc. to link to the places it needs to.
 
nice! so what are you waiting for? Start hooking! :)
 
For the past while (weeks) I have been trying to figure out why some things are 'greyed out'.... in the interface.
 
methods that never gets called?
 
Am I missing a configuration, is there a borked permission, is a URL wrong, is there a mismatch in the configs between one component and another.....
I have torn apart the interfaces/integrations multiple times, and checked everything.
I found some problems, DNS errors, etc... but fixing them did not help.
I just solved it now.... ;-)
Works in Chrome, not FireFox.
Now, how do I justify the weeks?
This is the problem with working 'in the dark' on stuff used out of context, for a purpose that it was not designed for, in an environment it's never been used in
yeah, I should have found that out sooner.... everyone is so quiet....
 
@rolfl Web development for the win
First thing I would is document that the application works with Chrome and not Firefox.
 
3:43 PM
The thing is, that I have had to start somewhere, and this component is the 'hub' of the wheel. I did not expect it to work fully until all the spokes were installed.
So, in the past few weeks I have had to learn a new spoke, and install it, etc... so, I keep thinking, OK, if I install this partX, maybe it will just work.
I recently started running out of spokes to install.
Now I probably have more things installed than I need... but, it's not wasted time. I could have done some demo's earlier though.
Definitely not all wasted... just got this error message:
user image
5
(FWIW, there's nothing microsoft in my code stack.... I don't think).
 
@rolfl "I mean, it's not our fault our architect was high on Win32 API when he designed the logging system"
(or similar excuse =D)
 
One more problem to diagnose....
 
1
Q: An Army of Ones

LegatoI've been practicing using recursion lately and thought this was a case where it would prove really useful, is this good use or is there some superior non-recursive way to go about it? Challenge: Write a program which determines the number of 1 bits in the internal representation of a given ...

 
bleh
Either I have to watch a ton of different directories
or I have to figure out some way to make the filtering for them easy
 

« first day (640 days earlier)      last day (3369 days later) »