« first day (257 days earlier)      last day (3747 days later) » 

3:00 PM
now 8 votes behind @syb0rg for the week, and 105 behind @rolfl for the year/month/quarter. Got some catching-up to do!
 
3:18 PM
@retailcoder You'll never beat me!
 
0
A: Suggestions needed for alternative methods of solving sudoku

Jeff GohlkeOverall, this is pretty good code for a beginner's solution to a relatively complex problem. But your code does have me a little lost. For one, I'm not quite sure why you're using recursion here. It seems like that will be a lot more memory intensive than it needs to be for a straightforward p...

@syb0rg we'll see that :)
 
@retailcoder I was thinking about reviewing that Java Sudoku code using my C program as a base, but I fear that it wouldn't be very OOP and that I would be ridiculed for that.
 
"What the F**k" - best soundtrack to be working with broken legacy code
 
I'd gladly review that Java Sudoku code if/when I have time for it, perhaps this evening...
 
I only posted it because it showed up in my unread RSS feeds :)
 
3:23 PM
I will review more Java code when I can get the JDK to work with Xcode
 
and could use a vote or two no?
 
@syb0rg Working with Java in Xcode?!?
 
@SimonAndréForsberg I need a Java IDE test environment for Mac.
 
@syb0rg And Eclipse doesn't work??
 
...got I hate eclipse....
 
3:26 PM
I <3 Eclipse
 
Eclipse feels like some toy next to VS.. I find.
 
well, I'm a bit spoilt being a .net developer with resharper. Every other IDE feels like hitting rocks together :)
 
@apieceoffruit I hear ya
 
And how much did you two have to pay for that again? :)
 
ugh cough who's asking :)
 
3:28 PM
@apieceoffruit Those JetBrains people are just the best.
 
Jetbrains deserves all the money they're getting. R# ROCKS
 
actually i got it on sale for like 100 I think
no regrets
I also got dotcover too
 
If you spend 100 dollars on a better tool that saves you $1000 worth of time, isn't it $100 well spent?
 
@Donald.McLean Sure it is, but I consider my $0 spent on Eclipse better spent :)
 
tbh if more companies used it there would not be so much of the coding travesties I have to deal with....
If I have to do java development I would prefer netbeans or even just sublime text
 
3:30 PM
@SimonAndréForsberg I'm not you. Eclipse and I don't work well together.
 
@apieceoffruit It automatically alerts you, or prevents you, of writing codecrap?
 
well it pops up some common sense suggestions
 
@SimonAndréForsberg looking at some of the code here, Eclipse doesn't look like a magic IDE.
 
like if you declare a constructor arg that could be null it will highlight it blue to say that it might be null
and one click will add a null check
 
R# does it better
 
3:31 PM
@Donald.McLean Eclipse and I worked well from day one. Now we're starting to work towards that "happily ever after"
 
@SimonAndréForsberg I don't want more than one IDE.
 
@retailcoder Get some plugins and you can get all the magic you want
 
@tomdemuyt w00t! A spam flag!
 
@SimonAndréForsberg It's a chocolate, vanilla, strawberry question. There is no right answer, because every person is different.
2
 
3:33 PM
Hi all
 
Yeah, I kit out vs with a tonne of plugins and disable a load of stuff, hide half the menus etc.
 
@Timtech hello!
 
@retailcoder I've flagged for spam also
Wrong one anyway
So I have a 19-page long brainf**k program I'm going to be testing on my calculator today.
 
lol, why would you do that to yourself :D
 
@Donald.McLean I have to agree with you there, now let's drop the IDE discussion (especially since @rolfl isn't here to back me up)
 
3:35 PM
Is it still spam if the guy isn't getting any personal benefit? It's just a link to an open source project.
 
argh. pulled a @Malachi. Out of stars.
2
 
Ding! .... Eclipse FTW!
 
leaving work and heading home soon, logging out for now
 
@rolfl Flag, offensive spam.
 
@SimonAndréForsberg don't stack-and-drive
 
3:36 PM
Got stars, will apply!
 
wow, that was some serious beetlejuice stuff right there
 
