« first day (759 days earlier)      last day (4189 days later) » 

10:00 PM
@Pubby Depends, were you answering or asking? :P
 
I think it only counts answers
 
@Pubby Mwahaha, top 10% for me.
(this baby stackoverflow.com/questions/8839943/… here accounts for almost all of it, I think)
 
@R.MartinhoFernandes *pop!*
 
@R.MartinhoFernandes nice drawings, +1
 
10:06 PM
I think I should get C++11 badge today
 
@Pubby take it
 
@bamboon I actually had over 100 but it takes a few hours to update
 
Only those with the freshest, most succulent livers shall be saved.
 
@Pubby oh, then I will retract my upvote ;)
 
Oh, nevermind. Actually it was at 99!!!
@Crowz The livest livers shall live
 
10:09 PM
Humanity's savior, raptor jesus
 
I'm making a simple fileserver to learn boost::asio and boost::filesystem --> Nerd level >9000
 
did that too
It's a very good exercise
You know what would be cool ? A FTP server which mirrors another automatically and stores the file locally
Like for package repos
I don't know if that exists yet
 
@kbok dropbox
 
What??
I think you misunderstood
 
@kbok it's not an FTP server per se, but seems to meet all your criteria
 
10:16 PM
I want a local cache of my distribution's package repository so that once I download and install a package it can be served quickly to my other computers
 
@kbok see, that's a little more specific than you stated before.
 
i.e. I want my computers to share their /var/cache/packages
 
@kbok A package manager should actually have that functionality.
 
user1182183
Ok I can blame Cat for my 50% bad day? ; p
 
Ell
why does "ImageMagick" make me thing of horrible code? I've never even used it
 
10:18 PM
@kbok Can't you simply mount them all on the same network share?
Hmm, though you may run into conflicts.
 
user1182183
mhm in windows it's really easy to do network sharing of files etc, so in linux it should be easier?
 
@R.MartinhoFernandes I could do that, but that's slighly more involved than just starting some service and adding it in the mirror list
 
user1182183
@kbok isn't an ftp/http server an option?
 
@GamErix it has to be a ftp or http server
 
user1182183
@kbok then I see no problem ;D
 
10:20 PM
I declare you all to be ugly.
 
user1182183
@DeadMG nop
 
@GamErix Windows is easier to do anything.
 
user1182183
disagree
 
@GamErix I don't see what you're not seeing ?
 
10:20 PM
Acuaely I just need a few mods on my already-existing FTP server and viola
 
user1182183
 
user1182183
I'm sexy, bitch
 
user1182183
(not ment to insult you :> )
 
user1182183
----silence---- ... -.-'
 
