« first day (1131 days earlier)      last day (3826 days later) » 

12:00 AM
@Jefffrey I use it all the time. FTR, SO uses the same font.
 
@thecoshman I didn't mean to say it did, it just came to mind as the topic was (somewhat) how things were learned.
Anyway, my g's are on as on the left.
 
@Pawnguy7 I love those gs, but you can't really do that in cursive.
 
LOL. There was a glitch in the matrix: Some 10-20 chat messages lost after refresh of browser
 
@R.MartinhoFernandes I don't think I can do it at all.
 
12:02 AM
off to the dentist again, hopefully I will get the right crown this time
 
@Rapptz yeah, different font size (13px on GD and 14px on SO). It looks like to two different fonts on me.
 
4
Q: hash_value function in C++11

SilerThe Boost library provides a convenience function hash_value which basically just called: return hash<T>()(key); As far as I can see, C++11 included std::hash which is pretty similar to boost::hash, but did not include std::hash_value. This requires application code to create a hash object an...

I use 10pt font
 
Sigh.
 
anything bigger than that and it looks huge in my editor
 
12:03 AM
The windows volume thing always seems to crash for me when watching videos.
 
@Xeo lol, Lounge<Kerbal> too.
 
Xeo
@R.MartinhoFernandes He accidentally entered there first.
That reminds me
> 22:13 - The Phantom Derpstorm: And give Robot my congratulations! :D
And with that, g'night.
 
> 'Because' has become a preposition, because grammar.
 
Mmm. Not sure
 
I got up an hour ago
 
12:11 AM
@sehe Hmm, I guess I could do it again.
 
Oh, look, chat is consistent again. Now it just seems that some stars were lost in the glitch. I thought the "Bitching" thing had ~6 stars?
 
I have to do a presentation in a week
@sehe No, it only had one
 
@R.MartinhoFernandes You'll be the next next Scott Meyer meets Ábel Sinkovics!
 
I'll be talking to like 15 people and I already hate the idea
 
@CatPlusPlus okay. In that case, order has been restored. My handwriting is back on the wall.
 
12:12 AM
@Jefffrey Talk + a few questions, 30 minutes. I enjoyed it.
There were 20-something people in the audience.
 
Wow.
Comic Sans is compressed compared to what I had.
 
Who were the rest of the audience then :/
 
@sehe C++ programmers?
 
Ah, so 20 people and 170 c++ programmers?
 
lol
Putting Root Beer in a square cup makes it regular beer because math. I knew this stuff would come in handy one day.
 
12:17 AM
@sehe Sounds about right
 
@R.MartinhoFernandes That's a concise answer. I'm happy for you :)
 
I also had the opportunity to talk with the people behind this open-std.org/JTC1/SC22/WG21/docs/papers/2013/n3782.pdf.
 
Ell
I never know when to start when I know I have UB
Although this time I'm not sure if its UB
 
Sounds a bit like this group is a think-cell campaign
 
> for(int i=0;i<5000;++i)
The spaces!
 
12:22 AM
@sehe the people at think-cell are the organisers.
They also are basically the German national body for the C++ standard, because their boss decided to take up that role when he learned that the existing one was ending.
(Also, think-cell sounds like an awesome place to work at)
 
Yeah I gathered as much at Meeting C++. They're hiring too I think.
Not exactly sure what business they are in (?) - but they advertise using Spirit in their leaflet...
Nothing wrong with the spaces.
In fact, no spaces at all.
 
@Jefffrey> This is part of the well known "Let's make a goddamnit Snake game" Lounge's contest.
Hrm...
Anyway.
Is that official now? :D
 
@sehe They have some Office related products, but the work is mostly algorithmic from what I gathered.
I know where to look for a job if shit happens.
 
yeah. That's where I failed to grasp things. I don't really see how work can be "mostly algorithmic". I tend to think stuff needs to be applied. But that's me :/
 
0
Q: how to check user reputation from terminal?

rajagenupulais there any way I can check mine or any other user reputation or questions or anything from the terminal ? Thanks in advance.

^^ lol
Oh wow, 13k rep on Ask Ubuntu. It's a real question.
 
Ell
12:29 AM
I'm going to sleep, night all
 