@retailcoder Chat stars? How many do you get?
 
yup. I think it's like 20 or so.
 
Correct
 
Per day?
 
3:37 PM
Yep
 
Not enough, .... that sounds about right.
2
 
^TS
 
K thanks
 
BTW, hello @Timtech
 
@Donald.McLean spam = "unsolicited bulk messages". We don't know whether he's posting elsewhere (therefore "bulk"); but we do know we don't want it (therefore "unsolicited").
<strike>don't want</strike> didn't ask for
 
3:39 PM
@ChrisW Well, @SimonAndréForsberg is posting that stuff as well, that makes it bulk in my book.
 
@ChrisW you can use --- to actually strikethrough
 
@syb0rg Hi
strike
:D
--- ---
 
---really ?
ok
 
both sides, no spaces
 
--- STRIKETEXT ---
without spaces
 
3:41 PM
Good morning, @Timtech. What are you up to this morning?
 
@Donald.McLean I have a 19-page long brainf**k program I'm going to be testing on my calculator today.
 
Jumping on bandwagon
 
Jumping off bandwagon
 
finding bandwagon
 
Jumping on and off the bandwagon
 
3:42 PM
@Timtech I'm sorry.
 
@ChrisW beat me
 
@Donald.McLean I'm testing my interpreter :]}
TI-BASIC
interprets BF
 
Ahh. I'm working on a new feature for my app for work.
 
I'm also working on a new video game
WHat do you use to make your apps?
 
language? genre?
 
3:44 PM
Me?
 
@Timtech yep
 
Scala is the language, Lift is the web framework.
 
Game Maker Studio 1.2 Master Collection
Roguelike top-down Cave Exploration RPG
 
It's a tool used to manage the archive of Hubble data.
 
Hmm Okay
Haven't heard of Lift before
 
3:45 PM
@Timtech wow, gamemaker is still around, last time i used it was like 6-7 years ago.
 
fresh into the answers RSS feed:
-5
A: Critique of jQuery plugin which will print to a printer an element or a jQueryUI Dialog

DoubleU23You can have a look at my jQuery-pluginBoilerplate (still improving) to extend your $.fn.printIt

 
@apieceoffruit It's better than before
You can compile to all sorts of devices
 
The think I love about Lift is just how simple it is to incorporate AJAX and Comet onto a web page.
 
Windows/Mac/Linux/Anroid/iOS
 
@Timtech yeah tbh I wasn't super impressed at the time.
 
3:47 PM
Plus a lot more
 
Someone showed me scratch recently though, looks cool
 
@apieceoffruit It's Game Maker Studio now.
Scratch?
 
@Donald.McLean is it any coincidence that these two happen to also be household cleanup products?
 
IMO - Easy to use, not very powerful
 
@Timtech I've not used it but i volunteer at a coder dojo and they are using it to teach the kids programming concepts
 
3:48 PM
@retailcoder No. When the need a name for push implemented as a hanging pull, they called it Comet just for that reason.
 
@apieceoffruit It's really great for beginners
 
@Donald.McLean I knew it!
 
Hmm, I haven't done any game stuff in a while,

I should look back into it.
I used to use Xna3,UDK and in flash a bit of flixel back when I was playing with the newgrounds api
 
I think I'll be learning XNA within a few years
 
don't bother, it's deprecated.
 
3:53 PM
@Timtech bit late, It's dead
I'm currently thinking about giving Unity a go.
I loved UDK and was told it is pretty similar
 
switch to MonoGame @Timtech
 
@apieceoffruit O-o
@Malachi Monogame?
 
it's pretty much the same thing from what I have heard
@Timtech yeah
 
I think Game Maker Studio is my best bet as I know GML inside and out
 
@Timtech MonoGame allows you to develop for windows linux ouya mac and some other things. and it's open source, and it runs on Linux or windows or mac
 
3:55 PM
Or you could just jump in with some minecraft modding.
that is some fun stuff. I am still on the edge of my seat waiting for the damn api
 
who was someone talking about chat stars?
 
@Malachi Me
 
