« first day (2701 days earlier)      last day (2472 days later) » 

00:00
20ft lever, a fulcrum, and body weight. boom
user2620028
2ft lever would be enough
20 is better
@HatterisMad yeah, I did weigh the fix is vs new parts, and tbh the new parts was the cheaper/safer option
Some of the bolts and washers got dinged up so I felt best to just replace it
user2620028
@sterling when you tried to put a lever on the end and bend it, were you trying to bend it towards the bike?
I have no idea how I'm going to install these engine mount frame sliders though... I have the park stands, but nothing for the engine block to rest on when the bar comes out
@HatterisMad yes
user2620028
00:01
flip it over and put it on backwards and try to bend it away from the bike might have given you more clearance to really put your weight into it
user2620028
also make sure to secure bike to floor first :P
his bike is fixed for not a lot of money. kinda too late to naval-gaze
user2620028
@Luggage just giving him ideas for next time
let him enjoy his victory of fixing his own bike :)
I know he's not being condescending :)
user2620028
00:02
i don't mean to detract from it, im glad he got it back into a rideable condition :P
He helped with a lot
I feel ya b!
user2620028
woah woah hold up
user2620028
im helpful?
pump your brakes boys
user9387976
hello
user9387976
00:03
guys
user9387976
i want to apologize for my words
welcome back.
user9387976
earlier
You really went all out with that username didn't you
user9387976
u texting to me
user9387976
00:04
?
Your time is served. We can do a clean slate.
user9387976
thx
user9387976
:)
user9387976
appreciate it
they should call us the fabreeze brothers
because it's so fresh
user2620028
00:05
@SterlingArcher just saw this message, i was actually thinking about getting frame sliders too, i would definitely put a jack under the engine before you even think about removing that bolt
@HatterisMad without a doubt, I don't have an engine jack though, maybe somebody local does
user2620028
and in all seriousness, that bolt isn't coming out unless you relieve the weight of the engine from it
Ohhh yeah
user2620028
just use a low profile automotive jack, i just used my 3 ton jack for the car to support mine
user2620028
but also check the bottom of your engine to see if it is flat, mine is a v shape and it proved to be a bit of a bitch to get a jack on
00:07
I think my exhaust pipe runs right under the bottom, I'll have to double check. If it's flat, I suspect the jack from my S4 will suffice with my stands
user2620028
@SterlingArcher i did it with my exhaust off yeah
I'm not sure if I'm ready to remove my own exaust
though that would be so much easier to clean and make sparkle
All that's left for a fresh summer is oil change and make sure the radiator is solid. and a bath
Though I suspect next winter I'll need a chain/sprocket replacement. That was the only rusty bit.
Mmmm maybe not rusty, but def oxidized
have you been lubing the chain?
Yup, about once a month
@rlemon It was magical
user2620028
00:15
@SterlingArcher the exhaust isn't hard to remove, it isn't like a car exhaust that can and will fight you at every turn
user2620028
just undo two bolts on each cylinder where the exhaust meets the block and then the exhaust is removed :/
user2620028
you don't need to do anything special to it lol
user2620028
i just got my tank repainted today, and i get to ride my bike year around here :D
Good morning
user2620028
@sterling i just looked and i actually have a pic of my jack holding the engine in place in the frame when i was rebuilding my bike :P
user2620028
oh wow you stripped her down
00:35
It frequently seems that Harbor Freight has the jack market down pat
Crotch rocket
Even when you've got a shop that's decked out with Snap-On or Matco, there is always a Pittsburgh jack laying around
@ndugger actually it's just a standard lol
mosnter 696, right @HatterisMad?
Standards are basically crotch rockets
lol not even!
00:37
Yuhuh
Ever seen the pegs on a hyabusa? they're so far back you're like laying down
Cruiser or gtfo
user2620028
@sterling 900
hbharley.com/inventory/… I would totally get one of these bad boys though
Hello world !
00:39
@Taki Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@ndugger eh, standards are the best for manuevering
They ugg tho
user2620028
uhhhhhhhhhhh https://instagram.fsan1-2.fna.fbcdn.net/vp/7d1e6a5edad6e8c4600f428f74e71bbf/5B2BD6EF/t51.2885-15/e35/18251899_1832725883715602_9047985806077067264_n.jpg

