« first day (991 days earlier)      last day (3951 days later) » 

7:00 PM
@not-sehe misreply?
 
@MonadNewb Just fixed, thanks
(darn throttling seems to have worsened. I got 'You can try this action again in 2 seconds" for about the 4th time in ten minutes now)
 
user142019
@not-sehe OP posted LaTeX source code and I used mathurl to fix his question.
 
@not-sehe whoops!
 
@LightnessRacesinOrbit My explanation was wittier :)
Seriously, I didn't know that notation. Of course I knew it meant something, but there's no fun in sitting stumped: especially over the internet
@not-sehe Irony would have it that I almost failed to notice that this message was.... being throttled and required a retry. Grrrrrrrrrrrmble
 
@not-sehe wow...and I thought I go over and beyond at times...you definitely get the gold badge for that one.
 
7:03 PM
lol
 
@MonadNewb Oh, that? It's nothing at all. I used to be a veritable slave. You should be able to find routine examples of far worse things in my 2011-2012 season. Ri-di-cu-lous
 
@not-sehe Isn't throttling sehe a Lounge past-time?
 
throttling?
 
with pillows
 
@Borgleader Nothing slowpokes thoughtful conversers would notice
 
7:04 PM
This code base is millions and millions of lines big...
 
Statistics exam: "Let's assume we pick 5 cards from a poker deck of 52 cards, what is the probability that the 4th card is hearts?"
 
There's gotta be at least a thousand files here
... and I have no refactoring tools other than intellisense
 
@Jeffrey Fuck stats
3
 
... I'm not getting anything done for the next week at least. =/
 
I should stop reading the chat every fucking 5 seconds... I'm not getting any coding done
 
7:05 PM
aaah
I love putting 500rep bounties on basically every question
 
@Borgleader My least favorite math subject...and ironically the one for which I get the most calls to tutor.
 
@Borgleader Is your internship over?
 
user142019
@Jeffrey 25%.
 
Me (for an hour): well this is fucking complicated, you have to consider what are the first 3 cards, so do math calcs. I give up.
 
@MonadNewb I get the distinct impression you're not a newbie, really, and we know each other already. Did you use to carry another name? (EndofunctionVeteran, or something)
 
7:06 PM
@ThePhD Yes, didn't I tell you that yesterday?
 
@Jeffrey Are you asking?
 
@Borgleader I thought so, but I couldn't trust my brain for a second. So now you're working on your own engine again? :D
 
@not-sehe lol, I forget that I changed my handle...yes, I know you already =p
 
Professor: Well, the answer was 1/4 because it's the same as if I pick any random card out of the deck
Me: flip table
 
Well yeah, mostly figuring out OpenGL/assimp/webp for now
 
7:07 PM
@Jeffrey /facepalm
 
@Borgleader webp?
 
/napalm
 
@not-sehe Code-Guru
@ThePhD Google's image format, to go allong with webm for video
 
@Borgleader Aha. The PE infatuation should have given him away. Anyways, the Haskell put me off track
 
@Borgleader aww
 
7:08 PM
@Borgleader Sounds like a complicated basket of shit. Does it come with its own library?
 
@MonadNewb So I spent 20 euros and 5+ hours of my time to do that exam to fail it because the question was too stupid and got me thinking for an hour.
 
@MonadNewb I wasn't for off with the name-generation scheme :/
 
The latest iteration of their video codec (VP9) is about twice as efficient in terms of memory for the same quality when compared to H.264
 
@Jeffrey did you correct him?
 
@not-sehe PE?
 
7:08 PM
Monad-Newbie, Endofunction-Veteran, Code-Guru, Comment-Junkie...
 
@Borgleader meh png
 
@MonadNewb Read your damn bio, will you:)
 
@Borgleader Proprietary?
 
@ThePhD Yeah. This is the function call to get the decoded image: image.pixels.reset(WebPDecodeRGBA(rawData.data(), rawData.size(), &image.width, &image.height));
 
Or is it GPL'd or LGPL'd or something.
 
7:09 PM
@not-sehe oh...lol, PE didn't click with Project Euler
 
Open Source like pretty much everything google releases
 
@not-sehe and I wouldn't call it an infatuation =p
 
@MonadNewb It did. But the click didn't permeate the interverse
 
user142019
The word "endofunctor" makes me think of recta, for some reason.
 
@MonadNewb I'm sure you wouldn't
 
7:10 PM
@MonadNewb questions are 2,3 or 4 points worth, and that question was 3 point worth. I mean, seriously? Also after the professor received 5 complaints by other students finding that exercise too difficult, he stated yelling "The order matters" for all the duration of the exam.
 
@rightfold Me too
 
user142019
Probably because the Dutch word for rectum is "endeldarm".
 
Yup; endoscopie too
 
@not-sehe apparently not
 
user142019
instance Functor Rectum where
 
7:10 PM
He was clearly trolling
 
Down below
 
@thecoshman It's right, there's nothing to correct
 
