« first day (397 days earlier)      last day (4569 days later) » 

6:05 PM
How do you markdown tags?
 
cpx
oh someone created c++9803 tag, is that really necessary?
 
nope.
 
Oh, the Qt containers have copy-on-write semantics apparently.
 
@CatPlusPlus Do you know how to markdown tags?
 
6:12 PM
[tag:foo]
 
Thanks! I made . I realized too late there wasn't going to be a slash :-(
 
damn I just answered a question before asking it again
but it's only in a non-normative note
 
Is there a "spoiler" markdown?
 
We already have , what's that one for?
Or maybe we don't.
 
cpx
now we need a c++03 tag.
 
6:14 PM
@CatPlusPlus pre C++-11
 
Still, I don't think including 98 makes sense.
 
I think a c++-obsolete tag would be more universal
Always referring to the not-current version
 
i.e. making C++ imply C++11 by default
 
Most questions are still about 03, anyway.
 
for specific versions, there should probably be specific tags
 
6:15 PM
@CatPlusPlus most C++03 questions can be solved better with C++11 features though
 
but lumping everything pre-11 into one tag doesn't make much sense
 
@CatPlusPlus I don't think so. "Most questions" are unspecific. Like "how do I iterate over a pointer container".
 
hello, I have a simple question in C++, if I have a vector A=[1,2,3,4], is there a fast way other then doing a loop to have the combinations [1,2] [1,2,3] [2,3] [2,3,4] [3,4]
and put them in a matrix
 
No. Should there be?
 
@mona What's slow about a loop?
 
6:21 PM
hehe ,its only that im new to C++ so I prefer to ask, maybe theres a fast function that i dont know
I dont know :D
 
Did you also intend to include [1,3,4]?
 
no
they should be next to each other
 
So… I don't even see the pattern here. It's almost all combinations of size 2-3.
Ah, OK then.
 
true I need them to compare something in my big program
but now i will go for a loop to do them :)
thanks :)
 
0
Q: When does the C++ tag start to imply C++11 by default?

awoodlandAt the moment it's unclear from an answer posted and tagged with just c++ if the question is seeking to solicit answers from a C++11 perspective or not. There are plenty of people who say yes (my compiler has reasonable support already) and plenty of people who say no (my compiler barely supports...

 
6:23 PM
Yeah, just use a nested for loop.
 
I will, thanks again bye
 
You know, I've been an active contributor on the C# tag for a long time, and we have 4 different versions of the language, and 5 different tags: one for each version, and a versionless one. We never had any issues with this.
The new versions just naturally roll into the versionless tag.
 
@RMartinhoFernandes there's only really one compiler vendor for that though isn't there?
 
@awoodland The upgrade is not instantaneous anyway.
 
At least two.
MS .NET and Mono.
 
6:26 PM
@CatPlusPlus I always thought of mono as a second class system though
 
Since many of runtime versions are incompatible, people stick to old versions for some time.
 
@awoodland And no standard for 3.0 and 4.0 :-)
 
@KerrekSB There is a specification.
 
@awoodland what difference does that make? There are people who still, for various reasons, use C# 2.0, for example, even though they're using MS .NET. A sinlge (primary) vendor doesn't make version issues go away
 
Yeah, I don't see the problem either. Now C++ is temporarily platform-dependent. That can affect which answer solves the OP's issue, but doesn't affect what's useful for other readers (who ultimately matter more), and makes no difference in the long run.
 
6:27 PM
@KerrekSB There isn't an ECMA standard, but there's a freely available specification.
 
and I don't really think it's a problem in practice. If people want to ask something that's about one specific version of the standard, they specify that in the question
 
@jalf it means that supported/not supported really is a boolean though
 
@RMartinhoFernandes Is the specification readable and consistent?
 
@KerrekSB I find it so.
 
Even the 2.0 ECMA standard is arduous to digest.
 
6:28 PM
@KerrekSB compared to what? It's far more readable than ISO 14882
 
Compared to C++11
That one is a pure joy to read
 
What.
 
What.
 
What.
 
6:29 PM
In C++11, everything makes sense. Everything that's said uses well-defined terms.
 
@KerrekSB I'd agree with that in general although there are definitely whole paragraphs I have to read multiple times to parse correctly.
 
The C#2.0 "standard" is at times a rambling anecdotal narrative that freely mixes definitions with examples with digressions and forward references.
 
