« first day (761 days earlier)      last day (4173 days later) » 

Ell
6:01 PM
hmm. I need a text high res heightmap & texture map
 
@Ell heightmap with text on it? heightmap for text? what?
or a texture in ASCII format?!
 
Ell
just images for a 3d mesh
one for height, one for the texture :P
 
Did the puppy have any luck with a job?
 
Some of them compiled successfully.
 
@Ell but where does the text come in
 
Xeo
6:10 PM
@melak47 He probably meant "text" as "texture"
 
Ell
@melak47 just re-read my message. I have literally no idea why the word "text" is there, I don't even remember typing it :P
 
user image
4
 
@Ell lol, ok
what kind of texture? for what kind of object :)
 
Ell
for terrain, it's okay now though, I got something good enough
I wonder how tile selection is usually implemented. The visuals of it I mean - a billboard? texture splatting?
 
tile selection? in tile based isometric games and the like, or what?
 
Ell
6:18 PM
for 3d games, like an RTS for example
actually I should say tile highlighting
for example, when placing a building
 
oh. well billdboards might not work so great if your terrain isn't flat
in which case you probably wouldn't have a heightmap :p
 
Ell
yeah :P I thought billboards was also for the term for something fixed in a particular axis? as well as facing the camera?
 
I suppose. though generally, billboards are usually flat quads
how would you do it with a billboard? have the same number of subdivisions as the terrain chunk below, and apply a crop of the terrain's heightmap to it to make it match?
 
@Ell They simply project a texture on to the terrain, I'd expect, depends on the exact implementation.
 
Ell
@DeadMG is that called splatting or have I made that up?
 
6:24 PM
NFI.
but there's really no need for any billboards, at all, ever.
 
Ell
Right okay
NFI? No fucking idea? :P
 
yep
 
77
A: Why is 'using namespace std;' considered a bad practice in C++?

sbiI agree with everything Greg wrote, but I'd like to add: It can even get worse than Greg said! Library Foo 2.0 could introduce a function Quux() that is an unambiguously better match for some of your calls too Quux() than the bar::Quux() your code called for years. Then your code still compiles...

@sbi I edited another example question into your answer where the op was bitten by using namespace std;
 
hmm, I need to plot 6 sets of 25 value pairs (x/y)
can open/libre/??? office plot stuff?
 
LibreOffice Calc can do that. Just mark two rows and select the appropriate diagram type (XY something).
 
6:34 PM
yay :)
 
TIL you could do: namespace fs = boost::filesystem;
 
@Borgleader Yep. But why would you do that, you lazy coder?
I dislike when someone gets in my face about having to type the word "auto" to indicate automatic type deduction
"It should do it automatically", they tell me.
 
@Drise boost::filesystem::path is long to write repeatedly, I much prefer fs::path
 
@Borgleader See also: sarcasm
 
@Drise Why, I agree. But the grammar requires auto.
 
6:37 PM
@Drise Tell them it does that automatically, but auto is actually to declare an automatic variable, not for type deduction.
 
@R.MartinhoFernandes "C++ is dynamically typed now?!! cool!!"
 
not cool
 
@melak47 Oh, I fought in the trenches against those silly people when C# got var.
 
@R.MartinhoFernandes Wait what?! What were you fighting for?
 
@Borgleader Against ignorance.
 
6:39 PM
@R.MartinhoFernandes Or when a C developer found Ruby.
 
FUD and shit.
"OMG, they added var! Now C# is dynamically typed! Those guys ruined the language!"
 
@R.MartinhoFernandes I admire your optimism, but that's a lost battle right there.
 
Two years later, they actually added dynamic for dynamic typing and... Not many people really complained.
 
lol
wow, those are some huge buttons and toolbars...and they're not even ribbons
 
Libre Office is a nice try but it's still miles away from Microsoft Office (haters gonna hate)
4
 
6:46 PM
Btw, today I learned that InDesign uses an interface for tab stops similar to Word.
 
