« first day (2553 days earlier)      last day (2388 days later) » 

9:00 AM
The only thing I'd have init :P
 
are people using vuejs in production except chinese
 
I want to change my design thingy from 238 to 266, but I forget how.
:(
 
@AtharvaPandey yeah
 
This is all I have to go by:     <svg width="238" height="238" viewBox="0 0 238 238">
      <rect x="0" y="0" width="238" height="238" fill="blue" />
      <rect x="7" y="7" width="224" height="224" fill="black" />
      <rect x="14" y="14" width="210" height="210" fill="red" />
      <rect x="21" y="21" width="196" height="196" fill="black" />
      <rect x="28" y="28" width="182" height="182" fill="yellow" />
      <rect x="35" y="35" width="168" height="168" fill="black" />
      <rect x="42" y="42" width="154" height="154" fill="orange" />
 
for some reason especially the laravel community seems to like it
don't ask me why
 
9:04 AM
since i really hate JSX from the core of my heart and i dont like react for the same reason i want to learn vue :)
 
do it, I've been planning to look into it for a while as well now
did take some time to get used to JSX, I don't completely hate it anymore, it still feels a little wrong though
 
i just like my templates to be cleaner
 
damn
 
i am no expert in javascript still this JSX thing is not for me
man those SVGS
 
down 7, up what?
I'm staring at a multiplication chart.
down 7, as in multiples of 7 down.
I'm in the wrong room for this.
this is javascript.
see ya.
 
9:28 AM
Excellent parking, fam
 
Stack chat :)

Hello JS nation :) Glad to be here
@KamilSolecki CSS problem :) wrong room
 
Heyo
@VladoTesanovic this is a meme room :D
 
Hey!! I'm new here, has this been around for a very long time? :)
 
@AlejandroVales 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.
 
9:38 AM
Oh man cap took some time with that message
@rlemon she might be dying
 
@AlejandroVales Welcome to the ancient halls of JS. We have been gathering here before the concept of time was discovered
 
Germany has bierhalle, we have jshalle ^^
 
I need help cause apparently I suck at math.
 
Riemann hypothesis states that all nontrivial zeroes of the Riemann zeta function are on the line Re(s) = 1/2
 
you what?
 
9:49 AM
checks out
 
I kinda just proved that the k=2 term of the Taylor Polynomial can be represented using a Hessian Matrix. I hate this stuff
 
hey guys
 
@landpack 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.
 
Hey guy
 
Hey friend
 
9:49 AM
I just want to upload some image to server, my server has already ok
so when i try the :
i can upload image successful
but , I don't know how to upload the image in javascript, anyone help?
 
@OliverSalzburg OMG, this is like sooo not like JS, I think that if it's so old it should be abandoned :P
 
@GNi33 hmm that would make sense right
 
if you have a clue about that stuff, it might, yeah
 
Since hessian matrix is of a second order partial derivatives
 
I'm still unsure what that Taylor polynomial is actually for, so...
quadratic approximation or whatnot
 
9:54 AM
Not only quadratic
Approximating solutions to diff equations yeah
 
ah yeah. well second order would be quadratic
 
been mainly dabbling around with the second order, so that one kinda stuck
 
Hi guys! How are you doin' today? =)

Why does `img.onload=function(){start();};` work but `img.onload=start;` doesn't?
 
I just wish that math classes would allow software :P
 
9:56 AM
they do
 
As in whenever I'm dealing with matrices specifically
Well they don't here (usually)
 
we have to use Matlab
which is fine
 
Yeah we do use mat lab for some things
 
a little clunky sometimes, but it's fine for what we need it for
 
But exams require by-hand
 
9:57 AM
I use it mainly to check if what I did was at least some sort of correct
ah yeah, of course
 
And man, doing quaternions by hand is such a fucking pain
I make so many typos
It's amazing
 
oh good lord, I hope I'll never have to do that again
 
They are fun when you do them with code
They become uber simple
 
or stochastic
f that
 
Hi! I am trying to add doc to my API with Swagger. The problem is that now I get this error:
Errors
Parser error on line 14
end of the stream or a document separator is expected
 
9:59 AM
Yay for stochastic gradient descent :P
 
hell no :D
 
I should do ML in JS
Write my own little ml framework
Well maybe not a framework
More like a lib
 
wait, is ML the same as MatLab?
0.o
 
Wonder how performant will it be
 
omg
 
10:00 AM
@towc eee ML as in Machine Learning
 
oh
but the ML language is MatLab or...?
 
it has its own 'language' yeah
 
ML is not related to any language
 
No idea if it's called anything
@FlorianMargaine he's speaking matlab coding language
 
ah, that's just matlab.
 
10:02 AM
(I think so)
 