You must have never seen Haskell Report.
 
@KerrekSB (a) no it doesn't, and (b), even if it did, it's still said in absurdly obscure ways much of the time
 
I don't say that C++11 is easy to read. But it's a "joy" to read.
 
6:30 PM
@CatPlusPlus That one really is pure joy to read.
 
anyway, if you read language specifications and worry about readability, you're Doing It Wrong
 
C#2.0 is just outright frustrating
 
@KerrekSB If you're a masochist.
 
@jalf I worry about whether the authors were thinking straight
 
When developing C++? Hell no.
 
6:31 PM
@CatPlusPlus When thinking up the spec at least.
 
cpx
has they ever released a standard working drafts ever since C#2.0? any revisions?
 
@KerrekSB so why did you ask if the specification was readable, if that's not what you were interested in knowing?
 
No language standard is a joy to read, but C++11 doesn't have gaping holes and the online support is very good, which makes up for a lot.
3
 
@jalf Well, I was... maybe that wasn't a very precise wording, though.
 
6:32 PM
I couldn't bear reading through the section about dependent names.
I just can't.
 
@KerrekSB sounds like you're exactly the right person to criticize an international standard for imprecise wording, then ;)
 
@jalf European!
Talk about precise :-)
 
hmm? Are Europeans supposed to be more/less precise than others?
 
Also, I wasn't suggesting that chatroom conversations use the same approach!
 
6:34 PM
Europeans are supposed to be awesome!
 
cpx
@RMartinhoFernandes oh thats version 4. so no revisions for version 2?
 
No, but ECMA is a European body, not an international one
 
it is?
 
@cpx After v2, they published v3.
 
Oh, that's actually not true
Never mind.
 
6:34 PM
What's the international part of their name for then? :D
 
It used to be, but no longer is.
 
ah
anyway, I can't really take ECMA very seriously
they really seem like sockpuppets for big corporations wanting to get their proprietary solutions "standardized"
 
That said, ECMA were the guys who initially said that OpenXML was a good idea, so my trust in them is a bit tarnished.
 
@KerrekSB WTF is that?
 
also their name sounds like a skin disease
 
6:36 PM
lol
 
So yes, when you think that the OpenXML standard was well-crafted, then I don't doubt that C#2.0 would look like Shakespeare to those eyes.
 
@RMartinhoFernandes Microsoft's XML-ification of .doc files
 
I pronounce it by spelling it out.
 
When Microsoft tried to push OpenXML into ISO, they leveraged it through ECMA.
 
@KerrekSB I don't think many people consider OOXML to be well-crafted
 
6:37 PM
@jalf The only standard not to have any correct implementation, not even by their very proponents! :-)
 
Far from it
there are plenty of standards that haven't been implemented
 
@KerrekSB What about C++?
 
SQL comes to mind
 
Hey @StackedCrooked, how's BG&E coming along? ;)
Is Perl standardized?
 
6:39 PM
Oh, maybe not.
But Perl 6 has a spec.
Which is already a big step from "the implementation is the spec".
 
A mild exaggeration, though the discrepancy between the implementation correctness and standard is very striking in that case.
Is Perl6 published yet?
 
@KerrekSB just to be clear, I'm not disagreeing with you at all about the shoddyness of OOXML
that was really a farce
 
What of SQL? I understand that the standard is fairly slim, so most real software has tons of extensions...
 
@KerrekSB There are implementations available already. I don't know their level of completeness, though.
 
@KerrekSB the standard is huge
and no one implements it
most DB vendors mostly implement the '92 version of it, plus a bunch of extensions
 
6:40 PM
@jalf Oh, how so? Is it very artificial and useless?
 
but not even that, and no one's even near implementing the newer one
 
@KerrekSB It's not webscale.
 
@KerrekSB not sure, tbh. Maybe it's just that database people don't mind
I sometimes get that impression
you usually marry yourself to one specific database, and then you can rely on all their extensions
 
Oh, I see, there are hundreds of revisions of that standard...
 
I think in the DBMS world, the standard is seen more as a kind of buffet. You pick the bits you like, and ignore the rest
 
6:47 PM
@jalf that's not a terrible state of affairs when there's more than one way to do anything and you have a way of asking what's on the menu today
 
