« first day (272 days earlier)      last day (4692 days later) » 

9:00 PM
Like original framers of languages?
@LucDanton Where is that?
 
France.
 
honestly?
there are, but I couldn't care less
famous people don't make more convincing arguments than non-famous people
 
Is Stroustroup on here, or Ritchie, etc?
 
there's Walter Bright, Jon Skeet, Herb Sutter I've seen on SO
why would you ever want to read anything by Ritchie?
 
9:01 PM
@DeadMG I wouldn't be interested because they are famous - I would however be very interested to hear what someone had to say that created the languages we use.
 
the only thing I've seen come out of the man is an incomprehensible mess
 
I remember a discussion I had with a colleague concerning the implementation of a drop-down menu widget. I opted to simply recreate the menu every time it had to appear. It was fast enough and it ensured that its contents was in sync with the most recent application state. However, my colleague strongly disagreed and argued that the menu should be manipulated with addItem and removeItem methods.
Immutability doesn't appeal to everyone I guess.
 
I'd probably prefer to re-create
 
Als
Does herb Sutter post here anymore, haven't seen any of his posts in past 9 months
 
such things are relatively trivial objects, and it'd be easier to not have to communicate with it
 
9:02 PM
@StackedCrooked Yeah, just creating it correcty when need would avoid lots of problems.
 
Ritchie co-designed unix. That is not nothing.
 
maybe I'm missing something here
but you are referring to that operating system with like five percent market share, right?
compared to the crushing 90% of Windows?
 
@DeadMG Is that a joke?
 
@DeadMG Depends. I've heard that Linux owns 50% of the server market.
 
@DeadMG Does market share matter so much? en.wikipedia.org/wiki/Unix#Impact
 
9:05 PM
not going to deny that I don't know the server market figures
 
Or how about phones?
Or embedded platforms?
 
It could be dead right now. But it had a huge impact.
 
phones run Android or iOS
 
@DeadMG UNIX derivatives
 
and how similar to unix are they, really?
 
9:07 PM
The idiom is that the Internet runs on Unix.
 
In GUI applications the orthodox way to sync the view with the application state is through the observer pattern or a some variation of it. The view registers itself as an observer of the model. If the model triggers a "change"-event the view refreshes itself. I think however that the view continually refreshing itself is a cleaner solution (because I think event handling is an inherently error-prone thing). However, I haven't found a way to implement this efficiently..
 
@DeadMG Android runs on a modified Linux kernel. iOS is essentially a modified Mac OS X, which is based on BSD.
 
@StackedCrooked I wonder if xmonad would offer insight into implementing GUI constructs with immutable logic
 
@DeadMG Unix has a nice design especially considering the time it was developed.
 
BSD is really close to UNIX in architecture and design philosophy, I might add. It's a direct descend from System V, unlike even linux
 
9:09 PM
the time it was developed? OK
and what about since then?
 
Well, essentially nothing. Plan 9?
 
That doesn't make Dennis Ritchie a less smart person.
Ok, maybe.
Old age does bring senility and such.
 
@DeadMG Well, since then the file system design, signals, pipes, runlevels, man, I could go on and on
 
no, what makes him a less smarter person is the insanity he posts regularly
 
@DeadMG are you saying that Unix is bad and Windows is good simply because Windows has the highest market penetration?
 
9:10 PM
there's certainly a reason for the difference
 
/proc is a very UNIXy idea, so and the sockets implementation that wound up in Windows is even directly from BSD
 
this isn't nVidia 60% ATi 40%, this is 5% to 90%
that kind of thing originates because one of them sucks and the other doesn't
 
@DeadMG Yeah, I don't mean to be argumentative but you need to cite these stats. I feel you are dead wrong.
 
9:12 PM
Hey, if you want to restrict your set to consumer computers, then sure
 
I'm also interested in the billions and billions of dollars Microsoft makes selling software like Visual Studio and Office
 