I guess it's not even matlab though
ML ('Meta Language') is a general-purpose functional programming language. It has roots in Lisp, and has been characterized as "Lisp with types". It is known for its use of the polymorphic Hindley–Milner type system, which automatically assigns the types of most expressions without requiring explicit type annotations, and ensures type safety – there is a formal proof that a well-typed ML program does not cause runtime type errors. ML provides pattern matching for function arguments, garbage collection, imperative programming, call-by-value and currying. It is used heavily in programming language...
 
@towc uh, Just to be clear, i did not mean that at any point
With ml I always meant Machine Learning
I wanna give a go at music recommendation thingy someday
Would be a fun (albeit pretty big) project
 
How can I post multiple rows in database?
 
10:07 AM
ML is machine learning
since always
 
@Neoares the wiki article says otherwise
 
I don't care about wiki peasants
 
Can I have some assistance?
 
not until you show some research
 
depends, are you going to use inline styles?
 
10:10 AM
@towc Can you suggest me How can I post multiple rows in database?
 
@AbhishekPandey not until you stop pinging random people
 
@svgcoding you said you have a math question but you never said what it its. Welp
 
This:     <svg width="238" height="238" viewBox="0 0 238 238">
      <rect x="0" y="0" width="238" height="238" fill="blue" />
      <rect x="7" y="7" width="224" height="224" fill="black" />
      <rect x="14" y="14" width="210" height="210" fill="red" />
      <rect x="21" y="21" width="196" height="196" fill="black" />
      <rect x="28" y="28" width="182" height="182" fill="yellow" />
      <rect x="35" y="35" width="168" height="168" fill="black" />
      <rect x="42" y="42" width="154" height="154" fill="orange" />
 
@KamilSolecki find all non-trivial zeros on riemann'z zeta function
 
I want it to be 66 instead
266
 
10:12 AM
@towc I saw you online so I thought you can help me
 
I also want <bunch of things> to be <some number>
@AbhishekPandey you thought wrong
and don't you dare ping some other random person
 
I know it's 7 down, but what would it be up?
 
!!welcome AbhishekPandey
 
@AbhishekPandey 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.
 
No, I don't
 
10:13 AM
@svgcoding you already asked this
 
I never did
 
@AbhishekPandey I'm a random person, btw
 
this was first time, because I really need help
 
@towc I was responding to Kamil
 
@svgcoding who thought you were going to ask a new question
and this is the part where you're supposed to show some research
 
10:14 AM
That was my math question
 
you re-asked it regardless, after a very small interval of time since it was last discussed
please go try some things
 
@roomowners, I think it would be nice for cap to have info about not pinging people for help in the Welcome message (as If people read that :P) what do you think?
 
@towc Don't engage
 
Cc @Zirak @rlemon
 
10:15 AM
@svgcoding go away
 
@svgcoding Hey, it's really nice that you're trying really hard to learn, but you're going to have to be more independent; if people aren't willing to help you, that's either because you aren't listening when they try or because your questions are too convoluted / unclear for anyone to be interested
We're not here to tell you exactly what you should do to make things work the way you want them to. Teach someone to fish, don't give them fish and all of that, right? Don't harrass people to help you
 
Give a man a fire and he's warm for a day, set a man on fire and he's warm for the rest of his life.
 
Exactly. We're going to set you on fire, baby
 
Stop Trolling.
You're all a bunch of trollers.
 
@svgcoding nobody is trolling you. All in all, If you dont want the help of people in this room, why ask repeatedly?
 
10:22 AM
Why are you people still engaging?
This person is beyond hope
 
@OliverSalzburg Eh, I guess we still have some hope to change a Man :P
 
huh,
 
There is no hope, only darkness
 
I can't figure this out
 
@OliverSalzburg Are there cookies in the darkness?
 
10:24 AM
Exactly
 
@OliverSalzburg when I was playing KOTOR, Man I had this whole thing memorized
 
@KamilSolecki I wasn't quoting :D
No idea what KOTOR is to be honest
 
It sure did sound like the sith code :D
 
I'm trying to fill in the entire Square evenly: jsfiddle.net/m00byjqL
 
I read that as "Mooby jQuery Lite"
 
10:25 AM
KOTOR = SW KNIGHTS OF THE OLD REPUBLIC, the Best star wars rpg
 
no one wants to help me. :(
I'm just asking for help with a math equation.
 
please at least try to articulate your question so it's understandable
> I know it's 7 down, but what would it be up?
this is not a good question
 
I would prefer if he tried to STFU
 
Additionally, you're not entitled to receive help
It's not a right, it's a privilege
 
10:32 AM
It was 238, I want to change it to 266
 
then do that. case closed
 
7 goes into 266 38 times
 
I have no point of reference to what you actually try to do. I'm not going to sit here trying to decipher your vague questions. I got other stuff to do
If you keep asking questions like that and seemingly refuse to look into stuff or advice that people in here tell you, then the people in here will lose interest in trying to help you very quickly
 
jsfiddle.net/m00byjqL I'm just trying to fill the square
 
it's not as sitting in here answering questions is exactly our job
 
10:34 AM
@OliverSalzburg Olivier Salzburg, the angry CTO :)
 
