« first day (1812 days earlier)      last day (3142 days later) » 

12:00 AM
1 message moved to Trash can
@LuluthoMgwali Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
@SomeKittens Key words are "read", "watched", and not "written"
 
I hear you, but ill never be able to know if the client side code does not work. I have a disabled button that is never enabled. so that actually means that i never reacg this code
 
1 message moved to Trash can
@LuluthoMgwali Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
playaudio.oncanplaythrough = function () {
foo.disabled = false;
window.alert("i made it here 1");
};
@rism
 
12:13 AM
@Zirak yeah. Dunno where to start.
The examples I've seen so far are very trivial
Is there some sort of "hello world" for FP?
like how building a simple blog or chat program is a good way to learn Node
 
@SomeKittens hrm, the closest I can think of is SICP, which is the Scheme book
It talks about Scheme, but the concepts are translatable
(and requires no prior knowledge)
 
@KendallFrey what's in it? Aside from annoying amount of LED
 
@Zirak Does the book contain a project?
 
@SomeKittens I don't think you quite grasp what FP means. It's not a set of functions, or a platform. It's a way of thought. It's a thing which you can apply in certain situations. It's a paradigm.
It's like objects - you don't have a project which teaches you what objects are and when to use them. You learn what they are, and gradually apply them.
So that book (indirectly) teaches you what FP is, and applies it in certain situation (there are plenty of exercises).
 
12:27 AM
how do you horzontally and vertically center a absolute positioned div where the parent is unknown width and height.
 
@Zirak I'll try a few chapters
 
You'll probably want to skim read the first few since they're the basic introduction to programming (explains ifs and variables and whatnot)
 
ah, ok
 
@LuluthoMgwali Are you saying oncanplaythrough [does] or [does not] fire?
 
12:55 AM
+1 for SICP.
There are video lectures too, which are good.
 
@tereško annoying amount of silicon and copper
 
1:38 AM
@KendallFrey nice man
glad to see you got it all put together and working
not so bad to do eh?
 
I have two input search and when I typed on the first search box the other one also input the text from the first one. Why?
Help please thanks
 
@Micaela how in the world is anyone supposed to help with that description?
do you have a fiddle or a reduced test case?
 
<label>Date From :</label>
<input class="search" type="search" data-column="0">
&nbsp;
<label>To :</label>
<input class="search" type="search" data-column="0">
@Loktar
 
Where is the js?
 
!!s/js/beef/
 
1:52 AM
@Luggage beeffiddle.net (source)
 
make a demo on there
LOL
Beeffiddle.net
 
foiled again
 
$.tablesorter.filter.bindSearch( $('#cLoanOut'), $('.search') );
 
there is your answer @Micaela
 
I'm new in programming please be humble
 
1:54 AM
@Loktar Much more addicting than I anticipated
dealing with wires is a pain though
 
the ones for the mobo to the case?
or just in general, power cords ect
 
@Loktar I smell like beef
@Loktar everything
 
I hate the mobo/case wires
yeah I get modular power supplies now
really helps cut down on all the extra wires
you only plug in the cables to the PSU you're actually using
 
those are fiddly, but the power cords are bulky and tend to get caught on everything
 
haha yeah they are a pain
I usually route them through the back
@Micaela you posted your answer as to why its doing it
thats what I meant
 
1:56 AM
I didn't find the modular one to be that much better tbh, it still had a few unused cables and the cables were tanglier
 
look at the JS you posted
@KendallFrey oh man.. they are so much better
it sucks having like 5 full cables just hanging out unused
 
So what am I gonna do?
 
@Micaela did you write this code?
 
I'm so glad ribbon cables are gone.
 
heh yeah those are a pain, but there were newer ones towards the end that were nice
 
1:57 AM
put id's in those two input search?
 
they only ribboned out at the ends
the middle was bound/circular
 
@Loktar They folded up nicely with my other PSU. The two or three extras on the new one didn't
 
yea, they felt fragile, though.
 
@Micaela you're binding the .search class.
both of your inputs have that class...
 
Kinda sucks that I only had two SATA cords
and I'm still waiting on a mouse, keyboard, and UPS
but hey, it's a fast computer, and it works
 
1:59 AM
nice man
I need an ups :/
glad you got through it unscathed, I always worry on peoples first builds that they will get a faulty part or something that sets them back
 
