« first day (1334 days earlier)      last day (3617 days later) » 

12:00 AM
also in c++ with cocoa2dx
 
@Jefffrey sure
 
right, but I never have
@R.MartinhoFernandes Yes, it seems messy and inconsistent
 
People that like Perl should be kept as far as possible from language design as a matter of public health.
8
 
so you have let vs var for static and nonstatic declaration
 
Gosh, don't use that word.
 
12:04 AM
but then a letted array is still mutable and will occasionally assign new references if you decide to change the length
 
Possible super nube: So I downloaded GLLoad and ran premake in the root dir. I then opened up the glload project and clicked build. It created a file named glloadD.lib, now do I add that into a dir under C++ -> General --> Addition Include Dirs for my VS project?
 
user3010322
I wonder if metatables can be destructed.
 
user3010322
In Lua.
 
1.An array accessed by a mutable variable (var mutArray = ...) is mutable
2.An array accessed by an immutable variable (let immutArray = ...) is immutable
Except that you can still make changes that don’t affect length (immutArray[3] = "Whoopsie")
3.Arrays and dictionaries are passed by value with deep copies of both. However the Swift book goes on to say that Array.copy() performs a shallow-copy, before finally adding you might want to call Array.unshare() to ensure you have an unshared array.
4.To mitigate the cost of shallow array copying , copy-on-write is used for arrays. But this follows the same rules as in (2) for immutable references, so you’ll force a copy by writing arrayParam.append(42) but you’ll mutate the array in the calling code by writing arrayParam[3] = 42
 
@ThePhD metatables are just tables
they are not special in any way
 
user3010322
12:10 AM
So do they call __gc on themselves?
 
a table can be a metatable of another table
if a metatable handle is the sole handle for that table, then it will run __gc, yes.
@NoahHuppert libs != includes
 
Swift requires explicit declaration of mutable members of struct but not a class
 
swift is bad hth
 
@BartekBanachewicz Derp, so I add the includes dir for glload. But what do i do with that .lib?
 
add it with a linker...
 
12:15 AM
add the lib directory in vs
as a library directory, not header directory
 
@NoahHuppert add the folder to additional library directories, then add the lib itself to additional dependencies
 
you include source you link libs
 
Ok so glload/lib --> Addition Library Dir, .lib --> Addition dependencies(Possible Brainsplosion, im bad at this stuff)
 
pretty much
 
Ok it all makes sence now. And I add glload/include as a an addition include dir. K brain = unexploded. Thanks guys
 
12:21 AM
@BartekBanachewicz did you check out E3?
 
@Borgleader OMG on another note, No mans sky!! hype hype hype
 
lol
I can't believe 220k+ people are watching smash right now :D
 
me neitther
what's smash?
 
@NoahHuppert YUS No man's sky looks really good
 
okay. from the briefs in google results, "smash" === "glee"
@Jefffrey so you noticed the bratek has schizophrenic episodes
 
12:34 AM
0
Q: Allocate memory