You can assist.
 
@SomeGuy eh, you don't have to read Code Complete, it'll be outdated for you
 
@Zirak Yeah? A coworker said it was one of his favourite technical books, so I figured I should look into it
 
@svgcoding Dude, you've got people with years of experience who are willing to help. They don't owe you anything, they don't get anything out of helping you besides fostering a community. If you're not helping the community improve and instead demand service, you will be shunned.
 
@OliverSalzburg If you are wondering on my posts of thst kind, I am doing it a-la the "Oliver salzburg, the sidelined CTO" message in chat with the guy who talked about being sidelined all the time :P
@Zirak Wait you dont get paid for this?
I was paid 7 bricks by SO for last months help in C#
 
10:38 AM
@SomeGuy m'kay, I just think you're past that point
 
Zirak doesn't need to get paid
 
@Zirak Maybe a quick skim, then
 
@KamilSolecki Well I dunno sometimes @ssube sends me lube and promises of sexual conquests but I don't know if that counts as payment
 
SO holds a blood ritual twice a year, that kept him at bay at least for now
 
@Zirak ha, Thats because you didnt return the promises!
Always return your promises.
 
10:40 AM
hot damn, I knew there was an await missing somewhere
 
await lube()
 
@BenFortune I need to remember this quote
 
@Zirak also, sslube Sounds too funny to me
 
@KamilSolecki are we the baddies?
 
10:44 AM
@KamilSolecki Friends are planning skiing in Val Thorens in January
reeeee
 
@KamilSolecki I don't get it, but it's fine :D
 
@BenFortune that implies that the parent return a promise, and we know that isn't the case here.
 
Can someone work with me here?
 
@rlemon lmao
 
@Zirak sweeet. I've actually never skiied in france, but I heard its great
 
10:49 AM
It's fantastic
 
@Zirak Is this your 3rd time there?
 
Im going to Austria or Italy for this new years
 
Come join, I promise to not hit you on the head with the skis
Too many times
@SomeGuy Yes!
 
I'd love to, but I unfortunately already have stuff planned :D
 
I still haven't gone and done the ziplines
@KamilSolecki Cancel them then, I'm more important
 
10:50 AM
wait, ziplines
on skis
 
 
WHAAAAAAT
 
YOU can be the fancy happy pink lady!
 
that is beyond awesome
My favorite thing to do is skiing the FIS tracks
 
That's steeeep, what're FIS tracks?
 
10:55 AM
Fucking Insane Slope
 
I hope you're right
 
@Zirak Its where the competitions take place, and for the rest of the year they are normally open to the public. Depending on the place, they sometimes put up the flags as well!
so one can practice and have fun in general
this one I linked looks like giant slalom
 
@KamilSolecki ping me if you're going to Austria
 
@GNi33 I sure will
@Zirak trust me, at a certain point its really mostly about breaking your mental barriers
 
11:04 AM
it's dangerous still
skiing isn't something you'll want to mess around with brainlessly
 
from my experience, no on-track bail is more dangerous than off-track
 
it definitely is
 
@GNi33 hence I said 'at some point'
 
yeah, and that's why we have that shitload of injuries every year
because every tourist is a world cup skier all of a sudden
the times I had close calls with these morons isn't even fun anymore
one of the main reasons I don't go skiing anymore tbh
all I'm saying is know your boundaries. If you don't feel comfortable going down a race slope, don't do it
 
one thing that people skip, which is hella important, is warmup
especially when first time on skis that season
 
11:08 AM
or at least try them out on a slow pace at first
 
It would help if people wouldn't get completely shitfaced all the time
 
haha, yep, that too
 
oh yeah thats another thing
people get drunk af
 
Not that I would know, as I've never been skiing. But when people come back from skiing trips, they always tell drinking stories, not skiing stories
 
Seeing drunk people ski in front of you is a weird mixture of funny and scary
 
11:09 AM
@OliverSalzburg damn, you should change people you talk to :P
 
Schnaps and horrible music, gotta love apres ski
 
but something I have to drink a cup of when skiing
is bombardini
that is a must
 
swedish (or skandinavian in general) people are the absolute best
"Beer for 4€? Here we gooooo"
 
