« first day (786 days earlier)      last day (4160 days later) » 

12:00 AM
(I have no idea how to do it either. But I thought it would be nice to say that at least once in my lifetime.)
 
I'm doing it fine thanks
 
Dammit.
 
The solution is to go to mathworld.wolfram.com/Determinant.html and then write the same thing in your code
 
@CatPlusPlus The problem with inverting a matrix isn't speed -- it's that getting an accurate result is often problematic. For your image transformation you may not need a lot of accuracy though.
 
But the other one is needed too so
Assignment says to invert
So I invert
I'll probably screw coefficients somewhere
So many little details
 
12:03 AM
@CatPlusPlus I keep forgetting you're in the "stupid classes" mode, not "develop decent code" mode. Sorry 'bout that (both about forgetting, and what you're forced to do).
 
@CatPlusPlus, have you ever did it for 5x5 matrixes manually? it's even worse...
 
man
 
user142019
dog
 
I spent 20 minutes trying to figure out why my tutorial did not pick up the changes from the master page
pro tip: if you want it to change when you change the master page, it needs to be a content page of that master page...
 
@Jeffrey No.
Doing it manually ever is stupid
 
12:08 AM
Informatics test are like that here in Italy... so stupid indeed...
 
I'd rather be flying spaceships right now
 
Aren't void pointers like cheating on the strong typing philosophy of c++?
 
user142019
lol c++ and strong typing
 
@Jeffrey Kinda, yes.
 
@Zoidberg'--, what about them?
 
12:15 AM
for std::is_base_of, does the base come first or second?
 
user142019
The base comes first.
 
user142019
Frames are terrible and obsolete and deprecated and provide a bad UI.
 
Oh god, flashmobs are so cute.
I feel so much gay some times...
 
Dammit I've been sitting on my knees for too long again. Now my sleeping leg feels like it's dying.
 
user142019
Walk on a cold floor.
 
12:18 AM
@Jeffrey Cold floor? My floor is roughly 16 degrees celcius.
 
user142019
Try colder. Go take a walk outside in the snow.
 
user142019
Also reply fail.
 
user142019
Also star fail.
 
How do I make my floor cold? Are you sure this is the most cost-efficient approach? Wouldn't things go quicker if you allowed me to kill someone?
 
:(
 
user142019
12:20 AM
@StackedCrooked well, killing yourself solves the problem.
 
@Zoidberg'-- That's the cleanest solution :D
But I'm against suicide.
 
user142019
Depends on how you do it.
 
user142019
If you shoot yourself, it’s probably not that clean.
 
@Zoidberg'-- If you hire a professional cleaning team then it
goes quite smoothly.
 
user142019
They would be in shock.
 
12:22 AM
Today you can hire cleaning ladies tax-free. If the system hasn't been abandonded again at least. (Wait that was back in 2002..)
Alright.
 
I think that seeing all those people so happy to dance, makes me feel happy too...
I'm no psychologist though....
 
You don't need to be a psychologist to discover that happy music and dancing elevates your mood.
That's just how it goes.
 
The fact is that I hate that kind of music, I'm more like a Pink-Floyd/Led-Zeppelin/The-Who kind of person...
 
scala> val n = m.translate(3, 3).scale(2, 2)
n: Matrix = [[2.0, 0.0, 0.0], [0.0, 2.0, 0.0], [6.0, 6.0, 1.0]]
scala> n
res30: Matrix = [[2.0, 0.0, 0.0], [0.0, 2.0, 0.0], [6.0, 6.0, 1.0]]
scala> n.invert * n
res31: Matrix = [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]]
scala> n * n.invert
res32: Matrix = [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]]
 