@Timtech I think you get like 25 or something like that.
 
19 mins ago, by Timtech
@retailcoder Chat stars? How many do you get?
Oh okay
 
not enough sounds about right
 
3:58 PM
^^ TS
 
@Malachi - that's exactly what I said .... check the starred messages to the right ;-)
 
Hey @Malachi, who is the bounty going to? :]}
 
@rolfl I know I starred that. I was reinforcing what you said
 
4
A: ASCII table in Brainfuck

TimtechI think this would be a more efficient way of doing it (at least for the printable ASCII characters): ++++[->++++++++<] Use cell 0 for loop and cell 1 for ASCII codes ++++[->>++++++++<<]>>> Use cell 2 for the space +++>++> ...

 
@Malachi you have stars left? Huh....
 
3:59 PM
Oops, meant the question itself
11
Q: ASCII table in Brainfuck

TyiloI made my first Brainfuck program today, which prints the numbers 0-255 and the corresponding character. I was wondering if I could improve my program, as I'm repeating myself a lot (e.g. 3 x copy & paste "comparer" function): max == 255 LF == 10 space == 32 '0' == 48 '9' == 57 ':' =...

 
@rolfl I have been busy
@Timtech @200_success said that your code doesn't work right, did you fix it?
 
@Malachi Yeah
See at the end
Here's an interpreter copy.sh/brainfuck
 
Lowest Voted answer ever .....
 
Ooh
 
-6? that's all?
 
4:02 PM
What?
 
@Timtech that interpreter crashed when i plugged your code in.
 
@Malachi Try the one at the bottom
THe online one? Could be your browwser
 
@Timtech the code at the bottom ran. could you add that it is a fix to the problem that he pointed out?
 
@rolfl It is spam...
 
@syb0rg - perhaps, but most people delete at -3 to get peer-pressure badge.
 
4:04 PM
for anyone who wants to know, I was thinking of either letting the OP accept an answer or go by upvotes, because I am not familiar with the coding style of Brainfuck
 
@Malachi Ok
Done.
 
@Timtech I upvoted
of course I upvoted all the answers
 
What?
You just did
Yay! I earned Necromancer cuzza u
 
5
A: ASCII table in Brainfuck

TimtechI think this would be a more efficient way of doing it (at least for the printable ASCII characters): ++++[->++++++++<] Use cell 0 for loop and cell 1 for ASCII codes ++++[->>++++++++<<]>>> Use cell 2 for the space +++>++> ...

-6
A: Command Pattern

j13rDon't name your functions in upper case. It's confusing because that is reserved for classes. Perhaps that's an issue of copying it here. You see how verbose this code is? It's a good idea to use Jython or JRuby for making a Java application interactive, with a shell. It's quite easy to do. Oth...

0
A: Suggestions needed for alternative methods of solving sudoku

OldCurmudgeonNot a specific crit of your solution. Here is a solution I put together for my own fun. public class Sudoku { // The size of one box on the board. static final int Box = 3; // The size of the board. static final int Size = Box * Box; // The board I work with. final int[][] board; ...

(pretending to be @StackExchange)
 
What good is pinging Stack Exhcnage?
 
4:19 PM
nothing, it's a bot.
 
@Timtech - read and vote ... ;-)
7
Q: Possibility to add a feed of all recent answers to chat rooms

Simon André ForsbergMany beta-sites suffer with a problem of voting. Code Review is one of them. We at Code Review have realized that it is hard to vote for answers that you're not aware of, therefore some of us (no monkeys named) posts a link to a recent answer every now and then in the chat. Instead of us posting...

 
Okay
 
@Timtech If it was programmed to respond to the pings, then it would do something.
 
^^ that'd be funny
 
Anyone here able to see deleted stuff on SO (>10K rep) ? Can anyone see this:
 
4:28 PM
nope
 
I get a 404
 
drat .... that had some useful links on, and it's gone ... pooof!
 
I found what I was looking for through google search ..... hang on... there's a song about that ... ?
NICE .... huh.
Huh, I wonder why that question/answer was removed ... nothing nefarious about it at all.
 