$.tablesorter.filter.bindSearch( $('#cLoanOut'), $('#From') );
$.tablesorter.filter.bindSearch( $('#cLoanOut'), $('#To') );
 
@KendallFrey have you got hydro cooling in that.... at work?
 
Once I get a new gaming computer, I'll need one just for sheer number of plugs
 
<input id="From" class="search" type="search" data-column="0">
&nbsp;
<label>To :</label>
<input id="To" class="search" type="search" data-column="0">
 
@rism nah, would be neat though
 
2:00 AM
I try it like this but still the same
 
The inside of the case has a sexy blue glow from the fan LEDs
 
hmm yeah idk @Micaela idk what cLoanOut is.
 
When I type on the first one i copies the text and the second search box
 
@Loktar I did get a faulty part :(
 
you need to make a fiddle
 
2:01 AM
cLoanOut is my table
 
ssd's tho i hopes?
 
thats my beauty
 
thankfully nothing else seems to be damaged that I can tell
 
loud noise from the ceiling fan
 
2:02 AM
@rism ohh yeahh fap fap
 
what was the part @KendallFrey?
 
@Loktar The PSU :/
 
ahhh lol that sucks man
 
It "lasted" for about a day
I knew it was really boned when turning of the main power switch didn't stop the reboot loop lol
 
RMA'd it then?
 
2:04 AM
I think I just got a new one
I wasn't doing the purchase
 
oh nice, your job pay for all the stuff then?
and you just had to put it all together?
 
It kinda sucks, but I wanted it up and running soon, since lack of it was preventing us from doing certain things in code
@Loktar yep
I kinda wanted to separate my personal and work envs, and this was a good excuse
remind me to get off my ass and get back to speccing my gaming machine soon
 
DO IT NAOW!@
lol I'm actually putting together a gaming machine from the 90's :p
sli Voodoo 2's, P2 450mhz
 
lolwut
 
yeah sick of not being able to play some of my older games
 
2:07 AM
so when are you going to be featured on Elders React?
 
like Star Wars Episode one racer
 
LOL fu
 
@Loktar What do they need that you can't run in an emulator?
 
its a pain in the ass
VM's don't have true 3dfx hardware
plus I'm a real hardware type of guy if you haven't seen pics of my console collection :p
 
2:09 AM
there, you go, a project for you. write a 3dfx hardware plugin for VirtualBox.
 
I expect it by Friday.
 
haha
yeah man those discussions from 5 years ago don't sound promising
 
Jut got midroll, and preroll ads to work on my video player. This thing is turning out amazing.
 
@FlorianMargaine rebecca.blackfriday
 
2:10 AM
@KendallFrey Check your BIOS settings and upgrade if available. I know with my ASUS boards (back when) they had extremely sensitive defaults re: power surge.
 
speaking of friday
it is friday in france
 
Just dead stopped all the time for the first couple of days till i dialed it back.
 
nice @rlemon haha
you got him before he got us
 
@rism Yep, that was an issue, but the PSU was the real problem
 
I think the problem is in data-column="0"
 
2:13 AM
What brand of PSU?
 
I'm not sure if it's normal for a the lights to flicker when I plug in the computer, but I know it's not normal for the computer to die when the monitor goes to sleep.
@rism fuck, I can't remember
 
@KendallFrey Hah ;) You did your math before you bought it tho made sure it had enough juice. Modern board and GPUs get pretty hungry. That will trip the power surge protection as well.
 
I didn't do any math
I think it was part of a kit, so it would have been adequate
750W
and no GPU
 
OH you using onboard intel ?
 
yeah
 
2:20 AM
Surprisingly good, dont you think??
I was very impressed.
And that was 2013.
 
hm?
you mean onboard graphics?
I'm not doing anything graphically intensive
I have a dedicated card in my gaming machine
 
But modern Intel onboard GPUs have no trouble with lots of popular games. Prison Architect and the like.
 
@rism I think it was seventeam
@Luggage Can integrated graphics run an Oculus Rift? :)
 
got me
 
Yeah those "Iris Pro" and "Iris" on the Intels. I bought dedicated GTX780 but before that arrived Iris was pretty wicked for integreated gpu.
 
2:25 AM
I've never looked forward to being poor so much.
 
Could play Crysis3 in "mid level" mode.
Not that Im a gamer but still I thought that was damned impressive.
 
I also want to experiment with CUDA, which I had trouble with on my laptop
Would be fun to run a buttload of parallel tasks
 