@R.MartinhoFernandes And what did they say when C# got the dynamic keyword? :)
 
6 mins ago, by R. Martinho Fernandes
Two years later, they actually added dynamic for dynamic typing and... Not many people really complained.
 
Why am I always late to the party? :(
 
@R.MartinhoFernandes that was...quick
 
@FredOverflow Because you are watching C++ videos.
 
6:48 PM
I'm taking a class on Object Oriented in Java, and I'm programming the final assignment in C++ and Qt.
 
Are there new ones? Gimme gimme gimme!
lol, today somebody noticed that my little toy parser accepts "voidfoobar()" without a space :)
 
@FredOverflow Wut? Oh. Oh you.
 
It was written using the Scala parser combinator library, without a preliminary lexing phase.
I didn't think it would have such disastrous effects :)
 
ARATHRGkrejkhejthletj-
Why did Herb Sutter recommend passing shared pointers by reference :(
 
Must have had a good reason
 
6:50 PM
@FredOverflow Haha, I have met that bug :)
@Borgleader I don't think so. FWIW Andrei Alexandrescu doesn't either.
 
@R.MartinhoFernandes avoids copying overhead. Why not pass by reference?
 
Is Boost.Pool any good? Are pools the kind of thing you should just write yourself?
 
Pete Becker says the same, btw.
@MooingDuck Why are you passing a shared pointer if you are not sharing ownership?
What kind of function are you writing?
 
@R.MartinhoFernandes oh, right. pass the pointee by reference. Silly me :(
 
It just seems that Herb made this mistake in a video that was watched by many and no one stops to think :(
 
sbi
6:53 PM
@FredOverflow What? Oh. Yeah, fine, thanks!
 
is meta down?
 
It's not much of a copy, is it? Shared pointer only two words + ref. increment?
 
@MartinJames That's not the problem!
The problem is not fucking efficiency.
 
So many relationship problems would be solved forever if we could just have sex 100% of the time. We need our best scientists on this.
 
locking?
 
6:54 PM
@MartinJames The increment is thread safe. That can have some serious overhead.
 
The problem is that you either want to share ownership (and then you must copy), or you don't (and then get the damn smart pointer out of the way and pass references/pointers to the pointee).
 
@Mysticial Not for me
 
it just came back for me
 
Passing a shared pointer by reference doesn't accomplish much at all, other than locking your interface into shared ownership without actually sharing ownership.
 
@R.MartinhoFernandes I'm not disagreeing, I'm just asking:) I don't like shared ownership anyway.
 
6:57 PM
@R.MartinhoFernandes I think you should write to Mr. Sutter.
 
sbi
@EtiennedeMartel The problem with putting your finger on it is probably that you are too drunk again to make sense of the wild associations beleaguering you.
 
@MartinJames Sorry if I came a bit harsh :S This thing has been getting on my nerves ever since Herb said it (i.e. months ago) To answer your question, the reference count increment is atomic, which some consider too expensive.
 
@sbi Probably.
 
sbi
@ThePhD Never mind the puppy spitting around his contempt and hatred for everything not thought up by himself. There isn't much you (or we, FTM) can do.
Puppies gonna pee themselves.
2
 
7:02 PM
@sbi I really hate using namespace std; with a passion.
 
@R.MartinhoFernandes Yeah, The Sbinator can really get the nukes out.
 
@FredOverflow You should get passionate about other things in life.
 
sbi
@R.MartinhoFernandes That's two of the brightest figures in the C++ community. If I was you, that would make me think.
 
Just noticed that game_local.cpp is 9900+ lines / 308k of hand written C++. I don't like tiny code files, but that is …. not optimal.
 
@sbi Pete Becker says the same as me and Andrei.
 
sbi
7:04 PM
@R.MartinhoFernandes Ah, I see. Well, that should make herb think, then. :)
 
TIL Martinho is equal to Becker and Alexandrescu.
2
 
