« first day (577 days earlier)      last day (4372 days later) » 

7:00 AM
answer to (e) is k^2 * n^2 * ((k^2 * (N_L ^ d)) + (N_L ^ d))
 
and now in (f) we multiply k^2 to the right part (the refraction part)
so now we should have
 
answer to (e) is k^2 * n^2 * ((k^2 * (N_L ^ d)) + (k^2 *(N_L ^ d)))
sorry thats (f)
 
yes
do you see why I simplified the reflection/refraction sum?
x^2 + x^2 = 2 * (x ^ 2)
 
7:01 AM
yes i know
but here
you can take out ((k^2 * (N_L ^ d))
as common
 
"take out"? yielding what?
 
which makes ((k^2 * (N_L ^ d)) * [ (k^2 * n^2 ) + 1]
see that?
 
yeah, but 2 * (k^2 * (N_L ^ d)) seems simpler to me
or are you saying, the whole equation? oh.
 
yes the whole equation
 
since everything is multiplied by k^2
fucking k^2
fuck k^2 you fucker
 
7:04 AM
yes...
the original Viewing ray k^2 component as well
 
we are also including our viewing ray in addition to reflection and refraction
 
is this the final component?
and what do [ ] mean in your equation?
 
thats just bigger paranthesis
sorry
 
7:05 AM
((k^2 * (N_L ^ d)) * [ (k^2 * n^2 ) + 1]
is the above
 
so (f) is the end? because we don't want take out k^2 yet if there's more
 
no
f is the end
 
but ((k^2 * (N_L ^ d)) * [ (k^2 * n^2 ) + 1] is right, right?
 
I'll trust that you simplified the equation properly because I'm tiredf
I don't know
 
7:06 AM
oh yea i did
sorry for all this..you've been really helpful
 
my final answer is k^2 * n^2 * 2 * (k^2 * (N_L ^ d))
simplify that how you wish, I'm too tired to go further
 
ok now i got it
thanks
 
but for the hell of it, let's set n at 50 and k at 4 and N_UL at 8 and d at 10
 
oh
and then we get
we kill the computer basically
 
7:09 AM
i hate my Graphics class
only 10 people are taking it
last friday we had a guest lecture, 3 chumps showed up
including me
 
17,179,869,184 fucking rays worst-case
 
Jesus
 
is that enough rays for you??? huh????
 
yup..thats quite the rays for me
 
that's for a 50x50 screen with 16x FSAA
give me an email at ironhelix001@yahoo.com so I can claim that bounty sometime
 
7:11 AM
Sent
Oh
I think
we can use these
 
if we set n to 1024 ....for a computer monitor ish size
 
in Tron 3
lol
 
7,205,759,403,792 fucking rays
holy shit that's a lot of rays
 
okay...even Tron would crash
with these many rays
 
and people wonder why ray-tracing is slow!
BECAUSE ITS SHOOTING OUT 7 TRILLION RAYS YOU DIPSHITS
 
7:14 AM
btw, which University did you go to? hahaah
 
I'm a highschool drop-out
got my GED though
 
@johnathon any luck?
 
oh my god GENIUS!!!!!!!!!!!!!!
wow
 
@SethCarnegie while u were gone he fixed it I think
 
did you teach yourself all of this?
 
7:14 AM
@stdOrgnlDave I don't think so, he hasn't said anything
and I haven't been gone at all
just waiting
 
@SethCarnegie working on it man one min
 
@ladiesMan217 yes its 3am time for me to sleep
 
alright man..ill send my further animator questions to you and you only
:D
 
@stdOrgnlDave night dave
@ladiesMan217 suffocating love :)
 
goodnight all @sehe @johnathon @SethCarnegie @ladiesMan217
 
7:16 AM
@stdOrgnlDave see you later
 
@ladiesMan217 another way to simplify is this: k^4 * n^2 * 2 * (N_L ^ d)
I think
ok real goodnight
 
> Page rendered in 0.9583 seconds
what are we? the 90s?
'the fuck is this shit?
 
7:32 AM
where
 
internal web site. A brand new tool
 
A colleague is the website?
 
which, as far as I can tell, is for making reports of what 'tickets' have been dealt with for this release
 
Just added to a question about editing...:
2
Q: What is the normal mode vim command that converts false to FALSE as well as 12:48:03 AM to 12:48 simultaneously?

merlin2011I accidentally performed a command in Normal mode in vim, on a TSV file, where it converted all the false to FALSE, all the true to TRUE, and all the times from 12:48:03 AM format to 12:48. I believe it was a single command, because I could undo and redo it using 'u' and 'Ctrl-R', but I can't fi...

 
ahahahaha
 
7:34 AM
basically making up for how shitty out ticket systems are, yes multiple
 
@johnathon I have to head to work now, thanks for all your help, I'll be back in some hours
 
ok seth
 
oh yeah, time to re-live some youthful memories, THPS sound track deploy!
 
UGHHHHH my linuxmint installation crashed
 
that's just to make sure you don't miss windows
 
7:41 AM
@kmore wut. the installation crashed? Define crashed
 
I'm so glad it crashed after it formatted my drive
sehe: a popup that said "Uh oh! The installer crashed!"
 
naturally
 
@sehe
 
In those words? Wow. And Ouch
 
@kmore edit posts
 
7:42 AM
I keep forgetting that this is SO, sorry--I'm still in IRC mode
 
@kmore You can edit messages for 2 minutes (arrrow up)
 
I might as well begin downloading another distro
 
you might. or you might google the cause. What partitioning sheme did you use? Perhaps there is a known issue with, say, btrfs on lvm2 on dmcrypt
 
@sehe ext4, but it's two SSDs in RAID0--a 480 GB drive
I'll rebuild the RAID I guess
 
7:46 AM
@kmore I use two SSDs in RAID0. DM or IDE ('BIOS') raid? Not PCI cards like Promiss FastTrack are actually BIOS raid too
 
@sehe it's BIOS RAID
two 223.5gb vertex3's
 
@sehe what do you mean by 'DM' raid, software raid?
 
@thecoshman never mind?
@kmore nice
 
¬_¬
 
@sehe they're awesome drives. oh, I'm using the kde version of linuxmint 12
so that might have something to do with it, too
 
7:48 AM
@kmore I'd skip the bios raid, unless you really need to dual boot windows too (which, quite frankly, sucks with bios RAID)
@kmore I don't suppose so
 
@sehe why skip it?
I'm shocked xfs wasn't an option :\
 
@kmore Apparently grub doesn't recognize it too well. You may need to fiddle with the BIOS settings for the array/sata controllers (AHCI/IDE/compat...)
 
@sehe grub recognized it just fine--in fact, it was copying files until the installation simply crashed
 
@kmore It wasn't? XFS is still evolving nicely. I'm pretty sure xfs4 is better for general purpose.
@kmore Grub is the last step.
 
@sehe ah, that might be what happened
interesting--it's the OCZ drives that are responsible. It also looks like ext4 is the culprit. Admittedly, I didn't really search for install options
 
7:51 AM
The partitioning tool recognizes it, but grub needs to recognize the device mappings based solely on the BIOS identifications, because that's what's gonna be available at bootloader time
In another virtual terminal, you might do grub-mkdevicemap or similar
Anyways, I'm pretty sure it might be that. I'm also pretty sure that a switch of AHCI/IDE whatnot in BIOS might fix it, but you may need to rebuild the RAID anyways.
Remember to do a sata secure erase while you are it, unless the drives are brand new. This will make sure you get optimum performance.
 
@sehe how do you do a sata secure erase? can you do it from bios? Also, I have my SATA mode set to RAID(XHD)- AHCI and IDE are also options
 
@kmore I've had mixed success with hdparm but last time I downloaded a live CD with a special purpose tool (I suppose it might have been gparted live, or a rescue distribution of some sort). I remember the command line version being tricky to get right.
@kmore Not usually in BIOS, that
You might want to go for LVM2 (pvcreate --metadata-size=250k, off the top of my head, to get proper aligning).
 
I might also try decreasing the raid0 stripe size
 
8:13 AM
Why doesn't std::array have a constructor?
Or what does this mean?
> The conditions for an aggregate (8.5.1) shall be met. Class array relies on the implicitly-declared special member functions (12.1, 12.4, and 12.8) to conform to the container requirements table in 23.2. In addition to the requirements specified in the container requirements table, the implicit move constructor and move assignment operator for array require that T be MoveConstructible or MoveAssignable, respectively.
The constructor is magic?
 
Because "The conditions for an aggregate (8.5.1) shall be met.".
An aggregate is an array or a class (Clause 9) with no user-provided constructors (12.1), no brace-or-equal-
initializers for non-static data members (9.2), no private or protected non-static data members (Clause 11),
no base classes (Clause 10), and no virtual functions (10.3).
 
Oh, and aggregates can use {} initialization
that makes sense
 
@kmore I don't think it'll make any difference in the case of BIOS raid: if the array is visible at all, the stripe size is transparent.
 
@sehe I didn't really have any choices, either. 128k is the default; I thought it was higher, for some reason
 
Are you sure you need the raid, though? I must admit I have seen the same 'effective' speeds without raid0 and my SSDs, but these are 3y/old and I'm referring to general desktop usage (and compiling obviously)
@kmore 128k is fine for SSDs
 
8:18 AM
@sehe I was just about to say- I might create two volumes: RAID0 for the os and RAID1 for my data
 
Currently I have moved my volumes onto a single SSDs (yay for LVM2 live-migration) and I brought one SSD to my workplace as an accelerator (eSata)
 
I've heard a lot about OCZ SSDs failing after ~9 months, though
 
@kmore Why don't you just install root on ext4 (or btrfs) directly and use software raid (ZFS, Btrfs, lvm2 + xfs) where you need it? No more maintenance headache, no more single point of failure where you don't want it, no more issues with dual booting etc.
 
I don't get why you are bothering with raid0 on SSDs though
 
@thecoshman Maybe he measured a performance gain? [sic]
 
8:21 AM
@thecoshman there's a very high performance gain
 
@kmore I can't confirm any of that. I've seen two Intel postville's die within a week, but that was probably down to a Mobo/PSU fault
 
I do backups of my important stuff to github and s3, though. I could probably get away with RAID0 entirely
 
@kmore I've seen considerable perf gain, but not in practice; This may be due to my doing all things on tmpfs in the first place. And VMs sit on spinning drives anyways
 
Yay meta police moved in
@rubenvb that goes without saying. But all the comments are missing now, so I'm not sure what happened any more. And the edits and rollbacks make me dizzy. — Mr Lister 3 hours ago
on the wrong comment thread
 
cmath has both abs and std::abs.
 
8:31 AM
@kmore really? even with SSDs
 
@thecoshman and a very high stripe size
but that's only for larger files -- you can get up to 1GB/sec (vs 500MB/sec otherwise). either way, I'm talked out of RAID; AHCI it is
 
@CatPlusPlus not per C++ standard it doesn't. And GCC's libstdc++ has been doing a lot of effort to remove global namespace contamination.
 
@thecoshman especially for you:
@kmore You can still use linux dm, lvm2 or other software providers of raid :)
 
The contents of these headers are the same as the Standard C library headers <math.h> and <stdlib.h>
respectively, with the following changes:
(no "everything must be in std" in those changes)
 
@rubenvb But I *love* namespace contamination. It's like having a house full of drunk party guests.
 
8:34 AM
@kmore another reason to reconsider raid0 with ssd is the MTBF: I think you half those by depending on two drives to stay operational
 
@sehe very good point. I back up pretty frequently, but it's still a pain to lose data/reinstall
 
I thought the number of bits wasn't in standard
 
the minimum you can expect is standardised
 
@Pubby True, but most of the time it is this way
 
it would be pain if a long long was only 8 bits
 
8:39 AM
> Note: the C++ Standard guarantees that 1 == sizeof(char) <= sizeof(short) <= sizeof(int) <= sizeof(long) <= sizeof(long long).
 
@CatPlusPlus then a long long could be 1 byte?
 
@kmore plus Murphy's law defines that failure will happen during your inplace backup
 
@CatPlusPlus But why does it say bits in the table?
 
Yes. And byte doesn't have to be 8 bits, either.
LP32 etc. are all x86 models, so they use bits.
 
Not that I would hardcode the size of a long long, but I think if such a program didn't work because a long long was 1 byte, someone would have to punch the systems administrator in the face
 
8:41 AM
Because let's be honest, how many people care about non-x86 platforms.
 
@CatPlusPlus Technically x64 isn't x86
 
So int is guaranteed >= 16 bits?
 
@CatPlusPlus though this does not mean that you can't also have a rule saying sizeof(short) == 4, for example
 
@Pubby No way.
 
8:43 AM
So table is wrong? :S
 
It's correct for x86/64.
 
@Pubby It's a guideline to help you pick the right type..
 
But the C++ standard column isn't?
 
Exact sizes are implementation-defined, and they describe a particular set of implementations.
 
Is that a yes or no? :S
 
8:44 AM
Well, it shouldn't be called "C++ standard".
 
What's the correct name?
 
"Horse". Dunno.
 
That pretty much sums up standards in our industry
 
@CatPlusPlus "In the C++standard library, however, the declarations (except for names which are defined as macros in C) are within namespace scope (3.3.6) of the namespace std. It is unspecified whether these names are first declared within the global namespace scope and are then injected into namespace std by explicit using-declarations (7.3.3)."
That's 17.6.1.2/4 for you.
Global namespace does not have to contain anything.
 
8:51 AM
'kay, I don't care enough to argue about that.
I got up few hours ago and I'm already sleepy. ;/
 
hehe.
 
It's the worst feeling ever to wake up more sleepy than when you went to sleep
 
Is Java better than C++ at handling runtime exceptions?
 
@ManofOneWay depends on how you define "better", "handling" and "runtime exceptions"
3
 
@CatPlusPlus you really are a cat :P
@ManofOneWay it's better at thrusting them down your throat
 
8:53 AM
Well, it has better default top-level exception handler.
And there isn't any silly UB.
 
there's just a whole bunch of null pointer exceptions
 
But that's more platform thing than Java itself.
 
@ManofOneWay It's a cleaner implementation because methods must declare that they throw exceptions, whereas in C++ that's not the case
 
@CatPlusPlus on the other hand, there's no RAII and exception safety, making it much harder to ensure correct behavior when a runtime exception is thrown
 
I'll take NPE over UB any day.
 
8:55 AM
Though other than that, it's essentially the same
 
@jalf I'm not sure what I mean, I'm reading a presentation on a JIT compiler written in Java. One of the advantages against writing it in C++, according to the slides, is robustness; "Runtime exceptions not fatal."
 
@Neil You've never written much Java, have you? There's nothing "clean" about checked exceptions in Java :)
 
Checked exception aren't clean. :/
 
Unchecked exceptions are clean now?
 
@jalf There's finally.
 
8:56 AM
@CatPlusPlus yup, hence "much harder" :)
 