0
Q: Image alignment

RussellHow can I align jpeg or gif image (center)? using sql query. My intention is to insert a company logo on report such that the logo will appear at the top center of the page. Please see the codes below: FileStream stream4 = new FileStream("ourlogo.jpg", FileMode.Open, FileAccess.Read, FileShare.R...

 
4:37 PM
hey java people, does this make sense now?
2
Q: Java JFrame stop button

user34974I am trying to make a simulator for a micro controller in which whenever I call the runNextStep() method, it will run the next instruction. I have made a single button which will just execute the next instruction by calling the runNextStep() method, but I want to make a run button which will hav...

 
4:52 PM
@Malachi It still looks like they're asking for the solution to a problem, not a code review.
 
1
A: Delete a node from a binary tree

jwgA few points: Your code for both searching for the node to be removed and for removing it is broken. @HABO pointed out the second part of this. You need to check both halves of the tree for the node. Then, if you find it and delete it, you have to combine both its child subtrees into a new subt...

0
A: "metaconstructors" for inheritance in js?

tomdemuytFrom a onceover: instanceof works, so bonus points there Some terrible names : decl, getCtor, declFn, declObj, just type the full name You have an unmaintainable/undocumented nested ternary in getCtor() It is a neat idea to define the constructor and auto-magically move the functions to proto...

 
@Donald.McLean , @Malachi I agree, I added a comment to his question.
 
thanks guys. I wasn't sure. and I didn't have time to look over it real close
 
5:11 PM
Huh, I answered a question, and I have learned something new about xargs For those who know what xargs is, I wonder whether you have encountered the --max-procs option ... amazing ;-)
 
Shell scripting. Blech!
 
@rolfl I can see it. Do you want all the hyperlinks from the only answer?
 
@ChrisW - nope, I got what Ineeded from google cache.
Thanks though!
 
np
 
(I do wonder why it was deleted....)
 
5:20 PM
by the owner, score -1 on the answer
 
K, thanks.
 
0
Q: Performance of Large BigInteger square root and cube root functions, and excessively large array

David GreenThis is a continuation of this: Performance of BigInteger square root and cube root functions in Java I've made most of the changes suggested, but since I'm loading literally the largest array possible on the computer, I'd like some review before I implement Sieve of Atkin. Code follows, just ...

 
I guess I need another 3K rep on there.
 
5:33 PM
@retailcoder Drive? Hell no. I take the train.
@Donald.McLean What stuff am I posting??
 
@SimonAndréForsberg That offensive spam claiming that Eclipse is a good IDE. :-)
 
Have a look, I feel bad for Adeel
 
@apieceoffruit Scratch sounds a bit interesting. Looking it up. I studied to become a teacher once, and even though I quit that I'm still interested in how people learn programming.
 
think that's bad look at this superuser.com/users/162960/…
 
5:46 PM
@Malachi participation is all that matters :)
 
None of your answers were accepted ;)
he has 11 accepted unscored
 
0
A: Naming of predicate methods

jwgI disagree. In both cases that you give isEven would make more sense as a method name. evenNumber does not describe a method well - it is unclear whether it is creating an even number, changing a number to make it even, checking for evenness, etc.

 
@Jamal Massive code editing going on here. codereview.stackexchange.com/posts/38815/revisions
There's a bounty on that question also, interesting. I think the best would be to make an edit and show the original code and the updated version.
 
^ No he has hardly changed the code at all. Only trivial changes, no substantive changes.
Though he may be "bumping" the question by editing it, he's not invalidating existing answers by substantive changes to the code.
 
@ChrisW Have you looked at all the revisions and not only the recent one?
 
5:50 PM
yes
 
OK then, as long as he's not invalidating answers that's ok :)
@Jamal Situation apparently under control. Nevermind.
 
2
Q: Naming of predicate methods

leonideveloperSorry for my English. I want to discuss this question. I don't agree with @200_success. He says: I would also rename evenNumber(int number) to isEven(int number). There is a convention in Java that functions named isSomething() return a boolean and have no side effects. Your function mee...