Derailing warning.
 
@MartinhoFernandes Don't you mean 'troll warning' ever since 15 minutes ago? :)
 
I recently learned that Windows NT (and later versions) implement POSIX because the US government listed it as a requirement for their computers.
 
there's also WINE for Linux
 
9:16 PM
WINE works pretty good. But it manages to make Windows apps look horrible.
 
What is mortarboard?
sorry, nm
 
> Dit artikel is bedoeld voor een ander besturingssysteem dan u gebruikt. Artikelinhoud die niet relevant voor u is, is uitgeschakeld.
^ Translated: This article is meant for a different OS than yours. Contents irrelevant for you has been disabled.
 
@StackedCrooked Is there a T-V distinction in Dutch?
 
So if I look up information about a different OS it gets filtered out?
@LucDanton nope it was the localized version of this link: support.microsoft.com/kb/308259
MS now apparently detects that I speak dutch.. I wonder if it's in my http headers or something.
 
I mean, does Dutch use a polite form of the second person? E.g. two or more pronouns for 'you', one in formal contexts and for in informal contexts?
 
9:19 PM
@StackedCrooked IP?
But, yeah your browser may be sending that in your headers.
Content-Language.
 
@LucDanton Yes, there is formal "u" and informal "jij/jou"
 
@StackedCrooked Oh okay. 'u' looked like English "you" and the warning sounded eerily informal.
 
That is usually configurable.
 
I have the dutch version of Firefox, so it probably sets the language headers accordingly.
 
@StackedCrooked It used to. The POSIX subsystem is now gone (and not much missed).
 
9:21 PM
Highly likely.
 
@LucDanton sometimes it is written in capital as "U" to make it seem more formal. But that's not very elegant imo.
 
Some sites however are just too stubborn/stupid and ignore Content-Language and detect it by IP.
 
@JerryCoffin did it not work as it should?
@MartinhoFernandes those sites often think that I speak french. For some reason non-belgians think that we speak french here.
 
@MartinhoFernandes It's not IP, there are language settings in a browser.
 
While dutch is spoken by the majority.
 
9:22 PM
@StackedCrooked It was implemented extremely poorly in what appeared to be a "fix the bullet points but nothing more" philosophy, kind of like they really didn't want it to actually work but be provable that it "satisfied" the original requirements
 
@LucDanton Read my further messages.
 
@StackedCrooked That sounds like a deficient use of IP.
 
@StackedCrooked It did what it was supposed to, but it was an entirely separate subsystem, that only included POSIX.1. A POSIX program could not, for example, use threads or sockets (at all).
 
@MartinhoFernandes I briefly closed my browser and had to (badly) catch up, sorry.
 
@JerryCoffin I see.
 
9:24 PM
Has anyone had any experience developing c++ on openVMS? I've got a project starting on there next week and I've never developed for it before
 
@StackedCrooked Paradoxically, what it did implement, it did very well -- at least IME, comparing it to Linux and even real UNIX at the time, there were frequent incompatibilities -- but upon inspection, NT had followed the spec, and neither Linux nor UNIX had.
 
@JerryCoffin I'm not entirely surprised by that.
 
@jamesj You mean you're joining an existing project that's on OpenVMS, or do you honestly mean somebody's starting an entirely new project on OpenVMS? I find the latter hard to believe -- OpenVMS has been deprecated for years now...
 
Even though they managed to write non-conforming browsers and C++ compilers.
 
@StackedCrooked In fairness, I think (a bit like @Josh said) they almost looked for places that they could follow the letter of the standard, and still break the obvious intent (compatibility with existing Unix code).
 
9:28 PM
@jerry - its a new project, but we are interacting with other existing systems that are all on VMS
 
@jamesj What do you need to know specifically? An IDE recommendation? Which compiler to use?
 
@stackedc
 
@jamesj Wow. Okay. Well, to (sort of) answer your question, I haven't -- the last time I played with VMS was when C++ was young enough that the work I did was all in C.
 
