« first day (549 days earlier)      last day (4415 days later) » 

3:00 PM
maybe a simple symlink or hardlink would be more appropriate here
 
you could do that, but that would only work on your system
 
can't they contain relative paths?
 
well, on a system that has also checked out the dependent repos to the correct location
 
@DeadMG That's kind of what a subrepo does.
It's like a pointer.
 
man, this stuff is hard :P
 
3:02 PM
I would use a script to check out / pull the correct version of the repos you depend on
 
right
three repos!
my old one was just called "Source" anyway
kinda dumb name :P
 
@thecoshman That script has a name: hg!
 
@RMartinhoFernandes but a script to automate it so it is just one command to ensure all the correct version are in there, perhaps part of the build system
 
sbi
Is there a Unicode glyph for a checkmark?
 
@thecoshman You mean, like hg?
 
3:06 PM
@RMartinhoFernandes I get the feeling you are hinting at something :P
 
@sbi Yes. ✓ U+2713 CHECK MARK.
@thecoshman I'm hinting at the fact that hg already has all of this builtin.
 
sbi
@RMartinhoFernandes Thanks!
 
rage at self, both slow and in-component
 
right
 
sbi
@thecoshman In which component are you, slowly?
 
3:09 PM
now to sub-repo all my utility code
 
@sbi (╯°□°)╯︵ ┻━┻
 
Ok, clone the utility code into a folder inside the target repo.
 
ooh, jsut found out about alt+272 onwards give you likes of ╚╔╩╦╠═╬
 
Then put foldername = foldername to a file named .hgsub in the root of the repo.
Add, commit, done.
There may be some GUI-ish way of doing it, don't ask me.
 
you can add a subrepo through Tortoise but it won't seem to let you re-target the directory
huh
why is my new repo https://DeadMG@bitbucket.org/DeadMG/libraries but my old one is https://bitbucket.org/DeadMG/source
oh well
 
3:20 PM
Are you sure that's not the ssh: URL?
 
yep
 
The difference is that the first one won't ask you for username.
 
this I have just discovered
 
