« first day (1821 days earlier)      last day (3182 days later) » 
00:00 - 17:0017:00 - 00:00

Pip
5:01 PM
@MickLH ^
 
oh sorry
@Tyyppi_77 Lets check by assuming the facts and seeing if that implies what we want
    so bisection will find `t` where `f(t) = 0`, so start from your equation
f(t) = cubic_bezier(0, x1, x2, 1, t) - x
    and replace f(t) with 0
cubic_bezier(0, x1, x2, 1, t) - x = 0
cubic_bezier(0, x1, x2, 1, t) = x
 
Pip
you can replace the "$$" with "`"
 
hehe
 
Pip
if that works in a multiline.... I guess not
oh well
:P
 
user92578
@MickLH So it's right, right?
 
user92578
5:07 PM
HMM I might be getting accurate results
 
@Tyyppi_77 Yeah, as long as that's what you want to calculate
 
Jon
checked my latest phone bill, got charged for movies
like, pay per view
CAVEAT, I don't have TV service
 
Pip
lol
 
Jon
I think I might post this on reddit to see if others had similar charges
 
Pip
5:08 PM
That's horrible
 
Jon
This is no laughing matter, the system charged me for something that is not even possible
 
Sounds like the usual, @Jon. I'm almost sure at this point that they just add random charges here and there to get money out of the people who don't notice or are too lazy and/or incapable of fighting back
Literally every single person I know, with every single phone and internet provider, has been able to find some charges somewhere that they did not rightfully incur.
And have been able to get the charges cancelled and refunded over the phone in most cases
 
user92578
What kind of precision limit would I like?
 
@Tyyppi_77 Might as well go to machine precision
Float only has 24-bits of mantissa to fill
 
user92578
So is there a constant I can just query?
 
user92578
5:11 PM
epsilon
 
just do 24 iterations lol
 
user92578
Oh
 
That's not a perfect way to deal with it, it's oversimplifying the situation
But, it's close enough
 
user92578
It exits at my check earlier
 
user92578
if (abs(BezierFunctionCall(x1, x2, c, t)) < FLT_EPSILON) return c;
 
5:13 PM
As expected
 
user92578
at 22 iterations, it seems to find the closest value possible in float space?
 
Floats are non-linear
You lose precision as the absolute value grows larger
 
user92578
Okay, so I did 10 checks using the bezier editor, checking values in the editor and what my code returns
 
user92578
seems to return quite nice results
 
Plot graphs! everyone loves graphs
 
user92578
5:16 PM
I don't think I can render those easily in my game
 
loop() { printf("[%f,%f],", x, y); }
 
user92578
okay
 
copy paste into maxima, plot2d([discrete, [],[],[].....])
 
user92578
the printf data?
 
Yeah, that's the format for plotting a table of data in maxima
 
user92578
5:18 PM
how many points would I want?
 
Pip
100?
 
enough to make it worth graphing?
as close to infinity as you're willing to approximate?
100?
 
user92578
100 might be good
 
user92578
uuum
 
user92578
windows console is not good for this stuff
 
5:23 PM
ouch lol
pipe your output to a file
C:\> GunHero.exe > log.txt
 
@Tyyppi_77 windows console isn't good for much compared to Cygwin
 
user92578
I normally use a custom console, Console 2 I think
 
oh god I'm not relying on Cygwin am I? I could have sworn vanilla windows console can pipe
 
user92578
yeah it can
 
I don't understand how it can feel like so much work, tabbing between windows and typing
And so I'll have to take a break.. by tabbing between windows and typing
 
user92578
5:28 PM
fuck the text is disappearing in maxima when i paste in
 
@Tyyppi_77 I understand if you call fuckits here
 
user92578
the clipboard data is all valid
 
user92578
pastebin accepts it
 
user92578
what the fuck is wrong with maxima?
 
I always use right-click paste
I think the problem is in the wxWidgets front end
 
user92578
5:30 PM
yeah it's still disappearing
 
I get horrible sketchy behavior from all copy/paste operations, but it's minimzed when using the right click menu exclusively
I forgot all the subtle details but it's just programmed into my unconscious at this point
Like moving the I beam cursor thing to home and end and selecting the last character or something
 
user92578
tried restarting maxima
 
Some magical voodoo that makes it accept a paste, or not deselect while copying
It's really, really bad
And restarting never helps, only the voodoo, for me
Sometimes I literally just use the command line version instead
 
user92578
same commands work there I suppose?
 