@Jeffrey He seems like a fun guy to be around :/
@Jeffrey Except maybe the table (it's supposed to stay unflipped)
 
user142019
Who is he?
 
@Borgleader is memory consumption for a codec really something anyone gives a shit about? Compression ratio, yes, encode time, yes, decode time, sure, but memory usage? Sounds like "this is the one stat where we're competitive. We'd better talk about that then!"
 
7:12 PM
@rightfold The Troll Prof
 
@Jeffrey Invite him to join the lounge. Sounds like he'd fit right in.
 
@Jeffrey oh, I read that 'pick 5, whats the prob that one of them is hearts'
 
@jalf Absolutely. It is if you host a video chat hub
 
The most important thing about VP is patents, not performance, anyway.
 
user142019
@not-sehe Is the use thereof endorsed?
 
7:13 PM
@jalf Maybe I misspoke. What I meant to say is, you take a video you compress it with H.264 and VP9 in order to get the same visual quality on both and in the end, the VP9 video will be twice as small.
 
@rightfold :)
 
@thecoshman at the exam I read it like that way as well and asked if that was what he meant, his answer: the order matters!
 
@Borgleader I call BS on that. :)
 
@jalf I think your right - very few cases where slightly less memory usage will matter at all
 
@jalf Watch the latest Google IO
 
user142019
7:13 PM
Google I/O*
 
Ell
@R.MartinhoFernandes Do I have to allocate a new copy of the functor to do this? Or leave it up to the user to keep the lifetime of it?
 
@Borgleader how about we get some data that isn't from Google?
 
of course the google IO will say that
 
@Jeffrey o_0
 
@MonadNewb I don't think he will live long enough ruining the life of hopeless students like that.
 
7:14 PM
@Jeffrey After thinking about it a bit, I think a binomial distribution makes answering that question a little easier than just straight up combinatorics.
 
in their contrived optimal examples maybe
 
@jalf Feel free to make your own benchmarks, I'll await your results.
 
@Jeffrey didn't work it out all the way, though.
 
@thecoshman I'd say aproximately 3/4 of the class missed that exercise because of what he yelled
 
@Borgleader I'm not the one making outlandish claims. Burden of proof isn't on me
 
7:14 PM
@Borgleader the responsibilty to prove wrong is on us?
 
Google is, burden is on them, and they posted benchmarks.
@JustinMeiners Oh shut up I wasn't even talking to you.
 
you were talking to the chat room, in which he is present
 
No I was responding to you
 
@MonadNewb Another guy said: "Is this supposed to be a binomial random variable?", the professor: "No, the order matter, it obviously can not be a binomial distribution."
 
@Borgleader benchmarks showing what? That they can achieve this compression ratio for any arbitrary video data? Or that they can achieve it on their ideal dataset?
@Borgleader in a public chat room. People are going to chime in.
#dealwithit
as a silly person once said
 
7:17 PM
You'll notice I linked to your reply, and I said "Fell free to make your own benchmarks, I'll await your result"
I was talking to you
 
Anyway, the point is that until someone other than Google verifies their claims, assume that their claims are false
@Borgleader you'll notice that you posted this reply on a public chat room where anyone could see it. It doesn't matter who you were talking to
 
I'm not cynical as to assume Google would blatantly lie
 
everyone else is
 
@Borgleader they wouldn't blatnely lie - just present information in the best light possible
 
@Borgleader you... what.
 
7:18 PM
@Jeffrey oh...right...because you are choosing cards without replacement.
 
I don't even
 
Shrugs.
 
I'm gonna go watch a funny video instead
 
@Jeffrey So the prob of "success" changes each time.
 
Still, webp isn't really a format I've heard of for images.
 
7:19 PM
@Jeffrey Next idea: use a probability tree
 
Ell
My ctor has 12 params atm, must be reduced! Is the "parameter object" pattern frowned upon?
 
@MonadNewb Yup, that conclusion was what lead to me to start thinking about how it changes over time rather then unfocus a little bit and see how stupid that question was.
 
I guess it's only for the webm codec, so I don't have to really think about supporting it.
Really, my pipeline should probably only support JPEG, PNG, and DDS.
The rest can go to hell.
Oh and TGA, because ~~legacy~~ (ppx too if you want to go as far back as Quake).
 
@jalf You said "until someone else confirms it, assuming it's false". I'm not cynical to the point of assuming they're lying about their algorithm's performance. I prefer to give them the benefit of the doubt until someone disproves their claim, not the other way around. Innocent until proven guilty as they say.
 
user142019
7:21 PM
~/syndicate [ export GOPATH=`pwd`                                     ] 9:20 pm
~GOPATH [                                                             ] 9:21 pm
 
user142019
Argg I hate this. Stupid Z shell.
 
The military has taken over Egypt's government...
 
@Borgleader Nope, benchmarks are always guilty until proven innocent.
 
@Borgleader there is so much wrong with that - so scientists making claims about discoveries are correct until proven wrong?
 
@MonadNewb A friend of mine did that and obviously got to 0.25 but he couldn't believe it so he didn't write that down.
 
7:22 PM
@Jeffrey I can see that the sum might come out to .25...working through it right now.
 
