« first day (2412 days earlier)      last day (2535 days later) » 

7:00 AM
@Prakhar What kind?
 
abstract algebra
linear algebra
there are 3 more, which have basics
 
better to subscribe to an uni course
 
If you want to do music production, and if you want to do sound engineering and stuff with waves, that's more signal & systems I believe
 
if you don't comprehend, there are assistants which are glad to help ya
 
programming and music eh? .. chuck.cs.princeton.edu
 
7:01 AM
@suraj yeah
 
I think you can make a software that will generate music
 
@RexAdrivan i've had apps on playstore
 
yes. but it only works on mobile
 
when i started out
 
@Prakhar What about performing filters on sounds?
 
7:01 AM
programming is not very musically inspiring though in my experience
 
it's not cross-platform
 
im working on a web app atm
 
your applications are probably just low tech
 
so its xplatform
no
average
 
@Cauterite no way, did you check out the jsconf eu opening speaker?
they made a js song
and did all sorts of crazy stuff
 
7:02 AM
also if you are a good programmer.. I could make my own marketing tools for my apps
 
be nice @RexAdrivan
 
@RexAdrivan -- hi this is karthik ,
 
@derp well sure, but they probably practiced it beforehand,
 
meanwhile the rest of us still try to find our way out of vim stackoverflow.blog/2017/05/23/… :P
 
@suraj (y)
 
7:04 AM
check the link
 
oh definitely, but i was just countering the point that programming and music don't go together
 
o/
 
also @Prakhar try setting up a server..
 
i didn't say they don't go together, i said programming is not conducive to inspiration
 
@RexAdrivan stop trolling
 
7:05 AM
hahahahaah
you don't even know how to handle spam requests @Prakhar
 
i think it does go along
because
 
your application would probably go down in just a min.
 
alright rex i think the joke's done
 
@KarelG I'm currently working with a designer to get him up to speed on the front facing stuff, I on the other hand am working on the backend / vagrant setup. I used the word progressive as that's what they called it on the website, though thanks for clarifying its meaning.
 
music production is all software now, and being a developer its really easy to get into softwares and make plugins if necessary @Cauterite
so i think it will go along pretty good
 
7:07 AM
@Prakhar But what do those plugins do?4
 
I'm guessing creating an API is probably the best solution long term as It means I could build the API out to integrate into other applications eventually. I was most concerned if this was the generic approach, but I'm starting to realize the scope of my question is kind of vague as there's lots of theoretical ways to hook this stuff up pre-deployment
 
@lix use expressJS
 
@FlorianMargaine @copy "Promises and pitfalls of sandboxes" swiecki.net/resources/…
 
when you have a musical idea in mind, your first response is not to start typing it out into an array,
 
@VermillionAzure edit samples, the wave form, attack, decay, etc
 
7:08 AM
Looks pretty comprehensive ^
 
@Prakhar Yes, but how do you apply that?
 
it's to draw it in a piano-roll or write it on sheet music
 
Yeah that was the plan, gunna give handlebars a whirl as well so I can return HTML for fun
 
For example, how do you filter out high frequencies given a set of time samples?
 
eq plugins
@Cauterite right
 
7:09 AM
you load up an existing EQ instead of reinventing that wheel
 
@lix if the scope is vague, clear it then ... otherwise you might loose lots of development time
 
Okay, what if you want to deconvolve two possible sources with some prior information?
Or perform note analysis on sound samples?
Apply reverb?
 
use a spectrum analyser for #2
 
"deconvolve" told u i didnt go to college
 
also make a app that can silence the guitar from drums..
 
7:11 AM
@Prakhar separate
 
then convert the sound to notes LOLOLOL
 
@KarelG I'm gunna go back and review the action plan to try and narrow down what I need to implement now and what is needed in the future
Thanks dude
 
draw it and use it in your discussion
 
@Prakhar can you make an app that will delete the guitars and just play the drums?
 
by this they can simply point it what's missing and what's not required
 
7:12 AM
@RexAdrivan yea, i can try
 
Good point, that might also uncover some logistics stuff as well
 
but it can be done with eq i think
 
some people can be vague even when they think that they are clear.
 
already
 
@Prakhar then from that convert it to tabs/notes
 
7:12 AM
there are apps for tabs already
and mafuckas got almost all the songs
 
or probably just convert guitar to flute lol
 
easy in fl studio
i think, once i start making my own apps again and quit freelancing, i'll be back in the game
right ?
or its not for me
 
well, just make your own app. then sell it :P
 
yea, i used to make money that way back in 2014
 
if you don't get enough users that means your app is low tech
 
7:15 AM
then i met a guy online
@RexAdrivan Ya ya.
and worked with him for 2 years , which didnt pay off
then got into freelancing
 
lol
 
