« first day (2051 days earlier)      last day (2898 days later) » 

12:00 PM
Just do that ^^
Thanks
 
Have a nice day !
 
@cswl That didn't make much sense. Maybe you meant: ban
 
You can't do that :/
 
hello
Anyone has any project about frontend where I could help?
 
For free? :D
 
12:04 PM
yes
opensource/free
I don't want be pay
 
Any past projects you have worked on which you wanna highlight?
 
i know html, css, js, jquery and a few scss
@AwalGarg Unfortunely nothing
I do only code random for funny, but nothing complete script/site
I prefere use js/jquery rather html, css
 
I never worked on html, css, js, jQuery and scss, and got a project in which I need to write every script I mentioned.
 
@TheLittleNaruto have you need help?
 
Not now
 
12:07 PM
o
ok
tell me if you have need
 
My app is in testing phase
 
@Awal DUDE, a client I've been avoiding for a long time contacted me today
 
I had completed it, Though there are some bugs which are needed to be solved.
 
12:08 PM
After a few.. (1.5) years.
 
but i can't help you for an app
idk java
 
that's an IONIC app
 
ah perfect
 
it is angular js based cross mobile patform framework
 
12:09 PM
@littlepootis if they weren't contacting you until yet, how were you avoiding them for a long time?
 
I am having hard time with this angular js.
imo I wrote a lot of abusive code that I don't do usually in Java
Well.. That is obvious if you know nothing at all in a technology and got project directly.
 
@MattewDeveloper if you wanna get started with open-source, check out what's trending on GitHub under the section for your programming language/platform and pick something that interests you. github.com/trending/javascript
 
@AwalGarg Actually throwing away throwaways, moving in to a different house and stuff.. :P
 
Is there any RO online ?
 
@MattewDeveloper Make a stupid Bootstrap project and post it to HN, get 1000 stars on Github.
@TheLittleNaruto yes
 
12:12 PM
@littlepootis ahh. well so what now? is he gonna sue you? or come to this chat and claim that you haven't delivered sudo access?
 
@littlepootis what is hn?
 
@MattewDeveloper HackerNews
 
ok, but you means a site with bootstrap?
 
@littlepootis I think Caprica will only talk in other room if an RO summon her
 
@AwalGarg No, lol. He's teamed up with some l33t peep from NZ and he and her wants to pay my house a visit.
@TheLittleNaruto Room no?
 
12:13 PM
@littlepootis 19132
 
@littlepootis oh god never ever fucking allow them to do that.
 
Hello i want to send html from ajax to php
but i am not getting this
 
I told him I forgot everything I've learnt before.
 
i am getting status 302
any help
 
!!summon 19132
 
12:14 PM
@littlepootis I will appear in that room after 1 more invocation(s)
 
!!summon 19132
 
Now you do it too.
 
@MuneemHabib that means "FOUND" i think
 
she is there now. have fun
 
No No! She won;t talk
She just got summoned there
 
12:15 PM
i just receive html from post and i echo it but its not doing anything
inshort i want to take all html of div and i want to send that to php
through ajax
 
You're doing it wrong.
 
then how to do it?
 
Shower time, brb
 
properly
!!afk laundry
 
@littlepootis If an owner summoned her in other than only she'll talk
!!afk Showering
 
12:22 PM
jquery on mobile was a bad idea...
 
Is it possible use text-align: center on display: flex?
 
43
A: How to vertically align text inside a flexbox?

