« first day (1788 days earlier)      last day (3500 days later) » 
00:00 - 21:0021:00 - 00:00

21:01
so I got another read receipt requested email, sent specificlaly to me
do I: leave it unread indefinitely, copy/delete the copy without reading (so it sends a "Deleted without being read" email) or just... "read" it
user41796
@enderland Unless you have reason to believe otherwise, you're investing way too much time worrying about it
@GlenH7 I'm just amused, I have a "mark as read" macro that checks and alerts me :)
user41796
In that case, create another macro to automatically copy & delete the original just to mess with the original sender
@enderland Use a mail client that allows you to deny read receipts.
@durron597 that setting is disabled at group policy level
user55340
21:09
Set up a "misbehaving" trigger / rule to mark it read immediately so that the information about it becomes less useful.
@enderland Oh this is work?
@GlenH7 I've thought a lot about that bwahaha
user55340
One more close vote.
user55340
-8
Q: Help needed about HTML

Faseeh KhanI am going to make a affiliate website. I have a little problem. I want to know that i want that when some one register on my website. My website automatically generate a referral link to that user. Can i done in html, CSS and java???? Please help me... LIke this website... http://www.5days...

done
user55340
21:10
Ok. Thank you. Two more 20k delete votes now...
@MichaelT Dangit I'm not going to get 20 reviews today am I?
user41796
@MichaelT One more now
user41796
@enderland It's an interesting social experiment to see how long before someone contacts you about. Naturally, they'll send you an email with read receipt enabled asking you why you aren't reading their emails.
4
A: What would be a reason not to embed JS in C?

gbjbaanbNo reason why not... people embed Lua in C++ engines all the time, and sometimes JS engines. This enables them to run script-based code (eg for games, levels can be described in script). However, it does raise a large level of additional complexity that may not be needed if all you want to do is...

@GlenH7 I'm tempted to do that, and then just quickly reply always immediately after the "deleted" email goes through
I always read in viewing pane anyways, so I nearly never "open" an email
21:13
I like "No reason not to" followed by a significant reason not to
So it appears that the ideal way to provide logging to all of your classes is to inherit from an ILogger interface. But that must mean that you have to write a constructor for every class that takes an ILogger as a parameter. Despite the assertion that using interfaces decouples by not binding to an implementation, aren't you still taking a dependency on a logger object of some sort?
Hello all. I've got a question but I'm not certain which site it's appropriate for. Anyone interested in giving feedback?
And where does that Logger come from? Is that where the IoC folks have a leg up, that the logger just gets wired in automagically?
@outis I'll give it a shot.
The question is: "What's the (deeper) connection between currying and point-free style/tacit programming?"
If you can clearly articulate your thinking, it's on-topic on Programmers.
Try to constrain the scope. If it takes a book, or even a book chapter, to answer your question, then it is not specific enough.
21:20
Part of it is asserted in the Wikipedia article on tacit programming:
>The key idea in tacit programming is to assist in operating at the appropriate level of abstraction. That is, to translate the natural transformation given by currying into computer functions
user41796
@RobertHarvey I'm not following - why make all of your classes inherit from the logger? Loggers are an example where a singleton or event receiver may be an appropriate approach to use.
@GlenH7 From an interface to the logger, as in ILogger.
user20683
104
Q: What is the advantage of currying?

Mad ScientistI just learned about currying, and while I think I understand the concept, I'm not seeing any big advantage in using it. As a trivial example I use a function that adds two values (written in ML). The version without currying would be fun add(x, y) = x + y and would be called as add(3, 5) ...

Then you can substitute a Test Logger that goes to a console window.
And yes, it would probably be a Singleton. (The main one, not the test one)
user20683
21:22
8
Q: Confusion about currying and point free style in Haskell

JonasI was trying to implement the function every :: (a -> IO Bool) -> [a] -> IO Bool which was the topic for this question. I tried to do this without explicit recursion. I came up with the following code every f xs = liftM (all id) $ sequence $ map f xs My function didn't work since it wasn't ...

