« first day (844 days earlier)      last day (3176 days later) » 

5:00 PM
it's not a problem... the code still runs
 
Zak
because they're not just not displaying, they're not being referenced either
 
nonsense
add a watch instead
 
@Mast Actually, the boss is asking for a sandwich as well...so it just became three. Lol
 
@EBrown ^^
 
> #8 BILLY CLUB®
for Elliott
#10 HUNTER'S CLUB®
for Elliott as well
 
5:03 PM
> This has rendered inoperable most of the macros I've written in the past year.
 
-1
Q: minimum number of coins to make change - example javascript/jquery code

sbphow to write a javascript / jquery code for the following : minimum number of coins to make change - an example javascript/jquery code that would do the following. for example reference i dont find any js/jquery code at all. and i have no working code for it. :( this is one example code but in...

 
but the code still runs as expected
 
@CaptainObvious Hammertime!
 
please leave a comment :)
 
@CaptainObvious Looks like OO homework done terribly wrong.
@Mat'sMug Questions this bad usually don't get one, but if you say so.
 
5:06 PM
got it
 
Modified the 'request for explanation' comment a little to state we don't do feature requests. Not sure it's clear enough, but it definitely tells it's off-topic.
 
Zak
oh my god
this is embarassing
 
Is it doing things?
 
@Mast we'd still want OP to come back with their working code, not just leave and think "what a bunch of moronic brutes, gosh I hate SE"
 
Zak
I have figured out the problem
 
5:08 PM
@Zak :)
 
problems are usually like that
 
Zak
so. what triggered all this was I ran m application and got an "automation error"
which basically means you tried to reference something that no longer exists
 
or half-a-million other things, but go on..
 
Zak
I'm used to looking in the locals window and, in a pull down under the sub, seeing all my public variables
so I debuged, looked, and all it said was <No Variables>
 
5:10 PM
@Mat'sMug It's a question. I highly doubt he'll come back with working code.
 
Zak
and I thought crap, for some reason, it's not referencing my global variables module
so I went and checked all the other Pcs
same thing
 
@Mast but we never know!
 
Zak
and spent the past 7 hours frantically trying to fix this
It turns out
the locals window only ever displays variables local to the module
 
so you'll spend the next 5 minutes frantically deleting all these SE posts ;-)
 
Zak
since I've always had my public variables in the module with my code, they've been there anyway
nah, I made a mistake
somebody else might in the future
 
5:12 PM
Noooo! I'm out of stars!
 
Zak
I'll edit it to say what was actually going on
 
then your SO post needs an edit to better explain the problem, and then you can post a selfie answer
 
Anyone know the Codeless Code case that talks about masters making the same mistake twice?
I can't find it.
 
@Zak Answer it, don't edit. And mark it as accepted
 
Zak
as it turns out, my automation error happened because I'd closed a workbook before a part of the code where its worksheets were referenced
score 1 for "You should have implemented Version Control by now you idiot"
3
 
5:13 PM
@EBrown I'm out too
 
@Zak Version Control is for wuss-bags.
 
@Zak TS
I don't use it at home
 
@EBrown says the "I don't need version control.. wait let me put this up on GitHub" guy
;-)
 
@Mat'sMug I only put it on there cause everyone was giving me carp about "no Version Control!?!?!?!" lol
 
you're going to fall in love with it sooner or later
 
5:15 PM
Not likely.
I already have a first love.
 
I didn't use to use SC, but I love it now.
 
github is more about social media with code than it is about source control
 
@EBrown Do I want to know which is it?
 
I was trying to maintain multiple versions by cope/pasting projects into multiple versions.
 
Well, ordering this Jon Skeet book I can't afford.
3
 
5:17 PM
@EBrown best read I've had since Dependency Injection in .NET
 
I don't do books
 
@Mat'sMug I have no programming books except those required by my college.
Like, "Problem Solving with C++"
Which should be retitled: "Why C++ is a bulky choice for any problem".
 
oh. I have half-a-metric-ton of Microsoft Press books bricks
 
@Mat'sMug You should send me some, I want to get them but can't afford them.
 
@IsmaelMiguel You're supposed to read them, not 'do' them.
 
5:18 PM
@Mast I don't read or write them
I don't even have books!
 
