« first day (1214 days earlier)      last day (3733 days later) » 

3:00 AM
@DeadMG It's not! Just feed it RAM.
 
@DeadMG You've got extensions?
 
@MarkGarcia no
 
Yeah VS became slow as shit for me too before I ended up not using it anymore
 
Disabling some less necessary ones helped my RAM usage.
 
one thing I'm really not looking forward to for Wide
writing a debugger.
 
Xeo
3:02 AM
lldb :D
 
heh
that's a pretty good joke
hell, it's kinda hard to debug the Wide compiler cause I don't propagate any location information to codegen :P
llvm assertion failed but you don't know where it came from
 
Hmmm, can't get RipBot to work :S Guess I'll have to churn out the encoding on my laptop :(
 
oh yeah
the one C++11 feature I'd really want is Unicode literals so I can adapt Ogonek
don't want to deal with Unicode without the unicode lits.
 
user3010322
It's not that hard.
 
i suggested some tools for the guy in Burma (Myanmar)
who asked a question about how to do C++ with tools he could install without rebooting
 
user3010322
3:10 AM
Just write out the literals in terms of octals and put them in the text::utf8 things.
 
user3010322
If it's a U32 literal, write it out as an initializer list of unsigned integers and stick that, too, in a text::utf32
 
he's 20 years old, lving in a hell of a coutnry, no education, wants to learn C++ programming, and seeking help with that
i do not have time :(
 
user3010322
My deepest issue with ogonek is the constexpr everywhere and the deep template metamagic VC++ seems to balk on.
 
user3010322
I'll fix it one of these days, I'm sure.
 
but this is one very motivated guy -- for anyone who wants to teach
 
3:12 AM
well
 
@ThePhD One day VS will be able to compile it without fixes. Or so Herb said :P ("One C++ talk or wtv")
 
frankly I'm not actually sure how much I need.
I need to be able to lex/parse/etc Unicode source files
 
user3010322
@Borgleader Yeah, and I'll be old as shit and it'll be time for C++21.
 
@ThePhD lel Have faith!
 
3:13 AM
@R.MartinhoFernandes Near as I can tell, that's just codepoint handling really.
 
user3010322
@Borgleader Faith in a team that sucks up more money than GCC ever could, but still can't get enough talented people on their team to resolve their code back-compat while rolling out new features?
 
user3010322
Not likely.
 
@DeadMG What else do you need to read source files?
 
@DeadMG just use wide characters in Windows and UTF-8 elsehwere. that's the approach in (1) the coming std filesystem (Boost filesystem) paths, (2) wxWidgets, (3) my own code
 
Xeo
While we're on the topic of vs sucking stackoverflow.com/q/21692134/500104
 
3:15 AM
@R.MartinhoFernandes Normalize and compare/hash for semantic checking.
also I need to handle Unicode identifiers I guess. Not so convinced of that right now.
 
Do as C++ and forbid combining marks in identifiers.
 
screw that
 
Seems sane enough to be honest. Poor Vietnamese.
 
if I'm gonna go to the effort of supporting Unicode, I might as well actually support the damn thing.
 
Xeo
people should just write in English
 
user3010322
3:16 AM
I thought Unicode has properties for determining identifiers and extending identifiers?
 
shouldn't **/*.jpg ignore all .jpg files from root to subdirectories (in git)?
 
Unicode feels like suckage whenever you guys bring it up
 
@ThePhD It does.
 
Hi, should a question regarding a program in C# using an external C++ library be discussed here?
 
user3010322
Then just get the UCD and hit up those properties.
 
3:17 AM
Nope.
 
@RodrigoSilva no
 
Ok, thank you anyways.
 
@Borgleader Done.
 
@Jefffrey Just *.jpg works.
By default ignore filters apply to all directories.
 
3:21 AM
> ProTip You can merge multiple repositories together using the subtree merge strategy.
o.o
 
user3010322
I have to submit an assignment in 1 hour.
 
@Xeo I want to help, but lines too long.
 
user3010322
And I just got book an hour ago.
 
@R.MartinhoFernandes then I don't know what is going on, thanks anyway :)
 
Xeo
@R.MartinhoFernandes I think it's just the old result_of suckage
 
3:22 AM
50 FPS :( ffs
 
@R.MartinhoFernandes is that bad?
 
Despite git submodule sucking, git subtree isn't any better.
For future references anyway
I say just stick to git submodule
 
@Borgleader Encoding, I'd say yes.
@Xeo IME "term does not evaluate to a function taking 0 arguments" means "tiny syntax mistake that threw the compiler out for a spin".
You know, that one particular missing parenthesis that just causes it to freak out.
 
or like that one time I forgot a comma and got 15 MB of errors
 
@Rapptz grammar is important!
 
Xeo
@R.MartinhoFernandes ISTR that result_of with a non-invokable and 0 args tickled the same error out of VS
 
This sort of thing.
 
@R.MartinhoFernandes -22? rofl
 
@Borgleader I have a theory about it, but it's a bit scary to contemplate.
 
I wonder if MinGW-builds is abandoned.
They haven't updated in a long time
 
3:28 AM
> Last Update: 4 days ago
?
 
Sourceforge lies
it always has
 
the last update on the actual thing was 2013-7-10 or something
 
@Xeo You're right.
 
2013-7-18!
Close enough
 
3:30 AM
OP posted the rest of the error.
 
@Rapptz You should look at the update date of the actual file.
 
still july 18th
 
@Xeo Wait, VS12 still has that bullshit?
ffs
 
Xeo
@R.MartinhoFernandes I know my VS :p Although technically it's not VS that is at fault
 
It's a two-character fix.
 
Xeo
3:32 AM
wut
 
@Xeo In 2013? Yes, it is.
 
Xeo
how is it a 2-char fix? should be a bit longer (though still only one line)
 
Oh wait, I got confused. Still trivial, though.
 
Xeo
ye
decltype(declval<F>()(...), void()) in the partial spec
 
what the flying FUUUUUU
 
Xeo
3:34 AM
with usual class = void in the base trmplate
 
Base tramplate.
I'm extra-circadian again. Fuck.
And there's TMP to deal with tomorrow.
 
1990 was 24 years ago.
 
Just thinking about it
Made me feel weird
 
Xeo
I'm 23 this year :(
 
3:37 AM
Wuss.
 
Xeo
@R.MartinhoFernandes damn
 
Hmm, that doesn't make sense.
 
Xeo
@R.MartinhoFernandes And my brain even auto-corrected that!
 
I'll be 3^3 this year :D
 
3:38 AM
http://loungecpp.net/w/Project_ideas
^ Needs a new entry: math library
 
"We're as close to the year 2030 as we are from 1998."
lol
 
@Borgleader Also, an IDE!
 
What happened to all the snakes?
 
Xeo
@R.MartinhoFernandes what doesn't?
 
are you fucking serious GIT? mother fucking cunt! I have a fucking .gitignore with .DS_Store as fucking body. I checked the name and position of the file 10 times and the body as well. I've committed the .gitignore and it is up to date. I've followed this answer's instructions and when I visit git status it's still fucking adding all the .DS_Store files. WHY, GIT!!! WHY!!!!!!
 
Xeo
3:39 AM
@R.MartinhoFernandes leg happened to mine
 
Pornguy disappeared and all of sudden, no more snakes.
 
@Jefffrey *DS_Store
 
user3010322
Mine has PartySnakes.
 
@R.MartinhoFernandes Whoah. I failed to notice that.
 
whistles
 
3:40 AM
You're probably doing it wrong, but still... WHY .DS_Store WHY
 
@Rapptz the file is always called .DS_Store, it's a system hidden file
 
@R.MartinhoFernandes RIP Pornguy007
 
@Xeo Calling you a wuss for being 23.
 
it's the file that apparently describes the structure of the directory
 
Xeo
@R.MartinhoFernandes hah, I read 'wuss' as the German 'slang' version of 'was'
 
3:42 AM
I have some .DS_Store files on Windows :>
 
or something
 
@Jefffrey It's bullshit for Finder.
 
user3010322
@R.MartinhoFernandes You're 21?
 
Logic, where did you go?
 
user3010322
3:42 AM
You're 26, Borgleader? o.0
 
@R.MartinhoFernandes yeah, doesn't matter what the file is, because I've also tried with .swp files (generated by vim) and it does the same shit to them as well
 
@ThePhD no he is
 
user3010322
Oh.
 
Xeo
4 mins ago, by R. Martinho Fernandes
I'll be 3^3 this year :D
 
user3010322
@Xeo Ah.
 
3:43 AM
 
user3010322
Wow, ya'll are all so goddamn old.
 
Xeo
I was young just 5 years ago!
 
> AliceInClicheland
 
lol, CaveStory is full of them.
 
is that porn?
 
3:43 AM
@ThePhD Wuss.
 
@Jefffrey Some shitty game I found online for study purposes, I forget what it had.
 
Xeo
(Also, holy crap, Games Acadamy is already 2 years ago)
 
@Jefffrey What I also thought. highfive
 
.o/ \o.
 
Oh, and I'll also be 10k this year.
 
Xeo
3:45 AM
time for sleeps
 
Holy fuck. That's a lot.
 
@ThePhD I'm like 62.
 
@Jefffrey Thanks for auto-completing. :)
 
@R.MartinhoFernandes be 10k o.o wut
 
@Borgleader Days.
 
3:46 AM
For some reason, 70 years feels a lot longer than 25,567 days.
 
@Rapptz The whole is larger than the sum of its parts...
 
I'm celebrating my birthday twice this year :P
 
user3010322
@R.MartinhoFernandes (MonitorCount / 2) ^ (MonitorCount / 2)
 
user3010322
Mathematical basis for double celebration.
 
user3010322
It's written in the stars.
 
3:49 AM
x^x|x=3
 
Er.
@ThePhD The second is 10 kilodays.
 
user3010322
How many monitors do you have? u.u
 
I wonder how many days old I am
 
user3010322
And if it's more than 6, can I have one?
 
Is it just me or ThePhD is particularly making less sense than usual today?
 
user3010322
3:51 AM
I haven't slept in ages.
 
std::numeric_limits<int16_t>::max() / 365 = 89.77 years. Sounds about right. Human lifetime counter is a signed 16-bit day counter.
 
user3010322
Suck it up, don't be a wuss!
 
user3010322
Ranting is bad for your health.
 
CS :v
 
user3010322
Life is good.
 
3:54 AM
o.O
 
@ThePhD O.O
 
It needs to be signed because it is initialized at about -274 at conception
 
What about leap seconds?
 
absolute zero is -273.15. coincidence?
 
@doug65536 That would be contrary to the belief of reincarnationists! Age needs to be unsigned for it to safely wrap!
 
3:57 AM
@ThePhD Especially in Fortran: (MONITORCOUNT /2 ) ** (MONITORCOUNT/2)
 
@R.MartinhoFernandes They added leap seconds just to screw with us
 
@MarkGarcia This is not C+=
 
@doug65536 No, absolute 0 is 0.
 
half an hour later the .gitignore file was so fucked that vim just saw *.swp, textedit saw both *.swp and .DS_Store and cat echoed *.swptore.
I deleted and rewritten the file and it fixed it
who knows what the heck happened
 
@Jefffrey lol
 
4:05 AM
well, time to sleep, see ya'll tomorrow
 
but ... 0 might not be 0 when multiple dimensions are considered ~_~
 
4:21 AM
has anyone heard of an online service that takes some code and compiles it on a ton of different compiler implementations and cpu architectures? and perhaps runs some unit tests
 
google translate for programmers @_@
just look at how horrible google translate is ... considering it is the best in the world & worked on by many people
so short in short, I don't think there is any such well implemented online service
 
@sudorm-rfTelkitty they cheated big time with google translate - it tries to figure out how to translate by comparing pages that are already translated. real human translators laugh at online translators
 
Google Translate isn't that bad.
 
I check with a few native speakers and they advised me that it won't work - you need real localization people - individual words lack enough context to disambiguate it
 
I think google translate is cool, but I wouldn't use it on anything that's important
 
4:27 AM
Of all the languages I know (which are 5), it only does poorly on 2.
 
Oo, what are the three that worked well?
 
Korean, English and Spanish it does a decent job at
It's not meant to be a perfect translation service, which it seems @doug65536 is trying to pass it out to be but it's pretty decent.
 
yes, it is very decent, and a million times better than nothing, particularly when tightly integrated into browsers
 
anything is better than nothing
My mum spent $15.99 on chicken shit
 
@doug65536 Ergh, I still hate it when people translate "email" to "email" in French. We made a word up just for that: it's "courriel". Of course the French won't use it because they didn't come up with it and they're all snobs, but still.
 
4:33 AM
@EtiennedeMartel I remember riding past a building in an industrial area that had "email" in big letters at the front. I was really confused for a second.
 
Hello. Does anyone know Waveform Audio functions? I have a small question that not suited for Stackoverflow, I guess
 
Google translate almost always got Chinese wrong when a long sentence is concerned. Maybe it's my ignorance, how could it get Korean right when it got Chinese wrong almost every second time??
 
@spyder yes - open new chat room?
 
@doug65536 waveOutGetVolume - how to get HWAVEOUT handle?
 
@spyder waveOutOpen
 
4:36 AM
@doug65536 is opening a private room for him and some young guy again ~_~
 
@EtiennedeMartel Oh, for a second I thought you were referring to "enamel" which is called "email" in Dutch (and probably French too).
 
hey scottie pup :)
 
@StackedCrooked "émail", yes.
 
@doug65536 thanks. I'm looking for some kind of GetPeakValue but suited for Windows XP
 
@spyder you are looking for the mixer api. also see this
 
4:42 AM
lol, I get called 'hottie' when your man wives are not here :p
 
@spyder ah, for xp? not sure.
 
@spyder xp is newer than windows 2000. those mixer apis should work
 
@doug65536 thanks, I'll try
 
4:59 AM
hotkeying your terminal is pure evil - I always end up with 16+ terminal windows, causing me to waste time looking through them :|
each one ends up with a really useful history in a good current directory :(
one in the source dir for doing git stuff, one in the build dir doing make and stuff, probably one to look at gprof results, one looking up some lame bash gibberish man page, one running watch -n 5 df, one running htop,... you get the picture
 
user3010322
MUST
 
@Mysticial he bombed his class
 
user3010322
WRITE
 
user3010322
RASTERIZER FOR CONSOLES!!!
 
user3010322
@StackedCrooked You're so wrong. <3
 
5:11 AM
@StackedCrooked It takes a certain amount of skill/incompetence to do that. :)
 
An impressive combination of skill and incompetence.
 
Oo class not as in C++ class ... I thought you were talking about someone's OO coding skill sucked ~_~
 
@doug65536 ...and this is (at least part of) why programmers benefit so heavily from serious screen real estate.
 
If you're on drugs, the mods all look like squares. — Shog9 3 mins ago
 
Oh ffs, I googled how to draw bezies curves using tessellation shaders, and I find presentation where they're combining an awesome and new feature (tessellation, GL4.0) with a lame and old as fuck api calls (name glbegin/glend, GL1.0)
why do people do this T_T
 
5:26 AM
TIL 1 second = approximately 317 picocenturies. thanks cppreference :D
 
In 400-500 pages owner builder course oriented reding materials , there are 225 pages concerning safety issues
20. DO NOT USE EXPLOSIVE POWERED TOOL CHARGES in other firearms; this is very dangerous. Keep "Explosive" container locked at all times except when cartridges are being placed therein or removed there from. Prevent theft or unauthorized use by ensuring that only the certificated operator opens the "Explosive" container. Keep only cartridges in "Explosive" container - do not mix with projectiles or other materials.
1st I don't own explosive powered tools, 2nd I don't own firearms
 
any ideas for the name of a class that calls a callback when one or more thread pool tasks have all completed? in JS they call it promise but that's confusing in C++. TaskPromise?
 
@sudorm-rfTelkitty Wow!
 
@Borgleader ikr? forward compatible contexts FTW
 
? which part? explosive powered tools or firearms?
 
user3010322
5:42 AM
@Borgleader Because immediate mode vertices are cheap as fuck.
 
Does Scott have a thing for Australian Asian women?
 
user3010322
@Rapptz I think Scott has a thing for all kinds of women.
 
user3010322
Pat pat. There, there.
 
being understood is overrated
 
user3010322
5:57 AM
I don't suppose
 
user3010322
there's a std::is_template_instantion_of, is there?
 
user3010322
... Meh. Probably not.
 
@doug65536 hmm... Peak always 0. May be I do something wrong snipt.org/DifR2
 
@spyder you don't appear to be checking those result return values. do they all return success?
@spyder you set cChannels to 1. is that legal? your output is probably at least stereo
@spyder uh, scratch that, just checked docs
 
@doug65536 first five MMRESULTs are NOERROR (code 0), sixth and seventh are code 1025 (MixerInvalidControl?)
 
6:12 AM
@spyder sixth and seventh? I only see 4 calls there. you call that in a loop?
 
Oh, I mean first and second MMRESULTs are NOERROR (code 0), third and fourth are code 1025
 
@doug65536 The easier (if marginally less accurate) way to remember is that Pi seconds is approximately a nanocentury.
@StackedCrooked Is being overstood underrated?
 
@spyder You aren't setting mcPeak.cbStruct = sizeof(mcPeak);
 
@doug65536 right after mcPeak declaration?
 
that's mlcPeak. you need to set mcPeak.cbStruct too. note the L mLcPeak, vs mcPeak
@spyder to be crystal clear both MIXERLINECONTROLS and MIXERCONTROL have a cbStruct member that must be initialized
 
6:24 AM
@doug65536 0, 0, 1025, 11 (INVALPARAM) on VirtualBox with XP sp3 and 0, 0, 1025, 1025 on Windows 8
 
@spyder after mixerGetLineInfo what is the value of mlPeak.cControls
 
@doug65536 2
@doug65536 mlcPeak.cControls must be 2 too?
 
no, mixerGetLineInfo sets it
@spyder ah, I see what you mean... perhaps you need to allocate an array and copy that for the mixerGetLineControls call
that's why mlcPeak has cbmxctrl I guess, although it could just peek at the first one in the pamxctrl output buffer
 
6:46 AM
@doug65536 I don't get it. Why I need an array?
 
mixerGetLineInfo told you that there are 2 controls. I think mcPeak needs to be an array of size 2, and mlcPeak.cControls needs to be 2
array of 2, or a std::vector of 2, or a malloc buffer of 2, or whatever...
mixerGetLineControls <-- note, it's plural. I think it returns all of them
error 1025 == "oh crap, the output buffer is too small" ??
@spyder just in case you still aren't following: I'm guessing that since mixerGetLineInfo said that there are 2 controls, mcPeak needs to be an array of at least 2 controls, and mlcPeak.cControls needs to be 2
 
@doug65536 but this code works fine: codeproject.com/Articles/4754/mixerSetControlDetails
 
@spyder sure, for MIXERCONTROL_CONTROLTYPE_VOLUME. are you sure it will apply to peak?
 
7:01 AM
@doug65536 I've done similar, may be mistaken. Didn't find examples with MIXERCONTROL_CONTROLTYPE_PEAKMETER
 
@spyder what happens if you temporarily change your code to use MIXERCONTROL_CONTROLTYPE_PEAKMETER. does that work?
oops, use MIXERCONTROL_CONTROLTYPE_VOLUME
 
@doug65536 0, 0, 0, 0. Works but mcds.lValue contains system volume not peak
 
@spyder ok that proves that your calls aren't terribly wrong anyway
@spyder going to boot up my windows vm and see if I can figure it out
 
@doug65536 Only if you're not busy.. I've already spent so much of your time.
 
7:33 AM
@spyder I fixed one thing based on some code I found...
 
doug65536 is NOT rep whore, instead of whoring reps, he sits there helping newbs a lot of the times :p even got less reps than me, but I am sure he knows a lot more things in regards to programming :)
 
