« first day (664 days earlier)      last day (4298 days later) » 

8:00 PM
#define MYTYPE timeGetTime() is the only place I have timeGetTime() in my code, granted I could get rid of it I guess, I wanted to know how I could fix. Does that mean I have to add MYTYPE library to linker input @BartekBanachewicz
jk can't just delete it. it's a define. oops
 
@klut uurmm... Be afraid. Be very afraid. Not MYTYPE, but the library containing it actually. Let me Google that for you.
 
oh god. haha. thank you for your help Bartek
 
JK - Winmm.lib
 
@RadekSlupik Some men just want to watch the world burn.
 
no thanks
 
8:03 PM
@klut what library is the timeGetTime function in? You need to link against that library.
 
winmm
 
@klut right click the project->properties->configuration properties->linker->input->Additional Dependances. Add winmm.lib
 
Gosh, we are so noob-friendly today
 
lol @MooingDuck, VC++6
i can't figure it out.
 
@klut time to upgrade?
 
8:05 PM
@klut I gave you the instructions for VC++8. The settings should be similar.
 
#include <mmsystem.h> is what was original.
should it be winmm.h instead
 
@klut that includes the header. You also need to link against the library that has the functions in the header.
@klut the include is fine, leave it alone
@klut headers tell your code what functions exist. You have to link with the library to actually call them.
 
@MooingDuck your avatar is now extremely proper
 
got it @MooingDuck, thanks.
Project>Settings>Link>add "winmm.lib" to Object/library modules
 
8:09 PM
@BartekBanachewicz Hey, you get to use "we" after spending a week here and not going insane.
Or going insane, depending on POV.
 
@CatPlusPlus okey
 
@CatPlusPlus bananas!
 
K, im done for today. Didn't sleep well for last few days. 2 jobs at once weren't that good of an idea. Good Night Overflow!
 
@CatPlusPlus What about those of us who started out insane?
 
@JerryCoffin Sanity has no lower bound.
 
8:15 PM
@CatPlusPlus What what doe "not going insane" mean?
 
@CatPlusPlus So, you can have negative sanity?
 
@EtiennedeMartel You have to ask?
We're here, aren't we.
 
@CatPlusPlus I think sanity is like temperature: while it can get quite low, it cannot get lower than absolute zero.
 
Why is imgur stuck at 100% uploading, what is happening.
 
@CatPlusPlus Karma.
 
8:26 PM
Karma, BIATCH
(FTFY)
 
I'm not thug enough to say "biatch".
 
John Karmack
 
Don't you dare defile the name of the Great John Fucking Carmack.
 
Guess what… I did.
 
Dickface.
 
8:31 PM
I’m not sorry.
 
Yeah, respect bro.
 
I'M SO MAD RIGHT NOW.
I COULD PUNCH A BEAR.
 
John McCarwreck
 
IN THE BALLS.
 
YEAH.
AND THEN DRINK TEA WITH HIS WIFE.
 
8:32 PM
She'd like that
 
BEAR BALLS TEA.
 
Mmm. How does punching result in tea
 
8:34 PM
@sehe Well, Bear Grylls drinks a special kind of tea.
Which in turn reminds me of Strong Horse Tea.
Horrible short story.
 
So. Tonight's task : find a new job.
Has anyone ever had luck with SO careers ?
 
I have.
Some random company contacted me back when I was 16.
Never emailed back though.
It was about Ruby on Rails. Meh.
 
Well I wouldn't call that luck but well.
Oh yeah. That's dumb
 
I have a friend in the IT business. That’s how I got my job. :P
 
I have been contacted for a js/C++ job on SOC but I have been kicked after the 2nd interview :(
 
8:36 PM
He has a company.
 
That was a sad day for me.
 
Wait. They contract you and then they go whine?
Hypocrites.
 
@RadekSlupik Contact, yeah. Well I understand, they contact more people than they have vacations so that they can take the best
 
@RadekSlupik Amaizing. I just scanned it. Whoever comes up with that shit :)
 
Not that I'm not the best of course :)
 
8:39 PM
@kbok Oh I read “contracted”. :P
 
> "The only thing that can save this child now is some good strong horse tea," she said, keeping her eyes on the girl's face. "The only thing. And if you wants him out of that bed you better make tracks to git some."
 
@sehe Alice Walker
@sehe make, track and git in the same sentence. Didn’t know the story was about software development.
We had to read it for an English exam. :<
And also a few other stories. And three books.
 
@RadekSlupik And you didn't die. Good for you
 
I got a 1 out of 10 for that exam. :D
 