user1182183
10:21 PM
I hate when you guys always do that :(
 
I thought you were 16
 
user1182183
@kbok you have a problem sharing a folder via FTP/HTTP? ; o
 
user1182183
@kbok that's an old photo :D
 
user1182183
 
user1182183
SupeeeRRRR sexyyy
 
10:22 PM
Ok.
What's going on.
 
@GamErix It's more than that. The file should be fetched from the official mirror on demand
 
Ell
uploading pictures of children to the internet is not wise :P
 
Also I don't want a roundtrip for this kind of things
 
user1182183
@kbok ah yea then it's another thing :$
 
@Ell The internets: where women are men, men are women, and little children are the FBI.
 
10:24 PM
@R.MartinhoFernandes Our favorite teenager is fucking about.
 
user1182183
 
user1182183
Admit my grandpa is cool
 
@GamErix I need to bleach my brain.
 
room topic changed to Lounge<C++>: Not Facebook [c++] [c++11] [c++-faq] [woof]
 
hey
you can't leave the tag on there
room topic changed to Lounge<C++>: Not Facebook [c++] [c++11] [c++-faq]
 
user1182183
10:25 PM
@DeadMG he just did :?
 
user1182183
mwap.
 
@DeadMG Why not?
 
because that would imply that there was some woofing w.r.t. the topic
whereas there was, in fact, not.
 
Why are you posting pics of your family.
 
Goood Qwestiuns
 
@deadmg
1 tweets, 0 followers, following 0 users
 
don't we have a bin for this?
 
1 min ago, by R. Martinho Fernandes
room topic changed to Lounge<C++>: Not Facebook [c++] [c++11] [c++-faq] [woof]
@DeadMG Woah.
@DeadMG OMG you have a follower now.
 
user1182183
@kbok old photos are funny
 
10:27 PM
@DeadMG No freaking shit. You twat! twote?
 
twote, lol
 
@GamErix On facebook
 
user1182183
@sehe i'm not going to upload those to that shit page!
 
@GamErix Neither are you going to upload them to this lounge
 
user1182183
@sehe I just did.
 
10:28 PM
@DeadMG This is beautiful
 
calm down, it's the same profile picture as my gravatar
 
Wait, who's @Tavis ?
 
@GamErix I'm aware of that. going to implies future
 
man
why does Twitter send me an e-mail for each follower?
 
10:29 PM
@DeadMG I think there's some prefs for that.
 
@DeadMG To further annoy you.
 
@R.MartinhoFernandes Yeah, just fixed them.
 
This sounds ridiculous but it must actually be the fastest way to make a brainfuck compiler.
 
@MooingDuck At first I had a problem. Then I thought "I know, I'll use templates!" Now I have a problem template.
6
 
10:41 PM
Next on the TMP arms race : a C++ compiler implemented in templates.
 
I need a likeminded silly idea for a "bigger than yours" blog post.
 
@kbok would have to have the user's code at compiler's compile-time.
 
@MooingDuck Write a monadic parser.
 
@kbok Some other guy already implemented a Haskell interpreter that interpreted the Haskell at compile-time.
 
10:43 PM
@kbok Because bigger is better in bed, right?
 
@R.MartinhoFernandes wtf, u no trope link?
what's wrong with you?
 
@R.MartinhoFernandes Nice giant cock
 
Fixed.
Damn you guys.
 
ok
 
@kbok You starwhore.
 
10:44 PM
Any lightweight http lib in C which works only with HTTP? not like curl
 
Actually I expected more stars on the "arms race" remarks but cocks seems to be more popular than templates here.
@shiplu.mokadd.im What about libhttp
 
is it available in all linux distro from main repo?
 
@shiplu.mokadd.im Is installing from repo the only way of installing a library you know?
 
@kbok kbok: I see its C++ lib
 
Also, what about googling it?
 
10:47 PM
Alright, g'nite guys!
 
@Griwes do you find a bunch of what I want just by googling?
 
What's wrong with curl anyway seriously ?
Yeah, right, it sucks, but all C libraries suck anyway
 
@shiplu.mokadd.im I somehow fail to parse the meaning of that question.
 
From a C++ POV, the interface is hideous. Even for a C library.
 
It does not suck. I am working on embedded platform and this library is big
 
10:49 PM
But I do not fail at parsing the fact your googling skill is far too low for programming anything.
 
Haha, I finally got around to watching Core C++ #6.
STL says:
"Never say `new`. Never ever say `delete`."
 
It must have taken you a very long time because I hadn't seen you here since at least 6 months
 
@Griwes most results are C++. Very few C only
 
Haha. I've not been very "chat active" - it was consuming fairly large amounts of time :-)
 
@shiplu.mokadd.im Because, guess what, it's what sucks less.
 
10:51 PM
Tell me about that :(
 
Oops. I copied the wrong token_type declaration. It need mpl::true_ for HasState, when dealing with stateful lexers -- obviously! Fixedsehe 25 secs ago
 
@KerrekSB No kidding.
 
Are you still working on the Minecraft server ?
 
^ lol, no-one noticed :(
 
@sehe obviously.
As everything related to Spirit :D
 
10:53 PM
@kbok I haven't for a while, though it's on my list.
 
@KerrekSB it's ok to say it... E.g.: "Do you want a new bed for your birthday"
@Griwes Cynic
 
@sehe No! You say std::make_bed()!
3
 
@KerrekSB Nah. That's not std lib, it'd be ikea::assemble_bed()
 
Not to be confused with bed::make_std() which is probably not what you want.
4
 
@VinayakGarg oh, apperently it's closed or something. I think I found the bug in my code this morning :/
 
10:54 PM
@kbok Procrustes, is that you?
 
@kbok lol
 
@sehe what
 
@kbok A very common mistake! Especially among programmers...
 
Kids don't know how to google these days?
 
@VinayakGarg Also my score sunk like a rock, for 8 failures. 2 because I guessed the wrong ratios of inputs, 4 because I have a newer compiler than they do :( Only 2 because of my bug.
 
10:55 PM
@sehe Yeah, but I'm afraid you misunderstood the joke
std as in STDs, not standard
 
I think someone yesterday asked me in a comment whether I could explain IO multiplexing in the chat, so I just directed him here but never logged in. I was busy hunting Sectoids. In which context I would like to recommend OpenXCom :-)
 
Hmm
took me two weeks to drop the old game again last month
 
@kbok Yes, quite :-)
 
@JerryCoffin see, this is why we need the ability to extract characters from string literals in constexpr functions.
 
10:59 PM
Oh, STL has a make_unique that deals with arrays, too. Very nice, I never had that.
 
But this could be useful. I want to make a HTML5 version and this can be achievable easier with OSS
 
wait, that used to be the case in C++03... Can constexpr extract characters from string literals now?
 
@MooingDuck What do you mean "extract characters"?
Get them into template arguments?
 
@R.MartinhoFernandes yes
 
Think about it: Ret f(const char* a); <- can you write a function declaration where the return type depends on the value of the arguments?
 
11:02 PM
@R.MartinhoFernandes const char(&a)[len]? nope :(
 
@MooingDuck I think you're going to need something better than "to compile brainfuck programs" to make that argument very convincing.
 
@JerryCoffin it helps with type safe printf and other things
 
@MooingDuck Type safe printf is not localizable. Meh.
 
There was a GCC extension for it for a while
 
I see type safe printf as a curio.
 
11:05 PM
@R.MartinhoFernandes so? Nothing at a low level is localizable. The localizable function could use printf underneath.
 
@kbok grave allegations there. What makes you think I must miss the joke, since I made my own/
 
@R.MartinhoFernandes curio?
 
@MooingDuck And how do you get type-safety based on a runtime format, then?
@MooingDuck a strange and interesting object which evokes curiosity. (but not necessarily useful)
 
> conclusion I’ve gotten J&J’s “no more tears” baby shampoo in my eyes. It hurts like BUGFUCK. It sets your damn eye on FIRE, just like any other soap
 
@R.MartinhoFernandes could also be used for regex or parsers.
 
11:07 PM
@KerrekSB Makes sense that you want to avoid wasting time in chat :)
 
Here's a thought...
Can you program a computer to understand how to compose music by imposing rules and regulations on it's composition?
 
@MooingDuck Still, you can get what you want with string literals as template arguments (or literal types; those are enough with the appropriate constexpr smarts).
 
Essentially coding knowledge of music theory into it
 
@sehe Doing something captivating for a long time really wreaks havoc to the cap rate...
 
Because basically, you will get a function that cannot be called at runtime anyway (the return type cannot be determined by then!)
 
11:08 PM
@R.MartinhoFernandes literal types are far more verbose, string literals requires me to hardcode every potential combination
 
Hey, this array-make-unique looks a bit pointless... can't I say new T { args... } irrespective whether T is an array or not?
 
@Crowz Yup. 's been done. it will do a decent job depending on the quality and creativity of the programmer, and the taste of the listener :0
 
@R.MartinhoFernandes fine by me, that's obviously not the intent of the feature.
 
@MooingDuck No! You can parse the string literals.
 
@sehe Link?
 
11:09 PM
@KerrekSB You mean, like, work?
 
Oh no, you don't know the array size.
 
@R.MartinhoFernandes can you?
 
@sehe Nah, I'm between jobs :-)
 
@R.MartinhoFernandes oh you mean at run time
 
@MooingDuck No, I mean at compile time.
Adding that feature is the simplest thing that enables it all.
 
11:10 PM
@Crowz Nope. I didn't exactly delve into it. I heard of it. And there is garageband. In contemporary 'classical' compositions many many experiments have been done creating "conceptual art" where computer algorithms generate music, either live or up front. Of course, you would like to see a Beethoven generator. I'm not sure that exists/would be available if it does
@KerrekSB Really - is that a known state? I'm never between jobs. I just stick to it. Sounds funky to be 'between' jobs.
 
@sehe That's not hard to make. The number of possible sequences is finite: Beethoven is dead.
 
@sehe I'm thinking of making a project wherein you specify a certain genre of music and it generates something along those lines based on database entries of songs of that genre
 
He's dead, right?
 
Sometimes
 
For example, you say you want to make a black metal songs, so it finds out black metal uses a lot of 16th note rhythms and emulates that, while also emulated the distortion
 
11:13 PM
@Crowz Oh, that's easy :)
 
For some definition of easy.
 
I doubt that, you'd have to get down to the waves to really figure out how a style of music works
 
@Crowz Obviously, the effects are chump change here. The composition would be the interesting bit. Which should not be too difficult to get decent results for that genre
@Crowz Right. Play much music?
 
@sehe Nah, none
 
I thought so
 
11:14 PM
Which is why I'd want to program it, to figure out why it works
 
@Crowz Pro tip: Music is best experienced by listening. To understand it better, play with the 'atoms', the essential elements, the bricks - experiment. Best achieved by making it (jamming, improvising, making variations, comparing, develop taste, change moods, profit)
 
I have trouble doing that, because the music I like generally requires complete mastery of music theory
 
@sehe Hmm... I quit my last one and decided to leave some time before the next one, though it's coming up soon.
Anyway, here's my own attempt at letting make_unique handle arrays: ideone.com/hOgcSz
 
http://www.youtube.com/watch?v=cfCr9GbrGGY
GURL LOOK AT DAT BASS
 
@Crowz Café Campus? I know that place.
Didn't know they had shows there.
 
11:17 PM
@Crowz I've seen violins that look like that :)
 
@KerrekSB Ugh, Y U NO ALIAS TEMPLATES?
 
@EtiennedeMartel In Montreal? This band is in Montreal
 
Hmm, according to their MySpace page, the band's members are named Syriak, Artagoth, Leïlindel, Chaoth, Borboën and Landryx. Seems legit.
 
@Crowz (the essentials would include pitch, meter, tempo, dynamics. Derived units would be scales, harmony, tempo changes, timbre, etc. etc. etc.)
 
wait
MySpace still exists?
 
11:19 PM
@sehe Yeah I just can't quite get the sound I want. I want it to sound psychotic
 
It's inhabited by elfs, it seems
 
@DeadMG Yup.
 
@Crowz best achieved by ingesting lsd
 
@sehe Hmmm, interesting... BRB
OH GOD YOU GUYS ARE MELTING
 
@R.MartinhoFernandes Waiiittt... something inside me just shouted std::conditional
 
11:20 PM
@Crowz Meh. What else is new
 
What about alias templates?
 
@KerrekSB They rock
 
Grmph. Yeah, maybe.
 
No icky typename ...::type thingies.
 
Quiet, I am refactoring.
 
11:21 PM
They're awesome.
Not supported by GCC 4.5 (i.e. ideone) though.
 
@Crowz I don't have sound a.t.m. but that violinist actually looks worth his salt. Much more convincing than some popular cello-act I saw recently on here
@KerrekSB TMI
 
liveworkspace.org runs 4.7, but has been dead for a few days :(
 
@R.MartinhoFernandes stacked-crooked.com
 
@sehe Yeah violinist are pretty damn pro. That bassist is insane, too... but my favorites will always be the vocalists!
 
There's the highly experimental stacked-crooked.com if you really want a spin. But be careful not to break it.
 
11:22 PM
@R.MartinhoFernandes Let's ask Schrödinger's cat whether LWS technically runs 4.7 now, then
 
@R.MartinhoFernandes What's the current popular live code website? Whatever happened to ideone?
 
@KerrekSB something about `new typename` gave me the jeebies :)
 
@sehe "Template Magic Impressiveness"?
@sehe And me too!
 
@KerrekSB Obviously
 
Actually, it feels really good to have C++ code that says new typename. I can just begin to imagine ways to use that to rile up convalescing Java programmers.
 
11:31 PM
@KerrekSB It never got a shiny compiler that supports alias templates.
 
@R.MartinhoFernandes It seems that this language feature has immediately infected your entire codebase!
 
> Downloading the latest package list from hackage.haskell.org
^ I'm half cool
 
@KerrekSB Yes, that's what it does.
 
Hey, does anyone know this actor library? Is this A Good Thing?
 
@sehe Why are you running cabal?
 
11:32 PM
@R.MartinhoFernandes Shht. It's top secret
@KerrekSB not heard of. Is it like asio?
 
Speaking of Haskell, I found this today: haskell.org/haskellwiki/Zygohistomorphic_prepromorphisms
"Zygohistomorphic prepromorphisms"
3
Haskellers really do love their morphisms. They have so many of them
 
> deletes all of libcppa's singletons
run away
 
> zygoHistoPrepro
what
 
@DeadMG deleting them is good
 
> Shutdown Function
@KerrekSB It's bad.
 
11:38 PM
@sehe No, it's about actors.
Whatever actors are.... I think they're like threads, but personified.
@CatPlusPlus Oh, have you tried it?
 
@KerrekSB Not exactly.
 
No, I've read that it has singletons and shutdown function.
 
user1804599
@KerrekSB actors are basically entities that send each other messages, if I'm correct.
 
user1804599
And they run concurrently. Think Erlang processes.
 
it's kinda like inheritance, except it's actual message passing, not just function pointers.
 
11:39 PM
@Aardvark Yeah, whatever it means to "run"
 
What.
 
user1804599
At least, that's what I still remember of them.
 
It's kinda like inheritance, but not really.
 
user1804599
In computer science, the Actor model is a mathematical model of concurrent computation that treats "actors" as the universal primitives of concurrent digital computation: in response to a message that it receives, an actor can make local decisions, create more actors, send more messages, and determine how to respond to the next message received. The Actor model originated in 1973. It has been used both as a framework for a theoretical understanding of computation, and as the theoretical basis for several practical implementations of concurrent systems. The relationship of the model to ot...
 
(It's not like inheritance)
 
11:40 PM
I think "Anthropomorphic Thread" would be a good nickname.
 
user1804599
> In response to a message that it receives, an actor can make local decisions, create more actors, send more messages, and determine how to respond to the next message received.
 
Actor is just an abstract thing.
They're usually implemented as coroutines or green threads or things like that.
 
@Aardvark Yeah I've seen all this, but is it a good way to design software? Like servers?
 
user1804599
@KerrekSB holy shit it is.
 
11:41 PM
And that library is written in C++11.
 
Again see Erlang.
 
@KerrekSB It's not bad.
 
Which is designed for long-lived 99.999% uptime systems.
And scalable too
 
but
 
I see. I would feel scared by not knowing who's passing the messages and how, and how synchronisation is done...
 
11:42 PM
@DeadMG and that is a big but
 
Basically it's taking the event loop approach a bit further and more general
 
you wouldn't want to implement a concurrent algorithm in actor model.
 
@DeadMG I see. That makes sense.
 
@KerrekSB Probably atomic ops on the message queues, and that's it. There's no shared data.
 
@KerrekSB It literally doesn't matter.
 
11:42 PM
I like my explicit event loop. I especially like epoll, and lock-free queues.
 
user1804599
You spawn processes/threads (called actors) and send messages between them.
 
actors don't have to correspond to processes or threads
 
@CatPlusPlus Well, until you get interested in latencies and such like.
 
user1804599
foo() ->
    A = spawn(?MODULE, bar, []),
    B = spawn(?MODULE, bar, []),
    C = spawn(?MODULE, bar, []),
    baz(A, B, C).

baz(A, B, C) ->
    A ! {foo, bar},
    B ! {baz, qux},
    C ! {meh, moo},
    baz(B, C, A).

bar() ->
    receive
        {A, B} -> io:format("Received {~s, ~s}", [A, B])
    end.
 
Latencies between what?
 
11:43 PM
@DeadMG I guess everything can be single-threaded and multiplexed.
 
well
 
Also I wouldn't use C++ for that ever
 
you don't want 10,000 threads if you have 10,000 actors.
 
Erlang can preempt its processes.
 
@CatPlusPlus Well, suppose I have a network server, and I want to minimize the latency between data on the card and it being processed by the server.
 
user1804599
11:44 PM
@DeadMG In Erlang it's perfectly fine to have 10000 processes.
 
It would be nice to know a bit about what's being passed where and how.
 
Erlang is made by a telecom
 
@Aardvark I doubt that an Erlang process actually corresponds to an OS thread or process.
 
user1804599
But Erlang doesn't spawn 10000 OS threads, of course. :)
 
@Aardvark But 10000 actors?
 
11:44 PM
It uses a full-blown VM
 
user1804599
It spawns green threads, AFAIK.
 
Multi-node, too, you can run one application on multiple physical computers.
 
you know
I should actually deal with the problem at hand: the shittiness of my CV.
 
And it will balance the load and stuff like that
Much better than writing this entire shit in C++, that's for sure
And the language is entirely high-level and functional
Perfect
 
@DeadMG That sounds like an incredibly good idea.
 
11:46 PM
(Well, almost)
 
@CatPlusPlus Erlang?!
 
user1804599
I like dynamic typing in Erlang.
 
@StackedCrooked ahaha
 
user1804599
@StackedCrooked I tried everything, chroot break, fetching data, rm -rf /, nothing worked. Only I/O I could do was directory listing, stdout and stderr. :(
 
11:48 PM
Damn port number in URL didn't work :P
 
@StackedCrooked it worked for me (Opera)
 
@Aardvark directory listing?
 
Where was that scroll-downwards RAII presentation that's like int *i = new int; --> std::unique_ptr<int> i(new int); etc etc?
 
user1804599
@StackedCrooked listing all files in a directory.
 
user1804599
18
Q: How do you get a directory listing in C?

superjoe30How do you scan a directory for folders and files in C? It needs to be cross-platform.

 
11:49 PM
@Aardvark It still needs a lot of improvements.
 
@StackedCrooked Code folding!
 
user1804599
Are you going to support multiple languages?
 
@StackedCrooked Done!
 
@Griwes I liked:
 
11:50 PM
@chris Good question, I've been looking for that too
 
@KerrekSB This chat doesn't seem to like port numbers. Just print the naked url :P
 
 
It needs to go in my FPAs
 
user1804599
@StackedCrooked what database do you use?
 
"For Gondor!"
 
11:50 PM
@sehe Yeah, this one is awesome.
 
@Aardvark file system?
 
@Griwes, I forgot to check that, thanks.
 
@sehe Randomissimo!
 
:D
 
@chris Can someone answer this question? Is it in the Lounge FAQ?
 
11:51 PM
Ahahahaha
There's a new COD game
 
user1804599
@KerrekSB if you have a chat server that serves 10000 clients, you can have 10000 actors.
 
And it's on two DVDs in retail
 
@CatPlusPlus so there is
 
And the second one was Mass Effect 2
(DVD)
 
@KerrekSB, I didn't see it in there. It looks like all SO links. Maybe one of those has that as a link in the comments/answers somewhere, but I don't know.
 
@Aardvark File system.
stacked-crooked.com:4000/Archive for an ugly overview.
 
user1804599
@StackedCrooked oh okay. Cool. :)
 
The identifiers are checksums of the cpp files.
 
@Griwes, Thanks, that's it.
 
user1182183
 
There, it's in my bookmarks now. I'll never have to find it again (I hope).
 
@Griwes Grand. We really need to record this somewhere.
 
@KerrekSB Hey, I know, there's this site called dropbox that would be great for that! :-)
 
@JerryCoffin That's a terrible site for persistence!
Who's the author? Someone from here?
I don't mind putting a copy on one of my GitHub pages.
 

« first day (759 days earlier)      last day (4189 days later) »