« first day (873 days earlier)      last day (4300 days later) » 

08:01
Good mooorniiing.
@kfmfe04 It's useless as a crutch.
Something perhaps more similar would be read_five<int>() vs read_five<double>().
@R.MartinhoFernandes No thanks. FWIW the brackets don't get in my way, even without editor support.
08:20
@LucDanton yeah - for that case, I mentioned earlier that it looked like a template parameter... anyhoo, reading along while waiting for g++ to compile
btw, in learnyouahaskell, when the code **doesn't** have `ghci>` in front of it, does it mean it'll only work as a compile?

eg removeNonUppercase st = [ c | c <- st, c ‘elem‘ [’A’..’Z’]]
@Telkitty wonderful contributions again
@Telkitty shit like this man
08:36
-1
Q: Replace function in C++

user15662I have one string A B C. I need to replace space with underscore(_) in C++. Is there any function like we have in perl or java? Input: A B C Output A_B_C

dupe
user1182183
@Telkitty her legs are fatter than her stomach
user1357851
@sehe ty ^_^
user1182183
@Telkitty well with such legs, be a soccer player!
user1182183
Just f.... dammit. one.com is terrible, what do you guys think about hosting24.com ? is it reliable and fast?
user1182183
have to change site hoster
08:39
@kfmfe04 I suppose the ghci> part means it's a transcript straight out from the interpreter. Still, provided you make it into a let binding that definition would work in ghci, too.
@Telkitty no, I just don't care for my time being wasted with shit like that
I have chararacter string (char*), so don't want to use std::string functions. — user15662 59 secs ago
sbi
sbi
@R.MartinhoFernandes And you say you wonder how people can tell you're drunk?
user1182183
hm does anyone suggest dedicated virtual private servers for a reasonable price?
sbi
sbi
@sehe Why don't you guys just plonk him? Aside from some of you not stopping referring to him, I don't feel like I miss anything since I dropped him.
user1182183
08:44
is there a way to see who plonked me? :P
user1182183
Hm, I assume everyone has plonked me? O_o
user1182183
Wow, badaasssss
1 message moved to bin
sbi
sbi
Apparently, I am not everyone. Good.
@sbi I have decided not to plonk anyone anymore. Just because it becomes too hard to tell what goes on in the room. And I don't just mean "what are people replying to"
@Mysticial (I was doing that!)
user1357851
08:47
@sehe should have learnt mental blockage skills from me ... I have the 'outer' eye ... the one that reads without anything goes into the brain
@sehe inb4u :D
@GamErix You used to be on my plonk list, but that was a long time ago now
user1182183
@TonyTheLion Didn't expect that from u lol XD was it when I was drunk? ;o
sbi
sbi
> Write someone a program and frustrate them for a day. Teach someone to program and frustrate them for a lifetime. — ‏@perlyarg
@sbi It's also about keeping a tab on what's going down, how much crap is actually being generated, let's say "the temperature" of the chat. I'm afraid it's my responsibility as room owner.
08:49
^^ same here
sbi
sbi
@sehe Ah, good I put down that responsibility then. :)
I usually pretend to plonk people when I really don't.
6
sbi
sbi
@Mysticial Can someone please pin that? Thank you!
@sbi Yeah. I think it might be related
I think this image would be handy to keep on hand around here
7
user1182183
08:50
@thecoshman true as hell
Awesome
sbi
sbi
@thecoshman "Here" referring to your job environment?
user1357851
1 girl's pic send the whole lounge discuss about plonk list again ...
@GamErix it was in the beginning you were in this room.
user1357851
WEAK!!!
08:51
@sbi both actually :P
sbi
sbi
@thecoshman You got two jobs now?
@Telkitty nah, it's not that pic, it's you.
user1182183
@TonyTheLion yeah that;s a long time ago, woot, the time flies by so faaast
@Telkitty Alright. You've been warned. If you continue to troll us, I will not hesitate to personally bin all your shit.
user1182183
but seriously, who here really hates me? :P
08:52
@sbi does a chat room not count as a place? I thought that was implied....
guys, does VS look in the specified library paths for dlls when debugging?
@sbi he's a she.
sbi
sbi
@thecoshman "Are you referring to your job?" "Both." What am I to infer from that, if not that you have two jobs???
FFS, Lovefilm will stop doing Grey's Anatomy by 31st of March, WTF
@sbi I thought here meaning this chat room was obvious enough
08:54
Now I either have to buy the DVD's or get Netflix, though I don't know if it has it.
user1182183
@melak47 your application only looks in the working directory, VS does nothing, and as for PDB loading, it looks into the output directory and DLL directory
user1182183
but that's just from my experiences
@GamErix blergh, so I need to copy the DLL to the project dir? >_>
user1182183
I could be wrong
sbi
sbi
@TonyTheLion And if so, what changes? ("Why don't you guys just plonk her? Aside from some of you not stopping referring to her, I don't feel like I miss anything since I dropped her.") I doubt it, though. Can you imagine the insect posting ASCII pix of nekkid women? She's got way more interesting things to contribute.
user1182183
08:55
@melak47 run the program you want to debug your DLL in and attach
user1182183
make sure the PDB is in the output or dll directory
@melak47 it looks in dll directory and in symbol paths.
user1182183
always works for me
sbi
sbi
@TonyTheLion I think my daughter watches this on YT. ICBWT.
@GamErix I'm trying to debug an application I wrote and compiled with VS - the DLLs are nowhere near the project folder, which is where the application resides
08:56
@sbi I know it doesn't change a thing, and you're right, plonking doesn't make much difference to the room in general
user1182183
@melak47 if it loads the DLL's it looks for their PDB's, you can see which PDB's are loaded in the debug window
user1182183
windows -> loaded libraries or something
the library isn't loaded
because it can't find it!
user1182183
@melak47 ;o
@Telkitty I told you, and you can see it wasn't only my opinion
user1182183
08:58
well you have to load the DLL into the application before you can debug it, you can do that by injecting or using LoadLibrary in the application
user1182183
then it should look for the PDB when attaching
wtf man
user1182183
yeah I'm a little confused.
@sbi ohhh, interesting.
08:58
@melak47 he is doing weird shit
user1182183
@BartekBanachewicz doing weird shit? It's just because I AM weird. Just like 7 billion other people
user1182183
:P
I already linked a .lib that takes care of loading the .dll, I'm just looking for a way to make my app find the DLL when I debug in visual studio, without copying the dlls somewhere
There are weird things and weird things
user1182183
09:00
@melak47 set the applications working directory (via a shortcut?) to the DLL directory
user1182183
or add the DLL directory to the librarypaths and use LoadLibraryEx with the search something blabla custom folder library paths parameter
anyway
11 hours ago, by Etienne de Martel
@Rapptz When in doubt, blame whatever @Bartek likes.
@GamErix shortcut?! I'm debugging in VS, not launching my app, then attaching a debugger. Because my app is not deployed, which is when I would copy the stupid DLLs to the app's bin folder or something
I don't.
Now, extrapolate from that everything you needed to know :)
ohai @sehe. I don't have updated makefilez yet, but I took my backpack and I am stealing my laptop PC today, will run a linux on it at home and try to run it. Nevertheless, new versions of engine and minicraft are cleaned from system specific shit even more, but of course I really have to run it on linux to be sure
user1182183
09:02
@melak47 then add custom libvrary paths to the app :P stackoverflow.com/questions/327093/…
Good luck :)
@GamErix I want to do this though VS though, I don't want my app to always look in D:\Dev\libcrap++\lib\
user1182183
@melak47 #if defined debug AddDLLDirectory ... #endif
maybe I want to debug a release build :p
user1182183
@melak47 add some cuistom define to preprocessor? :P
user1182183
09:05
or make Release Debug and Release Deploy
user1182183
(copies of Release)
user1182183
and to releasedebug u can add the custom preprocessor directive
user1182183
just my idea :D
blergh
@llonesmiz Sigh. I had just found that rock to hide under ... :) — sehe 27 mins ago
^ That was kinda epic in the reversed sense :|
user1182183
09:06
this reminds me, I had sometimes problems with my release build, so I made a few more "release" build with like "release - lvl 1 optimizations", "release lvl 2 optimizations"
user1182183
then I looked which optimizations fucked my app
user1182183
----------------- 10 hours later... -----------------
Can itunes play FLAC? Or do I need to find a convertor to mp3?
user1182183
@Mysticial don't know but I suggest FooBar2k
Xeo
Xeo
@Mysticial I don't think it plays FLAC
At least last time I tried it didn't.
09:13
@GamErix Media Player Classic handles FLAC fine because it can also handle 1080p Anime.
But I guess I need to find a converter.
The only download I found for this soundtrack was all in FLAC.
user1182183
@Mysticial yep MPC, I have that one too :P
Xeo
Xeo
Get a better music player :P
user1182183
but it uses external codecs for everything and Itunes internal?
user1182183
at least I use MPC for video and Foobar2000 for music
FLAC is not Apple-blessed codec so you're shit out of luck
user1182183
09:16
oh blessed nvm
Not supporting mp3 is like not accepting USD in the US.
ABC!!! How very dare you play audio adverts! (╯°□°)╯︵ ┻━┻
morning
@Mysticial Well it's proprietary
Haha... I CAN HAS 2 IPADZ
let's see how good Apple is at openGL support
09:23
On that note, I'm off.
user1182183
@Mysticial mp3 sucks.
oh, this one is running iOS 6
Didn't notice at first
wow, it has a clock
user1182183
@BartekBanachewicz then come up with a better format? :P what's wrong about MP3 anyway, it sounds good on my 14 speakers
@GamErix ahahahah
@GamErix AAC is much better. For lossy compression, of course. Use FLAC
user1182183
09:28
@BartekBanachewicz too much choice in ACC settings, always got crappy quality
user1182183
in mp3 it's just, the bitrate and you're done
turns out my employer decided, in his brilliance, to give his executable different behaviour depending on whether you call it with through a symlink with a different name.
@GamErix That's so stupid it's not even funny
@DeadMG what
user1182183
@BartekBanachewicz because I didn't mean it to be funny
09:29
@BartekBanachewicz I know, right?
user1182183
I seriously cannot configure the fucking AAC converter
@GamErix that's you being bad, not the converter
Didn't we cover this already?
user1182183
@BartekBanachewicz well, tell me how you get the best out of AAC?
17 hours ago, by R. Martinho Fernandes
@gideon Because you can do execl("/bin/vim", "gvim", NULL);, and it will act as if you did execl("/bin/vim", "vim", "-g", NULL);
09:30
@GamErix I don't rip anything to AAC, so I am not a right person to ask
damn VNC Y U SLOW
user1182183
:/
user1182183
Sony Vegas is just too damn proffesional for me.
And so for instance on my machine /usr/local/bin/g++-snapshot is a symlink to /usr/bin/ccache IIRC.
user1182183
09:36
that's not close enough
huh
maybe it's a common Linux thing
?
user1182183
@BartekBanachewicz ofcourse it's not :P don't be a grumpy cat :(
user1182183
we already have enough of these
Okey. Just my VNC is slow and it's annoying
Because the dev machine I am using is on WiFi atm :/
Xeo
Xeo
@DeadMG Erm, that's what GCC and Clang do too, if you call them with their g++ or clang++ symlink.
09:38
Every C or C++ program that so wishes has access to argv[0].
huh
@DeadMG so are you working from home then?
just another reason to dislike command lines
Xeo
Xeo
You suck.
@TonyTheLion Yep.
user1182183
09:39
well windows has GetCommandLine()
@DeadMG woah, that's cool :)
@Xeo What? How am I supposed to know what magic will happen if you rename it to some arbitrary other string and then call it through a symlink named that instead?
Xeo
Xeo
@TonyTheLion Woofing from home. Remember the SO ad? :)
@Xeo Ahahahah yes.
although, I have to admit, Clang's behaviour in this regard was clearly documented, and I knew of it, whereas this guy didn't document anything.
09:45
@LucDanton With me too
is cp src, dest or dest, src?
I forget
Xeo
Xeo
former
user1357851
CP SRC DEST
Xeo
Xeo
Also, man up.
user1357851
unless you cp a whole directory
user1357851
09:47
then it is cp -r src dest
@DeadMG Well. That is somewhat customary. Yes. E.g pgrep, egrep, fgrep all link to the same executable, just implying different default options
it's also totally opaque
1 min ago, by Xeo
Also, man up.
@Telkitty or cp -pruv to copy, verbosely listing, including permissions and only if newer
@DeadMG What is? Ah the links.
I can't believe the puppy is using Linux.
that's just like the most baffling thing, ever :P
09:49
Well, documentation stands for something. unixhelp.ed.ac.uk/CGI/man-cgi?grep Look at the intro line:
NAME
           grep, egrep, fgrep - print lines matching a pattern
