« first day (1624 days earlier)      last day (3307 days later) » 

9:00 PM
@Nooble yep
if you want to run some fancier examples you'd need images
and I haven't commited them into the repo because something :/
 
Do ittttttt.
 
if only it was as easy to clean the apartment as it is to refactor the script you wrote the night before..
 
@FilipRoséen-refp Refactoring the script you wrote night before is as easy as cleaning the apartment you cleaned night before :)
 
@milleniumbug I write more code than I do clean my apartment.. that's the gist of my problem
 
Hm....
 
9:03 PM
3 messages moved to Java Sucks
 
@FredOverflow lol
 
can someone explain to my why [ cout << ++(*x) << ++(*x); ] prints "21" and not "12" ? if *x is initialised as 0?
 
@mstrdenz188 because of undefined-behavior
 
@mstrdenz188 Are you for real?
 
342
Q: Why are these constructs (using ++) undefined behavior?

PiXint main(int argc, char ** argv) { int i = 0; i = i++ + ++i; printf("%d\n", i); // 3 i = 1; i = (i++); printf("%d\n", i); // 2 Should be 1, no ? volatile int u = 0; u = u++ + ++u; printf("%d\n", u); // 1 u = 1; u = (u++); printf("%d\n", u); // 2 Should also ...

 
9:06 PM
@mstrdenz188 *x? wut?
 
@Nooble the problem is I don't have them here :/
you can use any images though
 
thanks!
 
image.png is 128x128, nooble.png should be 2x2 grid totalling 256x256
for asteroids you could use whatever I suppose
 
I don't get it. Is this a popular reference to something..?
 
@BartekBanachewicz Where do I put them?
 
9:08 PM
@StackedCrooked I have no idea what the fly reference is about, but the censorship-thingie is known to anyone who has ever watched porn
 
@StackedCrooked Kafka maybe?
 
@Nooble in samples/
 
yeah Japanese porn is censored
unless it was created in California
 
like Apple computers
 
@Nooble sorry, I should prolly really commit them
I need to find some funky images on CC0
 
9:09 PM
"assembled in California"
 
no it says designed in California
assembled in China
 
lol, right
 
2 hours ago, by Mysticial
@AndyProwl Basically, the challenge is to ask a legitimate SO question that offends as many people as possible without getting closed.
^ how do I win this?
 
By getting the most downvotes?
 
@FredOverflow downvotes? I think I can construct a question that gains upvotes, while still offending a lot of people
 
9:11 PM
what was that
@Jefffrey have you perchance tried 3.3
 
though those people will probably upvote it because the don't know any better
 
@BartekBanachewicz no
 
@FilipRoséen-refp Andy already won.
 
@FredOverflow THX a lot! I've been loosing this link when I migrated to my new laptop recently. So happy I've got it back for marking dupes in future :-D ...
 
9:13 PM
Yay first pull request ever woo!
 
@Cinch rm -rf *?
 
@Cinch Well, pull my finger :-) ...
 
@FilipRoséen-refp No, it's a small update for sample files that didn't compile.
@πάνταῥεῖ pull
 
@Cinch too bad
 
@Cinch Pfffrt!
 
9:16 PM
@BartekBanachewicz i.imgur.com/BbEte94.jpg
.jpg's don't inline?
 
@Nooble :D
I just made a sprite sheet that I stole from somewhere, but it was labeled CC0
I'd need to add some delay because it blinks way too fast
hmm but I don't want to mix scheduler into that sample
wat do
(n `div` 10) !
ha, there we go
 
@BartekBanachewicz mmm Hate?
 
@Cinch mhm
 
@BartekBanachewicz hmhm.
mhm!
 
9:23 PM
@BartekBanachewicz error code 1
in 3.3
 
hurm
can you do git merge master and try again?
 
so I should try master instead?
why would I merge master in the 3.3 branch?
 
no, just merge master into 3.3 temporarily
@Jefffrey backport
 