0
Q: Ways to speed up the computations

Vaggelis_ZI have a FORTRAN code which numerically integrates the equations of motion for large data sets of initial conditions. I run this code to my PC and it requires about 2 days time in order to integrate about 50000 initial conditions. So, I was wondering if there is any site with super-fast PCs (or a...

 
@tomdemuyt that's a different problem all in itself.
I had to read the query again.
 
@tomdemuyt Took the liberty of forking your question, changing the sort orders. Also, you say accepted answers but you really mean Answers right?
 
no
accepted answers
 
5:56 PM
no one has a superuser profile to upvote me? how about Programmers????
 
on a.Id = q.AcceptedAnswerId
 
@tomdemuyt - OK, sure, the link I pasted seems wrong... sorry, try this:
 
yep, yours is nicer
 
@rolfl you're reading my mind. That's exactly the sorting I was thinking of
 
@tomdemuyt @retailcoder pin that!!!
 
Done
 
@tomdemuyt - must exclude closed questions.
 
@rolfl Questions
 
@Malachi - what are you talking about ... ;-) ?
 
6:01 PM
@tomdemuyt can it be filtered to exclude.. wait, nevermind. Monkey beat me. Again.
 
@rolfl not closed queries but closed questions
 
hmmm
I dont know how to apply that filter though
feel free to fork
 
Monkey beat me. Again. <--- just wrong! ... wrong, wrong, wrong
 
it will be a good to do list
 
sorry but I have to ask you guys to check this out. don't know how many of you have a profile here but ....
2
A: Generating random passwords by clicking randomly on the keyboard?

Malachiusing a computer generated Number/password could have Drawbacks in that a computer cannot generate a completely random set. it has to be based on something to give it a starting point, so eventually the pattern will repeat, although with the way technology is going we are getting better at using ...

 
6:02 PM
@rolfl what's right then?
 
@tomdemuyt -
  and ClosedDate is null
  and CommunityOwnedDate is null
 
@Malachi Don't have an account on security but I think computers are a whole lot more random than people can ever be, so I would not up-vote that answer.
 
@SimonAndréForsberg they have to follow rules. we don't
 
@Malachi But we do anyways.
@Malachi Ask 100 people to pick a number from 1 to 4 and you will see that most of them pick 3. Now ask 100 computers to do the same thing.
 
I mean they have to follow an algorithm to decide what to click next. we don't
 
6:05 PM
I read an article that length of passwords is more useful than true randomness.
 
@Donald.McLean I will agree with that
 
@Malachi Yes, but are you able to reverse-engineer that algorithm?
 
@SimonAndréForsberg I'd pick 4 and Spock hangs Batman, I win
 
^^theoretical star
 
@retailcoder You're just picking 4 because I said that most people pick 3.
 
6:06 PM
@SimonAndréForsberg i would pick #1
 
No. I pick 4 because I know the computer is thinking I'd pick a 3.
 
@retailcoder ^^ another theoretical star
 
@Malachi There's a great episode of an old TV show called "Ed", from around 2000. Season 3 episode 1, called "Human Nature", love that episode. If you know what you are doing, you can play a lot of tricks on the human mind.
@retailcoder Ah, trying to outsmart Murphy's Law, are you?
 
@SimonAndréForsberg old...2000. when were you born?
 
@Malachi 1986 :)
 
6:09 PM
@SimonAndréForsberg your mother's maiden name? Kidding.
 
dang it I am out of stars still that was a good one @retailcoder
one of those answers talks about Monkeys being able to write shakespeare I thought for sure that @rolfl would have found it
 
@retailcoder Johansson. And to save you the trouble, the pincode to my VISA card is 4174
 
@SimonAndréForsberg LOL
 
should I pin this one?
 
Visa covers you if your card is used.
 
6:11 PM
And if you believe any of that you're nuts :P
 
Bizarre
My methuselah query is wrong
 
@retailcoder that was a challenge pin it
 
there are 90+ unanswered JavaScript questions
 
And I apologize in advance to the person who actually has the pin code 4174 :)
 