sbi
FWIW, we had this conversation in my living room, but then decided to post it here for your benefit.
@EtiennedeMartel Well, he'd like to think of himself that way. (That's also why he starred that.)
 
@R.MartinhoFernandes But hating C++ already takes so much of my life's capacity!
 
@EtiennedeMartel Oh Carmack...
 
@sbi I figured the best way to attract stars would be to shower the robot with praise.
@FredOverflow Then get more life.
 
sbi
7:06 PM
@EtiennedeMartel You have his algorithms decompiled, then?
 
@EtiennedeMartel downloadmorelife.com?
 
sbi
@R.MartinhoFernandes Yeah, go ahead and tell him how to get a girl.
 
@sbi Well, I'm starting to suspect he's actually human.
 
gamedev gonna - write piles of unreadable code.
 
@sbi Why would I want two girls?
 
7:07 PM
Smooth Fred.
 
@EtiennedeMartel Oooh, passing the Turing Test, am I?
 
sbi
@EtiennedeMartel Looks across living room. I am starting to suspect he isn't!
 
Don't tell me you two are in the same fucking room?
 
sbi
2 mins ago, by sbi
FWIW, we had this conversation in my living room, but then decided to post it here for your benefit.
 
Oh, I get it now.
 
7:07 PM
std::cout << "Greetings++!";
 
sbi
@FredOverflow Are you per chance a crocodile?
 
Well damn, fill my pants with living scorpions, this shit is insane.
 
@EtiennedeMartel They're in the same living room, not fucking.
 
@EtiennedeMartel As long as they aren't in the same room fucking...
 
Do you actually speak to each other or do you prefer to write it down since spoken language can't be starred ?
 
7:08 PM
Well, you know, bromance...
 
I've a version-updater.sh that generates a version.h. I want to automate that in cmake
would `add_custom_command(TARGET app_name PRE_BUILD COMMAND ./version-updater.sh)` do that ?
 
@Chimera Hi. How's life on that side of the pond?
 
@sbi I don't get it.
 
sbi
3 mins ago, by sbi
FWIW, we had this conversation in my living room, but then decided to post it here for your benefit.
 
@sbi Can you explain that one more time, please? :)
 
7:09 PM
I know, but I still wanted to make the joke. Pardon my disregard for facts.
 
@FredOverflow He's not my type.
 
@R.MartinhoFernandes Is he your class? lol
 
sbi
@FredOverflow I was asking whether you are a crocodile, and I am at a loss as to how to ask this any simpler.
 
@R.MartinhoFernandes Good enough for me personally. How about you?
 
@sbi Why are you asking?
 
7:10 PM
@Chimera I finally have real goals to work towards at work.
 
sbi
@FredOverflow Because crocodiles have two penises. That would explain what you could do with two girlfriends.
 
@kbok I've never met anybody here IRL.
 
@sbi I see, that makes sense. No, I only have one penis.
 
@sbi I heard sharks do to. Although it's not really penises in their case.
 
@R.MartinhoFernandes Well that sounds like progress. :-)
 
7:11 PM
 
sbi
@EtiennedeMartel Shrug. What would make a "real penis"? If you limit this to mammals, crocodiles don't cut it either. (Ouch, just a figure of speech.) Also, amyn sharks lay eggs, so they will probably not have a penis.
 
> Sharks practice internal fertilization. The posterior part of a male shark's pelvic fins are modified into a pair of intromittent organs called claspers, analogous to a mammalian penis, of which one is used to deliver sperm into the female.
 
sbi
@FredOverflow Well, then it would indeed make sense that the robot explains to you how to get another girlfriend.
 
How would that make sense?
 
He's a lovebot.
 
7:15 PM
Same as the first one, but you don't tell any of them there's another.
Dammit, you edited it.
 
And a killbot. And a punbot. HE'S EVERYTHING AT THE SAME TIME.
 
punbot
 
Oct 30 at 18:03, by Etienne de Martel
I thought that the robot was a killbot, but it appears he actually his a punbot: a robot whose purpose is to make puns.
 