I didn't say it was like writing a slice of heaven, I just said it's a cleaner implementation.
 
I really don't miss RAII in managed languages.
 
putting the burden on the user to ensure correctness
 
Java even got try-with-resources lately.
 
@CatPlusPlus +1
 
8:56 AM
@CatPlusPlus I do. Not so much for memory, but for other resources
 
@CatPlusPlus C# using
 
Not as good as Python's with or execute-around idiom, but still.
 
@Neil Try googling it. It's pretty widely acknowledged to be a design mistake in Java
 
Installing UDK swapped out half of my system.
 
the intention was good. It just doesn't work out in practice
 
8:58 AM
I think I really will get those 16GB of RAM for desktop.
Running out of RAM is annoying.
2
 
@CatPlusPlus I'm considering 32 Mbs. It'll probably be 16Gb
 
@CatPlusPlus It's the best thing you can do, I upgraded to 8 gig and I'm super happy, no more page-swapping
 
@CatPlusPlus What do you do to run out of RAM? Using a horrendously big base image for your Factor programs :)
 
Using Chrome.
Mostly.
 
@CatPlusPlus Besides, memory is very cheap these days
 
8:59 AM
@sehe virtual machines do the trick nicely
 
@ManofOneWay I don't remember creating a swap partition in the last 5 years
@jalf Yeah. I don't need them often. But having the RAM is nice then. I usually install test VMs in tmpfs :)
 
