« first day (2244 days earlier)      last day (2698 days later) » 

12:00 AM
we attempted to move to a new CRM, but after a few months demo it didn't work out. the data wasn't migrating proper
so we're back to max
 
heh, we had that problem with nodejs
 
it requires ie/ieframe to integrate properly
and windows
 
node is my best friend
 
so I've got the excuse not to use it
 
had a whole new cms/intranet system ready to go, looked great, could migrate stuff to it... but it lacked the polish/features that the old system had.
 
12:01 AM
Oh man @rlemon you may have a problem: imgur.com/a/avuEK that z-indexing
 
who posted that fiddly string / node / puzzle thing earlier?
 
so we just implemented the new stuff into the old stuff using cf
 
she did looks at @david
 
@Julix the graph planaraiser game thing? that was me
 
Node is the model sitting on the other side of the bar that I wish I was allowed to hang out with full time
 
12:02 AM
@KevinB I'm learning React right now to port our entire UI (electron + webapp) to that.
I hope I'm not making a big timesink
 
I didn't make it though
 
good luck
 
right now it is spaghetti mess I wrote with bootstrap + express + jQuery
and socket.io
 
I've managed to land a job at a pure JS shop, everything on the backend is just node microservices
 
I often say that i hate CFML and wish we were on all node.js... but... at the same time js is just moving so much right now
 
12:02 AM
As someone known for hating libraries and frameowkrs, React is bae... except it can be kinda slow when it comes to large sets of data/components...
 
did you have a look at github.com/trueadm/inferno?
 
@rlemon You use bootstrap? For shame...
 
@david still not finished, admittedly I keep getting distracted by doing homework... but
 
we have this web store built entirely on node.js with loopbackjs and angularjs, the problem with it is when we released it we failed to lock down the versions of the modules we were using
so when we went to do maintenance on it a year later nothing worked
 
@KevinB bithound.io next time, it's free for 1 private repo
 
12:04 AM
@KevinB We recently switched over to yarn for exactly that reason
 
Now i just open it up every few months and update everything
not a bad idea to open it up every few months anyway
 
@monners easier than hiring a designer. Farmers are easy to please.
 
still using angular 1.5, not moving it to 2 or 3
 
angular 1 is cancer
 
i have bad memories of angular 1.x
 
12:06 AM
and not the good kind
 
2 was okay
 
well, it works
so..
not touching it
 
but i don't like the typescript pushing
 
i don't like the idea of TS, so i don't want to go to 2/3 either
 
there is a 3 ~.~?
 
12:07 AM
I like the idea of TS, I just don't want to write TS
but the idea of it is actually quite sound
 
yeah, angular 3 is on the way
it's not a huge rewrite like 2 was
it's just a new versioning scheme
 
geez, people are still in shock over 2
oh
 
so 3, would be like 1.x's 1.5
vs 1.4
 
just finished and there's no ending!? what the heck. was expecting at least a pop up... :P
 
oh shit there's an end? i shouldn't ahve closed my browser
 
12:10 AM
lorempizza.com just plugging this
one day I'll put up some ads
maybe
 
At this point i just want to use node.js to build apis. but... at the moment we don't have much need for an externally facing api, and for internal stuff it's easier to just have cfc's
rather than doing cfhttp requests to a node api
 
that's my plan at the moment. React + api. but the api is kinda fed from an external device. so the front end needs to exist at the device and on the web
 
there's hot stuff to try out, like GraphQL and Relay
 
offline at the device ofc.
 
we are using graphql for everything and i think that's probably not a good idea
@KevinB what is a cfc?
i assume it's not the ozone killing thing
 
12:18 AM
@david there's 20 problems total, but completing all does nothing special.
 
speaking of which, if I have a couple hundred clients, needing to read/write small amounts of data (couple dozen bytes) to a db every second do I actually need/want something like aerospike? or would postgres work fine (cc @ssube)
 
@david perf issues or?
 
running on a pretty good dedicated server*
 
@FilipDupanović it's just overkill, we don't actually need the capability to query some of this data, we just want to get it
 
lol, prof said there wouldn't be a final, just got an email with a final exam... misunderstood; there will be no final IN CLASS - open book final for JS. that's neat.
 
12:21 AM
I wonder how many people will get burned for copy pasting from stackoverflow
 
Should StackOverflow get the credits for the exam then? :D
 
er, how do i make that collapsed? ><
 
add text behind it
lol
 
@david lol, lasers? :D
 
12:23 AM
usually ... works
 
pewpewpewpewpewpew
 
I liked it un-compressed. probably woulndn't have clicked on it. And hovering on the link does nothing. that would be neat
 
another plug
collapsing links is a thing
 
you wouldn't have clicked on it!? that's some crazy ass self control. I click on everything
 