RouchI have 2 empty pointers float **matrix; float *vector; int size = 10; function that allocate memory void allocate_memory(int *size, float **matrix, float *vector) { vector = new float [*size]; matrix = new float *[*size]; for (int row = 0; row < *size; row++) { matrix[...

seriously a cursory google search wouldn't have killed this guy
 
@Mgetz 2 star programmer. Nothing to see over here folks.
@Mgetz int *size is the best part
 
oh I know
it's also a duplicate of a basic "how do I allocate memory in C++ question"
and it's gone
 
@ThePhD given enough force anything can be destructed
 
12:51 AM
take hammer to ram
 
You wrote: "if (hWnd is the one you want)" how can i get it? — Kosmas Papilis 7 hours ago
 
@EtiennedeMartel did you watch e3?
 
@Borgleader Not that much.
 
where do we go to request that a post moved from one forum to another?
 
HI FROM A BAR
 
user3010322
1:01 AM
Is there a owning_or_reference<T> type?
 
@LightnessRacesinOrbit HI FROM AFAR
 
user3010322
@Borgleader HI FROM A STAR
 
user3010322
Hm.
 
user3010322
Guess I'm making maybe_ref<T>
 
damnit the way i setup my spirit rules for operator precedence doesnt fit my data structures... have to start over T_T
 
user3010322
1:03 AM
Mmm.
 
user3010322
Spirit sounds brutal.
 
@Borgleader Game marketing, especially big budget game marketing, somewhat pisses me off.
 
user3010322
I dunno, I like it when it's not so cheesy.
 
So I downloaded the prebuilt glfw binaries and I did all the VS setup stuff(include dirs, and lib dirs) and I now have a bunch of Unresolved external symbols...
 
user3010322
Like what Nintendo did this year was extremely creative.
 
user3010322
1:04 AM
@NoahHuppert Guess you're fucked. :D
 
@ThePhD YAY
 
@LightnessRacesinOrbit What a good premise.
 
@ThePhD lol derp. I'm using opengl, so it would make sense to include the opengl lib right? Past me did't think so. Including opengl32.lib fixed it.
 
-3
Q: C# - Make CPU and Physical Memory hit 100%?

user3639017This is a weird question, but I was wondering how I could make CPU and Physical Memory hit 100%. What would be the fastest way to do this? Thanks!

 
1:26 AM
@Mysticial OP looks like he's 12
 
Script kiddie. :)
 
Smash Invitational was pretty good
2.5 hours long
 
yknow whats not pretty good?
me at spirit =/
 
You guys are from the internet, has anyone seen somebody sign their emails with "<<.......>>"?
 
we are from internet?
 
1:40 AM
we are
 
yeah
my mom has an intern that signs her emails with that, we're trying to figure out what it means
 
why don't you ask him?
How would we know the intentions of a human being we don't know?
 
I'm from italy btw, not from the internet.
 
i think she doesn't want to look old
we figured it had some emoticon like meaning
but maybe not
 
wwwaaattt. glViewport() isnt defined. I called bs.
 
1:55 AM
gl::Viewport if using glload
iirc
 
civ 5 has this learn-by-playing mode where you start a real game and you get all sorts of help along the way
couldn't drop it for almost 4 hours
fun stuff
I started conquering shit as russia
 
@R.MartinhoFernandes Whaddup.
 
oda nobunaga was like pls catherine senpai dont kill
yeah sure you're my bitch now, bitch
 
Xeo
> So German basically has two settings, kawaii and metal, and there is no in between.
lol
also, I should sleep
 
user3010322
@NoahHuppert None of the functins present beyond like, opengl 2 are present if you are just using the regualr opengl32.lib and friends.
 
user3010322
1:59 AM
You need to get a more sophisticated library like glload
 
user3010322
that will get the functions and put them in for you.
 
@ThePhD using glload, but then getting confused when I look at tutorials and its like use "glViewport(...);" and I'm just sitting there all confused because its not defined.
 
user3010322
6 mins ago, by Borgleader
gl::Viewport if using glload
 
user3010322
glload's default is a C++ namespace without the "gl" prefix on the function names.
 
@ThePhD 1.1
The API is frozen at 1.1
Or 1.2 if that was a thing don't remember
 
user3010322
2:03 AM
I don't think they could rightly provide more than that, could they?
 
user3010322
It's all based on your drivers.
 
Hmm. So pretty much, look at tutorials, assume outdated, bash head against keyboard.
 
Xeo
Love my gold-hammer.
 
Boom: coliru.stacked-crooked.com/a/5d40a22d0dd020c0 (I'm tired now...) Several optimization tweaks already come to mind. — Mooing Duck 3 hours ago
 
Xeo
2:04 AM
And now, g'night
 
original boom
@Xeo g'night man
 
@Collin whats the ... ?
THose are italian quotation marks
so whatever is ...
 
it's a literal "..."
 
its in quotes
<<...>>
EOF
 
2:09 AM
If her name was Jenny, the sig would look like:

From,
Jenny <<.......>>
 
Those are quotation marks in French.
 
interesting
 
They are censoring their last name
its a state secret
 
haha
 
russian as well, not always used, but not unheard of
 
2:10 AM
my mom's speculation was some sort of big grin
maybe it is an emoticon and she's just running into some unicode error that's becoming ....
but I guess the number of dots varies from email to email
 
I was about to say
unicode error
Maybe its a spot for signatures if they decide to print it out
 
I always print and sign my emails to send them by post
just in case you know
 
pgp or some other cert that the browser is ignoring
fuck it just ask them
 
I think that's what she'll do.. the girl is like a business or something major, she works at a publishing company
doubt it's PGP
 
Last stupid idea
email signature is automatically inserted by mail app
they didnt fill out a field
or left ...
 
2:16 AM
could be, but I guess the number of dots varies from email to email, so I'm guessing she types them
 
@Collin What
@crasic What
 
43 mins ago, by Collin
You guys are from the internet, has anyone seen somebody sign their emails with "<<.......>>"?
 
Both of your ideas are dumb hth
 
It doesn't matter
it affects noone
I'm enjoying coming up with them
and on the off-case I'm right
well, then I'm a genius, per the nostradamus effect
 
2:43 AM
sup guys, could you spare a close vote? stackoverflow.com/questions/24152959/…
 
@Jefffrey thank you
@EtiennedeMartel holy hell
 
3:04 AM
ITT I feel like to maul people, dumb regulations
 
3:50 AM
 
4:11 AM
sugar sweet OP song fitting for Romeo & Juliet anime :)
 
For some people.
 
you have better?
 
Can't expect us to unanimously say yes.
 
nope, just linked it :)
 
of course :)
Googling for "best vocals ever" shows a list of artists.
 
