« first day (1887 days earlier)      last day (3065 days later) » 

5:13 AM
@DemCodeLines Flot, Chartjs, Google Chart, there are many if you have simple requirements.
 
5:30 AM
there is no meaning in taking out difference between jquery and socket.io
 
@Mr_Green what
 
jquery is a handy library whereas socket.io is just for communication.. AFAIK..
@Meredith
 
Obvious troll is obvious.
 
I on't udnerstand the point you are making
They do different things
 
5 hours ago, by user4216713
socket.io is better than jquery
@Meredith he's referring to this
 
5:36 AM
socket.io is a fork of jquery
 
oh wasn't aware of that
so they do same thing right? @Meredith
 
Same thing? You're comparing bacon to Cards Against Humanity.
 
Exactly the same thing :p
 
Exactly the same thing. WHO has declared processed meat (bacon) to be directly causing cancer.
https://www.iarc.fr/en/media-centre/pr/2015/pdfs/pr240_E.pdf
 
> [...] classified the consumption of red meat as
probably carcinogenic to humans (Group 2A), based on limited evidence that the consumption of red meat
causes cancer in humans and strong mechanistic evidence supporting a carcinogenic effect.
aw crap
 
5:49 AM
what
 
wut?
 
user5503464
6:11 AM
0
Q: Angular dropdown passing values when i am not select?

martinmy demo I have List of checkbox and based on checkbox value select dropdown(offer) is coming.when i check checkbox checked checkbox value will check $scope.offer object checked is there or not .if whether checked value is there in $scope.offer object e dropdown will come and it will show offer ...

 
6:24 AM
That means eating sheep is bad for your health o^-^o
 
7:13 AM
@martin If you post a question on Stack Overflow, you should take the time to properly format it, use proper punctuation and spacing and write in a concise, understandable manner.
I cleaned the question up a bit, but it's still very hard to understand what you're trying to say
> When I check checkbox checked checkbox value will check
Not cool :P
 
user5503464
my expectation when i uncheck Samsung Galaxy S6 checkbox it should not show dropdown and .when i submit that button it should not pass that id value @OliverSalzburg
 
user5503464
now when i uncheck Samsung Galaxy S6 checkbox .drop down is not showing but that selected value is passing when i submit that button@OliverSalzburg
 
user5503464
0
Q: Angular dropdown passing values when i am not select?

martinMy demo my expectation when i uncheck Samsung Galaxy S6 checkbox it should not show dropdown and .when i submit that button dropdown should not pass that id value becoze nothing is selected now when i uncheck Samsung Galaxy S6 checkbox drop down is not showing but before i have selected some v...

 
7:33 AM
@martin Please do not spam chatroom with question link. If we have time and is interested we will help. If not, either we are busy or we are not interested.
 
@Meredith @Mr_Green Don't worry. Some research in the future will probably say water is carcinogenic to human beings.
 
@pootis Don't worry. We already have those researches: tap water is killing you articles.mercola.com/sites/articles/archive/2013/08/21/…
 
ban dihydrogen monoxide!
that's the real killer here
it's in all the water we drink
 
7:51 AM
Yes. This year a team of Arizona State University found a WHO carcinogenic chemical in many USA tap waters. The chem is regulated in, say, Canada, but not in USA.
 
8:08 AM
People drink tap water in USA?
 
Not everyone install water filter - or regularly replace filter. And you can't "kill" chemicals by boiling them. Look at our drama: scmp.com/topics/hong-kong-tainted-water-scare-2015
 
@BenjaminGruenbaum @MadaraUchiha others, everything cool now? just checking
 
@AwalGarg AFAIK
 
@AwalGarg ris
 
@MadaraUchiha ok, are the mods secretly planning to shut us down yet? :P
 
8:18 AM
@AwalGarg afaik yes. Basically I just moved to chill things down and sent @MadaraUchiha an sms, nothing too dramatic.
 
ok cool
 
hello
 
the problem with having tap water and people not drinking it is that there is the temptation for the government to disregard proper care of said tap water
the government needs to either declare it as not potable or they need to keep the quality up
 
8:36 AM
But if the tap water tastes like chlorine you can't really blame people for not drinking it
 
How bad is / was this room? I am aware that the atmosphere out of my active time is a bit... dirty?
 
What did I "miss"?
 
hey bros
excuse my disgusting noob questions
i was wondering how to take arguments in a custom directive
 