good mehning
 
@doug65536 what thing?
 
@spyder you need this after the mixerGetLineInfo call
@spyder but it doesn't work in my vm either. is it possible for you to test the code with that change on real hardware?
@spyder I noticed that there is no meter in the windows mixer dialog box either in vm
 
@ArneMertz still no gold medal I see :')
 
7:38 AM
@doug65536 yep, it's possible
 
@sudorm-rfTelkitty yeah, I don't go after rep, you learn a lot by helping people actually :)
@spyder actually, my bad, the meter does work in KVM VM
 
@doug65536 Do you use array as you suggest above?
 
@spyder didn't make a difference
 
@sudorm-rfTelkitty well, I don't care. Much. But I'm working on it :P
 
@doug65536 didn't work on VirtualBox. Codes 0, 0, 1025, 11 again
I'll try on real win xp
 
8:05 AM
wow, I was too sleepy to realize that what had woken me up was not my alarm, and that it was an hour earlier than I wanted to get up. You'd think sleepy me would be better at sleeping than than >_>
 
user457812
Well, now I want some fries.
 
@Ell morning :)
 
Ell
@melak morning :)
 
so, last I recall everyone had time on the 22nd/23rd, is that set as the date for the next game jam thingy?
 
Ell
I think so yeah :)
Anyway school time, ciao for now Melak!
 