Compilers would be useful
or any information on common lnaguage environment
 
@jamesj You'll have more luck if you post a question on SO.
I'm not experienced with VMS. Sorry :/
 
9:32 PM
@StackedCrooked I think you have roughly one choice.
 
@stcakedcrooked OK Thanks anyway! Hopefully I'll get something from posting
 
@JerryCoffin that's sad
 
It must suck if the only C++ compiler for your platform is non-free. That's like the 90's.
 
Off topic, but this is a great post
134
A: Strangest language feature

Martinho FernandesPerl has lots of strange quirky features, loved by some, hated by others. There are a few I find particularly WTF-ish: automatic list flattening, i.e., how (1, 2, (3, 4)) is the same as (1, 2, 3, 4); how every operator or function in the language can behave in six different ways depending on th...

 
9:35 PM
you can even do non-commercial development with Visual Studio for free
 
@jerry apparantly the last release of openVMS was about a year ago
 
@StackedCrooked Well, there's probably (almost inevitably) a port of gcc/g++ as well, but I wouldn't bet a lot on anybody having tested it much within the last few years.
 
@DeadMG you mean VS express editions?
 
yep
 
@Josh I'm really annoyed that that is my highest voted answer.
 
9:38 PM
@MartinhoFernandes Why?
 
Because I think I have posted better answers.
That is just a list a Perl quirks.
 
it's how SO works- the more views the question gets, the more votes you get
I also think that it's disproportionate
 
@DeadMG Exactly. Most people simply upvote any answer they agree on.
 
some answers can be real gems, but you'll only get good rep for them if and only if the question appeals to a huge audience
 
