« first day (1588 days earlier)      last day (3354 days later) » 

5:02 PM
hahah
> Your server is so messed up the logs obviously arent working either!
 
user1596138
Haha right
 
Man, I wish we only had 1.5 million lines of logs a day.
 
Hola sheeple
 
user1596138
I was in the monthly logs...
 
user1596138
It took me 20min just to download it
 
user1596138
5:10 PM
Thankfully his problem was on the 3rd lol
 
@SterlingArcher hole people
 
mole people?!
 
!!youtube the hole
 
@KendallFrey That's a great one
 
5:17 PM
@KendallFrey @rlemon this is amazing imgur.com/gallery/G3GB5OO
2
 
user1596138
Guys wanna see a really really shitty engine simulator (more like piston motion simulator for now) thing I made? Don't complain too much, it's at an extremely awkward spot somewhere between animator and simulator. Plus I am still struggling with canvas and using Kinetic lol. codepen.io/Jhawins/full/wBoerb
 
@SterlingArcher The sad part is, I know exactly what that was originally
<3 Datsyuk
 
user1596138
But if you click log engine values you get more of what I'm actually doing.
 
@Jhawins nice :D
 
@Jhawins looks good to me, no complaint
 
user1596138
5:28 PM
Most of the build options changes are reflected in the animation.. Some will only effect the engine data.
 
user1596138
Yayyy
 
@KendallFrey an amazing goal for sure lol
 
like most of his
 
@SterlingArcher Best gif I've ever seen
 
@NickDugger imgur.com/gallery/kZfyLSE heres another
 
5:35 PM
@SterlingArcher I have never loved a meme more than I love snow shovel guy. This is absolutely inspiring
 
@Jhawins I'm pretty sure your connecting rod is stretching
 
user1596138
@KendallFrey Yeah the rod isn't done the best...
 
a piston doesn't move in a sine wave
 
user1596138
It looked like something weird was happening when I sped it up really fast but I haven't investigated yet I've been working on the valve-train
 
user1596138
I'm not doing a sine wave?
 
user1596138
5:39 PM
I calculated the points around the "crank" and use the Y difference to determine how far up/down to move the piston. So it moves slower the closer it is to BDC or TDC. If that's what you mean?
 
user1596138
@KendallFrey pls explain I want to know :P
 
what was the name of the pattern where you have multiple threads and you can set callbacks what to happen on completion of all
or success or fail
promises
I remmembered
 
@Jhawins for what I saw, the piston moves vertically directly corresponding with the crankshaft
which isn't realistic
 
Hey peeps, if anybody wants take two seconds to be helpful on Webmasters.SE, please upvote the community wiki answer on webmasters.stackexchange.com/questions/8525/…, which is currently being eclipsed by a less-complete bountied answer.
(It used to be a mess, and just got cleaned up, and now the new, cleaned-up community answer needs votes.)
 
no
2
 
user1596138
5:47 PM
@KendallFrey I'm not sure I understand what you mean.
 
Its not auto logging me in :/
too lazy to login
but.. that is a nice looking answer
 
user1596138
The crankshaft is what is normally attached to the piston rod. Right now the crank is driving the piston when the piston should be driving the crank, I see that yes. But I know and will change it later. Its currently what would happen if you put the car in gear and just pushed it without the engine running. Is this what you mean?
 
@ziGi generally: aggregation, in "The little book of semaphores" it's called a rendezvous. Promises allow that easily though, yeah.
@apsillers as much as I love @ŠimeVidas who was also a reg here - please do not ask us to vote for things.
 
user1596138
They do directly correspond tho. They are literally attached in a standard engine.
 
@Jhawins ok, I made it obvious
 
5:52 PM
@apsillers lol "pro webmasters"
#sopro
 
set the desStroke to slightly less than the rod length, then remove the code that prevents the piston from hitting the crank
 
user1596138
Alright. Link?
 
you can clearly see the rod stretching
 
user1596138
Lol I know it is.
 
@BenjaminGruenbaum looks promising, thank you
 
user1596138
5:53 PM
It doesnt have a fixed size
 
@BartekBanachewicz ouch.. just noticed that
 
that's unrealistic, is what I'm saying
 
I didn't even think anyone referred to themselves as webmasters anymore
that term makes me cringe
 
user1596138
But is the motion unrealistic? I believe (outside of the rod) the motion is correct
 