Yeah everything is the same, except you will get ASCII art instead of rendered math
 
Jon
5:33 PM
apparently a rejected flag design from my province, lol
 
lol
Whoever came up with that flag, should not
 
user92578
hmm the data is not complete
 
user92578
there are a few points missing at the end
 
@Tyyppi_77 do you mean the values are wrong, or there just aren't samples?
 
user92578
it ends at [0.97
 
user92578
5:36 PM
and then nothing
 
user92578
no y value, no closing parenthesis
 
user92578
so no samples
 
meh, sounds like your program maybe ended before the buffer flushed
 
@Jon who the fuck
 
Literally, the only way I could imagine to make that flag worse would be to put a big swastika on it... no even that would just dilute how horrible mosquitoes are
 
user92578
5:37 PM
how do I make the console thing execute?
 
@Tyyppi_77 how do I parse meaning?
 
user92578
like what shift-enter does in the gui app
 
oh, you need a semicolon at the end of every command
 
user92578
oh
 
The GUI adds it for you
 
user92578
5:39 PM
it renders an odd sized plot
 
If it's in a gnuplot window, you can just resize it, and click the button in the top left
It re-draws at the resolution you resized to
 
user92578
the axes are weird
 
user92578
x goes from -1 to 1
 
user92578
y goes from 0.0003 to 0.001
 
uh.. and that doesn't match the range of your samples? that's kinda fucking weird
 
user92578
5:41 PM
yeah
 
anyways, just give maxima explicit range then plot2d(....... , [x, 0, 1], [y, 0, 2]);
Sometimes, it's so hard to stick with this program lol
 
user92578
do the ranges go in the [] or the ()?
 
() like: plot2d([discrete, [x1,y2],[x2,y2]], [x,0,1], [y,0,2]);
 
user92578
now there's nothing in the plot
 
user92578
maybe my data is wrong then
 
5:44 PM
Did you check the numbers in the text you copied.... ?
To make sure they are.... numbers?
 
user92578
yeah, they look valid
 
As in, not all near zero
1.38475364E-16, 0.38745639E-16
 
user92578
[0.000000,0.000000], [0.001000,0.000374], [0.002000,0.000749], [0.003000,0.001126] and then they keep groving
 
alright well screw it, that's good enough
 
user92578
would you want to try if I paste you the data?
 
5:45 PM
sure
 
put another [ ] around your data points
I don't know why maxima is choking without it, but that worked for me
 
user92578
okay
 
user92578
Yup!
 
user92578
5:49 PM
Thank you so fucking much Mick
 
user92578
I never could've done this without your help
 
np, glad we got through it :P
 
user92578
me too... I learned a lot
 
user92578
Not only about these curves but also about tools that I can use for this stuff
 
:)
I already investigated using the closed form solution directly... and that requires you to either 1. implement complex numbers in C++ (ugh) or 2. manipulate your formula to operate in the entirely real domain (ugh)
 
user92578
5:52 PM
Okay
 
I tried the 2nd approach, because it should be shorter code... After some squeezing I got it down to 2 kb of nasty raw C++ with all 3 letter variable names
I basically recommend against it lol
 
user92578
aight that's kinda nice to hear
 
user92578
sorry you had to go trough all that work tough
 
haha nah don't worry, I didn't do much by hand
I've already written tools to do these manipulations
Sometimes I can't get around it, and need a big nasty formula in a simulation
 
user92578
ah that's a relief then :)
 
5:54 PM
I haven't tried implementing Newton's method yet
but that's my knee-jerk reaction to this problem
 
user92578
Right the derivative method, right?
 
Yes
I might even do a higher order householder method
 
user92578
okay then
 
user92578
I really gotta call it a day now
 
user92578
I'll see if it needs / I can do some optimizations tomorrow
 
Pip
5:55 PM
:D
I haven't worked on a programming thing all day.... I probably should at some point
 
user92578
Thanks once again, maybe next time I don't have to be taught everything by practically holding my hand
 
user92578
cya guys
 
peace
Oh, I just realized the secant method should give fast convergence like newton, but without calculus tools
 
Pip
peace
Math way above my head
I'm taking pre-calc next year in school
 
They need to be teaching calculus in the 4th grade
can you imagine real life @Pip? yeah? ok you know calculus at some level lol
 
Pip
5:59 PM
:P
I agree that it should to taught earlier... I don't know about 4th grade though
 
