« first day (1579 days earlier)      last day (3372 days later) » 

12:00 AM
former
 
@Blob you never did specify any context :)
 
@sehe stupid homework assignment
 
pfft.
 
i need to "list at least 3 useful online resources for HTML"
urgh
HTML4.01 specification, the wip HTML5, what else
 
How hard can that be.
 
12:02 AM
it's hard when you'd rather to anything else
 
HTML validator
 
@Blob what about HTML. That's really braindead
 
@Nooble Obligatory: That's what she said asked.
 
@Jefffrey I was gonna say w3c (but there's w3schools which should hardly count as "useful")
 
@sehe high school sophomore. it is braindead
 
12:04 AM
@JerryCoffin :P
 
Also, just name SO, 4chan and Wikipedia. it's pretty subjective
@Blob is that when you're 12y/o?
 
@sehe 15
 
Not a single person is younger than me here.
 
Dunno what "sophomore" means. I though it was 1st year of college
 
2nd year of high school
 
12:06 AM
@Blob See if you can find a link to HoTMetaL. Should guarantee a good failing grade.
 
@sehe 1st year is Freshman.
 
@Nooble Impressive. I wouldn't have guessed this, actually (we've had some other cool youngsters here in the past. It's nice to see young people knowing what they want)
 
@Nooble Shame on you! Showing your bias against married people that way. How can you live with being so horrible?
 
@Nooble That doesn't quite define Sophomore :/
 
@sehe It goes: Freshman, Sophomore, Junior, and then Senior.
 
12:08 AM
i want to be a c++ when i grow up c:
 
@sehe At least as it's used here, sophomore is usually the second year of college (also the third to last year of high school).
 
@JerryCoffin You forgot the words "abject failure".
@JerryCoffin Ah. Thanks
 
@sehe I'm obviously an abject failure at this whining thing.
 
@JerryCoffin Marriage? Is that a human thing?
 
I don't get why you'd use std::error_condition vs std::error_code.
 
12:09 AM
You should be ashamed. Everyday we get the best teacher in here, and you don't even try to do better?
 
@Nooble Human, yet simultaneously inhumane (at least according to some).
 
It says the former is more portable but idgi.
The std::errc enum is as portable as it gets.
 
@Rapptz I thought they came in pairs.
 
@Rapptz The latter is the actual code, the first "logical condition". (Bit loosely phrased... :()
 
@sehe huh?
 
12:10 AM
@sehe I can only hang my head and cry.
 
You can compare both to std::errc.
 
Oh I was thinking error_category lol.
 
@Rapptz It means many error codes (from different APIs) may map to the same condition, IIRC
@Rapptz yeah. I've never quite figured it out. To add insult to injury, Boost mirrors the whole christmas tree in Boost System
 
I must be crazy.
 
2
A: boost.asio error codes on windows are platform-dependent?

seheIt looks like you want to use using error_condition instead of error_code here. Class error_condition The class error_condition describes an object used to hold values identifying error conditions. [ Note: error_condition values are portable abstractions, while error_code values are impl...

 
12:13 AM
My confusion comes from the fact that both std::error_code and std::error_condition both need std::error_category to be constructed no?
They literally look copy pasted.
 
@sehe Blob is pretty close, he's only a year older than me. I don't recall seeing anyone < 14, although I vaguely remember a 14 y/o girl in here.
 
You throw codes and catch conditions. Has been my rule of thumb so far (except I’ve ever written stuff that needed to report an error via a code).
 
@Rapptz Not so. "Note: error_condition values are portable abstractions, while error_code values (19.5.2) are implementation specific. —end note ]"
 
Yeah. They do come by.
@Rapptz That's allowed. I think that answer I linked gave a perfectly cromulent example of where it actually made a difference
 
@JerryCoffin That's not the std::errc enum.
That's the return value from the value() call.
 
12:15 AM
std::error_conundrum
 
Well.
You're not supposed to call value() usually right?
And Library User A should just compare to the enum provided.
 
Depends on what you want to do? I guess you shouldn't really care in portable code
 
So I'm guessing the enum provided is part of std::error_condition..
 
since you have to specialise the trait..
 
12:17 AM
I get the impression that you are slowly building up to a table flip lol.
 
this shit is ridiculous
 
here it comes!
 
I did that just for you.
I just wanted to know if my free functions should take std::error_code or std::error_condition but then I saw they're literally copy pasted.
 
@Rapptz The general idea is that error_code would let me (for example) directly encode Windows error codes. It more or less reserves a few (few compared to the number of Windows error codes, anyway) for the POSIX codes (which are also used as the portable values for error conditions).
 
12:21 AM
@Rapptz you're too nice. Also an "abject failure"
 
I don't really like this as much as I did 35 minutes ago.
Why couldn't they make a different member function for the mapped portable code vs the non-portable one?
 
@Rapptz semantically they're not, though. The point is you have to squint a little :) The standard library doesn't really supply enough features to make this distinction worthwhile, but the abstraction is there in case other libraries would put it to good use (?)
@Rapptz I think the category need not be the same. But I'm just conjecturing
 
In order to compare std::error_code to std::error_condition they have to have the same category. For it to return true anyway.
 
You might find the proposal for the Error Handling library. And find out what the design rationale is
@Rapptz So you don't. Compare
 
12:25 AM
Honestly, when you find out, paste a self-answer in [c++-faq] this would be great
 
Which is as close as it's going to get from the horse's mouth I think.
 
@Rapptz that is a nice article (is that Chris Kohlhoff or Anthony Williams? Ah I'll have a look :))
 
Chris K.
 
Most of the teachers use a tool made by one of the teachers that keeps anything after a "." (file extension) but renames the beginning to LASTNAME-FIRSTNAME. Made file extension really long c:
not too long; i wouldn't risk that
 
You know that you're not supplying any context, and this makes your rant a bit headless?
 
12:32 AM
@sehe me?
 
Puppy and Ell have gone silent. Are they too drunk to type, or...
 
@Blob Who else
 
@sehe don't know; didn't read anything above mine
 
@MartinJames Consider the theory that they both got teleported into a new dimension, never to come back until they discover the meaning of life. You can't prove this false until one of them says otherwise.
 
For those wondering, it seems that you're supposed to take std::error_code as a parameter and then compare it to an std::error_condition for cross-platform-ness.
 
12:37 AM
Sounds about right.
 
@Nooble Well, that is possible. I have to chat to Mr. Occam.
 
I find it a bit odd you're supposed to do if(!ec) for success though.
very C-like.
 
Or rather, you should expect to receive error_codes from functions (by passing out parameters) and convert implicitly. The whole machinery in the back is just to make it (a) cheap (b) extensible
 
25 mins ago, by Luc Danton
You throw codes and catch conditions. Has been my rule of thumb so far (except I’ve ever written stuff that needed to report an error via a code).
 
@Rapptz Error handling without exceptions is always going to be C-like. Even if it's HRESULT hr = S_OK;
 
12:39 AM
Nothing wrong with reporting via a condition I suppose though.
 
well I mean I would have expected if(ec) not if(!ec).
It's a small syntactic complaint if anything.
 
@LucDanton Well, not for ad hoc functions. But ambitious libraries should probably define their own codes/enums
 
Maybe I have the wrong mindset.
 
Yeah. I write if (ec) in asio code all the time
 
Maybe if(ec) is better because it reads "if an error has occurred" so if(!ec) makes sense for success.
 
12:41 AM
I favour early-out anyways. I like to think of the exceptions first. Lest I forget, I guess
@Rapptz What also helps is to subtly rename the variable (but that breaks the convention...)
if (!error), if (error_code) and similar
 
Err on the side of naming.
 
@MartinJames Also consider the fact that if they did, in fact, get teleported into a new dimension where they have the ability to acquire the meaning of life, that they are in a world infinitely better than that of our own. What are the chances they would ever want to go back?
 
@sehe Unfortunately, as far as I can see the proposal doesn't cover that (nor does the predecessor it links). The proposal to add similar reporting to iostreams doesn't either.
 
@Nooble Not much, so it's a win-win:)
 
@JerryCoffin Wow. Who said the lounge is not helpful
@LucDanton :^
 
12:45 AM
@LucDanton I'm only in this mess cause I'm doing some networking thing.
 
wot
 
don't you wot me
:c
 
wut
 
> The LWG was aware of the need for localisation, but there was no design before the group that satisfactorily reconciled localisation with user-extensibility. Rather than engage in some design-by-committee, the LWG opted to say nothing in the standard about localisation of the error messages.
 
@sehe I do!
Inb4: That's what she said. Yes, she actually did.
 
12:49 AM
getloc().greetings()
 
You're in a stream object? Or derived from std::ios_base, I suppose
(Who'd have think iOS was to be the first OS with explicit mention in the standard)
 
using Lounge<C++> = std::basic_ios<bullshit>;
@sehe :drama:
> In recognition of your contributions to Stack Overflow, we’d like to invite you to create a professional profile on Stack Overflow Careers.
srsly? contributions? 200 shitty rep acquired through snarky comments?
 
They have all your sock puppets on file :/
Anyways. You get (shitty) rep for commenting ? o.O
 
@sehe Comments (just posted as answers).
 
12:57 AM
> Trying to integrate Postgres with CUDA
What the fuck is this guy smoking I want the same
 
webscale is a way of life
 
@Rapptz the part 4 was most enlightening for me blog.think-async.com/2010/04/…
It's all about extensibility indeed.
Don't expect the standard library to require/make use of the code->condition mapping
@AMostMajestuousCapybara That's actually a nifty thing Postgres got
 
Part 5 goes more in-depth over the two (error_code and error_condition)
 
Dec 23 '14 at 20:52, by sehe
@rightføld instead make something useful like GPU-Based Acceleration For PostgreSQL
@Rapptz It'll have to wait for tomorrow :) Busy day.
Night all
 
Night.
 
1:02 AM
@sehe egad
 
@AMostMajestuousCapybara What CC_FLAGS should i use?
 
@MartinJames Hehe.
 
Any recommendation on what laptop I should get? D:
 
@sehe G'night.
@AMostMajestuousCapybara One that fits your needs?
 
1:09 AM
That's by all means reasonable
 
@AMostMajestuousCapybara Find a used Lenovo T60 for a bargain, an ssd 120GB in total $68 and you'd be happy for another 10 years.
On the other hand I just saw the new top of the line Lenovo. It was not bad. It sells for $3200.
 
@CaptainGiraffe Isn't that model from years ago?
@CaptainGiraffe What.
 
@AMostMajestuousCapybara My personal T60 was built in 2007
It goes for nothing in auctions,
It is the best built laptop since this years $3000 offer.
 
@AMostMajestuousCapybara Depends. What are you going to use it for?
 
Coding, basically anything but gaming.
 
1:16 AM
porn everything
 
Are you going to use it for gaming?
 
Probably some GW2/Dota here and there
But I don't have much time to play anyway
I need an (NVIDIA) GPU for CUDA anyway
> Powered with 3rd generation Intel® Core™ i5 processors
thank you but with which model number you fuck
 
CPU-Z
newb
 
it's an advertisement
 
link
 
1:22 AM
And what is your budget?
 
Okay.
 
I don't know. 1.3k US$ I'd say.
 
How big do you want it to be?
Inches.
Screen size.
Damn it.
 
OK, I set fire to my hair again. It's out now, but smells bad. I should goto bed.
 
1:24 AM
About 13-15 inches
 
@MartinJames How do you keep on setting fire to your hair?
 
link the new top of hte line lenovo?
 
Yo gents. Can you explain me the C++ joke? i.imgur.com/bpWaYse.jpg
 
@MartinJames Does sound like a plan.
 
@Voldemort i never got that joke either
I feel like the writer didn't know what to make fun of with C++ and just wrote something random
 
1:26 AM
Oh well!
 
@Voldemort The notorious difficulty for beginners to know when copies happen in C++ (maybe?)
 
Oh that sounds plausible
 
@Voldemort It's not really very funny. It's basically just that in C++ you have to write a copy constructor for (nearly) any class that uses an owning pointer.
 
Or the fact that pre C++11 there would be a lot of redundant copying/destructing
 
I see, thanks all
Programmers need to work on their humour
 
1:28 AM
@AMostMajestuousCapybara Here you go. It's $999, so you'll have some room to do some upgrades.
 
Compared to languages (implementations) that use garbage collection you do end up copying quite a few more objects (where one with GC just creates another pointer to the same object).
 
@Nooble Thanks :)
 
@Voldemort I'm guessing the author wasn't/isn't really a programmer (or at least not one who knows C++ well).
 
@JerryCoffin Pleonasm ;)
 
What I don't get is the HTML joke. Someone explain please.
 
1:33 AM
Idk but maybe it's just that HTML isn't really a programming language. So instead of an essay you got a flower pot!
 
@Nooble Not just that HTML isn't a programming language, but that web devs have no clue what programming is, how it's done, or what a programming language would look like.
 
Oh, well, at least that one is slightly funny.
 
@Nooble Emphasis on slightly though.
 
Dunno about the Java one though. It's not a hard language I think
 
Verbosity.
 
1:36 AM
Extreme verbosity.
 
Oh yeah, probably that.
 
someone should make a new version of that with better jokes and more modern languages (python, c#, etc)
 
I swear to god I entered my password the same way 15 times on Windows, and it only worked just now. What's happening to me. Or windows.
 
@Nooble Smart money says PEBKAC.
 
@AMostMajestuousCapybara Hyped up for the Heart of Thorns?
 
1:44 AM
@LucDanton It's a much needed breath of fresh air
 
Eh, Living World S2 was nice.
In fact I don’t think I’d be interested so much in HoT if they hadn’t showed that they can, in fact, still do things right.
 
Yes, but there's nothing much else. I've been playing since beta weekends and for the past few months I've been feeling bored with the permanent ingame content.
 
Yeah I play on and off. If I didn’t, I’d burn out.
 
345th fractal tonight and yet still fun though!
 
1:47 AM
Nice, what level?
 
Personal reward is 36 although tonight was a cruising 19.
 
Got anything nice?
 
Actually got my first fractal skin lol
Torch, aka "well it’s not an underwater weapon"
 
Do you wear it? I've been lucky enough to get dagger and shield
 
@JerryCoffin My password on my desktop is literally 'qwerty'. There was no way I typed that incorrectly. (And no, that's not my universal password)
 
1:52 AM
I don’t have a plan, I don’t think I have a single exotic torch on my characters. I only use a torch on ranger to stack might at the start, or maybe sneak here and there with my mesmer. Not much of an incentive.
(Haven’t done WvW in a while, and not really hooked on PvP.)
 
@Nooble is your universal password hunter2?
 
@AMostMajestuousCapybara That’s kinda awesome
 
Yes they both rock
Love the dagger trails weee
 
@Voldemort Yes.
 
I could see those on an elementalist.
 
1:54 AM
Yes, ele and thief. And the shield on engi.
 
@Nooble I only see ******* when I type mine
 
@Nooble Nice edit.
 
@JerryCoffin What edit?
 
... damn I miss my teen days when playing runescape.
 
Why the fuck did Dell remove Linux from its preinstalled laptop OSes list
 
1:57 AM
What do you call a Dell thrown into the ocean?
 
A Dell thrown into the ocean.
 
I knew this one
 
A Dell rolling in the deep.
 
Adele something
 
I think we’ve been back to the status quo of 'Windows OEM for everyone!' for some time now :(
 
1:58 AM
urgh this is terrible
 
My joke? I know.
 
The joke or the status quo
lol
 
I don't want this W8.1 bullshit
 
Wait for Windows 10
It's so great it skips 9
 
I should start selling Lenovo Thinkpads loaded with Ubuntu with an Apple sticker on it.
 
2:01 AM
Are touch screens even useful
 
No.
 
Raise the price with an extra sticker
 
I thought that was USD for a second.
 
2:05 AM
I don’t suppose you can get a laptop through work?
 
Price seems a lot higher than the sager I showed you.
About a $1000 difference.
Seems like the only difference between the systems is that the Dell XPS 15 has more RAM and has a slightly worse GPU (750M vs 850M).
And then $999 vs $1999
 
2:23 AM
I'll think about it in more detail
In the meantime, when are we getting std::count_if(container, pred)? And friends.
 
@Nooble From what I've read, the XPS 13 is great.
Good morning.
@AMostMajestuousCapybara For 2-in-1s, yes. ;)
 
@AMostMajestuousCapybara That doesn’t scale though. Filtering is where it’s at.
 
@MarkGarcia Most touchscreens I see are so flimsy.
 
@LucDanton Right. Ideally I'd like some kind of list comprehension.
 
@Nooble Depends. For those that are supported by the base (like those of Asus') then it depends on the hinge. I've tried one of those and it's quite sturdy.
 
2:35 AM
Also, it doesn't seem to easy to access the taskbar, as it's in the very bottom of the screen.
 
2:56 AM
how many colon-colons are too many colon-colons?
    ks::gl::VertexAttribute::Desc
 
@AMostMajestuousCapybara LOL
 
פעמיים נקודתיים‎
 
$ php -r ::
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM
In computer programming, scope is an enclosing context where values and expressions are associated. The scope resolution operator helps to identify and specify the context to which an identifier refers, particularly by specifying a namespace. The specific uses vary across different programming languages with the notions of scoping. In many languages the scope resolution operator is written "::". In some languages, notably those influenced by Modula-3, including Python and Go, modules are objects, and scope resolution within modules is a special case of usual object member access, so the usual method...
wat
 
lol why does its origin matter
 
because PHP
php - Purely Hated Programming language
 
3:20 AM
PHP (L)
 
@Nooble You do realize that room owners can see the full history of a post?
 
Not just room owners.
Anyone can.
Room owners can see them from deleted posts.
 
No you guys can't.
It's magically encrypted.
 
@Rapptz Oh, okay. I was a non-owner for a while, but at my age, my memory isn't what it used to be (not sure if it ever was).
 
Then He Jerry wondered how it is to be mortal again.
 
3:29 AM
@JerryCoffin It was a joke, anyway :)
And even if it was true, I would've changed all my passwords by now.
 
@Nooble No you wouldn't. ;)
 
My password is in koalanese. I know of no human who can speak this language.
 
@Rapptz Not found :(
 
Room owner only I guess.
 
3:33 AM
I guess there is only one way to allow me to view the link then hint hint nudge nudge
 
@Rapptz And post owner
 
yup
 
@Nooble WTH are those links?
 
@MarkGarcia I have no clue.
 
@MarkGarcia Links back to 1994, from whence it came.
 
3:36 AM
> If your son has requested a new "processor" from a company called "AMD", this is genuine cause for alarm. AMD is a third-world based company who make inferior, "knock-off" copies of American processor chips
> Your son may try to install "lunix" on your hard drive. If he is careful, you may not notice its presence, however, lunix is a capricious beast, and if handled incorrectly, your son may damage your computer, and even break it completely by deleting Windows, at which point you will have to have your computer repaired by a professional.
This guy must be trolling.
 
Trolling about lunix is ooooooooooooooooooooooooooooooold
 
Give him a break guys.
He's only like 14.
 
Very well.
 
@LucDanton Like I said, this from the mid '90s or so. I remember when it was new (and we laughed about it on Usenet).
 
3:38 AM
@Rapptz Quite old for a koala.
 
lol
 
Since when are we nice and tolerant on the internets?!
 
Since two days after yesterdays tomorrow.
And then two days before that.
 
@Nooble Neuromancer, a hacking manual? Wut? /cc @R.MartinhoFernandes
 
Chat like it's 1994.
New official topic.
room topic changed to Lounge<C++>: Chat like it's 1994. [c++] [c++11] [c++14] [c++-faq]
 
3:44 AM
Lounge<Usenet>
 
room topic changed to Lounge<C++>: Chat like it's 1994. [c++] [c++11] [c++14] [c++-faq] [no-questions] [get-out] [no]
 
@JerryCoffin So, wait, was this a joke back then? Because it sure is now.
 
dude i just got a 33k modem
 
90s music.
 
(aside*)&your_fears;
2
 
3:48 AM
Lol.
 
@EtiennedeMartel From what I recall, there was quite a bit of debate at the time whether it was serious or not. Consensus seemed to be that it was some guy who'd watched Reefer Madness once too often, or something on that order.
 
Who can forget top tier songs such as these:
 
@JerryCoffin He's right though in that Flash is hacker software.
 
hi all, I hope it's okay to ask this here (irc is blocked here):
I have this open source project where I'll need a Server to Clients. Server will just serve json data to stand-alone java desktop clients. However I won't have the $ to run the server that will serve millions of clients. So I was wondering if P2P would help me here. Any advice? Bitorrent?
 
3:50 AM
the 90's really were the best
 
@thirdy Yes bittorrent is very good for JSON servers
 
@Pris late 90s!
 
@AMostMajestuousCapybara ok, ill google for "Bittorrent JSON server"
 
@thirdy So what you really want here is Eucalyptorrent.
It's more lightweight than BitTorrent.
 
@Nooble thanks, tried to search for Eucalyptorrent, but found none. Any website for it?
 
3:57 AM
I was kidding. I can't think of any way you can possibly host a P2P server on BitTorrent.
How does that even work?
You can try writing your own P2P client.
 
It kinda works. Some people did a proof of concept for a website thats just hosted on bit torrent iirc
 
That sounds really slow.
 
probably but I don't think the goal is speed
 
@Pris That's really cool. Although, theoretically, one day your website can just die.
 
thanks for the suggestions. how hard it is to work with P2P? i hope there is out of the box solution? -- since I just need to distribute a sequence JSON files e.g. 2015-01-01_01.js, 2015-01-01_02.js, etc.
 
4:03 AM
Shouldn't be too hard.
I linked you a library.
I wonder how Usenet was like.
 
@Nooble Before the eternal September, it was really nice--but it wasn't structured to deal well with a constant, large influx of newbies. From a technical viewpoint, the transport was almost infinitely scalable, but from a social viewpoint, it was much more restricted.
 
4:35 AM
> the eternal September
 
Before SO I frequently posted questions comp.lang.c++.moderated.
 
@StackedCrooked Before SO I frequently posted answers to comp.lang.c++.moderated (and comp.lang.c++, and comp.std.c++, and ...)
 
@StackedCrooked hey you're here. how protected is Coliru from malicious activities like making an enormously large file?
 
@JerryCoffin cross-posting eh :)
@Blob File size is limited by ulimit -f 4000.
 
k
 
4:47 AM
Which is about 4MB.
There are various limitations and things.
 
4:59 AM
i wonder why std::less<std::type_info> doesn't work
std::type_info has a before() function
 
 
@StackedCrooked I suppose I wrote at least a few of those too. Unfortunately Google has broken the Group search so badly that I can hardly find any of my posts any more though.
Googling on the web, I stumbled across a paper from a few years ago that I wasn't aware had cited me: citeseerx.ist.psu.edu/viewdoc/…
 
5:17 AM
Cool!
 
fucking boost datetime
 
5:37 AM
@StackedCrooked Then there are ones like this, that I think is probably pretty cool--but my Russian isn't good enough to be sure.
 
> bool jerry_coffin_method()
:D
 
5:56 AM
Honorable developers. You may be wondering why I've gathered you here today.
 

« first day (1579 days earlier)      last day (3372 days later) »