@SterlingArcher I got the 4 day shipping
 
5:54 PM
well the piston's motion is incorrect
 
$21 (CAD)
 
@BenjaminGruenbaum Just to be clear, that's not really Vidas's answer; it's a collection of answers from other people that aggregated over time (in the question itself). I understand it's poor form to solicit votes, but (to offer some mitigating defense) it is a community wiki answer; my intention is not to promote Vida's answer (he wouldn't get any rep anyhow) but to improve the quality of what I think the most important Webmasters.SE resources for SO's JavaScript answers.
(See the Meta discussion at meta.webmasters.stackexchange.com/questions/1313/… for a brief history of what happened there.)
 
because the rod should be a fixed length
 
user1596138
Remove the rod. It doesn't do anything
 
user1596138
Its cosmetic
 
5:55 PM
I tried that with my car. It doesn't go anymore
the point is, a piston spends less time on the top half of the stroke in real life
assuming the crankshaft is rotating steadily
 
user1596138
Right but outside of the rod the motion is correct I think?
 
@BenjaminGruenbaum Again, apologies for my poor form, but my intent was to help improve the quality of resource itself via votes (rather than promote an answer) so that the answer-information (which used to be in the question, and is now in a community answer) would be maximally visible to newbies who might otherwise miss it.
 
no, because the piston is connected to the rod
 
user1596138
@KendallFrey same should go for the bottom.
 
user1596138
5:57 PM
The rod doesn't matter
 
I meant "less time than the bottom half"
 
user1596138
Hold on I'm mobile.
 
user1596138
You mean because of combustion forcing it down?
 
no
if the crankshaft rotates steadily, the piston is below centre most of the time
imagine the crank is at a right angle to the cylinder
then the piston is less than the connected rod's length from the crankshaft
 
user1596138
Hold on
 
user1596138
6:01 PM
Ok the crank is a circle, in a real engine it is essentially still a circle just on a rod.
 
user1596138
In this circle how can rotation during the bottom half be any different from the top half? It is a circle.
 
the base of the connecting rod travels in a circle, yes
but the piston's movement is more complex than just the Y coord of the base
 
user1596138
Starting at BDC (lowest point of piston), the first 15 degrees moves the piston up let's say about 5 imaginary units. The next 15 degrees moves it about 8 imaginary units, this continues until you get to 45deg, at this point things start going backwards until you are back to the exact same thing starting at 90 degrees.
 
er wat
ima try to draw a pic
 
user1596138
I'm saying the velocity changes
 
6:05 PM
pizza or sushi ?
 
user1596138
 
user1596138
Here you are.
 
user1596138
From this I gather that my approach is correct?
 
@tereško Sushi
 
@SterlingArcher Quick~! Check your email
@SterlingArcher DO IT
 
user1596138
6:06 PM
Oh god wait you're right
 
user1596138
But how?!
 
@SterlingArcher DO IT NOW!
(think he got those pings?)
@tereško sushi
!!sushi or pizza
 
@rlemon sushi
 
damn right cap
 
@Jhawins math
 
6:07 PM
3:2 , pizza wins
 
user1596138
But it's a circle.. lol
 
lemme finish the drawing
 
@tereško make sushi pizza
now I regret not getting sushi for lunch
:(
 
Pizza for lunch sounds better than sushi
 
user1596138
Sure go for it
 
6:08 PM
pizza for anything sounds better
 
sushi is better than pizza
 
Is it opposite day?
 
not everyone likes fatty greasy foods
 
thats true
 
Hi all
 
6:10 PM
@AnilTalla Welcome to the JavaScript chat! Please review the room pseudo-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.
 
Just now I reply to one question. I got down vote, my answer is correct.
 
it happens
 
-1
A: HTML Select, Javascript dynamic load

Anil TallaHTML Code: <div class="form-group"> <select name="select_search" onchange="selectedValue(this)"> <option value="" >Select Option</option> <option value="1">Titel</option> <option value="2">Autor</option> ...

Can you suggest me where I went wrong. So that I can correct my self
 
well, in fairness the question is bad
haven't got to your answer yet
 
0
Q: HTML Select, Javascript dynamic load

Florian SchüsslerI have the following: <div class="form-group"> <select required name="select_search"> <option value="Titel">Titel</option> <option value="Autor">Autor</option> <option value="Datum">Datum</option>...

 
6:15 PM
1) don't use inline event listeners. you should attach them in JS
2) a lot of people don't like switch over if/else, but if you are doing to use it let the cases that are the same drop through.
3) ummm, tell a joke? everyone likes jokes
 
