« first day (2067 days earlier)      last day (2882 days later) » 

7:00 PM
@bitten we're friends with benefits
 
@bitten just do the sin/cos math based on the rotation
 
@bitten hint: sine, cosine
 
@bitten do you know where the rotation point is? always center?
 
@rlemon y
 
That's not a point
 
7:00 PM
so it's like a i know the hypotenuse and adjacent sides?
 
don't treat it as a single line, get the center point of rotation and measure from there to the end
 
Unless you're in 3d, in which case you're still in 2d
 
naw it's 2d
 
11
Q: Line Equation with angle

ZinxHow can I find equation of a line or draw a line, given a starting point, length of line and angle of line (relative to x-axis)?

 
@JanDvorak okay, ty
 
7:01 PM
Just draw a pic
 
@JanDvorak and ty
 
@bitten Can you draw it out?
 
^ just do this twice
 
You can't rotate around the Y axis on a plane
 
yeah sure
 
7:01 PM
@bitten check out the post above, it is the same concept.
 
@JanDvorak the line is rotated in it's middle point
 
treat your one line as two
 
@rlemon okay
 
split in the middle (or rotation point)
 
It sounds like you're trying to convert polar coordinates to cartesian
 
7:01 PM
@JanDvorak You can't rotate around an axis on a plane.
 
@KarelG anyways, there are people treating neurological conditions with nicotine today; you can substitute their intake with cigarettes and they'd only need half a hit to dose
 
Now that Bitten has misspelled its as it's four times in a row, am I allowed to correct him?
 
imma read this thread from @rlemon then draw it out for you guys
 
Nicotine lessens the symptoms of schizophrenia
 
@JanDvorak yes
@JanDvorak isn't an apostrophe used when committing letters?
it's = it is
or posession
 
7:03 PM
@MadaraUchiha I've created a helloworld server but it doesn't seem to work when I try the server.on("open") event.
 
@RowanHarley Code?
 
sure, but it's a possesion here, not a contraction. Posessive pronouns are without an apostrophe, posessive nouns are with.
 
Also someone messed up whose/who's earlier
 
@bitten Try to expand the it's here
"The line is rotated in it is middle point"
 
7:04 PM
#21 is where server is created
 
@MadaraUchiha but that's possession
it is the line's middle point, it's middle point implies possession
 
Just post the pic
 
@Meredith lol
 
@FilipDupanović man, smoking doesn't release nicotin only, but other nastier stuff. Nicotine itself is fine. (well if you don't count in addiction) The main purpose of having health issues from smoking cigarettes is tar. If i recall it right, a tobacco leaf only contain 3 ish % nicotine.
 
7:05 PM
man no new hardware from wwdc
 
i'm still learning the so question
so blue points i'd like to know
 
@RowanHarley Any errors on the client-side console?
 
i know the length and the centre point
 
@bitten split one line into two at the green, run the equation from the question above in reverse to get the points.
 
well ? Divide the length in 2 and you have a circle
 
7:06 PM
Shift the center to the origin, use the angle between the line and the x axis to calculate the cartesian coords
 
@KarelG yeah, something about that, the concentration drops while drying, so technically chewing fresh leaves would be better
 
@MadaraUchiha No
 
Then shift back ofc
 
But no console.log on the server-side..?
 
@FilipDupanović in the wild west, there were many people that has ... tobacco chewgum or something. It only makes your teeth brown, but is addictive and doesn't harm a lot :P
 
7:07 PM
@MadaraUchiha help vamp warning
 
How are you connecting client-side?
 
@bitten I did that like in 7th grade
 
@Tarson it's monday dude
 
@JanDvorak No one seemed to help this guy for days...
 
:,)
 
7:07 PM
Through the console, I'm working on a private server so the client is ready-made
 
@bitten ?
 
@RowanHarley How?
 
@Tarson it's a joke
 
@KarelG you mean chewing tobacco?
 
hi
 
7:08 PM
When we ask "How" we don't mean "I hit F12 to open the console and...", we mean "what code are you using?"
 
@mydeve 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.
 
There's a command called forceServer(ip, port)
 
@mydeve Howdy
 
@KarelG chew gives you mouth cancer
 
@mydeve hi
 
7:08 PM
@RowanHarley Code.
 
@rlemon mouth, throat, stomach if you do it wrong
 
@rlemon "doesn't harm alot". (when comparing to cigs)
 
