« first day (858 days earlier)      last day (4082 days later) » 

7:00 PM
@ThePhD Good.
 
@Cicada : Enlighten me! :P
 
Suprendee.
 
@FredOverflow If they cauterise the wounds properly I'm sure it's safe.
 
@ThePhD It's going to be mostly designers and PR people. Don't expect code.
 
@FredOverflow : C++ had oscars. Dammit, I could have gotten ticket
 
7:00 PM
@EtiennedeMartel ._. Yeah...
I wish I could find coders.
And programmers.
It's so hard to find them.
 
@ThePhD Like a Polish dude?
(wink wink)
 
I enter rooms and its crawling with Artists and Sound People and Voice Actors
 
@ThePhD What's the difference?
 
@ThePhD I enter rooms and it's crawling with programmers.
 
@EtiennedeMartel Take me with yooou. ;~;
 
7:01 PM
The game I posted a screenshot of yesterday? We're six. Six programmers.
 
FFFF
SO LUCKY
 
I have great art support: 3 artists.
 
The game'll look like ass.
Because no artists.
 
They make really beautiful models and design stuff and shit.
 
7:02 PM
Still, making a game is not really the point. We're doing that to learn.
And maybe, eventually, get a game running.
 
Some of them are even technically oriented, but none are like
 
@ThePhD Which uni do you go to?
 
@ThePhD Of course, they're artists.
 
"Yeah I can write a shader."
 
Artists make stuff that look good.
 
7:02 PM
One of them tried C++.
Didn't get too far.
 
Anyway, a game is mostly art and a little bit of code.
 
WTB: Proograammmeerssss
 
@ThePhD Honestly, if no one helped me in this chat-room, Id just quit C++
 
@EtiennedeMartel Asses can look beautiful!
 
o_O
Target Muscle Groups on the Hulk, maybe.
 
7:03 PM
@EtiennedeMartel nope, database with a fancy GUI
 
@ThePhD I didn't want to post a sexy NSFW pic.
 
@ThePhD I tried filling in the blanks and immediately ran into a problem. It appears to depend on knowing the accuracy of the timer at compile time, but the high-res-clock has a unknown frequency until initialization.
 
@MooingDuck Damn.
Well, stopwatch it is. :O
 
@MooingDuck What are you using? I always use timeGetTime on Windows.
 
@FredOverflow QueryPerformanceCounter
 
7:05 PM
@FredOverflow QueryPerformanceCounter is the highest resolution WIndows timer
 
Isn't 1ms more than enough?
 
Nope.
 
@ThePhD well, we can convert to a known frequency, that'll work.
 
@MooingDuck But that'll throw off all the calculations, wouldn't it?
 
@FredOverflow That ass looks like it was stuck on
 
7:06 PM
@ThePhD not if they're all converted.
 
@GamesBrainiac I have a feeling the whole picture is fake.
 
Ah.
 
@FredOverflow : No....You couldn't possibly think so?
 
I'm 51% certain it's fake.
 
Hm.
This breakbeat stuff isn't so bad.
I don't even know if that's what it's called.
Maybe this is hip-hop?
 
7:07 PM
@GamesBrainiac I can tell by the pixels and seeing quite some shops in my time
 
@ThePhD Breakbeat? Usually drum & bass.
 
^ That
 
@Cicada I was being ironic. Guess we can't make each other laugh! XD
 
XD
 
@ThePhD : btw, why the interest in game development?
 
7:09 PM
@GamesBrainiac Because I love developing games.
And because it's been the only way I've learned stuff in Uni related to computers for a while now.
 
@ThePhD : I see. I just recently used C++
 
Oh, are we posting YouTube music links again?
 
Games are great for learning. They cover a wide range of subjects.
 
removed due to crappy sound quality
 
That was quick.
 
7:10 PM
@EtiennedeMartel THIS SI WHAT I SAY BUT NO ONE BELIEVES ME
 
@ThePhD Kick their teeth in.
 
@EtiennedeMartel : I agree. I made my first game in Java just after 2 months! :D Using LWJGL
 
Then say it again.
 
@FredOverflow Yes we are. Post away. I'm still listening to the Main Theme you gave me last time and Central Park. :D
 
