« first day (972 days earlier)      last day (3342 days later) » 
00:00 - 21:0021:00 - 00:00

00:00
RELOAD! There are 1644 unanswered questions (94.5286% answered)
11
HAPPY NEW YEAR, GRADUATED CODE REVIEW!
10
Happy new year, @Duga.
Lol. Graduated. That's right!
And yes! Happy New Year @Duga!
Where's @Malachi when you need a starwall?
00:01
RD's latest refactoring.
Not quite crickets @Phrancis. I like to quack.
@Phrancis Didn't you already get the hat? No need for a wall this year.
2
Whoa! Extract Class! Nice!
@RubberDuck Did you see Extract Interface?
@Hosch250 BUT... It's fracking Stack Exchange 2016!
00:03
0
Q: How secure is my password encryption script? (Golang, AES256, pbkdf2, hmac)

Desmond LeeFirst, I want to say that this is just an learning exercise and I do not intend to use this in production. I wrote a small application in Golang with two functions: encrypt(plaintext string, password string) and decrypt(encrypted string, password string) The encryption steps are: Generate ran...

@Hosch250 That's badass
I did. I keep my eye on the project, even if I have a hard time contributing.
I haven't wired the members display up yet. Supper is going on in a sec, and I just applied for an internship at Land O'Lakes.
Wow, my big cheerful message didn't even get one little star :(
I heard about that too. I was lurking.
Fixed it @Phrancis
Whew! It's tough staring things on my phone.
2
00:06
@RubberDuck Starred because I agree.
@Phrancis Eating the paper?!
Is he... Smoking butter?
2
lol yes
Oh, I didn't see the flame :P
00:06
Eh, better than documentation.
5
Nov 30 '15 at 20:57, by skiwi
@Phrancis Docuwhat?
Lol
3
That's what we have at work.
Someone's gonna run out of stars.
@RubberDuck Dude, you wouldn't believe what I found in our code base today
3 hours ago, by Phrancis
OMG, someone wrote a debug mode built into a SQL stored procedure... genius!
Do I wanna know?
LOL you can reply to messages in the future
00:18
@Phrancis did someone say Starwall?
2
@RubberDuck not yet I just started
What's a Star?
ummm
> a fixed luminous point in the night sky that is a large, remote incandescent body like the sun.
> a conventional or stylized representation of a star, typically one having five or more points.
@Malachi you were out of stars 15 minutes ago by this time last year, I think
probably
Dec 31 '14 at 23:59, by Malachi
I smelled all the stars and had to come check it out
3
00:30
I haven't gotten a hat yet?
2
there it is
Lol. @Phrancis I've done that.
IF @Debug = 1 Then Print "hi!"
I refreshed twice, once before I said I hadn't gotten the hat and then right after. and I literally got the hat right after I posted that....lol
@Malachi I blame caching
2
I blame the fact that I still have stars....somehow
4
End of the world is nigh. @Malachi has starz
2
(For now)
00:34
> Did I miss a @Malachi-has-stars-fest?
4
Well guys, I hear a brew calling my name. Happy New Year Stackland!
2
Happy new year!
Happy New Year
check this out guys
-3
Q: Geocode locations on map centered by city hall address pulled from oracle server

user93627Ok, here it goes, I am by no means a web programmer, so try not to laugh, but with google and the internet and some java, i have been able to build a site that has worked for the last few years just fine on a 2003 IIS server, this site pulls city hall account data from an oracle server and based ...