and now im fucked
and the apps i built were kind of illegal
so i had to delete them
 
I'm turning you in.
 
i built an app for hosting phishing servers on your android
it was making nice money
 
You realize this isn't something you should be discussing on a public forum?
 
7:18 AM
its not on playstore
anymore
 
You're still liable.
 
I mean I'm saying this for your sake, If your going to do something illegal don't talk about it on the internet..
 
don't do illegal it's not good.
 
im not going to , i did it
:D
 
I also have some illegal apps which i just give them lololol adrivanrex.github.io/FacebookGroupsPoster/
 
7:20 AM
and its not on playstore anymore
 
you have a cool app making servers on android (y)
 
1 min ago, by little pootis
You're still liable.
 
You realize it's the act of distributing illegal software that makes you liable, the moment it's received your fucked.
 
im not liable anymore
no one has it now
 
How do you know that?
 
7:21 AM
you are using nanohttpd?
 
right @RexAdrivan
and ssh tunneling
public
to make them
 
:O :O
 
what ?
 
You also have exploit on adroid?
root
 
yea, i started programming, writing exploits
 
7:23 AM
;O omg.. just create RATS and we are done (y)
 
im gonna create a RAT
for my girlfriend's phone
she's going to college
 
send me the private repo
will help you
 
will do
 
adrivanrex@gmail.com
 
gimme your email
thanx thanx
 
7:24 AM
I'm working on node.js realtime apps
 
@Prakhar .....
 
the saint over here
 
This might be the most sideways exchange I've ever seen taken place here.
 
@RexAdrivan will add you once i start working on it
LOL
 
You're not very luminous, are you?
 
7:25 AM
nah bro
im still a kid :)
trying to spy on my gf
 
@Prakhar ok if you have root exploit we can propagate worms to androids and just log info
 
need a reason to break up
 
> im about to be 18 now
meaning adult
 
"about"
 
smh
 
7:27 AM
and my school fucked up on my 10th marksheet
and made me 2 years younger
meaning im
legally 15
lol
atm
 
Do you not have a birth certificate?
 
@Prakhar why dont you just code a stealthy android RAT?
 
@RexAdrivan ima do it
 
You realize it's not your school's job to validate your age to the government, there's something called a birth certificate that does that..
 
@littlepootis i didnt, so when i needed one , it had to be issued on the marksheet
 
7:28 AM
@Prakhar ok bro don't forget to mail the repo
 
so im legally all 15
@RexAdrivan wont
 
or we can make a service selling SSH accounts :D
 
sure
 
Have you ever considered getting one?
 
programming feels cool all of a sudden
@littlepootis i told you
i didnt have
it had to be issued on the marksheet
so when i needed it
 
7:30 AM
Where are you from?
 
India.
 
It's stupid easy to get one in India.
 
yea
bribe bribe bribe
 
yea
they ll ask for bribe
@RexAdrivan how about a bitcoin exchange
 
7:32 AM
Nah. Got one for my sister, who didn't have one. It wasn't hard. Nor did we had to bribe.
Try getting one so you can be legally 13.
 
which city ?
lol
 
Hyderabad.
 
im from up
its fucked up down here
 
up here*
 
ya ya
 
7:35 AM
@Prakhar you have available webserver to play with?
 
yea
have couple on digitalocean
 
Cool (y) I'll work on the API so you can send the SSH accounts to the server.. well install mongodb
It's easy it will not take a week :))
well log infected android machine (y)
 
:))
 
send me login info (y)
 
You'll probably get banned from this chat.
 
7:38 AM
both of us
:D?
 
fuck is wrong with your avatar ?
 
@RexAdrivan once i start working on it , will add you on repo
@littlepootis bad overlay on that blood
 
blame Wes
 
7:41 AM
What is going on here?
 
you need a dramatic music, before you enter, madara
 
Prakhar and Rex are making rats for Android phones, apparently if you ask nicely he'll give you the repo with the android root exploit
Overall there being morons, talking about illegal activities on a public forum.
 
someone been listening quietly ?
 
No I replied and warned you not to do it
 
hey, its tech.
 
7:45 AM
It's a public chat.
Also, I recommend not spying on your girlfriend.
 
Also I recommend getting your birth certificate updated so your actually employable after your 18th birthday
 
will do
 
@littlepootis it strucks me that there are people that doesn't have a birth certificates in india
Not so a priority for the government ?
 
yea
i mean it is
but
people get it when they need it
thats sad
its changing now though
 
@KarelG Everyone who graduate high school do.
 
7:54 AM
is that not too late at that moment?
 
@littlepootis you live in a more developed city
 
Not really. It's trivial to get one. There are other forms of identification that everyone has.
 
yea
 
Like Aadhar.
 
yea, everyone has it
 