4:36 AM
any goood/surprising results in the list?
 
Whitney Houston :)
 
@StackedCrooked she sings good though
 
I agree.
 
gonna listen to Elvis now :)
He is pretty much the definition of a cool human
 
but I probably posted that before
 
4:47 AM
first time I heard him
 
@JohanLarsson my mom loves that
 
easy to find worse than Elvis imo, don't listen to him often though.
 
5:09 AM
 
 
2 hours later…
7:03 AM
o/
 
7:25 AM
fffff &^$&%^$#!!!
things are not going according to the plan after such a long waiting period!
 
Ven
hai people
 
Not happy!
 
user1804599
7:37 AM
hi there
 
user1804599
@ScottW They are on Slack. Ping the Cat.
 
Ven
@rightfold oh, you guys met up ?
das cool
 
user1804599
Not me.
 
user1804599
But Xeo-senpai and thecoshman did!
 
user1804599
And some other nerds.
 
7:41 AM
I can't believe I spent so much time talking to that guy in the c room
 
user1804599
@StackedCrooked Ga eens slapen.
 
Ven
Alrighty alrighty.
I fixed my make ! Yay.
 
@VáclavZeman Look at the first problem.
Chrome didn't even try to use the GPU.
 
Hmm. The bottom of the page (which is missing from the screenshot) said the Chrome GPU process has crashed.
 
user1804599
7:51 AM
@VáclavZeman Install 3D graphics shit.
 
user1804599
Dunno how it works on Linux but you have to install it.
 
@rightfold I have shit installed. :) I can play Steam's DotA II just fine.
Alright, I have toggled some chrome://flags and restarted. Now it is all green. Let's see how long it will work. :)
 
Ven
alright, it had been far too long I posted an answer on SO.
 
user1804599
There are none. — FUZxxl 22 hours ago
 
user1804599
hehe :)
 
Ven
7:57 AM
go -- only a face a mother could love.
"map[string]interface{}" and people criticize LS !
 
user1804599
Go's type syntax is pretty sane.
 
user1804599
Go's syntax in general.
 
user1804599
interface{} is the empty interface, which is implemented by all types since all types implement all of the empty set of methods.
 
Ven
I prefer igo Kappa
 
user1804599
What is igo Kappa?
 
user1804599
8:00 AM
Kappa calculus.
 
Ven
igo. sorry -- a habit.
It's too sane. Ridiculously so
 
user1804599
What is igo?
 
Ven
whitespace-sensitive go
 
user1804599
Meh, significant indentation in a language that allows multiline lambdas.
 
ping @CatPlusPlus ... but is it?
 
user1804599
8:08 AM
Besides, I never indent my Go code manually. I just type an unformatted mess and hit Control+S and gofmt fixes it for me. With significant indentation that's not possible anymore.
 