Oh nice, the Last Ninja :)
 
7:12 PM
@FredOverflow I like it!
Awww
Well it was bad quality but I still like it.
Um, let's see if I have anything sort of like it..
 
Is bad sound quality somehow an inherent limitation of long YouTube videos?
 
No, people just suck at making simple videos.
 
@ThePhD Good thing I have it on CD :)
 
o_O
 
Thecoshman gets no oneboxes?
 
¬_¬ stupid links
 
Pirates don't get one box.
 
@EtiennedeMartel But they get plenty of booty! Yaarrr harr harr harrr!
 
@EtiennedeMartel indeed, we take ALL THE BOXES!
 
user142019
7:14 PM
Yay my code works! For very small values of "works".
 
@ThePhD application of hand to back of head
 
:c
 
oooh, dinner time
see yar later
 
cya folks! :D I g2g sleep
 
@Zoidberg What code?
 
user142019
7:16 PM
@FredOverflow This code. gist.github.com/daknok/4998340
 
user142019
With my own web framework (which is not included in the Gist). :3
 
using Cowgirl;
using Lobster;
2
lol
 
user142019
Cowgirl is the HTTP server I wrote and Lobster is the web framework.
 
Now I want to see using Krakken;
 
@Zoidberg Oh, back on Hexapoda? What about Zoidlang?
 
Chu
7:18 PM
algún programador de C++ que me pueda ayudar?
 
user142019
I was getting sick of Zoidlang; will continue tomorrow.
 
Xeo
@EtiennedeMartel Remember, the first rule to never finish any project: Have many many projects at once.
 
new ReflectionBasedApplication("127.0.0.1", 1337, controllers)
Ha ha, I always choose the same port number if I need one :)
 
user142019
:P
 
@Chu Voulez-vous manger la baguette avec toi?
 
Xeo
7:19 PM
@FredOverflow toi? I feel that's wrong.
 
@FredOverflow He's speaking Spanish, not French.
 
I don't like baguettes.
 
Lol...
 
@EtiennedeMartel I don't know Spanish :)
 
Xeo
Heh
 
7:19 PM
yeah that was definitely spanish
@Chu tu no puedes hablar ingles?
 
user142019
Spanish? Does he use Amiga?
 
Also, it's "manger", not "mangez". And "manger la baguette" sounds like an euphemism for a fellatio.
 
to eat the bread
 
user142019
At least it's not "manager".
 
Mmm, give me your long bread baby~
 
user142019
7:20 PM
public abstract class BaguetteFactoryManager
 
@ThePhD More specifically, an oblong piece of bread.
 
Chu
sorry, but I don't have a good english...
 
@EtiennedeMartel Okay, so I accidentally asked him to perform auto fellatio?
 
You know, it's like saying "viens me secouer le pommier". Pretty much everyone knows you're not talking about an apple tree.
 
user142019
7:21 PM
@StackedCrooked y u no std::size_t. :v
 
Xeo
@StackedCrooked char const* literal ~
 
At the moment, I currently have one way of passing global data between classes without using a global, and that's VIA a Service Provider.
 
Xeo
Remember function param transformations.
 
@Xeo Can I not stop it?
 
Xeo
Make it a reference.
 
user142019
7:22 PM
@FredOverflow That would require removal of ribs in most cases. More fascinating is auto cunnilingus.
 
Xeo
There simply are no by-value C-style array function parameters.
 
Maybe I should just have a global bin of variables...
 
@Xeo this
 
What happened with casperOne?
 
Xeo
@FredOverflow You're lightyears behind!
 
7:23 PM
Or should I just go back to the transcript and read it all
 
Chu
I would like use ncurses and qtcreator, but when I execute it I have and error with the terminal...
anyone could help me?
 
Xeo
@StackedCrooked Well, that deduces to an array ref, so eh.
 
@StackedCrooked Are there array rvalues?
 
Xeo
@FredOverflow Yes
 
7:24 PM
@Xeo Data members of temporaries?
 
Xeo
Although a string literal is always an lvalue.
@FredOverflow alias<int[]>{1, 2, 3}
 
