« first day (1446 days earlier)      last day (3507 days later) » 

Xeo
4:00 PM
Okay, make that 70% down, I forgot I just bought some stuff for 180 bucks
 
Xeo
somehow my fixed costs are higher this month
oh
 
Hookers?
 
@Xeo lol
 
Xeo
rent was raised, and they collected some due payments wrt rent since it seems I'm using more gas than they expected
 
4:01 PM
You won't be hired as an accountant any time soon
(ever)
 
Xeo
not that I even want to
 
user3010322
@AndyProwl I get that point, and I'm constraining my constructors.
 
user3010322
Where it's falling apart is when I have multiple forwarding constructors with different constraints.
 
I was just pointing to robot's article, it seemed you were looking for it
 
user3010322
Ah.
 
user3010322
4:02 PM
Well, it wasn't that one. It's this one: flamingdangerzone.com/cxx11/2012/06/01/almost-static-if.html
 
user3010322
I'm trying to find a clue on how to do multiple variadic constructors...
 
I see
 
Xeo
@ThePhD not
Man, my mood is shitty today
and I don't even know why
 
user3010322
Guess I'll just forward to an internal set function.
 
user3010322
Christ.
 
4:06 PM
Yes?
 
@Xeo Let's see. You spend an entire day exposed to AS3, and you find that a bunch of your money is gone, then you say you don't know why you're in a bad mood? For a smart guy you seem to be missing some pretty obvious reasons. :-)
 
user3010322
@LightnessRacesinOrbit C++ sucks. Can you fix it?
 
@ThePhD They tried with the flood but it failed
 
C++ doesn't suck.
3
Yesterday I was extremely productive.
Today I'm not productive at all.
What's wrong with me
 
today was fairly productive for me
 
4:10 PM
You are always productive Tony.
 
@AlexM. Cue courier aborting because you were not there to get the package.
 
@ThePhD ouch I've only ever done one per template
I figured inflicting two on people was just evil
 
user3010322
I'll just pass it to a regular function.
 
user3010322
And let the SFINAE magically work. (??????????)
 
@xeo if your mood suck, get some coffee, it usually help.
@sofffia if u un productive, get some coffe, it usually help.
I think i have a problem..
 
4:20 PM
gods spotify is HORRENDOUS
like all of the things simply don't work
desktop has never worked well for me
on multiple machines
 
user1804599
Well, time to think up a bytecode format.
 
@LightnessRacesinOrbit mlyp
Mine randomly stops playing playlists for whatever reason
And this is the only thing I dooooo
@Sofffia You like C++
 
Music these days.. have you tried pouring some coffee in it ? it might help.
 
lol reddit wants to make their own butts
 
4:26 PM
> Led by Sam, the investors in this round have proposed to give 10% of their shares back to the community, in recognition of the central role the community plays in reddit's ongoing success.
> We are thinking about creating a cryptocurrency and making it exchangeable (backed) by those shares of reddit, and then distributing the currency to the community. The investors have explicitly agreed to this in their investment terms.
 
Oh. I thought clouds.
 
fart clouds
 
user1804599
> presentation form for vertical right white lenticular brakcet (sic)
 
user1804599
lol
 
How could they get login information, they are using great hasing algorythm, aren't they ? :)
 
Xeo
 
Professor Genki's Super Ethical Reality Climax
 
Xeo
@JerryCoffin AS3 fried my brain, halp
oi Robot
btw
what happened to that doctor visit?
 
inb4 he got lost and didn't go
 
Xeo
4:36 PM
He can only delay, he can't escape.
 
inb4 he forgot
 
Xeo
Next time I visit Berlin, I'll drag him to one if I have to
 
It was closed
Till Monday
 
lol
 
Or something
 
4:39 PM
Nov 21 '11 at 23:24, by R. Martinho Fernandes
> I visited my doctor last week, and he told me I had to stop masturbating. I asked him why, surely it’s not dangerous. He said it was distracting him.
5
top kek
 
nice one. +1
 
Holysmoke
why ?
 
I love frontend work so much I could puke right now
 
4:47 PM
Write pure CSS and clean markup and be happy for life
 
There's little CSS involved in this project right now
 
Ouch
I can fell times new roman all over my body
 
Mockups aren't done yet or something and nobody is working on the final form of the frontend
So we're just dumping shit randomly into templates to see what's going on
But forms are boring and M2M forms are painful and boring
 
About form
 
user3010322
Hm.
 
4:49 PM
I think I can get rid of my custom form template now
 
user3010322
I'll fold my Matrix class down soon.
 
Thanks to Bourbon dropping Bootstrap
 
<3 bourbon
 
Doing UIs sucks
API best UI
 
I feel u, designing api is funnier
 
user1804599
4:52 PM
 
