« first day (1118 days earlier)      last day (3845 days later) » 

11:00 PM
~Clickeh~
 
@Pawnguy7 I only see 1 sign :(
 
@Pawnguy7 Just because I enjoy killing people doesn't make me a psychopath.
 
user1804599
Cool.
 
user1804599
google.com uses SPDY if supported.
 
Hrm.
Apparently there is like a meta dating website.
Which coordinates dating websites... or something.
 
11:03 PM
@Pawnguy7 for people looking to date dates?
 
user1804599
I want a dating site that has a command-line interface.
 
> BEAUTIFULPEOPLE.COM: Ugly people need not apply.
@jalf says dating directory, whatever that means.
 
@Pawnguy7 I have a hunch that 99% of the users of a site like that are utter assholes... Just a guess... ;)
 
Wouldn't be surprised.
Oh.
I was reading about the Renaissance.. or something. In some person's writing, it was describing how you should look. The Prince perhaps?
 
The previous company I worked for is now a dating website (twoo).
 
11:06 PM
Something about being good looking, so people like you, but not too good looking, otherwise you will be prideful.
 
It used to be a social networking website (netlog).
 
@StackedCrooked how does a company become a dating site?
 
@jalf Good question.
Simply by doing it.
That's what they did.
 
user1804599
template<typename F>
explicit A(F f) : size(f()) {

};
 
user1804599
Should I use a universal reference here?
 
11:07 PM
@jalf Think like a dating site. Be a dating site
 
The company created netlog.com and once that was no longer profitable they created twoo.com.
 
@rightfold Well, they're the ones pushing it forward
 
@CatPlusPlus The zen of dating siting.
 
user1804599
@StackedCrooked Gah, twoo.com doesn’t even ask me for my sexual orientation when signing up. What a piece of shit.
 
@rightfold They do ask you if you are interested in men or women. iirc.
 