it's VBScript and even says so in the code
WTF
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
Best is the reference to java in a vbscript question tagged javascript
00:40
To be fair, most people who don't do much coding get languages/techs mixed up all the time. I had to clarify to a friend that Java and JavaScript are not the same thing
@Phrancis there is javascript lower in the page. but VBScript handles some decisions even in that
Chances are they probably typed "script" and picked the first tag
@Phrancis at my last job I had to tell a Network Services guy that Javascript is not Java
oh yeah and VBScript only runs in IE IIRC
@Malachi EW. Although, you said "Network Services" so those are probably the front-end people who actually talk to [external||internal] customers
there was some security thing about Java and someone said that they should turn it off on the browsers in the active Directory stuff
can't remember the name right now
00:44
@Malachi Why don't we get right on that very specific request ;D
some security setting across the board of all users on the network. what is that called?
right on the tip of my tongue
I did see come along some news about a recent lawsuit regarding Java security, though it was for versions which are not very recent. It had to do about Java keeping old versions of itself when you updated, instead of overwriting/deleting
group policy or something like that. they wanted to turn of Javascript on everyone's IE because of the Java thing.
I literally Facepalmed when I read the email that went through all IT
and then responded that JavaScript is not Java
@Malachi What kind of interns were you working with?
it was a network services guy that has been there for like 15+ years
00:50
#define Java JavaScript
3
@Phrancis Happy debugging :P
Waiiiittttt
This last thing we were talking about...
It uses VBScript and JavaScript in the same file
WHO DESIGNED A SPEC LIKE THIS... AGH!
<%
    Dim ACCOUNTS
    Dim ACCOUNTS_cmd
    Dim ACCOUNTS_numRows
    Set ACCOUNTS_cmd = Server.CreateObject ("ADODB.Command")
        ACCOUNTS_cmd.ActiveConnection = ACCOUNTS_STRING
        ACCOUNTS_cmd.CommandText = "SELECT Account_Code, Account_Heading, Account_City, Account_State, Account_Zip, Account_Url from Csbautomation WHERE ACCOUNT_CODE ='"& Answer &"' ORDER BY Account_Code;"
        ACCOUNTS_cmd.Prepared = true
    Set ACCOUNTS = ACCOUNTS_cmd.Execute
        ACCOUNTS_numRows = 0
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xht
Oh and it's got XML mixed in, awesome.
Oh and it's got some SQL sprinkled in there too
Oh and it's got ... why hasn't someone rewritten this?
3
01:06
@Phrancis Probably because no one understands how it works.
3
That's a terrible reason not to refactor some code... But, I get it. That happens with production code all the time, AFAIK
Nice mousepad @Phrancis :-)
also monking
monking
01:27
@Phrancis the school I went to had the same spec on all of their pages (besides the Microsoft SharePoint ones)
Once the sysadmin/maintainer asked for help with a bug, and my suggestion was to use anything else
01:47
0
Q: Java, Best way to Cache MongoDB?

Crypt JuniorI'm not really experienced with caching databases I'm wondering what is one of the most efficient ways to cache MongoDB. I heard caching it with Redis is a really good way to handle future data from players. I'm currently handling thousands of players atm it's starting to slow down a bit because...

@Phrancis that is what I was talking about
why not mix everything you can into one file? just have every language in there
anyway. Happy New Year everyone I am going to go pig out on Hostess snacks, Sunchips and probably some popcorn.
see you all next year!
02:29
If the code if working you should ask this at another site of the stack exchange web, named codereview. — davejal 31 secs ago
02:41
please no, not that one
 