@Sheepy we're good.
 
Great!
 
8:40 AM
@ivarni feel free to read the transcript around the starred messages. Don't feel like repeating things here shall help now.
 
@nick in bangular? You pass them via attributes
 
like how ng-repeat does (e.g. ng-repeat="yada yada") and pass them on
wait am I that dumb
 
I'm not gonna answer that for fear of being flagged :p
 
haha
 
But seriously, you can pass anything you want via attributes as long as you declare them in the directive
Just take a quick look at e.g. ng-repeat in the source
 
8:42 AM
I did, will give it another look real quick
 
@nick doing angular 1.x?
 
yeah
this looks like what I'm looking for
 
oh, have fun (if you could :P)
 
compile: function ngRepeatCompile($element, $attr) {
      var expression = $attr.ngRepeat;
im having lots of fun
getting destroyed by angular
 
@nick I recommend a read through the docs for directive as well, there's a lot of pitfalls
 
8:44 AM
wait why would they name an anonymous func
 
But directives can also be quite powerful so it's a good thing to master
@nick better stacktraces?
 
good point
@ivarni my task is literally to create a custom directive haha
 
@ivarni obsolete in ES6, btw. just saying, your point stands for long :)
 
really what I'm trying to do is figure out how to create a custom directive that "wraps" ng-repeat, so to speak
i'm looking at decorator
wait hold on do i even need to grab the attr
 
hello
 
8:49 AM
@Shane 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.
 
Caprica, you are late.. and old
 
@CapricaSix, Ok, and thanks
 
Morning everyone
 
 
9:13 AM
@martin The space should be after the ., not before
 
Can entities depend on services? Doesn't it cause a circular dependency?
 
Any of you guys recommend a particular ORM in JS?
I'm having a lot of bad experience with Sequelize
 
do you really need to work with MySQL ? sequelize is a great and complicated ORM
 
I am just trying out. Not really need to work with MySQL.
Sequelize is annoying..
I can't even set a custom error message for Sequelize for allowNull or unique.
I gave up on unique, but can't on allowNull.
I fired up some issues on there, and there were of no use.
 
9:28 AM
@HassanAlthaf don't use ORMs, what you really miss in SQL is the IDE and not the fact it's not in your language. Good SQL editors have linters and autocomplete and that sort of stuff.
 
i have worked with it from its first releases , the author really has lost the meaning of building an ORM and just builds useless features.
What i just do now is, validate before interacting with sequelize model, validator is a separated module, and just do that step before going to the next one.
Sequelize is not magic. it used to be in first releases where things were simpler. Now its so complicated that you have to spend days to understand it.
 
Awal Garg has added an event to this room's schedule.
 
@BenjaminGruenbaum ^ I added the meeting time because I (and others) might forget :/
 
That's good, thanks.
 
In your timezone, that's 3:00am on Sunday :'-<
 
9:33 AM
Validating on the server and not the database, especially uniqueness is a common mistake. Validation should be as much in the database and as little anywhere else as possible.
 
@Sheepy It'd be midnight of a different day for me, but sunday and I'd be up till 4 AM so fine by me :)
 
meh, I'm at a birthday party at that time
 
@BenjaminGruenbaum I am validating on the DB..?
I'm using the ORMs built in features before insert.
 
Eh, small angularjs question...why is there no two-way binding on whatever goes into <title>... plnkr.co/edit/8c3Nad1mmkxwSM7WcKP8?p=preview
 
@HassanAlthaf you can't, for example, validate that there are no two users with the same email on the server, only on the DB.
 
9:35 AM
@BenjaminGruenbaum That is why I'm using this feature.
It checks it for you.
 
@HassanAlthaf incorrectly.
 
So, you asking me to dump sequelize?
 
It has to be a UNIQUE constraint in the database, otherwise there are race conditions.
 
@AwalGarg Baa, I am old zzz
 
@HassanAlthaf ORM code runs with your server scripts, you realize that, right? :P
 
9:35 AM
No, I'm telling you data validation should always be on the data source.
 
@BenjaminGruenbaum Yes. It does create a table for you with the UNIQUE constraint.
@AwalGarg yes
I'm quite tired of this Node.js lol It's given me so much pain to write just a single model. -______-
 
then doing $ormClient.ensureUnique(something) is not checking at the data source.
 
I mean sequelize
 
@deostroll It's outside of the controller
 
