« first day (606 days earlier)      last day (3412 days later) » 

3:03 PM
What was your first time pair programming like?
 
0
Q: How could this code be improved?

kschmit90class test { def buildObjects( rows ) { def objects = [] def object rows.each { row -> if ( object == null ) { // newObject() takes info from the row to use as properties of object object = newObject( row ) o...

 
Ya know. I really don't understand how that's supposed to work. Here.... you type with your left and I'll type with my right....
j/k, but seriously.. I don't get it.
 
You're not actually supposed to type together
more like one guy types, and the other looks or writes tests or something
2
 
@Malachi - no, don't do that.
 
@rolfl don't clikc the x or don't game the comments hat?
 
3:07 PM
 
@JeroenVannevel or something......
 
Will suspend you for 5 days .... ;-)
3
 
@rolfl NOOOOOOOOOOOOOOOOOOOOOOOOOOO!
 
There's no need to create more crap comments just to delete them.
People get pinged, e-mailed, etc when these comments are done....
and we all have enough crap from the last year that there's real things to clear up
 
some of those are on my own posts
@rolfl I usually delete my crap after it is no longer relevant because I don't want to look bad.
lol
 
3:13 PM
You're also a trusted user here, and set an example.
 
I won't post any more like that. I will try to find something constructive to say at the least
 
Or something not-constructive to delete....
 
I have to wait like 8 hours before I can start deleting them to get the hat though, right? or is this one of the ones that I can do right now?
@rolfl I need to get a life (or a motorcycle)
 
page 1 to 44 of your 65 pages are all in 2014.
 
0
Q: Fast Division and Modular operation for non two power numbers in C

user3555115I am trying to optimize the division and modular operation to increase the overall performance of the code in C. I have UINT32 quo = num / 520 ; UINT32 rem = num % 520 ; Most of the blogs mentioned the optimization for the power of 2 operations like num % (2^i) = num & (2^i -1 ). num in my...

 
3:18 PM
@Malachi Not sure, it may be already available...
 
Challenge accepted
 
have not seen anyone with it yet, though.
 
@rolfl I still don't get how that box stops bots
if (days < 0) {
    days *= -1;
}
Why do I find this in my code...
 
@Malachi I did forget about it, but @cheezsteak's answer looks bounty worthy to me.
 
Now refactoring that (and more calculations) is what I call dangerous without unit tests
 
3:23 PM
@RubberDuck sounds good to me. I haven't upvoted either answer yet....lol
 
Slacker......
 
@skiwi Absolutely (*pun intended).
3
Out of interest, you know about the MIN_VALUE problem, right?
 
@rolfl No...? You mean manually absoluting it like this will create an overflow and it becomes -1?
 
Abs(Integer.MIN_VALUE) == Integer.MIN_VALUE
also, Integer.MIN_VALUE * -1 == INTEGER.MIN_VALUE
 
0
Q: parse recursively a json object with angularjs

el.severoIs there a better way, or the correct one to have this approach for a JSON object that hast the following structure? (its only a portion of my object, the most important one) { "Questions": [ { "AnswerType": "single-choice", "Answers": [ { ...

 
3:26 PM
we should save our stars for people coming in later that want this cool hat
if it would work today, I wonder if I can post and then delete today.....
 
@rolfl Yeah, but in the library call they should be implemented correctly, no?
 
No ... see ideone.com/U5CcGh
 
I predict a bunch of "Happy New Year" starred chat posts in 8 hours and 30 minutes
 
Ugh
 
@Mat'sMug I have an alarm set.
 
3:27 PM
public static long abs(long a) {
    return (a < 0) ? -a : a;
}
That's an edge-case, I won't notice it anyway!
(My last words...?)
 
Most people never know about that one....
but it is a nice trick sometimes.
 
> Alarm set to 8 hours and 23 minutes from now
 
I like this
//        BigDecimal oneMillion = new BigDecimal(new BigInteger("1000000"));
        BigDecimal oneMillion = BigDecimal.valueOf(1_000_000);
 
where is my chat bot to remind us???? another thing that I started and never finished
 
Do we have the best-of categories set?
@Malachi easy - when @Duga says RELOAD!, it's time ;)
 
3:35 PM
Actually, it's 5 minutes before that
 
Right
 
It's +/- 5 UTC zero. So, so long as @Duga is punctual, you're good.
 
@Malachi I've deleted more than 10 of mine... no hat yet.
 
@rolfl I better stop then, or I will run out of bad ones to Delete....lol
 
I just chose a random page from my comment activity page, opened them all in tabs, and deleted the crap.
I have another 60 pages of comment fodder.
Putting on my mod hat...... (makin this official....).
3
 
3:39 PM
@rolfl hey I don't see a mod hat?
 
If you have comments that are part of a 'conversation' that is now crap, delete your comment, and flag the remainder as obsolete.
10
 
@rolfl I figure that I could wait for the other user to delete their own comments. so they get an opportunity for a cool hat too? what do you think?
 
That way, you can clean up more than just your crap.
@Malachi No, because then we have broken 'threads'.
Everyone has enugh comment history here to not worry about that.
And if they don't, well then, they should be the first ones on to the clean-up crew to delete their comments sooner.
 
Reasoning is sufficient
I am going to wait for a little bit though I think. maybe get some work done while I am at work....lol
 
4:02 PM
Heya folks. Have good time today. :)
 
@rolfl Happy new year
2
 
0
Q: Speeding up hexadoku in C (16 x 16 , a - p)

user3177790i have serious problem with my hexadoku solver. I'd like to run the program under 2s but my solution solves it in cca 10s. Another problem is if the hexadoku has more then one solution, how i should just print the number of solutions. http://paste.ofcode.org/36yfi4QBYLBtQarGi6p9GYA My naive cod...

 
What are you guys up for today?
 
Resolution.
2
 
lol
 
4:13 PM
And Mistletoe.
That will be in a little under 8 hours.
Apparently it is too early for Resolution.
No one has it yet.
 
4:31 PM
@Malachi Just watch the clock at Bing: bing.com/…
 
I resolve to not make a new years resolution in 8-12 hours...
 
I don't think I've ever made one.
Maybe, but I doubt I kept it anyway.
 
I think i attempted one once but forgot...
 
@Hosch250 everytime you mention Bing, I die a little inside... ;)
 
@Mat'sMug Too bad. Check it out for yourself, though.
It isn't bad, it mostly needs more users so it can improve a bit.
There is even a Suggest Features button.
 
4:35 PM
just noticed they changed the Bing logo to match the Visual Studio logo style
 
Its been like that for a while.
I wonder how much data my clipboard can hold.
I wonder if it could hold the entire Windows OS.
Probably not.
 
I notice the optimizing powers of 2 post was removed (never saw it so unsure why) -- a while back I wrote a program that split multiplication and division into a few bitshifts added/subtracted together to test web browsers (based on graphics programming ideas) - anyone else ever try that here?
 
I never hit a clipboard-cap
 
Me neither.
 
some browsers got a speed increase some did not
 
4:37 PM
Nope, never heard of it.
 
betting that some of them used the computer more than others (using their own calculations) - compiled languages would of course have optimized that already...
not that anyone here seems interested in mathematical computational optimization at the moment i guess ;)
 
It is interesting.
 
Once I copied over 400K rows of query results from SSMS to Excel, no sweat. ...well it was slow, and the computer froze for 10 good minutes, but it worked
 
So glad to hear I'm not the only one who does stuff like that.....
 
I copy GB of data from my HD to my external backup HD.
 
4:44 PM
lol.. I didn't do it twice!
 
I think I currently have 12-15 GB.
I do it at least a couple times a week, and it takes a while.
 
this may be handly.. notes from experts exchange postings on the clipboard info-- anyone verify this? msdn.microsoft.com/en-us/library/ms810627.aspx ("Managing Virtual Memory in Win32"), you know that "Each process is attributed 2 GB of user address space no matter how much physical memory is actually available for the process."
from SetClipBoardData() api notes
it goes on to say that the ram is hindered by a whatever the application is taking out of that 2gb to run
not sure if that is the only way or the only function that sets the clipboard ram size though
for use with applications
 
That may be how much it can hold at any one time.
 
looks like it
 
However, I've done copy/pastes with much more data than that.
 
4:47 PM
seems like virtual memory or even better api calls would be going on then
 
So it must bring in the data as it needs it for larger copies.
 
working in batches then maybe? (2gb at a time)?
 
Yeah, something.
 
Flat tire on bike after I drank champagne... no damn given :)
 
drinking and driving ;)
 
4:49 PM
What'd you break the bottle for?
 
would win64 have different allocations? would seem possible...
 
Luckily I got a flat as I was almost home
 
0
Q: Does this assembly code follow NASM convention?

JohnAssembler: NASM Architecture: x86(I believe) I am fairly new to Assembly language programming and, for practice, I gave myself a problem. The problem is to count down from 10 and right after 1, say "Blast off!" Here is my code: section .text global _start _start: mov eax, '10' ; asci ...

 
Maybe. I do have win64.
 
ooo nasm old friend :)
haha who gave me a tammy hat :)
 
4:55 PM
137 downvotes and Shog9 still refuses to revert this..... smh....
-74
Q: Should we discourage leading +/-1 on comments?

Shog9I'm getting really sick of finding folks arguing about votes, only to see that the bickering started with a comment of the form, -1, because [some perfectly reasonable criticism] As has been discussed many times, voting is anonymous for a reason; folks who give up that anonymity do so at th...

 
Someone starred a chat message.
 
how fun :)
ok so i am assuming that since i have 20 hats in different places I would have to get all 20 in the same place to have an aztec hat...
too bad these don't stick around in a week or so, would be fun to keep them.
 