@Pawnguy7 Dunno. I'm not part of the "Official" committee. :P
 
@Jefffrey are there any other repositories?
 
@Pawnguy7 Not that I know of.
 
I think that would be a fun idea though.
Also, I think I figured out why I never have time.
I think it has to do with not letting go of unresolved things.
 
\
 
12:32 AM
Well, partially.
Now I just need to use it to gain myself time.
 
Anyway, it was quite encouraging to meet those people and to get some face-to-face feedback. I feel quite happy :)
 
Ahahaha you have to get a fixit to remove saved RDP connections
 
Now to sleep because work tomorrow.
 
Good job Microsoft
 
@R.MartinhoFernandes Bristol was fun.
 
12:43 AM
@R.MartinhoFernandes You should record it yourself!
Ahahahah and the fixit removes all saved connections
GOOD JOB MICROSOFT
 
hmmm, curious.
the same code works on Windows, but not on Linux.
 
What's the code?
 
it's the part of Wide that makes Clang code-gen stuff even though it doesn't appear to need to.
 
btw the CI server will be delayed, because I ordered new server, but when it's up I can plug Wide in
 
"Hello, World" works fine on Windows when linked with MinGW, but try the same on Ubuntu and you get undefined references.
@CatPlusPlus I don't even know what CI is.
 
12:48 AM
All the more reason
 
@DeadMG Continuous Integration
Continuous integration (CI) is the practice, in software engineering, of merging all developer working copies with a shared mainline several times a day. It was first named and proposed as part of extreme programming (XP). Its main aim is to prevent integration problems, referred to as "integration hell" in early descriptions of XP. CI can be seen as an intensification of practices of periodic integration advocated by earlier published methods of incremental and iterative software development, such as the Booch method. CI isn't universally accepted as an improvement over frequent integrat...
 
welp, I won't need to integrate with anyone else's commits until there's somebody else working on it :P
 
That's not what it means
That article has a lot of words, but the principles is what's important
2.2 Automate the build
2.3 Make the build self-testing
2.4 Everyone commits to the baseline every day
2.5 Every commit (to baseline) should be built
2.6 Keep the build fast
2.7 Test in a clone of the production environment
2.8 Make it easy to get the latest deliverables
2.9 Everyone can see the results of the latest build
2.10 Automate deployment
You push to remote, build server picks up the push, starts automated builds and then run tests
The builds can be done on several OSes, compilers, etc., which is really tedious and error-prone to do by hand
 
so basically, a build farm.
 
12:58 AM
I have a couple things left in my build system I need to alter for that.
like automatically pulling and building Boost and LLVM/Clang, maybe.
 
Well, "farm" is usually used for build servers with a lot of agents
 
and I also need to fix up the post build events to create the deployment package.
 
@DeadMG That's usually a bad idea, especially on Linux
 
yeah, you're probably right.
 
You can make a repo with vendor packages if you want to make the Windows build self-contained
 
12:59 AM
but building Wide itself once you have Boost/LLVM/Clang ready is just a make.
 
Because dependencies on Windows are a fucking pain
 
I found it a bigger pain on Linux, frankly.
at least on Windows you don't have to shit around with library linking order...
 
what
 
That's linker problem, not a problem with managing dependencies
 
yeah you do
 
1:00 AM
ld on Windows does the same thing
 
yeah, but I have VS's linker and that doesn't seem to care.
 
And again, you can tell ld to resolve the symbol dependencies on its own with a group
g++ -Wl,-( objects libs -Wl,-)
 
--start-group stuff --end-group
 
hmm
 
I don't know if there's a way to get it to print the right order
 
1:02 AM
I guess I would have tried that if I'd remembered earlier
 
I told you like 2 times already :(
 
but I did finally find out the correct order so Wide now builds correctly on Linux.
 
It's faster to use the correct order
 
if only Clang behaved the same between the two platforms, I could ask Stacked to put it on Coliru.
 
@CatPlusPlus what even is a "fixit"
 
1:11 AM
@DeadMG Coliru does have clang. Unless you mean Wide.
 
Missing the point.
By a _Wide_ margin
 
I did mean Wide.
 
@sehe Scripts published by Microsoft for various KB articles
 
@sehe A second late.
 
:)
 