2 hours later…
04:17
One of the things a programmer must learn on joining the workforce, if not before, is never to re-invent wheels. This may be a fun exercise, but don't expect your code to pass code review if you do this kind of thing in a commercial setting. — David Wallace 44 secs ago
Anybody around to be greated with a happy new year?
@holroy Happy new year!
Happy new year to you as well!
Are you having a good one?
Oh yes, just came back to my apartment after being with my family through New Years eve! (local time: 05:25).
Good fun, good conversations and games, so far 2016 has been a good year! :-)
And you?
04:27
Doing okay. The partying has finally died down, and I am able to relax.
Has there been a star mania around here lately?
2
Maybe ;)
I would suspect it... ;)
Do you remember how long Winter Bash will last? Was until January 4th?
I'm not quite sure. I wasn't around last year.
OK... I guess you don't know how fast they "disappear" either then?
04:31
Probably not 'till the month after.
I'm kind of thinking on whether and how I want to "store" my hats...
As in, take screen shots and crop them?
Somethling like that...
I think Mat did that last year.
in Tavern on the Meta on Meta Stack Exchange Chat, 11 secs ago, by SmokeDetector
@Quill-HATMANIAC HURRY UP AND EARN MORE HATS! Winterbash will be over in 2 days, 19 hours, 26 minutes, and 20 seconds. :(
04:34
@Quill-HATMANIAC You need to get at least 7 more hats, so we can see if the windows will scroll or not... :-p
there's not 7 more
HeHe... Sure?
Do you have some hats up your sleeve? Or do you think you've gotten all you can?
I may be able to get one more, we'll see I guess
I'm rooting for you to be at the top! :-D
I'm tying for top, but thanks :-)
04:40
I'm top of CR.
nope... #2...
@holroy Huh?
Hosch250 seems to be above you...
I have 32, Quill has 31.
@holroy I am Hosch250.
@holroy for CR
not for network
anyway, I'll rep cap later
04:42
My bad... Quill started out, and I didn't notice you entered the scene Hosch250!
I'm tied at #9 for network-wide.
Congrats to both of you! It takes some effort to be up there!!!
I wasn't actually trying until I was the top at some 16-20 hats. Then I decided to stay there.
Hi, @RubberDuck.
How are things going?
04:46
Tired. Kids wanna watch the ball drop
I think I'm going to go to bed at 11, but I remember staying in the new year.
At least you only have 13 more minutes to wait.
You haven't started the new year yet?
We're almost 6 hours into it already...
@holroy I'm central time. Rubberduck is Eastern time.
Central time that is in the middle of the US?
Yes. We are at 10:48 right now.
Mountain time will be 9:48, and Pacific time will be 8:48.
04:49
And eastern time is 11:48?
Further west, the sun probably won't even be set yet.
@holroy Yeah.
I'm out for the night/day. Have a happy new year!
@SirPython Happy new year!
Happy new year to you as well!! Happy new year to you all!
I'll most likely go to bed soon too (after being up talking with my nieces and nephews till 05.00am in the morning...)
@Mat'sMug Best Title hit 10. I still don't agree with it (kind of like a multimillion dollar company getting a tax rebate), but I'm not going to spoil everyone else's fun.
05:00
Happy new year!
Happy New Years, @RubberDuck @Mat'sMug, and everyone else on EST.
And good night.
 
1 hour later…
06:20
Hi, pretty much everything before "I am adding another service to an application" doesn't really belong in this question. Also, unfortunately this site is not an appropriate place to ask open-ended questions like "is there any advantage to doing so". If you have a specific question about specific code that can be answered more or less objectively, I suggest editing your question to reflect that (and cut out all the "introductory" fluff; it's not relevant to the question at hand. Otherwise, I'd suggest visiting the Code Review site if you just want your existing code to be improved. — TylerH 21 secs ago
07:00
1
Q: One line functions in C

TomIf I have a oneliner in C such as size_t maxSizeOf(const char *s) { return strlen(s) > M_MAX_SIZE ? M_MAX_SIZE : strlen(s); } would it be better to have a macro defined such that #define MAX_SIZE_OF(s) (strlen(s) > M_MAX_SIZE ? M_MAX_SIZE : strlen(s)) or would it be better to have ...

07:47
0
Q: print first 100 prime numbers

Ahmad AffanWrite a program to print all prime numbers from 1 to 300. A Prime Number can be divided evenly only by 1 or itself. And it must be greater than 1.

08:02
Please add some simulated data, the code you tried and what you expect the result to be (no code/data pictures, please). Code review isn't really the central theme of this site, but rather solving one problem at a time. — Roman Luštrik 36 secs ago
2 weeks later…
08:58
Is their a different meaning CSS selector syntax .outer.inner{color:green;} and .outer, .inner{color:green;}?
09:40
0
Q: Playing MIDI instruments in Java

coderoddeThis program offers 8 notes C, D, ..., A, B, C on keyboard keys 1, 2, ..., 8. Also, by typing Left or Right, you can cycle over MIDI instruments. KeyboardPiano.java: package net.coderodde.music; import java.awt.Canvas; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import j...

09:57
@overexchange I'm not sure, but I'd say yes.
The first one sets the color of inner which is a child of outer to green. The latter probably creates .outer and sets .inner (which in this case is not necessarily a child of outer) it's color to green.
I think.
10:19
@Mast jsfiddle.net/jdp3okLu unlike you said
@overexchange Curious. Perhaps that sites uses IE logic? IE doesn't allow class chaining in CSS.
Although it should still work in that case, it would just look different under the hood.
Ah well, can't help you then.
np
As of jQuery 1.6, the .prop() method provides a way to explicitly retrieve property values, while .attr() retrieves attributes.
what is difference between attributes and properties?
11:21
0
Q: Simple lightweight object pool

AlexThe objective is to create a light weight object pool that should be as simple as possible, but not simpler. It should be able to create and pool any type of object, be configurable (i.e. pool size) and be able to be replenish exhausted pools or timeout waiting for returned objects. It should be ...

12:19
Monking
Monking @skiwi
12:45
Monking
13:00
Hmm. 2016 looks a lot like 2015.
8
Looks like I'm just a few minutes late for an Auld Lang Syne hat.
@Mast voted to delete
@Edward I am pretty sure this giant Alien Battleship that is floating above my head didn't use to be here.
@overexchange If I remember correctly, .attr() will get the attribute as it is initially specified in the html. .prop() will give you the current value.
13:18
@Sumurai8 The Ministry of Truth assures us that we've always been at war with Eurasia.
Hi, Atif here from Pakistan
Hi, Atif!
I want to attach 2nd monitor to my desktop and want to watch video at 2nd monitor
@AtifTariq Consider yourself greeted by me. Or: Hi!
Thanks Sumurai8
13:22
@AtifTariq No, this chat is supposed to be on your 2nd Monitor. No video watching here.
Ok. Thanks
This chat is on my primary and only monitor.
@Sumurai8 Same here on my laptop.
Reminds me, I haven't set-up my 2nd monitor yet today.
grabs cables
I just keep a small browser window open for this chat room and do work on the rest of the screen.
13:25
Monking
Monking
13:37
0
Q: Permutation function in C#

VikhramOne thing lead to another and eventually I wanted to know the "proper" way of writing the permutation generating function in C#. Below is my code for generating permutations. This will go into an internal library, so the calling context is really generic. Expected calling is in a single-threaded ...

@Edward You... actually work when you have this chat open?
Yes, I do. I'm working on some C++ code right now.
Very impressive ;)
@skiwi Most of us (try to) get some work done between chatting, yes :-)
Actually, the code I'm working on may become a question later.
I'm trying to make a clean implementation of a Factory that creates different derived class based on a passed type value.
But I want it to avoid using a giant switch statement
And I want most of it to be constexpr since it will be in an embedded system with little memory.
13:56
@Edward I am going to place all the blame for future global warning on you.
That's fair.
The code you gave doesn't run. Please make sure you give a working example, preferably a MCVE. Also, you might be better off taking this to Code Review instead. — Veedrac 36 secs ago
Code that doesn't run is off-topic on Code Review, so please don't. — Sumurai8 58 secs ago
@Duga @Sumurai8: thanks for that.
0
Q: PHP code for calculator. validated but not working

