« first day (1227 days earlier)      last day (3737 days later) » 

9:02 AM
In assembly, nothing is obvious. — 11684 Feb 17 at 14:00
I agree
 
user1804599
Fuck you Chrome you piece of cuntsucking dogshit.
 
user1804599
What a worthless horror.
 
O.o
 
@rightfold yea Chrome has got really bad
 
@rightfold now now
 
9:08 AM
@jalf when do I get my tasty/foul sweets?
 
user1804599
What the fuuuuuuuuuuuck.
 
This is like Lounge<Hyperbolic emotions>
 
user1804599
for (var x = 0; x < canvas.width; ++x) {
    for (var y = 0; y < canvas.height; ++y) {
        if (x > 1000 || y > 1000) return;
    }
}
 
user1804599
How can this possibly be an infinite loop?
 
user1804599
The width and height are both 320. :S
 
9:09 AM
somewhere you are doing something wrong
 
@thecoshman ack sorry, soon!
 
@rightfold operator overloads... but I'm going to assume you are using a language that does not support those
 
its never going to be > 1000
 
@rightfold maybe it's just too-slow-loop :P
 
@TonyTheLion then it should just do 320*320 iterations of the if check.
 
9:10 AM
@rightfold I imagined you stepping through the debugger more than 320^2 times.
 
user1804599
lol
 
user1804599
320*320 is not very much.
 
@MarkGarcia lol
 
I don't want to see your production code, if this is suppost to be the weirdest way to produce a stackoverflowsehe 8 secs ago
 
@thecoshman yea combined, but afaik, that doesn't mean that x or y are by themselves going to be > 1000..
maybe I've gone dumb
I'm in a dumb mood
@sehe hahahaha
 
user1804599
9:11 AM
And even then, it’s no excuse for Chrome to gather all memory it can and slow down everything.
 
@TonyTheLion no... so it will just fool through after the loops
 
I've gone dumb
 
@rightfold ¬_¬ are you sure all you are doing is that if statement?
 
@rightfold ditch Chrome, problem solved
 
@MarkGarcia maybe he uses a CLI client
 
9:12 AM
tadaaaa
 
@TonyTheLion inb4 customers
 
no one cares about them
:P
 
no, but they still pay the bills :P
 
user1804599
@thecoshman Why would I show code here that is not my real code?
 
9:13 AM
because...
 
@rightfold then why are you even looping? just do the if(img.width > 1000 || img.height > 1000)
 
user1804599
Because I am going to add more stuff later.
 
user1804599
But it already broke.
 
@rightfold Later huh? :P
 
vOv scale it down. use a much smaller image, have that if check for smaller than image.
 
9:15 AM
@11684: I find the opposite to be true: in assembly, everything is obvious because nobody can use abstractions to hide what their code is really doing. — Mason Wheeler Feb 17 at 20:06
what a fucking retard
 
oh gawd :/
 
@rightfold works fine in my chrome if I replace canvas.width/canvas.height with 320. Does it only break if you use the canvas object?
 
user1804599
Wee. It works.
 
Ew, no weeing in here
 
@TonyTheLion he misspelt "pure languages" as assembly
 
9:16 AM
@rightfold so what did you do wrong?
 
ITT Chrome has UB
 
@BartekBanachewicz His wife saying "I'm pregnant" isn't obvious. Only when she explains the reproductive process will he understand.
 
ITT chrome has this
 
user1804599
@thecoshman too much iterations and using Chrome.
 
@rightfold wee o wee
 
9:19 AM
@rightfold tut tut, s/uch/any/
 
too much iteration
 
wow
such iterations
etc
 
@rightfold so you had to reduce the number of iterations?
@jalf so much reiteration
 
user1804599
@StackedCrooked Yeah.
 
user1804599
It works now. :D
 
9:22 AM
you have an error for that middle arrow. It should just be a dot.
 
user1804599
Although I should flip the canvas on the horizontal axis.
 
@rightfold I don't know what that is, but it kinda looks cool.
 
@rightfold ew mutating state in the modified prototype method
ew ew ew
 
