« first day (1207 days earlier)      last day (3967 days later) » 

14:00
@R.MartinhoFernandes Ye.
@thecoshman well, you have my number, call me when you're here and let me know if you feel up to it
sbi
sbi
@DeadMG You couldn't without knowing the code I am working on: no type named 'value_type' in 'struct func_invoker<void>' It's a problem in my compile-time code.
@sbi 20 years... what C++ have you been using?
@TonyTheLion I called it first, anyway.
14:03
wut?
sbi
sbi
@thecoshman IIRC, I "learned C++" for a student project in 1993. Of course, Back then we used the C++ that was available back then. I mostly employed Borland C++ then. BC5 was a great IDE, well ahead of its rivals back then.
Hey, @Jerry is here.
He knows iostreams.
whistles
6
Q: How to produce formatting similar to .NET's '0.###%' in iostreams?

R. Martinho FernandesI would like to output a floating-point number as a percentage, with up to three decimal places. I know that iostreams have three different ways of presenting floats: "default", which displays using either the rules of fixed or scientific, depending on the number of significant digits desired ...

link dumper :P
sbi
sbi
@R.MartinhoFernandes Another old fart that can talk about C++ as it was 20 years ago.
still whistling
14:05
if (floatfield == (ios_base::fixed | ios_base::scientific))
        specify_precision = false;
    else
    {
        *__fmtp++ = '.';
        *__fmtp++ = '*';
    }
    while(*__len)
        *__fmtp++ = *__len++;
