« first day (849 days earlier)      last day (4099 days later) » 

Ell
8:01 PM
Maybe I'll end up rewriting every exam question in LaTeX :O
that would be massive effort
 
user142019
aaaaaaaaaahhhhhhhhhhh
 
Ell
but it could render to a variety of st00f then though
 
user142019
Functors in Haskell map from Hask to a subcategory of Hask.
 
user142019
I finally understand! \o/
 
user142019
No wait I don't nevermind.
 
Ell
8:02 PM
:P
 
@StackedCrooked Yay
 
user142019
Functors map from a subcategory of Hask to that same subcategory of Hask. :|
 
user142019
So all functors are endofunctors. :L
 
@StackedCrooked It won't work like that, wait
 
have I mentioned that intellisense broke about a month ago on my code at work? Because, it's significantly hindering productivity.
 
8:05 PM
Also you need <link>
Probably
 
<link> ?
 
user142019
You need /favicon.ico on your server.
 
user142019
It needs to be in root.
 
Ell
databse schema editor, y u use silverlight!
 
ICO is not PNG
 
user142019
8:05 PM
Alternately, you can use <link> tag in the <head> section of every page.
 
Just changing the extension won't do anything
 
user142019
@CatPlusPlus you can still transfer it as a png with png mimetype.
 
Also your server doesn't send proper headers
 
I'm uploading it as png. It seemed to work on my comp.
 
user142019
And any decent browser will interpret it correctly.
 
8:06 PM
Oh wait it works now
 
user142019
/favicon.ico may be a PNG. Make sure it's transferred as image/png.
 
user142019
Browsers just try to GET /favicon.ico.
 
user142019
The .ico extension is merely for historical reasons and I blame Internet Exploder.
 
Oops, I forgot to remove old comment.
 
user142019
lol
 
user142019
8:09 PM
Y u no write it in Haskell.
 
I don't know much Haskell.
 
user142019
Learn it. :D
 
user142019
I must convert the entire room!
 
user142019
It's not the same. * FIXED :D
 
8:10 PM
:D
 
user142019
Control+D'd.
 
user142019
Haskell is my favourite programming language.
 
@MooingDuck Hope you're doing well. wanted to spread warm wishes your way
 
@Zoidberg D'd
 
@StackedCrooked lol
 
8:18 PM
@ShotgunNinja hi!
 
@StackedCrooked I feel famous yay
 
user142019
81
Q: Real-world applications of zygohistomorphic prepromorphisms