visit the options page after installing if you want to check on what is toggle-able
 
12:24 AM
Oh god make work stop D:
I'm still working :(
 
@SterlingArcher want to know more facts about barnacles
 
@david well, Meteor is a great idea that never appealed to me because it feels way too opinionated, so I'm going to try and see where GQL and the supportive tools will get me with not caring about how data is made available to me
 
lol no thanks
 
ping me before your next meeting
I'll make sure to have a good one
 
@FilipDupanović speaking from . my current project.. unless you're strictly using MongoDB and don't give a rats ass about scalability.. don't use Meteor.
 
12:26 AM
Isn't meteor just a bunch of fallbacks for websockets? or have the pivoted now that browsers have caught up?
 
Angular and react are better options and play nicely with APIs
 
@SterlingArcher so are you all knowledgeable on dbs now?
8 mins ago, by rlemon
speaking of which, if I have a couple hundred clients, needing to read/write small amounts of data (couple dozen bytes) to a db every second do I actually need/want something like aerospike? or would postgres work fine (cc @ssube)
 
lol no
I don't know what aerospike is
 
isn't that the kind of thing you'd use redis for or is that too manual?
 
12:30 AM
Interesting
 
to be honest, I actually need a way to connect a device with a client with a middle server. right now I'm doing some convoluted solution which involved ssh tunnels and proxies
 
It seems a lot like Redis
 
@rlemon so if you take that you allocate a few MiBs per connection and that each operation forces everyone else to wait, I think you should still be ok (TM) with anything out there, so make a pick for developer happiness if you don't have more specific requirements
 
I'm thinking with modern tech I should be able to just use a store in the middle to use regular https and send/receive commands/data
but it needs to all be real time
(1-2s latency is fine)
 
@david well I have an assignment and an exam open at the same time. the cartoon-ness of the image made me click. can't tell that from a link :D - and I still clicked to make it big. and I'm glad I did - been long time since I used R for anything
 
12:32 AM
the problem with the ssh tunnels is that we're dealing with some of the most hack job back water isps. they do some funky crap and anything but regular http/https is blocked.
it's insane
 
i used r once at uni, never again.
rlemon do websockets work? long polling?
 
I need to proxy the connection to a local device to the user
 
why the tunneling, wouldn't you be able to use a HTTPS proxy?
 
so I create a tunnel between the device and our server and proxy the websockets to that tunnel
 
oh they need to connect directly?
 
12:34 AM
yes
 
you can't just pass along messages for them?
 
well, that's the current solution
I'm thinking about passing along the messages.
it was a very hacked together project
I'm surprised every day that it actually works as well as it does
 
webrtc data channels?
 
^ I was just thinking about P2P
 
nahh, we want a central connection
it serves additional customer service purposes
 
12:36 AM
what are the clients running? does it have to be web tech or could you use zeromq or something?
 
a small embedded pc running linux talking to another pc running qnx
 
wtf is qnx... googling
 
RTOS
we do process automation in the grain industry
and other industries, but grain is the main one
 
lists.zeromq.org/pipermail/zeromq-dev/2008-September/… looks like they wanted to get zeromq running on it in 2008 officially
 
that's farmers for you... 1st to get satellites and still have the best tech today
 
12:40 AM
it's really weird actually.
they have half cutting edge shit, half 40 year old crap
we've finally got enough clients on iDevices that I now need to buy one for testing. that's a milestone I guess. it's like 87% android, 10% apple, 3% other.
@SterlingArcher unnecessary roughness
 
lmao rekt
 
@SterlingArcher did you see my goku workout gear link?
 
not yet 😬 im struggling to keep my work up right now
 
tfw you get home 6 hours before it's time to get up again
 
12:46 AM
there's only two types of comments in JavaScript, right? // and /* */ -- test is asking my to use three types; probably means <!-- -->
 
<!-- is technically valid
 
really? in JS?
What about the weird one for old xml parsing?
 
yeah
 
archaic stuff
 
cad or something like that?
 
12:47 AM
CDATA
 
16 secs ago, by rlemon
archaic stuff
 
yeah! but I guess it's not really a comment :D -- but <!-- would be -->
 
that wasn't a comment, it was more a declaration that the contend of that tag is plain character data and shouldn't get shit like &amp; parsed
 
cdata is sadly not archaic
 
it's just an XML thing
 
12:48 AM
<!-- stuff //-->
is still valid js tho
 
interesting. thanks! (goes to try that in console :D )
 
is it actually? you don't need to comment out the first <!--?
 
nope
 
eval is your friend
 
is it actually a valid statement? o_O
or just a weird exception
 
12:50 AM
var a = <!--"test"-->;
VM275:1 Uncaught SyntaxError: Unexpected end of input
var a = //"test";
VM286:2 Uncaught SyntaxError: Unexpected token var
why are they behaving differently?
 
