« first day (1222 days earlier)      last day (3740 days later) » 

12:00 PM
This question appears to be off-topic because it is a puzzle about circular lists. — R. Martinho Fernandes 50 mins ago
;p
 
@LightnessRacesinOrbit what about it? Is it really so harsh?
ROOM IS DEAD POST PONIES
 
12:17 PM
1 message moved to bin
 
oh come on
I could have posted the ponycopter gif but I didn't
 
Ell
I don't understand how people get involved in watching mlp
 
Too bad.
I don't understand many other things.
 
Ell
Why would you do something which is looked down on by a lot of society outwardly
 
eh I always forget which of eval/execState is which
@Ell like writing Ruby?
 
12:21 PM
:t
 
that actually makes a funny emoticon
 
@Ell in 3 simple steps: 1) Watch MLP episode 2) Somehow decide you like it 3) watch more MLP episodes
 
Ell
@BartekBanachewicz that isn't looked down on :P
@TonyTheLion But why be proud of it when you know a lot of people think it's weird :3
 
@Ell because fuck society?
 
@Ell if so, then MLP isn't looked down on either.
 
12:22 PM
@Ell Said the geeky programmer
 
@Ell Who gives a shit what society thinks?
@jalf It just occurred to me to say that.
 
@Ell ditto
 
@Ell What the hell should you care what other people think.
 
Ell
@jalf I outwardly admit I'm a programmer and don't get called weird for being one
 
I call you weird for programming in Ruby.
Every possible time I am able to.
 
12:22 PM
@Ell No, but people think it. Would you quit programming if people said it out loud?
 
Some have told me I'm a nerd for programming
 
Are you saying we should all only ever do what society deems "acceptable"?
 
do I care? No
@jalf That is what he's saying.
 
Ell
@jalf No I just think you should only talk about it amongst other people who deem it acceptable
I guess it's accepted here so bad point by me
 
@Ell ERMAGHERD. You don't need to seek approval by others for everything you do.
 
12:24 PM
@Ell I disagree with that. I think if you do something that you think is important and worthwhile, then fuck yes, you should talk about it and share it with the world
 
@Ell Why should I limit my conversation because of the sensibilities of others?
 
yeah @Ell I have no idea what the hell are you talking about now either
 
Here's a joke about UDP... — Patrick McDonald Jul 13 '12 at 14:09
 
if we took that attitude the Earth would still be considered flat because the round-Earthers would never discuss it with anyone.
 
Do you really feer such a peer pressure
hm
 
Ell
12:26 PM
I don't think it's peer pressure
 
@Ell What else is it then?
 
no, it's even worse than peer pressure
 
"I won't do this because others might disapprove"
 
@Cat do you think that both load and draw should run within the user state (within StateT userState IO ())? Because I think it might make more sense if load ran just in IO and returned initial value
 
Ell
I just prefer to avoid uncomfortable conversations
 
12:26 PM
because you accept it implicitly.
 
Ell
@jalf It's for my benefit, not theirs
 
instead of doing the right thing and kicking it in the balls repeatedly
 
No its not peer pressure, its just pressure from your peers to do what they deem to be "acceptable"
 
@Ell I don't have the slightest interest in MLP, but yes, I accept that some people do. That's just called not being an ass
 
until it dies in horrible pain.
@Ell In your benefit to never evolve social conventions? In your benefit to never challenge the status quo? Bullshit.
 
12:27 PM
>implying I dont have status I'm the founder of my university's brony club and anime club
 
@Ell yes, that's kind of the point in peer pressure. "If I do something others disapprove of, they might make it unpleasant for me, so I won't"
 
user1804599
I finished a project.
20
 
I'm in disbelief
I'll have to let that sink in for a while
 
Xeo
@rightfold dude, no. we can't have that. are you trying to upset the balance of the world or something? unfinish that project ASAP.
 
Thanks for everything, /mlp/. Now I write horsefiction and compare every woman I meet to Celestia.
 
12:29 PM
@rightfold uniqid?
 
user1804599
@BartekBanachewicz ja!
 
@rightfold why the php version?
 
user1804599
And the client library for PHP.
 
ah client
 
user1804599
@BartekBanachewicz Because I need it. :v
 
12:30 PM
I starred that repo when it was empty
 
user1804599
Oh, right. I forgot to star the repos.
 
there is no real girl like [Twilight Sparkle], hence why you love her. real girls are worthless whores.
 
those tweets are the best
 
[Would you kill your waifu to save humanity or kill humanity to save a random pony?] No way i'm killing Dashie. Fuck the human race.
 
