« first day (873 days earlier)      last day (4076 days later) » 

3:00 AM
@KaliMa perfection
 
an SSD. You wouldn't believe how much even a shiny fast new laptop can be slowed down by a crappy slow 5400 RPM HDD
 
god I've asked on like ten forums and every single response is sarcastic
is there any place online where there are serious answers?
 
user142019
@TemporaryNickName does not default to xmonad.
 
@KaliMa my answer was serious! :(
 
user142019
 
3:01 AM
I tried but I had to delete the thread because SO "wasn't for hardware recs"
 
user142019
Yes that's because SO is about programming.
 
same with SuperUser
 
user142019
SU is about use of software.
 
user142019
Try Usenet or 4chan.
 
@ThePhD ML had a reputation for being more suited to academics than real use (which, in all honesty, largely deserved). Since OCaml is much the same, and deserves pretty much the same thinking, they feel obliged to claim it's not true.
 
3:02 AM
@KaliMa set your budget for the laptop, and see what you can get for that. maybe reserve some budget to get an SSD
 
I will pay $50 to whoever offers me a nonbullshit fscking answer, jesus
 
user142019
You won't.
 
@KaliMa jesus, an SSD, 4-6GB memory, 1TB hard drive, an i3 or i5 mobile CPU, and a decent mobile graphics card if you want to play games. anything between $900 and $1200 for a non-crappy laptop
and no I dont want any money
 
@KaliMa how much are you willing to pay for a laptop? start with that.
 
user142019
@melak47 inb4 $200
 
3:04 AM
lol
 
I have money, that isn't the problem
Problem is finding the right laptop that does what I need it to
I'm not into heavy graphics
Purely computational speed (the ability to crunch numbers, handle data, etc) -- minimal runtime
 
@KaliMa The fact that it's a laptop is mostly irrelevant. Without knowing your preferences and (especially) what you want to do with it, it's hard to recommend much. What's suitable for me and my purposes probably won't be for you (and vice versa).
 
@KaliMa so look for something with an i5 then, maybe even an i7 (and look for "QM" for an actual quad core)
 
@KaliMa Just keep in mind that for a lot of number crunching, a graphics processor can be drastically faster than a normal CPU.
 
Compute Shaders~
 
3:06 AM
I code mostly in C++ and Python but I don't think there's an easy way to tell it to go process on the GPU
 
opencl is pretty nice
 
@KaliMa C++ AMP :p
 
@melak47 QM?
I figure i7 + solid state drive + lots of RAM but I don't know if some solid states are better than others, what type of processor, etc
 
@KaliMa a mobile i7 with "QM" in the name is an actual quad core. one without isn#t
 
you mean virtual cores vs. actual?
 
3:07 AM
then, uh, read reviews perhaps
 
@KaliMa no, actual cores vs actual
 
i mean what do you mean by "actual" quad core
nvm i misunderstood
 
for example, an i7-3667U has 2 cores, an i7-3610QM has 4
and I think there are no mobile i5 with 4 cores.
 
i'd prob. get mobile i7 anyway
right now I have a mobile intel i5 2410M (2 cores, 4 threads)
2800 MHz right now
 
so go on some hardware site that lets you filter laptops by specs
filter by i7, amount of ram you want, and go from there
 
3:19 AM
ALRIGHT
SO
IT'S TIME TO MAKE A LEVEL EDITOR
This is gonna be the biggest bitch ever. :c
 
@KaliMa also, at least when I looked, laptops that came with SSDs were usually more expensive than they had to be. I'd just get an SSD and install it myself
@ThePhD time to put your engine to use, eh? :3
 
I'm already putting my engine to use.
But now, it's putting it to the major test.
I have less than a week to make a really awesome Level Editor.
I'm going to piss myself.
 
"Does it work?"
that's quite a deadline
better get started!
 
This is your fault.
I hate you. :c
 
to WinForms, or not to WinForms, that is one of the many questions
 
3:21 AM
I'm using C++ so WinForms would be the only options.
But at the same time Buahahahaha, jesus fuck are you out of your mind?
I'd have to use C++/CLI for that
 
wat
 
Making my code interop with that is called making a nightmare.
 
there's always Qt? :p
 
=l
Yet Another Framework to learn.
 
you can use WPF in c++/cli
 
3:23 AM
Exciting. ._.
@StephenLin WHaaaaaaat?
 
well, just saying it's possible
i've never done it, all my c++/cli has been numerical library wrappers
 
he's not currently in the /CLI part of C++ though :/
 
hmm, i thought he was using winforms in c++/cli
 
@ThePhD I hear it's more or less easy to wrap a d3d based renderer into a QtWidget thingy and stuff. but I don't know anything about it :/
it'd probably break your whole capturing window messages thing though :D
there is another way, though...render the UI with your engine :3
 
Even on Newegg I can;t find a good laptop :<
 
3:29 AM
Good noon all.
Who messed up with his spelng?
 
@KaliMa what did you look for
 
@KaliMa My friend bought one from dell. He swears by it. Also, my previous laptop was a dell and i never had issues with it
 
is where I am right now
not sure if this is the right spot per se
HDD: SSD + HDD, idk if that;s hybrid or two drives
 
should be two, but that's why I'd just get a laptop with a HDD and put an SSD in myself
what don't you like about those laptops
 
I don't know which one is right for me
 
3:38 AM
I wouldn't recommend SSD only. they generally don't have much space unless you're a millionaire and the SSD's capabilities are wasted on bulk storage
a 120-200GB SSD and a 1TB HDD would be a good starting point, but it depends on your needs (perhaps you already have an external)
 
neweggs categories for HDD + SSD are a bit limited
 
lol 24GB SSD
and it comes with windows
what are they thinking? :p
 
I personally prefer the bigger laptops with two HD slots.
Boot on an SSD. Data on the HD.
 
@Mysticial That is what I am looking for
 
3:44 AM
you can usually exchange the optical drive for a HDD caddy, so if you don't use optical discs, ever, like me, that could be an option for you
you guys are boring, I'm gonna watch tv :p
 
maybe newegg isn't the best place?
 
hey, are any one you clang front end hackers?
 
I don't know any US sites, I usually buy my laptops in Germany :p
 
I don't think Newegg is the best place for laptops.
I usually either buy a customizable one online.
Or I pick up a cheap one at a store and massively upgrade it.
 
newegg doesn't ship to new zealand so I wouldn't know
 
3:55 AM
@Mysticial Which place online might you recommend?
 
@KaliMa It's hard for me to recommend a laptop online anyways. Since I haven't bought one online in almost 8 years.
 
hmm
 
 
1 hour later…
5:01 AM
Yo!
LMAO, there are no people here! XD
I'm the first one!
 
user1357851
5:12 AM
I am here all along, but I have decided since last night that I shall put all my effort into my lastest app. So I don't have this urge to duck under the table when people asking me 'how's your latest app?'
 
@ThePhD The world editor? For now, geometry. Ultimately, scripting support.
 
Ahhh.
Well, titties.
Guess i'm making a world editor.
 
So... is this all an elaborate hoax that the people in this room put together?
 
@jkerian We have nothing to do with that.
 
@jkerian We make fun of it on a regular basis
 
5:14 AM
Anyone have any idea who does?
 
@jkerian But these people have somehow made some effort in popularizing it.
 
@Telkitty How's your latest app going? :D
@EtiennedeMartel So you're going to build scropting support into 3ds Max / Maya ?
 
user1357851
@ThePhD it is been developed under the table :p
 
@Telkitty Hehe. Gotta make that money~
 
user1357851
It is not guaranteed to make money
 
5:16 AM
@ThePhD Oh, wait. No.
 
Our 3ds exporter only exports stuff like meshes, materials, animations, etc.
 
Ah. So separate from that, you have an actual world editor?
 
Ah.
Guess I need to get cracking.
 
5:17 AM
@jkerian Nope.
@ThePhD Hey, to give you an idea, we are a team of six programmers, and we've been working on the project for five months.
 
NEED TO GET CRACKIIIING
Aaagh cat didn't finish support for Text just yet.
Guess I'll roll that text solution then right now.
 
Ze cat.
 
Pyroven
As in, Pyro-Oven
For baking delicious bread
my file format will be named .bread.
 
lol
 
This bread thing is getting out of hand.
 
5:20 AM
I'm partial to .asdasd, .asdf, etc...
 
.sob
Slices of Bread.
(Best Thing Since!)
 
@Telkitty lol! Well, its good to know I'm not alone.
@Rapptz Just started watching Magi
Pretty darn good.
I thought I'd watch it after 50 eps, but I was like, what the hell...
 
Shit is going down in the JS room.
 
@EtiennedeMartel Whats goin on?
 
People are flagging each other.
 
5:27 AM
@EtiennedeMartel looooooool
 
Flags be serious business.
Pfffooo...
Now begins the structuring, from the bottom up...
 
@EtiennedeMartel : Why is this illegal: double x,y; auto z = x % y;
 
@GamesBrainiac Because % gives the remainder of an integral division.
 
% can only apply to integer types.
^ ^ What he said.
 
You can't do an integral division without integers.
 
5:33 AM
fmod is the double version.
2
 
@ThePhD Thanks man! :D
Really appreciate it
 
why is that starred
It's always one person..
 
Probably GamesBraniac in this case.
I should get an Underdog badge, for most consistent one-star messages.
 
@ThePhD Hey, it doesn't cost anything, why not?
 
Actually, it's 1 star from your daily star budget.
SO's chats have a star budget that can't be exceeded each day.
@LightnessRacesInOrbit hits this limit often.
 
5:36 AM
We need a gold badge for having many stars.
 
But then we'd get starwhores instead of repwhores.
 
@Rapptz constellation?
 
@ThePhD is there a double version of ^ too?
 
@GamesBrainiac What would it do?
 
@GamesBrainiac fmod is for doubles.
 
5:38 AM
@jkerian double x; int y I want to do, x^y
 
Oh
That's XOR, isn't it?
 
no, its x to the power of y
 
Oh.
powf
 
^ is xor not power
 
@ThePhD No need to include math?
 
5:39 AM
there's no exponentiation operator in C++
 
@GamesBrainiac x^y is not "to the power of" in C++... it's a binary XOR operator
 
Actually, it's just pow, and it's in <cmath>, along with fmod.
 
Oops, sorry about that.
Will this work : x**y?
 
no
 
Like in python?
 
5:40 AM
worth noting that if exponentiation is supported as an operator, it's x**y, but C or C++ doesn't support it
damn it
 
template <typename T>
T exp(T base, unsigned exponent) {
    T result = 1;

    while (exponent != 0) {
        if (exponent % 2 == 1) {    // exponent is odd
            result *= base;
            --exponent;
        }
        base *= base;
        exponent /= 2;
    }
    return result;
}
^
for integers anyway
 
lol
 
5 ^ 0 = 1, right?
That's a hard and fast math rule?
 
yes
 
depends what you are working with, but if I have to ask that, then the answer is "yes"
 
5:44 AM
@ThePhD quit using that retarded notation... you're hurting my embedded-programmer brain
 
anything to the power of zero is 1.
 
@jkerian 5.0^(2.3^(1.7^50)))
<3 ~
 