@sbi And today every IDE is just slightly ahead of that?
sbi
sbi
@R.MartinhoFernandes Probably not. I have never again seen source pools. They were a great idea.
@BartekBanachewicz what hellhole does that come out of?
@TonyTheLion libc++
14:07
@R.MartinhoFernandes just use printf
@sudorm-rfTelkitty printf doesn't work.
only Telkitty would suggest printf
sbi
sbi
@R.MartinhoFernandes About a decade ago I wrote code to do pretty much that, because the boss wanted all our floating point numbers written like this when thrown at customers. You have worked for the same boss and probably used the code.
Meaning iostreams sucks?
14:08
@TonyTheLion some times the best solution is the ONLY one that works
@sudorm-rfTelkitty It doesn't work.
sbi
sbi
@R.MartinhoFernandes Meaning you could have seen that code.
Not interested, though.
I know I was being sarcastic right :p knowing how people here hate C
That's that they all say.
14:10
BTW which part does not work?
@sbi I'm just amazed you can still be interested enough in it to work... Maybe you just have had better experience than me so far.
HINTERNET <---- I'm getting a handle on the Internet, finally. :P
@TonyTheLion missing the hint though
@sbi I'm curious about coaxing iostreams to do it, not writing my own formatting logic. It's annoying enough that I am adding my own percent signs: ideone.com/sCPnmr
sbi
sbi
14:13
@thecoshman I have always worked for small companies, where my input mattered. I'd hate to be a mere cog in a big company. It's way more satisfying to work when you have the power to actually change things. I don't know abvout your current job, but what I read about you here in, say, 2012, sounded very unsatisfied.
@R.MartinhoFernandes Physically present, but not necessarily awake.
Yes, there's an Arabic percent sign: ٪ vs %.
4
Not surprisingly, the PHP part of what I'm doing is not working reliably
@R.MartinhoFernandes wait what
god.
fucking,
@sbi no, unsatisfied is how feel when you get told that soup was not a start, but the entire meal.
sbi
sbi
14:15
@thecoshman ??
@R.MartinhoFernandes ಠ_ಠ fuck unicode!
@sbi IOW, it is an understatement
sbi
sbi
Ah.
Well, then. Get a better job!
@BartekBanachewicz Do you understand now why I don't even bother thinking up how to format it on my own?
@Borgleader @Ell BTW Carmack said that OGL will be able to get the drawcall count promised by Mantle. But you prolly saw that already so that's a repost :/
sbi
sbi
@R.MartinhoFernandes I don't think iostreams do percentages.
user3010322
14:16
@R.MartinhoFernandes Make your own formatting library~
@sbi ಠ_ಠ It's been a pleasure Holmes.
unless you concat it
@ThePhD What part of "not format it on my own" did you not understand?
user3010322
@R.MartinhoFernandes You're not formatting it. The library is!
user3010322
:3
14:17
@R.MartinhoFernandes Impressive.
@R.MartinhoFernandes apparently the 'not' part
user3010322
Well, anyhoops
user3010322
You have fun with that
user3010322
I'm going to go be told how amazing Kofun tomb art is.
user3010322
And how evil the Japanese Government is for not letting more people into said tombs.
14:21
@R.MartinhoFernandes remind me why is printf (" %.3f \%", a); not working? There could be error because I have not used printf for a while but you get the idea
@sudorm-rfTelkitty Have you tried it?
There's a test case in the post.
The test case has only two values to test, and is enough.
nay another time, busying doing something else >_< ... shouldn't be chatting at all ~_~
FUUUUUUUUUUUUCKKKKKKKKKKKKKK
Why did the hiccups return?
@sudorm-rfTelkitty It does exactly the same as std::cout with fixed.
if you on linux or mac do "man printf"
there are a lot of options
14:32
I know how to use printf, thanks. It doesn't work.
really? tell me what '#' means in printf.
this is ridiculous...
why do our unit tests write what looks like several megabytes of data to stdout? :|
@TonyTheLion lol lol lol
@R.MartinhoFernandes it's funny that no one has managed to get printg to work
@sudorm-rfTelkitty It forces a decimal point and forces trailing zeros. Exactly the opposite of what I want.
(It does other stuff for non-floats)
ITT number formatting sucks
14:41
@jalf slowpoke
@R.MartinhoFernandes have you tried the 'g' option? i.e. printf("%.3g", a);
@sudorm-rfTelkitty Have you tried stopping wasting my time? The question says "no scientific notation".
Given that, "Have you tried the scientific notation option?" is wasting my time.
printf cannot do it.
14:54
Why do you even bother with Telkitty?
@jalf So you know everything that's happening, duh
The elusive wandering apostrophe
Julia aka dream ware
@TonyTheLion I remembered that plonk thing, never looked back.
> He and several other computer scientists are building a new language they hope will be suited to practically any task. Dubbed Julia, it provides an early glimpse into what programming languages might look like in the not-too-distant future.
Research level: not so good
@thecoshman I regret I made the mistake of giving her a few chances. She wasted them, now I won't give another chance
@CatPlusPlus Sounds like a research paper from the 70s.
14:58
General purpose languages have been a thing forever
@TonyTheLion my thoughts exactly
LET HER DROP!!!!
That article might have had some value in 1950
JBL
JBL
> What we need, Karpinski realized after struggling to build his network simulation tool, is a single language that does everything well.
@CatPlusPlus ah, but this general general purpose and special general purpose.
JBL
JBL
And, uh, this is news ? I believe he's not the first who thought that...
14:59
Journalists are worse than programmers
inb4 xkcd
@CatPlusPlus reality! It hit you.
15:19
@CatPlusPlus wat
@JBL after that, they've realized that it isn't really very practical, but the Ruby creator was far too busy working to notice.
What
idgi
@CatPlusPlus multiparadigm~
Ugh, that "repost that" shit
@EtiennedeMartel that's brilliant
@CatPlusPlus I hate that part as well
@CatPlusPlus I think it's meant as a parody.
I like the 2x4 idea, might be hard to smuggle at work, hm...
15:37
@EtiennedeMartel If it is, it's not very good/funny
It seems like 99% of social media posts is 'forward to everyone you know'. I have actually threatened Anne with lockout from the TVserver box if she ever falls for that shit ever again.
@ALOToverflow At least it goes through metal detectors.
@EtiennedeMartel Make sure to pull out all the nails/screws.
Ell
Ell
What site for design questions?
Wait... what kind of design question?
15:41
@MartinJames is she your daughter?
@Jefffrey Worse - wife:)
@EtiennedeMartel Yes. That implies that there is no nails at the end of it... Making it less efficient
Ell
Ell
@TonyTheLion as in, here is my problem: the designs X I've thought of suck because of reasons Y (heavy coupling, something else). What design would be better?
@MartinJames you are a good husband
@ALOToverflow I'm fairly certain you can bash a skull without those.
Ell
Ell
15:42
ie I can't do something nicely vs do it at all
@EtiennedeMartel I hope you're right... I sincerly do...
Ell
Ell
@BartekBanachewicz ah awesome, I hadn't seen this. Where does he say it?
@ALOToverflow Come on, flex those muscles.
@EtiennedeMartel Chest bras chest bras bras bras chest bras dos
@R.MartinhoFernandes Check the above ^
15:44
@EtiennedeMartel Thanks, but I can't enjoy this video at work :(
@ALOToverflow I just put it there for context.
@Ell geeks3d / "how to increase number of draw calls in opengl". Anyway the conclusion is as it was at the beggining, draw call count is meaningless.
Ell
Ell
@BartekBanachewicz ahh good
@EtiennedeMartel You are lovely. I can see that the lady is already making you a better person
15:45
IIRC @Borgleader really posted those already
@ALOToverflow Smooth.
heh I am owner of another proud answer that doesn't use *
Xeo
Xeo
@sbi hi
but god is passing optional in C++ clunky
rather, it seems weird
that awkward moment when you think you are being called as a wrong number on your work phone...
15:53
Also I've commented on Vlad's answer stating that he's wrong
silence before the storm
@ Bartek Banachewicz This function declaration void(double[5]) is equivalent to void( double * ); They declare the same function. — Vlad from Moscow 2 mins ago
Xeo
Xeo
I need some painkilling stuff that lasts me longer than 6h...
@Jefffrey hahahahaha
well, they are the same thing really
Xeo
Xeo
@Bartek got told by Vlad.
9
or at least gcc complains that they are the same thing
Xeo
Xeo
15:59
Vlad is correct, which is why I'm laughing.
10
@Xeo two rounds of painkilling stuff?
the standard does gurantee that empty() is a constant-time operation for all standard containers, size() is not necessary constant time, but in fact on many implementations size() for vector is preferred because empty is implemented using size() — piotruś 6 mins ago
wait what
Xeo
Xeo
@thecoshman If I can train my body to do that while I'm asleep....
@Jefffrey wrong
the last part logically does not even make sense
@Xeo vOv polyphasic sleep
16:04
I should get my reading straight, for god's sake
@Xeo hahahahahahaahahahaha
FUCK! FUCK! FUCK
ITT SO is Bartek's own blog
My hiccup is back AGAIN.
I blame Vlad
Xeo
Xeo
16:10
@thecoshman yeah, I kinda did that. slept from 4:30 till 9:30, woke up due to massive leg pain, took the painkiller, waited 2h for the pain to settle down, went back to sleep, and woke up again at 16:30 due to massive leg pain. I'd really like to get the 'massive leg pain' out of that equation.
oh my, I'm coming up on 4 years :S
s/coming/cumming
arrrgh my precious rep! I just lost two rep downvoting two wrong answers. and now I have 4399 rep - what an ugly number comparing to 4401 !
@Xeo Don't worry, after a few years of pain, you become "numb" to it. You stop feeling it so much. :(
16:16
Mmm, with f :: TypeClass a => a -> a or some such, can we say that: "a is a member of TypeClass"? Or what is the proper wording?
ohh you're doing Haskell?
nice
Xeo
Xeo
hm, pharmacy closes in 45mins. let's see if I can get dressed and there within that time.
@ScarletAmaranth instance
@Xeo ah, right, a is an instance of said typeclass, thank you
@TonyTheLion oh, I've been writing Haskell for quite some time (yet I still major donkey cocks for the most part! :))
I suck at programming in general
@Xeo Set your alarm to just before the painkiller expires.
16:20
@Xeo :(
I would like to think I am just bad at programming, rather than I suck, vOv
Xeo
Xeo
people really tend to be dismissive of their own abilities, huh?
I can't get rid of this phony feeling usually
Some of the rather dumb mistakes I make just make me think I suck at this
16:24
@Xeo Imposter syndrome is common.
Xeo
Xeo
@ScarletAmaranth 'The more you know, the more you realize what you don't know.' -- Totally.
posted on February 04, 2014 by Eric Battalio

This challenge appeared on an internal alias dedicated to C++. It was issued by Mike Vine, a developer here at Microsoft who agreed to let us share it with the mighty Visual C++ blog readers: This challenge came from me thinking about a simple bug...(read more)

vOv, it sounds reasonable in my mind but it somehow doesn't change the way I feel, fuck psychology
JBL
JBL
> ...people with true ability tended to underestimate their relative competence.
If only I could pretend to have any true ability...
I know right?
JBL
JBL
16:32
It feels like "Smart people think they're not smart"
But when you think you're not competent because you're actually not that competent...
How do you tell ? :/
I write bugs on daily bases, then (if I'm lucky) my test fails in order to show me that I am basically a twat
and I don't mean, you know, subtle bugs in complicated things
Ell
Ell
@MohammadAliBaydoun this is better :P youtube.com/watch?v=RtS2Ikk7A9I
I mean, I write terrible obvious bullshit code
user1804599
Credit cards are golden rectangles.
user1804599
dat pun
@JBL The worst ones are the people that aren't actually smart but go around proclaiming loudly how smart they are.
JBL
JBL
@TonyTheLion Sure. But I don't feel good being incompetent.
That doesn't help to get an interesting job
And knowing that some idiots go around proclaiming they're good while they're not won't really help.
@JBL I wasn't talking about you.
Apparently, I joined in 2007...
16:42
I was barely a decade old
And I never even used it
I was 21 in 2007
JBL
JBL
@TonyTheLion Yeah I know.
the fuck?
I was 10 or 11
user1804599
16:43
I do not know what to do.
bust a nut?
@TonyTheLion It's okay Tony, I'm almost 18, we can have some legal fun soon ;~;
JBL
JBL
@TonyTheLion Just that it sounded as "you're okay if you're not one of those" :P
user1804599
@TonyTheLion Why would I?
@MohammadAliBaydoun but @ScottW is my baby.
16:45
fuck this shit
@JBL Yea that was kind of my point
@TonyTheLion THE MORE THE MERRIER.
apparently my final score from software engineering is 23.5/50
JBL
JBL
@TonyTheLion To which I answered that I'm happy not being one of those, but that's not enough to feel good :)
of course the guy I was working in pair got 25.5/50
16:45
@BartekBanachewicz do you need to redo the class the next year?
because of mid-term exams
JBL
JBL
@TonyTheLion Heh, Telkitty anyone?
@JBL Eat some chocolate :)
JBL
JBL
@TonyTheLion Not a bad idea.
@JBL We didn't troll her hard enough
16:46
Is 23.5/50 good or bad?
JBL
JBL
@MartinJames Less than average, bad.
BAD
less than 50 percent
eek
JBL
JBL
Lol
@MartinJames that's less than 50% which is internationally known as: you've failed the class
I retracted my earlier statement
16:47
Well, I dunno - courses can be very difficult or not...
@ScarletAmaranth if the tutor doesn't respond postively to my email, that and I can't even take the final exam
JBL
JBL
@TonyTheLion Mine sounds a bit mean but I can't delete it anymore. Well, that was more to make a point than being mean... :/
@BartekBanachewicz will you need to postpone your Bc. because of it?
@ScarletAmaranth most probably
@BartekBanachewicz fuck him with a big black dildo
16:49
and of course I will be set back around 120 euro because of that
@ScarletAmaranth actually it's her. She has a PhD, and pretty much no experience in any software project outside the university
I passed 'Vibrations and Waves' with 32%. Nightmarish Maxwell's equations, vector maths etc. I can't remember pass mark, but it had to be set really low:)
jesus christ I'm sorry
it reflects FUCK YOU
god damn it fuck
that came out way worse that I had planned
@BartekBanachewicz is she at least hot?
16:50
that's not even funny
@ScarletAmaranth are you kidding?
@BartekBanachewicz I said I'm sorry
oh also I will just turn in the same project again
@BartekBanachewicz I had a really hot Phd. student as a tutor for my Physics course
I love you bartek, come here
because if i turn it in in 6 months at once I'll just pass
she took a few points for late turn-ins
user1804599
16:51
Bartek how is life going.
7
anyway, what did you do to her for her to hate you @BartekBanachewicz?
so I could LITERALLY FUCKING REPOST THE DAMN FUCKING THING AND PASS
WHERE IS THE GODDAMN SENSE IN THIS
now being real
she. is really. doing it just to fuck my life.
just because she can.
@JBL Don't worry about being mean. I've been mean plenty times in here.
user1804599
Sell her.
just because she knows I work at Intel and actually have some career plans
16:52
Life is a just a series of banana-skins.
@rightfold you did rage-quit uni, right? what did your parents say if you don't mind my asking?
god fucking I hate people
I just hate them
user1804599
@ScarletAmaranth My mother didn’t care.
user1804599
My father secretly still wants me to go back.
Ah, Bartek is being reasonable again.
16:53
@rightfold, you what?
how the fuck can you tell me in my face to not drop out
you rage quit uni?
how the fuck can anyone tell me openly that I should finish my university and not feel ashamed for his words
@BartekBanachewicz That would require an expensive plane ticket.
@TCS lol - this I've heard before. /are you sure/? It's kinda easy to miss, unless you needed Boost serialization :{. Just a headsup. If you don't need it, just ignore the comment — sehe 10 secs ago
Lol. The same story.
16:53
@BartekBanachewicz how does she know?
@sehe Hey, can you drop some wisdom on Bartek?
@BartekBanachewicz It's hard to do. But if you come visit me, I'll do it gladly
@BartekBanachewicz if you want to work in this shitty industry you need that piece of paper, that piece of paper requires you to attend university
@ScarletAmaranth dunno, I was repacking my pockets in classes one day and I had my badge out
@EtiennedeMartel I'm afraid it won't stick on his softglow smooth face :)
Oh wait. That's his old avatar. Though his resume still has it, I think
16:54
THERE IS NO SOFTGLOW ON THIS FACE
GRAFASDASFDASFASDfa
You're slow. Also, I don't care. I was making a "point"
i was holding shift.
room topic changed to Lounge<Bartek>: So smooth. [exposed] [hide] [need-more-flanks]
@BartekBanachewicz And several other keys, intermittently
user1804599
@Jefffrey it was a nightmare.
16:55
I gonna fucking tell you what I am going to do
@rightfold how so?
@rightfold That's what she said
@ScottW will love Lounge<Barket>
oops I misspelled Bartek
@BartekBanachewicz you'll sleep on it
@BartekBanachewicz Why don't you just... decide what you'll do instead
16:56
I have one phone call scheduled at thursday, at the very date of SoftEng exam
user1804599
@Jefffrey I didn’t like anything and I didn’t like anyone.
and this phone call might well make me escape this fucking bullshit
Hmm... I'm pretty safe, about 1600km from Gdansk.
@rightfold your plans for life now?
room topic changed to Lounge<Basket>: What am I going to put in it? Certainly not food! [exposed] [hide] [need-more-flanks]
16:56
@rightfold but you like us?
so even if it's fucking human trafficking and I will get sent to syberia fine
user1804599
@Jefffrey continue working until fortune or death, whichever comes first.
it won't be worse than my uni
user1804599
@TonyTheLion some of you.
You know. I've dropped out. But I never hated Uni. I bet now I suddenly lost all credit in this room.
16:57
@rightfold can you find work without a degree?
@rightfold :/
@sehe So why did you drop out?
user1804599
@Jefffrey work found me.
@Jefffrey of course you can
what the fuck am I in uni for?
16:57
there's a lot of companies who don't give a shit
@sehe You still have credit with me. I didn't go to uni at all.
and then there's Google and Intel
@rightfold You should have put more effort into hiding.
user1804599
Then I would not have a job.
user1804599
I am already bored during weekends.
user1804599
16:58
Imagine how bored I would be if I had no job.
@BartekBanachewicz IIRC Google does not even consider you if you don't have a degree in computer science or something related
@BartekBanachewicz I was too idealistic, I guess. Recognized I was lacking motivation for the major that "made business sense". And that I was lonely in the major that I loved. And then I did a 'sabbatical'. That lasts for ~16 years now
@Jefffrey I have no degree, I have a job
@Jefffrey yes.
or something that resembles one
16:58
@TonyTheLion aw thanks for the support
@sehe You did what?
user1804599
I had a job before I went so school.
Also let's get some facts straight
I have a degree, I have no job, (well, not in the conventional sense).
16:59
@sehe dropped out, has a nice job, has a family and is leading a normal life
user1804599
School took it away from me and I wanted it back.
@BartekBanachewicz It's a satanist ritual. But it's really quite agreeable
3
Sabbatical or a sabbatical (from Latin sabbaticus, from Greek sabbatikos, from Hebrew shabbat, i.e., Sabbath, literally a "ceasing") is a rest from work, or a break, often lasting from two months to a year. The concept of sabbatical has a source in shmita, described several places in the Bible (, for example, where there is a commandment to desist from working the fields in the seventh year). In the strict sense, therefore, a sabbatical lasts a year. History The main Bible passage for sabbatical concepts is , in which God rested (literally, "ceased" from his labour) after creating the un...
@sehe that's surprising, but I love you just as much as before
> "normal"
lol
user1804599
16:59
@Bartek is studying, is on the edge of breaking down mentally from stress and wants to kill everyfucking one around at least once a day

« first day (1207 days earlier)      last day (3967 days later) »