« first day (421 days earlier)      last day (670 days later) » 
00:00 - 10:0010:00 - 00:00

12:25 AM
it seems input is hard
 
user3010322
Indeed it is.
 
12:42 AM
NICE PROGRESS ON THE GAME BUD.
0/10 would not sensei again
 
@Rapptz wut?
 
ThePhD said we should work on a game together but we haven't done much except him being confused at the design for 2 days.
 
12:57 AM
I don't get why this operator>> doesn't work
It works on coliru :(
 
@Rapptz for the last 2 days, when i checked SO chat after waking up... you were going to sleep >.>
what time do you start work?
 
10 AM
I didn't have work today though
4th of july
 
oh right
happy 4th of july then :)
 
lol thanks
(gdb) print other_name
$2 = <unknown type in C:\Users\Danny\Documents\GitHub\Gears\dev.exe, CU 0x0, DIE 0xa65d>
but why
 
when you compile a lib with templates in it, does it compile the templates too (to some sort of intermediate representation) or are those compiled on demand by the calling program?
 
1:11 AM
templates are like sed
so like
template<typename T> void f();
needs an instantiation because that's just a "blueprint"
so it compiles things that are used in your code, e.g. f<int>
 
ok so if its only used by the calling program then its only compiled by the calling program
got it
i was wondering because, i was thinking, for a language that doesn't use the inclusion model C & C++ have, and you only ship say a library that could get awkward
 
tbh I don't know how modules are going to fix the template situation
 
(kinda like C# has, you only add a reference to your project and a few using statements)
 
it'd be interesting to see
if modules don't fix it well...
modules can go fuck themselves then
 
one solution i can think of is to compile any non templated code and stuff templates "as is" almost, so they can be parsed by the calling program or something, idk, i'll probably ask puppy
 
1:17 AM
I don't get it, I really don't.
why is this not working
for some reason it's looping despite there being no loops what so ever
 
is that your thing from yesterday?
 
I decided to add some IO things so I could have some experience with std::locale and friends.
output works fine
input with boolalpha isn't though
House of Cards got incredibly gay
and I mean that literally
10 whole minutes of gay scenes.
 
Watch GoT instead ;)
i havent watched it but i hear season one is pretty graphic
 
[7:35:50 AM] Joe Tang: all your gay warning didnt prepare me for this
:v
 