@jamesj Yeah, they continue to do minor updates, but (unless they've changed their ideas recently) it's purely in maintenance mode (though IMO, they'd probably be better off treating it as their primary system, since it's exclusive to them, and a darned good system with a fair number of unique features).
 
9:41 PM
I'll probably delete it when I get another answer with 100 upvotes.
Which will probably be like, fifty years from now or something.
 
my answers with the most upvotes definitely aren't my best answers
 
@jerry I know of a couple of companies we've done work for use it. Mostly banks and insurance companies
 
man
I should get on and get writing code for my new language
but holy shit, it's a lot
 
How's it going?
 
well
still trying to fiddle with the grammar and produce a parser
 
9:45 PM
@jamesj Not surprising -- with the minor exception of the initial release of VMS 5, it's always be an extremely solid, reliable system. VMS 5 was too, in its own way -- it introduced a self-healing system, and (like any major release) some bugs. Most of the bugs weren't too terrible, but it would often "heal" itself by removing the patches for the bugs, and would sometimes even "upgrade" itself back to VMS 5.0 (with no patches) even after you'd tried to uninstall it and re-install VMS 4.x.
 
@DeadMG According to the Getting Real book you should cut features until you end up with something doable. However, I'm not certain that the advice in this book applies to language design.
But it may help to get started.
 
well
 
@Jerry, is that anything similar to how minix3 works?
 
@DeadMG You do have to write code to get anywhere -- but you're frequently better off delaying writing code as long as possible.
 
unless I want to implement my own parser, which I could, then it doesn't really matter how complex I make the grammer, I'm going to have to deal with this problem
 
9:47 PM
@jamesj Dunno -- I've used older versions of Minix, but not 3.
 
@jerry i've only used it a couple of times, again at work but only for doing minor changes for support
 
Writing your own parser doesn't sound like something any less complicated than writing a grammar.
 
@ jerry Seems pretty stable though, not had nearly as many problems as we do with our linux or BSD boxes
 
well, I'd just be writing a grammar implicitly
 
@jamesj Yup -- and you've got to love the file system having version control built in so every file is under version control all the time, with no effort on your part at all.
 
9:49 PM
Exactly my thoughts.
@JerryCoffin Want!
 
@jerry built by developers for users with a developer mindset. Not fantastic as a desktop OS though: lacks packages
 
@JerryCoffin I wonder why is this not common in today's systems?
 
well
the only problem I've got is the expressions being recursive
maybe I should just copy and paste the C grammar
 
@MartinhoFernandes I can't blame you -- and I believe that was in VMS 1.0 (~1976). Certainly there by ~1982 when I first used it.
 
Hello all
 
9:52 PM
@JerryCoffin whoa - wait, what??
 
@DeadMG And cut out stuff, of course.
 
of course
 
VMS has automatic versioning of every file in the system?
 
@stacked performance overhead, lack of support and compatabilty in other OSs. In Minix its built in at a kernel level
 
@StackedCrooked I dunno. When I first heard that Windows NT was being designed by Dave Cutler, I expected it to be there, as I thought it was one of the VMS's major strengths. I was surprised (and a bit miffed) when it wasn't there at all.
 
9:53 PM
@stacked sorry should have been VMS not minix
 
Windows has a sort of automated backup and rollback system these days. But that's not nearly as nice.
 
I have a request to ALL YOU: Please help me to reopen my question: I redesign the text and questions, the topic is interesting, about date time timezones problems and wrong supposition: stackoverflow.com/questions/6696313/…
 
@Josh At least normally, yes (it seems like there's a way to turn it off when you want, such as for database files, but I don't remember for sure). The usual syntax is XXX for the most recent version of a file, and XXX;n for the nth older version.
 
On Linux maybe this could be implemented with Fuse.
Fuse is like the decorator pattern applied on the filesystem.
 
@timaschew: We tend to just downvote questions which are linked here without discussion
 
9:56 PM
@timaschew Sorry, but no. Please read the FAQ.
 
and flag the linkers
as the Powers that Beâ„¢ commanded me to do
31
Q: Attention-grabbing questioners

DeadMGFirstly, I've been looking at some questions with broken tags recently. Take a look at What is the difference between Platform-Independent and Cross-Platform? for example. The question is about terminology and has absolutely nothing to do with C, C++, or Java, and I re-tagged it as such, and left...

 
-.-
 
@DeadMG I just realized your avatar is a dog
 
it was so tiny on my screen before it sort of looked like an erlenmyer flask
 
9:59 PM
lol
 
puppy
GOING HOME ON MONDAY TO SEE MAH PUPPY
I will take many pictures and videos and irritate you all endlessly with them
 
@DeadMG Be careful -- I have a 20-month old son -- I can out-irritate you without even trying!
2
 
lol
by the way, did I mention that my university results weren't a horrific failure like I was expecting?
 
Yes.
 
I just succesfully nerd sniped my coworker with the java try { return true; } finally { return false; } question
 
10:07 PM
I recently read a comment claiming that RAII is a hack to emulate "Execute Around Method" (c2.com/cgi/wiki?ExecuteAroundMethod). I don't agree, but it got me thinking. Isn't the destructor is supposed to do be used for resource cleanup and not for program flow.
 
He wrote an email, explaing his confusion and to why anyone would do that, and 3 minutes later he wrote back his results after dropping everything he was doing in his Python project, firing up eclipse, and testing it out :)
 
@StackedCrooked I think it is the other way around.
And weak emulation at that.
 
Execute Around Method, as implemented there, won't hold exceptions
if you throw in the inner method, you won't trigger tear-down-t
 
@MartinhoFernandes you think destructors should primarily be used as a flow control mechanism?
 
How can you use destructors for flow control?
 
10:10 PM
damn
still got plenty of Grammatical Issuesâ„¢ left
maybe I should just ditch the int x = 0 syntax and leave it at int x(0);
 
Unlocking a mutex is part of the program logic and not a cleanup procedure. So you could reason that a scoped lock abuses the destructor.
 
Did you C&P from C's grammar?
 
only the expressions
 