user5237857So I have a calculator coded in PHP and I have validated it but there is a problem with this, its not working. I have used server side validation. Validation works well. But it doesn't do any work,for example, when I give an input like 2+8, it gives an output of 8888. This is very confusing. Plea...

1
Q: Solving Project Euler Problem 1 using extension methods

HeslacherAs a self taught developer I never did any of the Project Euler problems, so I decided to just start with Problem 1 which states If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the mul...

14:11
@CaptainObvious this question needs to be a nice question to get a hat for me. Any votes on this question will be invested in a bounty. Btw, I will also provide an answer which needs to get +3 and the rep will be added to the bounty as well.
@Heslacher One simple math trick that can be used: The sum of the list [1,2,3,4,5,6,7,8,9,10] = The sum of (1+10) + (2+9) + (3+8) + (4+7) + (5+6) = 5 * 11.
\$= \frac{1}{2} n (n+1)\$
Oh, I forget that MathJax doesn't work here.
@Heslacher Silly question, perhaps, but do you want me to answer this one?
There's a Chatjax plugin
@Quill-HATMANIAC Yes, but not everyone has that installed.
I tried to install it, but I didn't put enough effort into it and never finished it
so I can agree with that
I think most people here have it installed
14:20
@Edward why not ?
I think Rolfl and Mast do IIRC
Did my selfie now ;-)
Wondering why I didn't get the "It’s Always 5 O’Clock Somewhere" hat yet
Ask on a Friday when it's 17:01 in any timezone
I asked at 15:00:46 my timezone. Maybe that won't count for 15:01
ouch...
try again later, I guess
14:33
happy new year robots
4
:-)
happy new year human
0
Q: subset of UNIX Standard tar implementation

Ahmed Abd El MawgoodHi every one I recently implemented subset of ustar archiving utility as my first year programming one project and I would like to get it reviewed and if any one have anything to point out .. dir.c #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <dirent.h> #include <s...

0
Q: Vocabulary trainer application implemented in Java Swing using MVC

R. PriceI'm working on a little vocabulary trainer application in Java. My plan was to understand how to properly organize the Java Swing code, ideally using the MVC pattern. My concerns are: The controller registers ActionListeners to the view. These ActionListeners contain the logic to decide if the...

