« first day (1005 days earlier)      last day (3960 days later) » 

7:00 PM
@TonyTheLion cat please
 
@melak47 Not uncommon lease term.
 
@melak47 for you or your pet?
 
@Jeffrey oh man, I know. I've had many pets and many die on me. It doesn't deter me. I will give it the best life ever, and when the time comes, I will deal with my grief.
 
@MooingDuck err, uhhh my pet? wait, I don't have a one
 
7:01 PM
Hey Android devs add accelerometer to your goddamn emulator kthx
 
hahaha
 
@CatPlusPlus maybe it already has one. and just does nothing :3
 
@melak47 heh, works fine, if you have an accelerator in the laptop?
 
please, who buys a laptop without an integrated particle accelerator these days
5
 
damn, it's really too bad that Gamedev.SE feels like a desert
 
7:03 PM
 
@melak47 all fine :) was afk, i'm going to try to compile it now
 
bint
 
now I remember why I've decided to not spend my time there
 
@TonyTheLion nice
 
@Tuntuni you might have to specify --without-python
 
7:03 PM
there's just not much going on :/
 
@BartekBanachewicz That's right. Let me upvote that question. There we go. :P
 
Gamedev : 1,401 questions
SO : 5,377,286 questions
...
 
@BartekBanachewicz 1401? wow
 
@BartekBanachewicz over what units of time?
 
this room never has enough beatboxing estonian folk music
 
7:05 PM
@MooingDuck over ever
 
@BartekBanachewicz hey, that means 0.36% of questions on gamedev.se are mine! :p
 
@BartekBanachewicz I see 16,192 questions since Dec 14 '09. SO has 5,377,298 since Aug 17 '08.
 
oh wait yeah
the description was misleading
still. 5M > 16k
 
@Crowz lol are they attacking the girl with folk music? :o
 
user142019
Ad is a common first name in the Netherlands, but AdBlock breaks Facebook profile pages of people named Ad.
 
7:08 PM
@Tuntuni the deadliest of weapons
 
@Crowz gasp
 
when I'm in the arena, I choose folk music and destroy my opponents with it
 
@rightfold lol
 
Sigh.
 
@rightfold well, it is called AdBlock, sounds like it's doing it's job
 
user142019
7:10 PM
its job
 
@BartekBanachewicz, how do you see an interpreted language (let's see Ruby) with 2D game development?
 
@Tuntuni is it working? :D
 
@melak47 didn't try yet :p reading this
how can i get which toolsets are available to me or what their names are?
 
Normally I find bugs, but this one has been three days. I don't know how to look for it.
 
7:13 PM
@Jeffrey oh, there's a new boost. didn't realize
 
@H2CO3 and my axe. — Yakk 44 secs ago
 
@Tuntuni euh... dunno
 
@melak47 wat
 
@Jeffrey Ruby is a bad example.
 
@Jeffrey I'm still on 1.53
 
7:14 PM
@BartekBanachewicz why?
 
@Tuntuni msvc is msvc-12.0 (or 11.0, 10.0 ...)
 
@melak47 It hasn't improved that much though :(
 
@melak47 yeah but where can i find that? is that specific to b2 or is it something standarised?
 
@Jeffrey because a) it's a crappy language b) it's slow
 
@Tuntuni those are Boost.Build specific options I believe...
 
7:16 PM
@BartekBanachewicz I've been told by virtually everyone who used it that's it's actually a quite excellent language. Though very very slow
 
@melak47 ah. ok
 
@BartekBanachewicz a) not at all. It's probably the most beautiful language out there. b) agree.
 
@Tuntuni don't forget the -j 6 option to use moar coars
 
@Jeffrey reversing the order of A and B is confusing
 
@melak47 ah, i always forget that one :'(
 
7:17 PM
@MooingDuck Loungers seem to think otherwise
 
@Tuntuni yeah, then it takes forever and then I remember
 
@Jeffrey it's too close to Perl to ever call it beautiful. Anyway, slow.
 
@melak47 haha =p
 
But other script languages, sure, why not.
 
@Tuntuni so, uh yeah idk. that guy says 1.53 builds fine with the 2013 preview...but I had to change those files to make it compile, and I also changed the auto linking thing
 