@AwalGarg Well, this thing tries inserting and fetches errors.
Everytime I get an error for unique, I see the query is actually executed
 
9:37 AM
@HassanAlthaf Node.js is not Sequelize..
 
@GeoPhoenix Yup, I said, 'I mean sequelize'
 
@HassanAlthaf oh, that must be enforced on the server, if that happens then good.
 
@ivarni but that prop is on rootscope
 
@BenjaminGruenbaum (y)
I'm off for lunch. Seeya o/
 
@deostroll Oh.. then ignore me :)
Didn't notice that
 
9:39 AM
How come (y) mean "thumbs up"?
 
I assume because y = yes but dunno
 
hmm
 
(y) looks like something else entirely
 
that looks like girls hips with front part
doesn't it?
 
(sigh) Not in most fonts.
 
9:43 AM
@Sheepy are you sure it'd be 3AM for you? I have midnight and half hour here timeanddate.com/worldclock/…
 
Very sure. Even SO agrees with me. I quoted that from SO's event :'(
 
oh, cool
 
In Japan that'd be 4am. A great time for being an early bird...
 
I often wake up at 2 am
 
9:55 AM
@PeeHaa dat answer
> This answer will be deleted in 5 mins if the downvoters aren't explaining!
lol
...and gone!
 
He dele..
yeah
 
@AwalGarg Good riddance
 
indeed
 
What amazes me is how the fuck the question got two fucking upvotes
 
@PeeHaa slow down on the swearing, bud
we're not in your mom's basement there
 
9:58 AM
lol
:P
I thought you were?
 
nah
I'm in my wife's basement
nerd upgraded
 
:-)
Although it is called a man cave now which sounds so much better
 
Four close votes now for the question...
 
I could throw in my vote
if I weren't so lazy
fine, done
 
\o/
 
10:01 AM
it'd been a while...
 
I didn't get the question
 
AND YOU NEVER WILL
... wait, that's not the right timing
 
If I had understood I would have voted to close
 
@Mr_Green You're kamlekar (Trivius)?
 
@Mr_Green So I presume you never voted to close as "unclear what you are asking"? :)
 
10:03 AM
@pootis yeah :D
@AwalGarg nope
 
I'm Erik
@Mr_Green nope?
 
updated
hey Erik the topper
 
Erik the pooper?
 
haha
 
he said topper
 
10:05 AM
ah, I must've misread
 
technically, he wrote topper
 
but hey, aren't we all poopers?
 
not caprica :P
 
philosophically, yes
 
@AwalGarg technically, he was just typing
 
10:07 AM
technically you are just a mesh of pixels on my screen
 
JavaScript - Bunch of poopers with Caprica :P
 
@AwalGarg Nice hat, although it doesn't look like one.lol
 
@HassanAlthaf what hat, it is a beard
 
fail
 
Quora down.
 
10:11 AM
omg IIT students in depression
 
watch ndtv, 4 iit aspirants suicided due to server downtime
 
IIT students are on quora?
 
Every one of them
 
@FlorianMargaine it is their "palace of fame"
 
It's up again. 4 rose from dead. People say it's due to Satya Sai Baba.
 
10:15 AM
@AwalGarg no idea what that means
@pootis including yourself, it looks like :)
 
@FlorianMargaine I'm not a student at IIT.
 
but you're on quora
 
@FlorianMargaine Nearly every question on quora could be related to IIT and its ecosystem in some way. And the involved people make every possible attempt to glorify it and advertise just how cool and important they are, no matter if they sound stupid to the intellectual class of society.
 
which is all the same really
@AwalGarg example?
 
@AwalGarg except that the intellectual class doesn't really exist in this country
 
10:18 AM
!!tell florian google quora iit
 
that shall do
 
lol
 
@AwalGarg Is IIT good for undergraduate degrees?
 
10:23 AM
@HassanAlthaf It depends
 
I have done enough of my rant for today, so I'd let pootis answer that.
 
Well, I'm thinking of Computer Science.
I heard IIT is one of the best places in Asia?
 
It is easier to get accepted into Harvard. Believe me.
 
Lol, why's that?
 
@HassanAlthaf The syllabus is hopelessly outdated.
 
10:24 AM
Damn, fk IIT then
 
@HassanAlthaf Because you'll have to compete with 2 million other candidates for 10000 seats.
 
