« first day (726 days earlier)      last day (4229 days later) » 

3:00 PM
@MartinJames oh noes
 
@StackedCrooked hey, I heard you're pretty much a Qt god
 
Xeo
@LuchianGrigore "I've ever seen" == "I've seen so far"
 
@LuchianGrigore ¬_¬ what he said was already in the past tense
 
@melak47 Nope, I'm closer to a Qt noob.
 
3:02 PM
@StackedCrooked aw. do you have an idea what I need to do to qmake to turn a Qt project into something MSVC can compile? (i.e. do the meta object compiler thing, but not compilation)
 
@thecoshman It's about wanting to go home. So it's relevant, not?
 
0
Q: I want to send a file(any size) to from Server to Client using winsock. But I got stuck here. There is something in DataPack sending and receiving

user67449I want to send a file(any size) to from Server to Client using winsock. But I got stuck here. There is something in DataPack sending and receiving. Client: #include <WinSock2.h> #include <memory.h> #include <stdio.h> #include <iostream> using namespace std; #pragma commen...

look, a wall of text and code
 
@melak47 You need to compile the files that have Q_OBJECT in them with the moc preprocessor before actual compilation.
 
> //检查缓冲区是否设置成功
 
@StackedCrooked yeah
 
3:04 PM
^ Useful
 
why can't Qt just be happy with std::function? :(
 
That's pretty much it.
 
@Scrubbins because Qt
 
@StackedCrooked also, the .ui files get parsed into a header file
 
Xeo
@TonyTheLion close as too localized
 
3:05 PM
done
 
I've never used .ui files.
 
I have and they suck
 
@StackedCrooked well, I'm using QtCreator
 
@StackedCrooked I don't know, I just want to go home
 
want to do the UI in there, then take it to VS
 
3:06 PM
me want to go home too
 
I've been toying a little with QtDeclarative, but haven't been able to do something meaningful with that yet.
 
tonight's mission: get that damn project to build again!
 
what project?
 
@cat I may be pestering you
@TonyTheLion kyrostat :P
 
I am at home and I feel like I want to go home as well.
2
 
3:06 PM
@thecoshman oh gawd. It's dead.
@StackedCrooked lol
 
Xeo
@StackedCrooked You want to go even homer?
 
just to make sure I haven't completely scrubbed this up
 
@Xeo Yeah, I'm not at my homest here.
 
@TonyTheLion yeah, but I want to tinker :D
 
You want to become the homest guy.
 
3:07 PM
x > y == !(x < y) for something like int, right
 
Xeo
No
 
Btw, I'm leaving for Japan on Saturday!
 
Xeo
x >= y == !(x < y)
 
@StackedCrooked oh wow. Lucky you!
 
@TonyTheLion it mostly seemed to be because people kept leaving things until there was this new site the dom was working on, but he's vanished
 
Xeo
3:08 PM
@StackedCrooked Take me with you!
 
@thecoshman true
 
oh, the condition where x == y doesn't matter
 
"doesn't matter"?
 
I think I'm gonna take a week off so I can recover from this
 
so I reckon that means having to dig into the HotSpot internals to figure out why it treats them so differently
 
3:09 PM
@TonyTheLion people where also really held up waiting for a windowing system to have been sorted out
 
@StackedCrooked oooh fancy
 
@Xeo We take the plane to Frankfurt and from there to Narita. So we can pick you up from there.
 
well, if you're feeling ballsy, you can always restart work
and we'll see what happens
 