@Rapptz 1, you mean... although I don't remember what the current standard says about NaN to the 0th power
(it was under discussion last time I looked)
 
yes, my bad
Anyway anything except 0.
That's indeterminate
 
@Rapptz Could be. Could be not.
 
5:46 AM
@MarkGarcia 0^0 is indeterminate and needs L'hospital's rule
You can say it's 1 though
 
pow(0, 0) is defined as 1 in IEEE though
 
People suck at formatting code on their blogs.
 
... ._.
 
@StephenLin I'm talking mathematically.
 
5:47 AM
This bitmap font generator generates 2 separate files.
What a fucking retarded bitmap font generator.
Always wrap your shit up into 1 file.
 
@Rapptz ok, just clarifying
 
5:58 AM
saying that anything to the power of zero is 1 is really not correct. it's indeterminate and up to context to decide what value it should take, many limits take the indeterminate form 0^0 and certainly do not evaluate to 1.
 
lim x -> 0 of x^x is 1
 
@Thomas x^0 = 1, for any x except 0.
 
You added a second variable.
O_o which has no value
What are you proving to me?
 
does not matter. use a = 1, and check that the limit e^(1/0) is equal to zero, as well as ax, and the limit is of the indeterminate form 0^0, which evaluates to e^(-a), i.e. e^-1, which is not 1.
 