Had to upgrade from 8 to 16GB on my work PC to avoid everything freezing for minutes at a time because I needed to run two VMs and a few other things
 
@jalf Ouch. We are on 3Gb rations. Sucks.
 
Right now Chrome is eating 1GB of RAM.
And that's just working set, 'cause it has 2GB allocated.
 
@CatPlusPlus Funny, a few years ago, no one would ever have said Firefox was a lightweight browser. But now, and compared to Chrome...?
 
9:02 AM
I switched from Chrome to Safari because of the big memory footprint
 
@jalf I don't care much about what others think, when it comes to such things
 
My ~50 open tabs take up much less than 1GB
@Neil It's strange to want to debate it, then
 
@jalf Are you using Firefox?
 
Chat alone takes 320MB.
 
@CatPlusPlus working/reserved set, virtual size?
Apr 8 at 21:46, by sehe
Also yanking one of my SSDs to bring it to my work place. I'm so sick and tired of waiting for my PC all the friggin' time. Calls for a little guerilla problem-solving.
 
9:04 AM
@jalf Who's debating? I'm telling you that it's not important to me.
 
Personally, I tend to listen to leading members of a language's community. When Herb Sutter says vector<bool> is a terrible idea, I tend to think that he probably wouldn't say it if there wasn't a grain of truth to it
 