@StackedCrooked Sounds good. Vacation,.. or the 'W' word:(
 
Xeo
3:10 PM
@StackedCrooked I'd so like to just go there and fly with you. :( Alas, no money.
 
@MartinJames Uh, "W"?
 
@Xeo Maybe next time, now you have a job you can start saving :p
 
Xeo
Heh
 
@Scrubbins W.. wo..wor.. I can't seem to get it out..
 
@Scrubbins Waffle, obviously
 
3:11 PM
Wankered
 
Wagonette
 
@tony would you care to pick it up again? Considering how little work had been done, I'd say it's still open to be anything
 
@StackedCrooked ok, the QtCreator generated makefiles include some rules for the MOC. I can't figure out how the results are to be used though...
 
@thecoshman I may do, but not tonight. I'm in way too bad a mood to look at code tonight
 
@thecoshman If you work out the windowing API I can still fill in the gaps for the win32 implementation
 
3:12 PM
for example, my app is main.cpp, widget.h and widget.cpp. moc_widget.cpp is generated, but it includes widget.h, which still has Q_OBJECT in it!
 
@kbok sweet
 
But we never really had an opportunity to do that.
Also I should be able to handle Mac OS stuff soon
 
@Xeo The first thing we'll visit is Harajuku on Sunday.
 
IIRC I was fairly close with having the windowing and event API sorted, but It's been a long time since I worked on it. I had a go at it the other week, but it wouldn't bit right away, so rage quite on it. I had reinstalled OS you see, so probably not got everything set up for it
 
 
3:13 PM
lol
 
It's an loli/anime punk culture, or something like that.
 
@StackedCrooked MOC takes widget.h and generates moc_widget.cpp from that. why would the resulting file still include the pre-MOC header file?
 
@kbok o_0 why is their a picture of Liverpool's night-life?
 
@melak47 It shouldn't AFAIK.
 
@StackedCrooked also, why does it generate a .cpp - not a .h? I'm very confused :S
 
3:16 PM
@thecoshman It's Harajuku (tip: Google image search).
 
@melak47 go read up on the MOC generator
it's fairly well documented
 
@StackedCrooked it's Liverpool Night Life (tip: had a life)
 
@TonyTheLion Another epic 'CBBTDI' debug fail:((
 
@thecoshman Tip: check the image name in the url.
 
3:19 PM
one other thing with kyrostat, the team is currently over staffed as it has not been paid for. I was thinking I would 'drop' people to bring it down to the five man limit for a free account, based purely on who I see around here, I was thinking myself @cat @lion @dead and either @Stacked or @R.Martinho
 
Hasn't that project been dead for a while now?
 
@StackedCrooked ahh, it seems it doesn't process and replace the original header file with the Qt stuff in it, but adds another .cpp with the implementation for QObject. or something.
I don't know how it makes the slots work, but I guess I don't need to know :D
 
yeah, but Like I was JUST saying to tony, I want to tinker with it and it was mostly because people got stuck waiting for this vapourware site of doms and windowing/event API to be sorted
 
@melak47 Yes, that's the output file. That one you need to compile with the rest of the source code.
 
// #define HACK
#ifdef HACK
  bool interesting = false;
#endif // HACK
 
3:21 PM
@Scrubbins o_0
 
@StackedCrooked yeah, but what about stuff like... public slots: ..., how will say MSVC understand that?
 
@Scrubbins It's an uninteresting hack.
 
@thecoshman But now we need a collaboration platform, and not IRC because IRC sucks
 
@melak47 That should be removed my the moc tool as well. Or it might remove them with #define slots.
 
@StackedCrooked but MOC doesn't seem to alter the original widget.h
 
3:23 PM
@kbok but do you need a proprietary one? and what is your bitbucket name?
 
@melak47 Then they are define'd out with the preprocessor.
 
@StackedCrooked hmm.
 
It's a real shame that dom vanished, I really liked what he had in the pipes
 
I might see if I can host some forums
 
@thecoshman No, just something that is not as public as SO chat.
 
3:24 PM
any way, I've to head home now, for some real programming, none of this Java crap
 
@thecoshman it's kbok
 
I mean, I do possess my own website and shit now
 
@kbok agreed
 
We don't want no stinky forum
Just a chat and trello
 
@thecoshman he talked big but didn't deliver. that's a bad sign.
 
3:26 PM
@StackedCrooked Didn't deliver a lot more than just kyrostat.com
I still think most likely is he got hit by a bus or something
 
Was he alone on the website ?
 
yep
 
oh hamburgers
well I gues we don't really need a site right now anyways
 
Hi.
 
@thecoshman I sent you an invite, let me know what you think of it
 
3:29 PM
knew you wouldn't stay away
and ftr
I think SO chat is the best choice
when we were on IRC I found that frequently we wouldn't go there because it was just effort
 
@StackedCrooked do you know where which version of the Qt libs are located? i.e. are the ones in /lib debug or release?
 
We need something like that but private
 
so IMO we need something either super simple or non-real-time like a forum so you can visit less frequently
 
atwood mentionned something this morning
No, we need something people can derp on so that they are available when we need real communication
 
I've got that stupid Gandam style song stuck in my head
 
3:31 PM
@melak47 At least on linux/mac I only need to update the PATH variable so that Qt's bin folder is in it.
 
@Neil Try Klingon Style.
 
@StackedCrooked /bin has only got the executables in it for me
but I built both debug and release, but I have no clue where debug and where release ended up
 
Sorry. I only know what I know. You should get better answers from SO than from me.
 
oh, nevermind. QtCore4.lib is probably release, and QtCored4.lib is probably debug :p
 
@Scrubbins I've only seen Mitt Romney style parody
 
3:34 PM
what, Romney Style?
 
can't watch here
 
@ereOn I never felt OOP solving any problem for me well.
 
blargh. QtCored4.dll is missing. Why doesn't visual studio look in the lib directoryI specified? I really don't want to copy the dlls to my project folder...
 
man
Ukraine
 
3:44 PM
@daknøk Well, I am teaching a C course at the moment, and it would be really nice not having to pass the self pointer around explicitly :)
 
your attitude is bad and you should feel bad
 
@FredOverflow use FP or imperative programming.
 
FP in C? :)
 
@FredOverflow Wait wut? C? self?
 
OOP in C is even worse than OOP in Java.
 
Xeo
3:45 PM
@StackedCrooked I jelly. :(
 
@Mysticial Well, I don't want to name it this in case anybody decides to compile the code with a C++ compiler.
 
Xeo
@Mysticial void blub_foo(blub* self, ...)
 
haha
 
@StackedCrooked whee! it works! my msvc 2012 compiled Qt works, the files MOC'd from QtCreator work, Qt app compiles in MSVC and runs! :D
 
@FredOverflow whynot.
 
3:46 PM
@melak47 choo choo
 
@melak47 Congratulations :)
 
Just write pure functions.
 
@daknøk No lambdas, no GC...
 
@Xeo blub_foo(&blubber, "AMAGAD VARIADICS! DIE!");
 
@Scrubbins I'm pretty sure he didn't mean ... as ... ;)
 
