« first day (2145 days earlier)      last day (2806 days later) » 

open question: Is throwing a ParameterCountMismatchException a reasonable thing to do when calling a function with non-zero amount of arguments, all of them optional, via reflection with no arguments?
 
Sorry for using you all as my personal gripe dumping ground. They don't like it when I scream in the building.
 
nwp
there is so much I need to learn about industrial strength code:
-3
Q: #define name of name space

rxuI am writing a library. The namespace name that I come up with might clash with other library. So I want to let people set the namespace name that they like. In python, I can do "import libraryA as nameIwant" I try the following to set the name of a name space. setting.h: #define NAME_I_WANT ...

 
can you do something like that with using?
 
@redspah reflection?
 
10:06 PM
No, that question in SO @nwp linked
 
nwp
@redspah which language?
 
that reflection question was referring to C#
if you want to invoke a function with optional arguments you have to pass Type.Missing in their place, passing no arguments results in exception
 
nwp
that contradicts my understanding of optional arguments
 
Yea, I find it kinda iffy myself
on the other hand, it is reflection, you're not really supposed to use it in everyday situations
Unless you're writing a serializer or w/e
I'm refactoring my old C# code and pondering on how dumb I was while writing it
 
@redspah Sounds like COM/VB
 
10:17 PM
Or .NET in general it seems
dunno if F# even has optional arguments
 
I'm very sure C# 4's dynamic binding supports proper optionals. Because that's what they used to finally get proper behaviour when wrapping Office automation COM+ interfaces
Of course that's syntactic sugar over reflection. But it's still reflection none-the-less
 
fuck, I get terrifying flashbacks just reading the words COM
 
Treatment is available.
I'm not saying it's affordable.
 
@sehe Sorry, I don't have a Spotify account :/
 
Huh. How come I thought that. Hmm.
 
10:25 PM
On the other hand, it's written « John Cage » and that guy composed 4:33.
 
It was more enticing without looking, for me. So, try without watching first
The background on preparing the piano is also nice
 
10:42 PM
That was strange ._.
 
I found it strange I like it so much. Totally gonna try this. When my kids aren't looking
 
10:57 PM
2 messages moved to bin
cleanup on aisle three
 
@Puppy isn't this the right place to ask this?
 
no.
 
it's not fit enough to be on the main site
oh....then where can i ask that?
 
42
A: Why use make over a shell script?

Jerry CoffinThe general idea is that make supports (reasonably) minimal rebuilds -- i.e., you tell it what parts of your program depend on what other parts. When you update some part of the program, it only rebuilds the parts that depend on that. While you could do this with a shell script, it would be a lot...

The initial build is much slower than most subsequent builds, at least as a rule. Otherwise, it tends to indicate that your design has a lot more interdependencies than it really should.
Of course, this doesn't just apply to make, but also to nearly all other build tools (ninja, cons, scons, qmake, etc.)
 
heh, I've not ever managed to get SCons to work properly
 
11:07 PM
@sehe Haha, good luck with that :D
 
thanks @JerryCoffin i never knew make did that
 
TIL "Frenzy" is one of the United States of America. Throwing forward "Connipticut" capital city while we can. https://twitter.com/JustinWolfers/status/770702526941396992
I think it's time to go sleep
 
Right.
 
Context:
Noun: conniption ‎(plural conniptions)
  1. (informal) A fit of anger or panic; conniption fit.
  2. When she came downstairs and saw what her children were eating, she had a conniption.
  3. ...threatened by the conniptions gripping Wall Street (Businessweek Oct.20, 2008)
  4. A fit of laughing; convulsion.
  5. The joke was not that funny, but he went into conniptions laughing.
 
11:38 PM
@sehe Actually, it's more than 15 years. We've officially been in a state of emergency since 1979. President Carter declared a state of emergency that I'm reasonably certain has been renewed every year since. It'll almost certainly continue at least until the proposed Iran nuclear agreement is progressed to the point that they decide to remove essentially all sanctions against Iran (pretty much has to, since the state of emergency is what allows those sanctions in the first place).
 
wow
 

« first day (2145 days earlier)      last day (2806 days later) »