ohh god if you swallow it you're in for a real bad time
 
We can't help you by guessing.
 
@MadaraUchiha For client or server?
 
7:09 PM
i need to make map lable show on hover in mobile
 
Give us all the info we need from the get-go
 
@KarelG it's almost as bad as cigs
 
@KarelG but it does.
 
can anyone help
 
just a different organ
 
7:09 PM
@rlemon done it
a very small amount
 
@RowanHarley client...
 
same
 
felt very sick for an hour or so
 
@mydeve "on hover in mobile"?
 
1 min ago, by Caprica Six
@mydeve 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.
 
7:09 PM
@KarelG my sentiment is that the cigarette is purposefully designed to overwhelm the consumer; that's it's most dangerous aspect
 
yes
 
What does that even mean?
 
@JanDvorak When you stare at it intently enough
 
all products are. That's capitalism. People buying a product once isn't enough. Let them buy more = benefit
 
Eye tracking isn't easy
 
7:10 PM
There's too much @MadaraUchiha and it's almost impossible to read. All I know is that the error is coming from my server and not the client
 
especially in pitch black :-D
 
@JanDvorak it is with infrared :O
 
look to electronics, where they introduce poor ELCO or other stuff so that it's lifetime ends in 5 years or something.
 
@RowanHarley You absolutely don't know that.
 
Eyes don't emit infrared, do they?
 
7:10 PM
You simplified your server code to nothing
And you still get nothing..
 
Steal underpants + ? + profit
 
So my bet is that your super convoluted client-side code that no one can read is at fault.
 
Give me a second. I'll get you the client code
 
You can sell used underwear for a lot of money
 
@JanDvorak can you help
 
7:11 PM
To the right people
 
s/steal/steel/
 
@RowanHarley Don't give me a 200 LOC function and ask me to debug it for you.
 
@MadaraUchiha The client wasn't written by me
 
Reduce the problem and start debugging.
 
@mydeve stop begging and start answering my questions
 
7:12 PM
@Meredith sure, if you're female
 
@Meredith i was going to ask "huh, when?" until that comment came. Just curious, is Kendall one of them?
 
Just like in the server, reduce it to hello world (i.e. just connect) and see if that works
 
@KarelG word; if we permit future generations, they'll be appalled by our habits; the internet will never forget
 
And if it does, then start narrowing down the problem until you find why it doesn't work.
Seriously, debugging is a critical skill that any developer must have...
 
bowcraft is the other
 
7:12 PM
@JanDvorak er, a back end developer who i worked with was showing me his eye tracking software only last week.. he claimed it ran on infrared?
 
I've debugged the program. I get no errors until I try to connect. The debugger then tells me that the debugging has been terminated with the reason that the websocket has been closed
 
Shower time
 
"If we permit future generations" - to exist?
 
i didn't ask, but i mean.. it worked.. and worked well
 
right, but, when debugging, errors/exceptions aren't the only thing you're looking for.
 
7:13 PM
s/developer/good developer/
 
his native language isn't English so perhaps he meant something else ^^
 
@JanDvorak why... yes
 
@KevinB I'm new to debugging, what else should I be looking for? warnings, logs?
 
@bitten eye tracking or head tracking? IR in some eye-reflectivity sense or just the depth IR that the xbox uses?
 
7:14 PM
every species has an expectancy... there are some humons that do nothing all day but investigate how species go extinct
 
Even I am not sure where the guy's looking
 
@ssube it was something similar to this: theeyetribe.com
 
No, take the point in the code that isn't doing what you expect, and inspect the parameters that it is using. When you find the one that isn't what it should be, follow it backwards until you find where it changed from what it should be to what it shouldn't be.
 
Oh. There's a pair of white lines pointing to the pupils
 
and what came out the other end of their software were coordinates for where the eye was looking on the screen
 
7:16 PM
Hold on, I just need to hack the firmware and tweak the lenses to focus the outgoing infrared light...
 
@JanDvorak your face is ... pretty colorful. A mixture of multiple rainbow races.
 
Not mine
 
Double rainbow
 
you like to take things too serious, do you?
 
Sorry
 
7:17 PM
^ yeah check out where all that red is concentrated
y so serious?
 
Too much IQ = low EQ
 
no, that was just a joke
your head is filled with air, otherwise you could barely walk
the red parts aren't part of the cavities xD
 