But if that kind of music makes people that happy (and no I don't mean by pills), I kinda like it even more
 
12:27 AM
I think that's your own prejudice.
 
Well, look at that, I didn't screw up coefficients
 
Indeed.
 
I did screw up multiplication and cloning, though :haw:
 
@CatPlusPlus, is it Scala?
 
No, I've set my Haskell prompt to scala>
 
12:28 AM
I'm not here.
 
oh
 
(Yes, it's Scala)
 
Dammit. I'm so stupid.
2
 
I fixed multiplication and cloning already
 
user142019
hASKELL <3
 
12:29 AM
But it didn't work
 
Haskell < 3?
 
I forgot to deep-clone arrays, and multiply code was all wrong
I'M VERY BAD AT MATRICES
 
user142019
import Prelude hiding ((<))

data Language = Haskell | C | Erlang | Python

(<) :: Language -> Int -> Bool
Haskell < 3 = True
 
Well since I don't know Haskell I could have believed that...
 
Rotation by 360 degrees isn't identity, inaccuracy ahoy
 
12:32 AM
Rotation by 360 degrees is also known as full retard iirc.
 
It's 1:30 and I just finished implementing the damn matrix
I still have to implement actual images
And UI to manipulate the damn matrix
 
user142019
Is it for school?
 
No, I do this sort of things at 1:30 for fun
 
I see.
 
24 mins ago, by Cat Plus Plus
I'd rather be flying spaceships right now
 
12:33 AM
@CatPlusPlus, you are some kind of sarcasm genius...
 
Your mom's contradiction
 
Does your mom miss me already?
 
user142019
 
@Jeffrey It's not that hard
 
@CatPlusPlus, it's not that funny either...
 
I have a lot of fun with it
 
@StackedCrooked Does the HD image make the sound better?
 
Ooh, it's a cold war.
 
12:37 AM
@Borgleader Definitely!
 
TIL sound quality scales with pixel count.
 
At least the sound from 360p to 720p is a huge difference. It's harder to judge the difference between 720p and 1080p.
@Borgleader Do you have ears?
 
user142019
Fuck you C++ I want to name my function register. With your useless keywords nobody even implements.
 
I love cats too much and I'm too young to start a war...
 
@Zoidberg'-- You can do that. It just won't compile.
 
12:38 AM
I was just saying
 
@StackedCrooked Ears? Why would I rely on such flawed tech
I'm a cyborg remember?
 
I had that kind of sarcasm-only behavior too, and it was fun, but I had enough... :)
 
@Zoidberg'-- Btw, I kind of liked the intro to your song but after that I didn't find it to have a strong impact.
I'm reminded of Rammsteins "Du Hast".
 
user142019
Rammstein is funny.
 
user142019
12:42 AM
Hmm I found this gem I wrote a month ago. pastebin.com/BYDFQqSf
 
user142019
Stupid syntax highlighting sees non-comments as comments. T_T
 
@Zoidberg'-- I say we go back to Fortran, where nothing is reserved. if if .eq. then then then = else else else = endif endif No problem!
 
user142019
1 = 2
 
user142019
:D
 
I like how this song called Fok jullie naaiers can be translated as "Fuck you fuckers" in English.
 
user142019
12:44 AM
 
@Jeffrey queued
 
user142019
Oh how Qt.
 
I'm like a sexy lady.
 
user142019
What is it with Rammstein and fire?
 
12:47 AM
@Zoidberg'-- Maybe you're on to something big.
 
Ell
Damn I'm depressed again :(
 
@Ell :( why?
 
Ell
I don't even know :/
 
user142019
@Ell have a beer, learn Haskell and relax.
 
Ahahaha I can't press "run" and have it run when I'm on a different source file than one that contains main class
Eclipse is so bad
 
user142019
12:48 AM
@Ell then why worry?
 
Ell
I don't know, its not a rational thing :/
 
@ell, have a tequila...
 
Ell
i tries to learn Haskell and decided it was bad :P
 
user142019
Sep 5 at 16:14, by Etienne de Martel
user image
 
12:49 AM
lawl
 
user142019
@Ell WHAT THE HELL IS WRO#&*$*@%@%&#
 
Ell
I like that poster thing
 
user142019
:P
 
Ell
haha
 
user142019
It’s hailing in Schijf.
 
Ell
12:51 AM
I think I'm going to sleep now, talk to you guys tomorrow :)
 
Ahahahahaha holy shit now it doesn't want to run at all
Fuck you Eclipse
 
night
 
This is also a classic tune. You might, or might not recognize it.
 
user142019
 
user142019
@StackedCrooked I recognize that. It’s awesome.
 
12:53 AM
It's from your country.
 
I love how people just don't give a fuck when some people dance right in the middle of a public center...
 
user142019
Belgium is the best country in the world. Well, Flanders.
 
@Jeffrey You seem to have taken a liking to that song.
Honestly if something like that happens during shopping season people are likely to think that it's just some kind of "modern" entertainment and walk on.
 
@StackedCrooked, yeah you know, those days when ear that particular song and for the rest of the day you just think "Hei, why don't I listen to it again?"...
... and then from the day after on you jusy hate it...
 
I have experienced that.
It doesn't always lead to hate though.
 
12:57 AM
@StackedCrooked no indeed
 
@Jeffrey No, I really don't -- but if I did, I'd also have an answer: because there are about 100 million other songs that are all better (or did you mean in general, not just about that particular bit of mediocrity?)
 
@JerryCoffin, then you don't let music takes your heart properly...
 
@Jeffrey Your failure to recognize better music doesn't mean anything about my heart. :-)
 
Good music is not about how many notes and how complex a symphony is or how much skills does it take to make it, it's about how it moves your heart...
 
1:02 AM
@StackedCrooked, I'm too overheated by that other song to listen to it carefully, sorry.
 
Never mind.
Forget about it then :)
 
I just took my digit torrent server offline. Had it running for almost 3 years.
 
how much traffic did it generate? :)
 