user1804599
11:09 PM
> mkdir: cannot create directory `/root/coliru/Web/../CompileArchive/42aa171f05914760': Permission denied #colirufail
 
> (Don’t worry, we won't post anything on your timeline.)
 
@rightfold Fix it!
Oh wait..
You can't
 
user1804599
I can if I put enough effort into it.
 
user1804599
But effort.
 
rebooting the server for a change.
 
user1804599
11:14 PM
Rebootion always helps.
 
Indeed. Seems to be fixed.
 
Good news, everyone: I implemented the Towers of Hanoi in Karel, and it only took about 300 lines of code!
 
The coliru startup script includes a repair-permissions script.
 
(The stuff at the top is the call stack that is manually managed.)
 
user1804599
@FredOverflow lol
 
zch
11:15 PM
Why?
 
Ell
Can we see it in action?
 
If you don't mind downloading several megabytes of Java and Scala :D
 
Outbreak Company is a really enjoyable anime.
 
Ell
Is it on github or anywhere?
 
nope
 
Ell
11:17 PM
I can't do it today
But I'm interested
 
Maybe I should learn how to create GIFs :)
 
Ell
I use gifsicle :P
 
user1804599
I use testicle :P
 
Fuck, the world is too small to solve towers of height 5 :-/ Gotta change the recursive condition to stop one earlier...
 
Ell
Chocolate is sort of spicy
 
user1804599
11:20 PM
> Relax your scrotum.
> Check your testicles just after you’ve had a bath or shower, when the muscles in the scrotum are relaxed, making it easier for you to feel any lumps, growths or tenderness. Stand in front of the mirror. Look for any swelling on the skin of your scrotum.
 
Ell
How do you relax your scrotum?
 
user1804599
Do I know. vOv
 
user1804599
@FredOverflow You have weird hobbies.
 
@rightfold Somebody challenged me today that Towers of Hanoi was probably impossible or at least unfeasible to implement in Karel, and I couldn't sleep not knowing!
 
user1804599
lol
 
11:24 PM
Wait, what happened to your avatar? No more ponies?
 
user1804599
No.
 
user1804599
I’m still waiting for season IV.
 
@FredOverflow what is Karel?
 
Ell
@fred its Turing complete, right?
 
@Pawnguy7 It's an extremely simplified programming language that only has procedures, ifs, repeats and whiles. It has no variables and no types besides void and bool.
 
zch
11:27 PM
No recursion?
 
Procedures may call themselves, so yes, recursion is available.
@Ell Yes, so of course Towers of Hanoi was possible to implement, but I was still anxious to know how hard it would be :)
 
How do you do things without variables?
 
Well, you have a 10x10 board where you can place diamonds ("beepers"), so those are your variables if you will.
 
This is a language you have made?
 
I did not invent Karel, but I implemented my own version of it :)
 
user1804599
11:29 PM
I’m going to implement Towers of Hanoi as a template metaprogram.
 
If you search for "Karel" in the Lounge, you'll probably find some useful information.
 
zch
What makes towers of Hanoi so hard there?
 
@rightfold Awesome idea, how about you put that as a challenge on codegolf or whatever the site is called?
 
@Pawnguy7 You output the current state of your program to a file. Read the file again with a piped sed.
 
user1804599
@FredOverflow I first want to do it myself.
 
user1804599
11:30 PM
@FredOverflow Does it use JIT-compilation?
 
@zch The hardest part was coming up with the idea of maintaining the call stack yourself.
@rightfold No, it uses interpretation :)
 
user1804599
Meh.
 
user1804599
So slow.
 
user1804599
I want JIT-compiled template instantiations.
 
It's designed to be slow; beginners should be able to see Karel in action.
The interpreter is really boring, it contains stuff like:
  case IfThenElse(condition: Condition, th3n: Block, e1se: Block) =>
    if (eval(condition)) {
      executeBlock(th3n)
    } else {
      executeBlock(e1se)
    }
 
zch
11:32 PM
Some diamonds on your picture have numbers on them, what are they?
 
Ell
Nice names
 
@zch multiple diamonds stacked on top of each other
@Ell Well, I couldn't use then or else :)
 
user1804599
@FredOverflow Hmm.
 
user1804599
Y u no compile to bytecode and interpret that.
 
user1804599
Way easier.
 
Ell
11:34 PM
I wouldn't have been that cool, I'd have gone for pthen and pelse
For parameter
 
@rightfold I was actually thinking about that lately!
 
Ell
But yours is better
 
user1804599
@FredOverflow Compile to Java bytecode!
 
zch
Can you link language spec?
 
user1804599
 
11:36 PM
@zch I don't think I have an actual spec. Would you like to see the syntax definition instead? :)
 
zch
Sure
 
@FredOverflow That's silly
 
@CatPlusPlus Okay, let me rephrase: What would be the point of making Karel faster?
 
> fell from 25% in 2011 to 16% in 2010
 
zch
11:44 PM
What is the point of making Karel?
 
Does this make sense to anybody else?
 
@zch to teach programming to beginners
@Pawnguy7 not without time travel
 
zch
Do you think it's practical way of teaching?
 
Yes, I think Karel is the best way to teach programming to novices, because it lets them concentrate on the fundamentals of programming: problem solving.
 
What is the point
Haskell does that
 
11:46 PM
lol no, you need to teach lots of concepts before you can do anything interesting.
 
Fundamentals of programming are not tied to any language
 
zch
I don't know what is the right way to teach programming, but I would rather introduce students to something like Python.
 
Why?
 
@FredOverflow Yes, and I think that's a better way of doing this
 
zch
You rarely need to program robots, that have only program counter as state.
 
11:47 PM
Explain the abstractions, and the language doesn't matter
I was thinking about using Haskell/Python back-to-back
 
@zch also call stack
 
But just Haskell would do, too
 
@CatPlusPlus Sounds interesting, let me know about the results, please.
 
I'll probably never get around to writing that
Nobody will read it anyway
 
@FredOverflow Karel is the name of a former classmate of mine.
He married Sien, from the same class.
 
user1804599
11:54 PM
Yay.
 
user1804599
I have posted almost 50 answers!
 
Even though c++ gets its time functionality from c, it should still be included in c++ books.
 
time functionality?
 

« first day (1118 days earlier)      last day (3845 days later) »