@StackedCrooked It does not change flow.
 
I didn't want to spend all night removing the declarations, lvalues, and stuff like that
oh, fuck you ANTLR
 
10:12 PM
@MartinhoFernandes no but it is part of the business logic.
 
I cut int x = 0; syntax and now it's complaining about ambiguity between int x; and int x(0); syntax
 
Increase k!
 
it's LL(*)
ok, even I can write a parser that can tell the difference between int x;, int x(0);, and int x = 0;
 
@StackedCrooked You do realize that the article doesn't have a problem with that.
 
@DeadMG I just read your post about attention grabbing questions
 
10:14 PM
@DeadMG Can you show the productions?
 
After having meticulously edited my fravorite/ignored tags, it is quite irritating to find questions not relevent because hey have been mistagged
 
@Josh Fix them!
 
And I have only been on the site (Actively) for about 4 days
 
@MartinhoFernandes: Productions?
 
@MartinhoFernandes Yeah, I got the privilege yesterday, I think
 
10:16 PM
@StackedCrooked Is releasing mutexes, closing files, etc really business logic?
 
@LucDanton You're right. But it got me thinking. And this being the C++ chat I sometimes start rambling about things like this...
 
@DeadMG The grammar productions you have for those situations.
 
@MartinhoFernandes defining an atomic scope is part of the business logic
I'm pretty sure of that.
 
@StackedCrooked Oh well. In any case unlocking a mutex is cleanup.
 
And that's exactly how you do it with RAII.
 
10:17 PM
all ANTLR says is that it's recursive
 
{ atomic_scope blah; foo(); bar(); }
 
@LucDanton I don't think so.
 
this is my grammar as it stands
 
@MartinhoFernandes Yeah, after using Boost's scoped locks the first time, I realized I would never create a lock outside of RAII again
 
@StackedCrooked It's important, it keeps the program in a valid state.
 
10:18 PM
@DeadMG Perhaps instead of ANTLR use flex & bison
 
@LucDanton it marks the end of an atomic section. Defining atomic sections is part of the logic imo.
 
@DeadMG Try 'static'? variable_type_definition? identifier function_call?
 
(or roll your own lexer+parser)
 
honestly? they might do better
LR is going to fare better when you can do expressions as types
 
All those rules start with the same symbols.
 
10:19 PM
@StackedCrooked There is nothing contradictory in participating in the logic of the program and doing cleanup.
@StackedCrooked I.e. I'm not saying you're wrong, I'm saying there is nothing to worry about.
 
@LucDanton I'm just saying that one could reason that using the destructor to implment program logic is abusive.
 
Yeah, the first time they see it.
Then they carry on with their business.
 
@LucDanton one worry is that destructors shouldn't throw
 
There is indeed a category of programmers that'd rather have everything spelled out in the source code and worry about 'hidden things that happen', 'implicitly generated code'. That's complaining about what is actually the feature: should we avoid functions because a function call 'generates code'?
 
@DeadMG Anyway, what I said about k before still stands.
Limiting k is a good option to avoid generating a inefficient parser.
 
10:24 PM
ANTLR is an LL(*) parser generator
but I'm definitely thinking of using bison instead
right-derivation is a better fit for what I'm doing, I think
 
There's no GUI :P
 
@LucDanton: For me, control isn't about writing every operation- it's about being able to write the operation if you want to
@Martinho: Something I am struggling with
it's giving me an error
filename : line number : syntax error, unexpected identifier
 
What? bison?
 
why thanks, Bison, that's so helpful
 
Syntax is different from ANTLR.
 
10:26 PM
@LucDanton they claim that in C++ a + b can do anything so you totally have no idea what's going on anymore.
 
yes
 
I once read Walter Bright responding that it's just the same with f(x).
 
not in this way
 
@DeadMG Sorry, that doesn't seem really relevant.
 
I'm looking at the Yacc specification right now and my rule seems pretty valid
 