Chu
I asked that question three days ago without success
 
@ThePhD stacked-crooked.com/view?id=71767c3f5fea741b315f87ad3153b8b6, pretends to have a nanosecond accuracy, and does conversions if it can't. It rounds and/or may misbehave if actual accuracy does not divide evenly into 1000000000
 
@FredOverflow Yes.
 
user142019
Do you guys prefer ORMs or raw SQL with (named) tuples?
 
7:25 PM
@Chu What error?
 
@MooingDuck What is this magic I don't even @___@
 
@Zoidberg You usually start with ORM and then convert that to SQL when the design is stable.
 
user142019
orly
 
user142019
TIL. :P
 
@ThePhD it's most of a clock. Along with a faked bit of windows header to make GCC compile and run it
 
user142019
7:26 PM
I never really liked ORMs.
 
@MooingDuck Why all the std::chrono defines, though?
 
Is that supposed to make it work with other std::chrono values?
 
@ThePhD dunno, but that's what the spec says.
 
Oh. Well, okay. o_o
Guess I should read the spec then.
 
7:26 PM
@ThePhD the typedefs? They're just typedefs. I don't want to define my own ratio and duration and timepoint classes when they come in the library already.
 
Chu
@FredOverflow Error opening terminal:unknow
 
Xeo
@StackedCrooked If it's an rvalue, the lifetime is extended.
However, beware: (code coming in a sec)
 
Chu
@FredOverflow it appeared on a xterm console
 
@Chu That's not a very helpful error message.
 
7:27 PM
@Xeo Ah.
 
user142019
I like this the most in my code:
 
user142019
[Route(HttpRequestMethod.GET, @"^/bugs/(?<bugId>[0-9]+)/$")]
public async Task<HttpResponse> Show(HttpRequest request, int bugId) { ... }
 
@Xeo Only if it's a prvalue. You get dangling references with xvalues.
 
user142019
The parameter name must be the same as the group name in the regex, but the order doesn't matter. I can add as many parameters as I want. :3
 
Xeo
@FredOverflow Only if the original of that xvalue actually goes out of scope.
 
7:28 PM
how is c++-faq a meta tag
 
user142019
Like this: .
 
Xeo
@Rapptz Tells you nothing about the question, it's only for categorization.
 
@MooingDuck Makes sense, I guess...
 
Chu
@FredOverflow it's all the information provided
 
and this is bad why?
 
Xeo
7:30 PM
@Rapptz We don't tag questions by their content for fun.
 
I honestly think this is the dumbest thing I've read, why would you want to delete something so useful because it's a "meta-tag" that has arguably done better than most, if not all other "meta-tags" that have existed?
 
Xeo
@Rapptz No clue.
I agree it's a meta-tag, but if we have no way to provide that meta-information otherwise, I'd rather have it as a tag.
 
@MooingDuck and @FredOverflow : If you were teaching data structures in C++, what book would you use. Right now, most people on SO recommend this : informit.com/store/…
 
Oh god
What have I done
 
1 hour ago, by Mooing Duck
@GamesBrainiac That's not on our approved list, which is a bad sign, I'll check it out real quick
 
7:32 PM
@ThePhD code a class worse than singleton
 
I can't include multiple of my header engine stuff in multiple different CPPs in a client project
 
@ThePhD inline
 
@ThePhD so much sucks
 
Linker errors everywhere. ;~;
 
7:33 PM
@MooingDuck That is just books about C++. What about Data Structures?
 
Xeo
@GamesBrainiac If it was a good book for data structures in C++, it'd be on that list.
 
@Xeo : None of the descriptions have DS in there. Templates, objects, classes all there
 
@GamesBrainiac you don't really need data structures
just learn about vector, set and map
srsly
 
@BartekBanachewicz : Not the point. I need to learn about them
 
@GamesBrainiac why?
what do you need to do?
 
user142019
7:35 PM
Exception.StackTrace y u string.
 
user142019
Y u no IEnumerable<StackFrameDescription> or something.
 
@GamesBrainiac I don't know any data structures books. But as far as I know, the Sedgewick is a classic.
 