Xeo
3:47 PM
@Scrubbins the ... were not meant to be variadics in this case. :(
 
@FredOverflow GC is not strictly needed, lambdas neither. clang has a language extension for lambdas in C but I assume you don’t want that. :P
 
lambdas definitely a realistic requirement
 
as well as some form of parametric polymorphism or at least type abstraction like std::function
 
@Scrubbins void* :P
 
3:48 PM
@daknøk If I want FP, I'll just use Haskell. No need to bend C over backwards and rape it.
 
Currying can be done explicitly. xD
 
@daknøk Is the most hideously unsafe shit ever.
 
@FredOverflow And why would you do OOP in C then?
C supports no FP, so you don’t do FP. C supports no OOP, so you do OOP? Makes no sense to me.
 
@daknøk Because sometimes, OOP fits nicely. For example when implementing a heap (the data structure) or whatnot.
 
Ooh data structures. I don’t call that OOP.
OOP to me is shit with inheritance, interfaces and polymorphism.
 
3:50 PM
Finally home.
 
@daknøk Okay, let me rephrase: I like doing OBP (object-based programming) in C from time to time.
 
SAF: structs and functions. :P
 
any idea why when the first line of my windows batch file is another batch file, the other lines do not get executed?
 
C is much closer to supporting OOP than supporting FP
right, I'mma try to escape this pit
the lounge won't load on my phone so I probs won't be back until tomorrow
tata
 
@MooingDuck You must use call otherfile instead of otherfile.
Without the call, it's just a goto :)
 
3:54 PM
Batch files are terrible. Use Z shell.
 
Since when are you such an "everything practical sucks, use FP instead" guy, anyway? :)
Not that I don't like FP, Haskell is awesome.
 