8:20 AM
@doug65536 codes 0, 0, 1025, 0 on real PC
I think it working now
 
1025 means, "still playing"
 
user1804599
 
hmph, are there any ways to split up or reverse-submodule parts of a repo into multiple repos with git/github (and preserving history)? Forking and then deleting the parts I don't want from the forks seems...not the Right Way :E
 
JBL
Good morning !
 
morning :)
 
8:32 AM
morning
 
No one from the lounge is running for mod?
 
google patented playing a tone and recording the input and FFT'ing it to see if it was the same tone. wtf???
 
@doug65536 prior art. Bullshit patent;
And I'm going to leave that semicolon at the end for emphasis.
 
@rubenvb but now that just leaves us wanting more!
how can you do this ._.
 
user1804599
Hmm.
 
user1804599
8:40 AM
In Perl, local actually declares something more similar to a global.
 
JBL
Talking about google reminds me about the french institution that DDoS'ed itself through sentencing google.
I think I'll be amused for a little while longer.
@rightfold So intuitive!
 
@rightfold totally read that as "why does penis length function return..."
 
user1804599
@Mysticial nice.
 
user1804599
 
user1804599
 
8:49 AM
Ahaha... The puppy will love this: Somebody link-dumped in the moderator election room.
 
Why would he even want to know
Unless it was a candidate
 
