« first day (959 days earlier)      last day (3355 days later) » 

@CaptainObvious I like how the using_t bool is highlighted as a type because of the _t suffix :)
@Duga Thanks, Oprah Duga.
Boy, look at what I missed while writing an answer for the latest question.
I guess if I get 100 rep in the next 3 hours, I get a hat.
Should I go for it, or wait until tomorrow?
I give you more chances tomorrow, 100 rep in 3 hours is a hard one.
Especially on a Saturday evening.
2
Sunday is always quiet, though, too.
Hi, @zibzabzubudua
21:09
@Mast Well, @Duga is already on Github, so why not put her Docker image also on Github?
@SimonForsbergMcFeely True. If it works out well for you we could even consider it for OLog. You need quite a lot of dependencies there just to get started after all. May attract more contributors.
2
Java, Grails, PostgreSQL, Tomcat, things like that.
Worst of all: version difference could break stuff.
@Mast yeah, sounds like OLog also would be good for Docker.
@Mast I have yet to experience how to tie such things together in Docker though, but maybe @Edward has some experience with that?
Zak
Zak
@Mat'sMug You're right. I'm just a tad annoyed at the fact that he's gone and done everything I told him not to do in his previous 2 reviews. Better now?
13
A: Multi Dimensional Array Sort and Filter Functions

ZakStop. Close Excel. Take a deep breath. Now go and get an actual Database. MS Access. MySQL is free and Open-Source. It doesn't really matter. What matters is that Excel is not the program to be doing this in. At all. 10-Dimensions was already excessive. 31 is a severe case of Over-Engineering. ...

21:16
Not to seem ungrateful, but given the consistent inability of the SE team to send out swag in a timely fashion, perhaps you could simply concentrate on actually getting the stuff sent out of the door? — Richard 7 hours ago
urk... OP of that question doesn't seem to have understood "post on meta"
Not the neatest way of posting things, but he has a point.
@Mast yea I know.. still kinda wanted to mention it
I AM THE KING OF THE KITCHEN
god this pasta is heavy
lol
21:28
some java people other than me around?
I've got a question here that deserves a better review than mine...
@Vogel612 Quack
Zak
Zak
Unsurprisingly, lots of Star Wars questions on SF&F. They seem to be doing a decent job keeping spoilers out of the titles so far.
Yea, clicked one of them accidentally this evening.
Didn't reveal anything at first sight, plenty of time to leave the page.
Two answers up just now!
I have a chance to cap if you people vote!
@SimonForsbergMcFeely this one
21:41
ugh
I let the dogs lick the bowl clean and now the hairy one his moustache is orange
2
He's going to give me away
2
it's "one's"
English is my fourth language, I can write it any way I like
3
@JeroenVannevel You just finished Cause-and-effect 101.
3
@Vogel612 too much code and to little context for me to find that question interesting.
you don't say "die zijn snuit" either, right?
@SimonForsbergMcFeely not really much context to give, I'd say
21:44
@Vogel612 Perfectly legal.
seriously?
Yup.
possible answer invalidation by Caridorc on question by Caridorc: codereview.stackexchange.com/posts/114476/revisions
In some dialects it's probably the default.
don't you have genitive in dutch?
21:45
In others it's more exotic.
@Vogel612 too little description, then. A class summary or anything would improve it.
"die hond's snuit" is almost never used. "die hond zijn snuit" is normal language
Genitives go a little weird in Dutch. Just like the rest of it's grammar.
There, just 33 to go. Here I come, another question.
@Vogel612 en.wikipedia.org/wiki/…;, it used to be like that in English, too. Some time ago.
21:52
> but heavily violates standard German grammar
even wikipedia knows :D
Holy smokes: while (((++i)<MAX)&&(!a[i]));
That is one ugly loop statement.
@Vogel612 in Dutch, "de snuit van die hond" is also preferred, I guess
@Hosch250 and implicit conversion in there, eh?
I'm not even sure what exactly it does.
@Hosch250 Perfectly readable, if you've been writing the language for 20+ years. Otherwise you need to think about it before it becomes clear.
21:55
No spacing, ugly naming...
It's old-style lambda expressions.
3
@Mast Yeah, I can read it, I just don't want to read it.
@Hosch250 The MAX is quite clear, as is the i. The array is probably named a because it's temporary.
Increment i as long as i is less than MAX and the value in a at index i is false.
> Update (Dec. 17): We're going to push the transition date to Feb. 1, 2016 to allow for more time to collect community feedback on the proposed terms, which you can read all about below.
10
360
Q: The MIT License – Clarity on Using Code on Stack Overflow and Stack Exchange