(You can also stick the password in the URL, I think with DeadMG:mypassword@blah, but that's not recommended)
 
eh, I have KeyPass so that's no big deal
aaaargh#
every time I pull from Bitbucket, Mercurial bitches that the current version is not a head revision
what does that even mean?
there's nothing even different between the two
 
3:23 PM
Is it set to update after pull? I think there's a dropdown with that somewhere.
 
well
deleting the repo and cloning it from scratch always fixed that problem
 
what?
 
I think it means that you're not on the last commit of a branch, so if you commit, it will create a new branch.
 
but there are no differences whatsoever
 
3:25 PM
@DeadMG Nothing, I just find it funny that "reboot" seems to solve problems everywhere.
 
as in, I literally just committed, and it was a previous commit
right
so I set up the subrepositories
what do I have to do to get hg to do that hardlink/symlinkesque thing again?
commit, apparently
hey, the folder's empty!
at least, that's what Windows Explorer says
how am I gonna tell VS to #include files from that folder if it's not been linked?
 
I don't know how TortoiseHg does it. Maybe you need to pull on it.
 
I did that
besides, I did this mostly through hg
 
Works here :S
 
0
Q: How to know if sigsetjmp or siglongjmp fail?

kakushThese functions' return value don't imply about whether they succeeded or not. is there a way to know anyway?

^ meta fail
 
3:31 PM
$ hg clone ../tetris/
destination directory: tetris
updating to branch default
43 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ echo tetris = tetris > .hgsub
$ hg add .hgsub
$ hg commit -m "test"
committing subrepository tetris
$ ls tetris/
include  main.cpp  res  resources.cpp  src
$
 
ah
 
I wonder WTF are those .cpps doing outside of src...
 
that works because you didn't ask Mercurial to put the subrepo somewhere else
like for example echo src/tetris = tetris
 
Oh, lemme try.
Still works.
 
hu
h
 
3:35 PM
I wonder if I can have recursive subrepos...
 
well unfortunately, Windows does not seem to function correctly
if I do the equivalent of ls src/tetris/ all I get is .hg directory
 
Did you create a new repo, or clone from the existing one?
 
cloned the existing
 
Hmm. There's something fishy.
 
I mean, the subrepo is a clone of one of the new repos
 
3:37 PM
And these new repos, do they have data in them?
Committed?
Just checking.
 
yes
and pushed
 
the folder was created as I expected, it's just empty
except for .hg
maybe instead, what I should have done is tetris = src/tetris, not src/tetris = tetris...
 
Oh, the right hand side should be the URL of the repo. Like https://bitbucket.org/deadmg/utility or something.
 
right
 
3:41 PM
Otherwise it goes looking for it on https://bitbucket.org/deadmg/foo/utility
Which kinda misses the point.
 
let's try this again from scratch
whew
right
.hgsub is
oh fuckles, I put it in the wrong folder again :P
man, tortoise y u no allow remove of subrepo that no longer exists?
 
Don't complain. That process is even harder with git.
 
time to start again... again
 
(For no reason whatsoever)
 
eh
Mercurial has hidden state w.r.t subrepositories
you can't do the same as you would do with another file
 
3:55 PM
.hgsubstate?
 
move the directory? update the hgsub? Nope, Mercurial dies
so anyway
now I have src/proj/shit = URL
that should be correct, right?
 
3 hours ago, by sbi
@CatPlusPlus Actually they had a damn good compiler for many, many years. Of course, they wouldn't have let you play with it while you were in kindergarten. But not until VS2003 became VC better than BCC.
 
@sbi ^^ Actually they let me play with it in kindergarten early highschool
I had a kid in school whose father had some kind of job at the Delft University. He apparently could get the student licenses of compilers. I think the first version I got was Borland C++ 3 (3.1?) which came on 15 3.25" disks
 
WTF kind of word is kindergarten anyway?
 
3:58 PM
American
 
German apparently.
 
@RMartinhoFernandes Hey, I didn invent it. kindergarten = German. Pre-school?
I also got Modula2 (which I disliked with a vengeance - slow as hell) and Turbo Pascal 5.0 (and later, obviously) which I liked, and even used to build software which I 'sold' for an EGA graphics card and the loan of a laptop (well... a 'portable PC' as they were then - ironically - called)
@sbi I've been using VS for about 12 years now, and prefer vim since about 10 years
 
so here's the question
 
brace yourselves
 
if I add the GLM source to the Libraries repo, will it update on both my primary repos?
 
sbi
4:03 PM
@DeadMG ROTFL!
A kindergarten (from German , literally "children's garden") is a preschool educational institution for children. The term was created by Friedrich Fröbel for the play and activity institute that he created in 1837 in Bad Blankenburg as a social experience for children for their transition from home to school. His goal was that children should be taken care of and nourished in "children's gardens" like plants in a garden. The term kindergarten is used around the world to describe a variety of different institutions that have been developed for children ranging from the ages of two t...
 
eh, I've never seen it used outside the US
 
sbi
Damn, the chat doesn't onebox Wikipedia https links.
 
@sbi What's so funny about it?
 
sbi
@DeadMG The US just copied it from German.
 
21
Q: Make chat onebox HTTPS links

R. Martinho FernandesWhen I paste a link like http://www.xkcd.com/975 on chat, it promptly oneboxes the comic. However if I post the HTTPS version of that https://www.xkcd.com/975 it doesn't. This is true for all other oneboxable links from sites that let you access through HTTPS like YouTube. Can we get HTTPS links...

 
sbi
4:05 PM
@RMartinhoFernandes Thinking it was an American word!? "Garten"? LOL!
 
right
 
sbi
@RMartinhoFernandes I thought that was fixed already? Anyway, can't upvote twice.
 
isn't there supposed to be some thing where Mercurial automatically pulls from my sub-repositories now?
something to do with that being why I'm using them? :P
 
I think so.
 
I committed to the other repo and not much appears to be happening
oh well
I'm gonna go take a dump, buy some food, etc, and come back to it
 
4:08 PM
Thanks for the information.
 
Please refrain from providing any additional detail.
 
gonna buy me some gra-hapes, and some strawbries, and some nanas
and maybe some ice-cream
and yoghurt
some tinned foods
and attempt to purchase less fat and sugar than before
I'm sure there's something I'm forgetting
 
4:32 PM
@DeadMG The first four items are full of sugar, and the last four are full of fat, so hopefully yes.
(I hear the potatoes are lovely this time of year.)
 
hmm
sweet potatoes are teh tasties, I must admit
and carrots and parsnips and regular potatoes can be OK too
but so much effort to peel them and shit
argh, y does only ikea sell super-tasty meatballs?
 
4:52 PM
Why on earth do C++ IDEs suck so much? Tried to get Eclipse and Netbeans working with C++ for several hours and finally gave up.
@DeadMG I never peel potatoes, too much work.
 
@FredOverflow Good question. You'd think you'd have decent IDEs for such a popular language.
 
@Maxpm Thank god for Visual Studio. But what if I ever wanted a cross-platform C++ IDE?
 
@FredOverflow This is why I usually stay away from IDEs. A text editor and make are good enough for me!
Though I still need to find a good text editor.
 
Visual studio is amazing i daresay ...
 
@Maxpm What about emacs? ;)
 