so, you mean that jan doesn't have a brain?
 
he does and it looks like it's alive
 
That would explain ... stuff
 
7:18 PM
If I only had a brain
 
> your head is filled with air
@ndugger it's between ur legs
 
I have 2 brains. Checkmate.
 
s/air/hair/
 
I have three: proper brain, the spine, and ... you know ...
 
@JanDvorak feet?
 
7:20 PM
The middle foot, yes
 
knee?
ankle?
 
> xXx_420BlazeIt720NoScopeAcrossTheMap1738Rekt( ͡ ° ͜ʖ ͡ °)MLGIlluminatiSmokeWeedEveryday666_xXx
 
@FlorianMargaine he's referring to the jar he has on his desk
 
@FlorianMargaine your penis?
i mean, it does often think for oneself
 
I haven't heard these euphemisms for a penis yet, tbh
 
7:21 PM
@littlepootis are those handles of aimbot users?
 
@FilipDupanović nah, the profile name of a guy I just played with.
 
The "third" leg
 
which game allows that long string as name ?
 
@littlepootis "ohh shit I cleared my "remember username" option!!!"
 
7:22 PM
@KevinB I've just noticed a lot of undefined variables in the Scope Variables section. Why is this?
 
has the code that sets them ran yet?
 
@RowanHarley because those variables are not defined
 
@JanDvorak In English, we can make anything a euphemism. The language is flexible enough to allow us to not be so literal and straight forward.
Take everything with a grain of salt
 
hey guys is it possible to store SVG/XML in a javscript object or a variable?
 
@RajaSharma yes
 
7:24 PM
@RajaSharma You mean as a string, or as a parsed object?
 
as a string @sstube @ndugger basically i want to inject the svg in the page depeding on the aspect ratio
 
const xml = '<foo><bar></bar></foo>'
 
@RajaSharma not a great idea, but yeah, you could do it
 
@RajaSharma Let me guess; you want to store it as a string, and then inject it using innerHTML--don't do that.
 
damn.. can I explain why I am doing this and if anyone see's a better way?
 
7:25 PM
@RajaSharma please jump back in a time machine and return in the future: today.
 
@RajaSharma aspect ratio?
you know SVG is scalable, right?
 
When I run the code and try look at the variables, it says Not Paused, even after pausing it
 
Yea but the svg was developed in 16:9 so it does not work scale properly in 4:3 or 5:4(ipads)
@ssube
 
that's... not how SVG is supposed to work
 
gtg guys having dinner now. Gonna watch the Italy vs Belgium match as well!
 
7:27 PM
the svg is an image of an office... wanna see it? @ssube
 
no
 
@RowanHarley 0-0
 
element {
  background-image: url(pic.svg);
  ...
}
@media screen and (min-aspect-ratio: 8/5) {
  element {
    background-image: url(alternatePic.svg);
    ...
  }
}
 
@RajaSharma no
 
if I understand correctly, you don't need anything but css to do this
 
7:28 PM
yea but the svg's are 140kbs each... they made 3 for each aspect ratio.. so that's making page size bigger @rlemon
 
@rlemon I got referrer to work
 
understand how css downloads things
then come back and make the same claim
@Tarson cool
 
@rlemon It works great!
 
did you test it?
 
7:31 PM
I'm pretty sure I understand how that works.
yes.
I wouldn't be making the claim then
 
in modern browsers the engine is smarter about optimizing unseen things
 
Okay well I couldn't find an article to support that @rlemon I always worked under the assumption that display none still loads the resource can you show me an article that defines otherwise? that way I could learn more about this
 
@RajaSharma you can test it trivially
 