7:19 PM
@melak47 you don't use 1.54?
 
@BartekBanachewicz That's something that can only get better though. What don't you like of the Ruby language exactly?
 
@Tuntuni only now realized it was out :)
 
@melak47 ah :) there's a cool new lib Boost.Log
 
so don't apply my "patch" to 1.54 :X
 
can i change ownership of an object so RAII doesn't come after it - e.g. give it to a different class?
 
7:20 PM
@Jeffrey the fact whether it will be better or not is out of my interest. I've already told you: too close to Perl. And with all the languages I use and stuff I write there's no place for Ruby.
 
e.g. class k{ k(){int j; //give j to class m so that it doesn't get deleted}} ?
 
Yes, no, maybe.
 
@EiyrioüvonKauyf what.
 
@melak47 how can i run away from RAII.... I want to instantiate an object in one scope but move it to another so that RAII doesn't destroy it
 
@you
 
7:21 PM
Write assembly.
 
@EiyrioüvonKauyf how are you "giving it" to another class..
 
that's what i'km asking ._.
 
@EiyrioüvonKauyf You simply move the object to the destination, it's hardly a complicated matter
 
well, you could do exactly what you said. move it to the other thing..
 
@BartekBanachewicz I've never coded in Perl and that doesn't sound like an explanation anyway.
 
user142019
7:22 PM
@EiyrioüvonKauyf Use move semantics.
 
right now i have a member that is a pointer accessed via a pointer to another class which i make in a DIFFERENT class's instantiator. i suspect RAII kills off my pointer's pointer since the pointer becomes unusable outside of said constructor
 
@EiyrioüvonKauyf j is a part of k. "I want to give my arm to someone else before I die"
 
user142019
Or std::unique_ptr.
 
@Jeffrey can we then settle on that Ruby is too slow for game development?
 
@BartekBanachewicz Also the fact that you don't have time for it, doesn't make it a crappy language.
 
user142019
7:23 PM
@BartekBanachewicz It's not.
 
@Jeffrey no, I don't have use for it.
 
@BartekBanachewicz The point still stands.
@BartekBanachewicz I agreed on that :)
 
user142019
Game development doesn't mean "development of games that require all the power your computer has."
 
damn, you've asked about my opinion.
now you're trying to convert me to Ruby or what
 
7:24 PM
@BartekBanachewicz Absolutely not.
 
@EiyrioüvonKauyf You shouldn't "suspect" RAII does anything. Look at the destructors, should be simple to check.
 
user142019
I'd happily write a text-based game in Ruby.
 
user142019
Or Snake.
 
@rightfold he asked about 2D
 
^
 
7:25 PM
@Jeffrey I'd also say that it's a blind circle. Not many Ruby game devs -> not many ruby game tools/resources -> loop
 
@melak47 i specify msvc12 and it says it can't find it. when i specify just msvc is uses vc11 even though i'm using the developer command prompt from vs2013 lol
 
yeah. That's a shame.
 
@Tuntuni "msvc-12.0"
 
@Jeffrey perhaps it just found its niche somewhere else
 
24
Q: Is ruby a suitable language for game development?

bennybdbcI want to move into some game development, but the only language I know really well is Ruby. Most of what I have read seems to point towards lower level languages like C++ for game development, or languages for specific frameworks like C# for using XNA. Does anyone have any experience using a lan...

I think I've already found it.
 
7:26 PM
Actually, Lua is used widely in gamedev, but not much otherwise, and that's sad for me.
 
@Tuntuni oh, yeah, also. uh. you might have to rebuild b2 after applying my patch to 1.53 or that other patch to 1.54
@BartekBanachewicz I'm sad about Lua being used in gamedev, too! :)
 
@BartekBanachewicz I've heard some good things about Lua.
 
@Jeffrey Now I have to be very careful; I tend to go full fanboy when talking about Lua. But I think it's a really nice language for games.
 
@melak47 where do i specify -j 6?
 
@Tuntuni b2 -j 6
 
7:28 PM
@BartekBanachewicz eh, sortof. It's used for plugins, not for implementation of a game.
 
@melak47 oh, thought it was an msvc option
 
@MooingDuck for game mechanics too. They are implementation of a game. They are not the "engine" part though
Look at CoronaSDK for example
 
@MooingDuck works in one scope, but not in the other. I blame RAII
 
@BartekBanachewicz Yeah. The "engine" bit is what I meant.
 
@melak47 welp, loads of errors, let's try out the patch now
 
7:29 PM
i'll just use a smart_ptr and a new ehh.
 
@Tuntuni 1.54?
 
@EiyrioüvonKauyf I guarantee that it's a side effect of you misusing RAII and not a side effect of RAII itself.
 
@MooingDuck Yeah, I think the engine part should be written in something that supports deterministic destruction or some form of really efficient memory usage in general.
 
@melak47 mhm
 
@Tuntuni b2 toolset=msvc-12.0 variant=debug,release link=shared,static address-model=64 runtime-link=shared -j 6
b2 toolset=msvc-12.0 variant=debug,release link=static address-model=64 runtime-link=static -j 6
 
7:30 PM
@MooingDuck i'm trying to instantiate class A and it's pointers and methods from class B's constructor. I think i'm confusing RAII
 
@AmberRoxanna neither
 
user142019
@AmberRoxanna Look up floating point precision.
 
@EiyrioüvonKauyf I said that, yes
 
@melak47 I use b2 variant=debug,release link=static runtime-link=static threading=multi toolset=msvc12-.0 -j 6
 
@rightfold that'd only kick in if he casts it afterwards, but that's a real possibility
 
7:31 PM
@Tuntuni oh, snap, forgot the threading :p
 
I want the duration of class A to be as long as class B's instance - not just the scope of the constructor... how can i do this without making RAII unhappy
 
@melak47 :D
 
user142019
@AmberRoxanna SSCCE
 
what do i use on windows to apply patches?
 
@MooingDuck in reflection sounds like a perfect use of make_shared
@Tuntuni to what?
 
7:33 PM
@AmberRoxanna cannot reproduce
 
@AmberRoxanna you aren't
 
@EiyrioüvonKauyf to source files. unix has it.
 
@EiyrioüvonKauyf make A a member of B
 
Yes, it's called, "Fuck you, ".
 
@AmberRoxanna we just did what you wrote and got 181 as a result.
 
7:34 PM
@AmberRoxanna: Beware of dog
 
user142019
inb4 source of problem is damaged hardware
 
@MooingDuck I have a pointer to an instance of A ... hehe. i need to instantiate it after I do some other things.
 
@BartekBanachewicz ok let me close out the project and try again.
 
@EiyrioüvonKauyf boost::optional, or std::unique_ptr<A> then?
 
@Tuntuni what even? what language are you speaking
 
7:35 PM
@Tuntuni no address-model=something?
 
you want to know what on windows to apply patches to source files ... unix has it
 
user142019
@Tuntuni Cygwin.
 
@rightfold more likely first number is 1.8049999999 or something
 
@Jeffrey remember that blending bug?
 
@EiyrioüvonKauyf unix has a program named patch. i'm wondering what's the equivalent for windows
@melak47 nope. what does that do?
 
user142019
7:35 PM
@Tuntuni patch
 
see that made more sense
 
@Tuntuni specify if you want x86 or x64
 
@rightfold anything other than that?
 
@BartekBanachewicz "The value of your 23 coins is $1.81 which is equivalent to 180 pennies." :(
 
user142019
Install patch on Windows so the equivalent on Windows will be patch.
 
7:36 PM
... 181 pennies
 
@melak47 oh. it all works fine without it
@rightfold now now mr. smartypants
 
@Tuntuni ...eh, last time I built boost from the 64 bit VS command prompt without specifying that, it ended up being x86
 
user142019
Remove Windows and install Gentoo. Problem solved.
 
@melak47 i guess i'm fine then :D:D
@rightfold /g/
 
7:37 PM
@Tuntuni you want x86?
 
you spelled Debian wrong @rightfold
 
@Pawnguy7 tell me you have solved it
 
@melak47 yeah, i'm on a x86 pc
 
user142019
Satisfaction 100% guaranteed.
 
@Tuntuni ew
 
7:37 PM
@AmberRoxanna SSCCE in a stackoverflow question page. Not in a chat lounge.
 
@melak47 :p
 
ArchLinux - satisfaction 110% guaranteed. unless you screw up. then you're screwed
 
@Jeffrey Quite the opposite, I am afraid. I was wondering if I could take you up on your offer in about 20 minutes.
 
@Tuntuni make the 6 however many threads/process/? you want to use
 
user142019
@AmberRoxanna If you want to represent monetary values, it's foolish to use float or double. Use a decimal number type.
 
7:38 PM
@Pawnguy7 sure
 
Ok. Be back soon.
 
@melak47 mhm. and i think it's threads (not 100% sure though)
 
@AmberRoxanna you are doing something wrong. Also zoidberg got a point. Don't use double.
 
user142019
GCC has _Decimal64 for some targets.
 
damn just store the pennies :F
 
7:39 PM
@Tuntuni well...msvc calls the option "multiprocess" compilation...and since you're compiling with msvc...who knows :D
 
and divide by 100 when displaying
 
user142019
@BartekBanachewicz doesn't work with half pennies.
 
@rightfold store 1/10 pennies then.
 
@rightfold who has half pennies?
 
user142019
@BartekBanachewicz Doesn't work with one percent of a penny.
 
user142019
7:40 PM
Rounding is evil; see Office Space.
 
@BartekBanachewicz i can't use decimal ("Because we haven't learned it in class yet so you can't use it)
 
@melak47 yeah i knew i read "multiprocess" somewhere before, that's why i said not 100% sure :D
 
@AmberRoxanna That's a shitty reason.
 
@melak47 gas station machines
 
user142019
HAHAAAAAAAAAAAHAHAHAHHAHAHAHAHA C++ IN UNIVERSITY
 
user142019
7:40 PM
Also too localized.
 
yeah, too localized.
 
@BartekBanachewicz but in any case, let me look in to decimal
 
what was @AmberRoxanna's problem ...?
 
@MooingDuck not here, here they have only 0.9 pennies(well, cent, whatever). always. on every price. :p
 
user142019
Use C#. decimal built-in.
 
7:40 PM
@EiyrioüvonKauyf university, as always
 
Cygwin or gnuwin32?
 
you can always just use a bunch of size_t's and Tom-Cook or fourier methods :D
 
@melak47 that's what I was referring to in a vague and mostly incorrect manner
 
... saying a bunch of size_ts is weird compared to saying a bunch of ints ....
 
@melak47 I read that as 0.9 penises.
 
7:42 PM
@EiyrioüvonKauyf well, those size types are a weird bunch
 
speaking of which, is ssize_t portable? I can't find it in the C++11 spec
 
@EiyrioüvonKauyf what's that, supersize_t?
 
user142019
POSIX requires ssize_t so yes, it's portable.
 
signed size_t, for when i have to do subtraction
oh didn't know that. ok
 
"It should probably be the signed type corresponding
to size_t (which is what Posix.2 calls ssize_t)."
 
7:43 PM
@EiyrioüvonKauyf value = 1.81, total = value * 100, total = 180 ?
@BartekBanachewicz used decimal, doesn't work as expected...float is equally as good with such a small number
 
@EiyrioüvonKauyf no
 
what?
i have no clue what your problem is. scrollbar too far away
 
user142019
@melak47 convert euros to dollars and whoop.
 
@AmberRoxanna C++ doesn't do that. Post a SSCCE on a stackoverflow questoin. Stop bothering people in a lounge chatroom.
 
can't you just lambda that shit in 1 line?
 
7:44 PM
ok i changes the number to 1.75 and it gives me 175 pennies...why is it for 181 it's giving me 180 ?
 
@rightfold I don't know any place that accepts half a penny, or even two halves of a penny
 
@AmberRoxanna if you want to write shitty code then do it.
 
@melak47 banks
 
@MooingDuck sorry
 
@MooingDuck not in cash they don't :p
 
7:45 PM
@melak47 gas at one point cost 3.999 ;)
 
@rightfold depends on your definition of "portable"
 
they have 9/10's a penny
 
@melak47 nobody said "cash"
 
@BartekBanachewicz trust me i agree with you...this is what happens when you take c++ at a university.
 
pfft. look up c0. stop whining. at least you have objects
 
7:46 PM
@MooingDuck nobody didn't , either
 
@AmberRoxanna I agree that C++ at universities is terrible allright.
 
user142019
@MooingDuck All operating systems that I use and care about. :3
 
I think there was someone who managed to set up an account at a bank as the last alphabetical name and set it up so all the fractions of pennies went to the last alphabetical account.
 
@BartekBanachewicz i argue it matters who teaches it, and what univ and how much you put into it
 
Then someone else set one up with an even later alphabetical account and wondered why they were getting so much money.
 
7:47 PM
@EiyrioüvonKauyf on 99.9%(probably more) of universities it will be bad
 
@chris heard similar stories a thousand times. I don't believe it happened more than a couple
 
@BartekBanachewicz . that's just because there's so many <region> <random string> universities
 
@MooingDuck It's been too long to remember where I heard it.
 
user142019
1) Embed Python. 2) Use decimal.Decimal. 3) ???. 4) Profit.
 