@jalf ^ that makes it barely usable
 
WS, duh.
 
@Neil You brought it up mere minutes ago.
@ManofOneWay yep
@sehe what makes what barely usable?
 
Is vector<bool> ever going to get changed?
 
9:05 AM
very unlikely
 
Probably not.
 
@jalf No, actually I said it was a clean implementation and you responded that I should google what I should think online. My response since has been, "I don't care."
 
they discussed it for C++11, and didn't even find consensus for deprecating it
@Neil Perhaps you should have read what I actually said
 
Damn, sometimes I wish they would just start over and get rid of all their past mistakes
 
Ahaha, yeah, right.
 
9:06 AM
std2::vector<bool> I can dream!
 
First mistake is C.
 
@jalf My bad, you said that Java said it was a design mistake, and to google it.
 
After that, there's nothing to correct because everything has to be made from scratch.
 
I never said you should google what you should think. I said that if you googled it, you might find out why very knowledgeable Java programmers consider it to be a broken feature. Then you could draw your own conclusions based on facts
 
Checked exceptions are annoying.
 
9:08 AM
Feel free to draw your conclusions based on dreams, tarot cards or intuition if you prefer
 
@jalf Thanks, I think I'll draw my own conclusions in fact.
 
Of course, it doesn't really matter, since Java is stuck with checked exceptions, whether or not they're a good idea :)
 