6:01 AM
if you look at the graph of your output, the limit of e^-a as a -> 0 is still 1
 
Yay undownvotes
 
I suggest you read up a bit. http://en.wikipedia.org/wiki/Exponentiation#In_analysis

claiming 0^0 = 1 may be fine in algebra where it does make sense, but that interpretation fails for other types of mathematics, notably limits
 
lol as if I don't know my mathematics
the wikipedia entry is showing a sided limit
 
and a does not tend to zero, it can be any real number, and you see that in this interpretation, 0^0 can be anything, which is what indeterminate means
 
the fact that it is a sided limit changes nothing
 
I still don't get what you're trying to prove, your example was a bad one when you could have shown one that had a leaning towards infinity.
Assuming we're taking the limit of a single variable function
 
it is a single variable function
a is a constant, the limit is in variable x
what this shows you is that 0^0 can be anything you want it to be, 1, 0, infinity, any real number, and so has no well-defined value
 
Yes, 0^0 is undefined.
 
Then you're adding nothing new to the conversation
 
6:08 AM
I think the proper term for it is "Indeterminate".
 
22 mins ago, by Rapptz
@MarkGarcia 0^0 is indeterminate and needs L'hospital's rule
 
I was just adding that saying "x^0 = 1 for all values of x (except zero)" is misleading
 
