« first day (786 days earlier)      last day (3222 days later) » 

12:00 AM
RELOAD!
 
@EthanBierlein, [badge:fanatic]!
 
There are 1376 unanswered questions (94.4819% answered)
 
@SirPython Really don't.
 
I won't; I was only joking.
 
@QPaysTaxes calm down
 
12:11 AM
0
Q: A minimal HashTable implementation

CarcigenicateFor an assignment, I wrote a minimal HashTable implementation (it only supports additions; no deletions). To resolve collisions, it uses Linear Probing (required by the assignment). I'm looking for general feedback regarding style, practice, and these things specifically: I've gotten out of t...

 
Hi, @Snowhawk04.
 
12:41 AM
Wheee! [badge:fanatic] has been earned!
Of course, now I have to wait like, three hours for it to show up.
 
lol
 
Hmm, I think nominations for moderators start on real monday, not stackland monday.
Yay! My [badge:fanatic] showed up!
 
Only 43 minutes, new record SE!
 
lol ikr
 
I was thinking about running, but then I realised I'm 1k rep, (lol, I'm joking, never even thought about it)
It should be interesting to see who runs, who doesn't, and who wins
 
12:45 AM
Well, I'm still running.
I actually heard that Jamal had less rep than me when he was nominated for pro term.
 
That was at the beginning of the site though, less zombies to roomba up rep
 
yeah, but I still think I could be a good mod
 
Jun 19 at 14:01, by Ethan Bierlein
@Vogel612 I like that word. Roomba'd. lol
lol
You could, and it's not like you have a job to dedicate time to (right?)
 
Yup.
And I already spend at least 3 hours on the site every day.
 
Now, if you could overtake janos in Python answers, ...
You have for the week, at least In related rep
 
12:49 AM
I'm also slowly climbing up the top users list as well.
 
Well, I left Spotify to its own devices and now I'm listening to a mix between JPOP and Mariachi, 10/10 related tracks Spotify
 
sigh
Hey @Hosch250, how do you change the target .NET version of your project?
I can't find the menu and the docs hate me
 
@EthanBierlein I just use the default, but hold on a sec.
 
@Hosch250 ??
 
12:53 AM
Looking to see if I can find it.
 
@Hosch250 Did you mean to ping @Quill?
 
Oh, yeah.
Sorry.
 
OK, @Quill, found it.
Debug menu, Properties option (very bottom).
Choose the Application tab (top tab).
Set the Target Framework combobox.
 
Does anyone know where elections usually start? Meta? Elsewhere?
 
12:57 AM
Dunno.
 
I think a form page link gets posted on Meta
 
Found it.
 
Great, where is it?
 
I've got a zillion people I want to nominate.
 
12:58 AM
19 hours?
 
Who all?
 
> Could not resolve this reference. Could not locate the assembly "SD.LLBLGen.Pro.DQE.SqlServer, Version=4.0.0.0, Culture=neutral, PublicKeyToken=*dontknowifpersonal, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. DALDBSpecific
 
Loki, Mat, Duck, Simon, and Janos, to name a few.
 
4 mod positions?!?
wow
 
Yeah, only 4.
 
12:59 AM
Bookmarked page to wait for 19 hours.
 
I suppose for the first
 
Me too
I wonder how many people will actually be nominated/nominate themselves.
 
8, at least.
My list, me, you, and Jamal.
 
Well, if it's less than 10, they directly skip to elections.
Rather than doing primary stuff.
 
14624 errors, wonderful
 
1:02 AM
This is going to be a very interesting next two weeks, to say the least.
2
 
Didn't solve the problem, but thanks anyway @Hosch250
 
OK,
 
18 hours to go!
 
Did you clean/rebuild?
I'm leaving for a bit to finish my book.
 
I did, and I think it's a reference error
Thanks for the help
 
1:05 AM
Okay guys, I think the mod elections will start at 19:00UTC
 
All right, fresh SO day... let's see if I can wrap up another 53 rep before I go to bed tonight.
 
@QPaysTaxes So I've just posted it. Not sure if it's any better.
0
Q: IntModulus reloaded

maaartinusAs my question Modular arithmetic was hard to review and terribly long, I've added a few comments to the easier part, namely IntModulus. The code uses Guava and Lombok. As usual, feel free to ignore my slightly deviating coding conventions. My concerns are speed and correctness. The whole code ...

There were bugs in the old version, fixed now.
 
@nhgrif 3 away. How do you feel?
 
How do I feel? I feel like there's a chance some will gt reversed
I just got C++ bronze badge too...
 
0
Q: IntModulus reloaded