Jesus christ
 
whow
 
1
Q: Visual Studio C++ compiler fails because include file name is too long

PatrickMy application contains multiple sub folders, that can go quite deep, e.g. library\management\security\descriptor\configurations (this is just a fictive example) If another part of my application needs an include file of this folder it writes this: #include "library\management\security\descr...

^ /cc @R.MartinhoFernandes
 
@rightfold Eww.. I was expecting a GUI skin:)
 
user1804599
5:02 PM
Hmm.
 
user1804599
Shit. I think my grammar is ambiguous.
 
Xeo
hm
already past 7
oops
 
user1804599
Oh, it isn't. Phew.
 
user1804599
let x: let y = z in f z = 42 in x / 3 is equivalent to let x: (let y = z in f z) = 42 in x / 3, not to let x: let y = z in (f z = 42) in x / 3 since that's a syntax error.
 
user1804599
@MartinJames Just imagine a Winamp skin with a picture of that guy in it.
 
user3010322
5:07 PM
std::is_convertible<float, some_aggregate_type>(); // std::true_type in MSVC
 
user3010322
Maybe I'm doing it wrong.
 
user3010322
I wonder if it needs to be in reverse order...
 
user1804599
Maybe I should go with let x be y in z instead of let x = y in z.
 
user1804599
I don't like = for both let-expressions and equality checks.
 
@rightfold I find it slightly unreadable.
 
user1804599
5:09 PM
Syntax highlighting newb.
 
I don't like it.
= is universally understood as assignment. let x be y is not.
 
user1804599
Nobody will probably ever use this language anyway. :P
 
It's the principle of least surprise or whatever.
 
0
Q: Why can't we put into initializer of T&& a variable of T& or T?

Dmitry FucintvI'm looking for a normative reference describing that fact. I'm trying the following: #include <iostream> int z = 4; int &a = z; int &&b = a; //error: rvalue reference to type 'int' //cannot bind to lvalue of type 'int' int main() { } DEMO #include <iostream> int z = 4; int &a ...

 
"universally"
 
5:10 PM
what is people's fascination with R-Value references
they have a few very specific use cases
 
user1804599
Hmm, = operator is redundant.
 
inb4 x y
 
user1804599
You can do match x with (^y => trueCase; _ => falseCase) instead of if x = y then trueCase else falseCase! :D
 
^y? Is that REGEX?
 
user1804599
No, it's a pattern that checks for equality with y.
 
5:13 PM
What would (y => trueCase ...) normally check for if not equality?
 
user1804599
As opposed to just y that creates a new variable y which shadows any other y that is in scope.
 
wat
 
Why is that a possibility?
 
user1804599
match x with (
    y => // y is now a new variable that points to the same value as x
)
 
user3010322
5:14 PM
warning C4789: buffer '' of size 4 bytes will be overrun; 4 bytes will be written starting at offset 4
 
user3010322
Hate this warning from using swallow[]
 
user3010322
There was a fix for this bullshit...
 
@R.MartinhoFernandes Yes, universally. That's why Prolog and Pascal use it that way.
 
user1804599
It is more useful in subpatterns: match x with ( {y} => /* destructure tuple, y is new variable pointing to the value of the first and only element of tuple */ ) vs match x with ( {^y} => /* destructure tuple and check if its first and only element is equal to y */ )
 
I've seen a study once where total neophytes had trouble with = as assignment because they couldn't understand, say, how x could be equal to x+1.
5
 
user3010322
5:16 PM
I should make swallow a generic function.
 
user1804599
@R.MartinhoFernandes lol
 
Newer version, with GCC and Clang playgrounds/demos. Sadly the GCC instantiation stack is incomplete, scroll down to the // XXXXX… to see where that happens in the implementations. Suggestions welcome. /cc @Rapptz @Xeo (I know you have a lot on your mind buddy)
 
@R.MartinhoFernandes I certainly found that confusing the first time I saw it.
 
user1804599
I took ^y because Elixir uses that and because it reads "the y defined somewhere above."
 
user3010322
@R.MartinhoFernandes The R programming language deprecated = in favor of => and ->
 
5:17 PM
-1
Q: Write and read a list of lists with fstream c++

user3547098I'm looking examples of how write and read with fstream a list of objects, the object has another list of objects, I mean it s a list of lists

 
@R.MartinhoFernandes woops
 
