« first day (2167 days earlier)      last day (3005 days later) » 

00:07
@Luggage It's because of the files field in the package.json
  "files": [
    "*.md",
    "dist",
    "lib"
  ],
ah. i see.
ty.
@rlemon I oughta build a robot
uh oh he said yooler angles
That close vote room is huge... when did that become a thing?
I'm enjoying this
it was one of the first canvas things I did, I revisited/rewrote it
fun times
that's brave of you
the first canvas thing I did had no vars >_>
No, it's more than brave.
It's... chief.
00:45
i got confused why i couldn't use i in any loop i wanted, so i started using ii
turns out i was just overwriting globals constantly v.v
was that a little indian joke? ><
@KendallFrey that's a na(t)ive joke
how
hello to you too
00:47
you want to see a setup that makes all the 13 year old boys jealous?
@david honestly, the first.. the VERY first canvas thing I did was boobshower
ambient lights installed
heeeeey
fooking love lights m8s
@Loktar nice
00:47
you know what would be so badass
lights to music?
lol
but instead of a light strip
@rlemon not yet, the PC does though
00:48
the computer itself
using the nzxt hue+
that last pic has it in spectrum mode
looks so fucking sick
the lights chase in that mode as well
but yeah you can set them to change to music
for my bar I want to build a system to use fft analyser to control lights behind the bar
But can you write your own animations ;)
js powered bar
livin the dream
hah that would be awesome
00:49
I started writing an animation but it's so hard without being able to test it
I'm incredibly pumped about getting the i2c-bus stuff figured out
and I don't feel like writing a simulator for testing
HELLO full programming the rpi gpio using node
so pumped
github.com/rlemon/lcd1602-rpi-i2c it ended up being so simple
but I'm so happy anyways
this RGB shit is going too far
@Loktar can you make the ambient lights take on the dominant / average colour of the monitor?
that's something i'd like to try as long as the latency wasn't noticeable
@david no, it doesnt connect to the PC at all unfortunately
00:52
hey @Loktar ever have your Rift sensor disconnect randomly?
pretty sure they could be controlled via an rpi or something
@david I am building an ambilight picture frame with an rpi and nodejs
(and a few modules)
@KendallFrey I havent used it in forever... however last time I did my headset was
(mainly i2c, fucking analog)
00:52
@KendallFrey you set your usb to never sleep?
no I didn't
basically scan the outer say 20% of a image and then match those rgb values to external leds that cast behind the frame
If I keep having problems I'll try it
I like my fixes to be statistically significant :P
00:53
@rlemon nice yeah I remember making something like that however not for real lights
@Loktar i've got a poc written in js somewhere
but I did it for the entire picture
idea is to use node-canvas
averaged the color
but the outer edge would be neat
or electron or nwjs
something so I can still use canvas api
00:54
yeah I'm thinking of buying another strip to connect into my rpi
then just output to my rgb leds
because I see exactly how they work
Second small monitor, video splitter, projector lense with grease. Bingo. ambient lighting based on image
I don't have strips unfortunately. I do have like 100+ common cathode full color leds tho
00:55
lol actually someone does it there
Make sure it's addressable
well I have strips, they are white
because that's way cool
the strips are SO CHEAP dude if you want to get some
I paid $25 for 2 10 meter ones
@Loktar yea but I have these leds.. :P
for my bar I'm going to use the leds and an arduino mega
00:55
(idk if/how rpi handles addressables)
like 40+ analog ios
thing is amazing
@KendallFrey rpi has no analog io without modules
@Loktar I paid about that for 1m
damn @KendallFrey
@rlemon They don't use analog
not sure if you need that
ahh, ok
00:56
the video above they do it with the rpi, looks super common
I basically can just download someone elses work
will probably do that lol
The library for arduino uses custom timing code, so I'm not sure what baud rate they use
link?
That's something I've been trying to find a good excuse to try (custom timing with assembly code)
interfaces with this, heroicrobotics.com
that's really badass..
wow the lights are fucking pricey though, 5m $120
00:59
@KendallFrey dude, like I said. rpi2 is yours if you want it
I even mounted it
@rlemon I need something to use it for or it's just gathering dust
uhh, lots of stuff?
control your lasers with nodejs?
do things with nodejs
nodejs
I finally used mine as an IRC client
just connect to it via ssh, replaced a large box I had for it
@rlemon I can do things with C++
it's calling your name
01:01
I don't have a good use for my laser right now either
I want to have a use for an rpi.
But I do not.
do this @KendallFrey
I have plenty of uses, but all are kinda lame
most are work related
I wanted to do that to my kids
like right now I'm making a atmega progammer 'box'
01:02
not tell them I can control it at all
and make it say shit at night
> Don't close your eyes if you want to wake up
DAAAD It's talking to me!!
oh lordy lord
no it isn't go to bed
> Five nights at Loktar's
hahah
pretty much, that would be such a hilarious prank
the rpi is such a nice thing at work. programming boards are expensive and if you don't mind spending some time you can do the same with an rpi + a few bits of things.
01:04
I did one similiar years ago, put a guitar amp in their closet connected to my phone and called it, had an alien in a jar on top with a light under it.. they went INSANE
crying, screaming to call the police, good times
this thing is janky af
I built one with an rpi + a few components to do the programming via serial
takes like a minute longer, 0 failure rate
cost like half that
in retrospect cost like 4 times that because I spent a day doing it
but not janky
unless there was value in the education
I learned how to use avrdude
it's a nice piece of software
shit man.. I kind of want to use the rpi to control these strips, yet get the waterproof ones and use them on the outside of the house instead, for halloween/christmas
I have a small strip of waterproof ones. after about 3 years they have dimmed by a good 50%
not sure why..
but they were from dx.com....
I gotta stop going there
01:10
haha
is it the light that's dimmed or the cover that's gone opaque?
@david def dimmed light
sucky
they were a 420nm blue strip made for cars
@Loktar You could be one of those cool people with a light show for christmas
01:10
I used them for moon lighting on my fishtanks
yea, and for not too much money @KendallFrey
> The LED that burns Twice as bright burns half as long. -Lao Tzu
i read someone's post where they bought UV leds, and the plastic coating wasn't UV safe so it went brown in like a day
@Loktar no, you need to be rich to make impressive things
haha
01:11
@Loktar introduce dx.com
@david not UV safe, or not designed for use as anal beads?
crazy cheap shit from china.... no return policy..... 1 week - 3 months delivery
that went very poop very fast
among other glass things, I ordered this: dx.com/p/…
came in a bubblewrap bag folded in half
... the wrong way...
never order glass from dx.com
I thought I learned my lesson when I ordered that drinking bird thing and it happened the same way
01:14
nope. :(
ouch... no returns?
I'm not a smart man
I've seen this one a couple times
it's amazing every time
@david I've emailed them a few times about a return. they don't cover postage.
it'll cost more to return it than I payed
not worth it
considering how cheap I've gotten things from them and how much I've saved.
leds that cost me $1/per on digikey are $0.20 on dx.com
@KendallFrey man... that would be so cool to do
01:15
no way it would be cheap
oh man i almost forgot, this guy played the star wars theme
If you find any places that sell UV-C leds please let me know ><
I don't see it in the videos
holy shit @rlemon
this isn't the original tmk
I've seen a better one
can't find it
> hun, I hope you don't mind, I drained the checking account. what for? ohh you know. $20,000 in lighting equipment to fucking own the robertsons next door... those bastards had it coming.
01:21
You need a wife like Loktar's
> Stop me from buying this
> Hey, that's cool
ohh I've got one
Holly is 110% enabler
lol nice
you got married? :o
:|
01:23
but we recently celebrated 6 years
so basically.
guess so
grats :P
I mean... we've spent 20% of our lives together. and we're not in a bad place or argue
I don't see it going south any time soon
Hey, do you guys know anything about syncing stuff by eye/ear?
what do you mean?
I don't know if I'll be able to adjust timing based on cross-referencing my sensory inputs
I think brains are really bad at that kind of thing
01:25
so you want a calibration?
kind of
trial and error
slope + offset
in rock band
they have this utility
adjust till it works.
01:26
to calibrate delays
it gives you a few exercises
my code may be off by a couple milliseconds
like a metronome where you have to push a controller button on each extreme side
but I can't tell what the timing is like reliably
it works very well
I work in the sensor industry. the best advice I can give for calibrating a analog input is to take a few samples in code, and take a few manual samples (if possible) and set your slope / offset accordingly
01:27
My hand timing is worse than any lag introduced by my software
I think you need to just do it over a long period of time
so manually tapping won't help
a 100ms delay on one tap is huge, but if you sit there tapping 1000 times it evens out
find a drummer
@KendallFrey if I understand the problem, it at its basic is: learn.adafruit.com/calibrating-sensors/so-how-do-we-calibrate
but.. like with timing
(slope)
01:29
yeah but can I do it by eye?
It's not a big deal
I'm just a perfectionist
you'd need a known true sensor already
No, I mean comparing the timing of audio and lights
I mean yea you can do it manually.
trial and error
but that isn't ideal.
01:29
It's kind of hard to explain
what are you actually doing? could you have both the real signal and the fake signal flashing lights at the same time?
you can see a light and hear a sound, and feel that they aren't in sync, but don't know how close they are or which one came first
it would be easier to spot discrepancies if you had both signals going at once
ohhhh
@KendallFrey yea so offset (delay) + slope (time scale) === perfection
but I don't know of an automatic way to do this
I have no idea what you're talking about
01:31
(for your application)
I could do it automatically with enough effort
that's quite tricky because slight delays are actually okay in our minds, it just alters the emotion... like adding suspense and shit
but I'm also lazy
I'm thinking in voltages, not anything else.
you send a signal, you get a signal.
you want them to match
One thing is, the arduino doesn't actually know about anything audio
it's purely a stream of lighting data over serial
01:32
you don't take an input?
I just play audio through my PC
it sounds like he has 2 outputs, one audible and one visual
no feedback at all, just manually trying to line them up
but you read that audio and send your arduino analog signals yea?
speaker <- PC -> arduino -> LEDs
@rlemon nope
boo
01:33
PC controls the sync
well at least you know the signals are synced to begin with :S so you're really just adjusting for the delay in the aruino?
Well I have no idea where or how much delay there is
My main suspect is the way I'm playing audio
can you plug a speaker into the arduino just for testing? if you have 2 speakers out of sync you'll be able to pick that up really quickly
man.. I left my rpi at work that has all the cool shit on it
it's using Windows APIs, so the timing could be anywhere within a 10ms window, I reckon
01:35
in fact you may not even need the speakers to play the same thing
now I wanna play with it
@david yeah that might be useful
I can transform my pixel data to something audible
here I am bikeshedding like mad :(
oh shit I found which video has star wars
the one labeled "2015 (Video 5) Kevins Mix"
26 mins ago, by Kendall Frey
http://www.kevinkolak.com/videos.html
02:14
操作员失误
is there a microlib
for react like dom authoring?
elm? /trolling
@FélixGagnon-Grenier didn't consider elm
basically I don't want the absolute control or overhead of react
ohhh I love youtube chat "harambe did 9/11"
02:22
today I made salsa
but I like using JSX
roasted some tomatillos, red vines, poblanos, and jalapenos
@Shmiddty lemme guess you had no idea of what the shadow ingredients are
@Abhishrek I think I recall a blog post having nice things to say about elm's performance over react's. however the syntax is all fucked
bit of cilantro
02:23
until you chewed em :D
o.O
oh and roasted garlic
@Shmiddty yum!
salt
bit of olive oil
@Shmiddty how much for a quart
sounds delicious
and a dash of balsamic vinegar
it's about 6 or 7 out of 10 on the spicy meter
pretty tasty indeed :D
I made a quesadilla with it and some crumbled bacon and cheddar
02:25
pls stahp
was nom nom
HAMMAHTIME!
you're making me want to be obese
I've gained 20-30 lbs in the past month or two
Mornin all
02:25
but then I realized
I AM FUCKING WRITING ES6 FFS
@Abhishrek so life is good?
yeah :(
just realized I could just do
`<div>${someComponentCode}</div>`
React has clouded my mind :(
@Shmiddty btw I played the game again
JSX tagged template literals?
02:27
its addicting :-|
@KendallFrey yes
@Abhishrek goddamn you I lost
cc @jAndy
@Abhishrek noice
@Abhishrek the weird chess-like game?
@Shmiddty yes
I got a hang of it =/
ended up playing Civ5 to get out of the loop
more fun this time around?
03:08
he has included an async library, but hasn't used any of its functions
and is wondering why his shits not working
03:24
Hey guys, how can I tell if a function I've been using has been hooked beforehand?
lets say I have a function f, and it has been rewritten so that calling f triggers calling b beforehand. I want to see if such a thing really happened, and if so get the first version of the function
store a ref to the original, compare them
How do I store a ref to the original? this happens when the page loads.
03:45
are you writing the code?
No, I observed that when trying to call document.querySelector upon some element, after the first time the element disappears and I can no longer get it
I want to understand what is actually happening.
that sounds... very odd
and i don't quite see how your question will let you understand what's actually happening
Maybe it's a bug rather than something someone did
But the end result is that I call document.querySelector twice in succession and I get the element only once
twice right after each other?
Yes
Funnily enough, I can't recreate this anymore.
Maybe this was all one odd dream.
03:57
i don't think it's that surprising
i suspect you've been smoking too much jquery
honestly officer I haven't been smoking any jquery
Oh. We have a new AI. Hello GlaDOS.
If only there was a word to explain the frustration you get when you encounter a bug, try to understand it's roots, and then it disappears without giving you enough insights as to how to recreate it.
I am not a robot.
This definitely doesn't work in my favor if I tell you that I encountered this behavior while trying to query a google recaptcha button does it?
You know, I just updated six forms to the google recaptcha v2. It makes me wonder whether I'm actually a robot.
In which case I can answer that, no, Electric Sheep does not dream of Android.
Hi frends
Hi any one have an idea about the Google Hangout API integration using Angular ?
04:04
@GLaDOS Anyway. Your question is weird indeed. Since it's extremely unlikely that querySelector has bug, the bug is likely in your code or its interaction with recaptcha.
google nocaptcha - Hard on bots, ḩ̸̭͔̐̏͌́̔̚̚͝m̴̬̟̩͈̥̬̙̩͙͕̯̺̱̲̃́̈́͑͂̏̋̌͝n̸̨̜̤̪͇̹̗͔͖̤̐̋͒̓̆̏̍̐͐̅͒͑s̴͖̔̅́̅̽͛̋̄̀̇̇̅̒̈͝‌​̜͍̙̬̝̙̖̘̩̮̜ ̵̨͍̤͙̬̜̏́͆͂̌̆̍̍̋̇͑̄ͅr̵̡̧̛̟̭͕͔̗͔͇̹͎͚̪̩̍̀̈́͌̓͘͜͝ä̶̗͖̹͔̗͎́̎̈́͂͊̒͗͂̓̒͆̂̀͘ͅě̴͕̺̓̈́͌͘͜͝͝‌​̯͉̥̳ä̶̪͎̯͚̳͎̮̠̳͉́̀̎̅̈̄͝͝d̵̨͙̝͇̼̗̩̺̞̭͑͗͆́̊͑̇̃̀͆͐͗͘͝ ̴̛̣̾̊̽̅̇̅͝w̴̡̼̭͓͇̫̲̞̎̆a̸̡̢̡͖̻̯̗̼̣͚̬̱͎̫̽̒͛̏́̀͗̃̀t̸̡̨̛̫̺͕̠̺̟͇̆͂̇̏͌̆̈́̃͂̚̚̚͜
@Sheepy This was done on the chrome console. So no code on my side.
Console does not make typed code any less code.
Or any less bug.
Yeah, what I did was reload the page, and run

document.querySelector('iframe')

twice.
04:20
Can i get help on JWTs?
@Corgs 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.
@Corgs I have heard of GWT. JWT? Sorry.
Do you mean JSON web token?
Yes.
@Sheepy, yes.
I understand the general concept but am confused on when to use them. Server to client is obvious, but client to server? What is an appropriate length for a randomly generated key? Where would I store the keys?
04:40
@Corgs Sorry I have never used JWT so I'll leave it for others to comment. Generally, longer key takes longer to send and process but is more secure, so use the highest you can and see how it goes.
@Sheepy JWTs usually use RSA for asymmetric key couplets and HMAC 256 for a symmetry key (for compactness)
So thats what im using (HMAC 256)
05:22
lol who's gary johnson

« first day (2167 days earlier)      last day (3005 days later) »