barsoapYes, these ones: {-#LANGUAGE TypeOperators, RankNTypes #-} import Control.Morphism.Zygo import Control.Morphism.Prepro import Control.Morphism.Histo import Control.Functor.Algebra import Control.Functor.Extras import Control.Functor.Fix import Control.Comonad.Cofree zygohistomorphic_prepromorph...

 
user142019
Haha "zygohistomorphic prepromorphisms".
 
fucking hell
three phone interviews with these people and he wants me to do another
 
user142019
8:30 PM
You are too good and they're confused since you know more about what they ask then they themselves.
 
bye folks
 
user142019
If I have a category C and a subcategory of C C', is a functor which maps from C to C' considered an endofunctor?
 
Ell
vacuum cleaner
 
user142019
Nvm got it. (Answer is yes.)
 
@Ell You mean the lobster?
 
Ell
8:33 PM
@EtiennedeMartel hm. I don't know why I said that
i do that some times, I forgot I've said something, then I look back and I'm like wtf why did I say that?
I remember in year 7, the class was silent and I just went "errm" really loud :L
 
user142019
I had one interview.
 
user142019
With a friend. \o/
 
Ell
I've never had a job
 
i worked checkout for a few months once
 
@Zoidberg Implemented in a package that provides generalized bananas, lenses and barbed wire
 
Ell
8:35 PM
I've sent about 25 cv's off to various places, but I've never chased up a job
 
user142019
@CatPlusPlus Yummy bananas.
 
user142019
Haskell: mixing bananas with curry and wire. :L
 
@ScottW Yes.
 
user142019
I seriously have no idea what zygohistomorphic prepromorphisms are.
 
Ell
Nor I
 
8:39 PM
I hated our newer registers when I worked at wendy's
 
whiteness is antiblack trans-misogyny all on its own.
 
doing everything on them was so slow
 
Ell
how do you know your webserver is secure if you're just a developer? or is it the developers job?
 
@Ell You follow security guidelines, but there are people you can hire who do penetration testing
and code review of your stuff
 
@Zoidberg A joke mostly
 
8:42 PM
@Ell It's OK to have a giggle; it makes you look dumb if you post that giggle.
 
user142019
@CatPlusPlus okay. xD
 
Never stop posting
 
Ell
pardon? I don't now what you're talking about.
 
user142019
Yo momma.
 
Crab momma
 
user142019
8:44 PM
I AM NOT A CRAB.
 
user142019
I AM A LOBSTER YOU IDIOT.
 
user142019
:<
 
so fourth person from thus company
 
Ell
I failed maths & physics exams today :O
and am due to fail chemistry tomorrow
 
@Zoidberg You look high
 
user142019
8:46 PM
Crabs have shitty shells like Bash. I only have Z shell, which is superior.
 
@Ell AS january?
 
user142019
@CatPlusPlus why would anyone joke on the Internet. :c
 
Ell
@DeadMG AS mocks
 
mocks not that bad
 
Ell
I guess, but they say you can only attain one grade higher :o
I'm bone idle so it's my fault but :L
 
8:48 PM
@Xeo The compiler is allowed to reject the program.
 
user142019
 
@Xeo So, no, it's not "perfectly fine constructible".
 
Well is nice to see that the Java Sucks Room is empty now
 
user142019
fix$(<$>)<$>(:)<*>((<$>((:[{- Jörð -}])<$>))(=<<)<$>(*)<$>(>>=)(+)($))$1 what does this do? :D
 
Ell
I wonder how to speed up terminal IO
 
8:53 PM
@Zoidberg it confuses people
 
user142019
Someone should design a language and name it C = C + 1.
 
user142019
@doug65536 xD
 
@Zoidberg while(1) C = C + 1;
 
user142019
UB unless C is volatile assuming C is a primitive type.
 
er while(C = C + 1);
@Zoidberg huh?
 
8:55 PM
@Ell By not doing terminal IO
 
Yay, I've never loved Java more!
 
user142019
@Ell buy a faster computer.
 
My teacher offered us a choice to switch to Java instead of Actionscript.
 
@chris >.>
oh
 
user142019
@chris nope.
 
8:56 PM
Everything in the course I've seen with AS could have been done much better, faster, with C# forms.
Never mind XNA etc. as you get into actually making something.
 
user142019
What are C# forms?
 
user142019
You mean Windows Forms?
 
There's a forms designer. Replace that with WPF if you want.
 
@chris XNA was abandoned.
 
Yeah that.
 
user142019
8:58 PM
Pro tip: it can be even better; don't provide a GUI at all.
 
user142019
I should become the director of a bank.
 
@R.MartinhoFernandes hmm, according the benches it's a 50:50 thing, don't you think?
 
Why do some people declare class data members at the very end of the class definition? I find that extremely confusing, especially when there's a bunch of member functions before them already using the data members
 
@melak47 I find that annoying too
 
user142019
I always do that in C++.
 
user142019
9:07 PM
In C# I do data members first.
 
@Zoidberg why? ;_;
 
user142019
I prefer public before private and data members are most often private.
 
@melak47 Why not
The problem is with global context not the class one
 
it's counter-intuitive for the code to be using things declared further down.
 
If you assume all non-locals are class members, nothing is confusing
@doug65536 Yeah, in C
 
9:09 PM
I do struct S {public functions, private data members, static data members, private functions, static functions};
And I haven't used public data members enough to know.
 
I'd say assembly but assembly doesn't need predeclarations
 
Are you guys active on Code Review? There is a nice question there:
1
Q: How can I redesign these classes to take advantage of interfaces?

phasetwentyI'm writing a card game (Dominion) as a pet project. I'm new to C++ but not programming. A player has a deck, containing the hand and cards in play (tableau). Outside the player, there are piles of cards to buy from (supply piles). I want to display these objects (the hand, tableau and supply p...

 
@chris And if your public functions use private data members then you're doing the same thing you're complaining about
 
Anyway, @R.MartinhoFernandes, last I heard, XNA was going to be abandoned for Windows 8, but they decided not to or something.
 
XNA is already abandoned
 
9:10 PM
Maybe I'm thinking of something else. Who knows.
 
@CatPlusPlus because it's like defining a function myfunc { doStuff(thisParam, isthisaparam, somethingelse); return something;} int (int thisParam, int somethingelse);
 
user142019
Yo momma's so fat, your father no longer finds her attractive and it's destroying their marriage.
 
No
Also two things: a) mixing data members with member functions make classes much more unreadable than this silly ordering thing
 
Ell
templates aren't covariant? I don't know what that means o.O
 
b) Member functions definitions don't have to be inline, in which case the argument is moot
 
