« first day (1482 days earlier)      last day (3465 days later) » 

11:00 PM
Nooble is lightness?
 
user1804599
Bye.
 
@sehe Yes.
 
user1804599
@sehe Nah, he has lots of downvoted questions.
 
user1646075
the thing is, putting the @ on his name will really notify him if he has another look in, and then, experience tells sehe that he'll probably have another whinge. Call it inadvertent, but that's probably what will happen
 
@rightføld thanks, Cpt. Obvious
 
user1646075
11:01 PM
@sehe no, Nooble is capable of being friendly and cheerful. Whereas lightness probably has at least 12 steps in his future.
 
user1804599
Oh, you were making a joke.
2
 
user1804599
 
:)
@aclarke ikr. I will call it "inadvertent". I personally think it's very stupid to pick up arguments with fools. It just shows he can't be wiser.
 
user1646075
He's a dead-ringer for a number of people I've met over the years who have confessed...
 
@sehe As another Captain of another species: I take offense.
 
11:02 PM
On a lighter note, has anyone ever tried fried ice cream?
 
user1646075
@Nooble yes. It's nice if the shredded coconut in the skin isn't stale
 
user1646075
I refuse to try fried mars bars
 
user1646075
becaues I might like it
 
user1646075
@sehe he's just a kid actually. He's doing really well for his age.
 
I haven't tried it, still fascinated on how you can possibly fry ice cream.
 
11:04 PM
@aclarke Oh well, then he wouldn't mind being steered and prodded a little. How else will we learn?
 
@Nooble You don't cook do you?
 
user1646075
becaues I might like it
 
user1804599
Bye.
 
Don't fall asleep now
that would be a waste of time
 
user1646075
@Nooble deep-freeze the stuff in the shape of tennis balls. Briefly dip it in a shredded coconut batter and back in the deep freeze. Slam it into cooking oil for 2 minutes and serve
 
user1804599
11:05 PM
Fuck fuck fuck I'm getting older.
 
user1646075
@sehe I think he'll cope. As a daddy, you know your duty to the youth. As long as he learns, otherwise SLAP!
 
@rightføld most people are
 
user1804599
I think I'm in my pre-quarterlife crisis.
 
user1646075
god-damn my network. Or SO. Or something
 
user1646075
I've never felt older that I do right now.
 
user1646075
11:06 PM
Oh wait, now I do feel older.
 
user1804599
Although given the current progress in technology my midlife will probably be when I'm about 200 years old.
 
user1646075
@rightføld that would be awesome. And @sehe could get rid of that silver hair on his back.
 
where do you see that progress?
 
user1804599
Not in software development.
 
user1646075
oh wait, that's sbi. Your avatar is a gift that keeps on fooling.
 
11:09 PM
@R.MartinhoFernandes Woah, Scott Meyers put link to your blog in "references" list in his presentation, congrats! ; )
 
@BartoszKP that's... quite old now I think
 
user1646075
Three chars for Robor!
 
@sehe i'm always late :v
 
It was already featured on his blog too
 
user1646075
I withdraw my star.
 
11:10 PM
:(
 
user1646075
and a char.
 
user1646075
oh all right.
 
didn't saw the link on previous versions of this presentation ("caches and why do you care" or sth) though
 
I all of a sudden have a Bacon number I'm happy with.
 
@aclarke nah, just kidding, if it's old, then don't pollute the starboard :v
 
11:12 PM
Yeah, the starboard is for the finest thoughts only.
8
 
yup
 
bwahahaha
 
user1646075
@BartoszKP well, I didn't know.
 
user1646075
@JohanLarsson don't tempt me
 
12 mins ago, by rightføld
Oh, you were making a joke.
 
11:13 PM
@aclarke ;)
 
Indeed, I find the "Not everyone uses vi" extremely insightful.
 
user1646075
@CaptainGiraffe I find it horrifying
 
it's a very insightful lie
 
@aclarke I find it horrifying that you find that horrifying :v
 
11:14 PM
@aclarke Indeed, I found myself :q! repeatedly
 
yay, did my first template thing in D
 
user1646075
@BartoszKP If I was a nutter about it I could go ... nuts now. But it's just a hammer.
 
user1646075
@CaptainGiraffe Have you ever signed off emails with ZZ or :wq ?
 
@aclarke So, you'll go... hams?
 
@aclarke Twice this month =)
 
11:16 PM
@aclarke I even sign off with ZQ, but that's when I decide against replying (which is 50% of the time)
 
user1646075
 
dem flat buildings
 
user1646075
@sehe your drafts folder must be a wasteland
 
@sehe so, when contacting you, it's best to send always two copies of an e-mail ?
 
11:17 PM
the point of ZQ is to not save drafts
 
It works, but it's a lot ugly.
written on the spot
 
@BartoszKP yes, because that will make it faster to train the spam filter
@Jefffrey missing the inelegance, personally. Haven't reviewed for efficiency, but looks readable
 
Does vim as a mail reader respect the :vim setting at the end of a mail?
 
user1646075
@sehe hammer and tongues.
 
@sehe ok, will remember to introduce random typos
 
user1646075
11:18 PM
whatever tf that actually is meant to mean
 
@Jefffrey Of course finding subtokens, filtering for length and filtering for palindromes are different responsibilities, should be functionally separated and testable in isolation
 
@sehe Exactly.
 
well that was smart of her. Misses just spilt hot chocolate over about a dozen quilts.
 