@rlemon looks amazing
 
4) you didn't hand the OP the code on a silver platter, and they have to change the values from what you did to theirs
 
Thank you, very much rlemon
 
@tereško sushi, if it's good sushi that is
 
@BenjaminGruenbaum inorite
 
user1596138
6:18 PM
@KendallFrey I'm lost.
 
I don't get the thing with sushi pizza. Is that a cold pizza ? warm sushi must be terribly bad
 
yes... I agree, but one more answer also given to that question. That person given down vote to my answer.
 
user1596138
You've mentally unwoven me
 
user1596138
If I calculate 360 points around a perfect circle, how can my piston not be supposed to go to the Y value of those points..
 
@AnilTalla don't sweat it, it happens
just keep answering questions and before long you'll forget about it and you'll have all the rep back
 
6:20 PM
@Jhawins I'm drawing
 
user1596138
And if I put the piston on the other side of the crank which side will move faster? Supposedly one half of the rotation is going to be faster but I don't get how that's possible with a true circle rotating with something attached at a pre-defined offset
 
thank you.. rlemon.
 
user1596138
The mind fuck for me is "How can one half of the circle be any different from the other"
 
good luck and happy hunting
 
The DV was probably for forgetting break
@AnilTalla make sure to include working code or people will dv you as well :P
or rather the code you include is correct/working
 
6:22 PM
@AnilTalla were you downvoted when the code was this:
function selectedValue(_this) {
document.getElementById('search_query').style.display = '';
switch (_this.value) {
    case '1':
    case '2':
        document.getElementById('search_query').type = 'text';
        break;
    case '3':
        document.getElementById('search_query').type = 'date';
        break;
    default:
        document.getElementById('search_query').style.display = 'none';
  }
}
because I would have downvoted that ^
 
he commented that ... then i changed the code
 
your edit was good, but the person who downvoted you, if they only saw this, probably has forgotten about the answer and moved on
 
okay... i need to thing both the ways.... +ve thinking
+ve thinking gives always +ve results.... _/_ salute you rlemon
 
I just had a seemingly simple question stump me
It was a test question to build a basic bracket checker
 
user1596138
@KendallFrey I put the piston rod's length in the debugging layer (click canvas) and you're totally right on that. Also it stretches when it is on the "right half" of the crank and gets shorter on the "left half".. This is starting to add up.
 
6:27 PM
haha @Deepak I just added an answer to one of your questions today
crazy that I recognized the username so easily
 
so you would get a string and something like "([]){}" and it would be valid
@Loktar I saw that, thanks I meant to reply but got caught in a test
 
oh np, I just added it for information really
 
this would be invalid "({)}{}"
 
Question for you rlemon: What type of book has only characters and no story?
 
and all other combos "{()" would be false, basically a bracket checker
 
6:29 PM
@AnilTalla a canadian book, because they're too cold for that nonsense
 
@ssube ah I assumed its because no one cares about their story anyway
/me jokes.
 
Ans: A telephone book
 
It's not that we don't care, but you can only hear about that night with the flannel and the hockey stick on the canoe so many times
"Is this real life, or just a Fanta sea?" Nope, it's maple syrup, you're in Canada bitches
 
I had no idea how to answer it without it being a bastardisation of edge cases
 
im shit at drawing
@Jhawins
 
user1596138
6:34 PM
omfg I am retarded
5
 
well pythagoras wasn't
 
user1596138
I mean that's enough to at least tell me what's going on. But I'm not 100% sure I get how t implement this then. I'm slow at this
 
there's probably a name for the function, but I'd just use pythagorean theorem
 
user1596138
I love the "not a" thanks for that lol
 
user1596138
6:39 PM
But wait using pythagorean theorem don't I use "Not a" and "B" to find A?
 
user1596138
And "A" is C?
 
no
well
you know a and b
A is the connecting rod
 
user1596138
A (as you have marked in the third one) is a value I do not know. I know B and not A?
 
b is the radius of the crank
@Jhawins you do know that value, it is the length of the connecting rod
it should be constant
 
user1596138
Ohhh. I understand.
 