Xeo
Okay, I have two choices now: Actually write some code or lie around lazily watching Anime.
 
user142019
Or both.
 
@Zoidberg It's called "stringly typed".
 
user142019
7:35 PM
@FredOverflow it's terrible.
 
Xeo
@Zoidberg For printing stuff to DebugOut so you can click it in VS! :D
 
@GamesBrainiac I'd imagine the books about the library talk about data structures, but I don't know any good books offhand
 
@BartekBanachewicz : Uni. Thats all
 
@GamesBrainiac fcuk it
 
@Xeo : You watch Anime too! :D hi5 bro
 
Xeo
7:36 PM
@GamesBrainiac If we learned once thing about school in here, it's "Fuck them."
 
user142019
@Xeo okay make it an instance of a type StackTrace that implements IFormattable (or whatever that interface was called).
 
Xeo
Also, maybe the stack info is only available as a string.
 
@Zoidberg Please tell me Zoidlang doesn't use stupid I prefix for interfaces :)
 
@Xeo I am coming to that same conclusion. But alas, I need to do well. Otherwise, parents will cut off 'luxuries'
 
user142019
@FredOverflow not required anyway but yes it's convention.
 
user142019
7:37 PM
I like it. (Pun not intended.)
 
Do you also use C prefix for classes?
 
user142019
No.
 
user142019
I should make that UB.
 
Why the inconsistency?
 
7:38 PM
Also, I played two best-of-threes in Starcraft tournament
Won both 2-0
just sayin'
 
user142019
@FredOverflow I just like it. :P
 
user142019
I don't know why.
 
IDontLikeIt
 
Xeo
@Zoidberg So you make any class beginning with C UB?
@FredOverflow IDontable.
 
user142019
@Xeo *joke*
 
7:38 PM
@Xeo C and following uppercase
 
Why don't you just make everything UB in your language?
 
user142019
The only UB I currently have in the spec is singletons and executing an unreachable statement in release mode.
 
@FredOverflow it is. there's no language
 
user142019
(I describe debug and release mode in spec.)
 
@Zoidberg that's because you suck
 
Xeo
7:39 PM
Btw, I wonder - in Zoidlang, is the "nothing" type called zoid?
 
user142019
Unit.
 
user142019
Type names must start with uppercase letter.
 
Oh boy
 
Xeo
What an opportunity to miss!
 
Guess I'm gonna need a crash course of separation of CPP and Header files @__@
 
user142019
7:40 PM
:P
 
@ThePhD dude. did you inline?
 
Xeo
@Zoidberg Unit doesn't sound like "nothing", IMO.
 
@BartekBanachewicz I'm working on it, but I' also getting a "multiply defined symbol" for a template function too.
 
@ThePhD is it inlined?
 
user142019
7:41 PM
@Xeo I assume you mean void, right? :P
 
Xeo
@ThePhD Eh... that sounds like you've done something horrible.
@Zoidberg Yea
 
user142019
IIRC Scala also uses Unit and so does F#. I like it.
 
Xeo
@BartekBanachewicz Templates don't need that.
 
A possible solution for the c++-faq replacement would be to allow people to vote in questions to go into the faq tab of a tag.
 
user142019
Void looks so fugly.
 
7:41 PM
<cough>@ThePhD just puts everything in the header files, templated or not</cough> :p
 
he's just bad
he's nearly as bad as zoidberg
slightly less bad
 
Yes, I am bad. Thank you for sharing.
 
@ThePhD jk, silly
 
@ThePhD You're horrible. There, better? :D
 
7:42 PM
@FredOverflow space before ]
 
@Rapptz I think you need more bad-indication modifiers.
Also, -1 not enough jQuery.
 
@ThePhD On a scale of one to ten on a horrible scale, you're an eight and a half.
 
@Zoidberg Doesn't Scala use ()? Oh wait, that was Haskell :)
 
user142019
@FredOverflow lol
 
Better?!
 
Xeo
7:43 PM
Hm, I think I'll actually write some code. The first time in days. Man.
 
uh
i am looking and templates but I don't understand shit
 
user142019
You know I won't use ORM for Hexapoda.
 
templateees aaareee haaard
 