So, wait, that @Thomas is arguing about... agreeing with you?
Or maybe he can't read.
 
:8121873
 
I stated that for all single number of x, x^0 is always going to be 1.
 
6:10 AM
Etienne de Martel
@Thomas x^0 = 1, for any x except 0.
 
I don't care otherwise, it'll always be one
 
dunno how to quote. anyway
 
@Thomas So....?
 
because limit of x -> 0 for x^x is still 1
oy. :(
 
What's your point?
 
6:11 AM
what is with me.
 
@Rapptz You're fine.
 
@Rapptz limits, where's the time..
 
no I meant mixing up the zeroes and ones.
I keep doing it.
I'm gonna go play some vidya.
 
@Thomas x^0 is an empty product, which is equal to the multiplicative identity, which is 1 (unless x = 0, but I said it already).
So you're not bringing anything interesting to the discussion.
 
6:57 AM
Is there something similar to isinstance in C++ like in Python
For example you want to know if a string is actually a number, how do you do that?
 
@GamesBrainiac The same way python does if it's the first time you're checking... try to convert it and see if it fails. Exactly which method to use for converting depends on what kind of number you're expecting (and your personal religious beliefs)
 
For example, you have a string that says "3.14"
And you want to convert this to a double, if it can be converted at all
I have looked up std::atof
But that does not give a false if it cannot be converted
 
Oh my hy god english classes fun
After 3 semesters nominal level of our group is slowly decaying. Lmaon, as if we actually are getting dumber
 
@GamesBrainiac: I suspect you're looking for one of these stackoverflow.com/questions/1012571/…
 
@jkerian Yes, but what if it cannot be converted?
 
7:05 AM
Ohwell. No. Stringstream!
@games then check, what's the problem?
What is the use case here?
 
It will return 0.0 in this case.
What if the user actually inputs 0 in the algebra system.
 
@GamesBrainiac Each of the methods on that page have slightly different reactions when they don't work. Try playing around with them on codepad to get a feel for how they work.
 
If you do you need to give the second argument as, nullptr ?
 
The functions sets the pointer pointed to by str_end to point to the character past the last character interpreted. If str_end is NULL, it is ignored.
str_end is a way of telling if you converted all of a string. You can check it againts the original string length to see if you have something dorky that you tried to convert like "3.14zimbabwe"
 
user1357851
testing things ... again
 
7:15 AM
I generally use stringstream... although recently I've been working on boost::spirit-infested projects, so some very convenient syntax comes along for the ride there.
 
7:26 AM
trying to get a handle on Haskell's :: in the context of typeclasses

it's really funky - sometimes looks like a C++ equivalent of a cast, sometimes looks like a template parameter. (I think it's due to functions in Haskell being first-class)
 
^^ interesting query
That language is an abomination. Its like VB and XML decided to have a baby. — Paul Batum Sep 26 '08 at 20:55
 
@kfmfe04 what do you mean?
 
user1357851
pewbie!
 
@Pubby I'm going through learnyouahaskell when I came across these examples:

ghci > 20 :: Int
20
ghci > 20 :: Integer
20
ghci > 20 :: Float
20.0
ghci > 20 :: Double
20.0

ghci > read "5" :: Int
5
ghci > read "5" :: Float
5.0

The first set looks almost like a C++ cast while the second set looks like a disambiguator for a template function. This is my first day looking at Haskell, so I'm using C++ equivs to get a handle on things, but I'm sure as I get more familiar with H, those ideas will fall away...
@Pubby btw, is there a way to query ghci for all types that are in the Num typeclass?
 
@kfmfe04 Why do you want to know that?
 
7:39 AM
@Pubby to see if there is a existing type that does what I need to do (so I don't need to create a new one: eg Complex)
 
@Pubby k - ty
 
And AFAIK :: isn't type casting. It's just explicitly telling the compiler what a type is. It can resolve ambiguities though.
 
@Pubby aye - I agree - I'm just using that as a "crutch" to understand some operations for the moment.

When I looked at it again a 3rd/4th time, it definitely looks more like something to help type-inference along.
 
7:54 AM
@sehe not the best choice of word no, but it still works just about :P
 
no it doesn't. Unless you define "it works" as "i'm happy" and "people can guess what i actually wanted to say"
Good morning
 

« first day (873 days earlier)      last day (4076 days later) »