« first day (1101 days earlier)      last day (3853 days later) » 

4:00 PM
Oh, I meant iostreams as the library not the class. I'm actually concerned with buffers here.
 
@R.MartinhoFernandes Ah, sorry--my mistake.
 
> "Soon" became slightly postponed
 
@R.MartinhoFernandes What do you want to do with buffers that you're finding difficult?
 
"Soon" became "three months later"
 
4:10 PM
@JerryCoffin I haven't started having trouble yet. I'm probing around a bit before I do some large refactoring of some old code that involves streaming data but is completely adhoc.
 
@R.MartinhoFernandes I see. The reality is that extending them isn't as hard as it initially looks. It's mostly a matter of crappy names (xsputn anybody?) and worse documentation.
 
Xeo
underflow? uflow?
@JerryCoffin At least those names have a pattern!
 
@Xeo Some do; many don't. Some that seem to follow a pattern in naming don't follow the semantics that would appear to be implied by the pattern.
 
Xeo
@JerryCoffin I meant specifically the [x]s<action>{c,n} family
 
@Xeo Yeah - those do actually fit together fairly reasonably once you know the pattern. At least IMO, the resulting name is still pretty crappy though.
 
Xeo
4:18 PM
sure, no arguing that
 
Strange. Some days, it seems like ever third message gets starred. Today, there have been only 4 starred messages in the last 12+ hours.
 
I'm hungry.
> src.input_sequence(): Returns a pair of pointers delimiting the sequence controlled by src
This sounds broken.
What kind of streams are these that can't stream?
 
@EtiennedeMartel Good job Android :D
 
4:33 PM
@EtiennedeMartel Gartner likes to talk about the hype-cycle having four phases, but in Apple's case there are only two: "Damn, what an awesome demo. I need one.", followed by: "WTF! My city doesn't exist?"
 
@JerryCoffin People are whining right now about how updating to iOS 7 is fucking up everything.
 
Someone at work using this IP has been vandalizing Wikipedia pages.
 
What kind of vandalism?
 
I went to the contribution page and they're deleting sections.
I don't know why, pretty retarded.
They replaced an entire section with "this is funny"
I wonder who's doing it.
 
@EtiennedeMartel Each iteration, the reality that sets in is different, but the same basic thing happens: great demo that doesn't reflect real use. And (like Hollywood) they've become so dependent on flashy demos that they keep seeming to spend more and more effort on a few things that will give good demo, while utterly failing at the basics.
 
4:37 PM
@JerryCoffin They call it the "reality distortion field".
 
Heh, Symbian
And Zoidberg tried to convince me Symbian is still a thing
 
@EtiennedeMartel Funny the lengths people will go to in order to get a couple of new icons
 
Was developing for Symbian annoying?
 
@CatPlusPlus At least if I recall correctly, Symbian was officially discontinued quite a while ago.
 
user1804599
@CatPlusPlus I didn’t.
 
4:39 PM
Symbian was amazing back in the Psion 3/5 days
 
user1804599
I said that Symbian is good.
 
@Rapptz It was C++, so yeah
 
user1804599
My phone runs Symbian and it works great.
 
Oh apparently it ran Qt.
 
user1804599
Cute.
 
4:40 PM
ISWYDT bitch
 
user1804599
Qunt.
 
You over in that corner. You over there. And no throwing the toys at each other either!
 
user1804599
@LightnessRacesinOrbit lel
 
user1804599
We have that thing too.
 
4:43 PM
I need to try out Xamarin one of these days
 
actually I had a Siena, not a 3
 
Well, MonoDroid, I picked up bad naming habits from you
 
Xeo
> std::move() as performance bottleneck?
Wait, what?
 
Xeo
0
Q: std::move() as performance bottleneck?

