« first day (561 days earlier)      last day (4386 days later) » 

10:00 PM
I want the ability to bite off my enemies's eyelids.
 
Lazy is good. Functional is good.
 
I say HP, but I mean stats.
 
"Enemies'" looks better.
 
I don't know how DF works.
Enemas.
 
It simulates every single organ and tissue layer.
 
10:00 PM
@RMartinhoFernandes OMG, forward declarion in header and then complete #include in cpp WORKS! :) Will you marry me ?
 
@CatPlusPlus Not inside double quotes.
 
And tracks damage to them.
Lol.
 
Character is made of organs which is made of cells. Attacks are directed to either character, organs or cells.
Biology, the game. :D
 
DF 2014.
 
@StackedCrooked You can actually direct attacks at organs in DF.
 
10:02 PM
And radiation damages at the molecular level.
 
What is DF again ^^ ?
 
@RMartinhoFernandes What the hell?
 
Dwarf Fortress.
 
@RMartinhoFernandes I thought DF was a city building game.
 
@StackedCrooked I wasn't joking about that "biting eyelids off" thing. That is currently possible.
@StackedCrooked What good is a city without war?
 
10:03 PM
But usually war in civ games use "army" as the smallest unit.
 
It has roguelike mode.
 
Not "eyelid".
 
@RMartinhoFernandes I had nuclear reactors in the first sim city, not a siemens SCADA system in sight.
 
@RMartinhoFernandes Is "biting of eyelids" simply a type of attack in a large list of attacks with varying amounts of HP damage?
 
10:05 PM
What is it then?
 
It's an attack with your teeth aimed at enemy eyelids, which may result in said eyelids becoming removed.
 
Impressive.
 
Fourth toe, fifth toe, really ? :D
 
(This was after a bit of fun modding, so that adventurer is actually still alive.)
 
10:07 PM
@CatPlusPlus That system icon looks like the KDE apps on my windows installation, coincidence?
 
@ScarletAmaranth Really.
@CatPlusPlus lol @ awesomium.
 
@CatPlusPlus So the body is composed of body parts. Body parts can be wounded. Ability (e.g. walking speed) can be compromised by wounds on relevant body parts.
 
@CaptainGiraffe It's the default icon for windows.
 
Do dwarfs have 5 toes ?
 
@CatPlusPlus TIL
 
10:08 PM
Are constructors of static globals supposed not to be called when using static libraries? I'm having a very weird issue here. It does work on Ideone.
It doesn't work on my machine. I get no output.
 
@StackedCrooked Yes. This dwarf is missing hands and legs, so "Ability to grasp lost", "Ability to stand lost".
 
Cool.
 
Hi
 
It's like in real life :)
 
Got a stupid question.
> Allocate an array of 100 integer pointers and assign the resulting pointer to the appropriately declared variable, ip_arr. Allocate 100 integers and assign the resulting pointers to the elements of ip_arr. Initialize each integer value to -1.
 
10:10 PM
God, a stupid question.
:p
 
Why is this wrong?
for(int i=0; i<100;i++){
  ip_arr[i] = new int(-1);
}
What's the right way to do it?
 
You are using new, that's why it's wrong. And postfix increment.
 
Yeah, don't touch new.
 
// Allocate an array of 100 integer pointers
int * ip_ar[100];
 
10:11 PM
@Moshe Seems to me it meets the requirements stated. But it uses new which is bad.
@StackedCrooked I've seen DF described as a life simulator before (well, a work-in-progress life simulator).
 
@StackedCrooked nice one.
 
@Moshe Homework right?
 