jsbin.com/faduyolehu/edit?html,css,js,output @RajaSharma chrome (I'm not going to bother width edge and FF) does not download the new image until the media query is hit.
 
put some CSS in a fiddle then resize the window
 
7:34 PM
like SUPER easy to test
 
@RajaSharma you have support for viewports which would allow you to relatively position the contents; this works, but only if the content was designed to fit all sizes :(
 
also there is many other peoples test cases out there supporting this
 
Half Life 3 confirmed
just kidding
 
thanks for delaying it
 
When creating a schema with mongoose/MongoDB for a model with on-to-many relationships (i.e. author-articles), would it be better to just have 1 collection of authors with articles as subdocuments or have 1 collection for authors and 1 collection for articles? Assuming I will have to query MongoDB for all articles only (w/o author info).
 
7:36 PM
sounds like a job for postgres :D
 
@rlemon I see what you mean!! let me explain further! thanks for clearing that up. So I am adding the svg inline because I need to access it via JS to change elements of the svg on hover
 
@ray9209 if you want to be sure your data will get saved and your queries will return all matches, mongo might not be for you
 
@ray9209 you can't create a schema for mongo
 
1 min ago, by rlemon
sounds like a job for postgres :D
 
@ray9209 What's more important to you, to get the author from an article, or get the articles from the author?
 
7:38 PM
@MadaraUchiha if getting the data from the database is important, don't mongo
or if you're going to use mongo, make sure you use jquery on the server-side as well
 
@ssube Please, I've yet to hear compelling arguments why not to use Mongo for anything that's not in the terabytes scale.
 
@ssube MongoDB has a schema :|
 
@VeronicaDeane O NEATO!!!
 
@MadaraUchiha the way it handles locking?
 
And I've also yet to find anything that allows me to atomically change a deep JSON property without reading the whole object
 
7:39 PM
@rlemon what happened?
 
At least, nothing with the tooling that Mongo has.
 
> bright disruption in Saturn's narrow F ring suggests it may have been disturbed recently. This feature was mostly likely not caused by Pandora (50 miles or 81 kilometers across) which lurks nearby, at lower right. More likely, it was created by the interaction of a small object embedded in the ring itself and material in the core of the ring. Scientists sometimes refer to these features as "jets."
 
Mongo serves me well so far, I've got no complaints.
 
@MadaraUchiha almost none?
 
@MadaraUchiha get the articles form the author, most important though is to get all information on articles including its author, publish date, etc and be able to query it using filters (i.e. get all articles from a particular author or get all articles from a particular date range, etc)
 
7:40 PM
the lack of tooling and aggressive locking are constant problems
 
@VeronicaDeane how I understand that is; something inside of the ring blew up (gassed out?)
 
@ray9209 So have the articles as a subdocument of the author.
 
mostly the locking, since mongo support doesn't understand how it works
 
someone told here that MS bought linkedIn
 
@KarelG Yup.
 
7:40 PM
26 billion
lol
 
just discovered that the price is 26 billion
 
@MadaraUchiha by doing that, I will be able to query articles directly? how?
 
i was like " it aint that worth IMO"
 
@rlemon that's as good as an explanation as I could come up with
 
26 billion virtual kudos
 
7:41 PM
@ray9209 You can find items deeply with mongo's query API
The docs have examples for that.
 
their takeover of Nokia is a big /fail
 
linkedin had a recent decline in their valuation too.. crazy they got such a good price
 
keh
 
@KarelG you don't take over Nokia expecting hardware or products, you do it for IP
 
these managers needs to visit the local market
 
7:42 PM
I'm wondering how Microsoft would manage to ruin LinkedIn more than it already is.
 
@ssube that's true
 
just like you don't take over linkedin for software, you do it for the data
 
But I guess, MS is always up to the challenge.
 
@MadaraUchiha I have high hopes MS can bring it back to something useable
 
@rlemon considering that they're losing money and have negative return on equity, they got a great price
 
7:43 PM
@rlemon GitHub is the new LinkedIn
 
I was hoping LinkedIn would shut down... but no
 
@ray9209 you don't have to make money to be valued huge
 
MS has some pretty serious interests in keeping track of high-level corporate sales people who have nothing to do with their time
 
I've gotten far more job offers from GitHub than I have from LinkedIn.
 
which is LinkedIn's entire fanbase
 
7:43 PM
@ssube I see value in linkedin's premium subscription if I were in outside sales, or HR
 
@rlemon haha that's only true when there's a bubble
 
as a generic end user, it is almost useless
 
MS will know who to push their latest MSSQL-on-linux type deals based on linkedin
@rlemon oh, for sure. The site isn't meant for generic users or people who actually do work, though.
it's meant for people buying or selling jobs
 
or a product
 
and MS has massive interests in both
 
7:44 PM
@rlemon since when has Microsoft ever produced a consumer product that was useable (except office)
 
I know a sales team that does 95% of their research / networking on linkedin
 
but if you "sell" a job, you need people whom is looking for jobs? Right
 
and it is quite successful
 
@ray9209 win7-10
 
does it?
 
7:44 PM
@ray9209 lots of times.
we only remember IE and NT
 
win 7 yes, win 8 & 10 - no
 
it is easy to forget all the great stuff that came with XP and the openess of windows
 
@rlemon Have you read Joel Spolsky article about "the top 0.5%"?
 
maybe
 
office, outlook, VS, .NET, etc etc
 
yea I've read that
 
@rlemon That's your 95% LinkedIn networking, honestly.
 
!!afk watching stargate
 
No Man's Sky 2 confirmed
 
not "networking" in a traditional sense, outside sales is a wild game.
 
7:46 PM
just kidding
 
The good devs, the really good devs, don't look for jobs on LinkedIn
 
linkedin gives you open and clean connections on a companies hierarchy
 
@rlemon Yeah, I guess.
 
@ndugger you shouldn't be kidding with NML, M
 
Half Life 10 confirmed; only on Windows 3
 
7:47 PM
@MadaraUchiha if you want to sell something that will effect the, say, manufacturing team, you don't go to that manager.. he'll tell you his department is fine. you go to the boss first.. but that meeting is next to impossible to get without 'tricks'. linkedin gives you a lot of ammo about a company you are prospecting. it was crazy to see these guys work.
 
@MadaraUchiha in my experience, the only devs who use linkedin are mildly questionable down through absolutely incompetent/actually salespeople
 
Half Man's Life 23 XL Brothers Life 6969 confirmed
 
@ssube don't know many enterprise .net devs?
 
@rlemon Just one.
 
because every single one I know is on linkedin and is uptodate :P
 
7:49 PM
@rlemon I mean, sure, most of the folks I know maintain a LinkedIn profile to some degree.
 
I don't know if they're getting work from it.. but they keep trying to add me
 
But I don't think anyone is seriously expecting to get a job out of it.
 
like careers.so
 
@rlemon All those job hunting sites are a bit of a joke.
 
@rlemon a) no, b) don't they fall under those criteria? :P
 