hmm actually most of them are APress. you know thoese 3-inch-thick black-and-yellow books.
 
"C++ is an octopus made by nailing extra legs onto a dog"
2
 
@Mat'sMug Yeah.
I should show you my amazon wish-list.
 
@DanLyons That made me laugh! Thank you!
 
@DanLyons Don't you love those legs?
 
5:19 PM
I learned C# by reading "Pro C# 2010 and the .NET Framework" cover-to-cover
 
@DanLyons Don't get me wrong, I like C++ for certain things, but damn man.
Have no clue if you can see that or not.
 
@DanLyons Reminds me of a Gryphon.
 
@EBrown nope
 
@EBrown No.
 
5:20 PM
Damnit Amazon.
 
I can't keep up with the discussion posts going up at the U.
 
@EBrown Nope as well
 
Oh wow, forgot I had "The Art of Unit Testing" on there.
LOL
And I think that's the wrong list.
 
figured that out
 
There we go.
That should be it.
 
5:22 PM
I think I have 3 of them
although I never even opened the HTML5 one
 
I wanted several of these for work.
 
@EBrown You don't exactly need the 8.1 book seeing as we are one 10 now.
Oh, work might not be, I suppose.
 
@Hosch250 You do see "Added", right? Lol
 
Yeah.
 
> Added July 10, 2014
We still use 8.1 all over work, though.
We'll be moving to 10 soon.
So it's outdated now.
 
5:25 PM
I wish I was back on 8.1.
 
I'm on 7 at work
 
8.1 here
 
At least your work keeps up-to-date.
 
We stay on the latest.
 
Can I come work with you?
 
5:25 PM
-1
Q: Edit javascript code

user82068i need to edit a news ticker code to get news form database <div class="row-fluid"> <div id="TickerBC6978960" class="bc_ticker" style="padding-top:10px; text-align:center; height:50px; width: 98%; margin-left:auto; margin-right:auto; overflow: hidden;overflow-x: hidden;border-width: 1;border-co...

0
Q: My first plugin: a jQuery form validator

Mark HillI am new to the world of jquery plugins, I don't know why I didn't get into this sooner. What I have a working validator that validates bootstrap styled forms. What I have discovered is that the way it is set up causes error when there are more than one form on the page. I would like to know how ...

0
Q: Transforming an array of arrays into an array with joins

docodemoreI'm transforming this: [["Apples", "fruitgroup", "123"], ["Bananas", "fruitgroup", "012"], ["Jumbo Jet", "planegroup", "99"], ["Crop duster", "planegroup", "40"], ["Melons", "fruitgroup", "55"]] into this: ["Apples or Bananas or Melons [x]", "Jumbo Jet or Crop duster [x]"] Because basically...

0
Q: Sloq SQL query LEFT Join

kentorWhat my query is doing: I have two SQL tables and I want to copy datarows from the one table to the other table. I am doing this for statistics. The source table includes all current member-sessions/logins and with my statistics table I also want to see member-logins of the past. Thus I want to ...

 
And I have my PDF download of "C# In Depth" now.
 
why not just order them and expense them?
 
@Hosch250 Sure, but the only position we are hiring right now is Tech Support.
 
@EBrown IIRC there's a PDF download of "Dependency Injection in .NET" too
 
Let's see, where do you work?
 
5:26 PM
Which, we haven't even decided on yet.
@Hosch250 Detroit.
 
ROCK CITY!!
 
Can't come for two summers, anyway.
 
@CaptainObvious Are you tempting me, CO?
 
@Hosch250 Why?
 
School.
 
5:27 PM
?
 
I have school this fall/spring, an internship next summer, and school next fall/spring.
Then I'm done.
 
And does that have to do about you wanting Windows 8.1 back?
 
Oh, lol, I didn't see the pointer.
Windows 10 still has a bunch of minor, annoying bugs.
 
Well, FYI, all new PC builds for our company have Win10.
 
5:30 PM
That's why I don't have Windows 10
 