7:57 AM
how do they decide your birthdate when you're graduating high school ?
Your age is immediately 18? Or by your words?
 
Your birthdate is whatever you or your parents claim it to be.
 
words
 
Bone scan is expensive
 
yea
 
lol ... Then i shouldn't trust Indian birth certificates then
 
7:58 AM
lol
yea, you shouldnt
 
You can't claim to be 18 when you look like a 12 year old, though.
 
but some people look that way
so its hard
 
Your government can work in transition though
 
India is changing
 
after a while, auto-assign birth certificate when you join high school for the first time
(after graduating undergrad cshool)
we're going to have a fingerprint database in our country which is then connected with your ID card
that's positive IMO
 
8:11 AM
we have it now,
 
String smartReplaceAll(String message, String regex, String replacement){
    replacement = replacement.replaceAll("([\\\\$])","\\\\$1");
    return message.replaceAll(regex, replacement);
}
that's a weird method
 
Hi can someone explain me this line I do not quite understand it ( new to prototypes )
Tool_eraser.prototype = Object.create(CanvasTool.prototype, {
 
Tool.proto is inheriting the prototypes from CanvasTool.proto (you can see it as a form of copying it)
 
so its inheriting all method and variables?
 
Not really. Strictly saying, it inherits all information on prototype chain from CanvasTool
Please be aware that it also copies the CanvasTool constructor!
if you use new Tool_eraser(...) it will use CanvasTool's constructor. To overcome it, overwrite the constructor: Tool_eraser.prototype.constructor = Tool_eraser
 
8:30 AM
@KarelG what excatly do you mean with prototype chain
 
that's a long story :P
Gotcha dig up that article about that
@JohnDoe2 read this
 
thanks mate
 
8:43 AM
anyone plays guitar?
 
Ziggy
At least he used to
:D
 
best alternative to highcharts ?
 
8:59 AM
been using morris.js a lot, but moved on chart.js (but didn't have explored it in detail yet)
chart.js is quite responsive and supports HTML5, which is good if you ask me
 
@CatBoss a little, yes
 
not sure if it's modifiable as morris.js
 
this seems nice
highcharts is really awesome, but paid
 
Eh if a manhole isn't closed correctly, your car can get flipped over o.O youtube.com/watch?v=6BJcM7oWcyQ
 
9:19 AM
You should always keep your manhole closed
 
Deadpool didn't on international woman's day
 
Hey guys
 
9:38 AM
!!urban hotdesk
 
@towc No definition found for hotdesker
@towc [hot desk](http://hot-desk.urbanup.com/2339258) hot desk n. A desk that is not assigned to a particular employee, but rather is available for use and can be reserved in advance by a mobile worker whenever they are required to be in the office.
—v. To reserve such a desk.
 
0
Q: s3-streamlogger is not working (Winston logs are not shipped to bucket)

Gandalf the WhiteI am trying to use this module (s3-streamlogger) to ship logs directly to S3 Bucket Code ` var winston = require('winston'); var S3StreamLogger = require('s3-streamlogger').S3StreamLogger; var s3_stream = new S3StreamLogger({ bucket: "bucket_name", access_key_id: "key_id"...

 
@GandalftheWhite You might want to take the time to write your questions properly
That usually gives you the best responses
To be more specific, you have your code block wrapped in backticks
 
The question is also not straightforward
 
And 1 question per question is usually the ideal ratio of question-to-question
Otherwise, at least have the decency to use a list. This is just savage!
 
9:48 AM
if he rephrased the 2nd question with "as an alternative"
then it's ok'ish for 1 question post
leave out that second code block. Not relevant
 
Also leave out useless statements from your code per-se
 
That being said, with a problem like this, it shouldn't be too much to ask from a developer to at least reduce the issue to the client or server side
If you are this clueless, then you haven't done any research or are way out of your league
 
I had a feeling that he was sticking code snippets from the internet together to have a programmable solution when I saw his code
 
It isn't entirely Internet code
 
9:52 AM
new generation dev code
 
Also this
 
I did use example given in the module's description
I guess that is legit
 
you have to comprehend it before c/p it to your project.
 
Did. It's not the same
I cannot change the syntax!
There is no error per say, which could have helped
I have checked other threads on SO for same module
they are completely different
 
Yarr, but I'm just saying that because of
 var s3_stream = new S3StreamLogger({
             bucket: "bucket_name",
      access_key_id: "key_id",
  secret_access_key: "access_key"
});
seems generic. If you have left out info, use stars
 
9:54 AM
Ohh... that, I cannot give away my original codes obviously
Okay
 
replace it to *****
 
@GandalftheWhite Yeah, but you do use the real credentials in your code?
 
most of us sees those stars as "left out info" like passwords in config files
 
@OliverSalzburg Yes Sir
 
if we see "password" then we have to assume it's the password or not
 
9:56 AM
Replaced with astrix Karel
 
Why are you logging to S3 btw? CloudWatch seems much better suited and you can easily export to S3 from CloudWatch
And you're using winston.transports.Console, even though the module seems to want winston.transports.File
That's like right there on the front page
 
Cloud watch is what I will be using by next week
Got your point
 
In case you're running your stuff on ECS, I would highly recommend using awslogs btw
I found that constructing the logging interface manually is cumbersome and error prone in comparison. But, of course, YMMV
 
10:12 AM
awslogs is this free?
or has a free tier?
I found that constructing the logging interface manually is cumbersome and error prone in comparison - Agreed.
 
@GandalftheWhite awslogs is a logging driver for Docker
Unless you're using Docker and ECS, I don't think it has any relevance for you
 
Not using docker
ECS - Elastic Clearing services
?
 
Elastic Container Service
 
Not using it either
 
When using JSON to populate a jsTree, how do I tell which functions are the children?
 
Logs streaming to S3 seems bad call to me
 
morning!
 
my current system rotates file daily
and then every week I ship logs via bash scripts (cron jobs) to s3
 
any ideas what this is supposed to do?
function someFunction(param){
  console.log(param)
}
let [bar,baz] = ["1","2"]
someFunction`example.com/foo?bar=${bar + baz}`
 
10:59 AM
streaming will increase load on the network plus in a file system append don't work so...
 
It calls the function but the params are not passed in the raw arg
 
> in a file system append don't work
?
 
all I get is:
 
0
:
"http://example.com/foo?bar="
1
:
""
length
:
2
raw
:
Array(2)
__proto__
:
Array(0)
 
11:00 AM
in S3 new content is not appended to the file
it is replaced instead
My bad
expressed it incorrectly
 
ah, yes
@GandalftheWhite but yes, amazon cloudwatch would make more sense
 
11:19 AM
agreed there
Working on it
will shift
 
user5716144
hello!
 
@Gregor 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.
 
user5716144
is it a good practice to store helper functions in the constructor ?
 
user5716144
like so
 
1 message moved to Trash can
@Gregor Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
user5716144
11:26 AM
ok sorry ill try again with the formatting
 
hi, i've one issue in angular js and i'm very new to angular js
i want to append html content to view
<div style="float: right; width: 60%; height: 500px;" ng-app="myApp" ng-controller="myCtrl">
<div ng-bind-html="chatdata"></div>
</div>

<script>
var app = angular.module("myApp", ['ngSanitize']);

var a = "";

app.controller('myCtrl', function ($scope, $sce) {

a += "<div style='float: left; width: 70%'>p1 : data1</div>";

$scope.chatdata = $sce.trustAsHtml(a);

console.log(a);

var i = 2;

var interval = setInterval(function () {

if(i === 22 ) {
clearInterval(interval);
}

if (i % 2 === 0) {
First time the data is appending. but after that nothing is coming on UI
 
user5716144
class Validator {
	constructor(formID) {
		this.form = document.querySelector(formID);
			};
		this.helper = {
			insertAfter(el, referenceNode) {
    referenceNode.parentNode.insertBefore(el, referenceNode.nextSibling);
			}
		};
 
I wouldn't recommend that because that would create these objects every time you create a new object of this type.
 
Can anyone help me with angular js
??
 
user5716144
well, in this case it is just called once for the contact form on the page.
 
11:35 AM
@Shubham Don't use angular js
 
user5716144
what is a better place to store a helper like this if the object is going to be created more often
 
@hellzone why ??
 
user5716144
ah thanks, ill have a look
 
user5716144
@littlepootis thanks
 
user5716144
11:37 AM
sorry for messed up chatting. its my first time here
 
    class Validator {
	constructor(formID) {
	    this.form = document.querySelector(formID);
	}

    };

    Validator.helper = {
	insertAfter(el, referenceNode) {
            referenceNode.parentNode.insertBefore(el, referenceNode.nextSibling);
	}
    };
This would work too.
 
Guys, can someone please take a look at this: stackoverflow.com/questions/44157244/…
Thanks..
 
@tholo Some advice, try to be more specific with your question focusing on a single issue. Nobody is going to want to understand how the program works just to find out what's wrong with it
 
@Neil, you are right, sorry.. may we discuss here?
 
user5716144
@littlepootis thanks, ill stick with the static function. works for me now and looks nice and clean :)
 
11:52 AM
i'm not a fan of static methods
 
@tholo Well, if it doesn't involve writing code, I can try. I'm on my phone
 
user5716144
@KarelG what would you suggest in my case then?
 
ndugger's second approach
 

« first day (2412 days earlier)      last day (2535 days later) »