sbi
@FredOverflow Because TTBOMK that would make sure you won't have to deal with another one?
 
@R.MartinhoFernandes I don't think I would have time for my C++ videos with multiple girlfriends.
 
7:16 PM
Ow.
 
You make C++ videos ?
 
@FredOverflow That's bad?
 
@kbok That's right, I make "C++ videos with multiple girlfriends" ;)
 
sbi
@FredOverflow Yeah, a man's gotta have priorities, right?
 
No I meant, watching them and stuff. The videos!
 
7:17 PM
You could still make videos with your multiple girlfriends but that's not the same kind of audience. Or is it ?
 
Xeo
@FredOverflow In C++, the longest parse is the one that gets taken (max-munching-rule, IIRC). :)
 
maximum munch rule
 
sbi
Oh, now it gets real punny here.
 
Listen to C++ talks using headphones when you go out on dates
 
That's genius; then I could say "Wow, that's really interesting!" all of the time without lying!
 
I know that one already.
I know all of them.
 
sbi
@R.MartinhoFernandes TVTropes never is appropriate.
 
I never understood the idea of tvtropes. They sound like Design Patterns to me, only for TV. And I don't like Design Patterns.
 
sbi
I don't like TV.
 
I think of it exactly the same way.
 
Xeo
7:19 PM
@sbi s/never/always
 
They are scenario design patterns.
 
@FredOverflow I read it just for fun.
 
> Defining and analyzing humor is a pastime of humorless people.
 
@sbi Right, that is a given :)
 
s/humor/tropes
 
7:20 PM
@FredOverflow Well, unlike DPs, tropes actually work. Most of the time.
 
There are tropes for when tropes don't work. See broken aesop.
 
sbi
@Xeo So we should only talk in the form of TVTropes links? That would sound like those religious zealots, that "discuss" all night by just throwing chapter and verse numbers of the Bible at each other.
 
@sbi We could do that with the C++ standard.
 
You mean the standard, right ?
 
ha first!
 
7:22 PM
dat ping
 
frist, FTFY.
 
@FredOverflow I thought we already did.
 
Xeo
@FredOverflow It's more like a wiki listing the all the stuff that storywriters employ to make a story good (or bad).
 
sbi
@FredOverflow Naw. Compared to the C++ standard, even the bible is far more readable, has a better verse meter, and is way less ambiguous.
 
Ell
okay I may have just accidentally sold a load of stuff on DF
 
7:23 PM
I thought it would be fun to create a story just by hitting "random page" and cobbling all the tropes together
 
@Ell Selling that a buttload of steps. I am skeptic about how you managed to do it by accident.
 
I wish I knew about tvtropes while in high school.
 
@kbok Are you sure that has not been done before?
 
sbi
@EtiennedeMartel ISTR having seen a recent discussion about what "DP" stands for. In that light, this sentence is almost funny.
 
How can you sell stuff in DF ? I mean who is going to buy it, there's no one around ?
 
Caravans
 
Ell
@R.MartinhoFernandes A window popped up about someone wanting to do business :P Then it had a list of items /w priorities, then something happened and I pressed "finalize documents"
 
sbi
@R.MartinhoFernandes He is one of a million monkeys.
 
@kbok Caravans come by every season.
 
@Ell more likely you just gave it away as bribes
 
7:24 PM
@sbi float entrance;? :)
 
@R.MartinhoFernandes It probably has been, more or less willingly, and more or less with the help of tvtropes.
 
That's asking what you want them to import
 
@Ell That's just an import/export agreement.
 
@kbok NPC traders come 4 times a year
 
Ell
I just pressed a because I couldn't figure it out :L and I want to build my barracks :D
 
7:25 PM
Kill the traders and steal their goods
 
@MooingDuck Usually 3. On Winter it's often goblins, and they are not interested in trading.
 
@Ell yeah, that's them asking what you want them to bring next year. Then they tell you what they'd like to buy from you next year.
 