Never enough hours in the day tho right?
 
haha nice man
@KendallFrey no
lol just got done installing mine
god they were so easy
 
2:37 AM
@rism What I really want is realtime rendering of a Mandelbrot set. I've written too many mandelbrot renderers in my day, and I would drool if I could make it instant
 
program it into an FPGA
 
Any idea what the legal grey areas are like if I open source the video player with the current theme named "utube", and no youtube assets/colors are used? It looks really similar, but nothing is completely identical.
 
@KendallFrey Hmm well you've got me there as my physics knowledge sux.
 
@rism when did I mention physics?
 
2:40 AM
Hit up a gaming dev about that tho... as i understand it there have been massive advances.
 
@Nick FWIW, I've seen YooTube brand cologne
 
dem mandelbrot ragdolls
 
Asia ftw
@Loktar lol
speaking of mandelbrots, Numberphile has a new video
 
Mandlebrot = fractals to me. Physics engines on the GPU will optimize those.
 
@rism physics has exactly 0 to do with the mandelbrot set
But since we're talking GPU physics, I want that in KSP
that would be orgasmically buttery experience
 
2:43 AM
Sure but the processing of mandlebrot sets will be handled by the GPU no?
 
yeah
but I doubt PhysX would be able to do it
Unless it's not actually physics focused
In other news, I can still taste my lunch in my burps.
 
As i say, not my thing. I was imagining zooming in and out of fractal images that are being generated / rendered real time.
Strike me as being massively computationally expensive, and something game dev would likely know a lot about.
 
yeah, parallelism would be great for that
 
> Reverse engineering was considered to be a good thing, and in the 1989 U.S. Supreme Court decision, Bonito Boats, Inc. v. Thunder Craft Boats, Inc., the court said that reverse engineering was "an essential part of innovation," because it could lead to advances in technology.
I think I'm safe
 
OK. I'll go 'reverse engineer' the Apple logo and see if I get sued. :)
 
2:48 AM
Oh wait... that doesn;t apply to software
Software reverse engineering is usually illegal... well, shit
 
Did you reverse engineer anything?
mimcry != reverse engineering
 
=== flattery
 
I suppose I didn't reverse engineer; I'm only creating features that mimic those of the youtube player
 
Not saying you're in the clear then, but you have a better shot
 
Is it really this difficult to make a single Sequelize connection run across different files?
 
2:51 AM
I wonder if I can send youtube an email asking about it
 
@DemCodeLines No.
 
@Luggage Well then why won't it freaking find the connection?!
 
you're doing something wrong.
what do you mean 'find the connection'?
 