Since I use FP.
 
@FredOverflow stupid batch files
 
Does it work now?
 
@kbok what's this?
interesting...
 
3:56 PM
@FredOverflow I dunno, it runs tasks that are hard to kill
 
I also do procedural programming in Python or JavaScript, but I prefer FP in Haskell.
Though I would call it callback-oriented programming in JavaScript.
 
@FredOverflow yes it does, thank you very much.
 
But I’d rather be picking cotton than using OOP.
 
@MooingDuck Glad to help, I haven't done any serious batch programming since MS DOS 6.22 :)
 
@daknøk lol, don't try to make excuses for it
 
3:59 PM
I think I rather prefer the way jQuery handles events. It pushes down the current event like it were on a stack, calling itself, then whatever was just assigned to that event
 
@daknøk I'd rather be kicking bottom than picking cotton.
 
crap on toast @MooingDuck only just noticed it's 'mooing' and not morning or mooning
4
 
@FredOverflow You tried too hard to make that rhyme
 
I like how node.js has no threading.
 
Well, JavaScript has no notion of threads, right?
 
4:00 PM
It solves all the problems!
@FredOverflow you could do threads in JavaScript if you write a library for it.
But it would be useless in node.js, which is event-based.
Everything that does I/O is non-blocking.
But for example bcrypt-node has a hash_async function which uses clustering instead of block.
Clustering is basically having multiple node processes.
 
@thecoshman wait really?
 
@MooingDuck Yeah, it really is 'mooing'. You should know!
 
@thecoshman It's not DeadMG either :P
 
@thecoshman It's a task organizer (from Fog Creek). I also sent you an invite for Atwood's thingie
 
Though I have to say that using Node.js without await/defer is instant spaghetti code.
 
4:04 PM
@MooingDuck yeah... I have 'problems'
huh... turns out I don't have that funky chat extension at home as well...
@TonyTheLion ¬_¬ not sure if trolling or I really am reading it wrong
 
@thecoshman lol "Mooning Duck"
 
@thecoshman I'm referring to the incident where a load of peeps changed their name and avatar to DeadMG's. @MooingDuck started it afaik
 
@TonyTheLion I did, but what happened was not my intent
 
@TonyTheLion not aware of that one, sounds like a real fun time :P
 
4:07 PM
user image
11
^ Mooning duck
 
oh gawd
@thecoshman some weren't too happy with it, like robot and ape
Mooning is the act of displaying one's bare buttocks by removing clothing, e.g., by lowering the backside of one's trousers and underpants, usually bending over, whether also exposing the genitals or not. Mooning is used mostly in the English-speaking world to express protest, scorn, disrespect, or provocation but can also simply be done for shock value or fun. Some jurisdiction regard mooning to be indecent exposure, sometimes depending on the context. Word history Moon has been a common shape-metaphor for the buttocks in English since 1743, and the verb to moon has meant 'to expose to (...
it's a word
I thought it didn't have any meaning
oh gawd.
 
@TonyTheLion yeah, it does :(
 
well I'm glad you are merely a Mooing duck :)
 
@TonyTheLion yeah, I can imagine it would annoy them :P
 
@MooingDuck is this you: mooingduck.com ?
 
4:10 PM
@TonyTheLion nope (didn't know that was a site)
 
now you do, first result when you google Mooingduck
 
oh hey, it's a dude who's a programmer and everything O.o I see how one would make that mistake...
 
silly me, I need to sort out my public private keys with BB :P
 
I should email that guy
 
explains why it's not worked all this time
 
4:11 PM
@MooingDuck
5 tweets, 0 followers, following 1 users
also this
he uses that name in twitter too
how funny
 
@TonyTheLion huh, my twitter is my real name
 
hey, does someone know what the command is called to switch between split code/document pages so I can bind some keys to that?
 
@melak47 visual studio? There's a little thing next to teh scroll bar, you just drag it
actually, only horizontal appears to ahve that
 
@MooingDuck what? no I want to switch from the left code window to the right one, but I can't figure out what element is what and what the command is called
 
4:17 PM
@melak47 oh, I don't know of a command for that
 
@melak47 Doesn't Ctrl+Tab do it?
 
@Prætorian no. also, I made ctrl+tab switch between...you know, tabs :)
 
@melak47 It's black. Is that an emo version ?
 
@kbok its the eye friendly version :)
 