what?
 
master is ahead of 3.3 right now
 
9:25 PM
merge conflict in common.hs
 
damnit
nevermind
reset --hard HEAD
well it's probably context cretion again
but you got 3.3 to work
 
not on hate though
Only on my own
 
the code is p much the same
 
eh
Maybe you should have debug errors instead of just exitFailure
 
that's what I added in master
lemme merge that manually and you'll pull it
 
9:27 PM
ok
 
@Nooble not when you write other stuff on the same line no
 
@Jefffrey done
 
@LightnessRacesinOrbit Ahh.
 
well it works for Nooble :S
@Nooble hmm actually could you try if 3.3 branch works for you too? Forgot to say that.
 
nice
it works
 
9:31 PM
@BartekBanachewicz Sure.
 
@Nooble pull first
@Jefffrey wait how
I didn't change anything
except...
FORWARD COMPATIBILITY KILL ME
it was that
 
not asteroids though
I'm missing the png
DAMNIT BARTEK ADD IMAGES TO REPOSITORIES
 
yeah I'm in the process of adding assets
 
:P
 
9 secs ago, by Bartek Banachewicz
yeah I'm in the process of adding assets
 
9:32 PM
What else can I try?
 
6 secs ago, by Bartek Banachewicz
9 secs ago, by Bartek Banachewicz
yeah I'm in the process of adding assets
@Jefffrey you can take the spritesheet above and save it as both image.png and nooble.png in samples
that will make sample_spritesheet and sample_sprite work
 
aren't there other samples?
oh
 
sample_shapes and sample_scheduler don't need assets
@Jefffrey adding new readme too
fuck you I can't do it while responding :D
gimme 5
 
@πάνταῥεῖ You can "bookmark" questions on SO by marking them as "favorite".
 
Looks like I forgot my Github username/email.
Hmm...
 
9:34 PM
Do you remember a repository name?
 
@BartekBanachewicz Is the scheduler supposed to be that late when responding to user input?
 
@FredOverflow Nope.
 
@Jefffrey whenKeyPressed Key'Space $ after' 2 $ radius += 20
 
I'm in the GH org though.
 
@Nooble Do you remember a funny line of code?
 
9:35 PM
@BartekBanachewicz what's after'?
 
@FredOverflow Nope.
 
Any important projects up on github? Otherwise, why don't you simply create a fresh account?
 
That is not the doc, that is the header. But thanks :-) — Lennart Rolland 39 secs ago
how stupid is it possible to be
 
I got in!
Wonderful.
 
@FredOverflow Sure I know, but I've been loosing this one, because I didn't bookmark it using the SO favorite feature, but the browser favorites instead. So THX again!
 
9:38 PM
@Jefffrey dunno, read the sample? :P (it's not finished yet, but shows the general idea)
 
I see
 
@BartekBanachewicz Done, I pulled it.
 
@Nooble git checkout 3.3 and run something
 
9:42 PM
Well Its not an accept the wrong answer kind of site either. Sorry If you find me to be annoying. — Lennart Rolland 1 min ago
what is this jerk's problem
 
I need a new LRIO spaceship
 
"wah wah i cant read basic documentation even when quoted at me directly"
 
this time not copyrighted
 
for Hate asteroids sample
 
@LightnessRacesinOrbit your avs have content I can't use
 
someone should make a game about lightness actually racing in orbit
@BartekBanachewicz :D
@BartekBanachewicz and before you even think about it, no you cannot use my Facebook profile pictures.
 
@LightnessRacesinOrbit oooooooh
 
lightning add me on fb plis
 
@BartekBanachewicz I realise that this declaration means absolutely nothing to you.
 
9:44 PM
nah I'll draw a spaceship with LR-10 on it
 
ok
i quite like that
do you think I could trademark "Lightness Races in Orbit" hah
 
you can trademark your mother
 
meh, I can't draw
I'll just take something licensed properly form google
 
A spaceship is so easy to draw lol
 
9:46 PM
>=<
 
@Rapptz I've drawn it so many times... and I think I'd like the samples to be visually appealing, I can't draw
 
comma abuse detected
initiating non-self destruct in 10..9..8..
 
[=](...){}    lambda spaceship
 
incomplete ellipsis detected
 
did somebody say something
 
9:50 PM
@BartekBanachewicz 3.3's samples work.
 
@Nooble cool
 
@BartekBanachewicz Can I do 3D stuff with OpenGL in Hate?
 
@Jefffrey yes. no. maybe.
 
ok
 
all matrices work in mat4
but I simply haven't done any 3d with it
 
9:51 PM
You locked the framerate at 60 noooooo.
There goes my dreams of 1000 fps.
 
@Nooble do you have a 120Hz screen? :)
 