You are already late for some.
I speciallized in CR right away.
 
I didn't get many my first WB.
 
4:59 PM
For aztek hat, you need 20 hats on a specific site.
 
i wasnt really fishing for them, just they kind of surprised me on stackoverflow and the superuser exchange
 
Me too, last year.
 
and info security
wasnt as surprised on that one, followed it for longer i think
 
This year, I was prepared.
2
 
heh nice
okay how does one check hats on a particular site again? i am sure i only have 4-5 at most on any given one but now i am curious...
 
5:02 PM
go to your profile
then click the snowflake
 
that i saw 'all hats'
 
oh right
click the snowflake
and then the "Winter Bash" link
 
i guess the leaderboard (way way down...)
 
that
the CR leaderboard
 
serves me right for not really paying that much attention
 
5:05 PM
I guess you missed that one:
26
Q: Should we sign up for Winter Bash 2014?

JamalWinter Bash 2014 is approaching! We signed up for it last year, and it was a really big hit. I'm still posting this in order to get an official word from the community and to make new users aware of this event. Since the moderators have just received the announcement, there isn't much new info...

 
so not all exchanges are doing it then? i would have thought it would be all-encompassing
 
2013 was opt-in, 2014 is/was opt-out
boring sites could opt-out of the fun
 
Some opt-outs surprised me.
 
