« first day (1993 days earlier)      last day (2970 days later) » 

8:00 PM
@PDKnight according to the match info tab, it did
 
Jan 26 at 22:07, by Caprica Six
@ChipThrasher Welcome to the JavaScript chat! Please review the room rules. Pleasedon'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.
 
@ssube stupid me. I forgot, nevermind :D
 
@KendallFrey damn
 
Ugh this serial port is driving me crazy
var serialPort = new SerialPort('/dev/ttyS0', {
	baudrate: 57600,
	parser: serialport.parsers.readline('\n')
});
Gives no errors... but it won't open the port
Works fine on OSX (using Ubuntu now)
 
@ssube oh, I found why I came here... look at this: regex101.com/r/sP0jQ8/3
it doesn't select like I want
 
8:08 PM
omg I just learned the weirdest demonym ever
"Monégasque"
 
@PDKnight you need negative lookbehind, which JS doesn't have
 
@SterlingArcher ttyS0 is the correct port?
can you screen to it?
 
What do you mean screen to it?
So, I installed the driver for the xbee serial device, and after the installation, I get:
 
screen /dev/ttyS0 57600
 
Device 0 Serial Number - A601ESSO
 
8:11 PM
on the command line
 
But when I run the serialPort foreach port, it only lists those tty ports
 
screen is a command line utility
 
@ssube So there's no any solution for that?
 
first make sure you can access the port normally.
then once we know you can we'll look at node-serialport
 
@PDKnight plenty, just not regex
 