@rightfold Cool.
 
user1804599
@BartekBanachewicz I don’t know how to get the current point.
 
user1804599
9:23 AM
@StackedCrooked It is a visualisation of a vector field generated from the function function(point) { return { x: point.x / 10, y: point.y / 10 }; }.
 
@rightfold you can't, it's JS.
 
user1804599
If I change it to return { x: 5, y: 5 }; all arrows point in the same direction and have the same length.
 
I don't get why you need to rely on that anyway
 
user1804599
I should make it a free function but :prototype: (pun intended).
 
oh lol
JS isn't very good when you're out of prototyping stage anyway
 
user1804599
9:25 AM
Hmm.
 
that's why all objects are prototypes.
 
user1804599
context.scale(1, -1);
 
so... what happened to lounge chat? @cat are we just going to take that doo hicky I found?
 
user1804599
 
user1804599
Next up is animation.
 
9:27 AM
@thecoshman I don't know
 
@rightfold was going to say; make it like your mouse is a bar magnet, and those arrows show the magnetic field.
 
user1804599
@thecoshman :O
 
@CatPlusPlus ... did you look at that doo hicky I found?
 
A what?
 
that Erlang XMPP server
 
9:28 AM
Oh, yes, I know ejabberd
 
... and your thoughts are?
 
I wanted to deploy XMPP on loungecpp dot net regardless of chat plans
 
@TonyTheLion just be glad I didn't use the Irishism 'yolk' :P
 
I just want auth first
 
9:29 AM
@CatPlusPlus and does ejabberd cut the mustard?
 
but lacks...?
 
mustard
 
Nothing? I don't know what you're asking me
 
I just spent 10 minutes trying to merge branches because I couldn't believe it "just worked" -.-
I feel like veryfying calculator output on paper now
 
9:32 AM
I just spent 10 mins being terrible.
 
@rightfold now multiply your vectors with a matrix :p
 
@CatPlusPlus well, I'm somewhat confused how you could know about ejabberd, and yet not mention it whilst we were talking about implementing our own XMPP server
 
user1804599
@melak47 I was thinking of that yes but I need to write a vector type for that not to be terrible.
 
I never said anything about implementing an XMPP server, and I'm p sure I mentioned ejabberd more than once
 
@BartekBanachewicz ¬_¬ if you didn't get a conflict, you can't of merged anything... it just doesn't make sense.
 
9:33 AM
@rightfold what are you doing anyway
 
@CatPlusPlus maybe you did mention it, but I never saw such mention of it.
 
Many conflicts can be autoresolved
 
@thecoshman apparently I structured my changes well vOv
okay so I want dedicate this post to say FUCK YOU CABAL STOP RELINKING SHIT
 
so is it more or less just a client to be chosen and a way of authenticating uers that we need now?
@BartekBanachewicz nah, can't be :P
 
9:34 AM
ugh, fix that font
is this lounge chat? :v
 
> I never saw such mention of it.
@melak47 yeah :D
 
@melak47 it's his userscript
also hi
 
@melak47 I did!
This is the fixed one
 
hmmm what should I add now to Glisha
 
well, it looks ugly. :c
 
9:36 AM
got keyboard and yellow triangles
 
@CatPlusPlus Are you sure its the one you want, because we all remember how you are with getting the font right? :P
 
@BartekBanachewicz aw, I was gonna ask if that is like smorgasbord, but then you fixed it :p
 
user1804599
@melak47 playing with canvas.
 
oh, wait. how does jsfiddle work, did I just fiddle with your thing? I didn't fork :E
 
9:43 AM
@melak47 lol, fiddled with his thing
 
@thecoshman they didn't fork though
 
>_>
@rightfold if I'm messing up your code in your jsfiddle, let me know :p
 
user1804599
@melak47 such maths wow jsfiddle.net/NH47R/6
 
hmpfh
module Glisha2D (Module Control.Monad.State) where
is this invalid?
 
user1804599
9:47 AM
I should subtract the position of the canvas in the document from the mouse coordinates.
 
