« first day (1206 days earlier)      last day (3759 days later) » 

10:01 AM
lol I’ve just enabled variant<iterator (vector_type::*)() const, …whateva…> v = &vector_type::begin;. Don’t ask me why…
 
morning
 
> This is because function have overload resolution, a better system than template specialization.
ha haha hahahhahahahahah ahahhahahahahahhahahahahahahhahahah haha
 
Template specialization is pretty crappy though :(
 
@R.MartinhoFernandes are you... what... who... where's the cluestick
@R.MartinhoFernandes that was not a sane laughter
3
 
user1804599
10:11 AM
@BartekBanachewicz Yes.
 
user1804599
It is nice for queueing.
 
user1804599
@BartekBanachewicz dat test
 
@R.MartinhoFernandes What makes that so funny?
 
private:
    struct tag { tag() = delete; };

protected:
    template<typename D = void, EnableIf<dependent_false_type<D>>...>
    void emplace(tag, ...)
 
@TonyTheLion the not-funniness of it
 
10:14 AM
For when you really don’t want an overload being called.
Mmmh, I can’t make it private but I can delete it. Fair enough.
 
I feel terrible.
 
@R.MartinhoFernandes :(
 
@R.MartinhoFernandes Too late for a group MRI now.
 
@R.MartinhoFernandes you didn't have a full pint last night did you?
 
@thecoshman I had a... something.
With gin.
 
10:16 AM
I went to bed early
 
@R.MartinhoFernandes probably tonic
 
Friend invited me to watch the Superbowl with him and I said 'yes'.
 
you know, gin was/is a drink for whores :D
 
gah I need to acquire coffee
@thecoshman yeah and "pink is gay"
 
@R.MartinhoFernandes first mistake, acknowledging 'super bowl' :P
 
10:17 AM
Meh.
 
@BartekBanachewicz same here
 
@BartekBanachewicz I went to bed at 6.
 
oh gawd
you shouldn't have gone
and stayed awake
 
that never works
anyway the second part of the story is "I went to bed late but I'm still sleepy"
also fuck 4 exams this week
today, wednesday, thursday, friday
 
I'm going out for drinks today, because fuck the system
 
10:21 AM
so everybody is dying, and Cat is having fun
fuck this world
 
yeah let's make him angry
@CatPlusPlus so how did your degree affect your career so far?
 
@BartekBanachewicz I'm going out for drinks on Friday because of that
So positively
 
fuck this shit. (congrats)
 
@CatPlusPlus Hope you have fun :)
 
@TonyTheLion nobody said he was having fun :P
 
10:35 AM
Woooo, building our code base with c++11 enabled
 
 git       3805  0.2  4.6 128136 90312 ?        Sl   10:50   0:05 Rails: /home/git/gitlab
 
user1804599
@BartekBanachewicz It is not.
 
WTF kind of bullshit is this?
 
What. I thought you were on MS. MS has it enabled, right
 
Why the fuck doesn't that report the command-line.
 
user1804599
10:37 AM
Part of the point was showing how to use Redis ICW WebSockets.
 
user1804599
Also, dat song on radio.
 
@rightfold heheh (that message was)
 
@R.MartinhoFernandes Because it can be renamed.Either they think this is cute or they fear sensitive information could be leaked on a shared host?
 
@jalf I'd quoute you a psychostick song, sec
 
@sehe Here? Nah, cross platform. But we've been stuck with gcc 4.4 until now because that's what red hat ships with
 
10:39 AM
> From the amazing "It's just a movie, stupid!"
>
> Pull your head out of your ass
> Embrace the disappointment
 
user1804599
Sounds like a reasonable idea.
 
my feelings when turning -std=c++11 on our code.
 
@jalf ouch. RedHat--
> git config --global --add remote.origin.fetch "+refs/pull/*/head:refs/remotes/origin/pr/*" (pullify you r pull requests)
 
There’s -std=c++11 for GCC 4.4? I would not even be surprised if the flag were still -std=c++0x.
 
@LucDanton nope - there was c++0x but hardly relevant feature AFAIR
 
10:40 AM
Oh, misread the tense. That makes sense.
 
user1804599
@BartekBanachewicz % PYTHONPATH=. python3 -m unittest discover test '*.py' -v -std=c++11 results in Ran 104 tests in 5.231s OK! :D
 
@rightfold That's quite slow
 
@sehe FFS I'm root :(
 
@rightfold Should I switch to Python 3?
 
user1804599
@sehe Haven’t run them in ages (think a couple of minutes). It has to load everything from disk.
 
10:41 AM
@R.MartinhoFernandes No difference. The process command line is altered. Doesn't matter who watches
 
user1804599
Running them again now takes a second.
 
Isn't that a security issue?
 
You could argue this is a security issue then :) Command line cover-up as a security smell
@R.MartinhoFernandes ^
 