looking forward to leaving Linux.
ahahahah
user1357851
I can't believe puppy wasn't using linux to start with, thought everyone here were :p
Sooo. You're passing up on a job opportunity because you can't be... to use linux?
user1357851
Personally I prefer half-half: backend linux, front end windows
user1357851
09:51
but it's usually not up to me
I'd jump on any job opportunity that allows me to use Linux
it's got to be awesome
I do prefer linux. But I don't hate windows too much. I just hate the licensing/packaging trouble (i.e. licensing: existent, packaging: non-existant)
user1357851
I used to work at a place that gave us a linux machine and a window's machine, so everyone had 2 PCs and 2 monitors
I use Windows out of habit
but I really like Linux, I should use it more
@TonyTheLion Not too sure about the difference. But yes, I'd jump on it too.
Have had linux-only clients, linux/windows, UNIX/windows and windows-only clients. It's all basically the same deal.
All projects have their rotten parts.
It's just, on linux, it's usually way easier to work around the rotten parts. (The tedious, busy work)
09:54
right
user1357851
but unless you are managing a server, which client is using linux only?
@sehe No. But I do have some other work which might come through and if so, I'm taking it.
one of them is an MFC job and, well, at least I'd get to use Visual Studio.
@DeadMG Then why the hell do you state things like that "Looking forward to leaving linux". It is confounding to me
urgh, MFC
you'd trade Linux for MFC, you crazy bitch
because I look forward to the time when this contract is terminated
09:56
@DeadMG What. You seriously considering an MFC gig? Knowing your C++ style/ambitions you'd have a much better time adapting to linux. MUUUUUUCH
seriously, I worked MFC for a while on a previous job, it's horrendous
user1357851
MFC = microsoft style C++ - have fun
never again.
I've worked with MFC extensively for ~4.5 years (of which 1 year was VS2008). Trust me
listen to the wise advice of Mr Wise Polar.
09:58
@DeadMG Wait. I missed some news. You're on a contract? Congratulations. Seriously, that is a landmark.
it is
damn, Y U NO TELL US PUPPY?
@sehe is it that bad?
@TonyTheLion Since I've heard you on Mumble, lines like that totally sound like "you" in my head :0
it's terribad
@sehe :(
@sehe you were on mumble? how could I miss that :(
user1357851
09:58
I have worked with MFC for 6 not so solid years
he was on Mumble many times
he's hosting the mumble server
@TonyTheLion I was in a discussion about how my employer sucked here last night.
that I am aware of
09:59
@BartekBanachewicz Well. No. But yes, it is keeping back and stifling the use of modern C++ in abig way. Google "Intrusive Frameworks". Imagine a framework from 1996 (or older?)
@DeadMG I don't come here much at night, got to watch TV shows :)
lol
okey, blocking the use of normal C++ is an argument for me

« first day (873 days earlier)      last day (4300 days later) »