Wait, you all play this game ?
 
I think I'm gonna have to play DF.
And then shoot myself.
 
I'm glad I bought the book.
 
7:25 PM
DF for dummies? Effective DF? DF by example? DF cookbook?
 
@kbok course, it's the nerdiest game after DnD.
 
@FredOverflow It's an OReilly book with a picture of a carp on the front
 
DF without fear
 
@Pubby that's a dwarf
 
7:26 PM
@R.MartinhoFernandes Haha, the cover looks so terrible!
 
Ell
@EtiennedeMartel it's le awesome! so far.
 
@FredOverflow It's a screenshot from the game
 
@FredOverflow Erm, it displays a dorf as rendered by the game.
 
@Pubby it's a sprite
 
sbi
@FredOverflow I think you'd need a double for that. It's good for your char, they say.
 
user1804599
7:27 PM
DWARF Fortress is for people who like debugging.
3
 
@Ell press z, what's the date at the top?
 
Ell
11th Moonstone, 126, Early Winterr
 
I'm glad I got married when I did, I have the Dwarf Fortress bindings memorized :(
 
Not to be confused with SJLJ Tower
 
@Ell you've played 6 seasons? So far so good!
 
sbi
7:28 PM
@Aardvark Well, that would explain its popularity in the C++ room then.
 
@Ell Oooh, sounds like second winter. Goblins should arrive soon. Get ready for fun.
 
@Ell are you ready for a ambush or siege?
 
I'm going to get far worse before I get married.
 
Ell
yay, although got nothing actually done yet
Not read in any which way :L
 
Any interest in starting another succession game?
 
user1804599
7:29 PM
dSYM Fortress
 
Ell
But this is my first play, I was planning to start again anyway, now I know how stuff works a little
 
@Pubby not until I figure out how to withstand an undead seiege
@Ell don't worry about starting over, the game does that itself.
 
@Ell shouldn't you be making your game ?
 
@MooingDuck You can always not embark on haunted biomes.
 
Ell
@kbok yeah :P
 
7:30 PM
@R.MartinhoFernandes You can always not have fun
 
@Pubby Oh, you will. The game does not need haunted biomes for that.
 
Actually, I played haunted a while ago and it wasn't fun at all
I just stayed underground the whole time and mined dirt
 
Ell
When you build a building, and it has a list of wood, etc. how do I know whether to use it or not? e.g. is one wood worth more than the other?
 
@R.MartinhoFernandes the page on undead sieges makes no reference to haunted biomes. Though the page on haunted says that undead can't be killed there, but otherwise makes no mention of sieges.
 
@Ell Stone is probably better than wood for buildings
 
7:32 PM
No, it's just OCD-level modelling.
Use whatever is the closest.
 
Ell
@Pubby do I need to make it into slabs?
 
@Ell Slabs are for making memorials for the dead.
 
Making stone blocks is useful though
 
Blocks are more valuable and makes dorfs happier.
 
Ell
7:33 PM
Right :P I just can't see how to select to build from stone? Do I need to process it in any way first?
 
Stone is used raw for buildings, though.
 
@R.MartinhoFernandes Stupid dorfs.
 
@Ell no, though you can make it into blocks first if you want, which is "nicer".
 
@EtiennedeMartel "Urist McArtAppreciator admired a fine granite block building today."
 
what the devil are you lot on about?
 
7:34 PM
Oh, you can build from blocks? I don't think I've ever done that.
 
Yeah, we kind of derailed the room again...
 
@Ell when crafting, they'll grab whatever stones are closest. For buildings and such, you select the particular stones. No processing required.
 
Don't you get 4 blocks per boulder? That's useful too.
 
Ell
also how can I make the walls look better than red squares with red dots? I believe it is "Rough-hewn Kaolinite Wall"
 
@CatPlusPlus blocks are much nicer than stones. Carved walls are the best, but you can't carve anything constructed, so planning ahead is good.
 
7:35 PM
Dwarf fortress again?
 