(That's how town assaults end.)
 
@CaptainGiraffe Yup.
 
Or maybe it was bogeymen.
 
10:12 PM
@Moshe invite your teacher to this room and we'll teach him C++.
 
We were told to use new with arrays though... What's a better way to do it?
@classdaknok_t Um...
 
@Moshe Screw "new" really.
 
Anyone can complain, what's the right way?
 
You still need to learn new even if you're not gonna use it.
 
@Moshe It is designed to teach you that a pointer can point to an array as well as an individual integer.
 
10:13 PM
That's aimed attack.
 
@Moshe std::vector<std::unique_ptr<int>> is the right way, but if you want to use new, use auto foo = new int*[100]; for (size_t i = 0; i < 100; ++i) { *(foo[i]) = -1}
 
@Moshe It's right.
 
For some reason my code segfaults.
 
@classdaknok_t Wrong.
 
@RMartinhoFernandes meh.
 
10:14 PM
I bit that bird in the tongue.
 
Ah, ok.
 
Next try:
 
@Moshe What's ip_arr?
 
StackedCroocked showed you the code for allocating the pointers. Each pointer needs an integer to point to. The easiest way to get 100 integers is int i_arr[100]; the pointers to each of these are &i_arr[index]. Or you can create then with new, but then you have a mess to delete.
 
@RMartinhoFernandes integer pointer array
 
10:15 PM
Nevermind, looks like I wasn't allocating the array. Stupid me.
 
> You bite The Stray Guineacock in the head, tearing the fat and bruising the muscle and shattering the upper spine's bone and bruising the nervous tissue! You latch on firmly!
 
@CatPlusPlus You're mortally wounded!
 
@RMartinhoFernandes And still alive!
I think I modded out bleeding out.
 
It's fun!
 
10:16 PM
I think bleeding out to death is fun.
 
It funner when you can bleed to death.
 
@Moshe something like this? Or allocate it statically.
 
Hello <explodes>
 
> You shake The Stray Guineacock around by the head, tearing apart the head's muscle! An artery in the head has been opened by the attack!
(Still holding it in teeth.)
 
@RMartinhoFernandes Thanks again btw, I would have continued with the retarded merged header if it weren't for you ...
 
10:17 PM
Ooh, I still have arms.
 
@CatPlusPlus Is it a modern NetHack? The website is kinda hard to read.
 
@ScarletAmaranth merged header?
 
It's DF.
 
@stdOrgnlDave Yeah, i made an utterly retarded cyclic dependancy ...
@stdOrgnlDave After which i wasted 3 hours trying to make it work ... almost stabbed myself in an eye with a fork ...
 
@ScarletAmaranth how does one even create a cyclic dependency? I mean, short of having @RMartinhoFernandes write you pointer template code
 
10:19 PM
> You bite The Stray Guineacock in the upper body, tearing the fat and bruising the muscle and bruising the gizzard!
 
@ScarletAmaranth You can do that in DF!
 
What the hell is gizzard, anyway.
 
@CatPlusPlus Stomach.
 
@CatPlusPlus the guts
 
@RMartinhoFernandes IM GETTING THAT GAME! :)
@RMartinhoFernandes I've always wanted to stab myself in an eye with a fork :P
 
10:20 PM
I
 
@stdOrgnlDave Well, short version, i had Character that required Ability and Ability that required Character ...
 
@ScarletAmaranth and you resolved it how? a simple forward declaration?
 
> You bite the Stray Dog in the head, tearing the fat and bruising the muscle! The Stray Dog has been knocked unconscious!
Some mighty teeth there.
 
@stdOrgnlDave Not quite, forward declaration wasnt enough since i needed a compelte type. But then i fixed it by both forward declaring and #including together.
 
@CatPlusPlus How much is your biting skill?
 
10:21 PM
@stdOrgnlDave I didn't know i could do that ... i have forward declaration in header and #include in cpp
 
Adequate.
But Legendary Wrestler.
And Fighter.
 
I'm going to test a legendary biter in the arena.,
2
 
Insta-star
out of context win goes to @RMartinhoFernandes
 
> You scratch The Stray Cat in the head, tearing the muscle and shattering the skull!
Ohohoho.
 
@CatPlusPlus You seem to be enjoying it :)
 
10:23 PM
why is it that whenever I pop out an arrowhead I never have an insert around? hmph?
 
> Assume the existence of a class Arr with two (public) data members: a pointer to integer named arr_ptr, and an integer variable named length that will contain the number of elements in the array. Assume the variable a has been declared to be of type Arr, an array has been allocated and its pointer assigned to arr_ptr, and the corresponding value assigned to length.
> Write the code to allocate a new array with twice the number of elements as arr_ptr, copy the values of arr_ptr's elements to the beginning of the new array, assign the pointer to the new array to arr_ptr, and assign the appropriate value to length. Declare any necessary variables.
 
And just bit a dog's tail off.
 
ef
@Moshe I don't like to make assumptions
 