@melak47 At least 10TB.
In reinstalled utorrent once.
So the records of it before are gone.
 
@Jeffrey Nothing that says you can't have both.
 
1:05 AM
@Jeffrey You mean like this song?
 
It had been hogging 2.5TB for a while.
 
@StackedCrooked, wow, you made me forget about that song, thanks...
 
I made you forget about that song?
 
damn
can't get this to compile
 
Try harder then.
 
1:07 AM
give me a hand :P
 
The text doesn't appear..
 
user142019
 
huh
so it doesn't
must be a LWS bug?
 
@JerryCoffin, that's right
 
Yeah. Even though the code is in the html source.
 
Xeo
@StackedCrooked Woah, wait, that might mean the old snippets are still alive!
 
I don't know what's wrong with me but I love piano based music these days.
 
ohhhhhh
I see it
 
Xeo
@StackedCrooked Wait, were exactly?
 
@Jeffrey I'm always left cold by recordings of piano -- even on the best of equipment, it never sounds right. In this case, that's compounded by nearly constant (if fairly low-level) background noise. I can't quite get past the problems in the recording, and into the music itself.
 
1:12 AM
    return static_cast<Derived>(this)->size();
epic fail
should have looked more closely at the call stack
 
@Xeo Or at least something that resembles it. There is certainly a main function in there. But perhaps that is just the sample code.
 
Xeo
@StackedCrooked Yeah, those are samples.
 
Dammit :(
I guess it's risky to trust these services with your code samples.
 
Xeo
> <!------ code templates ----->
Yeah
Never know if they do backups and what happens when their servers blow up.
 
@jeffrey nothing wrong with you, i love piano too
 
Xeo
1:14 AM
Encoding the source in the URL seems safer...
 
@Jeffrey I think you may have a chemical imbalance in your brains. Just kidding :) Btw, I like this a lot.
 
@JerryCoffin, never noticed that problem but now that you tell me, I see what you mean
 
user142019
Except moronic IE cannot handle large URLs (at least not in older versions).
 
@StackedCrooked, yeah that might be an explanation of few other problems I have ;)
 
well then
a bit of formatting and I'll have written my first new tutorial in a while
 
1:16 AM
@DeadMG, about...?
 
expression templates
 
Eclipse is now showing errors where there are none
Approaching VS level of quality tips
 