10:27 PM
I learned a cool Java trick today that allows you to get the current method name. Using this in combination with the reflection api enables you to do really weird stuff.
 
@LucDanton: Well, hidden things that happen, if you want to un-hide them because they're unsatisfactory in some way, you can
in C++, if you don't like your compiler, you can implement your own inheritance, dynamic_cast, the works
you'd have to be very driven, but you can
 
@StackedCrooked new up an Exception?
 
@DeadMG Okay...
 
@MartinhoFernandes close, you can create a new StackTrace object and get the corresponding entry
 
@DeadMG I'm telling you, flex and bison have been around forever for a reason!
 
10:29 PM
Because they're old?
 
@DeadMG be a man and use M4
 
@StackedCrooked LOL
 
@StackedCrooked Can you link me up the docs?
I can't seem to find that.
 
@MartinhoFernandes Yes. That, and they work. I had to choose between ANTLR and flex+bison on a project a few months back
I chose the latter, if you can't tell :)
 
ANTLR works too.
 
10:31 PM
right
now we're getting somewhere
 
It hasn't been around forever, because it's more recent.
 
@MartinhoFernandes will this do? stackoverflow.com/questions/442747/…
 
@MartinhoFernandes People die when they're killed.
 
@StackedCrooked Hah! That's not creating a StackTrace object!
That won't work as you expect btw.
 
turns out that yacc wants a specifier to tell it when the input starts
which I left out
now I'm just trying to convert between ANTLR's grammar and yaccs on some other counts
 
10:32 PM
Told you syntax was different.
 
@MartinhoFernandes I don't have access to code from my work right now. But I remember doing it differently than what I just posted.
 
yeah
I know
 
Thread.currentThread().getStackTrace()[0].getMethodName() is always "getStacktrace" or something inside.
Anything above that is not guaranteed.
Thread.currentThread().getStackTrace()[1].getMethodName() in JDK 1.5 was "getStackTrace" and [0] was another internal call.
 
looked at the Yacc C grammar and it's really quite different from the ANTLR one
maybe I should start again from there
 
@DeadMG I'd avoid Bison. Although he's a bit more diplomatic about it, it's author basically says Bison was beta test code, and the finished version was byacc (Berkeley yacc). IMO, bison continues to be used only because byacc is under a license that's too permissive for some people to consider it "free software".
 
10:37 PM
hmm
ANTLR seems to be a both Lex and Yacc in one?
 
@DeadMG To the extent that it's equivalent to either, yes, it's equivalent to both.
 
ok
well that definitely explains why bison doesn't want to see my regular expressions
 
I like the gst-launch DSL for composing audio/video streams. Its parser is based on flex/bison.
But the syntax is very simple compared to what @DeadMG is trying to do...
 
@DeadMG Yup -- with lex/yacc, you do your lexing in the .l file, and the .y file contains only the grammar, not definitions of tokens.
 
10:40 PM
if they're worthless without each other, why bother making them separate tools?
 
Less is more.
 
You can write your own lexer for yacc.
Or you may use only lex to write simple text filters.
 
@DeadMG Because one is a lexer, and the other is a parser. If someone makes a better lexer later, we already have a parser, and vice-versa
 
@DeadMG They're not. Especially for simple projects, the lexer is often written by hand (e.g., when all you have is number, half a dozen punctuators, and identiifers, a machine generated lexer can be overkill).
 
I think I might find it easier to start with the C grammar, take away things I don't want, and add from there, rather than writing my own from scratch
 
10:43 PM
@DeadMG May well be so -- a correct C grammar that's acceptable to yacc-like tools is a non-trivial undertaking in itself, and some parts of getting it to work are definitely not obvious.
 
@DeadMG have you read the Dragon Book?
 
@StackedCrooked: Reading books is for noobs
real men jump in to whatever they're doing with no experience and full confidence that they're smarter than everyone else and therefore it will work
 
You had me until 'therefore'
 
