« first day (951 days earlier)      last day (4000 days later) » 

4:21 AM
has anyone figured out how facebook's new friend sorting algorithm works?
 
@Crowz Never have figured out how Facebook works.
:P
 
you post stupid things and people are like "awh, why am I wasting my time here?"
 
@Crowz And being friends with someone with just a click of a button. sigh
Facebook walls (not sure if that's the correct term) has uterlly become subreddits.
 
I dunno, they seem to sort friends differently now and it's weird
 
@MarkGarcia As usual, everybody's converging on the same basic UI. As is also usual, it's nearly the worst possible choice for nearly all the purposes to which it's being put.
 
4:32 AM
@JerryCoffin I don't know. I have given up hope for Facebook a long time ago. Since then I became allergic with social networking sites.
 
@MarkGarcia ...yet you're posting here! :-)
 
yiz
@JerryCoffin same with everything else for human
herd of humans
 
@JerryCoffin This room is different. It's a chaotic, random, whatever-you-call-this place. And I like it. :)
 
yiz
the toughest geniuses are always the outcasts
 
What I really don't like with facebook is that it is just pure vanity.
 
4:34 AM
humans are silly creatures
is it possible to be addicted to escapism?
 
yiz
most people already are I think
 
@Crowz Yes. In extreme cases it's called schizophrenia.
 
People making friends for themselves. People always thinking of showing something to uplift themselves. So selfish. So bad.
 
yiz
that's why fantasy movies can gross so well even if they are poorly produced
@MarkGarcia the problem with that is ... if you look through their thin veils, most if not all people are pathetic and it's shown on facebook
that's why I don't like to use social networks
most people see what's there, but they also tell you what is NOT there
 
@yiz That's exactly the same reason why I don't use Facebook.
 
4:38 AM
schizophrenia is sounds wearied
 
@yiz I'm not pathetic ._.
caw
 
IMO, the (or one, anyway) big problem with Facebook is roughly the same as the problem that arose during the CB Radio craze in the early '80s. In many cases, all people really have in common is the technology they're using to communicate, and possibly some previous exposure to each other. Once they get past simply learning to use the medium, they have too little in common to carry on meaningful conversation.
 
yiz
Like one of my friend likes to show people how she works 12 hours a day. Some people probably would be thinking "woah what a idiot, works such a long hours, yet still not rich"
@Crowz you are in C++ lounge & you suck at C++
 
@yiz it's okay, everyone's an idiot in one way or another
 
@JerryCoffin The personal touch...
 
yiz
4:42 AM
Some of my pretty friends like to show off pictures of themselves having expensive dinners hang around with friends. Some people would be like "woah what's wrong with you, still single"
@Crowz that's what I said we are ALL pathetic in someways
 
@yiz I have come to peace with that fact, thus I am okay with social networks
 
yiz
DO whatever you like, you fit in with the crowd
 
ily bby <3
 
@Crowz what is bby ?
 
@NullPoiиteя baby
i luv u 5eva bby
 
4:49 AM
:D
 
Sticks and stones may break my bones, but words can make me think I deserved it.
4
 
I'm lame you guys '_'
 
posted on May 24, 2013

Don't remember pointers, references, or iterators to vector elements until
 you're done putting new elements in the vector.

 
LOL above(^^^) conversation
 
5:02 AM
@EtiennedeMartel hahahaha
 
yiz
5:17 AM
Think the positive side, at least your teeth are intact
because you did not complain about losing them
would be weird for a 26 year old mainly indoor software developer to be toothless
 
falling is not good
have some love <3
how was work?
cool
what do you do?
oh you write Java
:(
 
yiz
@ScottW meow ... what did the cat do? :p
 
oh right
so have you met Rapptz IRL then?
yea
oh nice
sounds like fun
ah ok
yea, I think most codebases are bad
not to sound like Cat, but I have yet to see one that's not bad
my first job had VC6.0 code
urgh
makes me sick just thinking about it
eeeek
oh gawd
I had Sourcesafe
please kill me
and they coded in this language called Centura
it god fucking fugly
yea, even finding stuff on Google about it is hard
 
Borland, Borkland, hehe
I'm cool.
My lack of sleep shall be compensated by being awesome.
 
yiz
ClearCase ... Sourcesafe ... svn, don't you miss cvs baby :p
 
5:32 AM
typedef int activate_deferred_events;
^ From boost MSM documentation.
SFINAE :D
 
yiz
boredland
 
eet het op
I really enjoyed the anime Problem Children are Coming from Another World, Aren't They?
, also known as Mondaiji (問題児), is a Japanese light novel series written by Tarō Tatsunoko and illustrated by Yū Amano. An anime adaptation by Diomedea aired from January 11, 2013 to March 15, 2013. Plot Three children, Sakamaki Izayoi, Kudō Asuka, and Kasukabe Yō, live dull lives because they possess unmatched psychic powers. One day, they receive an envelope that transports them to Little Garden, a place of supernatural powers called "Gifts." There, the residents use Gifts to play high-stakes games known as Gift Games in order to earn wealth and prestige for their communities. So...
It was too short though :(
 
sounds weird
 
@ScottW :(
D:
 
yiz
bye bye doggy
hope your hand heal soon
 
5:44 AM
@ScottW night!
 
yiz
6:00 AM
C++ => cxx (ROTATING +)
Lounge <CXX>!
I have at least 10 accounts with 4 banks, 9 of them have less than $100 on them
4 of which are mortgages (variable fixed etc) which are negatives
same with the credit card
a few I just have them around & I don't care
 
@yiz hiiiii
 
yiz
@NipunGogia Oh hey :)
 
@yiz howz u doing ???
 
user142019
Why does Python live on land? Because it is above C level!
 
terrible
 
yiz
6:10 AM
@NipunGogia I need to get my car insurance and dental bill sorted with my health insurer
bbl
 
user142019
@EtiennedeMartel I thought I was 17 to you.
 
@yiz so u r going for now
 
user142019
Can you please speak English in Lounge<C++>?
 
boost date_time is giving multiple redefinition error in linker
boost_date_time-vc100-mt-gd-1_43.lib(boost_date_time-vc100-mt-gd-1_43.dll):-1: error: LNK2005: "public: __thiscall boost::gregorian::greg_month::greg_month(unsigned short)" (??0greg_month@gregorian@boost@@QAE@G@Z) already defined in weeklytablemodel.obj
what can be the reason ?
even when I am not using greg_month
I just called boost::posix_time::seconds
or whatever I call in date_time gives this this
 
Xeo
6:40 AM
> Just throwing an idea: What if such a unique_ptr could be moved to/from a vector/dynarray?
Gawd, can we please just burn dynarray?
 
I tried my best
 
user142019
> I use dynarray!
 
I was the only guy who voted strongly against in LEWG :(
 
user142019
Nobody, ever.
 
user142019
Coca-Cola smells nice.
 
6:53 AM
Does it?
I would think it might sear your nostril hairs when you smell it.
With all that fizz and junk.
 
7:18 AM
hmmm
t->lvalue or t->lvalue()?
 
user142019
@DeadMG What would it do?
 
it produces a type that is an lvalue reference to T.
I also added auto to refer to the decayed type of an argument
f(auto->lvalue arg) {
    std.cout << "I'm an lvalue!\n";
}
f(auto->rvalue arg) {
    std.cout << "I'm an rvalue!\n";
}
 
user142019
OIC.
 
Xeo
@DeadMG That just looks strange
IMO
 
@Xeo It kinda does. But I already used t.x syntax for static member lookup
 
Xeo
7:26 AM
Why not... symbols?
 
and couldn't really come up with anything better
 
user142019
Sigils!
 
@Xeo Er, because of the whole "horribly context-sensitive" thing?
 
Xeo
@DeadMG Choose ones that aren't!
 
the only ones that aren't would look even worse
not to mention that frankly, it's a lot easier to google for "lvalue in Wide" than "some_random_type& in Wide"
besides
 
Xeo
7:28 AM
I think it's just too verbose.
 
I have other members I need to have
 
o.0
What is that syntax.
 
like emplace (placement new)
and decay.
 
Wait. Why not var.lvalue ?
 
@ThePhD class X { static int lvalue; };.
 
7:28 AM
lvalue, rvalue, etc. etc. should be keywords and unusuable in any part of anybody's code.
That solves any ambiguities and makes it easy on you.
This is what reserved keywords are for. :D
 
Xeo
I don't think you understand what's going on. :P
 
Oh.
Well I'll shut up then. :D
 
well, even if I wanted to, which I don't, I can't make that decision since people in C++ will have used those.
and I really don't want to anyway because keywords suck.
in fact, I made auto a keyword, and for absolutely no benefit to anybody (well... I guess that actually, naming your function argument "auto" would be fucking dumb)
 
Xeo
So you make every operation on a type a member of that type?
 
@Xeo Only the primitive ones
 
Xeo
7:31 AM
hmm
Why not normal meta-functions?
 
you can't implement them as meta-functions in the general case
 
Xeo
@DeadMG How would you make any kind of type / variable behave like auto?
@DeadMG eh?
 
@Xeo I don't, I just have a special case for if you try to look up "auto" in that specific context.
@Xeo Well, how would you implement a C++ metafunction to declare lvalues if T& did not exist?
for lvalues, you could have decltype(*(T*)nullptr), but rvalues is less obvious.
and secondly
there are lots of other members that I want to implement
for example, size, alignment, static reflection...
using a crappy sigil isn't gonna scale
 
Xeo
@DeadMG Who says you can't do it using compiler magic for those specific meta-functions? I'm just wondering about the seeming inconsistency with t->lvalue and somefun!(t).
 
D-D-D-Drive-by!
 
7:35 AM
-2
Q: How to create a buzzer button in android with an illusion of going up and down?

vamsiI want to know how to create a buzzer type of button in Android.Means it should create an illusion of going down when pressed , how to implement it ?

downvote him out of the chat
Cleanup on aisle me.
 
Xeo
Aww, too slow
 
the funny thing is
that's a terrible question anyway
 
fuck off @DeadMG
 
@Xeo Well, I did have a compiler-magic metafunction for decltype.
but I don't see the inconsistency in having two different syntaxes when one of them is a fundamental primitive operation.
... and every member you access is a pre-defined member of that type, whereas somefun(t) is some external function.
it's exactly how it would behave if you had a type type { ... }; as it were.
 
Xeo
hm
 
7:39 AM
@ThePhD The fun part is that I got to downvote him twice, once on Mathematics on his linked question, and here.
@Xeo Besides, if ya don't like it, there's nothing stopping you from
lvalue(t) {
    return t->lvalue;
}
rvalue(t) {
    return t->rvalue;
}
f(lvalue(auto) arg) {
    std.cout << "I'm an lvalue!\n";
}
f(rvalue(auto) arg) {
    std.cout << "I'm an rvalue!\n";
}
 
Xeo
Guessed as much
 
in fact
you could even do something pretty stupid like f(Optional!(auto) arg).
 
Xeo
Anyways, time to get to work
 
bb
 
I'm trying to write what I want my scripting language to look like before I start making it.
I think it's going OK so far.
I wish I had some more artistic skill, though. ._.
 
user142019
7:50 AM
Just use FiM++.
 
Pawnies? :P
 
hi
 
hi
 
Hey
 
yiz
Pawnie pie
 
7:56 AM
HI Ladies&Gents!
 
user142019
google.com/search?hl=en&q=kerning <— oh this easter egg is so awesome
 
@rightfold that is evil....
 
user142019
Not to mention this one.
 
that one is old. I like this better though.
 
user142019
Lulz.
 
8:04 AM
the kerning one is great though
 
user142019
There's also "keming".
 
Xeo
@rightfold Nothing's happening here. :(
 
user142019
@Xeo well
 
user142019
em {
    letter-spacing: 1px;
}
 
Xeo
lol
 
user142019
8:12 AM
If you search "keming" it's -1px.
 
Xeo
looks normal for me :(
 
@Xeo xkcd.com/1015 might be relevant for you? :)
 
Xeo
@jalf I know what kerning is, but Google doesn't display any differently :/
 
ah
your browser sucks then :D
 
user142019
@jalf Tooltip is genius.
 
8:14 AM
speaking of sucky browsers, could anyone take IE10 out the back and shoot it?
 
user142019
s/10//
 
@rightfold nah, for what I'm working on atm, I actually don't have a problem with older versions of IE
but only because in older versions we use ChromeFrame, so IE basically becomes just a shell with an embedded Chrome in it :)
 
user142019
IE should ship with that by default.
 
lol
 
8:30 AM
@LightnessRacesinOrbit That's disorienting as fuck.
 
@jalf Why not use ChromeFrame in the newer versions too if you're struggling?
 
@DeadMG because it is supposed to work out of the box wherever possible. Forcing customers to install a plugin kind of defeats the point of us making a "zero-install" client running in the browser :)
 
@rightfold keming. oh god.
 
we do it in older IE's because they just plain don't support the features we need. But IE10 technically supports what we need
(ie. canvas and websockets)
 
hmm
 
8:36 AM
the rest is just workign around quirks
 
you know I was thinking
 
impossible!
 
about "out" parameters in functions and how they suck
and how much optional is cool, but...
what if I want an error message or code but I don't want exceptions?
 
then fuck you
 
I am picturing something like value_or_error
 
8:39 AM
who wants to have shitty errors codes anyway
 
Xeo
@BartekBanachewicz Expected<T>? :P
 
@Xeo should I know that?
 
their only value is binary compatibility, and even then, some platforms have a perfectly well-defined ABI like Itanium ABI, and even if you don't have binary compatibility, then just use error codes under the hood and throw exceptions on the user-facing code.
 
Xeo
@DeadMG on the last part: std::system_error
 
I was keeping in mind "Do not use exceptions for control flow"
 
8:41 AM
if the function could not produce an expected result, throw an exception, that's what they're for.
@Xeo I have no idea what that is.
 
Xeo
@DeadMG Depends on whether it's really exceptional. IMO
 
@DeadMG what if value or explanation of why value isn't there are 50% probable?
 
Xeo
@BartekBanachewicz Yes
 
@BartekBanachewicz Who cares? If the expected value is not there, throw an exception.
@Xeo No. It's about the control flow of the caller.
if you use a return code, people will ignore it.
 
@Xeo too bad it's ungoogle'able
 
8:43 AM
the only time that return codes are viable is when it's safe to ignore them - i.e., not for actual errors.
 
Xeo
I wouldn't throw an exception if there's a good chance the value can't be produced under normal circumstances.
@BartekBanachewicz "C++ expected<T>" yields the right results
 
@DeadMG you can't ignore error code if it appears in place of value
 
@Xeo okay. processing
 
@BartekBanachewicz Yes, you can. You can just assume that it is the correct value, for example, without actually checking.
 
8:44 AM
@DeadMG then my hypothetical class would throw or break in some other way
 
Xeo
@DeadMG Do you remember Expected<T>? With that, you can't.
It's a bit like std::future - call .get, and you either get the value, or an exception - but you also have the ability to check beforehand whether there's an exception inside.
 
well, looking at this it seems my idea is exactly the same as Alexandrescu @Xeo
> idea of using a composite structure of a return value and an exception
 
@Xeo So basically, it's exceptions, because if you assume that the value is there and it isn't, you get an exception.
 
@DeadMG but you can check with normal flow if it is there
 
you could do, except doing that is completely unviable
 
8:47 AM
not if that (throw) happens often
 
no, it's if that happens often that's the problem
what are you gonna do, copy and paste the same error handling code into every call site?
 
I think it can be extended somehow
I mean Haskell can cope with it's Maybe just fine
I am not sure if Expected<T> is really similar to a proper Monad
 
I'm not sure if Haskell sees enough production use to justify saying "Haskell does it, therefore it's good"- even if that were a valid argument in the first place (which it isn't)
 
Xeo
@BartekBanachewicz Psst: Exception
Also, Either
 
@Xeo I think the only thing I can understand there is a) Haskell has exceptions b) "These are situation which occur relatively seldom and thus their immediate handling would clutter the code which should describe the regular processing."
 