man if I took the time to draw a picture of newton's method... you'd say "Yeah, obviously." and I'm not a teacher lol
 
lol, I just reserved my "Windows 10"
 
I recommend reading "Issac Newton" by James Gleik. Great book, and it's short.
 
don't they know, it's already released and I should be just reserving it?
 
Issac was some kind of fucking weirdo
But he said this: "I was like a boy playing on the sea-shore, and diverting myself now and then finding a smoother pebble or a prettier shell than ordinary, whilst the great ocean of truth lay all undiscovered before me."
 
Jon
6:13 PM
Then he got stung by a jellyfish and said "Fucken shit"
 
He didn't like to tell people about his discoveries... unless it looked like someone else might discover it, and he was loathe to have it look like they found it first.
 
Jon
i think i am gonna try to self finance this next car
not sure if wise
 
what you mean
pay cash for a car?
 
Jon
they have cash discount, but their financing sucks
yeah, pay cash
 
smart
 
Jon
6:16 PM
i have a line of credit
 
getting a loan for an asset that depreciates as fast as a car is not the best thing
paying cash is better
 
Jon
well its not upfront cash
i'd have to pay interest on it
 
oh ok
 
Jon
but its not a lean
 
how much
right
 
6:17 PM
Jello everyone :D
 
lien I think you mean
 
Jon
if you finance through dealership, you have to make minimum payments
if you miss one, they can repo the car
 
yeah
what's your interest rate?
 
Jon
4.4%
its not great, but at 30k, it accumulates about 120$ interest per month
 
not bad for a car, though usually you can get certain cars at 0%
though there's still the lien issue
 
Jon
6:18 PM
Yeah
but the deals are, either you get a CASH incentive, or a great financing rate
i kinda like the cash incentives the more I look at them
 
Well, you're a smart guy you can do that math and see which costs you more :)
 
Jon
i guess i'll have to do math, lol
still not sure what I am getting though
going to test drive in 40 mins :D
 
cool what you trying?
 
Jon
Ford Explorer
 
BIG
we have
 
Jon
6:20 PM
its actually small
 
Turbo
 
Jon
yeah, i am avoiding the turbo
 
love it.
 
Jon
premium gas ain't cheap
 
VROOM
 
Jon
6:20 PM
Also, winters here are insane man
little car like that would get stuck everywhere
 
I'm in MTL
 
Jon
Moncton
 
the car has a computer that kicks ass in snow and ice
 
Jon
just google moncton snow
 
I was driving out into Rigaud with it in the winter, handled it fine
 
Jon
6:21 PM
 
hahah :D
 
Jon
this was last winter, the banks are where the city dumps from main street
last winter was the worst winter we have ever had though
kinda have a feeling it isn't goign to get better
 
Proves no global warming
hahahah
 
Jon
4WD
 
Subaru Impreza AWD
 
Jon
6:22 PM
does the fiat run on AWD?
 
get one of those
 
Jon
yeah i checked out the WRX, then I told myself i was an adult.
 
the fiat is FWD I think
I drove into some deep snow at one point, and it did pretty well
 
Jon
I'm used to a 390HP Hemi
 
the traction control thing works quite well
hahah neato
 
Jon
6:23 PM
sucks to go down
like, test driving 200hp cars, and i'm like... MEH...
Oh
I said Explorer, I mean Escape btw
They make this little Escape thing, with a 220HP 2.0L engine that does 10L/100km
 
I miss 2007. Remember when bloom was a big deal and it was everywhere? Those were the days.
3
 
7:03 PM
@Honeybunch Bloom?
 
too little bloom
needs more bloom
 
thanks
 
any time :)
 
Pip
back
 
7:13 PM
> NRUB'YIGLITH, SHAMEBEAST KING OF GROTESQUERY, WRITHE-LORD OF THE MOIST BEYONDHOOD. Hearing his melodious chirps and tongue-clicks causes one's bones to explode.
Great villain for a video game :P
 
Pip
:D
 
@Almo That doesn't look like an overused post-processing effect to me
 
It's definitely "Bloom" though.
 
7:40 PM
 
@Almo you draw that?
 
hahah no
that's "Bloom" a character from Winx
 
oh
 
someone talked about the bloom visual effect in games earlier
so I started posting pictures of Bloom
even though it's an odd drawing, I'd be happy if I could draw that well
 
wayne barlowe. a great fantasy painter.
quite the inspiration.
Did a work depicting the inferno that is amazing.
 