Well that I think is definitely something we can agree on.
 
@jalf Hey, I can't help you guys interject two messages in 1 or 2 seconds :) The SSD makes the work PC barely usable
 
sbi
Morning.
 
9:14 AM
http://www.sociallunchbox.com/public/slb/imagecache/600x600-preview/files/images/why-because-fuck-you-thats-why.jpeg
Morning.
 
@sbi It's not morning, you should have been at work for several hours now!
 
sbi
Ah, cat pix. Lemme...
 
@sbi o boy - what does that mean
 
sbi
 
It won't add image! why!
 
9:15 AM
hi
 
@sbi Firecat?
 
sbi
@ManofOneWay No, that's wrong. I need to be at work at 11, and I was 10mins late. Given that I left here at ~11:30pm, I consider this pretty good.
@Neil As the newbie hints will tell you, no formatting/oneboxing/magic/whatever works for multiline messages.
@sehe It's a kind of greeting, used in English, uttered when meeting someone before midday.
 
@sbi Ah, that would explain it.
 
sbi
@ManofOneWay Ugh. He looks like the illegitimate son of a homosexual relationship between Bill Gates and Yokozuna Asashōryū.
 
9:19 AM
Who is that?
 
sbi
Goddammit!!!
2
Anyway, I got work to do today. Have a nice one!
 