1:12 AM
Running prerelease software on public website is always a good idea
 
you referring to Wide or the fixit?
 
@CatPlusPlus Ahaha. TIL. Soo beautiful:
@DeadMG ...
 
lol
 
@sehe So professional
 
In fairness, I'm using linux, I didn't expect this to work
 
1:14 AM
Anticlimax
 
anticlimactic?
 
Still very beatiful
 
The x is too close to the text.
 
It might predate Microsoft knowledge about other browsers in the world
 
I don't think so. I'd be surprised if "Fixit" existed for many years. I've never encountered it before
 
1:22 AM
I've never heard of Fixit either
 
That's because you never break things
 
I break Wide all the time.
doesn't that count?
 
1:47 AM
Hm.
 
Have you ever seen a 2D game (platformer view) where you aimed, say, a gun with the mouse?
 
yeah and they're not fun
you could only aim the direction upwards or downwards
it's basically a pseudo-cannon
 
Hey, I've got a design question about a fixed point class, anyone up for helping?
 
@Rapptz what movement do you expect?
 
1:52 AM
Don't make shooters in 2D that are controlled with a mouse. It's clunky.
 
@Dave How much are you going to pay me?
 
400 bit coins
 
@Rapptz Any way I might get some kind of aiming accuracy, or is that not necessary?
 
lol
 
:)
 
1:53 AM
I have this odd image of a cowboy duel with platforms and crates and such things.
I don't know how it would be fun without exact aiming.
 
Most 2D shooting games just shoot straightforward and if you want the direction of the bullet to change you would jump. I've never enjoyed precision shooters in 2D.
 
Inexact aim is even better
@Dave Ask the question, if anybody is interested enough they will answer. The worst thing that could happen is that the Puppy bins your message.
 
Sort of like this.
Just... not ugly.
 
Okay... So basically I've got a fixed point class that I'm trying to allow people to treat like a floating point number, so lots of operator overloads etc. I'm trying to figure out the best way to allow for conversions to floats and ints though. Should I do explicit operator char, short, int (every primitive type)? That seems to be the way to get equiv functionality of float
 
If you can make it work, go for it.
I just haven't personally found it enjoying and it makes playing with a controller a bit more annoying.
 
1:58 AM
@Dave Why aren't you using float again?
 
Controller?
Anyway, it may feel awkward, I don't know.
I was just trying to figure out if this is possible with one mouse.
 
Do you not know what a game controller is?
 
@Jefffrey All the normal reasons to use fixed point instead of floating point... different precision characteristics
 
Are you saying one person would use a controller, and one the mouse?
 
No. . .
I'm saying I play computer games with a controller for a lot of genres and not with Keyboard + Mouse
 
1:59 AM
Move with one stick, and aim with the other?
 
The only game I play with KB + M is 3D shooters.
 
@Dave operator float() and operator int() might be what you are looking for, but I'd suggest to create to_float() and to_int() member functions.
 
@Jefffrey I have those too. But since you can static_cast<int>(myFloat) I figure you should also be able to static_cast<int>(myFixed)
 
@Pawnguy7 Yes.
the better ones have you click where you want to aim, it's good enough.
 
Usually with a controller you get autoaim to at least some degree
 
2:04 AM
@Rapptz KSP!
 
I don't play KSP.
 
now I know of your inferiority
when it comes to choice in games, anyway.
 
To be clear here.
Your character would look at the mouse.
 
shoot at the mouse.
 
That too.
I feel like the other style isn't as fun.
Say, you have to be facing right to shoot right.
Then you cannot do the retreat in a blaze of fire thing.
 
2:06 AM
that sucks donkey cock.
 
@Pawnguy7 Are you planning to do something like this?
 
Not quite. A platformer.
Sort of like this.
 
Though minus the jetpack.
Is it... possible to have two mouses?
 
@Rapptz Play eet
@Pawnguy7 You can lock the face direction while shooting
 
2:13 AM
Might work, but I think it would feel awkward.
2009, Laurent says multiple mice were planned.
I wonder what happened.
 
no one uses multiple mice :v
 
This is true :D
This is the only use that comes to mind.
Think it would be fun for one player to... hunt another? Taking turns?
Is sf::Input the old keyboard/mouse/joystick?
 