samthebrand Update (Dec. 17): We're going to push the transition date to Feb. 1, 2016 to allow for more time to collect community feedback on the proposed terms, which you can read all about below. CC-BY-SA is an ideal license for a crowdsourced knowledge base. We’ve benefited immensely from it, our com...

22:00
0
A: Resolve entity behaviour based on enumeration type

Greg BurghardtThis feels like you want more than an enum. You can create an abstract class with a protected constructor. A few private sub classes later you have both an enum and objects with behavior directly modeling the parent-child relationships you are looking for: public abstract class AssetType { p...

0
Q: I would like some advice before I post my code for review

DJ McMayhemI have been working on implementing a huffman tree encoding program in c++ for a hobby for a while now. I just finished up with the code and, since this is a learning project, I would love to put my code on here for tips and review. However, I want to make sure I'm within what the community here ...

@RoboSanta Hmm... @RoboSanta still has more reputation than @Duga...
0
A: "Sherlock and the Beast" challenge in Java

Hosch250When you need to break out of nested loops, there are two things you can do. First, you can move the second loop into a different method and return a value signalling to break out of the first loop. An example would be moving the following into a method that returns a boolean. for( int y = te...

@Hosch250 advocating goto
ballsy
@JeroenVannevel I'm not advocating goto, just a labeled break.
In this instance, it is cleaner than what they are doing now.
22:12
That's the same as goto
Labeled breaks are awesome.
@JeroenVannevel goto is no more evil than gunpowder, there are good usesto it
2
@Vogel612 There's so many dialects ;-)
@JeroenVannevel Technically, it doesn't use the goto keyword...
@JeroenVannevel possibly implemented as, but not the same as.
22:13
Partner in crime
(Hi everyone by the way)
I'm 3 away from capping...
Alright stop picking nit. The working of a labeled break is the same as a goto
@Hosch250 1h 45min to go. That's 0.02857142857142857142857142857143 reputation per minute.
22:14
@SimonForsbergMcFeely Yep. I think I can do it.
@joranvar Wait, you're Dutch too?!
@Hosch250 accept two answers.
I think all my questions either don't have any or are accepted.
@Caridorc Eh, I've softened a little bit on it after seeing it used in Roslyn's code base but I have yet to see a particular usage that really shows why it is required
@skiwi It's like an infestation
@JeroenVannevel We'll take over
Zak
Zak
22:15
What's our current character limit?
Actually, I have one, but I've never been able to test it.
@JeroenVannevel for () { for () { for () {goto outer;}}} label outer;
Try to get qualified for the EC first before you start your world domination spree
hrmph.. remember there's a friendly German in your neighborhood
22:16
I don't get rep for accepting my own answers.
Thank you, secret santa.
Help me welcome Hat Trick.
@Caridorc Yeah I suppose. Haven't really come across nested loops that much in my own code though so not much experience with the scenario
@JeroenVannevel yeah, I tend to avoid nested loops too. But remember that not caring about memory makes creating functions easier, but in C sometimes it is easier to inline most of the stuff, hence goto
Reminds me of that video I linked to earlier today. The Roslyn team noticed a huge improvement in IDE responsiveness after switching from C++ to C# because it allowed them to focus on the algorithm's details instead of juggling memory management as well
Now every keystroke is handled within 80ms with a 98th percentile of 40ms. A little annoying that they didn't provide reference numbers though -- but I'll take their word for it
@skiwi typical
22:23
0
Q: Post wrongly marked as duplicate

Sorin GFSHere you can find a post wrongly marked as duplicate. Facts: The code was rewritten for vb.net from vba, but initially was designed especially for vb.net. As a matter a fact, the code was initially written in vba because the help of excel's environment for necessary calculations. As a proof, @R...

Thanks, folks, I got Hat Trick.
@StackExchange @Zak @Mat'sMug @RubberDuck You might be interested in that.
@StackExchange totally constructive and convincing arguments .... ~cough
@skiwi Born and raised :)
@JeroenVannevel that would be an interesting video, but I am not finding the link in the transcript...
uno momento
it's in my paper's sources
Zak
Zak
22:27
@Vogel612 He's probably just pissed off. If he's right that it compiles as VB.Net and it's not exactly the same code as the VBA version, I think he has a fair point.
@JeroenVannevel thanks :)
@Zak Oh I'm sure it compiles in vb.net, I still consider those duplicates, especially since that's not really vb.net code, but vba code adapted to vb.net
which is two completely different things
Whoops, misread.
Zak
Zak
I admit, I know nothing about coding in VB.Net, but if he wants it reviewed *as vb.net code* then that probably *is* a different question to wanting to be reviewed as vba code. With, admittedly, a huge overlap in non-language-idiomatic parts of the review.
22:32
@Zak Free rep for you, anyway.
Can't argue with that :)
Fine, at least now we know it's vb.net - Feel free to VTR, I'll hammer-reopen later, and shred that "vb.net" code to pieces if no one did
3
Hey guys, Batman hat option!
Go edit, then reopen.
@Mat'sMug I call that the question still is a duplicate
Zak and Mat can't get it because they voted to close.
-1
Q: Design for a Java Banking program