who opted-out this year?
 
ah ok that makes sense
i was surprised a while back for not getting a hat on something that fit the requirements, but i didnt check further
optout is a better way, optin kind of makes it rarer
 
5:08 PM
@Mat'sMug Huh, The one site I thought opted out, didn't
 
hey @200_success, are we ready for ?
I like that we have a LOL category
 
I found some information on clipboard ram by the way, apparently virtual memory does help (at least in windows 7) - HP has posted information to their users that they can increase pagefile size to increase clipboard space in their tech support files
they also mention that 64-bit would help over 32-bit as well like we were thinking
 
OK, I do have an HP.
 
it would probably still be in 'banks' of N size batched out
my bet is that has nothing to do with the machine, more the fact that it is intel based, or at least using the same ram access methods
 
I wonder if it does DMA.
 
5:14 PM
then AMD or Intel wouldn't matter, just the ram access
older languages used their own ram access programming, not hardware based, but newer stuff would most certainly be calling the API provided by things like dotnet's codebase
 
Because I am just copying a bunch of files.
Down to 7 featured questions from 27.
 
0
Q: PHP/ MySQL Address Book

TedjamThis is my first PHP/ MySQL project that I'm attempting. Im trying to make an address book function that I can addapt to put on my webiste, but it doesn't work at the moment. The error occours when I submit the information using the form and check on phpMyAdmin there is only a blank field imgur...

 
What I don't want to do is post stupid questions or answers to get hats, i think it would damage whatever credibility I have here if any...
at least only a few hats are gained that way
 