@BartekBanachewicz Sadly not.
 
Actually I didn't lock at 60, I just VSync
but the update function runs at 60Hz
 
Ahh.
 
@Jefffrey also DrawRequest accepts [Vec2] not [Vec3]
that would need to change
and shaders ofc
you should be able to patch it without much problems really
 
9:54 PM
@FredOverflow
case '\t' =>
column += 3
your tabs are 3 spaces?
3
 
No, I already increment column by 1 above.
 
oh
 
ahaha lol
kinda went overboard with the size
 
you're terrible at this
 
9:58 PM
@BartekBanachewicz the designs really don't blend
 
I'm missing ships.png or something so I can't play asteroids.
 
but keep trying!
I really wish I'd been able to get my Asteroids clone working on a 64-bit system
 
it's obvious you took rocks from google images and took spaceship from some cartoon
 
to give you inspiration
but it was SDLJava and SDLJava is dead and has no 64-bit builds and I failed to produce any cos dependency hell
 
@LightnessRacesinOrbit lel
 
9:58 PM
@Blob That gives it character.
 
user1804599
what program to write
 
@райтфолд cure cancer
 
ok so it looks retarded
time to head to opengameart
 
user1804599
no
 
I need to make a program that demonstrates perlin noise.
 
10:05 PM
20
Q: Is C/C++ one language or two languages?

Scott O'DonnellIs C/C++ one language or two languages? I heard C++ was just C with classes. Is that right?

 
@LightnessRacesinOrbit What do you mean it doesn't look right?
Did you want me to use lambdas?
 
I wanted you to answer the question.
Doesn't matter; dupe anyway
 
@LightnessRacesinOrbit Yeah I didn't understand exactly how he wanted to do the second array but I presented code with enough comments to be understood enough.
Dupe indeed
 
@Rapptz ;p
@Cinch It looks to me like your suggestion simply makes vector 2 a reverse copy of vector 1??
which is not what was asked for. at all
 
@LightnessRacesinOrbit Oh I get it now.
I'll edit it.
 
10:09 PM
No need
the question is a dupe
it does not need to be answered again!
 
@LightnessRacesinOrbit I'll delete it then.
 
watch out
SO might come after you for deleting your own bad answers
 
@Blob Why?
If they're bad, either I edit or I delete them.
 
too many deletes triggers a ban
for 1 week
 
@Rapptz Oh....
 
10:12 PM
yeah it's tricky
however just deleting a single wrong and downvoted answer is ok
 
@Rapptz Oh damn
 
@LightnessRacesinOrbit Actually I've done it like twice already.
 
well
you better wait a bit
 
the deletion ban is a bit silly IMO. i get it for questions but for answers it's pretty lame and dangerous
 
10:13 PM
yeah the ban only kicks in if you delete multiple
 
how about that
 
@LightnessRacesinOrbit It makes sense, the implementation is just wonky.
 
@BartekBanachewicz why is it so fuzzy/blurry?
 