maaartinusAs my question Modular arithmetic was hard to review and terribly long, I've added a few comments to the easier part, namely IntModulus. The code uses Guava and Lombok. As usual, feel free to ignore my slightly deviating coding conventions. My concerns are speed and correctness. The whole code ...

 
1:11 AM
Maybe. The SE network has been really quirky lately.
Q got serial upvoted, but none of it got reversed.
 
I am 57 upvotes away from Swift silver badge.
 
Badges are taking forever to "load".
The SE network may be experiencing something, that'll probably come in 6-8 weeks.
 
Noice
Oh, and by the way, I don't know if this has been asked, but are you running for mod?
 
Are a 'graduated' site minimum rep requirements different that a 'beta' site's requirements, if so, will the lower rep users lose privileges when we get the new design?
 
1:14 AM
@Quill Yes
And yes
 
goddamn love re-importing the whole project because of missing files that won't come in with an svn update
 
brb. Gonna go get a drink.
 
I hope to christ this doesn't screw IIS over
 
@EthanBierlein Are you voting for me?
 
1:35 AM
@nhgrif If you're running along with me, yes.
 
I've not decided who gets my vote yet, except Jamal.
We've got to keep the Jamalizer.
 
Maybe.
 
I've already decided all my votes
 
I'm voting for you, nhgrif, and Jamal
 
1:39 AM
Depends on how you answer the questions.
Thanks.
 
@Hosch250 Fair enough.
 
You might want to change that later, though...
 
doesn't matter who you vote for, Jamal will correct it to vote for himself
 
Lol, but not funny.
 
The current mods are doing such a fantastic job, it'd be a shame not to keep them on, (as long as they want to stay on)
 
1:42 AM
200_success hasn't mentioned if he's running, and I know that Jamal is running, but rolfl isn't.
 
Now, it's alright to remove copy/paste extra spacing from a question, right?
0
Q: Improving beginner Java OOP

Ryan BoydMy assignment was to make a "Lending Library" that keeps track of items. We were advised to create two classes and a main method. What I am unsure of is if any of my code would be considered bad practice or unnecessary, especially when it comes to declaring objects and instantiating classes. ...

Like that.
 
0
Q: Improving beginner Java OOP

Ryan BoydMy assignment was to make a "Lending Library" that keeps track of items. We were advised to create two classes and a main method. What I am unsure of is if any of my code would be considered bad practice or unnecessary, especially when it comes to declaring objects and instantiating classes. ...

 
@Hosch250 If the language doesn't have any issues with indentation or spacing, like Python, then I think it's okay.
 
@Hosch250 I would say no in that case, it could be part of the review, but I wouldn't
 
I mean, the whole post has a couple extra indents.
Are you going to review that they didn't adjust the whole post out to the edge to remove redundant spaces?
 
1:45 AM
Not solely for the indentation, but it could be a small comment on a review encompassing other elements in greater detail
 
Like what?
Hey, you can use the CTRL-K shortcut to remove extra spaces when you copy/paste the code?
 
Maybe...
 
I think that would qualify as a SE-use-review, not a code review...
But, if you don't agree, then I won't.
 
Hmm, perhaps
I just remember one of my edits being rolledback for that
Or something similar at least
 
It is illegal to modify the indentation of a particular line.
But if you shift the whole post, the indentation of each line remains the same.
 
1:50 AM
This makes sense to me. Somehow it has to be fixed and letting multiple reviewers deal with it is wasting their time. IMHO add a comment and fix it.
 
1
Q: Complete date ranges for two years