javascript answer posted after bounty intended for another answer. anyone want to vote accordingly on the new answer before I make a decision on who to award the bounty to? codereview.stackexchange.com/q/41238/18427
 
5:29 PM
@JeffClayton If you want, you could flag it as off-topic and work towards Deputy.
And get Citizen Patrol.
 
thanks will do
 
@Malachi I am busy, but Vikings answer highlights the problem.
 
@nhgrif thank you.
 
flagged
 
Do you see 1 helpful flag in your profile yet?
It might take a while.
You might not have been fast enough.
 
5:36 PM
heh someone else flagged first?
 
No, people with more rep might have closed it.
So the system might have seen it as closed when you flagged.
 
ah
oh well
 
Oh, you got it.
Check your badges.
It just took a bit to come in.
 
ah
interesting
batch processing at its finest
thanks again for the guidance
 
No problem. Just watch for posts like this and you'll get there.
Deputy needs 80 flags.
And Marshal takes 500.
 
5:41 PM
so that was '1' then?
 
Yup.
 
well considering I have a job in IT like many of you, i suspect I will be here a lot
 
I'm just a student.
Started programming last year, but college keeps interrupting :(
 
thats fine, one thing I have noticed, when I was studying i was more involved with peers than in the field - i work in smaller companies often
 
I'm an IT Management major, with a Communications minor.
 
5:42 PM
working at larger ones with a programming team was better of course for getting ideas on better methodologies
 
That is why I came here.
 
i was CS/CIS
 
I'm working on refactoring my app.
 
took a time doing psychology
so now i talk to machines to make them feel better ;)
and they just start working because they want to
;)
 
Of course, you have to be multilingual and speak their language.
 
5:44 PM
give it time, i was exposed to 20 of them in college ;)
 
My U only uses Java, but I like C# and C++.
 
most of 20 anyway, some of them i worked with before and after, lost count
 
If you are talking about languages.
 
I know a bit of Python too.
 
5:46 PM
some I learned before some after university but had to do things in many for at least short stints
 
@JeffClayton If you want a hat here, do 30 Minutes or Less.
 
basic does count, silly though it may be
well i would have to have something i would want to post right? ;)
 
You need 5 answers within 30 minutes.
HTML/CSS/JS is good because there are three languages.
So it attracts a wider audience.
 
that makes sense, and most of what I have to do (add PHP) for my company work
i have only messed with python when I had to adapt a pre-made script for my purposes, been using PHP for nearly everything since that is the base for our architecture where I work
 
wow @Mat'sMug your mug looks awesome
 
5:49 PM
in the past it was C
(gnu command line linux)
 
Universities mainly use Java because there's so many people walking around with Apple stuff and those few geeks with Linux stuff
 
They only offer the basic class online too, and I didn't anything except how verbose Java was.
 
well machines have caught up. java used to be the overbloated slow one
 
I already knew the concepts from my C++ programming.
 
one of the game programmers for Tom Clancy's (i think) Splinter Cell was originally written in Java... it was really slow... so they rewrote it in C
 
5:54 PM
I'm going to go post my Turtle Graphics program for a review just for the rep.
 
was one of my old neighbors
never used that one, it was being used in other classes though
 
Turtle graphics?
 
I believe Java game programming is possible once the new Java Value Types / Generics over Value Types (including Primitives) is a thing... Except it will be ages behind in libraries
 