@DanPantry OutOfBoundsError: Index 2016 undefined
Don't. Repeat. Yourself. If the code review didn't tell you that, it's useless. Also, you're missing several unlocks. Use RAII. — Zeta 6 secs ago
@FabioPoloni ¯\_(ツ)_/¯ — Dan Pantry 17 secs ago
15:02
A bit late to the scene, but still wanted to wish you all a Happy New Year :)
3
Happy new year to you as well @DJanssens
Yeah, have a good one man :-)
@DJanssens Same to you :-)
15:41
Looks like most people are sleeping their hangover off.
Sleep. What is that monstrosity?
0
Q: Recursive program for generating and printing all permutations of the numbers 1, 2, ..., n for given integer number n

WencakisaI've just written a code for for generating all permutations of the numbers from 1 to n in Java. It seems to work, but I think it's a bit more complex than it needs to be. If someone can advice me how to simplify my code, I will be very thankful. Here's the code: import java.util.*; public cl...

16:02
@Sumurai8 Sounds like you can eat that.
@Mast bites
Hrmmm; that looks weird
16:15
Monking
Monking
Monking, Ethan
16:38
@Quill-HATMANIAC where can I download it?
my last Star I gave before I got out of chat was my last star!
@Malachi Which browser do you run?
I switched back to Firefox
found a Github Repo --> github.com/vyznev/chatjax
and it works!
17:05
0
Q: Sum even fibonacci numbers up to a limit

HeslacherAfter I have tackled the first problem I come to Project Euler Problem 2 which states Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... By considering ...

17:23
Welcome to Stack Overflow! It seems that your code currently works, and you are looking to improve it. Generally these questions are too opinionated for this site, but you might find better luck at the Code Review Stack Exchange. Remember to read their requirements as they are a bit more strict than this site. — Kevin Brown 43 secs ago
17:45
possible answer invalidation by Jonathan Smit on question by Jonathan Smit: codereview.stackexchange.com/posts/115538/revisions
0
Q: CD-ROM reader class that reads : ISO9660 volume, sectors/files (in RAW and 'user' mode)

AybeThis is a class that reads content from a CD-ROM: ISO9660 content : descriptors, path tables, directory records (i.e. the file system) sectors in 'user' mode and 'RAW' mode files in 'user' mode and 'RAW' mode (entirely written in C#, uses DeviceIoControl and SCSI MMC-3 commands) Since it is ...

@Duga Rolled-back and commented.
@Edward Well, it took longer than expected; I think I've finally handled the pocketsphinx dependency for Khronos with CMake
Only thing now is, the speech recognition got a lot more sucky from using CMU's application to integrating it into my own
18:01
0
Q: Why am I getting 'error C2440: 'initializing' : cannot convert from 'int *' to 'int' ' for array in c++?

piepiI am very surprised why this is not working. It is a very trivial array initialization process. What went wrong here? #include<stdio.h> int main(){ int a[5] = { 1, 0, 1, 0, 1 }, b[5] = { 0, 1, 1, 1, 1 }; int c[6], i; int carry = 0; for (i = 0; i < 5; i++){ int temp = a[i]...

@syb0rg Can that be fixed in any way?
@syb0rg Any idea why?
I suspect it might have to do with the formatting of the WAV file, but I'm gonna have to look further into that
As a plus of switching to pocketsphinx, I think I can now get rid of a few dependencies such as FLAC and libSndFile
0
Q: Polymorphic TLV serialization

EdwardInspired by this question I decided to write an alternative that uses polymorhphism and a Factory pattern. The code works for the subset of implemented types, namely BYTE, WORD and STRING but I have a few concerns: I'd like to get rid of the big ugly switch in the TLVFactory. Is there a way ...

it"s hard to format code correctly on my phone!
18:40
@Edward So I'm recording my audio in stereo, but I think pocketsphinx wants single channel mono
Well at least that's an easy fix.
@syb0rg You don't need stereo for voice recognition.
Unless you're pulling some advanced stuff.
@Mast But that's the default from my microphone
const PaDeviceInfo *info = Pa_GetDeviceInfo(Pa_GetDefaultInputDevice());
data->numChannels = info->maxInputChannels;
That's how I'm getting it right now, thanks to PortAudio
@syb0rg Have a hat.
@Hosch250 Aw, tanks!
18:53
Can't you just say data->numChannels = 1?
@Edward Already tried, didn't do anything to improve accuracy
I tried finding a way to set the microphone to mono, but PortAudio doesn't offer much in terms of setting options for stuff
Try feeding the same file into CMU's application and see if there's a difference.
@Hosch250 Too late.
19:09
Waiting is hard...
Trying to buy a domain name exactly at 20:16
Only 6 more minutes.
Are you compensating for lag?
@Mast Oh dear.
Latency, etc.
@skiwi What domain are you trying to get?
How about... I don't tell you? ;)
19:11
Trying to steal one from a major company?
Don't worry, I can't afford a domain name, so I won't compete with you.
@Hosch250 Nah.
We'll show you when @skiwi got it.
Eventually.
Something for OLog?
Yes and no ^^
OGame then?
Lol, I expected to do the payment already, now I"m too early
19:14
@Edward It gave a different problem with the WAV file, saying it expected a sample rate of 16000, but not much improvement once I fixed that
The guesses are more close now I guess
I thinks I said "toast" when I said "test"
Hmm it's pending, can others still get it before it's processed then?
@skiwi Yes and no.
> Status: clientTransferProhibited http://www.icann.org/epp#clientTransferProhibited
Updated Date: 01-jan-2016
Creation Date: 01-jan-2016
Expiration Date: 01-jan-2017
Others will probably have the same pending time.
I think my registrar registered the domain, but likely I'll get it Monday
19:17
@skiwi WTF...
1
Q: SortedStack implementation in Java

ZeusThis is a data structure that supports the push(), pop() and isEmpty() operations and returns the least element on every pop(). In a sense this works like a PriorityQueue only in O(n) runtime against the O(log n) runtime of a PriorityQueue. This is my implementation, public class SortedStack<T ...

So it should be locked down and transferred to me once its processed :)
Alright. To a new chat room we go......
@skiwi Is this good or bad?
19:25
I've got the domain :)
OK, which domain?
If I am allowed to ask, that is.
Yay :)
@skiwi ???
OGNext-0.3-SNAPSHOT?
Do '.'s work in domain names?
0
Q: Java Class to Hold and Validate an EAN13 Code