still, I think it's the proper course of action - if you have a problem as a result, contact the mods. they'll see you're not being malicious and let you back in ... plus it'll raise awareness of the silly mechanism
 
@Blob uses nearest-neighbour filtering
 
10:14 PM
@Rapptz yarp
@BartekBanachewicz wow so hi res
nearest-country filtering
3
> Mr Cook's base salary went up by 43% in February 2014, rising to $9.2m (£6.2m) a year.
fuck it
 
hmpfh I'm getting some weird artifacts on edges
 
@BartekBanachewicz You should use anisotropic filtering.
 
@Nooble doesn't help much
 
@BartekBanachewicz Are the asteroids aliased or is that just the image?
 
@Nooble asteroids are pixel-perfect in the images
welp I suppose tuning texture parameters for nice pixelart display is a deep topic
 
10:29 PM
@BartekBanachewicz Oh. Do you use any anti-aliasing at all?
 
Why not?
 
because I haven't implemented it yet :)
 
user1804599
I don't know what to do.
 
user1804599
I'm immensely bored.
 
10:31 PM
I've just texture filtering + just added anisotropic filtering
 
You can always use glfwWindowHint(GLFW_SAMPLES, num_samples) or something like that.
Although I would definitely implement it on my own if I had the time.
 
@Nooble that makes it even worse
 
i tried to use Fred's RD parser as a guide to write my own, but i ended up rewriting it line by line
 
@BartekBanachewicz Lol how?
 
@Nooble it's all meant for 3D
in 2D you need different approaches I suppose
I want things that are sharp in a very specific way :D
well actually sharp in the middle and antialiased on the edges
the point is I'm rotating pixelart shapes
 
10:35 PM
 
@Nooble I've addded the issues though :) Thanks for your input!
I'll certainly incorporate reasonable config settings for that
 
@BartekBanachewicz Knives, rather than daggers. Got it.
 
@BartekBanachewicz :)
 
@Nooble The noise of drunk Germans and Portuguese?
 
@Blob Again, note that this is my first non-trivial RD parser. It's probably full of silly blunders.
 
10:41 PM
eh
 
Does yours work yet?
 
not done
 
i'll continue copying mostly line by line and then implement one myself for my own syntax
i expect to work on it next week, though. one week off, woo!
 
@MartinJames Precisely It's an algorithm for a kind of smooth procedural texture generation.
 
10:43 PM
@Blob Are you working on a C parser as well? :)
 
@FredOverflow nah
 
@Nooble just output a grayscale bmp?
if you want to be fancy, do a heightmap
 
@BartekBanachewicz Yeah it's a heightmap.
Okay, looks like this math is too complicated. I'm gonna be using libNoise :P
 
@BartekBanachewicz Wonderful :D
 
10:49 PM
so, Jeff got hate to work after all
a good day
I have to take everything I did today and integrate it into master properly
 
What was his problem in the first place?
 
he has a Mac
and I used OGL 4.5 shaders
well, the needed feature was 4.2
so around three weaks ago I tried to abstract the rendering backend so that I could switch between 3.3 and 4.4
but that proved to be difficult and I didn't have time, soooo
a few days ago I decided to fuck it and just patch around that one missing functionality
which allows me to run on 3.3 for now
 
> Scott could also write books titled, "Effective Speaking", "Effective Writing", and "Effective Haircuts". He's definitely one of the most effective c++ personalities out there in the real world.
^ comment on his Vasa talk
 
@BartekBanachewicz I've always wondered why OSX always wants a forward compatible context.
 
fuck if I know
I need to gather those workarounds somewhere
so I don't get lost
 
10:57 PM
Hello
 
@CodyRichardson Hi.
 
I am new to stack overflow
and in a way, c++
 
Cool.
 
I have a question for everyone here...
 
lol just ask
 
10:59 PM
no we need to know his life story first
it's of utmost importance
 
Is that really his first name?
 

« first day (1624 days earlier)      last day (3307 days later) »