layout-compatible types and aliasing:
/*
 * Where in this program are we accessing the _stored value_
 * of `b.y` through something other than a glvalue of type int?
 * */

struct A { int x; };
struct B { int y; } b { 1024 };

int main () {
A * ptr = reinterpret_cast<A*> (&b); // (1), same value representation/alignment, guaranteed.

int& ref = (*ptr).x; // (2), not accessing the _stored value_ of anything,
// merely forming a reference to an object

int val = ref; // (3), accessing `b.y` through a glvalue of type `int`, safe
}
now, those saying that int val = ((A*)&b)->x isn't well-defined; what are your arguments?
@sehe ^
 
Ven
@rightfold get better tools
 
@FilipRoséen-refp You know, I stopped caring for many forms of language lawyering, and your brand of it in particular :/ I hope that's no offense to you
 
@sehe I doesn't, I merely thought that the little bit of language-lawyer still active in you would have some thoughts regarding the matter
 
@FilipRoséen-refp FWIW I think there's a certain lack of offset_of in that code that makes me wonder, but I haven't looked beyond the struct declarations
 
user1804599
8:12 AM
@Ven such tools are impossible.
 
Ven
@rightfold impossible ?
 
user1804599
Uh, yes.
 
user1804599
You still have to indent correctly yourself.
 
user1804599
You cannot just move a brace to another place and expect igofmt to fix the formatting for you. You have to unindent stuff manually.
 
Ven
I don't mean with igo -- sorry, I wasn't clear.
I meant with go -- no reason to do a "mess" -- good tools wouldnt let you do a mess
 
user1804599
8:15 AM
The mess is a non-issue since it's automatically fixed the moment I hit control+S. :v
 
@sehe why would you say that?
 
user1804599
And I have to hit control+S anyway so it's pretty convenient.
 
Ven
What are you, a ctrl-s spammer ? Damn these web developers
I don't want my code to be a mess at any point
 
Xeo
Why are you assuming only webdevs spam ctrl-S?
 
it's a noob tactic to make up for poor tools
 
Ven
8:17 AM
^
 
Xeo
Err
 
I don't spam ctrl-S in VS because that shit backs my work up like every two secnds.
 
Xeo
Riiiiight
 
Ven
@Xeo I'm not assuming only webdevs do, but from experience, web developers do it a lot more
 
you can say a lot of bad things about VS
but it never loses your work even if the machine crashes and you didn't save.
 
Ven
8:18 AM
IntelliSense works okay
 
Xeo
It's just a habit for me to hit Ctrl-S after basically every line.
 
user1804599
I hit ctrl+S practically after every line.
 
user1804599
Or well, ctrl+X, ctrl+S.
 
@FilipRoséen-refp mainly because in my head I tied stdlayout structs to the offsetof operator. And I usually just stay away from iffy code constructs. If I cannot avoid them I'll simply have excellent test coverage (cross compiler/platform/config) and trust that.
I might even inspect assembly to verify that there's no surprise, but honestly, at that point I might just (a) drop the feign of strong typing (b) write assembly
 
Ven
I don't hit that much now that I'm using live reload
 
8:18 AM
@rightfold that's bad
 
user1804599
@sehe Why?
 
because it's too many keys
 
user1804599
Obviously with ctrl I'm referring to remapped caps lock.
 
@DeadMG cough
 
user1804599
@sehe For you, not for me.
 
8:19 AM
@rightfold not fewer keys
 
user1804599
@DeadMG any decent program does that, really.
 
Ven
ctrl is probably the worst key, placement-wise.
@rightfold I'm looking for a good one
 
@sehe even with the implied usage of offset_of we would still be in the clear, we are not accessing the stored value that a pointer is referring to (ie. the object at the address in the pointer) by incrementing the pointer
 
Ven
on win or osx
 
user1804599
On OS X almost all programs do it.
 
user1804599
8:20 AM
With versioning even.
 
@Ven vim with undofile
 
@rightfold Hence, I said that spamming ctrl+s is just making up for bad tools.
 
user1804599
And persistent undo.
 
Ven
-- I mean remapping caps lock
 
@rightfold that's one of the few likable features in OS X
 
Ven
8:21 AM
mb
 
