« first day (493 days earlier)      last day (4458 days later) » 

9:00 PM
I'm working
I was always told "A byte was and still is defined as the smallest addressable unit." But the comments in stackoverflow.com/questions/5516044/system-where-1-byte-8-bit observe that a compiler could (and do) emulate that where the smallest addressable unit is much larger than that. I'm looking into that and the spec
 
I'm playing DF.
 
A C++ byte != system byte
@RMartinhoFernandes The succession game? How's it going?
 
@Pubby Population just increased from 15 from 44. I need to shift focus for a while and think about feeding all these people.
 
@RMartinhoFernandes I usually made 10-20 farm plots of 3 squares each, with varying types, and made everyone cook like mad
keeps em busy, and it's lightweight/expensive for trading
 
@Pubby Wait, is that a Lounge<C++> succession game?
 
9:04 PM
@LucDanton yes
 
@LucDanton Want to play?
 
Whoah!
Heh I'm not sure. Haven't played for a while, I feel like I'd bang my head against the interface and have to relearn it instead of enjoying the game.
 
@LucDanton I haven't played in a few years and found it easy to get back into. Maybe just a single season?
 
Of the 29 new migrants, about five are useful. Yay! Well, at least now I have enough haulers to keep the specialists of that task.
 
@RMartinhoFernandes I commonly make extras into soldiers/hunters until they die off. My roomie made them into masons, and crafted giant structures.
His masterpiece was a 29 "floor" pyramid with a tomb for his character in the middle, filled almost entirely with water.
 
9:21 PM
Myself I'm partial to pumps. Gotta need dwarfpower to keep them running.
 
@LucDanton pumps are good. Get strong dwarves that way, and they keep busy, easy to cancel when you need more manpower...
 
Most of all, you displace water? How could that go wrong!
 
I like my pumps on auto.
@LucDanton Water is for chumps.
Real dorfs pump the earth's blood.
 
when my friends and I did a succession game, we named a dwarf after each of us (replaced upon death, usually with a Jr. suffix). One roomie's dwarf we put in his own little corner with a pump for him to turn, and his own food and ale stockpile and bed, all right there.
@RMartinhoFernandes and ale
 
NEED MORE LAVA.
Lava waterfalls are cool.
 
9:23 PM
I've had bad luck with my sites regarding magma :( The one time I found easy access to it my fortress flooded with water due to rain or some such.
 
Well, not 'cool' per se, but you get the point.
 
Also, bauxite. (Did that change?)
 
@CatPlusPlus Now 7 more for a golden badge. :)
 
@MooingDuck The biggest structure I ever made was a large glass tower with a pump stack down the center.
 
For magma, dig down.
 
9:24 PM
Hi @MooingDuck. :)
 
Ignore troglodytes on the way.
 
@LucDanton Look for a volcano.
Then "something" went wrong.
@LucDanton What's wrong with bauxite?
 
@LucDanton I don't like bauxite, mostly because traders can only carry one bauxite earring at a time :/
 
@RMartinhoFernandes Not enough of it.
 
@LucDanton Glass is magma resistant.
Glass pumps all the way.
 
9:26 PM
I trade by deconstructing trading post.
 
@RMartinhoFernandes a lot of things are. Don't wood doors stop magma? Or some other bizzare wooden structure?
 
@CatPlusPlus I don't normally vote in tags outside of what I know, but have a +1 for only 6 more to 100.
 
@CatPlusPlus I start by that, but then you quickly have all this junk....
 
@RMartinhoFernandes Ah yes, didn't have that at the time. Moar pumps!
 
Wooden magma waterfall.
 
9:26 PM
Hmm, my 3 year old dorf is complaining of bad booze.
 
@MooingDuck AFAIK wood burns faster than dorfs.
 
Dorfs don't burn. They become elementals.
 
The thing about glass is that, unlike other magmaproof materials, it's practically limitless if you have sand.
 
And then the fortress burns.
 
I'm on the site selection screen. Are aquifers still 'extra fun'?
 
9:28 PM
Flooding the fort is always fun.
 
@LucDanton Yes. I tried like ten times, and I never managed to pierce one correctly.
 