9:12 PM
@CatPlusPlus yes, that :(
 
I like code I don't have to read backwards, or skip to the end to make sense of the beginning :/
 
Ell
I like having a header file where I can just look up the interface of a class
 
@Ell I like having a readable interface of a class.
 
Declarations are annoying and should die
 
user142019
I like having modules and all functions inline so I can look up the interface of a class using code folding.
 
9:15 PM
@Zoidberg when you add javadocs concepts to that, I'm happy.
 
They only serve as outlets for introducing bugs and compilation errors
Declarations, but that too
 
user142019
C# has declarations.
 
user142019
namespace System.Net { // namespace decl :)
    class Socket { // class decl :)
        // ...
    }
}
 
user142019
Oh yeah also one thing in C++ that is fucking fucking fucking annoying as fucking fuckerty fuck: namespace A::B { ... } doesn't work.
 
user142019
9:18 PM
@CatPlusPlus C# Language Spec calls them decls so they are decls.
 
@Zoidberg different kind of declaration obviously
 
user142019
:)
 
@Zoidberg I just tried that today and was very irritated that it does not work
 
user142019
PROPOSAL
 
gonna have to check Wide
 
user142019
9:19 PM
Put that in Wide.
 
@DeadMG namespace A::B { ... } to do namespace A { namespace B { ... } } ?
 
user142019
What sauce is that.
 
I'm irritated that I have to do manual namespace blocks at all
 
anyone know an online compiler that allows threads?
 
9:20 PM
@melak47 yes
@doug65536 coliru
 
@Zoidberg Standard issue gravy.
 
user142019
Sounds good.
 
@DeadMG thanks
 
@DeadMG I doubt it does
AFAIR it's the same syscall that fork uses
Or something
 
@CatPlusPlus fork? not p_thread something? :/
 
user142019
9:22 PM
fork/exec is ridiculous.
 
I don't remember what it was
 
user142019
Why isn't there just a damn system call that I can use to spawn a damn process from an damn executable directly.
 
user142019
At least, why doesn't POSIX define anything like that. :P
 
Or maybe it works
I misremember something then nevermind
 
@Zoidberg you mean like system("executablename"), or what? :p
 
9:24 PM
@KonradRudolph What's nice about it?
 
user142019
@melak47 probably implemented in terms of fork/exec. And it invokes sh, yuc.
 
There's spawn* but that's not a syscall probably
 
@CatPlusPlus It’s an interesting application of a common problem and the question is asked in a nice way, IMO
 
user142019
Use green threads you fools.
 
Syscall interface is meant to be minimal core operations that can't be implemented otherwise
 
user142019
9:24 PM
Do it with Boost.Context.
 
And minimal complete definition for spawning is fork/exec
Deal with it
 
@Zoidberg proposal for Zoidlang: "why not" keyword for default switch cases, or whatever
 
creating a process requires creating an address space and preparing the kernel structures for context switch, handles, etc.
 
so it requires a kernel transition / syscall
 
user142019
9:26 PM
@melak47 bullshit.
 
As opposed to what
 
user142019
I use else for that.
 
Because I have no idea what you're on about
It's not really related to things before so
 
@Zoidberg switch(crap) { case: ... whynot?: zoidberg }
 
[rmf@persephone rmartinho.github.com]$ git commit -m "SFINAE post!"
bash: !": event not found
[rmf@persephone rmartinho.github.com]$
FUCK YOU BASH
 
9:27 PM
@R.MartinhoFernandes Haha
 
user142019
@melak47 no.
 