Fatimah WulandariI have array contents with some date ranges, fetched from the database: $calendar = array ( array ( 'check_in' => '2015-01-02', 'check_out' => '2015-02-28' ), array ( ...

title says two years, code says two months
strange
 
Incoming question!
 
I added a comment.
 
> lookAndFeel 'nimbus'
wow, , no binary operator!
 
1:54 AM
Java is magic, but the incantations are very wordy...
 
Binary operator, which one?
 
BTW, this is Groovy, not Java
 
@Phrancis I think wordy is an underexaggeration.
 
maybe easy to solve, however, I couldn't think of a solution in this very minute. :) any suggestions?
0
Q: How to advance in a queue with 8-bit members and combine couples into 16-bit values

MehradI have a pointer to an array holding ,say, four pair of 8-bit values such as this MSB-lsb-MSB-lsb-MSB-lsb-MSB-lsb ^ | bufPointer I am going to advance in this queue and populate the fooStruct structure's 16-bit members with these four 8-bit couples. I can do this in two lines as below for t...

 
> This is my first time writing a Java application
Got confused by the first line
 
1:56 AM
Whoops
 
Good morning btw :D I made a shady entrance
 
@Quill Fixed
 
@Mehrad It's 12pm, did you only just get to work
 
@RubberDuck We already saw, thanks to @EthanBierlein
 
1:57 AM
@Quill it's 11:57 so officially morning :D
 
1 hour ago, by Ethan Bierlein
https://codereview.stackexchange.com/election/1
 
@QPaysTaxes That's quite the compliment :)
 
3
Q: Append user input to a database

PhrancisThis is my first time writing a Swing+Groovy application that successfully inserts data to SQL tables. It may look like example code, but it is more test code, as I will eventually expand this to a much bigger application, and would like to see if I can improve it before expanding it. What it d...

 
and also I really like the new rainbow logo of the StackOverflow :D mouse hover made it even more ahmazing
 
I don't know groovy, but could you use a for loop in tableLayout { instead, @Phrancis?
 
2:00 AM
user image
3
That's awesome
 
Election starts in 18 hours and there are 4 positions available.
 
They should add "Or a unicorn." to the end of that.
 
@EthanBierlein Feel free to hit up Meta about that :P
@Jamal Is 4 the max amount of people we can nominate?
 
@Quill I don't think so, the tr / td seems to be a lot like HTML syntax so it probably has to be enumerated manually
 
@Phrancis It makes you feel good to live a world which is trying to take an open minded approach
2
 
2:01 AM
Indeed
 
@Quill No, it's the number of moderator seats available. There's no limit to the number of nominations.
 
@Jamal Thanks for the clarification
 
I was hoping for five, but oh well.
 
I wonder whether The Vote would've had the same result if put to a public referendum instead of the Supreme Court
 
2:19 AM
@Quill It's a bit more complicated than that
 
@Phrancis I know
 
The Supreme Court didn't rule on legislation, they ruled on a case which set a precedent
(from my understanding, anyways)
I really don't think things like this should ever be left to "popular vote" when it has to do with people's rights
 
@Phrancis Ireland was public vote, and that went 68% in favour
 
But, as a thought experiment, I think if that vote was left to public referendum, it would have went the other way
</politics-rant>
 
It's better off left in the hands of those qualified to make a justified decision, but it's still a thing
 
2:24 AM
I have learned so much from making this tiny simple user form
 
Groovy, dude!
 
Literally!
I found this especially cool:
                sql.eachRow('''SELECT 1
                                  id
                                , first_name
                                , last_name
                                , phone
                                , date_of_birth
                                FROM test
                                ORDER BY id DESC;''') { row ->
                    println """
New data appended to table:
Person Id: ${row.id}
Name: ${row.first_name} ${row.last_name}
Phone: ${row.phone}
(the println string is indented back to the left so that the spaces don't get printed into the console)
 
I had the same feeling a year and a half ago, when I did the same sorta thing in PHP for the first time
 
EWWWWW
(just joking)
 
It's okay :P
I thought PHP was ugly when I started too
and I still do :P
 
2:28 AM
I tinkered with the idea of learning PHP, but gave up pretty quickly when I found out that even JavaScript was an upgrade over PHP
 
PHP is kinda a stepping stone language for me, learn most of the features, and then migrate to C#
Although, I use it a bit for smaller scripts
 
Makes sense. I have seen good PHP written on occasion, but it's pretty rare. Especially when it ties to MySQL
 
Someone here proficient with ant or maven? I'd like to add build script to my trivial project with non-maven layout:
 
@Phrancis I've seen PHP that's harder to understand than Brainf**k
Ooh, I just wrote my first LINQ statement (are they called that?)
 
@Quill I guess if it states something, it can be called a statement
 
2:44 AM
var imps = (from ListingStatisticEntity listingStat in listingStats select listingStat.WebImpression).ToList();
feels more like a query
 
@Quill A query is also a statement
But yeah, it's definitely a query
I find LINQ queries funny because they read like SQL, except backwards
 
I see
@Phrancis Thanks, actually, that's a good way to remember how to write them
Easier than just learning, apparently :P
 
@QPaysTaxes Thanks! With div you're wrong. It's tricky, try modulus=5 and 1 / 3.
@Phrancis That's because of SQL being backwards. ;)
 
It's interesting to note that, personally, when I write SQL, I usually write my FROM part first, then the rest of it
@maaartinus Right
 
And then 0 * 3 = 5, as mul and div are inverse, right? ;)
But 3 * 2 mod 5 is 1, so you don't have to lose anything.
 
2:57 AM
It eludes me why anyone would ever want to do integer division
 
newModulus(5).div(1, 3) should be 2. Try with BigInteger, use powMod(-1) to get reciprocal.
 
(other than for FizzBuzz, of course)
 

« first day (786 days earlier)      last day (3222 days later) »