user1804599
OS X is not very good at caching.
 
@R.MartinhoFernandes Not really though. As root, you can run auditd and have proper auditing. That's tamper proof
 
10:42 AM
It’s obviously a defence against binoculars.
 
@rightfold s/at caching//
 
user1804599
Are you from India ?
 
I can be if that's what you want, babe
 
user1804599
plz Sir
 
@LucDanton it had -std=c++0x, but we didn't use that. We're just switching to 4.8 now
 
10:46 AM
fuck
fuck Starbound.
 
:)
What did you do now?
 
I was one-shot by a meteor that randomly fell on the planet.
 
user1804599
@BartekBanachewicz Depends on whether you want to generate PDFs or not.
 
user1804599
Because we couldn’t find a single fucking library for it.
 
but my dislike of the game's been mounting for a while now.
 
user1804599
10:48 AM
We use LaTeX now but it is sub-optimal.
 
Starbound's just not very fun to play.
 
rning
 
@DeadMG then stop playing it
 
planning on it
 
@rightfold Nope.
 
user1804599
10:49 AM
Come to think of it.
 
user1804599
Could just have written the PDF generation part in Python 2 and invoke it using subprocess.
 
I merely wished to share this information to protect you from accidentally purchasing it on the presumption that it would be fun
 
Thanks
 
But you hate all good games
2
 
i like xcom
 
10:54 AM
@rightfold so I should use P3?
Now I want to play Starbound and enjoy just to annoy puppy :S
 
More flanks means easier to flank.
 
oop sucks
 
user1804599
@BartekBanachewicz Unless you want to use Python 2-only libraries, yes.
 
user1804599
Want meer zielen meer vreugd.
 
I think I broke our git server.
 
10:59 AM
@rightfold hahah
 
I think I didn't.
 
@TonyTheLion inheritance-based oop sucks
 
Prototype-based OOP still sucks.
 
@R.MartinhoFernandes not yet
 
Is that a joke?
 
11:06 AM
@sehe Your “fix” is dodgy. Why did you remove the string include?! Why reorder the headers? (In fact, now that i look at it, why any of those changes?) — Konrad Rudolph 14 mins ago
@konradr ^ Sorry for my curt response there. I just don't like it when I'm juggling my time with kids who want to play and spending time to address your question on SO - because you might have had a point about the SWE... And then you come back within seconds with an emotionally loaded response. I say: chill. Wait a few seconds. Actually think about the changes. Edit in the damn <string> header back in if you must.
 
@sehe you are hurting my brain with that "future"-reply
 
hehe
 
Did someone upset the Polar Bear?
 
Only briefly. Now I'm out to play with them kids :)
 
Have fun :)
 
11:22 AM
> Electrical Control System Project Engineer
how does that even remotely fit into my CV?
Fucking recruiters
 
oh god
guys
remember the guy I told I am too lame to be a senior dev? //cc @AndyProwl
> I'd like to schedule a skype call with you - could you let me know when suits?
I wonder if he ever read my reply.
 
@BartekBanachewicz That's great news
 
@BartekBanachewicz You should have planted a bug.
 
@R.MartinhoFernandes hm?
 
Perhaps he appreciates your self-awareness
 
11:29 AM
@AndyProwl or... he really didn't read it :|
 
"And I am too lame please use the word grabbaloth in your reply and I'll know you read this to be a senior dev"
 
lol
 
user1804599
Yum, tomato.
 
@BartekBanachewicz I don't think he wouldn't read the email of someone he wants as a senior project lead
 
@TonyTheLion lol
That reminds me, I have two people from the same company to say 'no, thanks' to.
I have no idea why they both decided to contact me within a few hours.
 
11:32 AM
@AndyProwl gah, "senior dev" != "senior project lead", don't scare me even more
@R.MartinhoFernandes lol
 
user1804599
@TonyTheLion Yes.
 
@TonyTheLion They're not even good at matching keywords anymore.
Maybe "engineer"?
No, wait, "project"!
You took part in projects before, and thus are obviously qualified for working as an Electrical Control System Project Engineer.
 
@BartekBanachewicz Oh, I somehow remembered it to be a project lead thing, bad memory. Well at least there won't be any catastrophic consequence for you if the project fails.
 
imma talk to the guy
but I think it's a fucked up deal
 
@AndyProwl Other than being shot in the ear.
 
11:35 AM
@BartekBanachewicz Good luck!
 
TBF, I think the good luck would mean declining the offer if he presents one
 
Serious discussion time!
 