I found this, but now it's rewritten my current repo to only contain the filtered dir :/
 
@rubenvb somehow apple was awarded a patent "for detecting that a device is plugged into a port", and the patent and its diagrams show the exact microswitch mechanism that every headphone jack has had since 1960
I guess if you throw enough money at enough lawyers, you can patent anything - prior art or not
 
user1804599
Patents are good.
 
halp, how do I do something along the lines of this:
 
9:07 AM
@doug65536 getting a patent doesn't mean it stands up in court. That's the whole issue with US patents.
 
9:25 AM
lol user agent strings :|
if I'm interpreting this right, then this is a Chrome UA string: AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36
whereas this is Safari: AppleWebKit/537.73.11 (KHTML, like Gecko) Version/7.0.1 Safari/537.73.11
 
Heh, repcapped on meta. What
 
user1804599
> if (exec('ps aux | grep hotels.php | grep -v grep | wc -l') > 2) die();
 
user1804599
dat code.
 
9:40 AM
if (<two or more running processes have hotels.php in their command line>) die(), I think
 
user1804599
@doug65536 more than two.
 
@rightfold ya. sucks though. race condition
 
user1804599
Including the current process, of course.
 
@jalf yeah, to work around crap pages that try to detect the client's browser with the UA string
@jalf if (navigator && navigator.userAgent && /\bMSIE/.test(navigator.userAgent)) { alert("What the hell is wrong with you?"); location.href = "http://www.google.com/chromeā€ˇ"; }
 
9:51 AM
But Chrome sucks!
Send them to browserchoice.eu or something.
(Or let them be)
 
How does this moderator election thing work?
 

« first day (1214 days earlier)      last day (3733 days later) »