@rightfold oh, it has revisions and stuff. good
 
I'm getting "parse error on Control.Monad.State"
 
:v
Conrol :v
 
user1804599
Better now.
 
oh FSS
@melak47 lol not that. second "Module" started with uppercase ._.
 
9:49 AM
@rightfold even better now :v
 
user1804599
Nice. :)
 
@rightfold how can I reexport one module without explicit export clause?
if I write just what I want to export it will hide all my code :/
 
user1804599
@BartekBanachewicz in what programming language?
 
vector field plots are neat :)
@rightfold looks like haskell
 
user1804599
You can do module MyModule ( module Foo {- re-exports everything from Foo -} ) where.
 
9:53 AM
@rightfold but that hides everything that's below "where"
 
user1804599
I have no idea how this works; never done it.
 
user1804599
@melak47 Tonight I’m going to librarise it and make it so that vectorProvider can receive a time as second argument, along with setInterval for animation.
 
@StackedCrooked tell me when you watch the latest OP episode, I have a theory :P
 
wth is a vector provider anyway :p
if it takes a vector and gives a vector, just call it vector field? :v
 
for fucks sake
 
user1804599
9:56 AM
@melak47 it provides vectors. :D
 
@rightfold next you can do streamlines :D
 
user1804599
Jup.
 
user1804599
But I want to get this working first, and then in 3D with WebGL.
 
user1804599
Also colouring.
 
@rightfold you can do 3D on canvas
 
user1804599
10:03 AM
WebGL uses canvas. :v
 
@rightfold i meant using canvas api
 
user1804599
I want WebGL.
 
user1804599
I think the most difficult will be drawing the arrows. :v
 
@rightfold why? use tetrahedrons and lines and you're done
 
man... does it get easier to think of functional languages '=' meaning the same as maths and not just assignement o_0
 
user1804599
10:06 AM
@BartekBanachewicz also a 3D rectangle.
 
@thecoshman it's way more natural
@rightfold what rectangle
 
user1804599
For the tail of the arrow.
 
user1804599
I don’t want to stretch the arrow heads.
 
then use lines
 
@BartekBanachewicz not questioning that, wondering if it gets easier to think about. I am right though, it is better to think of it as an equation more so than assignment.
 
user1804599
10:08 AM
That may work fine, yup.
 
@thecoshman mhm
 
user1804599
Can I set their fatness?
 
@BartekBanachewicz ... is that supposed to be an affirming noise?
 
@thecoshman mhm
 
@rightfold gl lines? yes, as you are using WebGL aka crappy old GL :P
 
10:08 AM
@rightfold yes
@thecoshman WebGL 2.0 is ES 3.x
FYI
 
@BartekBanachewicz you realise that doesn't clarify anything :P
 
@thecoshman mhm
 
@BartekBanachewicz not latest aka crappy old :D
 
@thecoshman what?
 
@BartekBanachewicz WebGl is not inline with the latest gl spec, thus old and crappy :S (I am being a silly billy)
 
10:10 AM
1 min ago, by Bartek Banachewicz
@thecoshman WebGL 2.0 is ES 3.x
 
:S installing stuff on raspberry pi is so slow
 
get a faster computer :p
 
ES 3.x is the latest GL|ES spec.
 
@melak47 ...
@BartekBanachewicz old and crappy XD
 
what. the hell. are you talking about.
 
10:12 AM
O&C
 
@thecoshman It's not really. You can't do a Prolog-esque b = 5; a + b = 10; print(a);.
 
I should code something in Prolog.
 
streamlines so prettay
 
user1804599
Should I pass GL_LINES to glDrawArrays?
 
10:13 AM
@BartekBanachewicz ugh
 
@melak47 it's cool!
 
maybe I remember it differently because we had to use it in school :p
 
@rightfold mhm
 
user1804599
Ok. :3
 
@DeadMG yeah, equations. b is 5, we have stated that as fact. a+b=10 is the same as a=10-b which is a=10-5. vOv maths
 