alexpfxI create a class that holds an EAN13 code. This class is atribute of a Product class. In the Ean13 class the String that represent the EAN code is passed as parameter to constructor and the validation is performed in the constructor. I create some util methods in that class, like sumEven, sumOd...

@skiwi I'm so confused right now haha
Why? ^^
What's OGame?
Why'd you have to wait till that certain time to get the domain?
19:42
An online game browser game, pretty old it's there since 2006 already, played it on and off
@syb0rg Because then it would be 1-1-2016 20:16!
I might be crazy
lol
Zak
Zak
All my tv shows stopped showing new episodes over christmas :(
In this code, Is index parameter in function, the index of dom element in jQuery object $('div')?
    <div>Zero-th <span></span></div>
    <div>First <span></span></div>
    <div>Second <span></span></div>

    <script>
        $( "div" )
          .attr( "id", function( index ) {
            return "div-id" + index;
          });
    </script>
codereview.stackexchange.com might be a better place for a question like this — karlson 35 secs ago
20:01
0
Q: How Godly does an object need to be before it becomes unholy?

muddyfishI've been told that using God objects at all is a Bad Thing™ In object oriented languages, God objects know all, they control too much. I'm trying to build a game (or for the scope of this question a generic app with a gui) and I'm using a Main object that holds all the other objects needed to m...

20:25
possible answer invalidation by TopinFrassi on question by TopinFrassi: codereview.stackexchange.com/posts/115526/revisions
0
Q: Prolog predicate for adjacency of integers with all signatures and no spurious choice points

Mark GreenI want to create a predicate nearby(X,Y) which represents "X and Y are integers 1 apart from each other" and fully satisfies: %%! nearby(+X:Int, +Y:Int) is det. %%! nearby(+Y:Int, -Y:Int) is multi. %%! nearby(-X,Int, +Y:int) is multi. In other words it must work for any combination of two boun...

20:52
@Zak My TV show stopped showing episodes for half a year now. I'm not impressed.
@Duga Blame @200_success
@CaptainObvious That title.
I'd have used the common acronym PPFAOIWASANSCP.
00:00 - 21:0021:00 - 00:00

« first day (972 days earlier)      last day (3342 days later) »