@Luggage I have a file in "models" folder called Posts.js
The following is its code:
var Sequelize = require('../config/sequelize');
var Post = sequelize.define('post', {
  ...
});
module.exports = Post;
I have a file called sequelize.js in /config folder.
Its code is:
var Sequelize = require('sequelize-oracle');
var sequelizeDB = new Sequelize(...);
module.exports = sequelizeDB;
When I try to start the app, I get the following error:
var Post = sequelize.define('post', {
           ^
ReferenceError: sequelize is not defined
 
yes. it's not. you need a capital s
javascript is case-sensitive.
or lowercase the var Sequelize = require('../config/sequelize');
 
3:00 AM
@Nick They'll say you're fine. Unoffically. Then wait for you to make a business out of it so they can take it off you.
 
I wanna open source it; I wouldn't make a business out of it
 
@Nick Open-source? What are you? A communist?
 
I always open source personal projects; I have a great job, I like to give back
 
You need to lock these things down and wring every penny out of them. ;)
 
no
 
3:06 AM
I'm calling the FEDs. We gotta a commie in our midst.
 
and a snitch.
 
a patriot, actually.
 
@Luggage I'm not sure what I'm doing wrong. I import the sequelize library and set it to Sequelize. Then I set up the connection string and assign that to sequelizeDB. I set module.exports to it and then I import the file in Posts.js, assigning to Sequelize. So what's wrong? Sequelize should be equaling to sequelizeDB.
 
I told you, you have the wrong capitaliztion on your variable
second line you pasted does not match the first
 
@Nick Tis very generous of you. How long did something like that take?
 
3:09 AM
@Luggage Problem with changing it to that is, it throws an error on the schema declarations
 
the video player? About a week so far
 
var Post = Sequelize.define('venice7_post', {
  id: {
    type: Sequelize.INTEGER,
    primaryKey: true,
    autoIncrement: true
  },
Error: Unrecognized data type for field id
 
you need two, it hink
 
Two what?
Sequelize declarations?
 
one to reference the sequalize library, and the other your configured instance
note two different variables used:
var Project = sequelize.define('Project', {
  title: Sequelize.STRING,
  description: Sequelize.TEXT
})
 
3:11 AM
Then what's the point of referencing the Sequelize library in /config/sequelize.js?
12 mins ago, by DemCodeLines
var Sequelize = require('sequelize-oracle');
var sequelizeDB = new Sequelize(...);
module.exports = sequelizeDB;
 
In Post.js
 
I would think that the var Sequelize... in the code I just pasted above would carry over.
Wait, never mind
 
var Sequelize = require('sequelize-oracle');
var sequelize = require('../config/sequelize');
 
But again, it's so pointless. I have to include the sequelize library in that file so I can do var sequelizeDB = new Sequelize line. Then I need it again in post.js
 
One is the library that has it's types defined, the other is your configured instance.
 
3:14 AM
I understand, just saying that it's annoying that I have to use the same thing in two different places, when it will get included in the other file anyways.
Whatever, it still won't compile.
 
Posts.js is still part of the setup, since it's defineind the schema/model, hence it needs Sequelize
 
SORRY BUT ORACLEDB LIB NOT SUPPORT CLOB.
wut
 
good luck with that out-dated semi-maintained oracle version
 
Well, I need oracle support and there's nothing else out there. I would happily use anything else.
 
3:57 AM
How can I seperate two search box input? from filtering with the same column?
<label>Date From :</label>
<input class="search" type="search" data-column="0">
&nbsp;
<label>To :</label>
<input class="search" type="search" data-column="0">
$.tablesorter.filter.bindSearch( $('#cLoanOut'), $('.search') );
When I typed on the First search box. It copies the text that I have typed to the second one
 
0
Q: Is there a universally recommended choice for an Oracle-supported ORM for Node.JS?

DemCodeLinesWe have an Oracle DB that powers everything in the back end and are transitioning from PHP to Node.JS. Problem is, we need an ORM that's natively compatible with Oracle. The only "decent" one that I have found till now is sequelize-oracle. It's not fully completed yet and many important functions...

 
4:50 AM
 
0
A: I have to click twice to get JQuery click function to fire

TusharThe problem is when the element is first clicked the value of data-clicks attribute is undefined. You can set this value in HTML by adding data-clicks="true" or you can also set the value in Javascript as $('#one, #two, #three').data('clicks', true); I've also optimised your code to make it dr...

See the answer, I've added this answer to community wiki, feel free to improve it
 
5:18 AM
yesterday, by Awal Garg
http://blogs.windows.com/msedgedev/2015/09/30/asynchronous-code-gets-easier-with‌​-es2016-async-function-support-in-chakra-and-microsoft-edge/ W.T.F. @BenFortune can confirm?
:D
 
6:15 AM
Edge seems to be way ahead on implementing modern JS features
There's gotta be some MS-haters out there about to enter an identity crisis soon
 
Yeah, wonder if chakra standalone can run on nix
 
They got node running on it, but not sure on what platform
 
@ivarni whatdya mean "soon"?
 
@SomeKittens "Soon" because people who are still banging on MS is already living in the past.
We've a new evil empire now, two actually.
 
@ivarni Who's it this time?
my bet is Comcast
 
6:20 AM
Uber :D
But really, Oracle, Google and Apple are all better candidates for that title
 
6:58 AM
is edge making any headway? I feel kinda bad for them, honestly
i might have to use edge for a while just for "pity" use
 
Oracle's old hat and dying, Google hasn't done anything even close to the old MS and Apple's a maybe.
 
oracle is like america online
they keep buying companies to revitalize their company
with not so great effects
though it should be said that oracle practically owns java
while it would still exist without them, there would likely no longer be new versions released for a good while
 
crl
practically? not totally? oh ok
 
no, java is a language, not software
 
literally
 
7:05 AM
/me almost went to work for Uber early last year
 
they made the java virtual machines
 
No, Sun did
 
they "bought" the java virtual machines then lets say
 
crl
you made this? I made this
 
they've come out with most needed java 8
which catches java up to C# somewhat with lambda expressions
 
7:07 AM
Oracle has a decent DB, everything else they've made is crap (imho)
 
oracle was decent back when there were few alternatives
 
Oh, and if you want to download drivers for that DB, you need to register and give them your email address
 
nowadays if you want a serious database you use MS SQL Server
 
Which is why we have sites like bugmenot.com/view/oracle.com
 
@ivarni God I need to remember that there are sites like this
 
7:46 AM
Does it make sense (in term of coding practice) to write var b = (a == c) ? true : false; instead of var b = a == c;?
 
OK
 
user405398
use === always. use == only when you know what you are doing.
 
user3119231
if (focusedSource.indexOf(e.target) == -1){
 
user3119231
this make sure that e.target is not in the array, or?
 
user405398
8:01 AM
exactly
 
8:12 AM
Oh wow, async/await landed in Edge.
 
sigh
 
hah
I've still got 100 more points in angularjs than in javascript
for some reason
 
@nhahtdh no point using a ternary operator when the result is the same as your true and false case
 
C# is fun, just made a little program that changes my keyboard lights to the most dominant colour on the active screen.
 
8:19 AM
I regret not getting a keyboard with programmable lighting
 
Also DirectX is hard
 
@BenFortune that'd make watching porn all the more fun
 
@ivarni Corsair's RGB only just landed with it, after waiting for over a year
They promised a lua SDK on launch, a year later they released a C++ one
 
ouch
 
Which only works with their utility installed
And limited to Windows
Someone did make a linux driver for it though, and someone else managed to reverse-engineer the protocol for the lighting
 
8:24 AM
the question is, why wouldn't it already be like that?
lighted keyboard that changes colors easily.. and you stick to a solid color? pfff
 
@Neil Eh?
 
@BenFortune Not you, the manufacturers
 
Already like what though?
 
> C# is fun, just made a little program that changes my keyboard lights to the most dominant colour on the active screen.
 
8:27 AM
You can do that through their utility, but only pre-programmed lighting
 
@argentum47 ..in 6 years
 
@BenFortune Right, so like solid colors.. green, blue, red?
 
@Neil Nah, there's 16.8m colours to choose from, gaming.corsair.com/en/rgbshare/hall-of-fame
 
So what is it that you enabled, if your keyboard could already do those things?
 
@Neil Because now you can do it programatically
Before you just made a sequence of colour animations as a profile, and ran it through the utility.
 
8:33 AM
does those keyboards lightup like that?like Christmas tree?
I was hoping that only glowed, not like dj-ish
 
@argentum47 lol
 
@argentum47 Both, you can do what you want.
 
@argentum47 that's a large ass keyboard. What shall I be doing with it?
 
@argentum47 That's the one I have, but with Cherry browns
 
@AwalGarg switch off lights and type in dark .. also helps with diwali .
 
@argentum47 I am not going to help Diwali in any case.
 
I was going to buy a Darksector keyboard.. it was more affordable.. buy the ebay guys autocanceled order.
 
@argentum47 Ew, low-profile.
 
your keyboardcosts 28k INR ... that's 5k more than my one month salary
 
8:40 AM
I certainly didn't pay £280 for my keyboard
 
I wish I was born else where ..
 
I wish I was not born.
 
crl
How could you force select in Angular to select the first item, and not stay on a blank field by default? jsfiddle.net/wyv83e0d/25
 
@BenFortune great it costs that much here too ... :D
crl why u not use ng-options .. ng-repeat creates new scopes
 
crl
@argentum47 ok, noted :)
 
8:43 AM
I got the Razer Blackwidow at ~£80
Not too expensive, but not programmable lighting either
 
I got this keyboard with my laptop for free, and it is attached directly to the screen. Quite handy.
 
Yeah, the chroma is more expensiver
like almost twice as expensive
 
@BenFortune awsome
 
crl
"more expensiver" (sorry to be an ass)
 
8:45 AM
@crl Is that uncorrect?
 
crl
no, totally correct
 
@BenFortune that's some freaking useless stuff there
 
Anyway, I'm getting a Chroma once I finish my current project and get paid
 
@ivarni I never really liked Razer
 
8:48 AM
@LeviZoesch 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.
 
scn.sap.com/docs/DOC-7824 - You can tell this page was written by someone with only backend experience :P
Ugh... <strong>WARNING: </strong>
 
drafts.csswg.org/cssom-view/#dom-document-scrollingelement because there isn't enough useless cruft in the DOM already
 

« first day (1812 days earlier)      last day (3142 days later) »