@RMartinhoFernandes ah, wooden Wall, Floor, Ramp, and Stairs are magma immune
 
I think that's how much I liked pumps. "Maybe this one time I could pump my way through an aquifer."
 
Pumps all the way down.
 
@RMartinhoFernandes I just realized that your free-hand stars are at 170 now... nice!
 
9:29 PM
@LucDanton I tried with cave-ins mostly.
 
@RMartinhoFernandes found it. closed wooden doors, floodgates, and raised bridges are magma safe. Just don't open them.
 
Nothing like semi-controlled demolitions.
And smashed dorfs.
 
For greater good.
 
@RMartinhoFernandes wooden pumps are fine so long as they are never turned on
 
@RMartinhoFernandes IIRC at the time best practices was rings of pumps over rings of pumps, and you ended up either with a column going down or a cone (well, pyramid).
 
9:30 PM
"Ok, looks like everyone is out. Time to bust this small pillar holding thousands of tons of rock above me." BLAM!
 
Dorf physics.
 
Eeeek. What language is this?! elementals, dorfs, smashing, burning, cave-in, woorden pumps that are 'turned on' -- no kidding the room has gone mental
@RMartinhoFernandes Samson delusion
 
@sehe Room has gone dwarf.
 
@CatPlusPlus Do the projects in the wiki have to be open-sourced?
 
1 hour ago, by Mysticial
Do the projects on the showcase have to be open-sourced?
 
9:34 PM
@sehe Yeah, nobody answered me. :)
 
@DzekTrek hi
 
4 hours ago, by Mooing Duck
I hate my coworkers. This project has "GLOBAL.h", "globals.h", "GLOBAL.h", "Global.cpp", and "globals.cpp".
 
@Mysticial No, but we like open-source more!
 
@MooingDuck try winemaker, it is crazy handy ironing stuff like that out
 
Well, gotta go feed myself now. The hungry dorfs will have to wait. See ya.
 
9:35 PM
@RMartinhoFernandes just leave it running, it'll be fine...
 
@MooingDuck Lol.
 
@CatPlusPlus one of the six I successsioned with did that, turned out, it was fine. :/
 
@MooingDuck It'd probably pause when the next kobold thief is detected, which, judging from the rate it's been happening, wouldn't be too late.
 
@RMartinhoFernandes he just unpaused. Things ran from kobolds, but we had enough traps/walls to keep most of them safe.
 
everyone has gone berserk
`                                 ` ^^ ----> word learned from Duke Nuken 3D
 
9:38 PM
@sehe which one? "has"?
 
freaking markdown. Chat "you have less than 8 seconds to edit this post" Lol
 
@sehe try press "fixed font"
 
@sehe I used one big space character once that it didn't seem to eat.               Yep, this one.
 
@sehe didn't know berserk? It's a neat word
 
9:41 PM
@Abyx No that wouldn't have worked with both multiline and targeted response
 
@sehe But aligning text on a proportional font is fruitless unless you know the receiver's font.
 
@RMartinhoFernandes Ah. Thanks, I was using 0x00a0 which it doesn't eat but still compresses inside backticks. Yours was 0x2003
 
Ell
but I tell you what are fruitful. Grapefruit trees.
 
Unicode: a whitespace codepoint for every occasion!
 
That's why I don't mind I overshot by some margin on my browser: it'll be clear that it will be 'somewhere at the end'.
Anyway, it was obvious what word

gone
@MooingDuck Hah. I'm not a native speaker. Besides, you didn't know winemaker? More useful than berserk. But you can alias berserk=winemaker if you prefer
 
9:44 PM
lol
 
Hey. It worked. No more unsollicited/gratuitous plinks from Hoxy boy
 
What did you set up? A cron job with curl?
 
@RMartinhoFernandes why? Hacked up my first realworld javascript ever! I reckon it would be ill-advised for me to post those lines in chat :)
 
It took me all of 10 minutes including testing it on the sandbox.
 
9:48 PM
@sehe isn't it enough to put him on /ignore?
 
Hello everyone
 
@jalf This was more fun.
 
fair enough :)
I settled for the quick solution :)
 
@shookees Anyone with such an avatar needs more rep.
 