@Moshe Did you say copy the contents of the array ? Sorry i dunno what that is :)
 
Heh, ok.
 
10:25 PM
One does not simply copy arrays around ...
 
One does.
 
A human just bit my eye.
 
@Moshe This would be overkill. (And possibly wrong since I just wrote it in a rush.)
 
I do it all the time, I'm totally bohemiana like that
 
10:25 PM
I notice the assignment doesn't require destroying the leftover stuff :|
 
One does move the arrays around ;)
 
@StackedCrooked Mwahaha!
@LucDanton We discussed that in class.
 
Do eet for extra credit.
 
Or loose points for doing more than what was required. Depending on the prof's philosophy.
 
@Moshe what was the conclusion?
 
Ooh, I'm bleeding.
They finally managed to get through the awesomium.
Every organ is red.
 
@CatPlusPlus so I get that you're a cat, and thusly are endlessly fascinated with stupid internet memes. but what's so great about this thing where apparently they took 100 memes and turned it into a battle simulator?
 
What memes?
It has nothing to do with memes.
 
meme means grandmother in Flemish
 
10:29 PM
@StackedCrooked that is precisely my point
 
I know.
 
I don't know why @CatPlusPlus is involving the Flemish grandmothers
 
Oh, I've stopped bleeding.
Guess that wound isn't mortal enough.
 
@CatPlusPlus ):
 
@classdaknokt That smiley face is just wrong ...
 
10:30 PM
he's arabic, don't hold it against him
 
Lol my attackers start to faint from exhaustion.
 
they have smiley faces too
 
💩
 
OK can someone link me to this thing that @CatPlusPlus is quoting like it's catnip?
 
Sounds like an RPG. :-/
 
10:31 PM
Hmm, can't spawn legendary biters on the arena for some reason. Best I get is grand master biter.
And stupid grand masters don't even bite each other. They're fighting with punches. Stupid dorfs.
 
Guess they have brain problems.
 
One of them broke the other's teeth. A defensive countermeasure I think.
 
I'm just lying on the ground, entering a martial trance once in a while.
Just skipping turns to see if that dorf is actually immortal or not.
I think I need to find more competent attackers.
 
are you guys actually going to make me scroll for a link?
 
These just stab, stab, stab and then faint.
 
10:33 PM
@CatPlusPlus Out of exertion?
 
Yeah.
 
oh my God are you guys playing dwarf fortress? srsly?
 
If only I could spawn the dorfs armless and legless, maybe they'd bite each other.
 
This is highly likely to be a stupid question but is there anyway of copy and pasting multilined notes without including all those pesky asterixs'?
 
10:34 PM
Modding time!
 
@Deco I have no idea what you're talking about.
 
@Deco I concur with @RMartinhoFernandes, he has no idea what you're talking about
 
@CatPlusPlus I'm going to try a more scientific approach: spawn a dorf with an axe and hope he cuts the arms and legs of the others off.
 
@deco I concur with @stdOrgnlDave concuring with @RMartinhoFernandes who has no idea ...
 
Eh, this is boring. Let's give in to starvation.
 
10:36 PM
anyone here play hero academy on iOS? I suck so you can pound me into the ground
 
/**
*Here are some
*notes I would
*like to copy and paste them without the little stars
coming along
*/
 
Remove the stars first, duh.
 
Sure, write a simple script :)
 
Or you know, use vim.
 
find-and-replace, replace * with nothing
 
10:36 PM
Or that ^^
 
come on, nobody plays Hero Academy? losers
 
Xeo
Oh boy, what a weekend. 2 player LAN with 13hours of D2 and another... 22hours of DS2, not yet having finished the latter.
 
@stdOrgnlDave do you play Minecraft?
 
That's what weekends are for.
 
Ye I tried that and there's all these new lines I don't want. It seems petty but I'm in the middle of pasting all my comments in a huge program into a word document so deleteing all the stars and new lines takes ages.
 
10:39 PM
@classdaknokt used to, got tired of it, yeah I was on a few servers
 
You suck.
 
@Deco there are newline deletion features in Word, look it up on the internets
Then replace newline* with a space
Problem solved
sorry, I mean there's a way to find-and-replace newlines
 
Vim macro.
Shift-J to concat
 