@KamilSolecki But I just started to like them :(
 
11:11 AM
For me, the best part about skiing is probably freedom
 
98
Q: How to solve npm UNMET PEER DEPENDENCY

RezaI am on Windows 10, Node version 5.6.0 and Npm version 3.6.0. Trying to install angular-material and mdi onto my working folder. npm install angular-material mdi gives me the following error messages: +-- angular@1.5.0 +-- UNMET PEER DEPENDENCY angular-animate@^1.5.0 +-- UNMET PEER ...

 
usually when I ski I just go straight down and hope for the best
 
If I want to feel freedom, I just take a brief look at the flag of the greatest country in the world, the US of A
 
@towc oh, so you're one of them
@OliverSalzburg :)
 
it's really weird. My parents put me in skiing competitions until I was about 6
 
11:13 AM
until?
 
he was about 6
 
then it just became something I say "fuck it" to and go with it, knowing chances are I can recover
 
recover from what?
 
@KamilSolecki probably since I was 4 or something
@GNi33 the momentum and stuff
 
11:27 AM
Does anybody in the chats here play Hearthstone?
 
I only play casual games
So casual in fact, that I have to wear sweat pants while doing so
 
I only play causal games.
 
Is there a way to find out where a branch originated from in git? Like if I `git checkout -b new` from `some_branch`, is there a command that I can run on `new` that would return `some_branch`?

I have a script that uploads changed files to a server, and I'm using `git merge-base --fork-point <branch>` to get the changes, but I was just typing in the branch manually... thought there'd be a way to get that automatically
 
Do you mean the actual fork point in the commit tree, or a reference to the head that was checked out when you branched?
 
@Cereal git log master..branch --oneline | tail -1 sounds promising
 
11:35 AM
@snow towc starts liking you
 
@OliverSalzburg right, but what if it's not a branch of master
 
314
Q: Finding a branch point with Git?

JochenI have a repository with branches master and A and lots of merge activity between the two. How can I find the commit in my repository when branch A was created based on master? My repository basically looks like this: -- X -- A -- B -- C -- D -- F (master) \ / \ / ...

Or, whatever
 
i.e. If you commit to some_branch in the meantime, do you want some_branch or the original commit?
I'm guessing from merge-base that you need the former to find the latter
 
Give me a second, I've confused myself
 
git merge-base --fork-point also sounds interesting
 
11:40 AM
What I'm doing is:

git status -b -s //get the current branch
git merge-base --fork-point master //get the fork point
git diff --name-status #{fork_point} //get the file differences

Then some ruby to stick the different files on the server
 
Will you look at that?
9
A: How can I find the first commit of a branch?

ChronialThere are no commits “on a branch” in git. There are only commits reachable from a branch. And that information is not a very good indicator of what branch that commit originally belonged to. So I see two ways to interpret your question: I want to find the first commit after the merge-base of b...

A fake @Zirak
 
@littlepootis modals are an abomination in itself :/
 
I can take fake news, but this is too much
 
But what I was thinking is if I create a branch off master, then branch off that branch
I'd need the original branch to use with get merge-base --fork-point.. wouldn't I?
 
What you're specifically looking for is the most recent commit in the tree that is not a merge commit and based on another commit that multiple commits are based on
I think
 
11:44 AM
No, it's commit agnostic
If you commit to the branch 20 times, you'd still be doing the diff off "commit 0"
 
Then I don't know what you're looking for
Oh, yeah, that's what I meant
 
Oh, I just didn't understand
 
git merge-base --fork-point HEAD seems pretty good
Unless I just picked some unfortunate shitty branches
 
That might work
 
--fork-point returns the most recent common ancestor, right? That doesn't account for merges.
 
11:47 AM
Just look at the docs for merge-base
They even have ASCII drawings of trees and shit
 
the git docs hurt my head
git hurts my head, honestly
 
> git merge-base finds best common ancestor(s) between two commits to use in a three-way merge. One common ancestor is better than another common ancestor if the latter is an ancestor of the former. A common ancestor that does not have any better common ancestor is a best common ancestor, i.e. a merge base. Note that there can be more than one merge base for a pair of commits.
So presumably it fails for this:
A - B - D - F - G   <- "master" branch (at G)
     \   \     /
      C - E --'     <- "topic" branch (still at E)
Unless you actually intend to get D
 
@KendallFrey I know what you mean
 
Luckily, there's never going to be any merging.

We don't actually use git here, because stubborn old people
I'm abusing using it to make my life easier
 
11:54 AM
I should buy a boat write a Git API...
 
There's 2260 source files just sitting in the root directory of the project, and when we work on a ticket, we just move the ones we change to the server under the ticket number, and they test it out of that and merge it manually.

So "pulling" is just copying down the latest beta code and branching off of it whenever I'm working on a new ticket
I can't keep track of which of those 2260 files I change during a ticket, so in comes git
oh I have a meeting
 
> There's 2260 source files just sitting in the root directory
Run
Actually, I could have quoted the whole paragraph
 

« first day (2553 days earlier)      last day (2388 days later) »