@EiyrioüvonKauyf whatever the reason
 
7:47 PM
top 10 univs in many countries I've heard of satisfied people - not to be elitist, similarly there are some guys at community colleges that areamazing
 
user142019
Also if a teacher told me I couldn't use stuff we didn't get in class yet, I'd probably never visit his classes again.
 
@AmberRoxanna what precision do you want it to be up to
@rightfold ... ok you and bartek have a point there. but you have to sometimes
 
user142019
There is no reason to restrict this and punish people who know stuff already.
 
user142019
It's just pure butthurt. YOU CAN'T KNOW MORE THAN ME I HAVE DEGREE YOU DON'T.
 
7:49 PM
and what types were you taught anyway? just use a unsigned long already. i doubt anyone cares about that millionth of a penny
 
user142019
Connect to PostgreSQL and let it do the decimal number handling.
 
@thecoshman So, my boss is going to think about it. Stay tuned.
 
@MooingDuck Definitely wasn't that :p
 
ok playing screw with the professor is never good @rightfold
 
@EiyrioüvonKauyf precision is 2 decimal places.
 
7:50 PM
what types "have you learned"
 
@EiyrioüvonKauyf int, float, double, long double
 
use a double then why are you terrorizing us???
 
user142019
@AmberRoxanna In that case, use int and store pennies. :x
 