https://instagram.fsan1-2.fna.fbcdn.net/vp/827d9a4fb9294d95d42c7dc1dcdf8e64/5B370FE6/t51.2885-15/e35/18512760_402649623455490_8369651655032963072_n.jpg
My bike is gorgeous u stop right there
shew
@HatterisMad that's a lot of 2 decade old power lol
00:40
@HatterisMad Someone stole all those parts? must be a bad neighborhood
user2620028
@SterlingArcher i was just saying that was day 2 of rebuilding that bike, and you commented that it was pretty torn down XD
oh shut up lol
user2620028
in fact, i think i was riding the bike later that day haha
user2620028
thats pretty cheap actually
user2620028
00:43
think my local bike store was selling those for like 25k
jesus
My car was $29,000
user2620028
@SterlingArcher mine was $1700
@SterlingArcher Small time - latimes.com/business/autos/…
user2620028
to be fair i have probably spent $5000 restoring it at this point
@hilli_micha lol I posted that weeks ago, they're so pretty
user2620028
00:45
but that includes the original purchase price as well
That's not bad, I'm all in about $5500 for mine
user2620028
wait you mean your bike? cause i was talking about my car
oh lol
yeah
user2620028
my bike was $2700 and i have maybe another $1500 in restoring it
If it wasn't $3k I'd get a grom lol
user2620028
00:47
i paid way too much for the bike originally, didn't realize the market fell out on them right when i was buying it
user2620028
you could buy one of those monsters for about $1200-1500 right now, and then if you really wanted to do color changes or whatever you could have a completely restored bike for less than $3k
the trade in on my bike is $4100, but the retail is $6000
So I could still sell it and easily break even probably
sP_
sP_
01:00
Does form.submit() do what clicking form submit button does?
i'm running a program that draws text to the screen with lines like this:
` canvas.backCtx.fillText(text, x, y);`
for reasons i don't understand, the text looks great on chrome, but looks garbled on firefox
can anyone suggest a simple solution?
Have you tried on another PC that isn't 'retina'? That code uses the DPI and does some calculations
or things i need to consider to make sure text appearance is good across all browsers?
ohh, it was fine on chrome?
it's great on chrome, garbled on firefox
when i brought this up to the guy who wrote the code, he said, "Yes. I believe it's a browser specific rendering problem, if you try chrome I think it should go away. I can't quite remember but I think it has something to do with the way that the Canvas elements are being flipped and resized by the code that JGL uses in the background. Basically JGL draws to a buffer and then "flips" the buffer on each frame update. The reality is that this flipping is useless in javascript (the person who wrote JGL basically copied a matlab graphics library line-by-line...), I suspect if you take it out th
^ this doesn't really make sense to me . . . i don't see why drawing text to the screen should require something like Pixi . . . and i don't know what flipping would have to do with this . . .
01:12
me either. unless the text rendered at a different spot in the two buffers causing that overlap
hmm
but it did do some odd scaling.. I remember that.
that was related the the DPI things I was talking about.
oh, you mean you remember looking at this code?
the code scales things oddly?
yes, i've noticed that too
the scaling doesn't work correctly
it takes into account the size (in inches) of the screen, but not the screen's resolution
but i don't see that as related to this issue
01:17
does this need pyuthon 2.7 or 3?
i don't think it uses python at all
oh, i guess psiturk does
psiturk does
yeah
2 or 3, doesn't matter as far as i know
can I test this locally without AWS config?
i believe so
i can also make you a user on my config, i believe
without giving you my actual PW
private message me if you need/want that so we can share the needed info
this is the code for determining the screen resolution . . . it actually looks OK to me:
var inDiag = $("#screenSize").val();
var height = screen.height;
var width = screen.width;
var diag = Math.sqrt(Math.pow(height,2)+Math.pow(width,2));