7:50 PM
They literally just said "ROFL-Stomping Newbies" in this video... :cringe:
 
The good folks either come because their friend (who already works for you) brought them in, or because you spotted them when they were in college/uni and recruited them before they even graduated and started looking for jobs.
 
when I worked in elearning and doing contract work for companies like open text everything was so enterprisey
made me not like that type of environment
 
once you've reached the point where you're shopping linkedin for jobs, your career is in a pretty bad place
 
@rlemon I know very few people who do like that type of environment.
 
@rlemon open text? is that some MOOC platform?
 
7:51 PM
two of my good friends I met (while working there) LOVE that type of work.
:/
@FilipDupanović opentext.com
one of many local dev shops in my city
 
Halo Wars 3 confirmed
 
@ndugger What are you on about..?
Did you drink too much again?
 
Assasin's Wars Life Quake Scrolls 69 confirmed
 
@MadaraUchiha he's watching E3 or something
 
did a Kickstarter game flop and now you're raging?
don't hate the studios, hate the publishers
 
7:54 PM
@FilipDupanović I hate everyone.
 
@rlemon that is a nice, clean big image website
 
@MadaraUchiha because it doesn't maintain integrity. Using it as a cache is fine. Except it doesn't return records that are currently being updated with find(). So using it as a cache for a low-traffic application is fine.
 
@ssube ohh yea -- no loading animations :D
 
@FlorianMargaine Like I said, unless you hit terabyte scale, you're golden.
 
@FlorianMargaine plus those updates will prevent other queries from running
 
7:55 PM
@MadaraUchiha unless they're safely represented by pixels on the screen?
 
@MadaraUchiha we're not TB scale in prod here and we still have problems with mongo locking
 
@MadaraUchiha no, the integrity bits are way before the terabyte scale
 
@FilipDupanović No, I hate you as well.
 
with all the garbage it leaves around, we're pushing 2TB of data files on disk
 
@rlemon I think we killed the sites
SO-JS chat deadly hug
 
7:56 PM
we've been seeing locking problems since about the time we started deploying it
 
still works for me
maybe they don't like france
 
woo, it loaded
 
Who does?
 
@JanDvorak vOv
 
7:58 PM
I'm gonna cry.
 
@ndugger you probably deserve to
 
Gaben pls
 
I'm fairly certain you're a bad person
 

« first day (2067 days earlier)      last day (2882 days later) »