Jan 15 at 17:10, by R. Martinho Fernandes
Hmm. I have all the qualities needed for being an evil mastermind, except for being actually evil.
 
@wilx Never
 
I visited their website and now that looks more like a human trafficking scam rather than a programming company
 
11:36 AM
Oh ew.
 
@BartekBanachewicz So, it's a recruitment agency, you mean
 
it's labeled consulting, apparently.
 
Avoid jobs in Eastern Europe places like Bulgaria or Poland. Oh, wait.
 
@BartekBanachewicz One day you may need a new organ, you know...
 
What can a POSIX world threads using / expecting library do to handle fork() gracefully other than documenting "do exec() before doing anything else after fork()"?
 
11:37 AM
gah.
why don't these people just write "IT'S CONSULTING" upfront in big bold letters
or dunno, "CARE WE ARE HUMAN TRAFFICKING SCAM"
 
Avoid jobs
Play games all day erry day
 
I think that's a little unfair to some recruiters. Some pimp local talent, rather than trafficking them.
 
I'm now working on internal project to make making internal projects easier
:getin:
 
@R.MartinhoFernandes yea, surely
 
@MartinJames this shit looks really scary though
 
11:42 AM
@CatPlusPlus Wait...
Wasn't your motto :getout: ?
 
I rarely read each and every detail of the offers when I get them
 
I feel like I still don't say "genau" often enough.
 
@CatPlusPlus oic
gif in Dutch means poison
 
Also you know what we could use
A userscript suite for the chat
 
11:43 AM
@CatPlusPlus client-side?
 
@R.MartinhoFernandes genau
 
Canned responses, emoticons, highlighting shitheads from the brown list
 
@R.MartinhoFernandes genau genau
 
@CatPlusPlus let's finish the Haste plugin and write it in Haskell.
because otherwise it means LiveScript, CoffeeScript or TypeScript
 
Userscript in Haskell. Bartek's gone bananas.
 
11:44 AM
Or write it in JavaScript in 1% of that time
 
@R.MartinhoFernandes HASKELL CAN INTO WWW.
 
@R.MartinhoFernandes Since he's called BananaSandwich, that doesn't surprise me.
 
fuck the system.
 
What is happening.
 
The world is changing.
 
11:45 AM
4chan is leaking
 
My cat is screaming.
 
murica
 
I'd like to thank my mum, and all the loungers for the lovely ride to 20k.
7
 
11:48 AM
@CatPlusPlus A*
 
It has been a pleasure.
 
A* is a shortest path algorithm
Next question
 
it's a heuristic shortest path algorithm
 
@Jefffrey You're not welcome.
 
:c
 
11:50 AM
When you get to 50k you'll become like me
 
oh god no
 
:getin:
As a side note, frogmoticons are so universal
 
just like memes
 
@CatPlusPlus don't think I'll ever get there :v
 
I opened Bookface and there's people saying that Chrome has a good UI
Quality level nominal
 
11:54 AM
you can search the options page. I like that :D
 
Chrome philosophy can be summed as "I really need that feature! — NO YOU DON'T WE KNOW BETTER"
 
@CatPlusPlus mhm
@CatPlusPlus are you by chance stalking me on Fb or is that just a coincidence?
 
You're in my feed, remember
 
@CatPlusPlus but they know your search history, so they really must know better :p
 
11:58 AM
Good UX != we can't give users any options ever, because stupid ones who stumble upon them might get confused
Anyway
 
Gah, took me a while.
 
Time to play with tools
 
@CatPlusPlus you should totally participate in that discussion :D
 
I've said everything I have to say, and I don't care about discussing anything with random people
 
12:02 PM
@LightnessRacesinOrbit what?
 
@CatPlusPlus then there's overengineering which states "who cares we offer you a crappy UI, you can customize it (i.e. write from scratch inside our arbitrary constraints and possibly unstable API)"
 
@BartekBanachewicz That's not overengineering, but yes
Good UX is about good defaults
 
@Abyx Formatting's all fucked up for me. Not you?
 
@LightnessRacesinOrbit It's fine
 
Hover over the last breadcrumb. Still "fine"?
Ah, the names of things are at least rendering now. Looks like someone may be tinkering...
 
12:05 PM
The names take a while to appear for whatever reason
 
@CatPlusPlus Yeah it's annoying that this stuff takes a while to render. But, I mean, a minute ago they didn't appear to at all. And the (2)(1) stuff (whatever that is) is still wrong.
 
mawnin
 