10:14 AM
@melak47 we had to use it too. But at the end of the semester I really enjoyed using it.
@thecoshman what prolog does is kinda equation pattern-matching
 
@BartekBanachewicz Weirdo
 
you can't pattern-match on + in haskell :(
and prolog is a declarative, not functional language
 
aren't functional languages declarative o_O?
 
I like the idea of a logic language like prolog. It's just the actual implementation and syntax and everything of prolog that drove me nuts.
 
user1804599
10:16 AM
@BartekBanachewicz you could do that in the past, but they removed it from the language.
 
I thought Prolog is a declarative language based on first order logic
 
@rightfold I think I know why.
 
user1804599
It was called k+n patterns, IIRC.
 
@ScarletAmaranth well not really. A bit.
 
user1804599
In Erlang you can pattern match on binary data. :3
 
10:16 AM
@rightfold sounds interesting
 
@rightfold numbers man, numbers
 
user1804599
It has stuff like endianness, bit sizes and signedness for that.
 
user1804599
This is cool. :3 jsfiddle.net/NH47R/11
 
user1804599
Hmm, this test took 6.66 seconds. I guess it’s because #PHP.
 
@rightfold a bit bugged though
 
10:20 AM
@BartekBanachewicz mmm, sometimes categorizations are fairly arbitrary
 
@ScarletAmaranth okay, I'll give you that
 
user1804599
@BartekBanachewicz probably.
 
@rightfold make them strength stronger the faster the mouse moves
@BartekBanachewicz how so?
 
user1804599
@thecoshman What? Do it yourself.
 
10:21 AM
@thecoshman they "click"
 
user1804599
@melak47 Funky.
 
moar pies!
 
@rightfold well, if you can't do it :P
@BartekBanachewicz ?
 
when you move above a row the arrows in it change sign
 
@thecoshman the ones along +x can't decide whether to point up or down :p
 
10:22 AM
that shouldn't happen
anyway
I've fixed my modules, I think
 
user1804599
It should happen.
 
user1804599
Mouse coordinates are integers.
 
user1804599
They are not contiguous.
 
it should never happen in a vector field
for a continuous input function, the output function for every arrow should also be continuous
well, at least it looks badly when it clicks vOv
 
user1804599
It is not continuous.
 
user1804599
10:29 AM
Because the mouse coordinates are not continuous.
 
they are. Should be.
anyway, I need more samples for glisha
maybe I could make a pong clone
oh or arkanoid
hm arkanoid might be a bit hard, but the equations are rather simple
let's try
 
user1804599
@BartekBanachewicz not in the domain that is the set of real numbers.
 
@A.H. Soon. Waiting for one last final entry.
 
I hope you are not waiting for me
 
@R.MartinhoFernandes when do we get the results of jam votes? :F
 
10:37 AM
I have been distracted by too many things these 2 days
 
@BartekBanachewicz Not everyone has voted yet! (Meaning, me :P)
And some people that don't visit the lounge often on weekends, maybe.
I'm leaving it up until Wednesday.
 
user1804599
You can already see the results of the special award votes. docs.google.com/forms/d/…
 
@R.MartinhoFernandes okay
 
My grandma has just passed away and one of my close friends is going to have a 12 hours surgery to remove cancer lumps. Not the best week ...
 
hmpfm
I think I should need pixel-based coordinates
 
10:43 AM
I love the smell of failing GPUs in the morning
 
@sudorm-rfTelkitty Yikes :(
 
okay, time for me to go to classes
after all, new semester starting today
less than two semesters to go!
 
lol, just noticed the Erlang version in the Eshell, you can tell it's an Ericssons product
 
user1804599
 
10:57 AM
the mouse.x is calculated off by one :P (is that what bartek was saying?)
 
user1804599
Wait, it’s borked.
 
user1804599
This one is better. jsfiddle.net/NH47R/14
 
factorial(0) -> 1; <-- shouldn't that end with a period? (erlang)
factorial(N) -> N * factorial(N-1).
¬_¬ fucking shitty lack of markdown support
 

« first day (1227 days earlier)      last day (3737 days later) »