@Pubby he was featured on ebaumsworld: ebaumsworld.com/pictures/view/1457
Only 298 weeks ago
 
Is "Diaper Guy" his actual name or just his job title?
 
It doesn't say.
@Pubby Knock yourself out for more information: tineye.com/search/0a617e7d4d6b5d69d4766655d4c1a32c982c3fed/…
 
Hmm, sean.jpg
 
9:29 AM
Sort by biggest change will give you all parodies. Sarkozy, Putin (?), Glenn Beck etc
 
@sehe oh right. :)
 
9:42 AM
lol
Nudity is fine here, but no naked pointers, please!..:P
Seem i am at Amazon, I have to ecape before night..:P
 
?
 
9:57 AM
INT_PTR ptr = (INT_PTR)time(0);
while(true) *(ptr++) = 0;
 
10:10 AM
@CatPlusPlus I've been reading through this doc, and it seems to be a way to get the windows positioned where we want under Linux. I will give it a go tonight if I can. I really want my windows to be centred on creation!
 
Yeah, there's a lot of talking with WM via those hints.
 
The main problem seems to be that they are just that, hints. The WM seems to ignore them. We can't even be sure windows are created at the size we requested
I did find a guide for full screen windows, but like (I think) I said, not sure if it is proper full screen, or maximised border-less
 
@thecoshman i think proper full screen is rather welldefined and honoured by most WM
 
> billy.h includes bobby.h, while bobby.h includes billy.h.
Dunno why but that cracked me up
 
the guide that I am following seemed to imply that full-screen is not that well documented. It showed me how to do borderless windows, which is one thing I we where after. Didn't get a chance to try out the rest of the guide though
 
10:23 AM
Not much to do but to issue the hints and hope for the best.
 
Well, you can't expect a tiling window manager to honour all requests 'hinted', that's more or less the point about having different window managers (Ratpoison anyone?)
@CatPlusPlus In my experience, though, window size is normally respected by all mainstream WM, even if it means the windows will run off the available screen estate
 
Xmonad!
 
From what I can gather, the article I linked to seems to be suggesting a sort of work around. I think it is fudging it by making it look something else is trying to move our window
I could be mistaken though
 
10:39 AM
Let's not fight WM.
 
Please Don't Learn to Code <-- big round of applause here, please
6
 
@CatPlusPlus but centred windows :(
oh @cat, could you add an example app that will exit when you press something like 'Esc' so I can I test things a bit easier
woah, I thought I could type better than that
(╯°□°)╯︵ ┻━┻
 
Change return !std::is_same<T, glskel::events::window_closed>::value; to return !(std::is_same<T, glskel::events::window_closed>::value || std::is_same<T, glskel::events::key_pressed>::value);
 
that will close on any key press, right? that will do for now
 
@CatPlusPlus nice, natural code. I remember seeing some less crufty code with glskel before?
 
10:54 AM
Key events need some work anyway, I need to make my own virtual key codes.
 
well, obviously you wouldn't want to do a 'any key pressed or window closed' event listener
 
You should normally overload operator() of the visitor for different types, this is lazy example. :P
 
May 1 at 15:51, by Cat Plus Plus
> auto window_factory = glskel::make_window_factory();
> auto window = window_factory->make_window(window_template);
vs
> core::display display;
> core::window window(display, window_template);
simplification is a viable goal :)
 
Yeah, that. I'm restructuring the project, too.
But I have a not-so-easy assignment ta do, so it'll have to wait.
About this thing.
Convex/linear programming, specifically.
Well, convex, target isn't linear in this one.
 

« first day (577 days earlier)      last day (4372 days later) »