0
Q: ASCII Turtle Graphics

Hosch250In my college Java course, I wrote an ASCII Turtle Graphics. My professor said the only thing he could suggest was to turn the turtle into a class and create an instance of it (I hadn't because we hadn't covered classes yet). What do you think? package javaapplication74; import java.util.Scan...

 
6:00 PM
With any game 'language; if they can create libraries that are able to go straight to the hardware then they have something. Java was originally not created for that but it has been around forever though.
 
@skiwi thanks! that "hat" gives it a bit of a Kermit-ish look though
 
either that or the Eagle from the muppets...
 
Dang... out of stars.....
 
Some day I've still got to try programming something when I'm drunk
 
@RubberDuck Already!
 
6:09 PM
 
We need them for later!
 
haha yep @RubberDuck
 
I once tried to play the piano while high. That was horribly hard.
 
1
Q: ASCII Turtle Graphics

Hosch250In my college Java course, I wrote an ASCII Turtle Graphics. My professor said the only thing he could suggest was to turn the turtle into a class and create an instance of it (I hadn't because we hadn't covered classes yet). What do you think? package javaapplication74; import java.util.Scan...

 
@skiwi I write the most elegant worthless crap when I'm drinking bourbon.
 
6:10 PM
I play leftie guitar - once I nailed Master of Puppets on a right-handed guitar, I don't remember what it was that I had taken
 
try a bottle of champagne... got through a debugging task on one years ago...
 
@Morwenn Noooo, out of votes as well!
 
@skiwi Haha, too bad :D
 
Open random hot network question.... it's asked by @rolfl!
9
Q: Someone who appears more of an expert than they are

rolflI believe there is a term for a person who uses 'expert sounding' terminology and exudes confidence, even when their actual abilities are significantly short of their 'presentation'. Using 'wine' a subject.... if a person described a taste as: Magnificent bouquet, the esters resonate with hi...

 
Be right back, I have to make sure I didn't burn my cake.
Hum, it looks so good *-*
 
6:16 PM
@skiwi every now and then I run into people who are 'acronym throwers' (kind of like celebrity name-droppers) who fit that bill...
 
The only acronym I've been throwing around today was SVN :(
 
haha i didn't mean you :)
 
hehe, but I can imagine people talking only in acronyms are annoying
 
Tam o' Shanter on SO.
 
(except us, because we're awesome)
 
6:18 PM
a few days ago i mentioned an employer of mine who was acronym crazy... he actually used that in his sales pitch (that we are up on all the latest ones) -- i really hated that
 
I keep getting surprised because I'm not trying for it.
 
> Didn't you try to SFINAE-out this overload so that it doesn't fuck up your CRTP? Also, please use RAII for resources management.
 
that and 'we know the latest jargon' which really annoyed me
 
@Morwenn Are you using naughty words?
 
i tend to get tech calls from regular people so i have to de-jargon nearly everything i say on the phone
 
6:20 PM
@Hosch250 I will give you the benefit of the doubt.
 
naughty - yes!
 
I often use acronyms, but whe I do, I link also add a link to a definition.
 
@Morwenn - good plan, always provide a way for the less familiar (or less caffeinated) viewers
 
It was nice to see another assembly question. Now I suspect Edward will answer and steal the (premature) checkmark. :-P
 
I always open Bing (busy killing Mat'sMug).
 
6:22 PM
assembly is a joy from the past for me
 
x86 is the only one I know most of all. This program uses interrupts, and I've only done one program with that.
 
for me it was x86 and previously 6502
later unix based assemblers but i forget which
mainframe
 
Once again, I was . I have to go for partys shan't wait.
2
Well, anyway bus drivers don't wait.
 
going on a date later so.. same here
 
Staying at home all day, unless my mom happens to take to practicing driving - most unlikely.
 
6:28 PM
Being home with my parents... as usual, I guess
Though one person may take me out any time she wants ;-)
 
@Mat'sMug Sure. Would you like to kick off by posting the call-for-nomination questions?
 
@skiwi ohhhh.... Ask you out, or take you out?
 
@rolfl Well... any of those? :)
 