4:59 PM
@sehe and @InSilico Generic Selections
 
@FredOverflow I lost my other six arms in the war, unfortunately.
 
Are you implying that emacs is only for octopussies? ;)
 
or mutants...
7 people starred I want modules, but no-one starred I want food. Guess we know humanity's priorities. :)
6
 
5:05 PM
@FredOverflow I've had pretty good luck with Netbeans as a C++ IDE, although I'm managing the build myself
 
11 Lol, If this message gets starred once people will think it got 11 stars.
@FredOverflow Code::Blocks?
 
@FredOverflow QT creator
 
@Maxpm Geany? It's useable, has code-completion and syntax-highlighting. + lots of other good features.
 
@FredOverflow Codeblocks? Random text editor with a decent build system?
 
Allow me to disagree. Emacs is the only text editor for "the real programmers".
 
5:09 PM
CodeBlocks is the best cross-platform IDE IMHO.
 
So any arguments and / or objections are invalid.
 
lol
 
Apr 12 at 15:18, by R. Martinho Fernandes
Real programmers suck.
 
@ScarletAmaranth but I thought "Real Programmers" code in binary and don't need a syntax-highlighting text-editor
They don't even need to build anything
 
I survived the day.
I want a badger for that.
 
5:11 PM
@CatPlusPlus Early call, IMO
 
@IntermediateHacker You're mistaken fine sir, real programmers code in Hex.
 
@sehe No, classes are over, I don't care for anything beyond that.
 