8:00 PM
another inspiration of mine and a great artist: beksinski.pl
 
I quite like some of Pete Mohrbacher's work.
 
whoa thanks for that.
 
:)
 
I like how the titles were taken from the Kabbalah.
 
@Lokkij wow freaky
 
8:10 PM
Definitely a bit freaky, yeah
 
Awesome, Amplitude is going so well, HMX is putting more money into it, delaying it 6 months and adding more stuff!
 
I would like to incorporate the black mass in some of my works. make a scary game.
 
Rocket LEague's new leaver buster is harsh
games last about 6-7 minutes
first player to leave a ranked game is banned from the matchmaker for 15 minutes
good move, in my opinion
 
Yeah that sounds good
 
played 3v3 today with friends at work
all on voice chat (both teams together)
was great fun
 
8:21 PM
Cobalt looks like a lot of fun to play. watched a video on it recently.
 
8:45 PM
Hey guys! Can you rate/ give your opinion about my ice cream pixel art sprites?
 
I love how all of your art is always happy :D
 
they are great
i hope someday you produce a full video game with total "cute" style.
 
I agree
 
thx guys :D
 
interesting article: gizmodo.com/…
 
8:52 PM
Lol I had this phone when i was in 3rd grade
Then one day it fell out of my pocket on the bus :P
 
:(
 
nokia had a trend phone everyone had. then there was the iPhone.
beeper motorola
smart watches now
amusing to observe market trends
 
@TheMuffinCoder Did the bus break?
 
Since that day, the bus has never been found, legend has it that the nokia phone became hungry and ate the entire bus
 
Haha :P
@Tyyppi_77 Congratz on solving the equation :)
I had one of those Nokias when I was in 3'rd grade:
 
user92578
9:07 PM
Ty
 
Hated the damn thing so much we played baseball with it.. It didn't even break :(
 
I had Sony CM-DX 1000 (in high school)
yes, I'm old as dirt
 
NO COLOUR DISPLAY?! shudders
 
later I upgraded to:
 
@Tyyppi_77 You're welcome
 
9:09 PM
that thing was as tough as 3310, with a 3D scrollable menu
 
Pip
9:40 PM
eyo (again)
:P
 
10:36 PM
 
@ShenRuki Nice beat
 
thanks
 
Jon
11:33 PM
Shen
whatcha making?
 
Today was the first day I used Github, never used git or anything before :D
 
Jon
I bought a fucken car today, lol
 
Pip
Git <3
 
Made a page for my repository
Can u guys see it?
 
Pip
@Jon the tiguan?
 
Jon
11:34 PM
ford escape
 
Pip
@TheMuffinCoder I see "hello github"
@Jon oh cool, how is it?
 
:D yay it works
@Jon is it shiny?
 
Jon
its pretty nice
 
Shininess is all that matters
 
Jon
i got the 240hp edition :)
 
11:35 PM
Seems pretty cool to me :P
 
Jon
thats not it
 
lol i had the wrong paste is this one it?
 
Jon
yep, black
its pretty decent
i'm used to so much more power though, haha
 
Pip
lol
what happened to the old car?
 
Jon
trade in
 
11:44 PM
@TheMuffinCoder Your link is invalid
 
@Hjorthenify my github one?!?!?!
Or the car image
 
Github
It's all black
and I can't visit: themuffincoder.github.io
 
There's more to the link :P u only had up .io
 
@TheMuffinCoder Remove the ':D's from your code
 
+ its suppose to be black =^.^=
@Honeybunch lol where
 
11:47 PM
<meta content="TheLastPastry - Explore generated worlds as a pastry :D" name="description">
 
lol i even had the wrong title
xD i copied my index file from a previous project
 
Also
inline JS is a big no-no
don't do that
 
???? inline js
 
Joe
^ do whatever is fastest to get it working, fix it after
 
wait nvm
 
Joe
11:50 PM
javascript on the page, not in a file
 
Firebug was being cool
 
Lol i dont have any inline js
 
and showing me the contents of your JS inline, it's in a separate file
you're good nvm
 
thx :D
any other tips Honeybunch?
 
@TheMuffinCoder Ah I was trying to see what else you had by accessing the root
 
11:51 PM
xD
 
Just make sure you use IIFEs to make sure you don't leak globals
that's as far as my basic JS wisdom goes
 
Yep :D i'm using typescript to help out with that
 
00:00 - 17:0017:00 - 00:00

« first day (1821 days earlier)      last day (3182 days later) »