Visual Stud Emo
 
4:18 PM
@kbok Yeah, VS2012 Emo Edition
 
private ssh keys are stored in ~/.ssh on linux right?
 
@FredOverflow Visual Stud? :p
I'd really love to have a keyboard shortcut for switching those windows :/
 
@thecoshman did you have time to check trello out ?
 
I tried all the Window.Next... commands, none seem to work for those code windows
 
@kbok yeah.. but not to sure what to make of it
 
Xeo
4:20 PM
@melak47 Haven't found one either. :(
 
@thecoshman Well, it's for tracking tasks. Better than a wiki. There's a link to a private chat as well.
 
@melak47 So I just tried split window in VS2010, and Ctrl+Tab is cycling between all open files, in both windows
 
@Prætorian well, the default ctrl+tab is completely bonkers
I want it to cycle in order
 
@kbok yeah, but one thing I keep coming back to, the issue tracker on BB is more then capable IMO of task tracking
 
not random crap
 
4:22 PM
The deer are leaping through the quantum tunnels and changing all known paradigms.
 
@thecoshman Fair enough
 
@thecoshman yes
 
Xeo
@melak47 it's not "random", it's the order in which you displayed the tabs, with the most recent first
 
@Xeo yeah, but it's not in the order in which they appear. :/
 
4:24 PM
@Cheersandhth.-Alf Just some crap I made up.
 
Xeo
Sure, and I hate the default behaviour too
 
I can't convince my coworkers that it's safe to store deltas of binary files in perforce. They've tested it and it works, but they're still not sure.
 
@thecoshman so, hipchat ?
 
@Chimera so that fact it only has 'knownhosts' means I have ... miss placed my private keys
 
4:25 PM
default ctrl+tab does Window.NextDocumentWindow. I like Window.NextTab better, because it cycles through the tabs in one window in order
 
@kbok didn't sign up for that, what is it like?
 
@thecoshman sounds like it. Your keys should be in that directory.
 
@thecoshman it's like SO chat, dumbed down
 
@kbok oh ok then, I will leave the tab open and sign up at some stage :P
 
@thecoshman but you can re-key.
 
4:26 PM
for now... I need to either find my private key or regenerate one
 
@thecoshman guest access
 
Xeo
@melak47 Yep
 
@MooingDuck You seem to be the one to ask. If I have a set<pair<int, int>>, will that be unique (ie does pair have an operator=?)?
 
@Drise yes, each pair will be unique. Yes pair has operator=. (pair also has operator< which seems more relevant to sets.)
 
@MooingDuck Cool. Much thanks. As always
 
4:30 PM
Hey ole buddy @Drise. How goes it?
 
no wait, I found it
 
:5735661 ... You lost me there.
 
@Chimera It goes meh. My roommates laughed at me yesterday when I said lounge kicked me out. They then associated that with my hunger-crankiness.
 
basically, pair is awesome, and has everything you'd expect it to, except std::hash.
@Drise the lounge kicked you out?
 