@RubberDuck On a more positive note, they have rescinded the shutdown of the Vim site proposal. Now we merely have to gather supporters again from scratch.
 
I could have used that site in college for my compsci classes...
 
6:37 PM
Those are IDE's of some sort, right @200_success? Or, text editors or something..
 
@RubberDuck vi (and vim which is a version of vi) are text based linux/unix editors
they are originals from early in the computer science field - used for nearly everything on old machines that had no real capabilities (pre-dialup etc...)
 
@200_success I missed that.
reference?
 
you would edit your code, your email, and your scripts in it
i still tend to fall back on it on command line linux or mac stuff
 
-3
Q: Already closed proposal: Vi and Vim

eckesProposal: Vi and vim There was already such a proposal and it was declined. Don't follow this. Reason was that VI and VIM are on topic on SO and a separate site would pull content.

Actually, we no longer need more followers for Vim. Just more sample questions with a score of 10.
 
7:01 PM
> I could use a more thorough answer and I'm willing to pay some imaginary internet points for it.
6
Q: Rolling my own Configuration with UI

RubberDuckThe Rubberduck Saga continues as I find a need to roll my own configuration. Since the program is really a *.dll and available to several host applications, using app.config is not an option. I decided to leverage XML serialization to allow a user to modify which comments get picked up in the Tas...

New bounty up.
 
7:14 PM
@200_success ok. getting my tabs ready.
 
7:27 PM
@200_success @Jamal @rolfl I created a meta-post for the top 3 categories - feel free to add more, I have to run now
 
@Mat'sMug Cheers, thanks.
 
@StackExchange whenever you're ready
 
And I have made them all CW.
 
0
Q: Best of Code Review 2014 - Lots of Laughs category

Mat's MugPlease post your nominations for the Best of Code Review 2014 - Lots of Laughs category. Answer that makes the best use of humor to illustrate a point. In your nomination post, please make sure to include a link to the nominated answer, as well as a short explanation of what makes that post...

0
Q: Best of Code Review 2014 - Exterminator category

Mat's MugPlease post your nominations for the Best of Code Review 2014 - Exterminator category. Answer that points out the most interesting obscure bug in the original code. In your nomination post, please make sure to include a link to the nominated answer, as well as a short explanation of what ma...

0
Q: Best of Code Review 2014 - Best Title category

Mat's MugPlease post your nominations for the Best of Code Review 2014 - Best Title category. The question with the best title. In your nomination post, please make sure to include a link to the revision of the question (from the revision history) that introduced the nominated title, as well as a sh...

 
@RubberDuck If I have time tomorrow I will check it. Havn't seen it until now (the question) .
 
7:42 PM
0
Q: How get key-value from Object in Java - Refactoring

Alexei Lukianenkotake collection of Object from JavaScript into Java project. My codeI think very rough. How improve this code? What the best solution? // JavaScript fetch data into List ChartData int i = 0; int k = 0; // output for (Object currObj : ChartData) { // get all fields of Object for (F...

 
@Heslacher I'd appreciate it. I feel like I really borked it.
 
If not tomorrow, then on friday at work ;-)
 
I'd nominate "Aliens at the train" revision 8 (codereview.stackexchange.com/revisions/59486/8), in "Best Title", but I've already nominated 2 posts so I'll leave it to others :)
Aug 8 at 14:46, by Mat's Mug
Monking! Wow people, the Aliens at the train question has one hell of a revision history! From off-topic to hot network question! Good job!
it was a nice collective effort though
 
@Mat'sMug I remember that one.
 
