« first day (914 days earlier)      last day (4036 days later) » 

8:00 PM
What you doing, Robot?
 
Setting up a build server for ogonek.
 
user142019
@sehe Processing chat messages.
 
1 min ago, by R. Martinho Fernandes
Woot, running tests now.
 
@EtiennedeMartel ... not helpful
 
@R.MartinhoFernandes so, what did you use to build?
 
8:01 PM
@R.MartinhoFernandes It's cooler when you say you're doing CI.
 
@sehe Robot was setting up Travis
 
Sorry, still don't condone flags
Ignoring may be flawed, but works a lot better. Thank you very much
 
@LightnessRacesinOrbit Continuous Integration
 
8:02 PM
sorry - pressed the wrong button and flagged by mistake
9 hours ago, by Zoidberg
user image
 
Who cares about this
 
@BartekBanachewicz I wasn't talking to you
@kbok The person who asked about it in the message to which the image is a reply.
 
@LightnessRacesinOrbit ahahah
 
You get notifications for that? Interesting.
 
@Pawnguy7 Of course you do....
 
user142019
8:03 PM
@Pawnguy7 you have to confirm it.
 
user142019
Of course you get a fucking notification for it.
 
@R.MartinhoFernandes Put travis image into the readme! (build status)
 
Sigh.
 
user142019
Travis is nice. It shows on GitHub whether pull requests build and whether they are mergable.
 
@BartekBanachewicz libcaca to the rescue: [n]SFW? google.com/…
 
8:04 PM
> I will squash this later
 
 
@BartekBanachewicz whistles
 
Da search
 
@R.MartinhoFernandes :cheesy smile:
> [Testing completed. All tests passed (236048 assertions in 26 test cases)]
OGONEK DELIVERS
 
8:05 PM
@sehe URL?
 
@sehe oh what the sehe
 
@StackedCrooked It's not live yet. I haven't done dns. And I haven't decided I'm making it public. Yet
 
Ah.
I guess it would look just the same :P
 
@StackedCrooked Prezoisely
afk
 
Down to 190 errors :D
 
8:07 PM
libcaca has been written by a french guy
 
It occurs to me, you should only renovate one part of your API at once instead of breaking all the ugliness at once.
 
@R.MartinhoFernandes: I've asked this before, ever figure out where the compilation time dilation come from with nested initialization_lists ?
 
No. Been busy refactoring the hell out of things.
 
Feb 7 at 23:38, by Etienne de Martel
libcaca. Of course, it's made by French people.
Just sayin'.
 
8:10 PM
oh god wtf is this shit (pun intended)
 
FINE.
this is hardly a pun
 
fine, crappy joke intended
(this one is meta)
 
Is there a way in VS 2012 I can sort of... use a #define-ish find and replace? Like, to replace TextDrawer.setSize(int) to TextDrawer.Size = int? (as the int is different)
 
@Pawnguy7 install vsvim: /\.setSize, ggqqn%dibNv%"_c\.Size = <Esc>pnq` (where <Esc> is the keypress).
Now repeat at will using 100@q or so for all the 100 times this happens
 
user142019
8:17 PM
> Powerful, scalable, Sass-based, BEM, OOCSS framework.
 
@sehe ... what the hell did i just read
 
user142019
Congratulations, your slogan consists of only buzzwords.
 
What is the answer to the question 15?
 
@kbok compile the code and find out?
 
@kbok It tells you. it's like multiple choice
@kbok Which q was it?
 
8:19 PM
@sehe Throwing an exception while initializing a static variable, then calling the function again
 
@Griwes wat
 
@Borgleader It doesn't say if it's UB or not
 
hi
 
@kbok Is that exception in constructor question?
 
@kbok ah, that's just straightforward, like you described. From my memory: acabAB
 
8:20 PM
If so it's not UB, as sehe just said
 
@sehe I think it's weird that the static variable gets try-initialized each time
I will consider it the "fuck you" C++ quizz
 