@AmberRoxanna I'm going to drop a hint. It says 1.81 on the screen. But the value in memory is not 1.81. It is a number very close to 1.81. (such as 1.809999999)
 
do you want to scrape a website for that exact moment' s euro conversion also ???
@MooingDuck those significand bits lol
 
7:52 PM
@EiyrioüvonKauyf better scrape them all, to make sure it's the right value :)
 
@melak47 better ddos the website too so that it doesn't change. those pesky currency markets
 
lol
 
user142019
Or store rational numbers.
 
OMG you people are the best! @MooingDuck thanks, that clicked
 
user142019
If you're allowed to use arithmetic operators, rationals are very easy to implement.
 
7:54 PM
@MooingDuck you're better than my professor....he was actually telling us to do the wrong thing!!
 
user142019
The most difficult part is calculating the GCD.
 
thanks everyone again
 
@MooingDuck i think i disagree. I think it stores 1.81
i think it only becomes 1.81000000000000001 after you do things with it
 
Derp, I mixed up the expected and actual output in a question.
 
user142019
Stop "think"ing.
 
7:56 PM
lol
 
the problem was that my 'total' variable was type int and i was trying to store a float in there...and the professor said that it's ok don't worry about it.
 
user142019
std::memcpy it into a buffer and print the bits.
 
user142019
This isn't religion. You need evidence.
 
yessir
also lol
 
7:57 PM
show us the bits. let's see how it stores 1.81
@AmberRoxanna lol.
 
@rightfold Nah, std::cout.precision(1000000);
 
@Griwes don't forget std::fixed
don't want to miss any of those digits
 
@melak47 This is enough for testing how it is stored.
 

« first day (1005 days earlier)      last day (3960 days later) »