user1596138
6:41 PM
I didn't have a very good geometry curriculum in school.
 
Murica
I probably had decent maths, going to a private high school, but I was so piss-poor at life, that I almost failed everything, just because.
 
user1596138
Can't blame murica for homeschooling
 
I almost take pride in being a C and D student, just because how stupid the education system is.
 
@NickDugger That's dumb.
you dummy
 
:( cry
 
6:44 PM
that's weak, you weakling
 
stop making fun of me or I'll flag all of your chat messages.
 
NOOB! CRY SUM MORE!
yay amazon accepted my review.
 
user1596138
That is kinda dumb... But he's probably not serious
 
@rlemon have you ever had them not accept one?
 
I get to review all of the purchases I made for you blokes over 12 days
 
6:47 PM
lol they seem to be really lenient
 
@Loktar never reviewed anything
:P
 
ah, yeah its kind of weird they have a review the review system
but meh
probably just checks for links and dumb crap
 
which I think I need to allocate @NickDugger's price (@BenjaminGruenbaum) and @dievardump did you ever add me to steam? and that is the rest of the prizes
 
@Jhawins you can blame them for allowing it
 
@ssube id rather have homeschool honestly
hell I was homeschooled
 
6:48 PM
@rlemon I didn't win anything on steam - I won a giftcard :)
 
and I make more than most people in America so meh
 
I was for a while, and it was awful.
 
user1596138
I don't care to know what else you'll have to say about it and I'm ending my participation in the conversation (with ssube). lol
 
@BenjaminGruenbaum the cc was about nick's prize - I need simons steam
 
Miaou Related Question : What would you guys use today to implement avatars in an application ? avatars.io ? gravatar ? self hosted ?
3
 
6:49 PM
two prizes unclaimed
 
Homeschool is totally dependent on your home.. just like any public school is dependent on the school itself.
 
It becomes worse when you look at the demographics of who tends to homeschool
 
there is no need for that
 
can't blame an entire system if your experience sucks lol
 
@dystroy gravatar
 
6:49 PM
@dystroy I think a gravatar+imgur combo works well
 
user1596138
Hey I'm a smart guy, I can confidently say that. And I was homeschooled.
 
@BenjaminGruenbaum You didn't win shit, I, out of the pure and honest goodness of my heart, decided to allocate my prize to you.
 
Home schooling surely looks good … if you've never seen a half-decent education system
 
@Jhawins you're still a redneck tho :)
 
16 mins ago, by Jhawins
omfg I am retarded
:P
 
6:50 PM
@NickDugger that
 
user1596138
I'm smart enough to admit it when I am :P
 
@copy it also looks bad if you've never seen a half decent homeschooling system :P
homeschooling I mean.
 
user1596138
And now I understand what I was retarded over so. Smarts++ (Thanks @KendallFrey
 
@copy that's the people it looks good to (readas: murica)
 
user1596138
6:51 PM
I bet you know nothing of homeschool sports, either.
 
Our public school system is atrocious and increasingly arbitrary, so we... allow the most extreme folks to teach their own children?
 
most extreme folks.
lol
 
@Jhawins do you.. like play against your sister?
parents vs children?
how would that work?!
 
On the one hand, it keeps them out of polite society. :P
 
Or allow extreme teachers/professors
same difference.
 
6:52 PM
On the other, they have little exposure to polite society.
 
user1596138
We would go to MO for nationals in basketball. The competition was really intense and many players (the one I'm dunking over <-) in my area are going to school completely free due to homeschool basketball landing them scholarships.
 
keeps them out of polite society? What are you even talking about lol
 
or is it like, me and all of the other homeschooled kids make teams?
 
@Loktar oh, it's a well-known fact all liberal arts professors are full of nonsense. But that's in a setting with boatloads of other kinds of nonsense, allowing it to even out.
 
user1596138
Scholarships with real schools.
 
6:52 PM
but how are teams determined?!
^ serious question
 
@rlemon you can still participate in public school sports
 
@rlemon In 'murica they have a live ammunition dodging tournament.
 
they have to let you
 
user1596138
How are teams determined? How is that a question? You sign up, we have try-outs.
 
you still pay taxes for public schools
 
6:53 PM
@Loktar not in a lot of districts
 
@Loktar so you just try out for that schools team?
 
@ssube where?
 
@SecondRikudo this is true. We're also really bad at it.
 
Because every where I've been they have..
 
user1596138
@Loktar No not here. You explicitly can not unless you go to public school at least 60% or something like that
 
6:53 PM
@Loktar I'm 95% sure that wasn't an option when I was a kid.
 
that sucks for you guys
 
user1596138
And same goes for homeschool you can't play in homeschool sports unless you are at least 60% homeschooled
 
@Jhawins so it is like a public team, not affiliated with a school district?
 
user1596138
We have real homneschool organizations with real board members and elections.
 
here we have school leagues and public ones.
 
6:54 PM
oh there are only 10 equal access states it looks like
 
user1596138
@rlemon ^ homeschool school district's are as official as public school
 
I'm not denying it
 
lol my homeschool was just me going to public school for computer classes anyway
the first year I did work.. the other years meh
 
@Jhawins most states have a very vague review process, usually twice a year, but that's it.
 
I honestly don't get the logistics of how the teams would work. I'm trying to parallel it to my situation here.
 
user1596138
6:55 PM
@rlemon Oh alright. Go ahead ask a question
 
user1596138
My brother is a coach, he gets paid (very little)
 
Homeschooling is definitely a dump stat for most school districts.
at least on the east coast
 
I'm honestly glad its an option. If my kids were having major problems in school at least I can get a curriculum and homeschool them instead of having to move or drive far.
 
user1596138
nchclive.com // here is the National Christian HomeSchool Championships
 
so like here, for HS teams, I have to go to the school and try out with other kids in the school. I only play other schools. In public teams, everyone tries out and then coaches pick from the pool like any draft. you play against other teams in your district (or depending on the level state/country/world)
 
6:56 PM
I wouldnt do the adhoc method. Id basically sign them up to an online school which is like a private school hosted at home, meh.
 
user1596138
The only part I really hate is that basically homeschooling is synonymous with christianity. Which makes things... Weird.
 
so, home school leagues, do you play school teams? other homeschool teams? or public teams?
 
@Loktar See, that's a completely reasonable thing.
The home part works, so long as you keep the school part in mind.
 
@ssube yeah thats what I generally mean about the "not bad" homeschoolers
if you are just teaching your kids random things.. well yeah idk
 
also, I'm saying "home school leagues" for lack of a better term
probably due to my lack of understand
 
user1596138
6:57 PM
@rlemon There is an abundance of other homeschool teams. Seriously they are everywhere (around here), sometimes we will play a public school team but it is strictly a scrimmage as they are in separate yet equally serious "leagues"
 
It seems like a lot of home school social circles, particularly ones encouraged by religion, skip out on the "school" half of things.
 
user1596138
@rlemon It is the term I would use.
 
@Jhawins ok, that settles things up pretty well then
 
@ssube yeah Ill agree with that
 
That, combined with home schooling not being popular in many districts, means that it turns into a legitimately bad system.
 
6:58 PM
I was just confused because I've never heard of that where I live. I don't know how many kids homeschool here tbh
 
user1596138
There is a North vs South battle annually at the biggest public basketball stadium in the area. About 30 teams show up for the tournament. If your team makes it to the end you will play 4 games that afternoon
 
The govt has just enough oversight to make sure they can't be liable, but they honestly don't care past that. You homeschool, they write you off.
 
yeah I was written off for the most part which was great for me
 
Surely homeschooled students sit the same tests so it doesn't matter where they go
 
I spent 8 hours a day programming/fixing computers at the public school lol
was awesome
 
6:59 PM
@Deepak nope.
 
user1596138
The teams from the North usually host (about 30 minutes from me) because we have better facilities available (Spiece has I think 8 courts we use at the same time) but sometimes we had to travel to their league's area.
 
@Deepak haha no
 
They don't have to take any of the standardized tests.
 
I wouldnt be opposed to that
 
damn, I also would have assumed they had to take the standardized tests
 
6:59 PM
What about uni?
 
They ones they could take are all opt-in, the useful(ish) ones are all public school only.
 
TIL I'm pretty ignorant of how homeschooling works
 
I had to take a placement test to get into college since I didnt have a diploma
 
They can do the SAT and ACT, but not the HSA (or whatever those were).
 
How do they accept you if you havn't taken a test they recognise?
 
6:59 PM
yeah I did the SAT as well
 

« first day (1588 days earlier)      last day (3354 days later) »