user55340
With loggers, you either wire then yourself with Log.getInstance() or have some other framework inspect all the classes for a logger without an assignment.
user20683
and some Haskell because this isn't confusing enough
user41796
I shouldn't have send "inherit", and should have said "implement" instead. It seems like making all the classes implement that interface pushes responsibility into those classes that they don't necessarily need. But I'm likely missing something here.
user20683
@GlenH7 I realized that I didn't put Object Oriented or Functional Programming anywhere on my resume
user20683
I am special
user41796
21:28
Those are kind of a given based upon the languages listed
user20683
@GlenH7 even to the HR drones?
user41796
I think they focus more on languages buzzwords than anything else. I don't think that OO or Functional really mean anything to them and they don't look for it.
user20683
@GlenH7 so go do an Angular tutorial, memorize the modules in the API and stuff that on there :P
user41796
A technical hiring manager won't tell the HR recruiter "go find me some functional programmers", rather they'll say "go find some programmers that know Haskell | Scala | Lisp | ..."
user20683
makes sense
user41796
21:31
@WorldEngineer regrettably, there's something to be said for that. IMO, a lot of technical interviews still rely upon specifics that are better off being googled than memorized
user55340
I'd group the languages by paradigm. You do have the OO buzzword filter.
user41796
recent ones that have irked me are knowing how static operates and what it will do to a class | method | variable
user41796
Why you should use an enum (or not) is another one
user20683
@GlenH7 in C or in Java?
user41796
evils of magic strings | numbers
user41796
21:33
@WorldEngineer yes, both
user20683
@GlenH7 Java doesn't have static last I checked, it has final :P
user20683
I believe C# has static
user20683
because C# is not a unicorn
user55340
Java has many statics.
isn't knowing how static works kind of an important conceptual issue?
user41796
21:34
@Ixrec it is in my book, yes. :-)
user55340
Static class. Static field. Static method. Static block. Static import.
user41796
165
Q: What does the 'static' keyword do in a class?

Click UpvoteTo be specific, I was trying this code: package hello; public class Hello { Clock clock = new Clock(); public static void main(String args[]) { clock.sayTime(); } } But it gave the error Cannot access non-static field in static method main So I changed the declara...

Java has plenty of static getDefaultInstance type nonsense
user20683
I'm thinking of something else then
final is a totally different thing
user55340
21:35
That's only 5... Am I missing one?
@MichaelT OK, thanks.
user41796
@Ixrec very much so. const and readonly are related
user20683
static essentially locks it down to a noninstance
user20683
const
user20683
that's the one
user20683
21:35
final but no const
@WorldEngineer Scoped to the class.
@WorldEngineer kaleidic asks my question in the comments and gets a response (also in comments), but the main question is distinct. Also, the response connects partial application to point-free, so suggests an indirect connection to currying (you can, after all, program in point-free style without currying if you have partial application).
user20683
@outis then refine using that and cite it in your question
user41796
Oh, and for the love of all that is good and holy - when a company asks you to perform a design exercise so they can see how you think logically, please, please, please do not crib your entire solution from the interwebs.
user20683
"Here in this question they say X but I don't understand this part of x
21:37
@WorldEngineer Point 2 of this answer suggest a connection related to composition, but doesn't go into enough detail to complete it.
@WorldEngineer This one involves both, but isn't about the connection between them.
user20683
@GlenH7 I don't own a Car so getting and setting pistons makes little sense
user55340
@WorldEngineer what about your Cdr?
user20683
@MichaelT I quit lisping after years of speech therapy
user20683
:P
21:39
That's a better pun.
user55340
Do you have clojure now?
user41796
@WorldEngineer s/speech //
user41796
@RobertHarvey Time to freeze the room? :-)
@WorldEngineer: thanks for the related questions & advice.
user20683
21:40
@outis I do what I can
user20683
it's a hard question
user20683
I hope you get a solid answer
user20683
@MichaelT my JVM ran out of recursion depth. I blame my existence as a tailless ape with a dumb phone.
user55340
Should always do tail call optimization when you have a prehensile tail and a touch screen. Lacking TCO, recur is a poor substitute.
user20683
@MichaelT hence why a smart python generates
user20683
21:49
@GlenH7 I blame my static/final confusion on Python
user20683
which has neither in any explicit sense
user20683
so I'm out of practice worrying about it
user41796
@WorldEngineer Ophidiophobia is no excuse .... :-)
user20683
@GlenH7 Ophidophilia :P
user20683
Python is what I tend to use most of the time
23:30
Increasingly, I am finding in this application Interface patterns like this:
namespace Company.Foo.Bar.Interfaces
{
    /// <summary>
    /// Describes a class which knows how to fetch a value
    /// </summary>
    public interface IValueFetcher
    {
        /// <summary>
        /// Determines whether this instance can fetch the specified definition.
        /// </summary>
        /// <param name="config">The configuration.</param>
        /// <param name="candidate">The candidate.</param>
        /// <param name="currentResults">The current results.</param>
        /// <returns>Whether we can fetch</returns>
Is there a point to interface structures this generic that are stitched together through the method parameters, and if so, what is the software pattern that is being used here?
00:00 - 21:0021:00 - 00:00

« first day (1788 days earlier)      last day (3500 days later) »