creates a lot of vendor lock-in though
because your SQL code will rarely work with another database unmodified
but yeah, for the most part, it seems to work out for them
personally, I'm glad the C++ standard is treated a bit more strictly ;)
 
@jalf The "schema architect" my old company wanted to hire was married to MS, and denied that SQL was standardized at all. Claimed his highly-specific code could easily be migrated to MySQL, though.
 
I doubt it would work.
 
Compared to other language features, when would you teach temporary objects to C++ freshmen?
 
For instance, MySQL had no sprocs until 2009.
And it has broken semantics as the defaults.
 
6:58 PM
@FredOverflow I don't think you need to mention temporaries before you get as far as talking about object life times in general
the temporaries you accidentally write without realising they're temporaries are all pretty safe
so the interesting thing is the lifetime of objects created in different ways/places
(I.e. I'd do it at the same time as RAII probably)
 
hmm, I'd put RAII up near the front, along with object lifetime. I think those are such critical concepts in C++, trying to do anything more than Hello World without them is doing the students a disservice
 
@FredOverflow Maybe in an argument?
 
Today's Unicode-output-in-Windows-console "Hello, world!" example program, which amazingly works with both Visual C++ and g++.
 
@KerrekSB Yes, I was having an argument with the other instructors.
 
7:08 PM
@FredOverflow Hm. That was my lame attempt at a pun...
 
what?
 
Does anyone really understand facets?
@FredOverflow argument... you put a temporary in an argument when calling a function...
 
@KerrekSB Take a look at the example I just posted a link to.
 
@KerrekSB I understand facets pretty well but I'm sleepy ATM. What's the question?
 
1 min ago, by Kerrek SB
Does anyone really understand facets?
I think the question was pretty much just this.
 
7:10 PM
@FredOverflow well, they're probably wrong then. Just tell them that. :)
 
As in, "it's unbelievable that someone understands that kind of crap."
 
@RMartinhoFernandes Yeah, it's a truly obscure corner of the standard.
I mean, it's the only time that the standard provides some feature that you can only use if you write your own derived class...
 
It's a big "corner". More of a big jiggly bulge.
 
Yeah, if you ever need to make me fail a C++ test, make sure there are some questions about facets (or other advanced iostreams stuff)
 
@KerrekSB Sounds enterprise-y, i.e., Java-y.
 
7:11 PM
yuck
 
Are there any features that are already part of the standard that I can use directly? I think there's a wrapper for mbstowcs, isn't there?
 
@RMartinhoFernandes Yeah, I guess it kinda is, now you mention it
thank god for the STL. Imagine Imagine if the entire std lib had followed that style
 
@KerrekSB C++11 provides some ready-to-use facet classes, for UTF-8 conversion.
 
The most useful facet, codecvt, has been extended with new utility templates in the new standard, but there's still no clean way to write a custom one. So it's now incredibly brittle.
 
@AlfPSteinbach I see you always put a comment explaining what you're getting out of each #include. Doesn't that add a bit of a maintenance burden?
 
7:13 PM
@AlfPSteinbach Really? I think those are only for conversion among UTFs, non?
 
C++11 added ill-conceived features without fixing the bugs… it's now a train wreck.
 
And essentially wrappers around the nebulous `<cuchar>.
 
enum class Animal { CAT }; enum class MoreAnimals : Animal { DOG }; why isn't that legal?
 
@RMartinhoFernandes not for simple example programs. and not in general either, since the purpose is to communicate, not to adhere to some silly mechanistic guideline. :-)
 
@awoodland Because that's not inheritance?
 
7:14 PM
So basically, all you get are wrappers for the conversion functions in <cwchar> and <cuchar>?
 
@awoodland Propose it, probably it will be in C++1x.
 
However, keep in mind that syntax specifies the underlying type, which is not what we want in that case.
The "derived" enumeration could overflow the "base" enumeration's underlying type.
 
If you want them to share the underlying type you do: enum class Animal { Cat }; enum class MoreAnimals : std::underlying_type<Animal>::type { Dog };
But then you can't do MoreAnimals::Cat.
 
@Potatoswatter the underlying type for MoreAnimals could be bigger if needed
 
7:18 PM
@awoodland Right, I'm just saying that identical syntax would be used for orthogonal concepts. You end up using multiple inheritance syntax if you want to inherit enumerators and specify an underlying type at the same time… yuck.
 
@Potatoswatter MI would be a nightmare if both "bases" were enum classes
 
Sounds like you just answered your own initial question :)
 
although not impossible
@Potatoswatter I was asking about single inheritance there though :)
 
@KerrekSB Yes, you can't go from or to the narrow/wide encoding to UTF.
 
@awoodland As it happens, I came up with a solution to several of these problems which happens to work in C++03 as well:
0
A: A way to use all the unqualified names in a C++0x enum class?

PotatoswatterThis is also something I happen to want, but haven't gotten around to trying to solve. Here's an untested solution. EDIT: I tried it out and it works great! This is my very first C++11 utility macro. Also I added a one-past-the-end enumerator to help extend it to "derived" enumerations. #define ...

 
7:24 PM
So what's the deal with those enum classes everyone keeps harping on about? Are the A Good Thing?
 
@KerrekSB If you don't need any of the features mentioned by awoodland here or me in that answer, then yes. Otherwise, they're A Good Thing that's still too painful to put into practice.
 
@KerrekSB I like that they're finally properly typesafe
I dislike that they seem "unfinished"
 
@awoodland You mean you can't accidentally hide a conversion?
 
No longer shall we accidentally make our Bananas into Green
 
@KerrekSB There are no implicit conversions whatsoever.
 
7:27 PM
11
A: Should the compiler give a warning if enum labels don't match type?

awoodlandC++11 introduces strongly typed enums, using enum class: #include <iostream> enum class Color { Green = 0 }; enum class Fruit { Banana = 0 }; int main() { Color c = Color::Green; switch (c) { case Fruit::Banana: std::cerr << "Banana" << std...

 
@awoodland Heh.
It would be nice if enums had conversion functions, so you could just operator int() = delete your way to safety.
 
@awoodland What features would you want to have?
 
OK. I guess I have to start getting used to the idea. I usually name my enums as enum EItems { ItemPotato = 11, ItemBanana = 23 } etc.
 
@KerrekSB That's a bit of overkill now :)
 
@RMartinhoFernandes using to bring them into other scopes and inheritance to make enum classes growable
 
7:28 PM
You'll get tired of typing Item really fast.
 
@RMartinhoFernandes Not that classes would help: EItem::Potato, EItem::Banana... or is the class name implied in some contexts?
if (e == Banana)?
 
Never implied. Always explicit.
 
@KerrekSB Scoped enums must have the qualifier.
But if you name the thing ItemBanana, you'll have to write EItem::ItemBanana! There's too many Items there. That's what I meant.
> first time i get a constructive response from u Kerrek. Good work my padawan. – DarthVader 2 mins ago
Ouch.
This guy is not ok.
 
Yeah. You won't really be migrating many of your old enums over. Still in this new project of mine I've found a use or 2 for scoped enums.
 
@RMartinhoFernandes I meant to ask what the "non-constructive" bits were
 
7:32 PM
I scope everything! And I have my operators!
 
@RMartinhoFernandes Hehe. The only applicable comment I could make was "First time you ask a question that can be answered meaningfully", but in the spirit of keeping things civil, I'm just not going to.
@RMartinhoFernandes But that's just adding those two colons to my code!
ItemBanana becomes EItem::Banana. Wtpf?
 
Isn't the regexp [a-z]\@[a-z] only gonna give me (any string with a to z)@(any string with a to z)?
 
@KerrekSB I use underscores instead of camelcase, so it's just one character longer for me. Anyway, it's not a typing race.
 
@ManofOneWay No. It gives you one letter character (a-z), an @, and another letter character.
@KerrekSB Right. That's what I meant: you no longer prefix the names. Sorry if I caused confusion.
 
@Potatoswatter No, but I wonder whether this design addition really brought that much to the table. For example, if I had void f(EItem e), then it'd be cool if I could now get away with e == Banana, or even e.is(Banana).
But without such a pay-off, the advantage seems small.
 
7:36 PM
You all missing the most important thing.
Why the hell are you prefixing the enum name with E!
 
grep '[a-z]\@[a-z]' t.t , give me,

foo@ba.r
f.o.o@b.a.r
f+oo@b.ar
f!oo@b^ar
foo@bar+y
f..oo@b.a
f+o+o@b.ar
foo@bar
 
@CatPlusPlus Because it's European!
 
@RMartinhoFernandes I think he was just upset that last time he asked about something that doesn't exist he was told that it didn't exist...
 
@ManofOneWay Because your regex is not anchored.
@KerrekSB Yeah, I witnessed that episode.
 
@ManofOneWay It always matches "o@b".
 
7:37 PM
@ManofOneWay What is it supposed to match?
 
There is a letter followed by @ followed by another letter in all of those strings.
 
@KerrekSB Agreed. Non-conversion should be separate from required qualification. For what it's worth, though, in the cases when you want to require qualification, non-conversion may always be appropriate.
 
I want all strings with (string containing ONLY a to z) @ (string containing ONLY a to z)
 
The really weird thing is that unscoped enums always implicitly convert to int, even when a different underlying type is specified.
 
asdsad@asdsada but not asd.ads@sads.ere
 
7:39 PM
@ManofOneWay Anchor it: ^[a-z]@[a-z]$.
 
So it's actually very unsafe to have an unscoped enum with an explicit type of unsigned int or higher rank.
 
^[a-z]+@[a-z]+$
 
What will the ^ do?
 
Matches beginning of line/string depending on mode.
 
@ManofOneWay start of string
 
7:40 PM
^ anchors at the beginning, $ at the end.
 
One second :P
 
@CatPlusPlus Yep, that's it
 
Ah thanks!
 
I know, you don't have to tell me.
:P
 
@ManofOneWay watch out for the $ though - \n and \r are still characters
 
7:41 PM
Or even, ([a-z]+@[a-z]+), and then get the capture group.
 
@KerrekSB That will match f+oo@bar anyway.
 
Every regex engine I know of has implicit 0 group for the entire match.
@RMartinhoFernandes No.
 
@CatPlusPlus Yes, it will, it's not anchored.
 
@CatPlusPlus That was meant for the audience more than for yourself, to distinguish it from RMF's abortive expression above.
 
Well, as long as it's anchored.
 
7:42 PM
@KerrekSB oh that guy!
 
@KerrekSB What did I abort()?
 
@CatPlusPlus Well, you'd go for group 1, I guess
@RMartinhoFernandes Your expression only matched a single character on each side of the 'at'
 
If there's implicit group 0, then wrapping entire regex in a group is redundant.
 
@KerrekSB Ah, ok. I thought you meant something nasty with "abortive". :)
 
@CatPlusPlus Hmm.. Yes. So, the important point is whether you use search or match?!
 
7:46 PM
I think they'll behave the same with regex anchored at both ends.
 
And grep doesn't have those functions :P
(or does it?)
 
grep is always "search", I think.
:lv is better than grep, anyway.
 
If you want to say in regexp, that something, for example +, appears at most 1 time something like \+| ε ?
 
+ needs to be escaped.
 
7:49 PM
? is optional (0 or 1 times) modifier.
 
Oh, formal regexes.
 
ah okey great
 
[+] and \+ is the same thing.
I prefer brackets.
 
okey
and if I want to say a dot followed by at least one number of chars a to z, zero or more times: [\.[a-z]+]*
is that correct?
 
@ManofOneWay No, that's not even valid syntax.
 
7:53 PM
or as @CatPlusPlus prefers it, [[.][a-z]+]*
 
You can't put all that in brackets.
 
is it () ?
 
Brackets takes the meaning out of things inside them.
 
around everything?
 
@ManofOneWay Yes.
 
7:55 PM
@ManofOneWay (\.[a-z]+)*
 
I think I'm going to sleep. Good night folks.
 
Good night!
Wow wait
sleep already?
 
Hm, if I say (\.[a-z]+)*, how many capture groups do I get? Just one?
 
Is there any way to separate expressions so that they remain the same? Add spaces or something, it gets quite messy and I want to be able to read it :(
 
@ManofOneWay Do that in whatever language you're using to script grep.
 
8:02 PM
Some engines have a whitespace agnostic mode.
 
@KerrekSB Entire match and what's inside the atom.
It's called "extended mode" usually.
 
@ManofOneWay I have to get up early tomorrow.
 
That you all went through this whole conversation without mentioning std::regexp says something about its relevance…
 
@Potatoswatter Is there a working implementation?
 
It's not really relevant to grep or regexes themselves.
 
8:04 PM
@RMartinhoFernandes Don't know, I tend to avoid regexps anyway. GCC has something, in any case.
 
@Potatoswatter No, GCC's support is still far from usable.
:(
 
How come '^[a-z]*[@][a-z]*$' gives me
foo@bar
but '^[a-z]+[@][a-z]*$' doesn't?
isn't + one or more?
 
@CatPlusPlus What's the "atom"? In .ab.de, boost.regex only gives me one inner capture group, and that's .de, while the entire string matches.
Crap, there's now Boost 1.48!
 
@ManofOneWay grep is for serious work if you're a sysadmin, but then you probably sniff glue as well.
3
 
8:14 PM
I meant parenthesised group.
 
@CatPlusPlus Yes, but is there only one, or arbitrarily many?
 
Only the last match is saved.
 
Ahh. Makes sense.
So not all round parentheses make for useful capture groups... sometimes you just need them for syntactical grouping.
 
@Potatoswatter I don't know much about grep, it's the first time I've used it. I have an assignment in school and I want to double check which results I get. I have all the strings I want in a textfile, and I'm using grep to fetch them
 
8:17 PM
I rarely need capturing groups.
I default to writing (?:foo)
 
But is + not one or more? What am I missing here?
 
It is.
 
Then what is wrong with my expression?
 
Capture groups are formidable! Especially when used inside the expression itself: ([a-z]*):\1
 
'^[a-z]+[@][a-z]*$' should give me foo@bar ?
 
8:19 PM
Ah, finally: Boost.NumericConversions Just when you think we had enough numeric tools already.
 
@KerrekSB You want to avoid doing that. It's not a regex any more, and it's terribly inefficient.
 
@ManofOneWay It would seem to me it should, but I generally avoid regexps, and sed agrees with grep as well.
 
@CatPlusPlus Why is it not a regex? Most of my everyday life follows that pattern!
 
Both say that in this case [a-z]+ != [a-z][a-z]*.
 
8:21 PM
@KerrekSB Whatever you did last, is what you're going to do next?
 
@Potatoswatter Okey.. I thought + and * were one of the few actual standards in regexp :(
 
@Potatoswatter If I'm still alive, then what I did last can't have killed me. Rinse and repeat.
Now, what is this Boost.Locale everyone is talking about...
 
Well, I'm not an authority here and grep and sed might just share a bug in common. Better to ask the real SO.
 
and round brackets aren't working either!!
 
Very interesting: "Boost.Move emulates C++0x move semantics in C++03 compilers and allows writing portable code that works optimally in C++03 and C++0x compilers."
 
8:25 PM
They're just doing the same thing auto_ptr did.
 
@CatPlusPlus Surely such actions must not be condoned!
 
So... this Boost.Locale looks very promising...
@CatPlusPlus Good link!
 
So guys, if you are bored, have a look at my assignment and see if you get the same regexp. You'll probably get something smaller and better. pastebin.com/XyvAVxn5
 
8:40 PM
It's a stupid assignment, because email addresses are not a regular grammar.
I need to finish that Java CG thingy.
:/
 
A school assignment I guess? =(
 
@CatPlusPlus Real emale addresses can have comments, right? In parentheses. And spaces?
Almost no email client implements email addresses correctly.
 
Yeah.
That's why you don't validate emails, you let server deal with it.
 
@CatPlusPlus I'm not even sure if all servers implement email addresses correctly... I wonder if there's a conformance comparion somewhere.
 
Well, if servers can't deal with it, it's their problem.
:P
At least it's not your crappy validator that fails miserably.
 
9:06 PM
Argh, Java and stupid checked exceptions.
 
@CatPlusPlus That was a needlessly complex sentence.
 
9:21 PM
damnit
my neck hurts so much
:(
 
It's a death sentence.
 
@TonyTheLion Step off the gallows then.
 
Do you know the difference between the international and the U.S version of the Dragon book?
Usually it's less pages in the international copy, but it looks like there are the same number of pages
Is it only the hard cover perhaps?
 
@KerrekSB hahahh, wish that was only the problem :P
 
9:36 PM
@CatPlusPlus I'd say it's a decent assignment because it actually specifies the rules they want you to assume. A stupid assignment would've been one which simply said "write a regex that describes all valid email addresses"
 
9:47 PM
Someone wondered the other day why I think that PHP makes people think that everything is an array. Questions like this don't help.
 

« first day (397 days earlier)      last day (4569 days later) »