user142019
I need to enhance my SQL skills anyway.
 
Xeo
You just suck.
 
7:44 PM
i do
 
user142019
@BartekBanachewicz so is my dick.
 
@BartekBanachewicz not if you stay on the sane side
 
Xeo
@Zoidberg LINQ-to-SQL?
 
user142019
Because of all the template wankery.
 
@bamboon I am on the wrong side
 
user142019
7:44 PM
@Xeo yes that enhances my SQL skills.
 
@BartekBanachewicz then you are lost anyway
 
Xeo
@BartekBanachewicz Eh, show me the template.
 
@Xeo Nah, I will wait till the point where I nearly cry
It has to be burninated into my mind
I am undergoing change
it's inside me
 
Xeo
But I want to laugh at you right now. :(
 
user142019
7:46 PM
Lobster's router uses a terrible LINQ query. :3 gist.github.com/daknok/4998716
 
You will have to wait a bit
 
Xeo
Okay okay, well, I'll just go and laugh at my own code then. Suit yourself.
 
user142019
Is there a nicer way to do this? I don't like the C-style iteration, but I have to start at 1.
 
user142019
var parameters = method.GetParameters();
var arguments = new List<object> { request };
for (var i = 1; i < parameters.Count(); ++i) {
    var parameter = parameters[i];
    arguments.Add(Convert.ChangeType(handler.RegexMatch.Groups[parameter.Name].Value, parameter.ParameterType));
}
 
Xeo
But first I'll need to decide what to code.
@Zoidberg foreach(var p in method.GetParameters())?
 
7:51 PM
@Zoidberg what language? ranges?
 
user142019
C#.
 
user142019
@Xeo I have to start at 1. That would require a flag.
 
Xeo
@Zoidberg method.GetParameters().Drop(1)?
 
user142019
Which is even uglier IMO. :P
 
Xeo
Or however that was.
 
user142019
7:52 PM
Oh of course thanks. :D
 
skip 1
 
user142019
Yes. :P
 
user142019
var arguments = new List<object> { request };
foreach (var parameter in method.GetParameters().Skip(1)) {
    arguments.Add(Convert.ChangeType(handler.RegexMatch.Groups[parameter.Name].Value, parameter.ParameterType));
}
 
user142019
Much better thanks!
 
@Xeo you too can help with minicraft! :)
 
user142019
7:53 PM
I can improve it even further by not using a for loop at all.
 
arguments.AddRange(parameters.skip(1).Select(p=>Convert.ChangeType(handler.Regex‌​Match.Groups[p.Name].Value, p.ParameterType));
 
Xeo
Yeah, .Select()
 
maybe
 
huh... that is perhaps the most civil room description we have had in... well, ever
 
written without vs
 
7:54 PM
0
Q: C++: STL containers speed vs. arrays

ChrisI just started working on a scientific project where speed really matters (HPC). I'm currently designing the data structes. The core of the project is a 3D-Grid of double values, in order to solve a partial differenital equation. Since speed here is a probably bigger concern then simplicity of ...

eat it up
 
Is it sensible to check if a user-string can be a string by checking if it is_convertible to string?
 
user142019
var arguments = new List<object> { request };
arguments.AddRange(method.GetParameters().Skip(1).Select(p => Convert.ChangeType(groups[p.Name].Value, p.ParameterType)));
 
@BartekBanachewicz what do you mean "can be a string"?
 
user142019
Wonderful.
 
In plain English, Singletons are the worst idea ever. — FredOverflow 11 secs ago
 
7:56 PM
@MooingDuck if I can return a char*into it.. mmm!
yes
how to check if something is_constructible_from?
 
@BartekBanachewicz you want userthing = myconstcharstar? yeah, is_convertible.
 
yes yes yes
no.
ues
aaaaaa
is_constructible
 
user142019
You know.
 
user142019
I have been thinking of abusing expression trees for generating HTML/XML.
 
user142019
Orrrr I could just use Visual Basic and XML literals. :L
 
user142019
7:59 PM
xD
 
cppgm.org/pa1.html - preview of first assigment.
 

« first day (858 days earlier)      last day (4082 days later) »