I'd nominate it in "Jamalizer Award" too, if I could identify exactly which revision deserves it the most
(but that category isn't posted ...yet?)
anyway gone now - see y'all around midnight UTC for a star-party!
 
7:56 PM
I was hoping to nominate one of syb0rg's answers for the laughs category, but I can't seem to locate his posts that contain an image.
 
On meta, how do I change back from the mobile version to the regular version?
 
@Edward there's a link at the bottom of the screen
"Full site"
 
@Mat'sMug Ah, thanks. I knew that once, back in 2014.
 
@Jamal Do you mean this
19
A: First prime number larger than given integer

syb0rgThings you could improve Efficiency As @rolfl stated, you want to use a Sieve of Eratosthenes (+1 to that answer). I can't see if you are doing this already, but you should be compiling with your compiler's highest optimization level. With GCC for example, this would be -O3. Portability ...

 
0
Q: CR2 raw image file parser in Python 3

Sam WhitedI haven't used Python in a number of years, but recently started working on a project called Photoshell which is written in Python 3. As I attempted to learn the "Pythonic way", I wrote a parser for Canon's CR2 raw image file format. I'm not sure how "pythonic" the parser is, so I'd love to get ...

0
Q: Find if a word with wildcard exists in dictionary

GiladThis is a question from a phone interview i had, The Question was 2 parts: a. find("cat") -> T/F suggest a data structure to find is if a word exists in a large dictionary, how will one node of that data structure will look like? b. Implement bool Find(string str) function which returns true or ...

 
8:04 PM
@Heslacher It was one with a caveman picture.
It appears that one of my school's professors (and future Unix professor) uses SE:
 
Dang.... Mat is almost all of my best title nominations
@Jamal Well.... I know the raptors are a bit of a meme, but there's this codereview.stackexchange.com/a/45749/41243
 
@Jamal Cool!
He even has a hat!
He's an Emacs user though.
 
0
Q: Shorthand for "if greater than, then equal to"

Tom SterkenburgNot sure if this belongs here or Stack Overflow, but let's try it anyway. Is there a shorthand method to write the following code? Often in games we want to make sure certain things dont leave a boundary, or more generally, we want to stop an index of an array from going beyond the bounds of an ...

 
8:22 PM
@CaptainObvious VTC
 
0
Q: How StartServers directive in Apache2.2/OHS 11g works

user2950074I have OHS 11g running with default MPM ( worker). I want OHS to create 1 child process only. Below is the httpd.conf section: <IfModule mpm_worker_module> StartServers 1 MaxClients 150 MinSpareThreads 10 MaxSpareThreads 30 ThreadsPerChild 40 MaxRequestsPerChild 0 Ac...

 
@CaptainObvious Nope, doesn't work
 
hey @Phrancis, still working today?
 
No I took a day off, also off tomorrow
 
Ah, nice :)
 
8:32 PM
Indeed!
 
So, when will it be 2015 in Stackland?
 
3.5 hours, it seems
 
prepares comment-blasting laser rifle
 
@RubberDuck sorry this isn't better --> codereview.stackexchange.com/a/75378/18427
@Jamal Stop no and don't
 
Oh, it's VBA hdies
 
8:36 PM
@skiwi hdies?
 
@Phrancis I hdie from VBA, yes!
 
Ok, thought that was a typo ;)
 
:)
 
0
Q: Calculating and improving time & memory complexity (Java)

BinaryJprivate static int Sum (int[] a, int from, int to){ int total=0; for (int i=from; i <= to; i++) res += a[i]; return total; } public static int Method3 (int []a){ int temp=0; for (int i=0; i <= a.length; i++) { for (int j=0; j <= a.length; j++) { ...

0
Q: Angular Directive for adding/removing active classes navigation

byrdrI have created a directive which is doing several things, all revolved around adding and active class to navigation elements when clicked. It also adds the class when someone goes directly to the url. I'm fairly new to writing directives and this one seems like it would be something I'd like to r...

 
@Malachi where did I miss an end if?
 
8:41 PM
@CaptainObvious No, I'm not currently editing this one. But it will need quite a makeover.
 
Nevermind. I found the one liner....
> If midpoint > UBound(Arr) Then midpoint = UBound(Arr)
 
> If midpoint > UBound(Arr) Then midpoint = UBound(Arr)
lol
 

« first day (606 days earlier)      last day (3412 days later) »