AnuragI tried coding a sample Java program to solve a Problem statement. Java Banking Demo Problem statement Github repo for Java Banking Demo I am just looking for honest feedback on the design, coding or anything else on the code :)

0
Q: Using the llvm::iterator_adaptor_base

Minor ThreatCurrently I'm working with the LLVM JIT framework. There is some graph i had to implement for internal cost benchmarking. It has cyclic node dependencies, so i have to use std::weak_ptr pointers for node's children instead of their std::shared_ptr counterparts. When it came to implementing child ...

Zak
Zak
22:34
@Mat'sMug Well, you may want to see my last 3 reviews for things that he still hasn't changed. Feel free to plagiarise as required.
@Zak I call that grounds for downvoting his next question if he doesn't fix them.
Zak
Zak
Eh, he is modifying his code for each one, and admittedly, the newer code sections seem to have taken some of it on board.
Re-reading my old reviews now. Some choice comments in there.
"I'm not even going to try and work out how ParseArray works. It's 200 lines of nested for...loops and elseif statements that's been made to work through sheer stubbornness"
5
@Zak Reminds me of sections of Rubberduck in 1.x.
@Hosch250 lol
Zak
Zak
I mean, for gods' sake. 3 iterations later and he's still got s and d as variable names for Data Arrays
3
22:40
He should get Rubberduck and use the Rename tool.
2
@Zak I think that longer names wouldn't fit on one line, 31 side by side
Only trouble is, I'm so embarrassed about a few of my released bugs that I don't really want to recommend it.
he should take a hint and clean the mess up
ohh he presented more "proof"...
That's why it's a dupe in my opinion. It's not been improved yet. At all. Slapping it into a class and using the .Net compiler does not count as improvement in my book either.
Zak
Zak
Either way, I have no clue about VB.Net and I'm not in a good emotional frame of mind to be constructive with him, so I'll leave him (and his code) in your capable hands.
22:47
The code hasn't changed. It has Object instead of Variant, removed some Sets and removed On Error Resume Next. The changes are mostly to appease the .Net-compiler.
Only to appease the compiler.
But maybe it was intended for VB.Net, and deserves a review in that background.
@RubberDuck StripRegex has a minor change in logic.
Windows 10 is installing. I'm diffing by eyeball...
...Maybe it should be reopened... And shredded.
I work with this dev. Oh, he left years ago, but I work with him every day... No one should be subjected to this kind of code.
3
Yeah... that change is easy to miss. And it doesn't "feel" .Net.
Zak
Zak
I vote let @Mat'sMug have his fun shredding it to pieces.
22:54
Maybe... this is his way to learn OOP. In VB.Net, the suggestions can gently move him in that direction.
> Have you ever heard of the Enumerable class? It does everything you wrote this code to do and it does it better.
I can't review it.
I just did...
Evening all
@DJanssens Evening
Random question, has anyone ever encounter a boot loop problem with his android device?
Occasionally. After a bad flash
22:56
tbh I'm not even sure if its the correct terminology for my problem
If i try to start it, it runs up till the android logo and then turns off
Did you upgrade something just before that started?
Well that day I updated from 5 to 6.01
But it already did a restart before the problem occured
Do you use an official ROM? Or a custom one?
Just woke up this morning with my phone being quite dead :D
Well, better in the weekend than on work days (alarm wise) :)
23:03
Hehe, true
0
Q: Sails.js Controllers, make them skinny with promises and helper functions