@Pawnguy7 Yes, there is. You need a tagged regular expression. Find: "TextDrawer.setSize((\d))" and replace with `TextDrawer.Size = $1", and make sure the "use regular expressions" box is checked under "find Options"
 
@kbok Not each time.
Or I misunderstood the 'try'.
 
@LucDanton I mean, until it succeeds.
Well, TIL :)
 
@kbok It's really not. It's per the standard. It gets initialized unless it had been initialized before. Note that it is even threadsafe, but reentrancy is unspecified (gcc detects the deadlock)
 
8:23 PM
It makes me glad to actually learn stuff
@sehe It makes sense once you think about it because no alternative is viable
 
Yup.
 
It surprised me anyway
 
@kbok Well, c++03 had nothing about threadsafety in the mix
 
I was talking about trying until it's properly constructed
 
Unfortunately, I'd have to say that while this quiz was more interesting than most, it nearly all ends up as pure trivia; almost none of it really has anything to do with real programming. E.g., if you have the slightest reason to care which overload is called for a particular parameter, chances are that you're abusing overloading. The basic point of giving multiple functions the same name is that they're all logically equivalent.
 
8:26 PM
@kbok It's not really trying until (there is no loop). Note my wording:
3 mins ago, by sehe
@kbok It's really not. It's per the standard. It gets initialized unless it had been initialized before. Note that it is even threadsafe, but reentrancy is unspecified (gcc detects the deadlock)
 
@kbok Point is, that if it hasn't been constructed (i.e., ctor completed successfully) it gets constructed. Doesn't matter whether that's because the ctor was never invoked before or because it threw before completion.
 
So, what you should gather is that, if the initializer threw, it is still considered uninitialized according to the Holy Standard
 
Yup.
 
Ell
Play on Linux go!
 
Well, that was hard
I'm pretty sure no one I know IRL would get more than a third of the questions right
That was really focused on specific aspects of C++ though
 
8:33 PM
Has anyone used or seen this technique used or discussed before? ->
3
A: How do I unit test a class with nasty dependencies without a mock framework?

KazarkUse what I call a Preprocessor Mock—a mock injected via a preprocessor seam. I first posted this concept in this question on Programmers.SE, and by the answers to that I judged that this was not a well known pattern, so I thought I ought to share it. I find it hard to believe that no one has don...

That's one of the things I was curious about when I posted that question and answer—
 
@Kazark I don't recall seeing you here, so... read this.
 
> nasty
 
I tend to assume that I'm not the first person to think of such things.
 
You're a nasty, nasty dependency.
 
Because what you're doing is known around here as link dumping, and it's rude.
 
8:35 PM
I should get some food before it's too late instead of looking at unrelated SO questions
 
Does anybody know where to... find, xinput? Is it included in VS?
 
@EtiennedeMartel Thanks, good to know. I've actually been here before, but no one sent me there, so good to know.
 
@kbok That's why I thought it was easy. Once you got the hang of it it was... more of the same, really
 
should we notify the Boston police?
1
Q: C++ to Java Conversion - Destructors

user2292121long time reader first time "ask er". preparing for an exam and I am asked to convert this program to java. I can handle everything else but the destructor. Now I've already read all over about the GC(garbage collector) and it unreliability. I am thinking why put a destructor for me to convert a...

 
Like I said, I borked the one about void* overload
 
8:37 PM
(read the source sample)
 
@KonradRudolph hehe
 
@Pawnguy7 No.
 
Never mind, SDK.
 
@sehe Same here
 
I was wondering if it would be possible to use it via JNI.
 
8:38 PM
@KonradRudolph What.
 
THANK YOU ALL GUYS FOR YOUR RESPONSES. WISH I COULD REP YOU FOR YOUR HELP, MAYBE IN THE FUTURE! — user2292121 33 mins ago
Woa.
 
@EtiennedeMartel YOU ARE A VERY KIND PERSON SIR
 
user142019
Fuck. I can't build Ogonek. :(
 
@user2292121 is a bro.
@Zoidberg What? Why not?
 
user142019
I want to build it using clang but for some reason I get this error:
 
user142019
8:40 PM
test/ascii.c++:31:33: fatal error: invalid suffix '_b' on integer constant
        CHECK(encoded[0] == 0x41_b);
                                ^
 
@EtiennedeMartel Ugh broken code.
 
Also, if I compare two std::vector<some_struct> with an operator== defined for some_struct, will it use my == overload?
 
user142019
I could of course just omit the tests.
 
@Zoidberg UDLs?
3.2 supports it.
 
user142019
Yes.
 
8:43 PM
@KonradRudolph The real question that you should be asking is "why would anyone write a bomb's logic in Java?"
 
Didn't you know that Java was designed for embedded systems
 
@EtiennedeMartel Accepted answer: -1. Gotta love it.
 
@Drise It was probably a homework assignment (University of okay, bad joke)
 
@Drise The same reason they'd write anything else in Java.
@kbok Actually, it was. Originally for a video controller.
 
> /usr/bin/ld: cannot find -lboost_exception
:(
 
8:45 PM
@Drise Well it's going to be destroyed anyway so
 
I wonder if pkg-config will work.
 
@kbok I'd rather detonate a bomb by hand than program one in Java. Not that I intend on detonating bombs any time soon... you know.
 
@JerryCoffin Didn't knew about the video controller
 
@R.MartinhoFernandes maybe you need the -mt version?
 
@Drise I'd rather program in Java and not blow up anyone
 
8:46 PM
@kbok I know only more or less by accident (my brother worked for Sun at the time...)
 
user142019
include/ogonek/data/ucd.h++:554:136: fatal error: initialization of non-aggregate type
      'std::initializer_list<composition_entry>' with an initializer list
 
user142019
LOL
 
@JerryCoffin So, programming is like a family thing? :)
 
user142019
Time to install 3.2 I think. :P
 
3.2 still has broken SFINAE.
 
user142019
8:49 PM
Luckily the binaries are available.
 
@StackedCrooked damn. i'm running into this problem with mongrel now: stackoverflow.com/questions/13851741/…
 
user142019
Y u old version of Ruby. :(
 
@sehe AFAIK mongrel is only needed for the old webserver.rb
Unless sinatra also uses it under the hood.
 
user142019
Sinatra works with anything that supports Rack.
 
@StackedCrooked ah. silly me. dropping it
 
user142019
8:50 PM
@sehe try Thin or WEBrick.
 
@Zoidberg I was aware of those, but they'd probably require adaptation of the Web project :|
 
Ell
Maybe it isn't so difficult :3
Where can I get coliru?
 
user142019
deps/wheels/meta.h++:268:10: fatal error: 'utility' file not found
#include <utility>
         ^
 
user142019
I'm going to kill myself.
 
8:52 PM
I'll get a coliru instance
Y U NO install guide
 
Oh FFS, libboost1.53-dev does not install all of boost...
Godammit fuckbuntu.
 
hahaha you and you shitty distribution
 
@kbok Please write it! I need it myself.
 
Ell
dernit I think I'm downloading the coliru archives xD
 
@StackedCrooked Will do
oh nice island @Pawnguy7
 
8:55 PM
@kbok Not really -- just Mike and I. My older sister is a statistician, another brother has a degree in biology, but has mostly worked as a photographer. My younger sister was a music teacher, and is now (part?) owner of a crafts store (yarn and stuff like that).
 
@R.MartinhoFernandes libboost1.53-all-dev
 
@R.MartinhoFernandes who'd ever need the entire boost library? :p
 
@Ell I bet it's not. but no changes is even simpler
 
@R.MartinhoFernandes I heard you need to install exceptions support for GCC as a separate package too
 
user142019
Fuuck.
 
Ell
8:56 PM
#gem 'mongrel', '1.2.0.pre2'
gem 'thin'
 
user142019
Why are there ten million include folders.
 
@kbok It's really too simple, so ... give me a spare day
 
user142019
Why is there /usr and /usr/local and /usr/share and /usr/local/share and /opt and /opt/local.
 
user142019
Why not just /usr.
 
@bamboon Yeah, I got it, thanks.
 
Ell
8:56 PM
usr/local is for kernel includes isn't it?
then usr/local/include for user programmes
 
@StackedCrooked Also, can't you ... please? switch to decent nicer version control? I don't want to bend my head around svn again.
 
@kbok /ˈʃɝli/ you must be joking.
 
@StackedCrooked I'm now facing jail incompatibilities: /bin/bash: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
 
@R.MartinhoFernandes what is that sound
 
Shirley/surely
 
8:57 PM
@JerryCoffin Wow, that's a large family.
 
user142019
Oh, of course.
 
user142019
Let's put headers in /usr/lib.
 
@StackedCrooked do you use a tool to 'automatically' detect dependencies for the jail, or did you manually build it?
 
Well, shirley is not joking
 
@kbok Fairly large, yes.
 
8:58 PM
@sehe My chroot is a full rsync for /usr /lib /bin
 
How do you think so many relatives turned out to be statisticians?
(that's soooo meta)
 
rsync -aqz /usr /bin /lib /lib64 ${CHROOT}
 
@sehe lol
 
@StackedCrooked mmm. is the rsync step in the Install script? I haven't read it close enough
 
9:00 PM
@StackedCrooked Let me read the install log. Again :)
 
You can always rerun the install script. It will skip any steps that are already done.
Sometimes it will redo them. But that should not be harmful.
 
You may encounter no explosions
 
@StackedCrooked It worked by rerunning the rsync separately. Hmmm. I should have done the whole script
 
You didn't run it?
The script is a little aggressive though. It assumes that the machine is dedicated to coliru.
What happens if you have a local static variable that throws from its constructor?
 
@StackedCrooked Yeah I noted.
@StackedCrooked This has been amply discussed by now
 
9:07 PM
Here?
I missed that apparently.
 
40 mins ago, by sehe
So, what you should gather is that, if the initializer threw, it is still considered uninitialized according to the Holy Standard
 
So it will retry next time.
 
Anyways. Here's my JSON parsing example running nicely on coliru.sehe.nl:8989/…
It takes a while... I upped the expiration times to 40s
 
Nice.
 
@sehe Ooh, no time to read that right now but thanks.
 
9:11 PM
It's rather fast.
 
@StackedCrooked I take it you spammed it already
 
No, just tested compilation.
 
@LucDanton It has your binary visitor wrapper suggestion :)
 
@StackedCrooked I should prolly update the default command line to remove -4.8 :)
@StackedCrooked I rather like the simplicity of this thing. Ruby does have merit
 
9:14 PM
Why is Zoidberg's error starred?
 
@sehe Do as you please. I like to show the explicit version number. This makes it easier to discover that there's also still 4.7 and 4.6
 
@StackedCrooked Just to be clear, the "Janitor" is unimplemented, is it supposed to clean the jail? I mean, because I could totally see my self running the rsync as rsync -hxDPavilWHR --stat --delete -FF /./{usr,bin,lib,lib64} /var/chroot in a cronjob
@StackedCrooked Yeah. I mean, I don't have that version. I could tack on -4.7 for my system
 
@sehe Janitor was supposed to be a "repair"-script that runs in the background.
 
@StackedCrooked That's half the answer. Repairing the jail/scrubbing it (protecting /var/chroot/tmp/ maybe)?
 
But I didn't work much on it.
Half the answer?
 
9:18 PM
@StackedCrooked to this question
 
I don't know what those flags all mean.
 
@StackedCrooked The protection bits could be done using FILTER RULES (-FF uses per-directory, inherited .rsync-filter files)
@StackedCrooked They mean I'm great
 
It was supposed to clean the entire machine.
But the Installer script took that role.
 
@StackedCrooked Wokay. What I really intend to ask is, is it (by design) okay to regularly "paint" over the jail? Would that not clash with 'repair-permissions.sh' (or is that simply redundant, then?)
 
OH GOD YOUTUBE SUBS NUMBERS ARE BACK
WOOO
 
9:21 PM
@sehe It's okay to do that.
 
Thanks
 
@CatPlusPlus What is that?
 
The number of new things in channels you subscribe, in the sidebar
 
Once Johannes tried coliru and removed r/w access to tmp. Hence the repair permissions.
 
what sidebar
did youtube change again
 
9:23 PM
@melak47 Is that a question?
 
The whole bash scripting is a bit sloppy though.
 
@R.MartinhoFernandes I suppose not, youtube always changes the goddamn layout :p
 
@StackedCrooked use --safe-links on rsync to see some holes in the jail :)
 
@StackedCrooked OMG coliru sucks, I am never touching it again.
 
@R.MartinhoFernandes lol
 
user142019
9:24 PM
And we have a segmentation fault. XD
 
restart.sh also doesn't work. I can seem to kill it entirely.
while true ; do
    restart_webserver
    sleep 2
done
^ This loop restarts the webserver should it crash.
However, my kill-all.sh script can't kill it, lol.
It keeps restarting.
There's also experimental stuff like this.
 
user image
2
I keep breaking this shit.
 
@sehe you should probably change the Google Analytics id in the html files.
@Ell lol. (There's 2761 posts currently. Should take a minute or two.)
 
9:53 PM
YES.
My XNA game still runs correctly.
 
user142019
Fuckfuckfuck.
 
@Zoidberg Geshundheit.
 

« first day (914 days earlier)      last day (4036 days later) »