2:00 AM
:|
I can't fix this lol
what kind of madness happened here
@Borgleader help me :(
Do you see a single loop here?
;_;
 
its working on coliru but failing on?
 
locally
for some reason after the if statements
e.g. if(str == false_name) in this case but any of them work
 
so gcc on your machine?
 
yeah
so like when it reaches line #21
it decides to skip line #33
and instead goes to #18 again
I have no idea why and it's killing me
 
and it does that continuously?
 
2:08 AM
it does that until EOF
 
hmm
 
I could give you the entire tribool.hpp file if you want
it's self-contained :v
 
hmm idk =/ even if the if(in >> str) was failing that behaviour makes no sense
actually it might explain... did you check the error flags on in after the if(in >> str) ?
 
if(in >> str) automatically fails (i.e. it doesn't go through) if failbit is set
I.. think I have to manually parse ._.
how do I parse for 3 strings in a single pass safely lol
 
2:38 AM
gdb is really bad at rvalue references
 
turns out lexing with spirit lex is a joke
 
I even get problems parsing by hand ._.
how could a character be equal to f, t, and i at the same time?
(before you say UB, the character is returned from in.get())
 
dude i have no clue, i just hope youre not debugging optimized code
 
ofc I'm not
It's -O0
:v
 
everyone makes mistakes!
time to do my useless workout =/
 
2:48 AM
hf
 
I'm not sure if im doing it wrong, or what but it doesnt seem to be working =/
oh well
 
(gdb) print ch
$1 = 102 'f'
(gdb) n
419                     if(valid[0] && Traits::eq(ch, false_name[pos])) {
(gdb) n
420                         matched = true;
(gdb)
427                     if(valid[1] && Traits::eq(ch, true_name[pos])) {
(gdb) print ch
$2 = 102 'f'
(gdb) print true_name[pos]
$3 = (const char &) @0x3251e8: 116 't'
(gdb) n
428                         matched = true;
life has no meaning anymore
@Borgleader ?
 
@Rapptz this works out your abs, i assumed after a few weeks id notice some sort of change, but i havent
 
If only life was that easy.
:p
I don't see the abs work out there either bud.
If you truly want to work out the abs, nothing beats sit ups.
 
3:02 AM
lol CSCS
Sorry m8, I don't buy most stuff regarding workouts. I take a lot of it with a pinch of salt. It's what I've been warned to do in college.
(gdb) print ch == true_name[pos]
$4 = false
(gdb) print Traits::eq(ch, true_name[pos])
Cannot evaluate function -- may be inlined
 
3:54 AM
I have fixed the mysterious bug.
I feel like a champ
It only took like 4 hours
that's like $196.88 if I was working
I wonder if people do that. See how much money a specific task would have cost if working.
 
4:23 AM
what was the problem?
 
I made a typo.
 
o.O where?
 
I was parsing "true false intermediate"
the actual string is supposed to be "true false indeterminate"
 
I had it right the first time
:(
It took me until I manually parsed it by hand + still had issues to figure out what was wrong
I gave up and just copy pasted boost's I/O stuff and it was still failing and then I figured the issue must be somewhere else entirely
Well, at least I learned about iostreams.
 
user3010322
5:04 AM
@Borgleader Leg lifts noob.
 
@ThePhD Youre a workout pro all of a sudden?
D:
 
user3010322
Holding your weigh up is something you do everyday on your two legs, it's not really going to make your core any stronger. Doing push ups might affect it a bit more than just holding yourself up, but again it'll not affect your core, but mostly your chest and shoulders.
 
99% of things I read about workouts is so much broscience it actually disgusts me.
 
user3010322
Also, come on just sit there and hold yourself up. Where do you feel the burn after doing it for a long time: your shoulders/chest or your stomach?
 
My friends have taken up working up as part of their routine
and the things that come out of their mouth is depressing me
(as you can tell, this is one of my biggest pet peeves in life)
 
user3010322
5:07 AM
Lmao.
 
user3010322
Well, I don't work out daily, but I should.
 
user3010322
Even though I walk over 2 hours everyday, it's too leisurely.
 
user3010322
If I ran it, maybe it'd count for shit.
 
user3010322
Plus it's not really my legs that need help.
 
one of my friends asks me for steroid recommendations :v
 
user3010322
5:09 AM
You know it's bad when you walk to work and you get there all sweaty. :c
 
user3010322
@Rapptz "Shark Testosterone" 10/10 would say.
 
and sometimes he asks if any of them have any bad effects cause he took them
idk why people become like that
annoys the fuck out of me tbh
 
user3010322
Pressure 2 stronk, man.
 
I had a friend yesterday tell me that he eats 1800 calories a day because it's good for you
it's kinda gotten to the point where I just nod and say cool :v
 
user3010322
Lmao.
 
user3010322
5:11 AM
@Borgleader I'm not a workout expert per se, but my brother works out.
 
user3010322
Not religiously. He doesn't ever go to a gym, doesn't lift weights, etc.
 
I'm not a workout expert.
I just know biology and anatomy and physiology.
:v
 
user3010322
But he's really strong, does nothing but do exercises using his own body.
 
user3010322
Since he was 2 he's had a 6-pack.
 
user3010322
Now it's an 8-pack.
 
user3010322
5:12 AM
Guy's basically breathing fitness.
 
user3010322
And not like, obnoxious breathing fitness like spewing random broscience
 
Is he set straight
I guess he could be
 
user3010322
He just... does stuff and knows what works since he's done it for a while and clearly has the results to back it up.
 
user3010322
No steroids or supplements or anything.
 
A lot of workouts really depend on the person.
I really look at things weird compared to other people.
idk
Like today I was looking at my feet while showering and felt weird cause I'm an animal and it's weird to have such cognitive ability :v
this happens like every couple weeks
 
5:18 AM
@ThePhD Well recently ive added crunches and leg lifts to my "routine" on top of the other exercise i was doing
 
Add sit-ups too.
Sit-ups are for champs.
 
and i do those every other day, because IIRC from college i learned that after ~24 hours after a workout youre basically back to what you were before the workout and after ~48 hours youve gained strength from said workout
 
sit-ups > crunches
that's not how it works at all :v
these aren't unit values
you don't subtract or gain these values
 
when you workout, your muscles are uh... how do i translate this, weakened? like some of the fibres are broken or wtv. and iirc after 24h those have been repaired, and after 48h new ones have formed
at least thats what i remember
 
What class was this?
 
5:26 AM
some gym class
 
I see.
In Anatomy and Physiology I had to learn the muscle contraction thing pretty religiously and in excruciating detail :v. To this day it's still my least favourite part of A&P.
 
In sports science theory, supercompensation is the post training period during which the trained function/parameter has a higher performance capacity than it did prior to the training period. Description The fitness level of a human body in training can be broken down into four periods: initial fitness, training, recovery, and supercompensation. During the initial fitness period, the target of the training has a base level of fitness (shown by the first time sector in the graph). Upon entering the training period, the target's level of fitness decreases (shown by the second time sect...
 
There are different types of muscle contraction and none of them from what I recall did any damage or have this sensation you're referring to.
 
I think that's what I was remembering, the graph ~fits~
 
Oh you're talking about that.
I thought you were talking about muscle contractions.
 
5:30 AM
ah, no i wasnt referring to that
 
You made it seem that way too.
> like some of the fibres are broken or wtv.
:v
 
user3010322
> sports science theory
 
user3010322
read that as "bro theory", lmao
 
SPORTS SCIENCE.
@ThePhD nah sports science is an actual thing
 
user3010322
Or IS IT?!
 
5:32 AM
@Rapptz yeah translating technical stuff isnt my forte plus i may have mixed 2-3 things together, i saw this stuff like 5-6 years ago
 
I am a biomedical scientist :v
I take medical related things very literally.
Computer science in sport is an interdisciplinary discipline that has its goal in combining the theoretical as well as practical aspects and methods of the areas of informatics and sport science. The main emphasis of the interdisciplinarity is placed on the application and use of computer-based but also mathematical techniques in sport science, aiming in this way at the support and advancement of theory and practice in sports. The reason why computer science has become an important partner for sport science is mainly connected with “the fact that the use of data and media, the design of mod...
lol
 
user3010322
@Rapptz HEY I'm not a bad sensei. D:
 
You are a very bad sensei
 
user3010322
I am not.
 
user3010322
I've just been thinking carefully and critically.
 
user3010322
5:35 AM
CAREFULLY AND CRITICALLY.
 
0/10
 
user3010322
7/10
 
user3010322
Either way, I think I understand your current design goals. BUT THEY'RE STILL PRETTY HIGH LEVEL AND NOT VERY SPECIFIC.
 
user3010322
Not that it matters, we can vet the details during implementation.
 
I'm not writing a GDD m8
It's very boring and time consuming and it makes me feel like shit when it goes nowhere.
 
user3010322
5:37 AM
Pat pat.
 
user3010322
Fine, we can vet the details in implementation.
 
I have TWO dead GDDs
>:(
 
user3010322
Well, WHO'S FAULT IS THAT?
 
they're on my bucket list
 
user3010322
HMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM‌​?
 
5:37 AM
you
 
user3010322
Wat.
 
for being a bad sensei
:3
 
user3010322
I wasn't even your sensei before. ;~;
 
user3010322
This shit doesn't apply retroactively!
 
RETROACTIVE
 
user3010322
5:40 AM
Pfff.
 
user3010322
Well, anyways.
 
user3010322
Now we start with implementation details.
 
user3010322
How do you wanna do this?
 
user3010322
There's multiple ways to make a 2D game graphics-wise.
 
user3010322
Physics-wise, our requirements are so simple we can definitely get away with rolling our own (or just picking up something existing like box2d or bullet).
 
user3010322
5:41 AM
AI and the like can be thought of later.
 
I'll be honest
Box2D is utter shit
I know physics is complex and all
but Box2D is the worst API for anything physics related I've ever seen
 
user3010322
\Y0 Aqo+
 
and for some reason people are inspired by it that everyone uses a similar API :v
 
user3010322
:D
 
@ThePhD wat
 
user3010322
5:44 AM
My trackpad has this weird white stuff on it. I'm scraping it off.
 
do you like Box2D's API
 
user3010322
Ooh
 
user3010322
The thing feels so smooth now
 
user3010322
Finally
 
?
your trackpad you mean?
 
user3010322
5:58 AM
Yeah
 
user3010322
I guess they put that white film on for grip
 
user3010322
But it honestly just felt weird
 
user3010322
Now this thing is ultrasmooth
 
user3010322
Also, I never really used Box2D
 
user3010322
I've talked to people about it, the API people said is horrible.
 
5:58 AM
well it's garbage :v
incidentally, Unity has the best physics API that I've seen
it's like the only thing ECS makes sense with :v
 
user3010322
Much crash
 
user3010322
Many destruction
 
?
 
user3010322
My computer.
 
user3010322
Either way, though, trackpad, chasis, keyboard clean as a whistle now.
 
6:09 AM
$ rm -rf gears/
:3
 
user3010322
Wat
 
user3010322
Is the print thing giving you that much trouble?
 
I solved that like a month ago
and nah I had some stray files in my working directory
 
user3010322
Not even a few hours ago, don't even lie.
 
Oh you mean that
I solved that.
I wasted 4 hours on a typo.
Don't remind me
I keep confusing intermediate and indeterminate.
Semantic saturation is real.
They both looked like the same word by the time I was writing docs.
 
user3010322
6:15 AM
Lol.
 
user3010322
Pat pat.
 
user3010322
There, there.
 
@ThePhD How does the font look like here?
it looks weird on my end for some reason
 
user3010322
Weird indeed.
 
It's Times New Roman apparently
:v
why are my docs in Times New Roman
Got any alternative fonts in mind?
Arial seems okay but that's proprietary :v
huh
body, table, div, p, dl {
    font-family: 'Arial' sans-serif;
    font-weight: 400;
    font-size: 15px;
    /*line-height: 140%;*/
}
it's ignoring my shit :v
11pt Arial looks good to me
the difference between 10 and 11 is too big :v
 
user3010322
6:49 AM
11 pt best pt
 
So
What's
NEXT
SENSEI.
aw shit
it's screenshot saturday
my weekly jelly day
 
user3010322
7:07 AM
Weekly jelly day?
 
yeah where I look at screenshot saturday and feel jealousy
:v
It's been 179 weeks and you never heard me mention it once?
 
user3010322
Yeah.
 
user3010322
Or maybe I just wasn't around when you talked about it.
 
in Lounge<C++>, Apr 20 '13 at 6:24, by Rapptz
Screenshot Saturday is my "I'm very jealous of you people :(" day
Ah yeah.
This was when Domagoj was... well... alive.
lol
 
user3010322
Yep. :D
 
7:23 AM
@ThePhD You didn't answer what's next!
 
user3010322
Starting with implementation, of course!
 
Well it's been like 2 hours of meditating.
Wow this guy gets 1m views per video.
that is... impressive
>
18,211,987 subscribers
1,272,876,084 views
Joined Sep 8, 2011
 
 
1 hour later…
user3010322
8:53 AM
@Rapptz So, implementation.
 
user3010322
How are we going to do it?
 
You suggest
 
user3010322
Well, we could get a string of libraries together
 
user3010322
use g++ (mingw) 4.9
 
user3010322
OpenGL
 
user3010322
8:53 AM
(and all the necessary wrappers)
 
Your choices to do 2D sanely in C++ are essentially...
 
user3010322
And just focus on getting a cube sliding, running, and jumping across platforms.
 
SDL and SFML.
 
user3010322
Yep.
 
user3010322
But SDL and SFML just handle the graphics and input pieces.
 
8:54 AM
SDL is... well... it's weird.
SFML handles font, music, networking, graphics, and input.
SDL only does graphics and input
Networking for SDL is done through a 3rd party lib, same with font and music.
 
user3010322
So we're using SFML then?
 
iunno
 
user3010322
You don't know? Don't you like SFML?
 
Meh. I've worked with it and I have some utilities for it.
I wrapped SDL too.
though not as far as SFML
cause SDL has fucked up ownership semantics since it's in C.
you could also do OpenGL I think
 
user3010322
"Could also" ?
 
user3010322
8:58 AM
As in, without SDL/SFML or with SFML/SDL?
 
both
never tried SDL's OpenGL thing at all
 
user3010322
It was fairly shitty, but I used it like 2-3 years ago.
 
but SFML is just a giant OpenGL wrapper so they kinda allow you to interact with it a little bit.. I think.
 
user3010322
SFML directly supports GLSL.
 
user3010322
9:00 AM
Hm?
 
the setParameter thing
 
user3010322
What's the problem with it?
 
nothing
other way around, it seems pretty cool.
 
user3010322
Mmm.
 
user3010322
So, yeah.
 
user3010322
9:03 AM
We can do shading with SFML.
 
user3010322
Vertex and Pixel. Not really sure we need Geometry/Tessellation.
 
Assuming it's painless I guess
I mean, they've gone through the effort of making it seem like so.
shrug
Okay well. SFML it is.
 
9:29 AM
shit
caught myself doing a returns macro
 
user3010322
returns macro?
 
-> decltype(...) { return ...; }
 
user3010322
Lol.
 
quick, gimme a unit vector
 
user3010322
0, 1, 0 ?
 
9:32 AM
with more than 0s or 1s!
I need to know if this function will ever have floating point errors
eh who am I kidding
it probably will :v
 
user3010322
-0.3804, 0.2593, 0.8876
 
do you have a squared_length function?
or magnitude, whichever you prefer
 
user3010322
Uh. Yeah?
 
atm I check unit vectors with
squared_length(vector) == 1
but I know math doesn't work that way in PC land :v
so iunno if this messes up with weird floats
 
user3010322
Uh.
 
user3010322
9:38 AM
That should be fine.
 
user3010322
9:58 AM
@Rapptz Fucking finally get my triangle shit working
 
user3010322
Jesus christ.
 
gj
 
user3010322
Now I can focus on other things.
 
00:00 - 10:0010:00 - 00:00

« first day (421 days earlier)      last day (670 days later) »