AdamI am new to Sails.js, Node.js, and web application development in general. My current understanding is that well-written controllers should be "skinny" meaning they should be as simple as possible, easily readable, and abstracted by using helper functions to reduce the amount of code in the contr...

0
Q: C++11 implementation of Huffman-encoding

DJ McMayhemThis is a c++11 implementation of Huffman-encoding that I wrote as a hobby. My main goal in writing it was to get more accustomed to c++11 and STL in general, as well as stuff like bit-manipulation. Here are the classes bifstream and bofstream (binary ifstream/ofstream). I wrote these so that I ...

23:28
@joranvar seems wiping my cache solved the issue. Thank god.
@DJanssens Good to hear that! I hoped it wouldn't have to come to wiping the data partition...
Is "hot path" really such a common term? I'm trying to find a nice quote to use as epigraph and explain what it's about but every paper/book I look at just uses the term and never explains it
what does it mean @jeroen?
That explains what it is.
The execution path that is most commonly executed
23:32
> Inside a program, the code paths that are executed most often belong to the hot path (with the remaining code paths being on the cold path).
Googling it gave me a lot of results regarding profiling :D
int a = 5;
if(a == 5) // hot path
else // cold path
LOL, that else is dead code.
Some might even say it was an example.
23:33
Oh, and it won't compile, either.
You just mean a path that is less commonly used?
@DJanssens Yeah, he just said that.
int a = new Random().Next(0, 100);
if(a > 1) // hot path
else // cold path
Should have read that <;<
First path is executed 99% of the time, the second one 1%
first one is hot
23:33
Yep, that's a good example, but it still won't compile.
Does my MSDN link help?
I never heard of that terminology before, though I never actually looked into it either :D
pseudocode never compiles
Put empty braces it, and it will.
I already had the MSDN link -- it's what I would settle for if I didn't have anything better
23:35
I was hoping for a nice hit here but they're not very appropriate either: books.google.es/…
Let's see, where did my Knuth set go?
and every single paper I come across is about profiling but doesn't explain what it is profiling
Oh, yeah, it is in the closet downstairs.
Hello.
I almost capped yesterday... But my computer crashed.
I looked until the 3rd result page on google
I never look past the first page, let alone the first 3 results
23:38
@Mast @TheCoffeeCup ^^ Select a memory cell and you can see which parts of your code uses it
@SimonForsbergMcFeely Nice!
@SimonForsbergMcFeely that's pretty cool
@syb0rg DVLR'ed. WVL.
@Hosch250 wut
23:49
Daily Vote Limit Reached. Will Vote Later.
Zak
Zak
Anybody around who can write a simple SEDE query for me?
Maybe. I'm a bit busy ATM, though.
Zak
Zak
Just trying to get a list of all VBA CR questions by date. Want to graph them and see how the tag is doing relative to recent history.
@Zak select * from users
2
you're welcome
Zak
Zak
23:54
@JeroenVannevel lol
I don't know how to do a graph.
gone for a few hours and come back to 16 notifications

« first day (959 days earlier)      last day (3355 days later) »