@HassanAlthaf it is better to check for yourselves, and then rant with us instead of taking our word for it
 
@AwalGarg India is my last option. I don't think I'll have to go there.
US -> UK -> AUS -> LK -> IN
 
LK?
 
...
Maybe Lanka
 
10:27 AM
 
LK is Sri Lanka.
Where I live.
 
@Hassan You're writing A-Levels?
 
10:44 AM
hi all can any one solve issue that i am having in svg
 
@SagarKalathil hard to say, I'm unable to predict the future yet
i'm working on it though
 
I'm going to guess that yes, somewhere sometime there is someone who can do that
Might not be here and now, but you'll never know without asking
 
can you please check out code in jsfiddle and let me know if you can help me with that
actually issue arises when we are moving green circles from one place to another.
 
posted there also .. .waiting for reply
 
11:00 AM
@pootis Yes, in 2017. I finished O-Levels this year.
 
@HassanAlthaf oh, good luck :)
 
Good luck for what? @pootis
 
@HassanAlthaf A-levels
 
Oh, thanks. Isn't that far. Just 1 year and 5 to 6 months. lol
Finally finishing school. Can't wait.
 
@HassanAlthaf It's not going to be any better
 
11:03 AM
Uni is love.
My school is boring af. We can't keep beards, we can't have swag hairstyles
They suspend us for the smallest reasons.
 
It depends on what university you're getting into
 
MIT > Harvard > London Uni > Greenwich Uni > Some in Australia > Edulink Campus in Sri Lanka
Thats the order i'm gonna try
 
guys are there any Js like "PeerJS", i like the peerJs but it does not support Https as i want to host my site into https, are there any Js like perjs that supports https ??
 
crl
oh man, why do people program in coffee... github.com/maxwells/bootstrap-tags/blob/master/src/…
 
11:19 AM
@crl To keep themselves awake
 
Maybe they just dont want PRs?
 
I have this weird bug on AngularJS.
 
crl
hehe, dunno why it's starred
 
When I submit the form, I get a set of errors, that is expected
But with the errors, if I hit it again, it moves all my fields to the left.
Any help would be highly appreciated.
Btw, this is a SPA.
 
RTA
 
11:26 AM
?
 
nothing
 
!!define RTA
 
@HassanAlthaf RTA Road traffic accident.
 
it was a very, very lame joke, never mind
 
11:27 AM
what is SPA then? Sea Port Accident?
 
lol
 
Single Page App.
 
:/ I was joking
you guys are always ready for help
 
Oh, didn't sound like one.
 
joking on the internet sounds like a criminal offense
 
11:28 AM
With so much frustration, even chuck norris doesn't sound funny to me right now.
 
So the Daytona Regional Traffic Authority didn't pick the best abbreviation?
 
crl
hard to do other things that SPA with angular :)
 
guys are there any Js like "PeerJS", i like the peerJs but it does not support Https as i want to host my site into https, are there any Js like perjs that supports https ??
 
@crl what?
That didn't make sense. Mind rephrasing?
 
crl
oh well you could load angular on each served page
 
11:30 AM
No, I have a single page,
with a ng-view
And tiny template files are loaded into that
When URLs change.
Yes, Angular is loaded on each one..
The page is not refreshed.
 
Decompose it to find your answer. — Ali Shakiba 50 secs ago
 
Aw crap. Removed.
 
Get some rep, scrub
 
You're free to upvote my answers
 
11:36 AM
And to downvote, as well :P
 
crl
hmm sad, we can't put a button in a button
 
button in a button ?
 
@crl why would anyone do that
 
!!inur button
 
@MadaraUchiha yo dawg i herd u lik button so i put sum button in ur button so u can button while u button
 
11:38 AM
 
crl
@pootis a tag list with remove buttons
but let's use span or a
 
`Function `makeNewEmail` is expecting 4 arguments, but was given 5.`
* counts *
THERE IS FUCKING 4 ARGUMENTS
// rants
 
PHP in a pootisshell
 
12:11 PM
@KarelG Who is there?
 
12:52 PM
> One developer CV to rule them all
Show off the things you care about: open source projects, Stack Overflow activity, blog posts, talks you’ve given, and more.
If [careers.so] really wants to be a "One developer CV to rule them all" thing, then why do they allow job postings which don't even accept the [careers.so] CV at all?
whom should I complain to :P
 

« first day (1887 days earlier)      last day (3065 days later) »