@MonadNewb Well, I'mma be fair here and say that Egypt was pretty fucked up, and the President wasn't exactly making things better.
 
user142019
autocmd BufWritePre *.go :%!gofmt -s
 
@rightfold I toooold you so
 
user142019
This is perfect.
 
@DeadMG I haven't been following all that closely, but I know there have been a lot of riots and the ppl haven't been very happy.
So I'm not very surprised
 
7:25 PM
frankly
 
@rightfold I'll hear you back in a week or so
 
the President was an idiot if he thought that enshrining Islam in the country's Constitution was going to succeed
Egypt simply isn't hardcore islamist enough for that
 
user142019
@not-sehe Haha.
 
user142019
I should catch failure in some way.
 
user142019
I fixed cursor replacement already.
 
7:27 PM
@Jeffrey well, I decided I don't want to work out 5 levels of a probability tree, so I changed the question: What is the probability that the second card is a heart? I got 25%.
 
@rightfold Failure isn't contagious, right?
 
user142019
@not-sehe Well, if gofmt -s exits non-zero, nothing should happen.
 
@MonadNewb Which is exactly the same as the third and the first.
 
user142019
Don't know how to do that.
 
@rightfold Write a wrapper shell script that uses tee. Fixed.
 
user142019
7:28 PM
@not-sehe :D
 
user142019
@not-sehe Beh, sh -c.
 
@Jeffrey I'm willing to bet that's the same probabilty for the nth card for any n <=52. Not going to take the time to prove it, though ;-)
 
lol, yeah
 
Cards are not 0-indexed?
 
I never advise anyone to try and bend vim scripting into a viable programming API
@rightfold That's not a problem, right
 
user142019
7:30 PM
No.
 
user142019
No idea how tee works though. I have never used it.
 
... WUT
It's a basic building block in CLI monads...
 
Ell
I always forget syntax for conversion operator :3
 
is it operator (type) () {}?
 
just [explicit] operator type() {}
 
7:35 PM
@Pawnguy7 you mean operator type() {}
 
ah
Guess I forget it too :D
 
like operator int();
 
Might be somewhat related to the fact I have never used it.
 
@Jeffrey no explicit -> you suck
 
I know, I know
 
7:37 PM
it's a feature you should use with caution
 
Anyone running on-demand build servers on AWS/Azure? I'm wondering how expensive it'd be.
 
Everytime I start to think that Boost Spirit is overly complex for simple tasks, things like this remind me of how much worse it could be without proper library support. — not-sehe 4 secs ago
 
@CatPlusPlus Very.
 
With the idea that they're not running when they're idle.
 
Oh. I'm not sure then.
 
7:39 PM
@CatPlusPlus I used to use AWS infrequently. That'd be expensive if you needed considerable hours. However it's unbeatable for the odd 10 machines once in a month
I reckon you've looked at the pricing. Dunno about Azure, really
 
user142019
@not-sehe I couldn't come any closer than input=`cat` && ((echo $input | gofmt -s) || echo $input). xD
 
user142019
I am really horrible at shell scripting.
 
I just read that the std::vector<bool> specialization is "the most hated feature eve"
what is bad about it?
 
user142019
Fuck, it should pipe stderr to /dev/null.
 
everything.
 
7:44 PM
@JustinMeiners well, there's valarray, and custom streambuffers, manipulators that mess with stream state, implicit widening conversions (including sign extensions), auto_ptr, new/delete, placement new for arrays, and so much more
 
All for affordable $0.00
 
user142019
Ahhh fuuuckkk.
 
user142019
:%!sh -c 'input=`cat` && ((echo "$input" | gofmt -s 2>/dev/null) || echo "$input")' works but it's fugly.
 
In Coliru's toolbar "Keyboard Shortcuts" does not have a heading (like "Restore defaults", "Help" and "Feedback") because I can't think of anything.
Would anyone here make a nice suggestion? :)
 
send me money, that'd be nice
 
7:49 PM
-4
Q: char to char* issues

Bhavik Pateli am able to covert char to char* using below function char* char_to_chars(char ch) { char ch2[10]; ch2[0] = ch; char *ch3 = &ch2[0]; return ch3; } and i am calling above function here it gives what i want but still there some problem and i don't know what's wrong with it char...

Turns out the X isn't even close to the Y
 
LOL
 
I am more convinced every day reading comments on the internets never ends well.
 
Whats up with people commenting on my answer "Yep that solved it" and not accepting it...
 
@Borgleader is there a wait time for new users?
 
I have no clue, but it happened recently also and the answer was up for over a day
 
@Borgleader They forget or are not used to SO.
It's not rocket science :P
 
@MonadNewb Oh Gawd
 
I thought there were reminders to accept answers?
 
@rightfold This should be rock solid: ideone.com/0sJCs4
 
7:58 PM
@rightfold The two commented lines could be necessary (I don't know about the buffering behaviour of those fifos; if they block on 'buffer full' you need to deplete the 'other' stream in the background :/
 
user142019
Dankjewel. Ik zal het uitproberen.
 
@Jeffrey exactly
 

« first day (991 days earlier)      last day (3951 days later) »