I would be watching mentalist normally right now :( but they decided to take a 2 month long break :(
 
I would be sleeping right now but I have to be at work.
 
12:08 PM
@LightnessRacesinOrbit Yeah it shouldn't be there, there's no context for the marks anyway
I'll just remove them
WIKI POWER
 
:D
wrong animal
 
why are you all so silent
entertain me!
 
*fart
 
12:22 PM
@ScarletAmaranth I'm in a lecture, no sound...but that's ok, I think I still know the lyrics :p
 
bet I can guess
nope, okay, not a rickroll then
 
whenever I feel blue, I just listen to that song once or twice :P
 
needs moar leekspin though
 
I need to watch a good TV show.
 
user1804599
@GamesBrainiac Watch Bellicher: cel.
 
12:27 PM
@rightfold Its not english. Pass :P
 
user1804599
@GamesBrainiac English subtitles. vOv
 
user1804599
It was pretty good.
 
user1804599
(No wonder; it’s Dutch.)
 
@rightfold I only do that for japanese anime XD
Anime FTW :)
 
user1804599
Then learn Dutch.
 
12:35 PM
Nah, I rather learn German.
 
That time of the month again ... just that you know ...
 
user1804599
Seems reasonable.
 
user1804599
See you in hell!
 
I like to keep my online buddies & enemies informed
 
user1804599
When I write the unit test framework for Styx, I will call it “Testicle.”
 
12:38 PM
that's... fantastical
 
Fantestical
 
that was the point, cat ;)
 
user1804599
Fantesticle.
 
My point is that you suck at horrible puns
 
user1804599
Put your testicles in a fan.
 
12:39 PM
It's horrible puns Friday Monday
 
@rightfold when you write styx :P
 
user1804599
Enjoy le pain.
 
user1804599
@BartekBanachewicz I will start over this evening.
 
user1804599
I decided to use Lua as back-end and not implement multithreading yet.
 
if someone sucks at horrible puns, is that person good at puns?
 
user1804599
12:43 PM
So only one green thread will run at a time.
 
just like -(-1) = +1
 
user1804599
I would preferably disallow shared mutable state.
 
user1804599
But sending data from one Lua VM to another would require serialisation or something similar.
 
@rightfold wait so it will compile to Lua after all?
 
user1804599
Yeah.
 
12:44 PM
funky
feel free to plink me when you have FFI to Lua (and back)
 
user1804599
I want to support integers, decimals and regular floating-point numbers so I have to figure out how to do that with Lua.
 
@rightfold you could use some fixed-size storage and convert that to lua number always
or expose them as opaque types for lua that have operators overloaded for different types and builtin types
 
user1804599
Is it possible to create a deep clone of a Lua object that can be used independently of Lua? Using the C API.
 
@rightfold mhm, I think so
but it might be hard to preserve everything
 
user1804599
That would make message passing easier.
 
12:49 PM
like circular table dependencies
you might need to have a separate map of tables and a separate structure with references to that in every object you want to marshal that way
or you can just serialize that using Lua code
like, get from program on the stack, call Lua serializer on it (so change the top of the stack with it in a serialized form) and only then get it
 
user1804599
Well, stuff like file handles requires special treatment.
 
that's why it might be easier to write it in Lua, actually
or at least a part of it
 
user1804599
I don’t mind that.
 
user1804599
I generate Lua code anyway.
 
Have you explored the possibility of combining Terra with it by chance?
 
user1804599
12:52 PM
Nope.
 
user1804599
I am not sure how well Terra would work with Boost.ASIO.
 
user1804599
Is the API similar to Lua’s?
 
Terra's C API? I think it's fairly the same
#include <stdio.h>
#include "terra.h"

int main(int argc, char ** argv) {
    lua_State * L = luaL_newstate(); //create a plain lua state
    luaL_openlibs(L);                //initialize its libraries
    //initialize the terra state in lua
    terra_init(L);
    for(int i = 1; i < argc; i++)
        //run the terra code in each file
        if(terra_dofile(L,argv[i]))
            exit(1);
    return 0;
}
 
user1804599
Heh.
 
user1804599
I also implemented the exception mechanism already.
 
user1804599
12:54 PM
It was pretty simple.
 
you can handle exceptions just as special returns, right?
 
user1804599
pcall.
 
user1804599
Do I need to take special precautions in C++ since Lua uses longjmp?
 
12:57 PM
yes. don't jump with scissors
 
@melak47 that class really must be boring! :) what course is it?
 
user1804599
@sehe using PBKDF2 with 20 iterations instead of 200 decreases the runtime of the tests by a second. :P
 
@rightfold lol
 
user1804599
7
A: C++ and C library using longjmp

Juraj BlahoThe solution is to compile Lua as a C++ library. Then luaL_error() will throw an exception instead of calling longjmp() and everything will be destroyed by stack unwinding.

 

« first day (1206 days earlier)      last day (3759 days later) »