@JerryCoffin One of the banes of my existence. I use Delphi and C and C++. After a long session of PC development, I have a lot of trouble with ':=' in C statements:(
 
user1804599
@Sofffia dat do
 
I like do OK !??
 
user1804599
Good. Styx has do, too.
 
5:20 PM
But it has that ^ bullshit too :3
 
user1804599
Speaking of do. I've got some food-eating to do.
 
@MartinJames Fortunately, := is pretty unambiguous, so a global search for it shouldn't turn up too many false positives...
Using = for assignment in Delphi would be a much bigger problem.
 
@JerryCoffin Yes - I have resorted to that.
 
user1804599
I don't support reassignment!
 
Good
Is Styx functional?
Or does it suck?
 
user1804599
5:22 PM
You can implement mutable variables using threads and channels but I'm deliberately not making syntactic sugar for that.
 
Probably both.
 
user1804599
@Sofffia What robor said.
 
it functionally sucks
 
@R.MartinhoFernandes It can't be both :P
 
@rightfold When dealing with food eating, re-assignment would definitely be a bad thing.
 
5:23 PM
There are only two types of languages: those that are functional and those that suck. ;)
I'm being a fanboi, I'm sorry.
 
user1804599
// here is what I imagine hello world looking like :D
import std.io, std.encoding.ascii
let main env = // or "be" I have to decide!
    io.write env.stdout (ascii.encode "Hello, world!\n")
 
Why ascii.encode?
 
user1804599
To convert the string into a byte array.
 
get in 2001 and use utf
 
Also what's . in io, env and ascii?
 
user1804599
5:25 PM
Member access.
 
And io.write is a function?
 
user1804599
Yes.
 
@Sofffia I see your fanboi and raise you unlambda. Fold now, or forever hold your peace.
 
user1804599
It's a function that takes a stream and returns a function that takes a byte array and returns {}.
 
Interesting
But I can foresee a lot of pain with ascii.encode everytime you want to use a string.
Maybe have it default, or have unicode default and make the other explicit?
 
user1804599
5:27 PM
You don't have to use ascii.encode every time you want to use a string.
 
user1804599
Only when you want to encode it as ASCII.
 
@Sofffia You're bad at strings
 
I know :c
I read the article about UTF-8 that everybody always links though
 
@rightfold ASCII encode? Are you serious? Have I slipped into a time-warp and returned to 1981?
 
user1804599
@JerryCoffin import std.encoding.utf8 and use utf8.encode. vOv
 
5:29 PM
What about french people ?? "Bonjour lé monde!"
 
user1804599
l'ÁSCII
 
encode('ascii', 'ignore') is the only way to print anything to Windows console
Well or replace I guess
 
even in powershell ?
 
Shell is very relevant yes
 
user1804599
@Sofffia Streams stream bytes not anything else.
 
user1804599
5:31 PM
(Referring with "streams" to byte streams.)
 
Xeo
yay, home
and I forgot to turn toggl off at work
> Memory profiling [Cultures iPad] 7:58:02
Welp, guess everything else counts as overtime \o/
 
user1804599
env (the value passed to main) has fields with system resources (file system, network, system clock, etc), environment variables and command line arguments and the like. Might include the system's default encoding in there.
 
user3010322
pls do
 
@rightfold Maybe it contains too much?
> Toppest.Of.Kek
> Toppest
 
@Sofffia yes
toppest
 
it's kind of weird that callback urls HAVE to be 127.0.0.1:5000, and localhost:5000 seems to fail
 
@corvid Change your etc file and make an alias to 127.0.0.1
Something like corvid.com
Some providers require that you use a non-localhost domain name.
 
how do you test it then?
 
corvid.com would function just like localhost
which is what matters
 
I see... that's a good idea actually, thank you
 
user3010322
5:52 PM
z = std::ptrdiff_t
sz = std::ptrdiff_t
uz = std::size_t
 
user3010322
Default is sz
 
user3010322
Sounds good to me.
 
What sounds good? Terrible aliases?
 
No context needed. Just read the URL: meta.stackexchange.com/questions/240380/…
 
user1804599
@Sofffia Gotta pass them some way. vOv
 
5:54 PM
@Mysticial 404 btw
Do you have a pic?
 
> No context needed. Just read the URL
dumbass
 
@Sofffia What part of "Just read the URL" did you have trouble with?
 
> btw
It means "by the way"
 
user1804599
Ik wil geen btw betalen. :'(
 
hth
 
user1804599
5:56 PM
21% btw is veel te veel!
 
Here too
 
@Sofffia it means stfu fool
 
lol
 
user1804599
 
I love it when you are butthurt.
 
5:57 PM
what
 
user1804599
 
you are once again confusing you being a total moron for me being butthurt
and stop saying topkek rightfold
@rightfold ahaha
 
Would you like some medication for that butt?
 
user1804599
@LightnessRacesinOrbit top kek
 
Maybe some Pentacol 500?
 
5:59 PM
> Xbox 1, Xbox 360, then Xbox one is confusing as shit.
Because everybody refers to first Xbox as Xbox 1
 

« first day (1446 days earlier)      last day (3507 days later) »