@Xeo My idea on the design of coliru is to provide the basic functionality as webservices. This way the html pages are simply client applications. You can just as well compile your program using wget -q -O - stacked-crooked.com/compile --post-file=main.cpp`. The same goes for saving and retrieving the shared code pastes. For the pastes I would like to delegate storage though.
 
user142019
How do I become a good programmer?
 
Currently the pastes are occupying 22 MB already.
 
user142019
1:20 AM
@StackedCrooked Compress them.
 
@Zoidberg'--, programming?
 
@Zoidberg'-- By selling your soul to the devil.
 
user142019
@StackedCrooked good idea, I never use it anyway. How much does he usually give for it?
 
@DeadMG, may I try to read it?
 
@Zoidberg'-- Wow, that would never have occurred to me :P
@Zoidberg'-- Nothing. It's a sham.
 
user142019
1:21 AM
@StackedCrooked Then forget it.
 
user142019
@Jeffrey but if you do something in a bad way and you don’t know it’s bad you’ll never improve it.
 
@Zoidberg'-- That's why it's important to consult programmers that are better than you are.
 
@Zoidberg'--, someone will eventually beat the shit out of you for your mistakes...
metaphorically speaking ...
 
user142019
@StackedCrooked I guess the best programmer is pretty screwed then. :^)
 
user142019
@Jeffrey good idea.
 
user142019
1:23 AM
I should also be on Code Review more.
 
Xeo
@Zoidberg'-- You should notice bad code yourself, as soon as it starts making problems. :)
 
@Zoidberg'-- He doesn't know. Don't tell him or the whole system will collapse!
 
Yeah, code review was some kind of a good idea at first, but now I feel like it's dying...
 
user142019
I have a few questions and answers there.
 
Code review is helpful if the people reviewing it are competent.
 
1:26 AM
@StackedCrooked, yeah, I guess that's the main problem...
 
I had a code review where the reviewer told me that I should check if pointer is zero before deleting it...
 
user142019
lol
 
Last time I checked most of the accepted answers were like "All good bro!"...
 
user142019
This was the first program I wrote in C++ (as opposed to C with Classes). codereview.stackexchange.com/questions/7362/…
 
1:31 AM
@Jeffrey female?
 
@StackedCrooked yep, that's exactly what I meant. You finally took the word out of my mouth
 
Thought so.
Lol, I'm kidding.
 
Yeah I know...
 
I know you know.
 
Trust me, that's not so obvious...
 
user142019
1:33 AM
I’m going to write hangman in Haskell.
 
@Zoidberg'-- Aim higher dude.
 
user142019
?
 
Hangman is too easy.
 
user142019
What else is there to write?
 
@Zoidberg'-- a slot machine
 
user142019
1:39 AM
I’m almost done with my hangman implementation in Haskell. xD
 
Yay, I so very carefully made my matrix class immutable and then wrote the rest of the code as if it were mutable
 
Lol, you have split personalities working on different parts of the program?
 
Fuck
I should have done this earlier
(Says EVERY FUCKING TIME)
 
This was the second thing I've actually coded... it was far from complete but at least it was something...
 
user142019
1:52 AM
Okay hangman is done.
 
user142019
Though it’s not the most elegant code.
 
user142019
It’s pretty horrible, actually.
 
Murder is never elegant.
 
user142019
 
user142019
And it always uses the same word.
 
1:53 AM
Anyway, it it works, then you better than most programmers.
 
user142019
And there is no maximum number of guesses so you cannot ever lose.
 
user142019
It’s terrible.
 
This is the first thing I coded the first day of my "Let's learn c++".
 
user142019
I should really split it up into multiple functions.
 
Ahahaha it's actually worse, I have no idea what the fuck this code was supposed to do with that matrix
 
user142019
1:55 AM
daknok% ghc Main.hs && ./Main; echo                                   ~/Desktop
You lost, you idiot. The word was: hello
 
user142019
I DIDN’T EVEN ENTER ANYTHING YOU PIECE OF ##$#^&&^%&^#%^&#*%
 
user142019
Or is 0 >= 8 these days?
 
If it compiles it probably works. Unless you are an absolute moron :D
 
user142019
Oh it works now.
 
user142019
Version 2.0. New feature: you can now lose. pastebin.com/qnMzrC5H
 
1:58 AM
Ah at least it lives up to its reputation.
 
@Zoidberg'-- It might be in Java :P
you never know! it's a surprise :)
 
user142019
Let’s write distributed hangman in Erlang.
 
user142019
In Erlang you’d actually have a process that generates random numbers, a process that keeps track of the guessed words and a process that gets input and shows output. :P
 
2:16 AM
Ok guiz, I have to sleep... night everyone
 
user142019
A vastly improved version of hangman. pastebin.com/YMu82ij9
 
Great strides.
I don't know enough Haskell to know whether it's right or wrong though.
 
user142019
No wait, guess does too many different things.
 
user142019
This one’s better. pastebin.com/7DCjukPT
 
user142019
@StackedCrooked me neither. xD
 
user142019
2:28 AM
gist.github.com/4248030 has more decent highlighting.
 
@Borgleader lol (it's funny as a reaction to the original statement)
 
user142019
 
Cat would say that it's a terribly awesome programming language.
 
user142019
When do you sleep?
 
Xeo
2:48 AM
@Zoidberg'-- I think I understand what it does, except for the ReaderT stuff. :s
 
user142019
@Xeo Reader basically holds immutable data so you don’t have to pass the parameters all the time. You can get that data with the ask function.
 
user142019
As for ReaderT, that’s a monad transformer so I can do I/O using liftIO and the IO monad.
 
Wait a second, is there anybody knowing OpenGL here?
(Hi everybody again...)
 
user142019
@Jeffrey read the room description.
 
JTA
lol
 
2:51 AM
lawl
Ok then: are the shaders purpose just to define the position and color of a pixel?
 
50 shaders of gray
 
user142019
50 Shades of Gay
 
user142019
 

« first day (786 days earlier)      last day (4160 days later) »