8:51 AM
Expected<T> effectively devolves to CPS anyway, but involves more boilerplate
 
Xeo
@BartekBanachewicz I was more hinting at the monad instance
 
@Xeo so it basically returns an Exception instead? You have to forgive me my ignorance.
oh hm
> The great thing about Haskell is that it is not necessary to hard-wire the exception handling into the language.
main :: IO ()
main =
   do result <- runExceptionalT (readText "test")
      case result of
         Exception e -> putStrLn ("When reading file 'test' we encountered exception " ++ show e)
         Success x -> putStrLn ("Content of the file 'test'\n" ++ x)
that looks nice.
and that's the boilerplate Puppy was referring to, I guess
 
what about returning an "error instance" (similar to NaN or NULL) which is a clone of static member prototype of the result type class?
 
that's an incredibly bad idea
 
But if you dont want to throw...
 
Xeo
8:56 AM
@BartekBanachewicz Either:
> The Either type is sometimes used to represent a value which is either correct or an error; by convention, the Left constructor is used to hold an error value and the Right constructor is used to hold a correct value (mnemonic: "right" also means "correct").
Which is also close to Expected<T>
Just more general
 
@Solkar That doesn't look better than Expected<T>
@Xeo Well my original idea also in theory should allow any type to be returned as an Error
Well Either<T,U> is implementable, no?
 
Xeo
variant<T, U>
Just without the fancy monad-y stuff
 

« first day (951 days earlier)      last day (4000 days later) »