yesterday, by sehe
           _,-='=- =-  -`"--.__,,.._
        ,-;// /  - -       -   -= - "=.
      ,'///    -     -   -   =  - ==-=\`.
     |/// /  =    `. - =   == - =.=_,,._ `=/|
    ///    -   -    \  - - = ,ndDMHHMM/\b  \\
  ,' - / /        / /\ =  - /MM(,,._`YQMML  `|
 <_,=^Kkm / / / / ///H|wnWWdMKKK#""-;. `"0\  |
        `""QkmmmmmnWMMM\""WHMKKMM\   `--. \> \
 hjm          `""'  `->>>    ``WHMb,.    `-_<@)
                                `"QMM`.
                                   `>>>
 
The world can end. I'm done with today.
 
@CatPlusPlus Allow me to express my sympathy for your misfortune.
 
5:12 PM
We'll let the world know you're ready
 
@IntermediateHacker Yes, it's very sad.
 
                   .-.
                  /  aa
                  \ -,_)
             _..._| \  `-<
        {} ." .__.' |
       {} (        /`\
       {}(`'------'  /
       |\/;._______.'\
       ; \           /
   jgs  '-'-.......-'
 
@sehe You sir, deserve two internets.
 
The one thing I've never understood is why/how the govt. gives a 5-year imprisonment for suicide, do they put the dead-body in prison or carry the prison to the grave?
 
They'll let you out after 3 years, for good behavior.
 
5:15 PM
@IntermediateHacker It's an exemplary punishment for any future attempts!
 
Ew, taxes.
Don't remind me.
 
@Potatoswatter Is that a snake or a steaming pile of shit?
 
I'll lose entire Friday on that crap
 
what are these taxes you speak of? (I always like annoying europeans with this comment. Oil FTW! :D)
 
5:18 PM
@FredOverflow It's a snake. Badger badger badger badger, oh no a snake!
 
@CatPlusPlus Aren't you a student? How hard could they be?
 
Wait, tax days in Europe coincide with the USA?
 
I'm a student too, but when you also have a job, shit gets real.
Luckily, all my tax form crap is done already, so I don't have to think about it for a whole year.
 
@RMartinhoFernandes I had a job in college, it was a single page form to fill out
Country differences obviously apply
 
I have a job an' all.
Also queues.
 
5:21 PM
Aren't taxes exempted for students and educational institutions? I remember students didn't have to pay them in Pakistan.
 
@CatPlusPlus Queues? Here you can file this crap online.
 
that's sad and scary. :(
 
That is, when the system isn't DOSed.
 
@IntermediateHacker You get deductions for what you pay in tuition, but yeah, still pay taxes here in the US
 
5:22 PM
Here you're only exempt if your yearly income is lesser than ~500€.
 
Happens all the time.
 
@RMartinhoFernandes Supposedly here too, but I don't trust anything online from our administration.
Besides, at the office, they tell you if you made a silly mistake somewhere.
With 100-or-so-field form it might just happen.
Stupid useless money-eating country.
 
4
Q: What fantasy story elicited this quote?

DVKI've read this description of a fantasy story. I suspect that it's written (or said) either derogatorily or tongue-in-cheek, but what story does it refer to? Transported to a surreal landscape, a young girl kills the first woman she meets and then teams up with three complete strangers to kil...

 
5:38 PM
-6
Q: With what vaue of i this infinite loop will end?

SG_#include<iostream.h> int main(){ for(i=0;;i++); // no-ops cout<<i; return 0; } what value of 'i' will terminate the loop ? please help me ... thanks in advance

wow that was fast :)
 
@FredOverflow WTF is that.
 
Come on, don't you trust me?
 
A great advertisement
 
5:40 PM
@RMartinhoFernandes a question
 
@FredOverflow You know, I think it's actually answerable now. I put in a reopen vote.
 
I downvoted it
 
Let's reopen it so that we can drop the hammer of UB in the guy's face.
 
5:56 PM
It's not even related to UB.
The loop is infinite because there's no stopping condition given.
 
Since there is UB involved, how can you say the loop is infinite?
 
Because I'm that good.
 
6:13 PM
@EtiennedeMartel Lol I hadn't even seen that yet and I'm from Belgium.
 
if I want to use something like $(VENDOR_INSTALL_DIR)\Include in my VS C++ project's Include and Library directories, where can I define that variable?
 
In XMLville.
 
ugh
 
More like the 27th level of Hell, reserved to the guys who made XML.
 
6:19 PM
Hell Object Model.
 
HOMNOMNOM?
 
I wouldn't nom nom XML.
I might get cancer or something.
 
But it'd be extensible cancer!
 
Oh sure, because death wasn't interesting enough as it is.
 
Cancer is already extensible.
3
 
6:22 PM
lol
niiiiice
 
Got a point there.
So, XML is cancer?
Or vice-versa.
 
@EtiennedeMartel yes
 
Well, that explains it.
 
cancer is what happens when your body tries to use XML to define it's DNA
 
especially when parsed with PHP
 
6:28 PM
lol XML parsed with PHP
what are you gonna do now, interpret that PHP from Java?
 
0
Q: C++: delete values from map in "for each" loop