Ben VisnessIf you make the flex-direction vertical (using column) then justify-content: center centers vertically. Then you can just use text-align: center to center horizontally as well. li { display: flex; justify-content: center; flex-direction: column; text-align: center; } Here it is in acti...

 
is there a way to `tabindex=-1" but via css?
trying to get some elements to not be tabbable into. If there's an elegant way not to use JS, I'll take it
 
12:37 PM
hi
any angularjs person here?
 
hi
angular hater here
 
dang
I need help.. I am stuck for long
 
!!welcome argentum47
 
@argentum47 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.
 
Not that I will help, mind you, but ask anyways
 
12:42 PM
1 message moved to Trash can
@argentum47 Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
@CapricaSix I will trick u one day >:(
if there is one parentController with a value say $scope.model.selected = {};
and there are two child directives with isoloate scope (like scope: { selected: '=' }) .. now if I have a structure like this:
 
@argentum47 *you
 
<div ng-controller="ParentCtrl">
  <child list="model.list" selected="model.selected"/>
  <child list="model.list" selected="model.list"/>
</div>
is it possible to get the selected values of both the child's in the parent, after it has been completed
 
i have two variables that define the movement of my player in a small game, if it's 0 the player is still, if it's -1 they are moving down the axis, and if it's +1 then they are moving up the axis
is this a vector?
sorry for the noob
 
Yes and no. Vector is a data type.
 
12:45 PM
let's say it's an object:
{ x: -1, y: 1, z: 0 }
this is a vector then?
it has both magnitude and direction
 
It would be nice to have some methods with it, ideally from a prototype.
Otherwise you'd have to inline the respective code to compute the magnitude or direction anywhere you want to know these.
 
well the direction is an axis which is the key, and the magnitude is the value
-1 goes down the axis, +1 goes up
@JanDvorak the code to compute the magnitude or direction is before this
this is like the result
 
That's not what "magnitude or direction of a vector" means
 
no?
what am i doing or understanding that's not correct?
 
12:51 PM
Look up the two terms
 
You'll need distance from origin and direction. That's all.
 
"A Vector is a quantity which has both magnitude and direction, but no position."
 
Sure, but what you describe as magnitude and direction of a vector aren't that.
 
magnitude = length of the vector?
which in my case for x is +1?
hehe sorry for the noob
 
@AaronHarding yep
normalized vector means length is 1
 
12:54 PM
By distance from origin, I mean it's position.
ugh
bye
The term you're looking for is "position vector".
 
@AaronHarding depends on your interpretation
 
{ x: -1, y: 1, z: 0 } can represent a position vector in 3 dimensions
 
could be a point or a vector (with respect to point 0, 0, 0)
 
@littlepootis okay
 
to represent magnitude, direction, and position, you'd need 2 points, not just one
 
12:57 PM
and it's say, in respect to the object's position in the previous frame
 
@AaronHarding ah, so a displacement vector?
 
all these terms are new to me
but it looks like it
 
Do yourself a favor and let them remain new only. Better yet, switch to "unknown".
They are all terrible and not worth your time
 
why not?
 
1:00 PM
it sux
 
in my head, you have the displacement vector ({x:1,y:-1 ..}) that i presented above, and it represents an objects new position relative to it's position in the previous frame. on each frame, the object's position is updated according to this displacement vector
 
@AaronHarding Ignore him. He suffers from Post JEE Syndrome.
 
what sucks? vectors or? lol
 
@AaronHarding ah, that's easy
 
(what's JEE?)
@littlepootis yeah, but is it a vector then?
i just used the phrase 'displacement vector' to distinguish it from calling something else an object
 
1:02 PM
So, you have an object at {x,y,z} and you want that to end up at {x + dx, y + dy, z + dz} over time.
The displacement (vector) is {dx, dy, dz}
@AaronHarding It's a cancer
 
the d stands for delta?
 
@littlepootis and people accuse me of using leet terms...
 
yes, and change
 
Joint Entrance Examination?
 
1:03 PM
@littlepootis but yes, exactly
 
So, all you have to do is displace it by {dx/t, dy/t, dz/t}
 
I'm creating a menu jquery/html/css responsive and accessibility
 
every t
 
then I will post it on github
 
1:05 PM
Well, considering it's translatory motion.
 
@littlepootis sure. so in this way.. it's a displacement vector?
i'm really just looking to grasp my head around this idea, and find out more of the math that is available to me when using this way
(to move around objects in a 3d space)
and how to transform them easily
 
@AaronHarding yes, that is a vector. All you have to do is increment x, y, z over time until you reach the final point.
 
trust me you don't need to learn this to move objects in 3d space
 
@AwalGarg well, if you want to make efficient or adaptable code then surely you do?
 
do you also use laws of motion to calculate the exact time to cross the road in traffic?
 
@littlepootis yeah exactly
 
what you say about it?
it's responsvie
responsive*
 
@AwalGarg LOL remember when I got hit by a bus?
 
@AaronHarding no -_- you need some common sense instead which I am sure you have
 
@AwalGarg no, but i'm a human and not a robot. if i was a robot then i think i'd need some basic laws of motion to do that :p
 
1:08 PM
@littlepootis yeah nobody cared
 
user5051092
Why does every question get downvoted FFS
 
LMAO remember when YOU got hit by a bus?
 
@WorstForum 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.
 
like the way i see it, is that you could have this class to take an input and turn it into this vector, then pass that vector to which objects need it
 
@littlepootis all the ladies were ded
 
1:09 PM
and there you have something that's a bit easier to maintain and a bit of a smarter way to do input into movement in the world?
 
My thoughts go out to the families of people who were travelling in that bus.
 
user5051092
no
 
user5051092
the bar
 
user5051092
expands with text
 
user5051092
1:11 PM
fix that
 
can you do a screen?
 
user5051092
can you english?
 
yes, but what sense?
 
user5051092
.. wtf
 
@AaronHarding write code which is logical and easy to understand by humans, not just 8 selected scientists in the world. because those 8 people are likely never gonna read your code.
 
1:13 PM
@AwalGarg is this too complicated then?
 
no, it is common sense and you are overcomplicating it by trying to understand specific terminology. you'd end up being a weirdo whose knowledge looks flaunting everywhere but in essence he only knows 2 extra names of a 5 cent concept.
 
hehe well fair enough
 
> you'd end up being a weirdo whose knowledge looks flaunting everywhere but in essence he only knows 2 extra names of a 5 cent concept.
lol
 
like writing code for 3d environments is new to me
so that's where i'm coming from
 
1:15 PM
Write WebGL
 
@littlepootis well i was looking into three.js to practise with
 
hi
 
@AaronHarding Three makes things too easy for you
Write your own shaders.
 
??
 
Learn Vanilla WebGL
I mean, just learn the basics and the use Three
@Phoenix hi
 
1:17 PM
@littlepootis hru ?
 
@littlepootis you're pretty much suggesting i got from css to shaders
hueuhe
i appreciate it but you know, baby steps
 
antirez, creator of redis, put this in very clear words recently:
> Learning to configure Sendmail via M4 macros, or struggling with an Apache virtual host setup is not real knowledge. If such a system one day is no longer in use, what remains in your hands, or better, in your neurons? Nothing. This is ad-hoc knowledge. It is like junk food: empty calories without micronutrients.
 
@AwalGarg i can appreciate that, but that's what i'm trying to avoid (how to move my object around with my keyboard in threejs?) rather than to be like what is a vector and how can i use them to move around an object in 3d space?
if that was directed at me
 
@Phoenix suicidal
 
1:20 PM
@AaronHarding no, that was for pootis suggesting to use webgl's shitty api and not threejs
 
@AwalGarg hehe okay ^^
it's a nice suggestion though pootis, but i think i will stick with three js
D:
 
threejs might hide api surface, but it can't hide logic and concept (which are little anyways)
 
i just want my cube to move around, weee
 
@AaronHarding They're really different. When I started I knew as much as you know now.
 
what do u mean sir ?
 
1:22 PM
@Phoenix It means I'm close to killing myself
 
ok go on
:) hahaahah
 
@littlepootis if it helps, i took some shader code in threejs last week and applied it to some objects with transparent png textures so the lights ignored the png transparency
 
just for kidding
 
but i could not write one myself..
 
@AaronHarding and no, you already know how to move objects around in 3d space. if you don't know how to do that, I suggest you go out of your room in the open world and see how things work -_-
 
1:23 PM
@AaronHarding hah, that's nice
@AaronHarding I couldn't write them either
 
@JanDvorak hey did you delete the haskell room?
 
@AwalGarg okay maybe i was being too literal with my words, i know how 3d space works but do i know how to write maintainable or efficient code that follows euler? or something like this
that's different
 
@catgocat ohey you're alive
 
not everyone who walks around in the world can write code to move an object around in 3d space
 
@littlepootis yeah school's almost finished
 
1:26 PM
everyone who has an understanding of math can, but that's not everybody
 
@catgocat mine already has :D
 
@AaronHarding but those things are unrelated! learning 3d geometry and vectors won't teach you how to write good code. knowing what you are modelling well and knowing code are two separate things.
 
sure but it's a start
 
@AaronHarding no. my maths teacher knows vectors very well - but he can't write a single line of code
even if he learns coding, he won't benefit from his maths knowledge much (to a point) on how to write maintainable code
 
@AwalGarg if he knows vectors then doesn't he know 3d space? that's what i mean
 
1:28 PM
@AaronHarding nah. Knowing the math might help you a bit, but not much.
 
not coding, but moving things around in 3d space
 
@AaronHarding no
YOU DON'T NEED TO KNOW VECTORS TO MOVE YOUR CUP FROM THE TABLE TO THE SINK
 
I am trying to get into nodejs... does anyone have a good resource to learn? I just started up a localhost but thats it
 
@AwalGarg that's what i'm saying? lol
it sounded like you were saying the reserve of this
 
Translating a three-dimensional object's projection on a two-dimensional surface is.. hard.
 
1:30 PM
all is lost
the extremists and hype lovers have taken over the mind of the masses
 
So I am guessing it is a no
 
@littlepootis it's not easy to understand, but i just look for pseudocodes to implement it :P
 
i think we're mis understanding each other Awal, i missed a few things that you said
and then you said : "learning 3d geometry and vectors won't teach you how to write good code [that follows euler]"
was a part you missed
 
@Awal Are you into electronics? I've got no-prerequisite book rec for you.
A lengthy read, not something to be read during a date.
 
nope
 
1:34 PM
either way, i just know some people that are bad at being able to move objects in a computer 3d space, but can still cross the road
that was my point, hehe
 
I know how to move an object in 3D space, but I don't know how to project it.
3 mins ago, by KarelG
@littlepootis it's not easy to understand, but i just look for pseudocodes to implement it :P
:)
 
@littlepootis or the generic canonical term for that - "modelling". The solution is not to memorize conventions from a book or steal someone's pseudocode. The solution is to train yourself to better model things.
 
If anyone's interested in learning Electronics: ibiblio.org/kuphaldt/electricCircuits
 
@littlepootis openGL?
 
No, using some 2D graphics API.
OpenGL makes it easy.
 
1:44 PM
Hey
Let's say I retrieve 30 entries from my mongo collection using mongoose plugin
the document has a field called amount
I want to have the total of the amount column
People :l
 
2:04 PM
@littlepootis when checking the covers, i would think more at architecture. Or land surveying
 
@GandalftheWhite we call it adding
 
How to do that?
 
or are you looking for the value in the "amount" field?
 
Let's say I retrieved 30 latest transactions of the user
 
@GandalftheWhite so, you know how in school the told you that if you have a pencil, and you add another pencil to it you get two pencils? It's pretty similar
 
2:11 PM
in the document there is field named amount
that has amount associated with every entry
to have the sum directly
well I am pretty sure you don't know this
so keep calm
 
document = db file?
document usually refers to the DOM
 
:l
like I said
mongo document
 
so that's clearer
 
I did mentioned mongo and mongoose both
 
yes, but you're still in a place where JS is the main topic, so when talking about retrieving values from a document, "document" defaults to JS's "document"
anyway
 
2:15 PM
Dear sir we have people here who use mongoose extensively
thank you for your concern
mongoose is nodejs plugin for mongo
so technically I am asking about Javascript only
 
point wasn't that you were off topic, :P
 
@towc you have a kindle right? which one?
 
@AwalGarg my father has...
I think it was the first major version that was released
don't have it with me now
 
@towc does the name contain "paperwhite"?
 
doubt it
why?
 
2:18 PM
I was ordering one and can't decide which one to pick...
 
cheapest?
 
the paperwhite one has more ppi, dunno if that should matter
 
iPhone has more people than android, right?
 
ppi, not people. check your fonts. are you still using windows?
 
in all fairness, I find the kindle not to be worth it
oooh XD
 
2:20 PM
in all fairness, I find the kindle not to be worth it - I second that
 
well, it's not windows, but not arch either :,(
 
I got one from Amazon from free in a event
it is the cheapest one though
 
why not?
 
Because it is not
I have the cheapest model that don't even have backlight
only positive thing about it is it's display
 
2:21 PM
the idea is to have a shitton of books in a light device with low power consumption, right?
 
it almost feels like real paper
@cswl I did read about it, is there any simpler way to do that? Just add the amount from retrieved document
Battery lasts like crazy
 
it's a great idea if you want to keep all your books or don't have space in luggages, but I usually burn my books after reading them and when I go places I usually still have enough space than a book or two that I may read
 
@towc and a display well suited for reading books
 
I still prefer hardbound boos
Yes Awal it is
Very easy on the eyes
you can use it for long uration
duration*
 
@towc you burn your boo.. wait wat. da hell?
 
2:23 PM
@AwalGarg I think I was born in the era where people started getting more dizzy by watching text on hard copies rather than screens
@AwalGarg it is a joke :P But no, I either re-sell them or lend them to friends knowing they'll forget to give them back
I don't care to have a library where I can show what I read or anything similar. Probably because I read a sillily small amount of books anyway
 
> sillily
I'm going to need to use that word more often just to mess with people's eyes
if it even exists
 
@towc oh, damn
 
@littlepootis I bet you mised that class
I missed spelling class apparently
 
i just go to a lib if i need a book. If they don't have it... uhm ... idk
 
2:32 PM
if I need a book I send a letter of complaint to the UK government, explaining that it's outrageous I wasn't provided with it. If they come back with a reply saying that I am wrong, I keep flooding their post box until they decide to buy me the book to stop the madness
B)
 
greetings
 
@towc how daer you steal my pun
 
@littlepootis dat a pun?
 
2:49 PM
db.transactions.aggregate({ $match: {$and: [{ time_at: { $gte: 1461433902386 } },{ time_at: { $lte: 1461435523083 } }]}},{ $group: { _id : null, sum : { $sum: "$amount" } } });
this looks alright?
 
@towc yeah
 
explain.
does "mised" mean anything?
!!define mised
 
@towc It means I aint got time to learn your $5 words.
 
!!urban mised
 
@towc No definition found for mised
 
2:58 PM
@towc I'd have said "Yeah, while you missed the spelling class"
 
oh
 
hi guys
 
ok... decided on the paperwhite because of the builtin light
 

« first day (2051 days earlier)      last day (2898 days later) »