lol
 
6:12 PM
Methuselah only shows 40 unanswered questions
 
@tomdemuyt data is off by a couple days, need to take that into account too
 
still, it's been around that number since forever, I 've been trying to reduce that number since weeks
 
66 unanswered Java questions, good work @rolfl, @200_success and myself :)
 
When I have spare time I'll see if I can query a %answered rate for the past 12 months, so as to exclude crap from year one.
@SimonAndréForsberg TS + good job :)
@StackExchange:
1
A: Keypress function conditional

epascarelloLess readable, but another way. var prevNext = (e.keyCode == 38) ? "prev" : (e.keyCode == 40) : "next" : null; if ( prevNext && !$html.hasClass('client-loading') && canAnim !== false ) { $('.project-current')[prevNext]('.project').click(); canAnim = false; setT...

0
A: Box-stacking problem in C++

Loki AstariWhat quickly jumps out: typedef vector<dimension*> VecDim; // ^ Pointer typedef vector<dimension*>::iterator VecDimIter; // ^ Pointer Its very rare to see "raw" pointers in good C++ code. This is because now you have to do memory management on ...

Damn we need this answers feed
 
anyone have an Area51 account?
 
6:23 PM
I do
 
I also do
@retailcoder Keypress function conditional was an edit, not a new answer!
 
this should be SFW. but vote on my questions one way or another please area51.stackexchange.com/proposals/62814/sex-and-intimacy/…
 
@SimonAndréForsberg it landed in the RSS feed nonetheless
 
@Malachi Upvoted one of your example questions. Generally, I don't think that will be a successful proposal at all
@retailcoder Bad bad RSS feed, no donut for you!
 
6:27 PM
@SimonAndréForsberg maybe, maybe not
 
I agree with @SimonAndréForsberg
 
@retailcoder Hey it's a good question!
 
I upvoted it
 
@Malachi - I don't like marginal SFW things ...
 
come on follow it!!!! you know you want to @retailcoder @SimonAndréForsberg
 
6:28 PM
I think it should fail on principle ... ;-)
 
@rolfl it's a stack site proposal about sex and intimacy
 
@Malachi I know, but, as I say, that's not the point.
 
@Malachi I'm more interested in the Artificial Intelligence proposal.
And actually, I'm committed to it. Once the beta starts, I'm going to post two questions right away.
 
@SimonAndréForsberg I committed, but I don't know about questions just yet, I still have to confirm my email though
 
[badge:precognitive]?
 
6:36 PM
0
Q: Encapsulation in Java

TimothyBJacobsI'm having really unexpected Java behavior, where it seems like a private property is able to have its public methods called. public class ArrayListTest { public static void main() { ArrayListContainer weirdList = new ArrayListContainer( "Other" ); ArrayListContainer supe...

 
Is it me or there's no property in his code?
 
@retailcoder And possibly [badge:beta]
 
@StackExchange TL;DR: OP is surprised that public methods like add and sayWhat may access private fields like list.
 
oh
poor guy
 
0
Q: Redundant DataContext ? - LINQ to SQL

FreeMarsThis seems like a pretty basic question, so bear with me...Say I have two (or many) methods in the same class that need a LINQ to SQL DataContext. Additionally, I am needing the DataContext in other classes as well. Does it make sense to create the new DataContext every time? Should I be creati...

 
6:43 PM
@amon Yeah, he seems to think that the methods belong to the field somehow... I tried to make a minor answer in a comment and I hope it gets closed ASAP.
 
6:53 PM
@amon sorry i am a noob but I have to ask what is TL;DR:?
 
@Malachi An abbreviation for “Too Long; Didn't Read” – it marks the sentence as a summary of a larger text
 
@amon makes sense thank you
 
@Malachi Not too long ago I was wondering the same thing. I was wondering "Why the heck do people write that everywhere?"
 
@SimonAndréForsberg quit sucking up I don't have anymore stars... JK :)
2
 
^^ TS
 
6:59 PM
@200_success .... congratulations ... ;-)
 

« first day (257 days earlier)      last day (3747 days later) »