12:33 PM
hmmm
I actually could use only Reader for draw
but I am not sure if there's any gain in that except forcing people to update shit in update.
 
[Do you care about other similarities between mlp ponies and real horses?] I really only care about their genitalia
 
Cat that's enough
 
Ell
Cats enough please.
 
This is why bronies are shit, hth
 
@CatPlusPlus no, this is why some of them are
 
12:36 PM
You know Twitter has a whole website where you can browse tweets? They don't have to be posted here
 
Couldn't match expected type `Control.Monad.Trans.State.Lazy.StateT
                                SampleState IO d0'
            with actual type `g0 a0 -> IO a0'
now that's an actual problem
 
g0 t0
 
I think our Cat broke.
 
We to send him for some repairs
repair(Cat) <--- magic happens inside
 
pony magic
 
12:42 PM
Cat needs a hobby that's not computer related
would be a good start
so he can forget that computers exist for a few hours a day
 
damn
so apparently I need explicitly qualified get
because for god knows why it conflicts with qualified GL import
 
Xeo
it... shouldn't. definitly shouldn't
welp, time to finally bite the bullet and go shopping. wish me luck
 
@Xeo you're right sigh. I forgot qualified.
 
@LightnessRacesinOrbit What's H2CO3-y of that?
 
aanyway I've changed explicitly passed state which was kinda suck
to real StateT
    sampleDraw :: DrawFn SampleState
    sampleDraw = do
        inst <- get
        liftIO $ draw inst
Well StateT is pretty ok in a sense that you have to lift all the actual IO operations explicitely
 
12:49 PM
-1
Q: How to write a program in python 3.3.4 that works out the area of a rectangle?

user3316570How do you write a program that works out the area of a rectangle, by collecting the height and width of the rectangle from the user input, calculates the area and displays the result? How would you do it with the volume for a cuboid as well? My code so far is: (I've just started python) shape =...

"how to multiply two numbers"
 
Xeo
@BartekBanachewicz get >>= liftIO . draw, we had that before :p
 
And one answer fucks up and shows how to multiply three numbers
 
@Xeo eventually it'll become natural! (thanks anyway)
 
@BartekBanachewicz no not at all. I was joking. H2CO3 liked that close-vote comment format.
@R.MartinhoFernandes He'd make heavy use of the custom close vote reasons with funnyish comments, is all
 
@LightnessRacesinOrbit I am pretty sure he wasn't the only one who did that.
 
1:02 PM
I realise the system writes the first bit for you, but I always read it as if he'd written the whole thing ;p
@BartekBanachewicz I never said he was
 
aww
sampleDraw = get >>= liftIO . (mapM_ draw)
hm I need to add UBOs
 
Do I remember correctly that there's no way to call the original ::operator new if you override it?
 
It's a Really Fun Option, so yeah, it's probably correct
 
oo
GL.Vertex2 is Traversable!
OMG IT WORKS
I love Haskell so much.
 
user1804599
1:23 PM
Haskell does not love you very much.
 
I don't particularly want Haskell's love
 
I have created four yellow moving triangles
 
Impressive.
 
why hello friends.
 
sampleDraw :: DrawFn SampleState
sampleDraw = do
    get >>= liftIO . (mapM_ draw)
    traversed.position.(element 0) += 0.01
hm, this "hanging" traversed doesn't look nice
 
user1804599
1:26 PM
That’s what she said.
 
I'll pack the object array in something
@rightfold lol
 
Xeo
@BartekBanachewicz I always forget what the difference between element and ix is
 
@Xeo hmm element is a part of Lens, and Ix is some other class I think
 
user1804599
Ix is not ix.
 
Ix typeclass requires ix, no? oh wait no
 
user1804599
> Seq.fromList
 
user1804599
Looks like F# lol.
 
@rightfold hm but what is the practical difference?
 
Xeo
also, that shopping trip just now wasn't too bad.
 
1:30 PM
you're getting better?
 
user1804599
I don’t understand any of this anyway. vOv
2
 
@DeadMG do you want anyone's love?
 
not currently
 
@rightfold Wait... I thought you knew Haskell
 
user1804599
Yes, which is why I know everything in every single Haskell library ever.
 
1:32 PM
you will of course be the first to know if that should change.
 
@rightfold lol
 
Lens modification is ~= ?
 
@DeadMG lol
 
user1804599
~= is regex matching in Styx.
 
you suck
 
1:33 PM
Yes, we know, you like Perl for some inexplicable reason
 
user1804599
Perl is great.
 
Xeo
@BartekBanachewicz what do you mean 'modification'?
 
@CatPlusPlus Its not that inexplicable. He's rightfold, that should explain everything.
 
regexes are so unreadable I doubt I would include them at all
and if I did, I certainly wouldn't be so moronic as to make them a language primitive instead of a library.
 
@Xeo something that takes a -> a
 
Xeo
1:34 PM
%=
aka over
 
What is %~ then?
 
Xeo
non-State version
 
4 hours ago, by R. Martinho Fernandes
Allegro sounds like a piece of junk. Source: rightfold likes it.
 
Look at the signature
 
the operators are a tad confusing
@Xeo aaahh
@CatPlusPlus signature won't tell me that my problem might be XY
 
@R.MartinhoFernandes yea
 
Allegro isn't that bad
Way better than SDL
 
traversed.position.(element 0) %= \x -> if x < 1.0 then x+0.01
                                                   else x-2.0
:3
 
user1804599
I liked that I could draw a picture with a single function call. vOv
 
@rightfold have you checked out Love yet?
 
user1804599
1:37 PM
No.
 
well you could draw a picture with one function call in Glisha too
I guess.
 
Xeo
@BartekBanachewicz FWIW, you can hoogle lens-related stuff with '+lens %~', if you didn't know
 
user1804599
@BartekBanachewicz [x - 2.0, x + 0.01] !! fromEnum (x < 1.0)
 
@Xeo oooh.
 
There is an index
 
1:39 PM
@rightfold waat
 
@rightfold Horrible
 
Ell
Nitrome games are awesome
 
user1804599
@CatPlusPlus Yup. :D
 
anyway it's so great... haskell is cool for computing stuff and now my computed stuff is visible
 
user1804599
Try Lua.
 
1:41 PM
Lua isn't typesafe and is way simpler
for small games (like game jams) it's a benefit
 
bah I keep trying to type #include when including C++ from Wide.
 
but for something bigger (like Minicraft-hs) I'd like to have more static analysis and more ways to manipulate data
 
Xeo
@DeadMG implement it!
 
not a chance.
 
Xeo
1:42 PM
not even as syntactic sugar? :p
 
"sugar"?
 
Wide has proper module system right?
 
Ell
@BartekBanachewicz how come?
 
there are a few syntactic whoopsies I might accept in Wide with a warning.
 
Is Solaris any good?
 
Ell
1:44 PM
I want to get wide to compile again
 
Xeo
@DeadMG tranform it to what you have to write now
 
user1804599
Btw.
 
@Xeo Can't be done automatically.
 
user1804599
For Styx I was thinking about the possibility to import specific versions of modules.
 
user1804599
Such that if you depend on an old version and somebody else on a new version, there are no problems.
 
1:45 PM
@Ell the simplicity of the language means you won't have to dig the docs pretty much ever. Even if that means that some runtime errors could escape, on game jams being error-free is hardly the main requirement
 
@Ell What operating system?
 
JBL
Good afternoon.
 
Ell
@DeadMG Linux
I guess I should update my LLVM
 
user1804599
@TonyTheLion it is not Gentoo.
 
well, if you can handle the curses issue, it should still work fine.
 
1:46 PM
@rightfold could be interesting, but it shouldn't be a priority
 
@rightfold that's really explanatory
 
just build LLVM and Clang 3.4 release from source (don't forget REQUIRES_RTTI=1)
then convince the linker to link to ncurses because fuck Clang.
 
@DeadMG speaking of curses, have you tried using any nontrivial C++ library from Wide already?
 
then it should be fine really
 
Xeo
boost!
 
1:47 PM
yeah also don't forget boost.
 
@DeadMG If you don't actually use it, have you thought of simply writing some empty curses stubs?
 
that would assume that LLVM and Clang use them in a sane way.
 
When, it doesn't use them in the code you use, right?
 
but instead, you're talking about the people with global registries, no exceptions/RTTI, coupling everywhere, and who fuck with the debugger for fun.
 
nobody said writing languages is fun, even with LLVM
 
1:49 PM
I suppose it uses them for outputting in colours or something.
 
yep.
 
Stubbing that out should not be harmful.
 
see, logically, it shouldn't do that.
but in reality
 
REAL WORLD
 
their entire codebase is written to permanently assume a Linux terminal, give or take.
they dump to stdout trivially.
and then terminate the process.
 
1:50 PM
What I mean is that the cost of those stubs is low, and the yield might be worth it.
 
I think I will go home earlier today
 
eh
 
Ell
Hmm what was that option that I had to add which was stored in an environment variable
 
I don't have any significant userbase on Linux (or at all)
and I don't have my own test machine
 
Ell
> REQUIRES_RTTI=1
 
1:51 PM
so for me, there's really low reward to go fucking around
 
Ell
Ahh this
oops
 
C++ keeps blowing my mind.
10
Q: noncopyable, but movable container

user1095108I have a problem with this program: struct A {}; int main() { ::std::vector< ::std::unique_ptr<A> > v; ::std::cout << ::std::is_copy_constructible<decltype(v)>{} << ::std::endl; //decltype(v) w(v); return 0; } This outputs: 1 Yet, if I uncomment the commented line, the program w...

 
what I don't get is
 
If you want I can lend you a user on my box with gcc 4.8.2 and clang 3.4.
 
why they would include that dependency by default when the required libraries don't ship by default.
 
1:52 PM
@DeadMG You'd get that Vagrant base box like 100 times already
 
@DeadMG Maybe there's a configure option for that?
Or CMake or whatnot.
 
maybe
but it's simply not worth my time because, as stated, I have no users on Linux.
 
@DeadMG huh? Clang needs curses? Or what are you babbling on about?
 
uuu creepy
 
one advantage of not having a userbase is that it's perfectly safe to screw over non-users.
 
1:53 PM
I hid boookmarks bar in chrome on one machine
 
@DeadMG Vicious circle much?
 
and it hid on the other aumatically
 
@rubenvb Yep. Can't build Clang 3.4 without curses/ncurses.
 
@DeadMG Ell is on Linux
 
@DeadMG (You have one user on Windows :P)
 
1:54 PM
@DeadMG then explain curses missing in the dependencies
That's weird though.
 
@R.MartinhoFernandes Maybe. But I doubt that anyone would start using it today if I fixed it
 
lol it requires ocaml
 
ah wait nvm
ocaml->ncurses
 
1:54 PM
@BartekBanachewicz for the bindings.
 
Can't escape FP world.
 
user1804599
OCaml is meh, but at least there is a fast compiler for it unlike for F#.
 
OCaml tentacles will reach you
 
@DeadMG right, I was too quick. Also on Windows?
 
nope.
 
1:56 PM
Cause ncurses is pretty much available on every linux.
 
they probably simply don't offer coloured output on Windows.
 
So what's the big deal?
 
Clang has coloured output on Windows.
 
or the Windows API can do it.
 
1:56 PM
The WinAPI can do it, yeah.
 
Xeo
@rubenvb dunno what's so mind-blowing about that. standard requires syntactic well-formed-ness, and that's what vector gives
 
And on pretty much any Linux box you can just output ANSI escape codes.
 
has anyone every tried to run bittorrent on tor?
 
anyway, you say "pretty much available", I say, "Now you're just screwing me with the places where it's not available just because you think they're uncommon".
 
I honestly wouldn't bring ncurses in just for coloured output (as I plan to for Nonius)
 
1:57 PM
@Xeo it was more the fact that explicitly testing a trait and then using that property give different results for "possible". Unless I'm reading the question wrong, which might well be possible.
 
or, "When ld just won't find the fucking thing even though it completely is installed".
 
Ell
I hope this builds correctly
 
or just generally, "I don't give a fucking shit about coloured fucking output, I don't want any goddamn output, so fuck off with your shitty dependencies".
 
user1804599
I hope it doesn’t.
 
Xeo
@rubenvb yes, is_copyable yields a false-positive here
 
1:57 PM
@DeadMG linux=>package management. Install Clang, install ncurses. It's pretty simple. There is no issue.
 
@rubenvb I'd love to, but can't.
 
@Xeo Pretty neat, right? Broken traits by design :-p
@DeadMG then install ncurses.
 
tried that.
 
Sheesh. It's not that hard.
 
installing C++ libraries is so suck
 
1:58 PM
@DeadMG You know, I really like how they market it as this super-modular thing and yet...
 
apparently not good enough.
 
Xeo
@rubenvb no. broken vector
 
This is certainly very very modular.
Fucking Apple.
 
LLVM/Clang is not modular at all.
 
I dub it LLVM's RDF.
 
1:59 PM
I mean, they have some separation between them, but Clang itself certainly is absolutely not modular.
 
@DeadMG Use a decent distro.
 
that reminds me I have to create a Cabal file
 
@rubenvb I don't control the distro and I also don't control the fact that Clang doesn't ship all the necessary headers in the public includes.
 
I know I'm not really helping, @DeadMG.
 
yes, you're just listing endless shit that doesn't work.
 
1:59 PM
lol.
 
user1804599
Use $ cabal init.
 
like every time I ever go to deal with Linux and it simply doesn't work.
 

« first day (1222 days earlier)      last day (3740 days later) »