@Ell smooth them, then engrave them. From the designation menu (d)
 
@Pubby Considering that my halls are always chock full of stones lying around and buildings don't take that much, doesn't make much difference.
 
@CatPlusPlus Blocks stack.
 
And stones lie around.
 
And hinder movement.
 
7:36 PM
@R.MartinhoFernandes everything stacks if you mark them for disposal
 
Who cares.
 
@R.MartinhoFernandes do they?
 
@MooingDuck That's... cheaty.
 
stones laying around make dwarves happy because there's more stuff and stuff is good
@R.MartinhoFernandes yes :D
 
You're throwing your dorfs into room literally made out of spikes to train them, but stones lying around are bad? Bah.
 
7:37 PM
also, levers can be made of up to 10 mechanisms, which means levers in nobles rooms are a cheap easy way to please them.
 
And to dispose of them.
 
@MooingDuck I think so. Or maybe Toady plans to and didn't implement it yet.
 
Dwarven ingenuity.
 
@MooingDuck Did you get married in DF or RL? ;)
 
@FredOverflow RL
 
7:38 PM
Oh right, something about mothers partying hard and puking and stuff?
 
Ell
Hmm I need non-economic hard rock
 
You can toggle economic status from one of the status screens.
 
@Ell have the miners mine out just a bunch of rock
 
Also soil fortress owns.
By the way, if you're not using QuickFort, you should probably start.
 
Ell
I have a load of chalk, cassiterite and kaolinite already, why aren't they using that?
 
user1804599
7:46 PM
@Ell is AC/DC OK?
 
Ell
:3
 
@Ell they should be using Kaolinite, do you have tasks that need stone that they're not using that for?
 
Ell
Don't think so o.O
 
@Ell cassiterite is used for making metals, so they won't use that for random crafting (unless you tell them to)
 
Ell
right okay
I have just tried to build an armour rack now
I'll see what happens when they try to make one
 
7:47 PM
chalk is also used in the making of iron and steel so they won't use that by default as well
@Ell they'll grab the closest stone (closest by x/y/z, ignoring paths. Usually it's directly below them)
 
Ell
Too many dwarves are busy atm, mining
I think
 
user1804599
No, they are debugging, not mining.
 
Are you using The Rapist?
 
Ell
I have gold nuggets as well
 
user1804599
And now that joke is not funny anymore.
 
7:49 PM
@Ell I generally start with three miners, but go down to to 1 after I have enough bedrooms and such.
 
Ell
@R.MartinhoFernandes I beg your pardon? o.O
 
Ell
@MooingDuck I haven't assigned them jobs, they just seem to do it when I designate an area :P
 
@Ell each dwarf has several "professions" active. Apperently several have the "mining" skill active. Once you're stable, you don't really need miners much.
 
Ell
apparently my armour stand is made of bauxite
 
7:54 PM
Went to buy some dental floss yesteray. The store had christmas decorations, and christmas music was playing.
 
@Ell bauxite is lava-proof (and the heaviest stone in teh game, don't sell it)
 
@EtiennedeMartel Seems about the right time for that to start happening.
 
@Chimera I remember seeing christmas decorations in stores on november 1st.
 
@EtiennedeMartel Here too.
 
Madness.
(But not Sparta).
 
7:57 PM
It's usually Halloween stuff at that time of the year. Except if you guys don't do it.
 
It's halloween until october 31. Then it switches overnight to christmas.
 
mkay
 
I never worry about lava-proofing. I use glass for that. Glass is lava-proof. Don't try to tell me about the real world. Glass is lava-proof and I don't bother using anything else.
 
Anybody here get offended when employees say "Merry Christmas" to you?
 
glass is lava proof is Minecraft too. Must be true then
huh, no ?
WTH
 
Ell
7:59 PM
Merry ramadan.
 
Jolly Christmahanuquanzica? (Sp?)
 
@Chimera Why would you?
 

« first day (761 days earlier)      last day (4173 days later) »