myscreen.ppi = diag/inDiag;
01:25
good luck unseeing this
then this happens which i don't understand at all:
var inPerDeg = canvas.viewDistance * (Math.tan(0.0174532925));
canvas.pixPerDeg = resolution * inPerDeg;
argh.. this thing. says "you can only test locally without aws creds... can't login, no aws creds crash"
yeah
i think i went through that
you don't have to pay to make an AWS account
it takes like 5 seconds
i have an aws account, I am just annoyed I can't test this website without extrenal communication
i see
01:33
the docs tell you how to test locally, but that's only after psiturk is started. mine wont' start without loggin in
same
all that code for figuring out the screen resolution, etc. looks fine to me, on further inspection
but when i enter my laptop's actual screen size, the visuals are wildly wrongly sized
i need to walk my dogs, but i'll check back here when i get back
@dbliss what is the dpi/ppi/resolution value on yours? I have an idea to re-create
did you see my message with my email?
no, i didn't see that message
the psiturk. you have to get an invite
if you have creds, though, why do you need mine?
01:44
oops, edited message by accident ^
i can use my own AWS
oh, it's instant
if you request an invite on psiturk, they instantly give you a code
well that's dumb.
agreed
heh
re the dpi, etc. it of course depends on what i tell the program my monitor size is
well.. the font size is 1 for that text and it just scales
I want to play with that.
that's the oddity.
ah, i see
01:47
knowing the Dpi you have will help me re-create without running this, maybe so get that too please. also walk your dog :)
the experiment looks reasonable for me when i tell the program my monitor size is 24" (which is not true)
i'll tell you what dpi this corresponds to
i mean the number is has in the JS when it runs. I don't care about your real dpi, i care what the code does
maybe it's just this Math.sqrt(Math.pow(height,2)+Math.pow(width,2));
just go walk your dog :)
76.48983229452425
is the value for me for canvas.ppi in jgllib.js
line 163
01:50
gotcha
*162
aight, walking
@dbliss I can replicate the issue: jsfiddle.net/44fp43uh/10
shows same symptoms in firefox.
so it is becaus eit usees such a small font size. and scales. firefox's text rendering is differnt.
hm.. i wonder if that's an option..
02:05
ah, makes sense
what if you switched it to a normalish font size and scaled that?
in my updated fiddle there is commented code to do just that (line 8-12)
sweet
thanks man
woman?
person.
male :)
unfortunately.. all the code depends on that scaling as far as I know.. so.. not trivial to change.
maybe it is.. maybe one multiplier somewhere is all you need. I'd need to spend time to actually read it all.
i am looking into any options to change the text spacing/kerning/hinting or whatever is going wrong
sorry what file does your fiddle correspond to?
none, it's just the textSet function and then minimal code to re-create
it's a standalone recreation of the problem, pulled out of the code
What I call "scaling" is canvas.degPerPix in the code
02:11
ok. it seems like you're suggesting i edit the calls to transform . . . but which calls
you can see how firefox and chrome handle this differntly here: scirra.com/labs/bugs/canvas-font-size.html
a good demo
no, I am not suggesting that. if you edit the transform, every other draw command will be wrong
the canvas starts with coordinates 0-800 in the X and 0-800 in the Y. It's scaled to use coords more like 0-1
gotcha
does everythign else work?
yeah
hm. ok.. then idea.
we can just set the transform rigth before we draw the text, then put it back after.
I forgot that's common in canvas code.. i don't work with it much
so at the beginning of jglTextDraw() set the transform
I think you can have it go back automatically. will find you a link
function jglTextDraw(text, x, y) {
	canvas.backCtx.save();
	canvas.backCtx.transform(1, 0, 0, 1, 0, 0); // normal scaling
	canvas.backCtx.fillText(text, x, y);
	canvas.backCtx.restore();
}
I lied, I am just going to give you code
^ that code AND fix the font size in every instance of jglTextSet() (only 2 of them i think)
02:20
so the font size should now be something reasonable?
you have to change it. it's one
search for jglTextSet()
right, but i change it from 1 to some reasonable number?
yea. something large. just test. I have no idea
hm, the text position might need fixed, too. not sure. that's the args to the jglTextDraw() function.
02:27
well, i implemented the code you gave me, and didn't update the position or font size . . . and everything is working as before
exactly as before?
still screwed up in firefox
Good day guys, need your advice regarding this question:
0
Q: jQuery set checkbox value to URL & get the value in PHP to be an array & query it using NOT IN

HiDayurie DaveI have this multiple checbox below And you can see PDF image there, I set it to be link <a class="openPO" id="<?php echo $dData['po_no']; ?>"><img src="../assets/img/pdf.png"/></a> And now I'm using jQuery to get uncheck checbox and set it to URL value. $('.openPO').on('click', function() ...