aw :(
 
user142019
? is confusing.
 
@CatPlusPlus This shit gets me every time.
 
when that happens to be I think BAckslaSH
 
9:28 PM
And it does not remain in the history.
 
user142019
? either means that a function returns a default value instead of throwing an exception, or that it returns a Boolean.
 
user142019
By convention.
 
(V)(;,,;)(V) woop woop
 
Ell
I'm not sure I like convention
I don't understand java's @Override either
 
@Ell same as C++'s override AFAIK
 
Ell
9:31 PM
I didn't know c++ had one o.O
 
It's one of those rare things Java got better than C++
 
@CatPlusPlus Why?
 
user142019
class A { public void foobarbaz(); }
class B { @Override public void foobarbax(); } // error because of typo
 
@MooingDuck Wut.
 
user142019
@Ell ^ merely to help the programmer.
 
Ell
9:32 PM
@Zoidberg ohh
 
@R.MartinhoFernandes They introduced attributes and then disregarded them and did a new keyword
 
@R.MartinhoFernandes I somehow got it confused with final for a sec
 
@CatPlusPlus Attributes have different use cases. They did not disregard them.
 
Right
 
Also, I don't see a big difference between contextual keywords and attributes except syntax.
 
9:34 PM
Utilising general mechanism and all that
 
What general mechanism? There is no general mechanism for defining new semantics.
 
Ell
attributes are compile time meta data aren't they?
 
user142019
#pragma ftw.
 
Ell
can't c++ already have that with templates?
 
user142019
I wrote so little software today.
 
Ell
9:46 PM
You should write a pdf manipulation tool
 
user142019
I wrote a namespace declaration parser and a class declaration parser for C#.
 
user142019
No, fu.
 
user142019
Pro-tip: use Perl.
 
@Ell We have our own library for that at work.
 
Ell
But you could sell it to me!
 
9:47 PM
@MooingDuck I've learned SOO much perl last night!! :)
 
Ell
for 0.001 bitcoin
 
Thank you for the kick-in-the-butt!!
You're the best
 
user142019
lol
 
I'm working on a zero-syscall coroutine implementation for windows. Does this seem like a reasonable way to implement a thread local stack of contexts?
 
9:51 PM
@EtiennedeMartel who is that?
 
@user1690130 Bill Gates.
 
looks like your avg princeton prof
 
@user1690130 google the picture, it's Bill Gates. He even said it was "Bill" and provided a link to an article about him.
 
i believe you
i'm learning perl!! no time to googl bill gates :)
i know it is him
i'm saying it looks like pinceton prof
 
no, Pandora, I do not want to hear the "crazy frog remix" of my songs.
 
user142019
9:53 PM
> Not as much as I would like to. I write some C, C# and some Basic. I am surprised new languages have not made more progress in simplifying programming. It would be great if most high school kids were exposed to programming...
 
user142019
Hmm.
 
@MooingDuck huh?
 
@user1690130 that statement was pretty straightforward, what part confused you?
 
crazy frog remix?
 
@MooingDuck Haha
 
9:54 PM
what's the frog?
 
user142019
What is meant by "simplifying programming"?
 
@MooingDuck WTF
 
@Zoidberg remember assembly? And then came C?
 
@Zoidberg Programming is hard
Let's go shopping
 
user142019
9:55 PM
Oh Haskell.
 
@MooingDuck i'm a crazy frog who's learned some perl!! Thanks for the inspiration
 
If Haskell was the only way to program, I'd be very happy
And possibly very rich
 
user142019
There would be so few programmers lol.
 
Hence the rich part
 
> I write some C, C# and some Basic.
He said C, not C/C++? Woa.
 
9:56 PM
C++ is Basic
 
posted on February 11, 2013 by R. Martinho Fernandes

enable_if is somewhat of a hack used to exploit a language feature (SFINAE) for selectively enabling or disabling certain overloads based on compile-time tests. SFINAE can sometimes be cumbersome, ugly, and cryptic, and isn’t known for producing the clearest error messages. As I’ve shown before, some of these annoyances can be mitigated with some clever changes to the typical patter

2
 
user142019
> int f_impl(T t, std::true_type) {
 
user142019
Double space on purpose?
 
user142019
inb4 I read too quickly.
 
It's there to tick you off
Robots are very cruel
 

« first day (849 days earlier)      last day (4099 days later) »