That's my point.
 
@CaptainGiraffe yes, if you have :se modeline
 
11:19 PM
And that's my point: .
 
But, for example, if you take out the filtering for palindromes, then you would need to also extract the strings themselves (together with the index in which you have found them and their length), which would yield an array of triples.
 
@CaptainGiraffe That would make me a fire hazard.
 
@Jefffrey the point of a functional programming language is that you don't need to know about those details
 
If you then extract the filtering for length, then you need to extract all possible subtokens, and not only the ones you need.
@sehe What details?
What I'm talking about is all in the language.
I have mentioned no language detail.
Oh, by "array" I mean a list.
 
For all you know, the language can optimize the hell out of it (due to immutable subsequences being immutable) and it will all compile down to the same.
~~premature optimization~~
 
11:22 PM
No no, wait.
I'm not talking about optimization here.
 
Yes you are.
 
I'm talking about using a triple (a, b, c) in which you have 3 deeply different things: the index, the string itself and the length of the string.
Which is ugly because the order is not intuitive.
What order would you expect for those?
Even though probably the lenght is not needed.
 
You can let the compiler figure it out. Really. Ask Luc. Ask Robot. Ask Bartek for that matter. I'm no Haskell whiz, but this I know
@Jefffrey ADT
 
Calculating the length of a string between 4 and 12 is not a problem.
Hmm.
Maybe (Index, String) would be a good idea after all.
Thanks.
 
hehehehe. "Calulating the length of a string". Why calculate? You're building the token as you go. You already know the length
 
11:25 PM
@sehe But then you would need to place it in the returned results, which yields the ugly triple I was talking about.
I'm terrible at explaining I know.
 
@Jefffrey if it comes to that, the more intuitive order is from more abstract towards more detailed information
 
All these points are moot. In a pure functional setting, the compiler can see right through and rewrite. It could even go as far as to realize that if a token ran on for more than 6 characters, it must be showing palindromity already
 
wat
 
void TestCallback(string[] result)
{
	assert(result.length == 1);
	assert(result[0] == "Hot");
}

auto task = new AskPrologTask("weather(30, Out)");
task.SetCallback(&TestCallback);
task.Execute();
yay, looks good
let's see when it breaks
I get different callback signatures per task thanks to templates
 
@sehe What do you think my problem is?
Because you keep bringing the compiler up.
 
11:27 PM
and due to the interface that specifies the presence of Execute, I can group any sort of tasks with any callback signatures together
 
And I seriously don't follow.
because my problem is just that the triple is not semantically nice
which has nothing to do with performance or how the compiler optimizes things
 
@Jefffrey You're optimizing.
 
what am I optimizing?
 
@Jefffrey Then use an abstraction
 
Returning a data object for this kind of problem sounds like an overkill.
 
11:28 PM
check-mate
 
@BartoszKP And what is more detailed? The string or the index in which it was found?
They are just different things.
 
@Jefffrey index is an information valid in the context of a given string, hence index is more detailed. string can exist alone, index alone doesn't make sense
 
The index refers to another string, not the string stored in the pair.
 
oh
lol
 
So yeah, it could stand alone.
:P
If I were reviewing my code above my first reaction would be "what. findPalindromesFromOfLength. what the fuck is that shit? are we dealing with objective-c?".
 
11:32 PM
@Jefffrey lol. not optimizing, then why do you care?
 
9 mins ago, by Jefffrey
Which is ugly because the order is not intuitive.
 
@Jefffrey and it's indeed a smell of unseparated tasks
 
ikr
 
9 mins ago, by sehe
@Jefffrey ADT
pffft
 
:V
 
11:33 PM
4 mins ago, by Jefffrey
Returning a data object for this kind of problem sounds like an overkill.
You know sehe, I think we are going in circle :P
 
what you did there... I see it
@Jefffrey You are :)
 
;)
 
if using an abstraction is an overkill, then I don't know how to describe this whole conversation about it :E
 
This is overkill?
:c
 
well, the time you've spent talking about it was longer then it would take to just create an abstraction :p
 
11:34 PM
It's definitely an overkill for my mind because it's about to explode
@BartoszKP I know. Time, currently, is fairly cheap for me.
 
if Scott was here, he'd comment on "exploding" :u
 
Especially if I'm trying to learn a lesson for a lifetime.
lol, neat
@StackedCrooked
I didn't notice that before.
@sehe Anyway, thanks for your time. Appreciated. :)
 
neither did I
 
You too bartosz
 
cheers!
time to sleep, goodnight
 
11:37 PM
night
 
@Jefffrey Then you have all the time in the world to write the abstraction and observe the generated code
 
Why would I want to look at the generated code?
I'm pretty sure it wouldn't be for the faint hearted like me
 
because you're concerned with the efficiency. Nothing else could ever make you doubt whether you should make things more readable, separate concerns, or whatnot
 
I'm not concerned with the efficiency of my solution.
Like, not at all.
I don't know why you have this idea.
In fact I doubt that any point in this discussion, after my code posting, I've talked about efficiency as a problem.
Also if you remove the predicate from the function, then you need to introduce the predicate as a parameter, which totals up to 4 arguments.
 
@Jefffrey That would total to 6 arguments, the first being about optimizing your stuff.
 
My Meyers number is 1.
 
Oh erik.
You were my inspiration.
 

« first day (1482 days earlier)      last day (3465 days later) »