@david it's valid, it's because in the old days browsers which didn't know about js didn't know how to handle the script tags
or something like that
@Julix because they are not the same
 
var a = /*"test"*/;
VM316:1 Uncaught SyntaxError: Unexpected token ;
@rlemon I know that, but I figured the error would be the same across comments
 
you can't assign a comment to a var
you're doing var a = ;
the first one doesn't actually work the same as a comment tho
 
@rlemon so it's an intentional parsing exception that is probably captured in the ecma spec somewhere?
 
because you don't end it with //-->
 
12:54 AM
oh!
 
@david I'll see if I can find it
but I'm pretty sure, yea
 
@david coldfusion component. it's basically a file type where you can define a bunch of functions, then store in in a components folder. you can then access those functions anywhere in the application. components can extend other components, and can be turned into remote apis by setting a flag in the component.
 
wait what? so valid js is actually <!-- //-->
 
!!> <!--;
 
@FilipDupanović "undefined"
 
12:55 AM
^
the //--> is an older thing
<!-- is treated as //
 
but the api generated by a component is kinda ugly. it takes on the form of foo.com/bar.cfc?method=foo&someparam=bar, either as GET POST PUT DELETE or HEAD. params can be in body or url
 
but not 100%
 
oooh coldfusion, my friends dad used to use that like 10 years ago
 
yeah
it's old
 
/* a=4 */
// a=4;
<!-- a=4 //-->
<!-- a=4 -->
after all that a is still not defined
 
12:57 AM
i still love xml and i think all websites should be served as it
 
we don't use the adobe versions, not since cf6 like 8 years ago
adobe moves too slow on updates/bug fixes
 
@david I'm so glad we snuffed out XML and I regret that there are still bits lurking somewhere in my memspace
 
@FilipDupanović json is nice. but maybe as js fan I'm biased :D
 
for the longest time cf didn't support JSON properly, so you had to use a json.cfc that did it properly
 
@FilipDupanović i'm talking about for serving html, i have no idea why people seem to prefer the SGML based syntax
 
12:59 AM
it still mangles json a bit, if you're not careful all the keys will be uppercase.
 
one of the testing apps I have to occasionally maintain I used xml to store data
it serves its purpose
 
"why is my coldfusion api yelling at me"
 
there are a few things about CF that i like, in particular components and the way the application.cfc works with it's events
 
twitch coldfusion...
 
I'm wonder what's keeping Adobe afloat in the tech space, after they sacked all their main devs years ago
 
1:04 AM
photoshop
and that whole suite of other related products
they pretty much have the market cornered there
 
business as usual in the enterprise world
 
yeah, but what's keeping them in the working groups, I still see Adobe emails now and then in the meeting notes
 
they've been trying to sell us on their DAM system
so i guess they have one of those
 
enterprise places move sooo slowly... if any of them used adobe in the past then they will keep using it for centuries
 
1:05 AM
digital asset management
like brandfolder
 