@RadekSlupik Wait. Only three? I thought you mean during the exam
 
8:41 PM
@sehe No. We needed to read them before the exam.
We got a year the time to read everything.
I read nothing.
 
Speed reading exam?
 
@RadekSlupik ?! Only three books. What has the world gotten to. I'm pretty sure my NL list was 30 books and my EN list 20
 
Anyway, the minimum I had to get for that exam was -1 out of 10 to have an average of 5,5 which would be just enough.
 
Wow, I nearly had a heart attack when I saw in my profile. And then I noticed there's a "dislike" category.
 
@sehe They know students won’t read the books anyway. If they would give us twenty books nobody would ever overgaan.
 
8:42 PM
(NL might even have been 35, but I didn't read enough since I switched schools and the new school (Juvenaat) had a higher required book count on both lists)
@RadekSlupik overgaan = pass
 
That.
 
@RadekSlupik Like I said: what has the world come to
 
@sehe Less useless books.
 
@RadekSlupik Fewer
 
Literature is utterly useless, unless completely based on facts and educative.
 
8:43 PM
Also, the books aren't useless and reading is even less useless
 
What's up with the "xyz is useless" here
 
@RadekSlupik These days, I'd agree. But 3 books is really really meager
@kbok The lounge
 
I always get nervous while reading a book for more than ten minutes.
It’s boring as hell.
And very unproductive.
 
Ritalin
 
That's pretentious and ignorant.
 
8:44 PM
I am not going to take drugs so I can read a book. I’ll just not read the book and write software, which is much more useful, educative and it actually makes me money.
 
I can read best when I'm feeling lazy.
 
Using your brain to actually think is not unproductive.
 
Are you all procrastinating??
 
Procrastinators! Unite!
 
8:45 PM
We're mass procrastinators, yes :P
 
Poems are only good for understanding cryptography.
 
oh good, me too! haha
I liked that movie
 
I am. I'm procrastinating watching a movie with my wife in bed. Hummmm.
Good night!
 
@MarcusJohnson No, but I will sometime soon.
 
Fuck it, I’ll just procrastinate that tomorrow.
 
8:46 PM
@Jerry hahaha
 
I'll put off watching a movie, cause I'm spending time in this room
 
@RadekSlupik Never put off 'til tomorrow...what you can get out of completely.
 
I procrastinate everything using GitHub issues.
Till dateFromTimestamp(infinity).
 
i've been on github a few times before...but i didn't really know what it was...just a file sharing place?
 
GitHub is a hosting site for Git repositories.
 
8:47 PM
@RadekSlupik HEXAPODA!
 
what are git repositories
 
Except for hosting and bug tracking, it sucks ballz.
 
google much?
 
oh my google broke down this morning. its still being fixed
 
8:48 PM
GitHub’s pull requests are a complete joke.
 
you have a Google?
didn't know you could own one
 
They should use git-request-pull, not their own crappy version.
 
haha yeah
it cost me a google or two
 
And the web interface for editing files should be removed completely.
 
@RadekSlupik You're into Python, right? That's basically the only language I've used so far...haha...
 
8:50 PM
 
@MarcusJohnson You don’t say?
@StackedCrooked IE6 already did.
 
@MarcusJohnson try haskell, its fun.
 
There's IE9 ads on French TV.
 
@RadekSlupik It's back. This time .. it's 9!
 
I have to say that it's actually not bad. Better than FF anyway.
 
8:51 PM
@kbok You are not a web developer.
 
@RadekSlupik I used to be. I stopped before it would've killed me.
 
@kbok I hate IE so much it isnt even funny...
 
@RadekSlupik yeah, and I have a pretty big problem.
 
Guys, this is not the 2000's anymore. MS is serious about the internets.
 
hahaha
 
8:52 PM
I really don’t know how the developers of IE can be such morons that they don’t read the fucking standard and just be conformant.
2
@MarcusJohnson Press the up key to edit messages.
 
Just give it a try. It's different. I promise.
 
@kbok I need to test websites in it at work.
And indeed, it’s very different… from the standard.
 
In IE9 ?
 
@RadekSlupik Simple -- they have to worry about backward compatibility.
 
@kbok Yes.
Clients want it.
 
Stupid clients. :<
 
@RadekSlupik I heard they've been fairly conformant since IE7, if you do something specific (researching)
 
@StackedCrooked IE’s ads on TV are much worse.
 
@RadekSlupik also that most of the IE6 problems were because the standard had just been released and was vague. it was an interpretation issue, and the standard was later reworded to agree with firefox's interpretation.
 
@StackedCrooked Well, the first part is actually funny.
 
8:55 PM
Firefox was so awesome back in the days. It had fucking tabs.
 
@MooingDuck Compared to IE 6, they've improved drastically. Compared to (almost) any other web browser on the planet, their conformance is still fairly mediocre.
 
I like my Chrome.
 
I like Chrome on Windows.
 
Yeah, no reason to leave gargle crum anyway.
 
I read “no reason to gargle cum”. T_T
 
8:57 PM
@JerryCoffin "The trident rendering engine in Internet Explorer 9 in 2011 scores highest in the official W3C conformance test suite for CSS 2.1 of all major browsers..."
 
you should change the topic to: Procrastinators! Unite!
that sounds kewl-er
 
@RadekSlupik found it! "Internet Explorer uses DOCTYPE sniffing to choose between standards mode and a "quirks mode" in which it deliberately mimicks nonstandard behaviours of old versions of MSIE for HTML and CSS rendering on screen"
 
/topic change
damn xD
 
HO NO, they deleted the "lightweight date library" question.
It's called "trident" because it's a fork of the standard.
 
@MooingDuck Yes -- but the official W3C conformance test is (almost) entirely useless (well, the test itself isn't useless, but unweighted scores from it are meaningless).
 
argh
I think I inhaled some spice or something
it's in my sinus cavities or someshit like that
most unpleasant
 
Rinse with seawater.
 
How do we report spam on twitter ?
 
Unfollow?
 
Well, those are notifications, I don't follow spambots in the first place :)
 
9:04 PM
@R.MartinhoFernandes I'm having some issues where apparently template<typename T> R clone(T&&); 'shadows' declarations that should be found via ADL, but clone(T const&) doesn't. Ever faced anything similar?
 
My esteem for the robot rises.
 
It's an esteem for robot uprising.
 
If you had to sell Haskell in couple of sentences, how'd you describe it? I'm bad writer and have trouble coming up with stuff.
 
@R.MartinhoFernandes Another tentative diagnostic is that clone(T&&) is preferred via overload resolution (it's the usual T&& being a better match than T const&), but that would run in the face of ADL rules.
 
@LucDanton @RMartinho
 
9:08 PM
@CatPlusPlus It just works! (If it compiles.)
 
Now comes with bacon.
 
@CatPlusPlus Well, pure functional programming with ML-like syntax is about enough for me. Sorry.
 
I'm also interested in a good reason to give it a serious try.
 
@CatPlusPlus What is the target audience?
 
Programmers that don't use Haskell.
 
9:09 PM
I tried ocaml and F#. Not convinced.
(Also ocaml is French ! cocorico.)
 
But that last section grows and I still don't feel it's selly enough.
There's just too many cool things dammit.
 
Why would you learn Haskell (other than educational purposes)?
 
It's fun to write.
 
@CatPlusPlus As a second resort I suppose I'd plug tryhaskell and leave it at that.
 
@CatPlusPlus Simon Peyton Jones wrote an article (around 2007) about the history of Haskell that I found to be quite motivating. Found it!
 
9:11 PM
@LuchianGrigore Each tool for a task. It's good to know at least a scripting language, a GP language and a FP language.
 
Functional way of doing things come in handy even in imperative languages.
Also appreciation of immutable things.
 
@kbok yeah but which sort of task would be suitable for Haskell.
 
You can do anything in Haskell.
 
I did learn StandardML in college. Granted, functional is fun, but other than brain-food, not really useful.
 
Haskell is flexible, you can write entirely non-pure imperative code in it.
 
9:13 PM
@LuchianGrigore Stuff like calculus, logic-intensive task like business apps and stuff
 
@R.MartinhoFernandes Upgrade that tentative diagnostic to 'likely diagnostic', scratch that bit about the rules, and tack on 'here we go again with T&&'.
 
@LuchianGrigore FP is widely used in the finance industry for instance.
 
how come when I copy paste a dll from one folder to another in Windows, if the destination dll is in use the copy fails without warning or message?
 
@MooingDuck Because Windows Explorer's UI is a complete and utter mess.
 
TC > Explorer for everything file management.
 
9:20 PM
Haskell is the Sanskrit of programming languages.
Lol.
 
It fails, because Windows has weird rules about executable images currently in memory.
It wants that every mapped executable to always have a corresponding file on disk. So you can rename it and possibly even move it away, but you can't replace or remove it.
 
@CatPlusPlus I'm aware of why it fails, I'm just surprised there was no popup or anything. Took me a while to figure out why all my code was failing.
 
Well, don't use Explorer for file management.
 
@CatPlusPlus not everything. Deleting files under TC is total crap. I have TC for search, copying, navigation... when it comes to deleting, explorer....
 
@LuchianGrigore ?
What?
 
9:22 PM
@CatPlusPlus this
 
I know that. I'm asking why?
I have no problems with deleting files.
 
I do, always have. I'm talking about more than 100 files
with more than 100mb each
in explorer, it's instantaneous. TC takes a while...
 
TC counts the total size first, I think. You can make deletions use Explorer if you want.
 
I do :D
 
Options > Operation > Copy/Delete > Use Explorer delete method
I mean, from within TC.
 
9:25 PM
@CatPlusPlus WHOA!!! Bye explorer!
 
9:37 PM
@CatPlusPlus I can't seem to google that name
 
Total Commander.
 
@MooingDuck if you're on it, get TC Power Pack
 
it dawns on me I already have one of these. (explorer++)
 
I'm perfectly happy with windows' explorer
except that it takes ages to scan & sort folders if they arent indexed
and the search is crap
and it doesn't tell you the size of folders
 
I got a service that shows folder sizes
 
9:44 PM
Explorer is too mouse-driven.
And has no F4.
 
@CatPlusPlus lots of tasks you can do in explorer with the keyboard. (Still lacking lots as well...)
 
How do you create a folder with a keyboard?
 
@CatPlusPlus my first statement was far too strong
 
:>
Alt+letters navigation/filtering is too good to not have, too.
 
now the fact that it's SO SLOW drives me nuts
 
9:49 PM
Explorer only can navigate via first letters, AFAIR.
 
@CatPlusPlus ALT+F+ENTER+ENTER apperently. or ALT+F+W+F
@CatPlusPlus nonsense, they fixed that in Win2000
 
I haven't really used it in years, admittedly.
 
explorer sux
 
Alt+F opens hidden File menu.
 
@mfontanini I'm not going to disagree with that
 
9:51 PM
Oh, there's search. Kinda slow.
 
@CatPlusPlus yeah, the whole thing is slow
 
And fuzzy, not exactly what I had in mind.
 
do you guys use window$?
 
@CatPlusPlus fuzzy?
@mfontanini I do, as does DeadMG
 
It searches in the entire name.
Unless you can restrict it somehow.
 
9:52 PM
I see
 
@CatPlusPlus preceeding ^ doesn't help
 
I don't actually use the filesystem explorer(whatever application it is) much
bash FTW
 
another complaint with explorer is I cannot launch a folder view as another user, since it's so tied into the whole UI
 
@MooingDuck do you use gcc on windows or VC?
 
though you can kill explorer entirely and run a new instance as another user. That causes strangeness though.
@mfontanini Both. Mostly VC. I have GCC mostly to make sure my code is portable. And timing random compiler/implementation things.
 
9:55 PM
how about c++11 on VC?
 
lol
 
@mfontanini I got XP, so no C++11 for me :(
 
MSVC's allocator has a lot more overhead compared to GCC's. When I allocated a million char* each pointing to 1-15 chars, MSVC used twice as much memory as GCC.
I should test how they grow sometime, maybe that's relevant.
 
10:00 PM
mmm let's not start talking about how microsoft stuff is compared to others'
 
@mfontanini microsoft's SBO in their string class is awesome.
 
Xeo
@MooingDuck debug mode?
 
@Xeo I can't imagine I would have forgotten that.
 
is it?
I want to start using clang, but there's a shitty bug triggered whenever I use a std::thread which segfaults
I'm going to try libc++ one of these days, I believe the problem is in clang + libstdc++
 
Xeo
code?
 
10:04 PM
that triggers the std::thread error?
someone posted a question yesterday, he had the same error: stackoverflow.com/questions/11878811/…
but he uses gcc, so, IDK...
 
10:15 PM
I have a problem and I don't know how to go about doing what I want to do now that I got some feedback... stackoverflow.com/questions/11908589/…
 
that's going to be hard to implement using regexes...
 
Yeah, that's what other people said...so I might do something different..but I don't know what
 
coudln't you provide some sort of feedback, so that when the user types "El dorado", some autocompletion informs him that "El Dorado Mexican Restaurant" exists on the database?
 
The fight-or-flight response developed by our pre-human ancestors may have helped them escape from angry mastodons, but it isn't constructive in an online encyclopedia. Wikipedia collaboration occurs between geographically isolated people in cyberspace. Nonetheless, sometimes editors get angry and feel a natural urge to fire off an immediate retort ("fight"). The urge is accompanied by a rapid heart rate, dilated pupils, and other physiological changes associated with the body's release of epinephrine. Or, they get scared or peeved or weary and just log off ("flight"). One of the best...
 
I mean, try to solve the problem before users insert duplicates?
 
10:20 PM
Okay or horrible?
 
I don't own this...
I'm not doing it for other users or for "my" users (I don't have any anyway)
 
@CatPlusPlus nice :D
 
@MarcusJohnson There are entire companies devoted to this task (and, from what I've heard, substantial differences in quality of results). You need to do quite a bit more to even define the problem and what you're trying to accomplish before you can even begin to hope to produce a solution. I don't mean to be discouraging, but when your question has things like "And quite a few more are possible...", you're clearly not to the point that anybody can reasonably help solve the problem.
 
10:40 PM
ok
 
who here agrees with me that the notorious C word is just an awesome word?
 
C word?
 
eh
 
isn't C a word?
 
fuck is the swearword I prefer, and for good reason.
I see no reason to invoke "cunt".
 
10:46 PM
oh, I like the word "cunt", just for the very reason it's so notorious and so many people seem to shy away from using it!
If you say it with enough emphasis it just sounds awesome! :P
 
lol
I don't see why it's such a big deal either
I don't see why calling someone a cunt is any more offensive than calling them a fuckface
 
me neither, I have no problems with any curse words
true
 
they both translate to the exact same thing: "I dislike you".
 
indeed
 
unless you're pissing around, of course, in which case they equally both translate to the same thing: "I like you"
 
10:48 PM
hahah
 
Uploading videos to my website and playing them is finally working.
 
Woo, thread.
 
This room isn’t very thread-safe.
 
@DeadMG Gradation, I guess.
One is just deemed worse.
People are weird like that.
 
10:51 PM
For the first time in my existence, I'm actually afraid I'm gonna be lonely when I go move to that hellhole for my new job.
 
Are you the only person in that company?
Is everyone else a robot?
Are you working for Skynet?
 
I'll come visit you
 
cleverbot will always be there for you
 
oh I forgot about cleverbot
@CatPlusPlus no I'm not, but I ain't talking about during work hours, I'm talking weekends and evening
 
What happens when you are listening on a TCP socket on say port 1337, and then you call fork()?
Only one process can listen on the same port at once.
 
10:54 PM
If you've got coworkers, you can plan weekends. And we're here all the time!
 
good question
 
@TonyTheLion Where are you going ?
 
@RadekSlupik You get spanked for listening in on such a port.
 
you inherit handles
 
@kbok some shithole in the west of England :P
 
10:54 PM
@RadekSlupik Nothing? You just get the descriptor in the fork.
 
so those fds would be inherited
 
Hmm.
I wonder how Flask would deal with that.
 
What are you forking anyway.
 
My web app.
 
10:55 PM
It hasn't been a good way to write servers for like 20 years.
 
I need to convert videos using ffmpeg, but I don’t want the user to wait a thousand minutes before getting redirected.
 
@RadekSlupik Yeah, dude, don't write multithreaded servers, the performance will be terrible
 
Ah, fork/exec. I never liked that, I prefer spawn.
@kbok fork is not multithreading.
 
I just learned that "axe wound" is another word for "vagina" in certain contexts
 
It's multiprocessing.
 
10:57 PM
@CatPlusPlus You get two processes. Each one has a thread. You have two threads.
 
@CatPlusPlus do you have any references for spawn?
 
@Papergay Hm?
@RadekSlupik subprocess.Popen, you don't have to wait on it.
 
@CatPlusPlus I do need to call a callback.
I currently have this.
def convert(cls, input_path, output_path, callback):
    pid = os.fork()
    if pid == 0:
        retval = subprocess.call([
            'ffmpeg',
            '-i', input_path,
            output_path
        ])
        callback(retval == 0)
        sys.exit(retval)
 
@CatPlusPlus im just wondering if spawn as mentioned in your line linked to this line is a standard function
 
You could just spawn a thread.
 
10:59 PM
wtf is that expression in call()?
oh wait, that's not C++
 
@Papergay Well, POSIX has spawn*.
 
@CatPlusPlus You know. That’s not a bad idea.
 
@TonyTheLion You gotta try the experiment "walk into a bar, make some friends". I always wondered I it could work.
 
a simple google search spills just nothing xD
 
@RadekSlupik Or use lightweight threads, but that's bit more involved.
 

« first day (664 days earlier)      last day (4298 days later) »