how do you pass a 2d array in a function i tried this int TotalSum(int current[][CCOLUMN], int i, int j); but i get error CCOLUMN is undeclared?
 
What is CCOLUMN?
 
const int CCOLUMN = 3;
 
2:25 AM
@Mr.1.0 So, what is confusing about that error?
 
58
A: passing 2D array to function

shengyThere are three ways to pass a 2D array to a function: 1, The parameter is a 2D array int array[10][10]; void passFunc(int a[][10]) { // ... } passFunc(array); 2, The parameter is an array containing pointers int *array[10]; for(i = 0; i < 10; i++) array[i] = new int[10]; void passFu...

 
wait do constants go outside main()?
 
@Mr.1.0 Yeah, don't ever let them in!
 
ok that seemed to fix the issue placed it at the top of the file
 
@Mr.1.0 Learn about scope before continuing coding, please.
 
2:28 AM
thanks
 
@Mr.1.0 And please, remove that using namespace std; from the top.
 
[I am a link, short and stout](www.example.com)
Aw.
How did you make an italic link?
 
You are close.
 
?
 
[*link*](url)
 
2:30 AM
Oh.
Ack.
 
Nack
 
URL needs the protocol
 
Oh.
 
user3010322
@Xeo He's been bombarded by e-mails from College Students. They're all recommending Java and/or HTML5 (Javascript) to him. I am need evidence to convince him that using Java is not something he wants to heavily invest his time in, or start with, for Game Development. I can justify HTML5 and Javascript just fine, but the Java recommendation I know comes from the fact that 90% of the people who send him advice are idiot college students all learning Java for their courses and nothing else because
 
2:34 AM
Hello
 
user3010322
it's "cross-platform" and easy to grade with its soul-crushing abstractions. What he doesn't realize is the majority of his stuff won't be at all useful later on as he scales up his game development to other platforms or gets bigger and bolder ideas, which is why I'm trying to push him immediately in the direction of C#/MonoGame and C#(Scripting)/Unity (or even ActionScript3, or EVEN Javascript/HTML5) rather than Java.
 
Greetings?
 
user3010322
I must compile more evidence of for these other options and show him the frustrations of Java development before he commits egregious harm to himself.
 
user3010322
Also, hello.
 
Oh.
Is there a way.
I can... make functions only accessible within the same file?
 
2:37 AM
If you know what you're doing then you can use Java for gamedev just fine
Why would you that is another story, but still
 
user3010322
He's just starting out.
 
user3010322
Like, he is picking his very first language to learn.
 
user3010322
With the express intention to make vidya (a simple one right now).
 
@ThePhD is it really you? :O
 
user3010322
@melak47 Uh. Of course not?
 
2:41 AM
I see.
 
user3010322
@CatPlusPlus To be perfectly honest, you can use any language to do anything. But that doesn't actually make it a good idea in the end, and you can avoid a lot of headaches by picking a language with a lot of expressiveness and a very good fundamental library, I think.
 
oh hey phd
 
You can also avoid a lot of headaches by learning programming before programming languages
 
user3010322
Invariably, you have to start programming with a programming language to learn about programming. :3
 
user3010322
2:42 AM
Chicken? Egg?!
 
Not really
(I'm pushing the idea of learning abstract stuff before learning concrete stuff)
 
Just pick a language that looks like pseudo code and roll with it
 
user3010322
Well, it's not like he's a dumbdumb. Like me, he was previously a Biomedical Engineer before he jumped ship to learn other things and gear up for other stuff.
 
e.g. Python
 
Syntax is not relevant :/
 
2:44 AM
lmao, I wish that was true.
I really do.
 
user3010322
To an expert, Syntax is not relevant. To a beginner, syntax is a giant tripmine. @__@
 
What is .vic.gov.au?
 
It seems to me that coding is a minor thing these day of what is there to game development.
 
Mostly the vic part.
 
That's why you should learn abstracts and how to deal with syntax first
 
user3010322
2:45 AM
@wilx Indeed, especially with large frameworks and other options.
 
Like...there seem to be 5-10 actual coders working C++ etc. and oodles of designers and movie producers etc.
 
user3010322
@Pawnguy7 Vicious.Government.Australia!
 
user3010322
@wilx THat was definitely the case in my internship.
 
user3010322
And I was one of hte lucky ones!
 
user3010322
Other teams had more designers than programmers by far.
 
2:46 AM
@Pawnguy7 Victoria
 
user3010322
Or, more designers + others than programmers.
 
user3010322
@CatPlusPlus How do I get him resources to teach him that?
 
@Pawnguy7 A DNS label
 
It is strange, I know next to nothing about Australia.
 
It stands for Victoria
 
2:47 AM
@ThePhD vOv It's something I'm thinking about, but hell if I know anything about programming books and shit these days, I don't read any of them
 
I might write it one day
 
@Rapptz you... said that already?
 
I know.
 
user3010322
@CatPlusPlus Well, let me know when you do. :D
 
user3010322
2:48 AM
Buy a copy, help Cat make millions.
 
@CatPlusPlus It's not worth it. Especially with the ideologies you're thinking of from what I gather. I wanted to do it as well so I spent some time in the local university seeing how kids deal with basic programming and they are absolutely awful. It's a lost cause and it's just not worth the effort tbh.
You have people who trip up on the most basic syntax and the most basic programming concepts despite having to take a pre-requisite course that teaches you the fundamental of programming.
People have a really hard time grasping syntax and it's just sad. Most of the time I felt like these people should just drop out of their classes.
 
Well, with prerequisite that you're not an idiot and can deal with abstract stuff
 
user3010322
Roflmao
 
I don't tutor programming any more, it's too depressing.
 
Getting rid of stupid people is always a lost cause
 
2:52 AM
See, it's not always "stupid" people. In a class of maybe 45, I'd say only 6 people probably "get it" and of those 6 maybe 3 has prior experience programming.
To be honest I thought people who went into it would be pretty well off with learning the concepts since it's Comp Sci or whatever. I don't know why I had this thought in my head, pretty stereotypical when I think back.
 
Do you still tutor math?
 
I wouldn't be going into this project with any expectations anyway :v But if I save one person from ~patterns~, PHP or other shit, it's worth it!
 
No, but math was less depressing.
At least you didn't have people trip up with parentheses.
 
People do that?
I thought it was...pretty intuitive.
 
Yeah I've seen some weird things.
for{i=0;i<10;++i} { .. }
 
2:55 AM
Your country sucks
 
user3010322
This is the advice I game him after a lengthier e-mail detailing ALL of his options (C#, C++, C, Java, Javascript/HTML5):
 
user3010322
 
If people can't follow simple patterns then they really shouldn't be getting into programming
 
@CatPlusPlus lol
Yeah I did wish some people would just drop.
it didn't help that the teachers taught obsolete stuff too.
I didn't even know there were COBOL classes.
 
Education is utter shit
 
user3010322
2:57 AM
@Rapptz That was the surprising part to me, too
 
@ThePhD Did you just recommend Newgrounds to someone
 
user3010322
There are still COBOL codebases out there, I guess?
 
(Also Flash is terrible)
 
Yeah a lot of banking systems and stuff use COBOL.
That's the only selling point it has.
 
Heh, the fun of mainframes.
 
2:58 AM
"Want to deal with ancient legacy code?"
 
user3010322
@CatPlusPlus I was just listing the vendors and consumers (the primary ones) of Flash and its friends.
 
@Rapptz So, like C++ :v
 
My colleague @job has recently moved from distributed division to mainframe.
 
No, unlike COBOL C++ applications aren't all legacy code :v
 
He has to write assembler to get his C++ shit compiled on the mainframe.
It is utterly insane.
 
user3010322
2:59 AM
@Rapptz C++11 <333
 
You're unlikely to find a C++ job that won't involve legacy code
 
user3010322
Oh my god, VS 2013 CTP MY PANTS WERE NOT READY.
 
That's true for anything. At least to an extent.
 
user3010322
=default for move constructors, fucking finally. <3333
 
Anyway I still think Python is probably the best beginner language.
 
user3010322
2:59 AM
My ENTIRE resource system is now =defaultable
 
user3010322
Gloreh to JAYSUS.
 

« first day (1131 days earlier)      last day (3826 days later) »