When asked what "document, navigator, window, and style objects" are, would it be more appropriate to describe each or should I describe what they have in common (i.e. that they're JavaScript objects with tons of globally available properties, etc.)
 
yeah, we move pretty slowly... but i like to think a lot of that has to do with the fact that we only have one dev and one designer, who make up a "marketing team"
 
i didn't mean you specifically @KevinB :D
just in general
 
yea, but a lot of it is due to that same kind of problem. People quit, and they dont get replaced due to budgeting problems in these older companies
 
where you at, in a creative agency or something?
 
1:08 AM
i work for a manufacturer down in mississippi
we're just now moving some of our products to web based technologies, but i have nothing to do with that
the web dev i hired a few years ago moved over to engineering and does that work
 
1:23 AM
i hope you hired well
that sounds spooky
 
hired well
what
 
like, picked a good candidate
if they are solo moving entire products over to web based tech
 
oh, yeah he was a good dev, he just didn't like coldfusion and had an opportunity to move to a position in the same company where he wouldn't have to write it
most of the products he's going to have to build simply interface with hardware via an api
so simple react/angular apps
mostly react from what i've seen
 
a dare
why else
 
1:36 AM
poor sharkbro
 
that's a little spooky
i don't understand people like that
 
Like old boy didn't even have a parachute
 
1:51 AM
@SterlingArcher just exercising those adrenal glands
 
voiding them
 
they're the front line in the times to come
 
was watching some vids like that earlier, where they don't go as planned
 
wat
@Loktar like.. ded?
 
yea
@SterlingArcher dudecomedy.com/… - nsfw site mostly, everything is blurred but just a fair warning (not nsfl though really)
that was one of them
 
2:01 AM
OOOOOHMYGOD
 
yeah his issue was grabbing the powerline :/
otherwise I imagine he'd be fine
sucks though
 
Estimated delivery: Thursday
 
fek.... how do you style radio buttons properly? :(
we're using form.io so i can't just make my own radio button component
 
@Loktar that's messed up fam.
What a website though lol
I didn't know what a 1 finger selfie was
me gusta
 
waht do you mean by... "properly"
 
2:08 AM
like... the way browsers expect you to i guess?
 
i mean, that's default then, i'd assume you're trying to make them look better
 
no, how browsers expect you to style them
do i just reach down into the shadow dom and go nuts?
is the stuff down there standardised between browsers or is it implementation specific?
hmm, it does have the text wrapped in a label so i guess i could just hide the actual input tag and use :before or something to dump stuff in there... might try that
this is hacky as fuck but it does mean we don't need to write our own form handling
 
:before seems to be common for that
not as common as replacing it with something else, but still
replacing with something else requires js to replcate the built-in functionality
 
yeah, i'd rather not start messing with their internal structure
 
2:14 AM
they give me classes that looks like i'm meant to use those... but targeting element nesting feels wrong
 
that isn't replacing the input
 
It kind of is
 
@ndugger yeah saw that, but it won't work cos i don't have a label sibling, it's a label parent
 
You can't modify the HTML?
 
eh, yeah, i guess it's using the label for the actions, true.
but same idea basically
 
2:16 AM
feels like a life ago since I wrote that tutorial
 
it leaves the original in place and takes advantage of built-in functionality rather than replacing it and using js
 
Yeah I can't modify the HTML, it's made by a library
 
Rewrite the library to add proper markup with the checkbox outside of the label. Simple.
 
often much easier to do than it sounds.
 
that's not proper markup though, i think it's better to have the label as the parent
 
2:20 AM
Sure it's proper
I never said it was more proper
 
yeah fair enough
the implication was that the current markup wasn't proper though
turns out there is a parent with a useful classname that i can use
so it's just .radio-inline label:before { instead of input[type=radio] + label
 
user6438653
What happened to JavaScript?
 
2:36 AM
it dug too deep
 
people who like to change things found it
 
they should have stopped at async/await
 
user6438653
2:55 AM
Jeez.
 
3:21 AM
you rang?
 
4:03 AM
could anyone help me with a three.js rotation
0
Q: three.js pointerlock multiplayer handle enemies rotation

neoDevI am creating a little multiplayer game basing on this three.js pointerlock example I need to rotate the enemies avatars on the actual player screen, so he can see the direction they are looking at, but I cannot figure out how to properly do it At the moment each enemy is sending an object with...

 
hey, at least it sounds like things are getting updated :D!
 
i hope it does cos then you might upvote it and i get rep
 
"First translate the context to the center you wish to rotate around"
this would be
controls.getObject().position
"Then do the actual rotation"
I get it with
object.rotation.x = data.rotation.y;
object.rotation.y = data.rotation.x;
object.rotation.z = data.rotation.z;
"Then translate the context back" ???
I don't get it.. it is a bit different from three.js
I am trying to understand
 
yeah, because he's using canvas straight up
 
yeah it probably doesn't help you
 
4:16 AM
I'm trying to understand anyway... but I am not so good at math
 
4:27 AM
three.js is a great place to start (y)
 
Yeah :)
 
shadertoy.com is great for prototyping
 
Finally finished updating my resume... docs.google.com/document/d/… I got rid of a couple of sections, as they felt a bit childish.
I hate resumes... so tedious
 
they are a pain
 
4:59 AM
@KendallFrey DUDE
you and I
will play
Dead and buried
it's free, and pretty fucking awesome lol
@KendallFrey also heads up, reddit.com/r/oculus/comments/5gu061/…
apparently not everyone got emails so check your account on oculus
if you still haven't gotten an email
I had to sign for mine when it got here as well
glad my wife heard the quiet knock from the delivery person
 
 
6:06 AM
In a require js system...what does the following line mean:
define("jquery", [], function () { return jQuery; });
Taken from jquery's source code...
why the empty array...?
Oh...I just got what that is...
 
Little help with css ... my div not taking rest of the available height. I cannot think of any reason why it is not working . Can anyone have a look jsfiddle.net/35dapa99
 
6:40 AM
0
Q: Icon disappearing in IE9 when rotated

Mr_GreenI am having issue in IE9 when used transform: rotate(180deg), the icon is disappearing. I tried using -ms vendor prefix but no use. .down-arrow { -ms-transform: rotate(180deg); transform: rotate(180deg); -ms-transform-origin: center; transform-origin: center; width: 16px; ...

^ Hi any help
 
6:59 AM
Does it become necessary to use observer pattern when implementing MVC in vanilla js ?
 

« first day (2244 days earlier)      last day (2698 days later) »