JustSidI have a custom ringbuffer implementation which uses a normal array allocated via new [], and then uses std::move to move elements into the array. Here is the implementation of my push() method: void push(value_type&& value) { _content[_end] = std::move(value); // 9.2% of execution is spend ...

@R.MartinhoFernandes: You could probably express that with nonoffensive language — Ben Voigt 2 mins ago
@R.MartinhoFernandes Did you edit your comment?
 
4:45 PM
> You've earned the "string" badge. See your profile.
 
haha sucker
 
user1804599
@Xeo It has a pencil next to it, so yes.
 
Xeo
@not-rightfold Well duh, I meant if he removed anything "offensive".
 
Now we need to know the original comment text
 
welp. it seems that gcc48 on freebsd doesn't have std::to_string. I'm not even sure what should I say - "fuck gcc", "fuck freebsd" or fuck both =(
 
4:47 PM
I'm so offended at these words
 
Isn't FreeBSD converted to Clang already?
 
@Abyx 4.6 had it. Forgot -std=c++11?
 
Meh, to_string.
 
@Griwes sort of. but it use stdlib from gcc42
@LightnessRacesinOrbit nope
 
Xeo
4:48 PM
@Abyx Well obviously "fuck FreeBSD" then
 
> That bug was marked as "resolved" over three years ago, but the fix was just to add this guard, not to actually get the functions to work.
lol
 
@LightnessRacesinOrbit mingw48 has to_string =\
 
This is an interesting old paper to read: http://www.cs.berkeley.edu/~wkahan/JAVAhurt.pdf
> How Java’s Floating-Point Hurts Everyone Everywhere
 
@R.MartinhoFernandes why "meh"?
 
GCC is a mess
 
@Abyx Because it's too simple :P
 
well yeah, probably I should write it by myself
 
Doesn't to_string take a base?
Oh no, wrong function.
I don't know what I'm thinking of.
stol?
 
...
you're obviously thinking of JavaScript's parseInt
 
4:55 PM
My edits don't show up on cppreference history :(
 
@Rapptz were they applied?
 
I remember making them a while ago.
 
@Rapptz cppreference doesn't
 
% ./a.out
/usr/lib/libstdc++.so.6: version GLIBCXX_3.4.18 required by /usr/home/abyx/src/json-cpp/tests/gcc/a.out not found

fuck this shit =\
 
4:56 PM
@Rapptz Stop drinking
 
Xeo
... says the Cat
 
glibcxx version mismatches fuck me off
in fact I basically just hate computers in general
 
Me too
 
Is there a way to shorten if (std::find(x.begin(), x.end(), y) == x.end()) (considering x to be longer than one character)?
 
Xeo
4:57 PM
auto& x = something_longer;
 
make a wrapper function
 
@Jefffrey Looks pretty short to me
 
Yup, just name the entire expression
 
Good idea.
 
4:58 PM
if (belgium)
 
Xeo
Maybe you'd also be better off with a different data-structure.
 
user1804599
if is silly.
 
Joe. Belgium. Nice; very descriptive.
 
user1804599
Should be iff.
 
Why doesn't std::find(container, item) exists already?
 
4:58 PM
Because ambiguities
 
user1804599
Because that’s not generic enough.
 
@not-rightfold That's right, because sensible people read if as "this could always happen"
 
It's generic enough with std::begin/std::end
 
Xeo
adl_begin/adl_end, you mean.
 
Ooook.
 
4:59 PM
@Jefffrey Because algorithms operate on ranges, not containers
 
Whatever broken ass piece of shit workaround that is
I don't care
 
user1804599
#define itpair(container) ::std::begin(container), ::std::end(container) :D
 
@Jefffrey Just write it yourself.
 
I ate a nice torange the other day
 
Use Boost.Range
 
5:00 PM
Okay, back to work. See you guys later.
 
Bye :)
 
Leaving work
see you guys later
 
user1804599
I’m also going away; billiards.
 
@Xeo I think that I would define T is-a U as "If you have f(U) and you call f(T()), does the call succeed?" (ignoring default-constructibility issues here).
 
user1804599
5:05 PM
@GamesBrainiac That underscore makes even less sense than the Quran.
 
Xeo
@DeadMG That's what co- and contravariance answer, AFAIK. "is-a" for me really implies a subtype relationship.
 
eh
 
@not-rightfold ?
 
I see no reason to handle subtyping explicitly, compared to any other co or contra variance.
 
user1804599
Why is there an underscore?
 
5:06 PM
@not-rightfold I just wanted one to be there :P
 
Xeo
@DeadMG Same. That's why the use of "is-a" is bugging me :P
 
user1804599
Why is there a god?
I just wanted one to be there.
 
user1804599
See? :D
 
well, for me, I definitely feel that None is-a Optional(T).
 
Why is there a @not-rightfold?
I never wanted one to be there.
 
user1804599
5:07 PM
Because the world needs at least one person who has no idea what they’re doing.
 
@not-rightfold ..but that makes two of us :(
 
@not-rightfold The world has plenty of those.
 
@not-rightfold Append me to that list :P
 
Xeo
@DeadMG Is None actually a type?
 
5:09 PM
Someone made a TV program: The Joy of Stats
Documentary exploring the history of statistics and how they can help society today. (R)
 
@Xeo I'm undecided for certain, but right now, I'm feeling that a polymorphic type is a type.
it's just a type that might become some other type at some later convenience.
 
Xeo
Sure, but I mean, is it actually called None? Or are you just using that as a synonym for Optional(?)?
 
er, I certainly intend for it to be None.
my current plan is that the user essentially will be able to control the is-a relationship.
so you could have some polymorphic type that might decide to be either a Vector or a Map or something
after all, formally, the language doesn't even have the concept of parameterised types, they're more like an emergent property of generic functions + the type-as-value rules.
 
Xeo
So it's covariant to either of those.
 
Dammit, isohunt shut down because of MPAA.
 
5:12 PM
it was bound to happen
 
@StackedCrooked Its a sad day for me :(
 
the corporations are stronger than governments these days
 
I rarely used that particular site, but it's a scary evolution.
 
@Xeo Right, but I'd have fun saying VectorOrMap is Vector(?) or Map(?, ?) or something.
 
The owner went "fuck it, not worth it" basically
 
user1804599
5:13 PM
The C++ standard doesn’t define ctors and dtors as functions, does it?
 
@not-rightfold Not particularly, no.
 
@CatPlusPlus I'd probably do the same.
 
user1804599
@DeadMG ok:3
 
@ScottW What
 
@ScottW 634 million dollars on a website? that seems excessive
 
5:17 PM
Apparently it has 5MLoC.
 
What
How do I sign up
 
@ScottW Have you seen how many different contractors we simultaneously hired to make the site?
 
I'd generate 95% of that code in a weekend and just release 100k LOC every sprint
 
@ScottW dafuq?
 
user1804599
@ScottW sounds like Dutch government.
 
5:19 PM
@not-rightfold s/Dutch/any/
 
No, I'm sorry, that's not possible
 
^ that one?
 
There is no way to do this
 
user1804599
Needs to economize, puts more and more money into devaid.
 
5:20 PM
> One specialist said that as many as five million lines of software code may need to be rewritten before the Web site runs properly.
 
@GamesBrainiac No, government doesn't put their websites on .net
 
@GamesBrainiac healthcare.gov
The url won't have obama's name in it.
@CatPlusPlus Wait, I got that wrong.
> Five million lines of code? Well, if that seems like a lot, consider that the site as whole apparently contains 500 million lines of code.
 
@ScottW I honestly wanna know, is the new healthcare plan good?
 
FUCKING WINDOWS DOESN'T HAVE 500 MLOC
 
5:21 PM
Cuz republicans really hate it.
@ScottW So, say you get sick, what happens?
 
@CatPlusPlus I have no idea. It's some ridiculous number that is making the headlines.
 
How much time did they take to make it, 200 fucking years?
 
@R.MartinhoFernandes Of course not. That's not supposed to be the URL for the new healthcare site, though, so...
 
@ScottW my function finally made a callback :P
 
That's complete bullshit
It was bullshit with 5MLOC, but goddamn 500 is just so obviously making shit up
 
5:24 PM
@GamesBrainiac There isn't "one" new healthcare plan.
 
@caps eh?
 
@CatPlusPlus About 420KLoC a day for three years.
 
So, a team of 600 maybe could do it
If they did nothing else but write code all fucking day long
 
whats a LoC?
 
@GamesBrainiac Line of Code...
 
5:25 PM
ahh
lol, then that has to be pure bs
I couldn't write all that code in my entire life!
 
Windows after how many goddamn years has about 50 MLOC
 
@CatPlusPlus 25, I think.
 
Wiki says 50, and I'm too lazy to dig through sources
But still
NOT 500
 
no, I meant, 25 years.
 
Maybe they counted looping as lines of code :P
 
5:27 PM
Oh
 
Unroll ALL the loops. Inline ALL the functions.
 
I guessed 30 at first
 
@GamesBrainiac Maybe they counted each assembly instruction as a LoC?
 
@DeadMG That could be it too :P
I mean come on man 500M? Insane.
 
That probably still wouldn't reach 500MLOC
 
5:29 PM
500M assembly instructions would easily be a few GB in compiled binaries, at least.
 
It's probably made in PHP anyway.
 
I'm trying to see if there are any obvious giveaways wrt tech, but not seeing any yet
 
Maybe someone just went to sleep pressing [ENTER].
And they decided to count whitespace
 
I can tell they're very competent already, though healthcare.gov/js/all.js
 
5:31 PM
@CatPlusPlus omgish, i was joking! It turns out to be true
 
@not-rightfold Of course they are. To be precise, they are "special member functions."
 
maybe the entire system for the site is 500mloc
 
@DeadMG Still ludicrous.
 
Ahaha apparently it was on GitHub, but they made it private or removed it
 
5:35 PM
Ah, the healthcare website.
 
It's probably Django
 
I heard something about open source.
 
Oh, that {% endif %} I thought is from Django/Jinja is actually Liquid
 
@R.MartinhoFernandes Well, I dunno. Maybe if you said that Linux is 16M, some of the dev machines are Windows at 45M, plus compilers, tools, stuff like that... you might get to a very large number by counting a bunch of irrelevant shit.
 
Either way it's bullshit which is the point
 
5:39 PM
yep
 
If this GitHub repo is that thing, then it's just a Jekyll site
 
An open source website to manage people's private identity information. What could go wrong?
 
Best security systems are open
 
@CatPlusPlus That says about 100k.
 
@CatPlusPlus Oh? Why is that?
 
5:41 PM
Because security through obscurity doesn't work
Modern cryptography relies on key privacy, not algorithm privacy
@R.MartinhoFernandes Probably a large part of it is third party stuff anyway
 
security through obscurity hasn't been a credible security technique since like, WW2.
 
Well, that shows what I know about Security, then. :p
 
Evening
 
something about how when the Germans lost a single codebook to British intelligence on a submarine, once, the British subsequently utterly destroyed their codes.
 
> Our GitHub activity leading up to the launch of the new HealthCare.gov.
 
5:47 PM
@DeadMG Quite a while before that, really.
 
WTF what a blatant lie.
That's just the screen that shows up before you pick which graph to display, but with some pieces coloured blue.
It's 'shopped.
 
Also they hid the repo :lol:
 
@DeadMG That's not really security through obscurity -- it's simply that older codes lacked nice, small keys that were easy to distribute, so they were stuck with large keys that took up entire books.
 
@R.MartinhoFernandes lol
 
Compare with this.
 
5:49 PM
It's just bullshit all the way down
 
What are you guys talking about?
 
We're mocking the US government.
 
@TonyTheLion The new Healthcare website.
 
@R.MartinhoFernandes Oh, well that's not hard
 
Someone stole $600M from US to make a website that's not worth 0.00001% of that
8
 
5:51 PM
@CatPlusPlus Multiple someone's actually.
 
Everyone involved is incompetent, basically
 
Not the janitors.
 
How unsurprising
@CatPlusPlus Maybe you should offer them your skills?
 
I don't think they have any money left
 
@CatPlusPlus hahahaha. If only.
 
5:52 PM
Also nobody will admit they're idiots and don't know what they were paying for
 
@CatPlusPlus pure genius. And in the middle of a financial crisis too.
 
Argh, those Battlefield 4 community managers with their clever puns where they replace "for" with "4".
 

« first day (1101 days earlier)      last day (3853 days later) »