and everything is the same size and in the same position
did you update the right one? there is a backup file that has the same code over again
02:29
yeah, i removed the backup file
psiturk can log in but still crashes :(
your psiturk crashed?
i don't understand what you just said
the same error from before. i thought it was from lack of aws login, but it's not
you updated your config file?
dmull@Naota:/mnt/c/Users/dmull/src/psiturk-example$ psiturk
Traceback (most recent call last):
  File "/usr/local/bin/psiturk", line 11, in <module>
    sys.exit(process())
  File "/usr/local/lib/python2.7/dist-packages/psiturk/command_line.py", line 15, in process
    launch_shell()
  File "/usr/local/lib/python2.7/dist-packages/psiturk/command_line.py", line 111, in launch_shell
    ps.run(cabinmode=args.cabinmode)
  File "/usr/local/lib/python2.7/dist-packages/psiturk/psiturk_shell.py", line 1949, in run
yea, i have a complete config
02:38
hmm, i've never seen that
lol someone doesn't read /r/peoplefuckingdying
@dbliss ohh. my code form before. I used the wrong method. transform() ADDS to the current transform. my 1x1 scaling just does nothing. you want setTransform() to REPLACE it
same args.
so just literally replace transform with setTransform?
yes. just the one I had you add
that SHOULD 'break' it.
just the text, hopefully
@KendallFrey misleading
02:46
your description of the video
Do you not know the meme?
I don't know memes
4 mins ago, by Kendall Frey
lol someone doesn't read /r/peoplefuckingdying
yep, broke the text but kept everything else the same
ok, so the font size (increase it) and the text position (also increase) should compensate
02:48
I wonder why I decided to watch a dissection video right before sleeping
Beavers are Canadian, you needed to know that could be you if you don't wake up
increase the by the same amount the transform WAS.. whatever that is. the degPerPix, i think?
So you're literally motivating yourself to wake up tomorrow
i don't understand javascript well enough to know exactly what transform was applied to the text to begin with
but you think multiplying by degperpix?
canvas.backCtx.transform(canvas.pixPerDeg,0,0,canvas.pixPerDeg, 0,0);
so you can maybe just take the font size and multiply by canvas.pixPerDeg
same with x and y in jglTextDraw()
function jglTextSet(fontName, fontSize, fontColor, fontBold, fontItalic) {
	// fontString needs to be in a specific format, this function builds it.
	var fontString = "";
	if (fontBold == 1) {
		fontString = fontString.concat("bold ");
	}

	if (fontItalic == 1) {
		fontString = fontString.concat("italic ");
	}

	fontString = fontString.concat(fontSize * canvas.degPerPix, "px ", fontName);
	canvas.backCtx.font = fontString;
	canvas.backCtx.fillStyle = fontColor;
}
// comments removed
function jglTextDraw(text, x, y) {
just those two functions replaced might be it. no other changes
oops, forgot setTransform() again. fixed.
02:59
naa, that didn't do it for me
can't see any text
the new jglTextDraw() should just make it tiny, but not gone.
but it changes the position
hm.. unless setTransform() undid the translate(). It' shard to debug code I can't run
oh geez at least 6 people don't read /r/peoplefuckingdying
where does it change the position to?
top left?
03:00
i can't see any text
i made the font size huge at one point and could see some parts of letters at the top of the screen
but i have yet to get it reasonably within view
ok, yea.. it undid the translate.. ok. one sec. if you changed numbers, put them back.
(only change are the same two functions I have been)
this time I went to canvas.backCtx.transform(-canvas.degPerPix, 0, 0, -canvas.degPerPix, 0, 0); // normal scaling to unddo the scaling without undoing the translate
and you mean tranform, not setTransform
I did this time
cool
naa, this doesn't work
text is still not visible
but in addition now the shape of the moving dot stimulus is fucked up
it's an oval
instead of a circle
crap.
that part should not changef since we restore() previous state..
03:08
beats me
I think we're close but I am out of patience for trying to fix a problem without running the code. You have a fiddle showing the problem and we know it's the small font size that causes the odd spacing..
can't we use that fiddle to debug this?
that shows the problem, but not how to patch existing code to fix it without breaking other things.
i see
for that we have to try it on the real thing
03:13
yeah
i agree that you suggesting stuff and me running it is inefficient
so let's call this one . . .
maybe i'll try to get psiturk running later, but no promises
cool, hit me up if you do
i'll try on my mac, since WSL might be the problem
the worst part of all this.. I installed firefox
that's good . . . you're in the belly of the beast
My belly is a beast
03:19
Hockey is just Disney Mixed Martial Arts on Ice
04:01
Anyone here familiar with DNS protocol?
what do you want to know?
@dbliss gist.github.com/luggage66/d6ad27dfbe78264d877a10fbf32e3c0a I mixed up degPerPix and pixPerDeg. works now.
tested locally
I am looking at some DNS requests in Wireshark, when a client send a query for a subdomain it always send two request, first for domain and second to subdomain. Is it essential?
I am trying to make a program (on the router) that returns my webpage for every domain the client try to go. If I will just answer to every DNS request with a request that contains my IP, will it work?
@dbliss I am not familiar with all the patterns it does. so test, of course, make sure it didn't mess up the circles or anything, but looks right to me.
04:23
wildcard dns record?
04:42
hi whats up??
05:08
@AsafFisher That sound scary as fuck
> I am trying to make a program (on the router) that returns my webpage for every domain the client try to go.
Are you also going to work with a corrupt C/A to bypass https?
Please consider better ways to do this
lemme rephrase, do you work for NSA, FSB, or any other intelligence agency?
05:21
@AsafFisher I hope you get to see this ^

« first day (2701 days earlier)      last day (2472 days later) »