@sehe You were asleep. I was awake to witness and I tell you, it wasn't fun.
 
9:49 PM
I'm pretty newb with c++ and points but I'd like to know how to send one's values to another pointer
 
@shookees points? Do you mean pointers?
 
Sorry about that.
Again:
 
oh god, did I write points?
 
14 hours ago, by sehe
Do I owe you all an apology?
I was trying to reciprocate to @Hoxiebo, returning all those unnecessary plinks that he had so unselfishly been extending on my account.
 
ye, pointers, probably typo
 
9:50 PM
Anyone here comfortable with boost spirit?
 
@shookees you can edit your post within 2 minutes. Just click the down arrow that appears when you mouseover the post
 
@wilhelmtell @sehe cough I don't know.
 
@shookees Look up: the lines will be printed teletext style. It is a new kind of thing, known as chat
 
What are those removed messages?
 
Ell
@wilhelmtell no but if you end up writing a blog post about it, please link it to me :D
 
9:51 PM
@wilhelmtell Lots
 
I NEED TO KNOW.
 
Ell
right now im confused
 
@CatPlusPlus There are no removed messages. Chat went berserk.
 
@wilhelmtell last time I tried to use it, I definitely felt like I needed to boost my spirit afterwards
 
@RMartinhoFernandes It notifies me twice for every plink. :.
 
9:51 PM
@Ell No. press /newbie + enter in any decent browser and read the page
 
@CatPlusPlus Yeah, same here. It's totally bananas.
 
alright, I will in the future
 
@wilhelmtell won't compile :(
 
@Ell In the browser, not a text box
 
Ell
9:52 PM
/newbie
@sehe Error...?
 
@shookees what was the question again? I didn't really understand what you meant by "sending a value to another pointer"
 
Ell
im confused :L
 
@wilhelmtell ah saw it. (the link). reading...
 
@jalf So I've got two pointers. One contains data and the other wants to have a copy of it. How do I do that?
 
9:54 PM
@Cat It was showing me a bunch of duplicated messages and gazillions of removed messages in between. I had to refresh for it to get slightly saner (i.e., it still double-plinks).
 
@jalf it's not so bad to understand how to use it, having read the doc. But when I get it wrong in code, the template errors make me want to poke my eyes with a shovel.
 
room topic changed to Lounge<C++>: Chat went bananas. [c++] [c++11] [c++-faq]
 
that is not by pointing the null pointer to the one who is containing some data, because whenever I change one of the pointers, the other one is changed, as known
 
@wilhelmtell let me help you with that
 
@shookees well, they don't. Pointers contain the address of another object, no more, no less. So either you want to copy the address, so that both pointers point to the same object, or you want to copy the object pointed to by the first pointer, so that the second pointer points to a copy of that object
 
9:55 PM
I'm surprised at how a Haskell-related topic survived for a whole day here.
 
@jalf how do I copy the object then?
 
@shookees delete ptrA; ptrA = new object(*ptrB);
@shookees depends, are these owning pointers? What do they point at?
 
thank you :)
 
@shookees don't forget the delete ptrA; first
 
@wilhelmtell did the string constructor work for you? I'd write it as
 
9:56 PM
it's an object with dynamic containers inside
 
    std::string input(std::istreambuf_iterator<char>(std::cin),
                      (std::istreambuf_iterator<char>()));
 
auto ptrA = make_unique<object>(*ptrB); // yeah, I'm using make_*unique* to create a *duplicate*
@MooingDuck Er, if there's an object already, why not just assign to it?
 
@RMartinhoFernandes er, good idea?
@shookees did ptrA already point to anything or not?
 
Does a C++ linker copy the entire library, or just the items in the reference table?
 
yes it did
 
9:58 PM
@shookees oh, then *ptrA = *ptrB;
 
@Moshe Static linking copies the entire library. Dynamic linking keeps only references to the symbols.
 
@shookees To copy an object, simply use the copy constructor (Foo x = y) or assignment operator (x = y). To go from a pointer to the object it points to, you use *. So combine the two tricks, and you get *x = *y. In other words, "take the object pointed to by y, and assign it to the object pointed to by x"
 

« first day (493 days earlier)      last day (4458 days later) »