@DeadMG I can't tell if you are being facetious or not.
 
And then there was PHP.
 
10:46 PM
I think you're parsing it wrong
real men jump in to whatever they're doing with no experience and (full confidence that they're smarter than everyone else and therefore it will work)
 
And then they realize they don't know how to open the parachute and should have read that manual after all.
 
not real men jump in to whatever they're doing with (no experience and full confidence that they're smarter than everyone else) and therefore it will work
 
LISPifying English to make it understandable, hah.
 
@MartinhoFernandes That's a good metaphor - because it's not what you know you don't know, it's the vast sea of what you don't know you don't know.
 
@DeadMG I don't get it :(
 
10:47 PM
I'm disappointed nobody asked why it's called the Dragon book.
 
It's obvious, right?
It teaches you to fight dragons.
 
The battle between a dragon and knight is a metaphor for conquering complexity.
(Thanks Wikipedia.)
 
right
now to cut everything with "declarator" in the name
 
@StackedCrooked But that doesn't explain why the book is called that. It explains what the metaphor is about.
 
C++ must be a level 1000 dragon.
 
10:49 PM
@StackedCrooked I think the knight should be functional composition. Thanks alot Martinho, that's all I can think about now.
 
@LucDanton Well, then because the cover has a dragon on it?
 
. is awesome.
 
@StackedCrooked Well yeah, but I was supposed to say that after someone asked. Now I'm double disappointed.
 
@LucDanton Wouldn't that mean we hadn't even seen the book?
Wouldn't that be more disappointing?
 
@LucDanton Lol, anyone clicking the link would have seen the dragon.
 
10:50 PM
man
there's so much to cut
 
@LucDanton Why is it called the Dragon Book?
 
@Josh you are too kind
 
@Josh Because there is a dragon on it.
Editing doesn't count.
@Josh Aaaand thanks for that.
 
@LucDanton Wow, that's cool!
@LucDanton ;)
 
I really want to keep most of the expression stuff
 
10:51 PM
@LucDanton How fascinating!
 
and rip out the rest
 
@StackedCrooked I have a book with a horseman on it to my right but I don't call it the horseman book!
 
Guess why the Red Book is called so.
 
What colour are black boxes?
 
@MartinhoFernandes Because it had a niche market for women's issues in the 90's?
 
10:52 PM
lol
 
Cam
Hey guys what's the design pattern called where you have a class you want to test that provides random output, so you subclass that class and override the random methods to provide deterministic output?
(for testing purposes)
 
@LucDanton do you have an explanation for this phenomenon?
 
Cam
iirc there's a name for this, I just can't remember...
 
@StackedCrooked What phenomenon would that be?
 
@LucDanton The phenomenon where some books get referred to by their cover and others not.
@Cam It reminds me of the template method pattern.
 
10:54 PM
Because other books are not easily recognizable by that description?
@StackedCrooked Sounds like something different to me.
 
@StackedCrooked Well, as a literary device it's a metonymy.
 
Have you all seen this? It gave me a laugh youtube.com/watch?v=k4RRi_ntQc8
 
@MartinhoFernandes well, @LucDanton just mentioned a counter example: a book with a horseman on it!
@MartinhoFernandes yea
 
It didn't get popular?
 
He doesn't refer to it by its cover.
But horses are cool, so it should be popular.
 
user457812
10:56 PM
Horses are terrible, evil things.
 
Tasty, though.
 
Cam
@StackedCrooked Thanks but I don't think that's it... when i was interviewing for jobs i remember there were a couple employers that asked me about it, and then today at work i used it.
Can't remember the name :/
 
@Cam It's mocking.
 
10:58 PM
I'm on a boat!
 
@MartinhoFernandes That's a pattern?
 
Don't know if you can call it that.
 
@Cam I never heard of this pattern.
 
But that's what I call what he's doing.
 

« first day (272 days earlier)      last day (4692 days later) »