user1804599
@DeadMG No, it's a habit.
 
@Ven :D
 
user1804599
Even when it's not necessary (it isn't) I still do it because I'm used to it.
 
Xeo
@Ven For Windows, there's a registry rewrite to do it
 
a habit of making up for bad tools
 
8:21 AM
@FilipRoséen-refp Like I said, I didn't look beyond the structs
 
user1804599
@Ven In OS X it's in keyboard settings under "special keys."
 
Ven
@Xeo eeerm :/
 
user1804599
@DeadMG plunk
 
Xeo
@DeadMG Oh shut up.
 
@DeadMG It's funny if your high horse is also a hobby horse
 
Ven
8:22 AM
@rightfold "modifier keys", but thanks !
 
user1804599
Uh yeah.
 
user1804599
I consider those special. :P
 
Ven
you're the special one
 
user1804599
Xeo is :3
 
I am so annoyed at the moment it is not funny
 
Xeo
8:23 AM
I'll have no part in this!
 
s/X/N/
@chmod711telkitty you're never funny
 
user1804599
@Xeo :[
 
user1804599
@sehe Xeo4j
 
ew
 
Ven
^
 
Like I said
 
user1804599
I do not like what you said.
 
Also. Disco balls. 'Nuff said
 
Polar bear skin with fur on must be warm
 
8:28 AM
, Luke
 
user1804599
Lick my disco balls baby.
 
Oooh yeah. Fondle, nibble, gently bite,
Never will I out of spite
Polar-venge thee, or smite
 
Ven
DUDUDU
 
user1804599
ちんもくばか
 
Nah doesn't work even with the edit
 
8:32 AM
我爱你 像老鹰爱小鸡
 
wrong language. also, wrong bird
 
I speak gibblish
I also speak trollish
 
Tell me more
 
But I can't do either well tonight because I am so freaking annoyed
 
Keep on being annoyed.
Being annoyed > being annoying > Bejing
 
> You attempted to reach enauczanie.pg.gda.pl, but the server presented a certificate issued by an entity that is not trusted by your computer's operating system.
heh
this is an everlasting joke.
also hi
 
"I implemented custom method which is responsible for providing the same functionality and it is much more faster" - if you showed this we might explain why it is faster (and also, whether it is correct) — sehe 1 min ago
@BartekBanachewicz dat stock photography
 
my OS > yours
 
ah that
I go directly to moodle so yeah
Anyway our uni's website is a total joke
for how much it did cost.
they have like changing the font size
 
8:45 AM
that's good
 
that's how we roll with website accessibility here.
@sehe no, that's dumb as hell
 
:D
It's meh. It won't cost tons. Save your breath.
 
you're supposed to describe the content semantically, and if the viewer wants to alter the presentation he/she should be able to by zooming the page/enlarging text on the page
@sehe I bet they charged more than I earn in a year for that feature.
 
Xeo
Hm, Meeting C++ in Berlin this year..
 
Ven
but then, you're a student :P
 
8:47 AM
and?
 
@BartekBanachewicz that has nothing little to do with font sizes, though.
 
Ven
students usually don't make as much as professionals do.
 
A little more with dick sizes
 
Ven
and with disco balls size
 
...
on an unrelated note.
when the pages are going to show x86 software in "legacy" parts.
Windows should display a warning each time you install an x86 app, that might convince developers to transition eventually.
 
8:51 AM
I've used gcc 4.8, 4.9, clang 3.4 and on Coliru clang (because gcc is too slow there...). I just retested on Ubuntu 13.10 64bit, gcc 4.8.1 (stock) (PS. it might be surprising, but if you hand me a piece of recently worn clothing, or maybe a piece of the compiler message, my psychic abilities would really be boosted)sehe 1 min ago
@Ven I was gonna say. But I was too busy being witty ^
 
hm
my semester ends if 5 days
anyone up for a game jam on... checks calendar
21-22th weekend?
Text-based only, 3 hours.
 
If I can hand in the hangman I did last week with my kid :)
 
well technically the entries have to be created during the jam
why not write another game with your kid, then? :)
I am thinking about making this one freeform, as in, no predefined themes.
 

« first day (1334 days earlier)      last day (3617 days later) »