8:12 PM
@PDKnight ([^\\]|^)(#.+)
 
inb4 sterling cannot exit screen :D
 
I can't even install screen -_-
-f isn't installing without dependencies
 
which screen
I thought ubuntu shipped with screen
 
install minicom then
I dont' like minicom so I cannot tell you how to use it tho
 
8:13 PM
didn't you install ubuntu yesterday?
how did you break it already?
 
> The following packages have unmet dependencies:
node-gyp : Depends: nodejs-dev
 
@KendallFrey :O :O THANK YOU SO MUUCH
 
@ssube actually I installed ubuntu 3 hours ago thank you very much
 
@SterlingArcher screen is a linux utility
it isn't a node package
 
I know
I'm using apt-get
 
8:15 PM
did you update/upgrade yet?
 
Have you guys tried the chrome spotlight like launcher
 
sudo apt-get update
sudo apt-get upgrade
@SterlingArcher run these, then try to install screen
update updates your source list. upgrade upgrades your packages
 
screen /dev/ttyS0 57600
Oops, it says "screen is terminating"
So I guess it's not opening
 
so the port isn't listening or connected
 
tried it ^ ?
 
8:17 PM
So the driver must not have installed properly :/
 
@Abhishrek not found
 
it works for me :/
 
@SterlingArcher are you using a physical serial port, or a usb->serial adapter
 
then it probably isn't on ttyS0
 
crl
8:18 PM
that would be fun if a js object could know his parent(s) objects (where he's referred)
 
where did you get that?
 
@rlemon even in incognito, so that should work
 
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>1EA1E82A7D2BADAC</RequestId>
<HostId>
Kf/7uIRhugqdHqky4XE9ZdgWhSB33nfw68EXnl02T4+8wvStn1hgPdqWkKSOIsV7MQPE+vCInLU=
</HostId>
</Error>
but it doesn't abi
 
@rlemon when I connect serialPort on nodejs, it lists all the ports
A601ESSO is the real port, but it wont list
Driving me insane
 
do you have a ttyUSB*
 
8:19 PM
@crl no, it wouldn't
 
because ALL usb serial devices on Ubuntu show up for me under ttyUSB*
 
@rlemon I don't think so
All that shows up is ttyS0-9
no USB
So that means bad usb driver?
 
maybe
usb->serial devices are touch and go on Ubuntu
hell, even Windows sucks for drivers
I found one that works and bought 12
 
Yeah this is hell
On OSX it works like butter
windows blue screened
 
crl
@KendallFrey not far from there
 
8:21 PM
CentOS sucks at installing wifi drivers
 
@crl where you live?
 
@SterlingArcher sounds like my troubles with the usb->serial stuff
once you get it working tho, you just ride on that for a bit
the high is good
 
crl
@KendallFrey precisely Antibes
 
have you ever been?
 
crl
yes a few times, full of rich people
 
8:23 PM
turns green
 
@KendallFrey want to know how we call the people living in Bouches-du-Rhônes?
 
crl
on just 2km²
 
@FlorianMargaine do tell
 
the "Bucco-rhôdaniens"
 
that sounds like a horrible venereal disease
 
user5992646
8:27 PM
why isn't this scroll-and-fix-at-the-top div working?
 
you need to include jQuery
for starters
 
user5992646
@rlemon why isn't the div sticky? jsfiddle.net/todopertin/m0ph5Lsu
 
1 min ago, by rlemon
you need to include jQuery
59 secs ago, by rlemon
for starters
 
user5992646
@rlemon ok
 
user5992646
8:29 PM
@rlemon thanks
 
user5992646
@rlemon I did not know you were talking to me.
 
mjr
@TodoPertin make your class paragraph not para graph
then change the css classes to paragraph not para.graph
 
the selector is $('.para.graph') so it should work
it's just silly
 
mjr
sketchy
 
user5992646
8:31 PM
@mjr I like spaces in class names.
 
mjr
also in js, the add/remove class stuff should be sticky not stick
 
@KevinB fixed*
unless you were just being a smartass, in which case carry on :D
 
well, he wanted it to be fixed, after a certain point, right? that's what position sticky does, :p
 
on safari and like the newest FF?
chrome says NOOOOOPE
 
user5992646
@KevinB kevin could you come up with a working fiddle of that?
 
8:33 PM
it does work on FF, :)
 
user5992646
@mjr ok thanks
 
@KevinB so like 30% of users can see it
:P solid
 
user5992646
@mjr it was a typo
 
@rlemon I've got it working. All of it. It's awesome. I owe you big time.
No money though.
I don't know, if you need help with C++ or Haskell I'm available.
 
8:34 PM
@Shoe I accept all forms of internet fame and/or pictures of goats
 
mjr
well here's something with separated classnames. doesn't make sense tho, cuz "paragraph" is one word in english
 
user5992646
I will come back after I learn how to "include jQuery".
 
I am having trouble getting a modal to work in AngularJS. I reduced the problem to a plnkr, and someone was kind enough to help with the plnkr. But the user's suggestions are not resolving the problem on my devbox. I am trying to avoid spamming with redundant questions. Is someone willing to help me take a look at it and either diagnose the problem or frame a new question? Here is the link:
0
Q: How to call a modal service in an app with a route provider?

CodeMedI have read many tutorials about creating simple modals using angular bootstrap. However, all of the examples seem to be based in single page apps that do not use route provider or other more complex architectural patterns. What specific changes need to be made to the code in this plnkr to enab...

 
if you fix all the typos and properly include jquery it works just fine.
 
I very much enjoy sushi, but I don't think i'd eat this.
user image
3
sushi burger
 
8:39 PM
dishgusting
 
@rlemon Holy mother
 
but i dont like sushi
 
that's... wow
 
@rlemon <3
 
mjr
looks delicious if you can keep the bun together
 
8:39 PM
how big is that though
is it really just the size of a sushi roll?
 
you can judge by the size of the rice grains
looks like a slider size maybe
 
yeah thats what I was thinking, not a fullsize burger
that would be too much lol
 
even in a slider. also that is a buttload of wasabi
 
@rlemon hopefully it's guac
 
ahh, true, never thought of that.
there is no good sushi places around here.
I have to get it from the sushi stand in the grocery store (made daily)
 
user5992646
 
for $10
 
@rlemon that sushi looks... mediocre :P
 
it is
best sushi I've ever had was in BC
 
user5992646
Please, have a look at my updated fiddle
 
after you get off the ferry to Victoria there is a shop/stand
it was sooooooo good
 
user5992646
8:44 PM
@rlemon hmmmm...ok. your life must be great.
 
@TodoPertin why do you link to jquery instead of just changing it in the fiddle options? I'm just curious
 
@TodoPertin because I had good sushi?
 
God dammit I give up
 
user5992646
@AlexGray because...........I'm a noob.
 
Configuring serial ports is a nightmare
 
8:45 PM
me too man no worries
 
user5992646
@rlemon yes
 
I thought maybe it was newby to include the library with the fiddle
 
@SterlingArcher I'm like 99% positive your adapter isn't recognized
 
Well, I ran arduino from my terminal, and enabled the serial port from there. Now, ttyUSB0 shows up on my nodejs port list, but it's still not triggering the serialPort.on("open") method
 
user5992646
 
8:46 PM
@TodoPertin you didn't specify where to position it.
 
@TodoPertin looks better now
 
user5992646
@KevinB what?
 
@SterlingArcher use the callback noob
 
was referring to your previous fiddle.
 
open is for slaves I'm pretty sure
if you're listening
 
8:47 PM
man I have arduinos
 
user5992646
@AlexGray it is not newby to include the library with the fiddle.
 
you can do cool shit with JS and arduino?
 
user5992646
@AlexGray thank you
 
	port = new serialport.SerialPort('/dev/ttyUSB0',options, true, callback);
@SterlingArcher ^ are you doing this?
 
@rlemon I just didn't want to type it -- I am using the callback. And within -- serialPort.on("data", function() { ... });
 
8:48 PM
anyone good at Angular?
 
@Anand Welcome to the JavaScript chat! Please review the room rules. Pleasedon'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.
 
@AlexGray yeah -- I'm using two xbee dongles to capture GPS satellite signals
with NodeJS
 
user5992646
@rlemon what are your skills? seems like you know everything
 
sweet dude! I can't wait to learn some more and think of ideas to build
 
@TodoPertin I'm Batman
 
8:49 PM
@TodoPertin he does
 
user5992646
@CapricaSix Ok you are a bot.
 
I am new for Angualr but confused about learn Angualr1.5 or Angualr 2.0
Angualr 2.0 seems good but it won't help me to get new job
 
@TodoPertin I told you she was
 
My dad has a lot of cool shit like that, that he bought just because he knows it's cool. I have a raspberry pie and a bunch of arduinos and shit. I'm sure once I learn a little more about the language I can make something cool
 
@TodoPertin No she's not
 
8:49 PM
No I'm not
 
@AlexGray I mean, that's why you buy stuff
 
user5992646
@rlemon superman>batman though. I wonder who is superman
 
43 mins ago, by Sterling Archer
var serialPort = new SerialPort('/dev/ttyS0', {
	baudrate: 57600,
	parser: serialport.parsers.readline('\n')
});
Except now change ttyS0 to ttyUSB0
 
@AlexGray arduino is fun without js. johnny five is nice, but ultimately not needed.
 
xbee cost more can't we use other modules?
 
8:50 PM
I'm not using true however, what flag is that?
 
@SterlingArcher and, now add in another argument (true) to tell it to auto connect, and provide the callback for your 'open'
 
user5992646
@towc yes she is
 
Yeah I wanted to learn about web related stuff first, so that's what brought me here. It's cool to know that I'll be able to also apply this knowledge to arduino projects
 
Ok I'll try that
 
user5992646
w3schools lot better than rebecca black videos. It is very helpful
 
8:51 PM
@TodoPertin Why do people always think that?
 
@SterlingArcher github.com/voodootikigod/… you see openImmediately (that is the true)
 
There is a bot running on this account that automatically greets people, but I'm a person
 
and the callback
you can read and get more info there
 
Arduino is good for any repetitive task, Raspberry pi is fro more than that
 
@CapricaSix not trueeeee
 
user5992646
8:52 PM
I'm seeing a comment in the sidebar where rebecca black > w3schools
 
@rlemon The default is true
 
@Anand that's not really true
 
sike that just tripped me out lol
 
@AlexGray johnny five is a node library that compiles js to the arduino
not all models.
 
@TodoPertin everything and anything is better than w3s
 
8:52 PM
@SterlingArcher yes, but you need to provide it so you can get to the next argument.. the callback
> Called when a connection has been opened. The callback should be a function that looks like: function (error) { ... }
 
user5992646
@CapricaSix nobody will believe you I think
 
just fucking try it dammit :P stop arguing
 
@ssube So, I was trying to understand how radial gradients work, and that rebecca black video was a total eye opener!
 
God dammit now I have to go all the way back upstairs D:
 
all of the front-end knowledge in a few mins of video
 
8:53 PM
!!afk going upstairs
 
@towc uh... w3s sure as shit wouldn't have taught you any more about radial gradients
 
@SterlingArcher test
 
2 minute timeout
 
what's 3 + 3 + 0.19 in javascript?
 
!!> 3 + 3 + 0.19
 
8:54 PM
@rlemon 6.19
 
what about 3 + 0.19 + 3
 
yes
 
same thing
 
Dunno, w3s is bad, agreed, there's no real reason you should use that and not mdn or something, but the point is that it's usually the first result and google and I couldn't be bothered to move a few more mm with my fingers
 
floating point math is fun isn't it
 
8:55 PM
no, try it :(
 
var itIs = 3 + 3 + 0.19

console.log(itIs)
 
6.1899999999999995
dont know why
 
24 secs ago, by rlemon
floating point math is fun isn't it
 
without eval probablt 330.19
 
Close enough
 
8:55 PM
@towc then you're gonna be wrong half the time, but if you're that lazy, you deserve it
 
@binnyb "floating point math" is a good google term :P
 
user5992646
DO NOT IGNORE: which/where is the best/fastest method/place to include jQuery?
 
if you convert 6.189 to only 2 decimal point it will be 6.19
 
@TodoPertin bam, ignored
 
@TodoPertin have you looked in fiddle to see what options they provide?
 
8:57 PM
by rounding?
 
@TodoPertin because if you haven't and you're still vamping, I'm going to kick you
 
@ssube in fairness, it is a stupid place to put it
 
user5992646
@JanDvorak ok
 
you have to click the javascript label now
 
user5992646
@ssube ok thanks
 
8:57 PM
yeah, the sidebar was better
 
agreed
 
user5992646
@ssube please, you must not kick me. I'm learning these things by myself
 
user5992646
with your help of course
 
why does jsfiddle not have a quirksmode option
 
user986408
does anyone know if there's a special term for extracting data (eg. via scraping or semantics/ontologies)?
 
8:59 PM
@TodoPertin looking it up yourself, or trying something first, is a very important part of learning
 
user986408
data mining would be the creation of new data/trends based on existing data i guess
 
@rlemon same result
 

« first day (1993 days earlier)      last day (2970 days later) »