So you would have Win10.
@Mat'sMug They won't let me. :(
 
@EBrown Hopefully they will be fixed within 1.5 years.
 
And I got both my JJ's sandwiches. :)
 
Note that Code Review requires the code to be embedded in the question. Also, I suggest you use Stack Snippets (Ctrl+M) instead of a fiddle, so that the code can run on-site instead of relying on a 3rd-party. — Mat's Mug 21 secs ago
By the sounds of it there will be too much code to include, and most probably user doesn't or cant paste business code on the web. Some current implementation with abstraction would be useful but I can feel solving the problem would be easier by redoing the table thingy. Either way... I am happy to review my answer with any more details here or on code review. — ppumkin 36 secs ago
 
60K characters? no way
 
5:34 PM
@CaptainObvious Remember, remember, it's nearly September
 
@Mast ♪ Wake me up when September ends...
(I know, too easy)
 
@Mat'sMug Except the Eternal September never ended.
 
I wish it was March
 
I'm a little disappointed in this Jon Skeet book.
 
Zak
so, does this answer do a good job of laying it all out?
0
A: All Public Variables in VBA Macros in my office stopped working this morning

ZakWhat happened: I opened up a macro this morning to work on expanding it. I ran it to check it was still working. it threw an "automation error". [side note](I've always been used to being able to see my global variables in my locals window. In a nice pull down tab under the module name. It tur...

 
@Zak I have no idea what you have done to fix it.
 
@Zak missing "use Rubberduck" in the "what I could have done" section (covers unit testing and source control) ;-)
 
@Mat'sMug TS
 
Zak
@IsmaelMiguel I realised that my code was, in fact, bugged and fixed it.
 
@Zak That isn't specified in the answer
You should add a tl;dr section at the top
 
Zak
5:46 PM
it is in the answer, it's just right at the end of the "what happened" section. I've changed it to make it clearer.#
and with that. I'm going home.
When I'm asked in the morning I'll just tell the office that I eventually tracked down the problem and fixed it.
 
You should put the conclusion in a clear spot, like at the end and at the top in a tl;drsection
It's crammed down somewhere
 
@IsmaelMiguel Or perhaps, you should read the entire thing, instead of expecting spoon-feeding.
 
@EBrown You know how long the answer is?
I read the whole answer and missed that single line
 
Zak
It's a good point, I've added it to the tl;dr in the question
 
It's not spoon-feeding
 
Zak
5:50 PM
I also separated out the bit in the answer where it is, too.
 
http://www.commitstrip.com/en/2015/08/26/sautez/
CommitStrip - Blog relating the daily life of web agencies developers
Jump!
CommitStrip
1440611395
2
 
@Mat'sMug This book is actually disappointing me a little.
 
@Zak On SuperUser?
 
Zak
on both
 
Your answer, on StackOverflow, has the ID 32233222
 
Zak
5:52 PM
2
A: All Public Variables in my entire office suddenly stopped working this morning

ZakWhat happened: I opened up a macro this morning to work on expanding it. I ran it to check it was still working. it threw an "automation error". [side note](I've always been used to being able to see my global variables in my locals window. In a nice pull down tab under the module name. It tur...

1
A: All Public Variables in VBA Macros in my office stopped working this morning

ZakWhat happened: I opened up a macro this morning to work on expanding it. I ran it to check it was still working. it threw an "automation error". [side note](I've always been used to being able to see my global variables in my locals window. In a nice pull down tab under the module name. It tur...

 
@CommitStrip TS
 
Zak
on the plus side. I've learnt a lot today
 
Which is great on itself
 
Zak
It's been a strong reminder that I still have a LONG way to go before I'm a responsible programmer
Also. I have -3 rep on CR today. How does that happen?
 
@Zak "It's been a strong reminder that I still have a LONG way to go before I'm a responsible programmer"
@Zak On your profile, it says you had 1 downvote (-2 reputation)
 
6:01 PM
Howdy!
 
I wish I could bugfix people
 
@Morwenn Hellow
 
Oh... :o
Howking! :D
 
@Morwenn Greetings
@DanLyons You can punch the stupidity out of them
 
@EBrown which book?
 
6:04 PM
@Mat'sMug The one by Jon Skeet.
 
@EBrown keep reading
 
@Mat'sMug I am, and it has already let me down. :(
 
@IsmaelMiguel Punch them?
 
Can anyone borrow his brains an explain what the heck is the commitstrip talking about?
 
6:07 PM
@IsmaelMiguel Well, I can say I've had the urge to make a startup before....
 
@IntensifierDescriptorMan The idea is with his first
 
@IsmaelMiguel A new startup - he took the leap.
He wasn't sure whether to take the jump or not, but he did.
 
For you, what is a startup?
 
A new company.
 
Why is it "new startup"?
 
6:08 PM
It was parodying how you don't know whether your new company will crash and leave you nothing, or be a success.
 
Does it have to start again?
 
No, just a brand new company.
 
If you start your own company, you're a startup
Well your company is
 
Either that, or an upstart.
 
When someone says "startup", I think of someone who has never worked and is now going to his first job
 
6:11 PM
That moment when you realize the reason your JavaScript variables aren't being set to anything is because you can't type the name right.....
 
Well, no.
 
@IntensifierDescriptorMan That happened before
 
Zak
@IntensifierDescriptorMan does jave not have option explicit?
 
@Mat'sMug It's what comes to my mind.
 
@IntensifierDescriptorMan you code in NotePad?
 
6:12 PM
This is why CommitStrip is boring
 
@Mat'sMug Visual Studio (ASP.NET project)
 
Ugh, delegate types.
Even Jon Skeet can't make those interesting.
 
If the code works fine, this might be more suitable for Code ReviewSami Kuhmonen 45 secs ago
 
I need 3 guys to tell me what the heck it means
 
@IsmaelMiguel Then quit reading them.
 
6:12 PM
@Zak lol, JS is duck-typed. Picture every single variable as a Variant
 
@EBrown I get curious and try to read them, when someone stars them
@Mat'sMug But Variant has to be an instance of Object
 
@Zak Just added it. Thanks for the reminder. I never took the time too see how to use it.
 
No. Variant can be anything and its mother
An array, an object, a value... whatever. And it can be reassigned to anything of any other type, too.
 
Variant is the worst idea since sliced bread.
 
Can it be an object of an instance of Object
 
6:15 PM
But.. but wasn't sliced bread a good idea?
 
Not exactly
The sliced bread lasts a few days less than non-sliced
 
@Hosch250 Variant is what allows VBA to work with COM types
 
I like my bread in chunks not serious.
 
misusing variant is too easy though
 
@Mat'sMug But every variable is Variant in VBA, right?
 
6:17 PM
no
 
@Mat'sMug Last I heard, COM types were a bad idea too.
 
They always throw COMExceptions.
 
Dim foo As String
^^ declares a string
Dim foo
 
How come I can write Dim foo and it won't barf?
 
6:18 PM
I guess it declares a variant.
 
because that's a variant. An implicit variant.
 
Zak
because any variable not explicitly decalred as a type is declared as a variant
but you can explicityly decalre a variable as anything you want
 
And Rubberduck has an inspection for that ;-)
 
I have to thank to my stupid self for teaching myself wrong
 
It sounds like doing 'var v = null' in C#.
 
Zak
6:19 PM
and, if you use option explicit, if you use a variable that wasn't explicitly declared (type or no) it throws an error
 
(Which is illegal, BTW.)
 
@Hosch250 it's more like doing object foo;
..which is rather useless
 
Then why doesn't var v = null just use an object?
Because it is reasonably smart, I guess.
 
@Hosch250 Because null is a value of type null?
 
null simply assigns every bit in any type (except non-nullable types) to 0, IIRC.
 
6:21 PM
And all Nullable<T> may be used, due to being an instance of null? <-- speculation
 
@Hosch250 because var doesn't "guess" anything. It just removes clutter.
 
@IsmaelMiguel null isn't a type.
 
This is why I don't get along with implicit typing.
 
null is null - nothing.
 
@Hosch250 Good thing it was a speculation
 
6:22 PM
@Hosch250 Nullable<T> is an interface IIRC
 
Just define it a class if you need it to be a class and define it as int if you need an int.
 
It is best at throwing null reference exceptions when you aren't expecting it.
 
@IntensifierDescriptorMan Nullable<T> is a generic value type with reference type semantics
It's a struct
 
0
Q: Function to toggle between two values of an enum

heltonbikerI have this code, but it looks a bit verbose: void ToggleMonitoringMode() { if (_monitoringMode == MonitoringMode.Seek) _monitoringMode = MonitoringMode.Destroy; else if (_monitoringMode == MonitoringMode.Destroy) _monitoringMode = Monitori...

 
@CaptainObvious resists urge to re-title "Searching.... Seek and Destroy!"
 
6:27 PM
@Mat'sMug Punny title is punny.
@Hosch250 That depends on what you are doing.
If you are interfacing with a COM application, you have little choice. ;)
 
I'm glad the workers control the job in IT.
My sister has all sorts of problems wither her music-teaching-company employer.
 
The employer is a bit of a jerkess.
 
@EBrown eh, answered it instead ;-)
 
@Hosch250 There are plenty around
 
6:34 PM
Not music teaching companies.
 
Zak
why the migration?
 
I think there is a Stack for code review you should submit to. This would be off topic because you don't have an issue that needs solving. — Rasclatt 29 secs ago
I'm voting to close this question as off-topic because it's about codereview.stackexchange.comLuc M 34 secs ago
 
@Zak The conversation went seriously off-topic.
 
Yes, it went off-topic
 
6:46 PM
that wasn't needed.
 
But it's true
 
@IsmaelMiguel Completely unnecessary.
 
Not getting punished doesn't mean you're not breaking any rules.
 
But still true
 
@Mast TS
 
6:47 PM
Just look at the chat
Tell me when was the last on-topic message
 
@IsmaelMiguel Relax. Don't fight it.
 
I'm not
I'm just proving a point
 
@IsmaelMiguel No.
 
@IsmaelMiguel No, you're whining.
Perhaps you should begin to understand when it is and when it isn't appropriate to respond to chat.
Sometimes, you just have to ♪ Let it Go ♪.
3
 
2 hours ago, by Mast
@CaptainObvious Looks like OO homework done terribly wrong.
Last on-topic message
@EBrown Urgh, I hate that song
 
6:50 PM
Now, factor in what percentage of those messages between then and now were you, vs. what weren't.
 
What?
 
I could have plain just deleted the messages. I could kick-mute, or ban from chat for anywhere between a minute and a century (maybe even more), ...and I chose to move messages to another chatroom instead. Let. It. Go.
 
Or, just ♪ Let it go, let it go, turn away and slam the door. ♪
 
@Mat'sMug That ^^
 
@Mat'sMug I'm just pointing out the huge stop you've missed.
The truth is:
When it is to talk about Amazon books
And other business that are off-topic
Totally fine
Even if it is in the middle of something on-topic
When I tell something
Suddenly, it isn't fine
If the discussion was about PHP instead of VB and C#, it would have been moved
I'm saying any lie?
 
6:53 PM
Here's the difference: when we're discussing programming-related books/work/stuff, it's still partially on-topic. Telling a story about working as a gardener is no where near. Just. Let. It. Go. (Otherwise, who's to say what @Mat'sMug will do next.)
 
What about debugging a VBA application?
Off-topic in 2 fronts
 
I'm not even going to continue this.
 
Me neither
 
Either take it to meta or don't, but stop this.
 
6:54 PM
take a minute off
 
Also, @Mat'sMug, this book has made me giggle a couple times now.
 
Jon Skeet's?
 
Yeah.
> but with great power comes a free box of donuts, or however the expression goes
I hate to admit it, but that's the funniest thing I have read all day year.
 
@Mast Meta it is. But later on. When I have something more solid to say.
 
Shamelessly pimping an old question:
4
Q: The dwindling Fibonacci

MastI've recently taken a renewed interest in non-standard languages like Brainfuck and TIS-100. I'm currently writing a Fibonacci generator in Brainfuck which differs a bit in approach from the usual generators already around. Since my current understanding of the language is very limited, the limi...

It's kind of quiet on questions anyway.
 
6:57 PM
Just got my first Popular Question on OpenSource! =D
 
I need to throw a Unit Testing question up here soon.
Except it's more likely on-topic for SO.
 
I'm going to have to get some real work done, there's a room owner in here (hi @Vogel612!), don't hesitate to ping me for mod business
 
@EBrown If it works, it's on-topic here.
 
I don't want that responsibility right now??
what is happening???
Who am I???
4
 
@Mast Well there's no way to really word the question to be on-topic.
 

« first day (844 days earlier)      last day (3176 days later) »