4:33 PM
@Drise :-( You got kicked out of the lounge for a bit? What happened?
 
20 hours ago, by sehe
@Drise Please, Drise. Could you consider a timeout? No need to escalate
 
@Drise oh, I missed that message
 
I cut a bitch yesterday.... again.
 
Oh, I will read the transcripts. Good to see you though. / @Drise
 
@Chimera Nice to see you too. Nice to be back as well. Though I still feel as if I don't deserve to be here.
 
4:35 PM
@Drise It's hard to be nice to drive-bys isn't it? I've been trying to be nicer too :(
 
Too short of a fuse.
 
@Drise pft, have you met Alf?
 
Xeo
CRAP
 
@MooingDuck Not really no.
 
Xeo
I completely forgot that Billy Talent is in Berlin on Saturday...
 
4:35 PM
Can you believe it's raining right now in the Mojave?
 
@Drise He's brilliant, but speaks in ways that I (and others) find highly offensive. He doesn't see that it's offensive and calls us overly sensitive. Also, if anyone disagrees with them, he calls them uninformed, and then refuses to acknowledge them. If they persist, he calls them trolls. He is smart though :(
 
@MooingDuck Oh, he's one of those ...
@MooingDuck Also, thanks to you: strs >> '(' >> surfaceID >> ',' >> elementID >> ')';
:D You won't believe how much I've used that. It's even got it's own header now.
 
@Drise :D
 
Xeo
fuckfuckfuckfuckfuck
 
@Xeo ???
 
Xeo
4:39 PM
How am I gonna get a ticket for that?!
 
lol
 
Xeo
Billy Talent, Anti-Flag and some other band
 
@MooingDuck If the stream fails, does it put the characters back (so you can use clear() and move on)? Didn't we run into that problem before?
 
@Drise no, if a character is missing, the characters are not put back :/
 
@Chimera It's raining in the UK too.
 
4:41 PM
@MooingDuck Got a solution?
 
@Drise streams aren't really designed to do put stuff back like that. are you wanting to read in multiple formats?
 
@MooingDuck I thought they were... And no, I just was wondering
 
Xeo
Crap, even on ebay there's only 1 Ticket for sale
 
@Drise well, it has en.cppreference.com/w/cpp/io/c/ungetc, but I don't trust it
wait, that's C. I missed
 
Xeo
And I don't want to guess how high the price is going to get on that one... 23h left
 
ok, so that's ssh sorted out, now I just need to resolve this problem with too many users in the group...
 
vector<pair<int, int> >* pElementIDs = new vector<pair<int, int> >();
I dun wanna code this... D:
 
@Drise why do you have a pointer to a vector? At least unique_ptr/auto_ptr?
 
@MooingDuck My boss's code
 
@Drise can it be fixed?
 
4:47 PM
@MooingDuck I don't want to.
 
@kbok hmm... web based and client... I like that
 
Finally got my screenshot to work with OpenCV -.-;
 
@Borgleader was resistance... futile?
 
trololol
 
here's one instance where Alf went to war with a user: stackoverflow.com/questions/9618815//…. Once I finally understood what he meant, Alf was right, but he never explained his reasoning. Just bashed the other guy constantly, and referred to every thing he said as "facts".
 
4:52 PM
@MooingDuck Holy shit that's a long comment thread.
 
o.O I guess they missed the message about taking long comment threads to chat huh?
 
@Borgleader fourth from the bottom was a mod reminding them.
 
have I mentioned that I'm having a really bad day?
 
@Borgleader and I found the thread again because it was also discussed in chat.
 
I'm having a really bad life.
 
4:54 PM
oh join the club
 
@TonyTheLion what's up?
 
work sucks, no social life, lonely and general badness
 
I guess that could make up for some of it.
 
@TonyTheLion Could be worse - I initially read that as 'baldness'
 
4:57 PM
I don't need it to be any worse
also it's raining
 
@Larry: i fail to see how you can be unaware that your argument is technically meaningless balderdash. — Cheers and hth. - Alf Mar 9 at 8:45
Typical Alf comment
 
@TonyTheLion it counts for anything, I consider (most of) the people here to be rather genuine friends, sure it is not much more then text, but I sincerely believe that if we where to suddenly moved into the same pub together, once we got ever the initial shock, we would soon be getting on just fine
 
I've seen him use that word in some other comment also where he was bashing yet another answer :)
 
@Prætorian I checked once, more than half my comment flags turned out to be Alf :(
 
@thecoshman yes. I could see that reasoning. I consider most regulars here to be friends. We should create our own city and company and all work together.
 
4:59 PM
@TonyTheLion It's just started here in the midlands. Anne is going out to play darts and, if I want beer, I have to walk to the club and back:(
 
@MartinJames oh.
 
@TonyTheLion is a solid plan, except I doubt there is much market for 'chaotic arguments'
 

« first day (726 days earlier)      last day (4229 days later) »