« first day (941 days earlier)      last day (4004 days later) » 

Ell
10:00 PM
DejaGNU is a cool name
 
user142019
Which one?
 
@MooingDuck oh ok. basically, there is a website that i'd like to log into. I have no problem logging into it on my browser. I was hoping to do so using a proxy connection because I am not always able to have access to my internet service provider and browser. When I change the website settings to the proxy, I can get to the website, but just not do a log in . . .
 
user142019
That looks worse than the xornuked implementation of find.
 
Xeo
@CatPlusPlus I was just kinda wondering if [x + y | x <- ZipList [1,2,3], y <- ZipList [3,2,1]] yielding [4,4,4] wouldn't make sense in a way, i.e. not the cartesian product.
 
10:03 PM
You want parallel comprehension not ZipList
[x + y | x <- [1, 2, 3] | y <- [3, 2, 1]]
 
Xeo
Oh
@thecoshman: Episodes are up!
 
user1182183
@CatPlusPlus yeah I was afraid of that, one of the libraries I use has an ugly define of an function which I also wanted to create in my class... "TextDrawCreate", so I wanted to create an additional class named TextDraw and put Create in that ;F but then I was unable to access the outer class xd
 
Xeo
@CatPlusPlus Well that solves that.
 
user1182183
so I just did TDCreate
 
@Xeo There's a generalization of list comprehension, namely monad comprehension, which I suppose would do just that.
 
10:07 PM
Slowpoke
 
Hey I just woke up.
 
is Boost.Variant move-aware yet?
 
Is that the third time you're asking this?
 
um
dunno
all the previous times I changed my design instead
 
10:08 PM
@Xeo bah, will have to wait till the morning
 
Mar 31 at 14:17, by DeadMG
does boost::variant even support move semantics?
 
hmm... git is... interesting
 
Okay, second. The other time was probably about Optional :v
 
user142019
@thecoshman Git is neat.
 
Monad comprehensions are the most general form
 
Xeo
10:10 PM
@LucDanton But.. ZipList [a] isn't a monad (by default) even though [a] is, right?
 
3 mins ago, by Cat Plus Plus
Slowpoke
 
You'd still use parallel form and not ZipList
 
@rightfold it's actually rather self explanatory once you know a few basic things
 
user142019
Until you need to solve conflicts. :P
 
That's not hard
 
10:12 PM
I don't see how I can get conflicts all on my own :p
 
Merging parallel-running feature branches
 
> Hé Etienne, regarde mon gros bâton
Lots of fun at work right now.
 
3-way merges can be confusing
But 2-way ones are easy
You just run merge tool and make sure the combined code still makes sense
 
even 2-way merges can be a pain in the arse. when you have to version of a file, both under gone a lot of changes, and you are given the task of working out what changes you need from what. A tool can help resolve it, but it is not going to be able to tell you that a change from one version renders a change from the other moot
 
That's more of a workflow management issue
 
10:16 PM
true
any way, time to hit the sack
night all
 
ANyone here use this?
 
@JohanLarsson I was supposed to try it at work, but I keep forgetting
 
ok I have not tried it either
> I' m overeducated, underskilled. . . . Maybe it's the other way around. I forget. And I' m obsolete.—B. Foster
 
I don't have enough C# code
 
10:24 PM
@CatPlusPlus You should have more.
 
@JohanLarsson ahahahaha C/C++
good luck with that with C++
 