@Deco you could program a custom OS in emacs to do it for you. go get an O'Reilly book on Lisp and start at it
 
Thanks I'll have a look.
 
10:42 PM
Or, in Perl, one line:
*@.(*n)R
(I don't know Perl, it all looks the same to me)
 
Paste a screenshot in Word.
Maybe I'm just kidding. Depends on how it works out.
 
Word?
Tomorrow I will introduce Daknoksoft Office Sentence!
 
On vim, :%s/^\s*\*//.
 
Followed by Daknoksoft Office Paragraph!
And Daknoksoft Office Chapter, and so on…
 
@RMartinhoFernandes What does \* mean?
 
10:47 PM
@StackedCrooked It's escaping an asterisk.
 
facepalm
 
TIL: http://stackoverflow.com is valid in a function definition in C++.
 
It is. http is a label.
The rest is a comment.
 
A function definition needs a signature and {}s.
 
10:50 PM
No. A function body can be = delete instead of ` {…}`.
 
A function definition braces itself.
 
= delete is a definition?
 
Yes.
 
It's the function body.
 
Any other ways to avoid {}?
 
10:51 PM
@classdaknok_t Well, your example still lacks a signature :P
 
= default isn't, because constructors and destructors aren't functions, am I right?
 
@Pubby #define BEGIN {!
 
Doubt this works: void foo() try; catch(...);
 
@R. I said in a function definition, not as a function definition.
 
@classdaknok_t operator= can be defaulted.
 
10:51 PM
@StackedCrooked Btw, i started learning some basics of Japanese, I like they way they make questions :P
 
@classdaknok_t Uh, oh, sleep time I guess.
 
With ka :D
 
@ScarletAmaranth lol, I'm not going to sleep now.
 
10:52 PM
@R. nah, weekend.
 
I only meant that I probably should be doing so right now.
 
I went to sleep at 5 in the morning and woke up at 22h.
 
And I really should, but I'm busy wasting my time on the Internet.
 
@classdaknok_t I suspect they are. = default; can result in a definition, but not necessarily for the 'declare as = default; on firt use' version. Such a declaration can end up with a special member that is implicitly deleted, and in this case it's not a definition. IIRC.
 
Oh wait it isn't weekend anymore fuck. Oh well it's Holliday.
 
10:53 PM
@classdaknok_t It is a weekend here.
And tomorrow we start working.
 
First of May is a national holiday in Belgium.
 
template<typename T> struct foo { foo() = default; T t; }; e.g. foo<U> where U is not default constructible.
 
Meh fuck this language.
@StackedCrooked last of April is a holiday in NL.
 
@StackedCrooked I read mostly about general stuff, I've always thought it's more complex ... If i understand correctly, there are no "genders" on nouns and also only two tenses o_O ?
 
Queens day! Which I don't care about.
@ScarletAmaranth Dutch has genders and more than two tenses. Or are you talking about Japanese?
 
10:55 PM
@ScarletAmaranth No genders. No "the". There are many tenses: present, past, present negation, past negation, want-to negation, wanted-to negation, ..
 
@classdaknokt I'm talking about Japanese, why on Earth would i ever learn Dutch! :)
@StackedCrooked Yeah but that's only present and past ? How do they represent future then ?
 
@ScarletAmaranth present tense.
 
@ScottW where are you from? England?
 
They say "Tomorrow I work" instead of "Tomorrow I will work."
 
Cool.
 
10:56 PM
Tomorrow, I work.
Today, I rest.
that wasn't too hard :-(
 
@StackedCrooked Shiny, we can do a similar thing in Slovakian. I think i'll stick to learning the basics at least.
 
One thing I like about Japanese is that you don't have plurals FAIAK.
 
oh lordy
you mean you don't stick s's on the end of things? haha
 
@ScottW one week to go, then final exams.
 
@ScarletAmaranth Here's a strange thing: Sometimes you need to conjugate the adjective instead of the verb.
 
10:57 PM
After this holiday.
 
I want to talk about code, I wish somebody in Lounge<C++> wanted to talk about code
2
@ScottW what happened? is your senior year going poorer than you expected?
 
@ScottW I can't wait till I'm done with this evil place of doom.
I hope Hogeschool Rotterdam will be fun, despite Java and PHP.
 

« first day (561 days earlier)      last day (4386 days later) »