fuenfundachtzigFor a std::vector<double*> v; I can delete the doubles by calling std::for_each(v.begin(), v.end(), (void(*)(void* a))operator delete); Now, if I have std::map<int, double*> m; instead, can I do a similar thing without using an explicit loop, boost or non-standard STL extensions? I...

I'm tempted to leave "any more silly requirements" comment.
 
I keep reading this tagline: fuelphp.com - and wondering "so.. you chose PHP???"
 
Are raw potatoes toxic?
 
I can't believe I was the only guy who commented to use RAII in that question
 
Does it matter?
 
6:30 PM
others are epic fal
 
@EtiennedeMartel No, but they're not especially tasty
 
@CatPlusPlus How are they silly. The OP if it's possible to do it without a loop or Boost or non-standard extensions.
If it's not possible without a loop, then that's the answer.
 
I think the plant/leafy parts are somewhat toxic?
 
@Mysticial Boost is not a non-Standard extension.
 
Because that's silly.
 
6:31 PM
a non-Standard extension is like, a compiler language feature or something
but if you have a C++03 compliant compiler, you can use Boost without any extensions
 
Boost.Lambda (or Phoenix, I haven't used that in a while) is precisely what you want, if you don't have C++11 lambdas.
 
Wait, what's a standard extension?
 
@DeadMG I left an "or" from that sentence. Boost or non-standard extensions
 
If there's anything that goes by the name "standard extension", that's Boost.
 
Yeah, if it's part of the Standard, it's not an extension. If it's an extension, it's not part of the Standard.
"Standard extension" is an oxymoron.
 
6:34 PM
Anyway, "can I do it without Boost?" questions always have a trivial answer: "reinvent what Boost does".
 
Xeo
@EtiennedeMartel An extension to the standard that's still conforming but provides more functionality than the standard specifies
 
Standard is not necessarily C++ standard.
 
Trivial in the sense that it's trivial to post, not to act upon.
 
@CatPlusPlus I'm talking about C++ here.
 
I mean it might mean standard practice.
Delicious ambiguities.
 
6:35 PM
Damn it.
@DeadMG Thank you for your intelligent answer.
 
woof woof
 
@DeadMG I think boost relies on some extensions.
boost::is_pod for example
 
@fuenfundachtzig I think you were clear on that. You were looking for that C++ standard that doesn't have loops. — R. Martinho Fernandes 32 secs ago
 
yo
how are ya'll?
 
fffffff
I'm maintaining existing code, so changing the type won't be easy. Apart from that I found the question interesting by itself. (In the end I could just write a simple for loop.) — fuenfundachtzig 3 mins ago
 
6:41 PM
This guy...
 
"I added all those arbitrary requirements for funsies!"
 
what is it with this guy?
 
Pain is fun!
 
" SGI extensions like bind2nd"
Well, now we know he means C++93.
 
@DeadMG You were surprised?
 
6:41 PM
What?
 
> I meant select2nd, of course.
"Of course"
 
@RMartinhoFernandes More like irritated. What a waste of my time- and my time isn't worth an awful lot right now.
 
Okay, nevermind that thing. I'm going to sleep. Buybuy.
 
Buy what?
 
6:46 PM
Buy two, get one.
 
@EtiennedeMartel Potatoes are genetically engineered to internally produce pesticides, so you might buy from the organic aisle if you want to eat them raw.
 
0
Q: How to start writing DDK code ?

YanshofI want to write some simple code using DDK - but i don't know even how to compile some demo code that i download. How to compile this thing ? Is there some simple editor / IDE that i can use ? Is there some way to use visual studio to write and compile DDK ?

Lol.
"I want to write a driver, but don't even know how to use the tools!"
 
What's DDK?
Dumb Development Kit?
Oh, drivers.
 
Driver Development Kit.
 
Demo Development Kit. It consists entirely of demos with no APIs.
(Not easy to write code for.)
 
6:52 PM
Its target audience is suits, right?
 
Okay, now I'm really going.
 

« first day (549 days earlier)      last day (4415 days later) »