A merge tool is my smallest problem when it comes to c++ :(
 
user142019
Twitter y u OAuth.
 
I need to find a chatroom of linguists that I can ask my translation questions to :/
 
@rightfold They invented it, IIRC.
 
10:30 PM

 English Language & Usage: Multi-Layer

Not for the faint of heart or those easily triggered by Englis...
 
@JohanLarsson they'll answer my questions about Swedish, French, and Spanish?
@JohanLarsson oh, rereading my message, I was highly unclear/misleading. Sorry.
 
They are a nice skilled bunch, try imo.
They do Latin also
 
It appears IdrA is moving away from playing and into commentating. /cc @DeadMG
 
@EtiennedeMartel InControl did that pretty successfully, as have a couple others like Rotterdam. But as far as I can tell, IdrA is a whiny bitch as opposed to funny or awesome, so I doubt he can make it.
 
inControl is quite entertaining.
 
user1182183
10:47 PM
I think I'm catching up with you guys, I just used std::tuple in my code! xD
 
aw fuck
I should just stop eating food#
 
user1182183
@DeadMG what about drinking? ; >
 
user142019
Indeed, you should switch to visual drink.
 
@ThePet What about it?
 
user1182183
@DeadMG drinking is consuming too, just like food? :P
 
10:49 PM
congratulations?
 
user1182183
yeah thanks.. >_>
 
user142019
APIs are also consumed.
 
as is adult entertainment
 
user142019
I'm going to write a command-line Twitter client in Go.
 
user1182183
hm, for banning an user, I supply the reason, how long, when and by who, anything more I should put in a ban database?
 
user142019
10:51 PM
by whom*
 
@ThePet You should put yourself.
 
user1182183
@EtiennedeMartel yeah I think that's a bit useless for a game server I create :P
 
user142019
@ThePet depends on the application.
 
user142019
If we don't know the application we can't give any suggestions.
 
@rightfold Is that before or after everything else you're going to write
 
user142019
10:52 PM
Wollah ik zweer.
 
user1182183
@rightfold shooting/racing game
 
user142019
@DeadMG during
 
I need a good book
 
user1182183
@Crowz I need sex...
 
user142019
Psychosocial is one nice song.
 
10:53 PM
@ThePet I can provide that for a good book in exchange...
 
user1182183
@Crowz by providing a desparate sexy girl? :P
 
user142019
Ga naar de Wallen jij.
 
user142019
Sexy girls zat.
 
@ThePet "girl"? No...
 
user1182183
@rightfold meh te ver van eindhoven
 
user1182183
10:54 PM
@Crowz Bah xD
 
user142019
Where in Eindhoven do you live?
 
user1182183
@rightfold Near* Eindhoven, not in Eindhoven :P
 
user142019
Gestel? ( ͡° ͜ʖ ͡°)
 
user142019
Oh wait nvm that is in Eindhoven. :v
 
crap, why am I still awake
 
user142019
10:55 PM
Because you're not yet asleep.
 
user1182183
51.472669, 5.62383 good enough? :P
 
user142019
Geldrop?
 
user142019
Oh Helmond.
 
Ell
I can't understand any .language without value semantics :/
 
user1182183
ye
 
Ell
10:56 PM
Well. Maybe.
 
user142019
@Ell You're a noob.
 
Ell
Help me then.
 
user142019
Which language do you have trouble with?
 
user1182183
@Ell boost::any voila
 
Ell
In ruby if I go h= {}; h[[1]] = 2;
 
user142019
10:57 PM
boost::any still has value semantics.
 
user1182183
oh
 
user1182183
well
 
Ell
h[[1]] equals 2 but h.keys.include? ([1]) is false
 
user1182183
he said he can't understand a language without value semantics.. and boost::any IS an good exampel of value semantics, right?
 
Ell
Why? To me it seems subscript uses value semantics but .include? Doeasnt
 
user142019
10:59 PM
@Ell h = {} makes h a reference to a new empty hash. h[[1]] = 2 assigns a reference to 2 to the key [1] of the hash. The key is a reference to a list which contains a reference to 1.
 
Ell
I don't even know if I k ow what value semantics are now
Right
 
user142019
@Ell I think that's a bug then.
 
user142019
Unless arrays always compare false in Ruby.
 
Ell
Oh >.< what is the expected behaviour?
Also I'm running this on android, I think its jruby
 
user142019
Also, stop talking bullshit.
 
user142019
11:00 PM
irb(main):001:0> h = {}
=> {}
irb(main):002:0> h[[1]] = 2
=> 2
irb(main):003:0> h.keys.include? [1]
=> true
 
user1182183
I seriously like the combination of boost::any and Concurrency::concurrent_queue
 
Ell
Let's blame Java then
 
@Ell value semantics are confusing, because 90% of the time people mean what C++ has, despite the fact that C++ doesn't actually have true value semantics.
 
user142019
Oh JRuby I don't know about JRuby. Maybe it has bugged hash tables.
 
user1182183
so easy to transport data between threads
 
11:01 PM
@MooingDuck What's "true value semantics"
 
user142019
@Ell When anything goes wrong, blame Java.
 
Ell
Ermahgord I'm so retarded I mistyped 3 times I a row
Programming cannot be done on a tablet!
 
user142019
Fuck.
 
user142019
I didn't take a shower and I have to go to school early tomorrow.
 
Oh no
 
user142019
11:03 PM
Oh well. Being filthy one day can't be bad.
 
eh
 
@Ell I checked my sourced, they lied to me
 
what do you care about your classmates' opinion of you?
 
user142019
Nothing, but I don't like being filthy.
 
@CatPlusPlus after following the "source" links, I got to this page :( That's hardly the most credible place. Nevermind me.
 
user142019
11:04 PM
I usually take a shower each day including Fridays and Saturdays.
 
user1182183
"------------ user.hxx"" ------------"
user.hxx:110:12: error: unable to map C++ type '::__gnu_cxx::new_allocator< ::st
d::tuple< ::std::basic_string< char, ::std::char_traits< char >, ::std::allocato
r< char > >, long long unsigned int, ::std::basic_string< char, ::std::char_trai
ts< char >, ::std::allocator< char > >, long long unsigned int > >::value_type'
used in data member 'bans_' to a MySQL database type
user.hxx:110:12: info: use '#pragma db value_type' to specify the database type
"--------------------------------"
 
user1182183
fuck :/
 
@CatPlusPlus Same but with less aliasing I assume :v
 
Ell
I care about opin ions of me
 
user1182183
and by this, my tuple career ends.
 
11:05 PM
I.e. less const& nonsense.
 
user1182183
now what
 
Ell
People won't talk to me if I stink. And feeling sweaty is gross and uncomfortable
 
someone made a marijuana area 51 0_0
 
user142019
Even if I walk with my tongue out of my mouth all day tomorrow people will have forgotten it when they're back home so whatever.
 
user142019
@Ell wear deodorant you scrub.
 
user142019
11:06 PM
I generally avoid people who stink.
 
user142019
I think it's natural.
 
Ell
I'm saying, that's why I shower every morning
Anyway night else this infection is going to get worse
 
user142019
What infection? :v
 
you shouldn't shower every morning, it damages the skin
 
user142019
I only really shower each day because my hair is long as fuck and else it gets fat and bad and it feels horrible.
 
user142019
11:09 PM
I should go bald.
 
user142019
Long hair is getting boring and annoying.
 
@Rapptz Also HEY MUSIC WITHOUT SINGING IS STILL A SONG. D:<
 
user142019
Especially in the wind and while combing it.
 
Not by definition.
 
@rightfold Definitely a hint that it's time to cut it.
 
11:10 PM
In music, a song is a composition for voice or voices, performed by singing. A choral or vocal song may be accompanied by musical instruments, or it may be unaccompanied, as in the case of a cappella songs. The lyrics (words) of songs are typically of a poetic, rhyming nature, though they may be religious verses or free prose. A song may be for a solo singer, a duet, trio, or larger ensemble involving more voices. Songs with more than one voice to a part are considered choral works. Songs can be broadly divided into many different forms, depending on the criteria used. One division is bet...
 
Well, the definition can go fuck itself.
 
Very first sentence.
 
user142019
@DeadMG I'm going to go completely bald and use wax to give it a nice shiny touch.
 
@Rapptz My instruments are my voices.
So, there. :P
 
No.
 
11:12 PM
Yes.
 
user142019
My hair is about 30cm right now.
 
user142019
Meh.
 
"

TIL that, as part of cost-cutting measures due to the Greek debt crisis, the government's largest healthcare provider elected to amputate limbs instead of provide special footwear to diabetes patients - because it was cheaper." - polydorr
 
@rightfold my beard is two weeks+ now, looks awful :D
 
user142019
I should shave my beard.
 
11:16 PM
@Xeo does chain's type change when you change one of the functors / functions in the middle of its chain?
 
I'll ask gf for the routine three point shave tomorrow
@rightfold yeah bald is good for coding, minimal maintenance, also optimal cooling
 
@JohanLarsson I like having hair.
Except on my face.
But head hair?
That shit is awesome.
 
lol I'm not even sure I miss it
 
user142019
My hair has no hair, therefore it's bald.
 
When someone writes something like
h of g of x, they're referring to h(g(x)) right ?
 
user142019
11:21 PM
Depends on the context.
 
h, g are functions
Math-y context.
 
@Ell I will if someone can provide a compelling use case.
 
inb4 'how do i for(int i = 0; i < t.size(); ++i) hurr(t[i]);'
 
@LucDanton Yeah, lol
 
user142019
11:24 PM
@eisbaw is bad.
 
@rightfold nooo
 
I'd put it in there for completion's sake
 
Put what where?
 
Subscript for strings.
 
Eh.
Subscripts are deceptive because they usually support the notion of random access ( O(1) random access, that is).
 
user142019
11:28 PM
IKEA is on Fåcebøok.
 
I bet it will never be truly useful. It runs in linear time, and you can write better code by doing it right (i.e. keep the iterators that you care about). If I can force you to write good code, I will :P
 
@R.MartinhoFernandes Bastard!
 
user142019
Speaking of iterators, I need to put some kind of iteration in Ø.
 
If I want to damn well shoot myself in the foot, you shouldn't stop me!
 
@ThePhD std::string::operator[] does run on constant time though
 
11:30 PM
@Rapptz Too bad it's not giving you a character, but a single code unit.
Which may or may not be a complete character
 
std::string is also bad
 
or a complete written character
 
You can always do *std::next(s.begin(), i) if you really want to suck.
 
I stopped caring what you guys thought was bad 6 months ago. :|
2
 
Bloo bloo you so negative
 
11:31 PM
Well, it's up to you. I don't care one way or another.
 
@Rapptz Bad choice.
 
It keeps the noise out.
There's one thing with being constructively negative and being negative just for the sake of it anyway.
Though the former tends to lead to some idiosyncrasies and meticulous details sometimes.
 
Who's negative just for the sake of it?
 
@Rapptz You got that wrong.
 
Eh?
 
11:33 PM
If there is an increase of CatPlusPlus's 'this is wrong' messages then I take it it's because there's an increase of bad ideas in this chat.
Don't shoot the messenger.
 
I mention certain things and out of nowhere the reply is "x is bad", it's irrelevant. Why do I care? If it's that bad then I'm putting up with it.
 
@Rapptz Not at all the same thing, though. FWIW, you can view a std::string from an instane of ogonek::text if you really want that kind of low-level manipulation. Most of the time you don't, though.
 
It's not irrelevant :v
 
We can go into why std::string is bad, even though we did that countless times before
The point is that "std::string does it" is not an indicator of what you should do
 
It is. Why do I care if std::string is bad when all I'm mentioning is that std::string::operator[] runs on constant time?
It was a reply to ThePhD
 
11:36 PM
In context of providing [] on Robot's actual string class
 
Agreed.
 
To which std::string is only tangentially related and mostly by name
 
He had already mentioned it runs on linear time, me bring up constant time was a reply to ThePhD's assertion that subscript is deceptive
 
So if anyone is making irrelevant remarks, it's you
 
No.
 
It's still in the context of text and std::string doing whatever is not relevant
 
It was a reply to one specific person.
 
std::string provides [] in constant time, yes, but it doesn't fit Robot's class because doing [] in O(1) with unicode - and having it be correct - is just not possible, unless it explicitly returns code points, at which point it allows lossy messiness of the meticulous unicode algorithms in the first place.
 
Jesus
 
I did not say "Hey Martinho, add operator[] because it's in std::string"
 
11:38 PM
^ That's what I was getting at.
 
@ThePhD You're wrong. You can return codepoints in O(1) even with variable-length storage.
 
Throwing you into the pit of success is part of the idea behind many of my decisions to cut stuff in the API.
 
@R.MartinhoFernandes This doesn't work
 
@CatPlusPlus Yes, people break bones when they hit the letters at the bottom.
 
@DeadMG >_>
 
11:39 PM
@R.MartinhoFernandes I mean the image
 
s/O(1)/"My Lower Bound Is Big Enough O(1)"
 
It does not load
 
Better?
 
@ThePhD Er, that would have to be Upper bound.
and the entire definition of O(1) is "Constant upper bound"
not to mention that you could have an arbitrarily low O(1) with this structure.
 
11:40 PM
And, erm, the bound is not that big.
 
@R.MartinhoFernandes Your linked URL is weird
> http://1.2.3.10/bmi/csharpindepth.com/Files/PitOfSuccessAfter.png
 
Woah, 1.2.3.?
That is weird.
 
You behind an internal proxy or something?
 
user142019
Is sulfur toxic?
 
Not that I know of.
 
11:41 PM
Robot's security system has been hijacked.
 
I copied it from the page source..
 
@DeadMG Well, it'll still take time.
 
So, if there's something in the way, it is editing the HTTP stream...
 
I meant immediate random access.
 
@ThePhD So does indexing into an array.
 
user142019
11:42 PM
The link renders fine here.
 
:c
Fine.
 
@R.MartinhoFernandes You have something called bmi.js
 
@ThePhD That means nothing :S
What kind of dream are you on?
 
The source doesn't mention that 1.2.3.10 thing :v:
 
11:42 PM
@R.MartinhoFernandes The zany kind.
 
user142019
@ThePhD wat
 
user142019
It links to msmvps.com/blogs/jon_skeet/archive/2010/09/02/presentation-preparation.aspx.
 
@rightfold Not by itself afair
 
user142019
With http://.
 
user142019
@CatPlusPlus neat.
 
11:43 PM
@CatPlusPlus That's unsettling.
 
@rightfold Not that link
 
Lemme try this from the outside world.
 
You're on mobile right?
 
user142019
Oh the image.
 
user142019
11:44 PM
I was browsing /hc/ when that happened.
 
Google "bmi.js"
 
Hmm, yeah, from the outside I get a proper link.
 
user142019
Body mass index.
 
man
I need to stop eating, full stop
 
11:46 PM
I forgot I wanted to try System.Reflection.Emit to generate API proxies
Eating is generally good for you
You kinda die if you stop
 
Quick non-constructive question: Why does C++ have two-phase name lookup for templates? I mean, why is it desirable to have this mechanism in the language rather than always looking up names at instantiation time (VC style)?
 
It's like when people ask me why I'm going to bed at 2 in the afternoon. If you don't sleep, you die :v
 
user142019
@CatPlusPlus IV therapy
 
@AndyProwl Because fail early is a good thing?
 
@LucDanton Agreed.
 
11:47 PM
@AndyProwl "Why would you find errors earlier when you could find them later, if ever?".
 
@R.MartinhoFernandes Fair enough, thank you
@DeadMG I see
 
@AndyProwl because if you don't instantiate a function it can have major errors that go overlooked.
 
Thank you
 
Some things end up actually working because of the broken 2-phase lookup in VC, but I don't think that's worth it.
 
Well if you don't instantiate a function then errors in it don't matter
 
11:48 PM
@AndyProwl I remember discovering that we had a template function that would have tried to take the value member of an int had the function ever actually been used. It had been in the code for years.
 
Technically
 
@CatPlusPlus lol
 
Makes sense
Thank you guys
 
@CatPlusPlus it does if the function is a public API
 
Andy will now use this newfound knowledge to repwhore. :D
 
11:49 PM
but yes
 
user142019
48 secs ago, by Cat Plus Plus
Technically
 
@ThePhD lol, of course
 
make( 1, to, 20 ) Gosh, WTF is this.
 
user142019
"English"
 
@R.MartinhoFernandes Range creation.
 
11:49 PM
@R.MartinhoFernandes ThePhD of course
 
You can also do make( 1, 20 )
If you specify three numbers, it performs patterning
 
Clearly it should be #define to ,to_t{}, and make(1 to 20)
 
@R.MartinhoFernandes #define to spanner_type()?
 
user142019
@ThePhD There should be one and only one way to do it.
 
@rightfold that's why C++ doesn't allow overloads
 
11:50 PM
(Disclaimer: I'm not serious don't do this)
 
user142019
ThePhD really is ThePHP.
5
 
@rightfold There is no 1 way to do this.
 
user142019
There is if you remove the bad to way to do it.
 
Haskell provides [1..20] and also [1,2..20]
 
user142019
Those are different things and they do different things.
 
11:51 PM
I emulated both.
@rightfold And make does different things
make( 1, 2, until, 20 )
 
user142019
What's the difference between make(1, 20) and make(1, to, 20)?
 
@rightfold None, it's an assumption based on 2 arguments, but you can be explicit if you like.
 
user142019
> None
 
user142019
Oh hey.
 
make(1, 2, 20) is the same as make(1, 2, until, 20). Just like make(1, 20) is the same as make(1, to, 20).
 
11:53 PM
Also your spaces inside parentheses are bothering me greatly
 
I don't get nice syntax sugar in C++. So I work with overloads
 
user142019
That seems inconsistent.
 
user142019
Is there a difference between to and until?
 
the identifier used
 
11:53 PM
Wait, there's an until.
 
@ThePhD why not?
 
You only need make(from, to, [step])
 
user142019
If there's a difference between to and until WRT inclusion of the last parameter, don't do make(1, 2, 20) == make(1, 2, until, 20) and make(1, 20) == make(1, to, 20) ffs.
 
@ThePhD what's the return type? What code is this?
 
No need for clever syntax-like constructs
 
11:54 PM
today I came up with: namespace restriction constraint
 
user142019
@MooingDuck inb4 std::vector<int>.
 
I think he wanted to emulate [1,4..30]
 
@rightfold I am afraid that fails to explain the difference.
 
user142019
I should get kebab right now.
 
@rightfold What's the difference between make(1, until, 20) and make(1, to, 20)?
 
user142019
11:55 PM
But that's 14km away.
 
user142019
@R.MartinhoFernandes That's what I'm asking.
 
Oh, that's not ThePhD, and I read it wrong.
 
user142019
I take that as an offense.
 
user142019
( ͡° ͜ʖ ͡°)
 
Haskell has 4 functions for this but that doesn't mean it's strictly necessary
 
11:56 PM
Well, until and to have different types, so...
 
@MooingDuck set_build<T>, which at the moment is just a wrapper around std::vector<T> until I write more sophisticated ranges.
I plan on making trivial_range for numerics, then a more robust range later for multi-ranges and stuff.
 
And unless you have infinite ranges then 2 of them are gone anyway
 
@ThePhD There's one in boost.
 
@R.MartinhoFernandes Does coliru have boost?
 
user142019
> coliru
 
11:57 PM
Serious question. If so, I could probably use it while I'm writing code in there.
 
user142019
dat formåtting
 
@ThePhD Yes.
 
Guess I need to learn how to use Boost.Range then.
 
@ThePhD yes
 

« first day (941 days earlier)      last day (4004 days later) »