« first day (1784 days earlier)      last day (3156 days later) » 

12:07 AM
@KendallFrey jspm?
 
a stupid question: is there an io.js API for postgreSQL?
 
tnx
google was sending me to various ORMs
 
funny I found that easily and can't find orms for node
 
god fucking damn it
I'm not sure if I should be mad at me or KSP
 
12:17 AM
@Luggage it was mostly sending me to docs.sequelizejs.com/en/latest
 
the answer is usually me
 
@KendallFrey blame Val
 
She doesn't exist
I've got Eugene Silva
 
12:30 AM
must codepen
 
Your name, it is too long:
Did it get longer, recently?
 
yeah, everytime I go up a super saiyan level I get another nom.
 
I have no idea what that is, but congrats, I guess.
 
I'm just being facetious, it's always been the same length.
 
huh, never noticed it wrapping before
 
12:40 AM
doesn't wrap on mine
you got custom CSS?
 
nope
on "retina", though.
 
I'm on retina too
strange
 
on fullscreen only the last "l" wraps :)
 
oh I see now too
the mini one cuts off, the multi one wraps
funny
 
Right
 
1:15 AM
We will be moving traffic over to New York shortly - expect a brief readonly period.
Read-only active, failover is underway.
Sites are online and writable again - we are in the process of bringing chat back online - ETA a few minutes.
 
Hi guys
 
@phenomnomnominal css only!
 
I got a website that need you guys to have a look at
the site is loading really slowly on the main landing pages
 
but when i get into article level
 
1:19 AM
@Vincent1989 untrue
 
it loads really fast
 
It sounds like you have a lead
 
is there a way to diagonasis what is the cause of slowness?
 
Main landing page VS article page
Press ctrl/cmd + shift + i
 
like the script being used or maybe the ad is causing the slowness
ok
 
1:21 AM
do you see a tab labeled network?
 
yes the developer tool
yes
 
go to that tab and hit refresh
 
And that concludes my good deed for the day.
 
everything is loading quite fast except the first elle.my
what could be the cause?
 
1:23 AM
@rlemon everyone got booted, gotta bring Cap back
probably can't do it until tomorrow, wahey
 
the elle.my is the domain but not the script, does that mean the server is responding very slowly
 
@SomeKittens What happened?
 
@Ṣhmiddty see above tweets
 
@Vincent1989 Your initial request is overweight
 
s/initial request/mom/
 
1:24 AM
@SomeKittens Reading is hard!
 
initial request as in the php script that im using to retrieve the data from the database and not the javascript?
because we were having this argument between whether is it the problem with our front end html/js or our backend php developer
 
@Vincent1989 I have not loaded your site
You said your initial request takes the longest, correct?
There's your answer.
 
Yes
@Shmiddty so what could be the cause on initial request to be the longest?
 
The initial request will cause the server to execute your PHP. The server then responds to the request. Either your PHP is slow, or you are sending too much data back to the client.
!!/afk
 
@Ṣhmiddty Thanks for the clarification, one last question from me, apart from the php part, possible the quality of the server can be taken into consideration?
 
1:46 AM
We are aware of Peru users having issues accessing all Stack Exchange sites and are working on it.
 
2:04 AM
How can I get a reference to the base type/constructor given a derived type/constructor?
class Foo extends Bar {}
If I know of "Foo", how do I get the original Bar constructor?
 
@Luggage context?
Where are you doing this that you don't have access to Bar?
 
I found it: Object.getPrototypeOf(target.prototype).constructor
class Foo extends Bar {}

Bar === Object.getPrototypeOf(Foo.prototype).constructor; // true
I'm making a @decorator for classes and I need it to get some info from the super type.
 
@towc Oh, really? That's unfortunate. Ask if you can request books?
 
finished mr robot
pretty intense
 
@rlemon Hahaha, I loved the examples about the planes having to point downward if the Earth was curved
 
 
1 hour later…
3:29 AM
I hate it when I need to reduce down to an object but then have to sort
Sure, I'll take O(3N), no sweat
 
We've completed failover and tidying of all internal systems here. If you see any linering issues, please @ us so we can take a look.
 
Anyone know why my websocket responses are wrapped in a[<response>]. Doing a typeof on event.data gives me a string type
Example response: a["{\"msg\":\"connected\",\"session\":\"CXEFKqFmS3kX7rK4Y\"}"]
 
O(3N) is just O(N) which is not bad.
 
user406009
3:45 AM
@rlemon Lol. StarGazer is back online. I think the recent trouble forced them to do a temporary rollback.
 
user406009
IT HAS RISEN FROM THE DEAD
 
3:57 AM
what is the difference between web dev and c#
Is c# for applications or software
 
 
@june1992 AFAIK, it is for both
Windows applications and Web development
 
@june1992 c# is a programming language. It can be used to do web development, which may includes web application and server software.
It can also be also used to develop non-web application and software.
 
So what is the non-web application for that software called
 
4:13 AM
Most of them are desktop / standalone / offline applications. There are more, such as embedded software, but you rarely write those in C#.
 
user406009
Sometimes they are just referred to as desktop applications.
 
And then there are also many that crosses the line. Browsers, for example, can be used offline or embedded in other applications to display embedded contents, so they can be in both worlds.
 
So software engineering can be anything?
 
@june1992 it is called non-web application only.
 
user406009
Pretty much.
 
4:15 AM
alright
 
Anything software related.
 
He used us and left.. :|
 
user406009
Eh, I think that's fine overall.
 
user406009
Some people get really against it, but it doesn't really cost the channel much.
 
user406009
And we are technically using stackoverflow's resources here. Might at well provide some benefit.
 
4:18 AM
At least he is not a vamp. I am ok with it.
 
@Sheepy depends entirely on N
 
Well, the Big O notation can only brings you so far.
 
5:14 AM
4
Q: Why we Inject our dependencies two times in angularjs?

Hashir HussainI'm new in angular, want to know why and when we should inject all our needed dependencies two times. Example : var analysisApp=angular.module('analysisApp',[]); analysisApp.controller('analysisController',function($scope,$http,$cookies,$state,globalService){ }); But we can also write th...

 
5:24 AM
@Tushar Why are you answering instead of closing as a duplicate?
 
5:56 AM
I have issue regarding phonegap, so is there anyone who can assist me ?
 
6:15 AM
can i detech weather a row deleted from database or not
 
user image
2
My precious :D
Just got it yesterday ^_^
 
grats :)
I don't think I would survive very long on a MC, but it looks fun
 
6:33 AM
I've a div with id i want to delete this id if this id not present in database
 
@Simply Depends on your definition of "detect". What do you want to do?
 
@Cerbrus Did it come with the helmet?
 
Thanks, @ivarni ^_^ It's just a matter of controlling the throttle :D
@Neil: as did my licence :D
 
6:49 AM
@Cerbrus how much is it?
 
650
I gotta get used to that question not being about money
 
7:02 AM
650 what? gold doubloons?
650 euros for a motor bike? No way
 
Good morning
 
@Nei: not about money. It's the engine
650cc
 
@sheepy i got it, I've done it :D
 
@Cerbrus I don't have a very good history when it comes to holding back on the throttle in cars. If it can do 8000 RPM I'll do 8000 RPM, if it could do 16000 I'd probably do that.
Too much of an adrenaline junkie to ride MCs
 
@Cerbrus ahh
 
7:16 AM
@ivarni: Then not riding may be the smart choice.
@Neil: I've still gotta get used to that, too :P
 
@Cerbrus I've hitched a ride a few times though, friend of mine has a Yamaha R1. He likes doing wheelies in 120 km/t with me on the back. Which is a bit scary but lots of fun.
 
my ignorance speaking, but I heard there is like a civil war between motorcycle enthusiasts.. the ones that love yamaha, honda, and mostly japanese type bikes and those that love harley davidson
 
@Neil Wouldn't surprise me, people find the strangest things to fight over. There's a huge difference between a racer bike and a harley though so I guess that could be why.
 
@rlemon @Loktar do you know what today is?
 
noooo
 
7:27 AM
Does anyone happen to know how to make mongodb aggregations in the node module to return a cursor instead of a BSON, or is there another way to go around the "aggregation result exceeds maximum document size (16MB)" error?
 
user3119231
morning and happy friday
 
Morning
 
I must be the only one who hates fridays
 
7:44 AM
@ivarni Oeh, that's scary o.O
I'm not even gonna try those. At least, not yet
 
stupid if loop jsfiddle.net/ch7hs8ey/1
any idea why this keeps happening ^^ ?
 
@Gemtastic I hate mondays moar
why do you hate fridays? :/
 
@Neoares He has to stop working and celebrate weekend. He hates free time.
 
:o
that remembers me something...
 
@Neoares Because I don't get to work during the weekend :(
 
7:56 AM
a technician from CDN77
 
I love my work ~
 
she said she was expecting to be monday again
@Gemtastic are you a youtuber?
 
Mondays are the best day of the week :D
@Neoares Actually, no.
 
@Gemtastic do you have friends?
to hang with?
 
I do
You guys :D
 
7:58 AM
you prefer work instead of party?
 
(And gals)
 
awwwwww <3
 
I'm not really a party person
 
yesterday my logitech G930 arrived home :P
 
What's stopping you from working weekends?
 
7:58 AM
Well, work :P
 
Get a hobby project, contribute to open source or work for free
 
They don't want me to work during the weekends
 
or work free for me
or invest some money
 
I have school stuff to do so it's not like I don't have anything to do, I just like working more
 
No, they don't want to pay you to work during the weekends
 
7:59 AM
Actually they don't want me to work during the weekend
They don't want us to burn out
 
my bosses would clap with ears if I told them to work on weekend for free
 
Well, tbh I don't want to work for free
School is already stealing 3 days out of my work week :(
Well, 2 and a half
 
:o
I'm gonna start a post-graduate at big data and data science
basically data science, which already includes big data
 
@Gemtastic Then find an open source project in the same field and work on that :)
 
> I have school stuff to do so it's not like I don't have anything to do, I just like working more
he's busy
 
8:05 AM
^
School stuff feels like baby toys though, compared to work
But it has to be done :I
At least the current class is fun
 
@Neoares Amazing headset, though mine broke after 3 months and I bought a Roccat Kave analog headset
 
@BenFortune what did you do to them?
 
@Neoares Dropped them, they shattered
 
sigh
 
Warranty didn't cover accidental damage, only faults
 
8:18 AM
that's obvious p:
what did you expect
"hey I broke my headset, send me a new one"
 
Since my insurance company loves to make you pay for more I got a dumbass insurance
 
how do you drop a wireless headset @.@
 
@Neoares It fell off my head
 
(it's actually called cluts insurance)
I'm too spoiled with headphones... My better half has 5 worth £300
I'm too spoiled with headphones... My better half has 5 worth £300
>_>
That's second hand value
 
Why do you need 5 headphones? :/
 
8:22 AM
They specify in 5 different sound types. Two are the same but a different colour.
Then we have a pair that has a second hand value of £1000
(I'm using pounds because i forgot how to use euro on a mac)
 
@FlorianMargaine LOL
 
hehe
 
great song to begin a friday
 
Well, it's a reason to drink at least
 
8:32 AM
or a reason to be sad... in your case
 
is there a way in js to get the name of a function that was used to run the code I'm in without using debug stack traces?
 
@BartekBanachewicz arguments.callee.name
doesn't work in strict mode iirc, tho
 
Hi all, I use knockoutjs mapping plugin to use server-side model to be available as viewmodel for client. I've noticed that a server-side object X is returned as an JS object when X is not null. But when X is null, mapping plugin makes it as an observable. I don't see this odd behaviour with other server-side objects. I'd like X to always be an observable. Any idea what can be the issue?
 
@BartekBanachewicz otherwise, console.log(new Error().stack) and parse that. You don't throw it, so it's "fine", but that might have a perf impact.
to be tested, it might actually be free
 
8:56 AM
JetBrains are going subscription based
 
9:13 AM
I find myself removing more and more of moment.js stuff. It's too buggy :/
 
@Gemtastic Like what?
 
@Gemtastic Never had any problems with it.
 
@BenFortune I already felt pretty much in control of how much I pay :D
 
@OliverSalzburg It's an awful model, I hate subscriptions
 
9:16 AM
how can I make this BS3 code ie8 friendly ? I'm not using the rest of bootstraps css/
.form-control {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
 
@SuperUberDuper you don't, because ie8 has faded away into the darkness
microsoft has cut it out of it's will
 
for you yes, but for me it pays my bills
 
can't you pay them some other way?
 
Is it really a big deal that IE8 users don't get round corners and transitions?
Set the goal to have the site work and look as good as possible, but spending energy making IE8 look like Chrome 44 is wasted time
 
^ that, and that \/
 
9:20 AM
People who use IE8 is used to the web looking like shit, just make sure it works and they're happy
 
@OliverSalzburg I can't say I wrote the script, but it can't compare timestamps
The only thing it does great is create unix timestamps
Not gonna argue with that one
 
@Gemtastic Why can't it?
 
Making sure it works is hard enough
 
@Gemtastic That doesn't sound right
But it's not meant to compare timestamps, it's meant to compare Moment instances
 
I dunno, whenever it's supposed to it returns the wrong boolean
 
9:25 AM
You don't really need moment to compare timestamps
 
ANd yeah, it's moment instances it compares
 
The best way is to compare unix timestamps
 
@OliverSalzburg That's why I'm removing it more and more
It's not my code
Well, It's mine now but not written by me :P
 
Ah, okay
 
:)
 
user3119231
9:43 AM
If I do a http request -> I'm sending "post" variable "var score = 100". can the score variable be manipulated?
 
@Maurize you're sending a string
 
@Maurize O_o
 
it has no meaning in the context of javascript unless you call eval (which I remind you you should avoid if possible)
 
user3119231
Just a question. I want to use ajax instead of blank php. I'm not sure how safe it is.
 
user3119231
I've wondered what happens if a client manipulates the score variable
 
9:45 AM
O_o
 
user3119231
Or isn't it possible?
 
user3119231
.__________.
 
if you have a variable named "score" and you create a string "var score = " + score and send it in ajax, score could change before sending it
but after it is sent, it is a string, nothing more
 
Anyone know of any alternatives to Three JS?
 
user3119231
The point is, someone told me that if I create a game and use http requests he is able to change the score variable
 
user3119231
9:47 AM
Can you follow me?
 
the client can send any HTTP request they want
 
@Charlie Four JS
 
user3119231
Is there a way to secure this request. How would you do a score save?
 
@Maurize everything written in javascript run on the client-side can be changed by the user
 
compute it on the server
 
9:49 AM
hence you shouldn't rely on what you receive from the client as valid..
in other words, if client sends game score, someone could hack a huge score quite easily that way
server needs to tell the client the score, not the other way around
 
user3119231
@Neil that is what I've meant. But how to execute php without refreshing page
 
that would be ajax
 
ajax can refer to a php page, and if the php page has only php code in it, then it is like running server code
 
@BenFortune github.com/jackdcrawford/five Kappa ~_~
 
user3119231
 
user3119231
in this example there are variables fn and ln. These variables could be manipulated aswell
 
@BenFortune github.com/matthewrobb/six - But yeah, I'll check it out. :]
 
@Maurize yes
The input to your server could be manipulated potentially
 
@Maurize re code sample #2: the code is bad. The tutorial is bad or outdated. They should use onload and I think the content type defaults to url encoded
 
user3119231
@Neil wait a moment, I'll write an example
 
@Maurize you can't possibly make the server work with any input, but rather your server should check and spit out a nasty error if it receives input that it doesn't expect
 
such as {errorCode:400, errorDescription:"this much score in this little time? Are you kidding?"}
Also it breaks if either fn or ln contains an ampersand.
 
guys label for attribute works on type checkbox, when ever i click on label input type checkboc checks ????
 
well you shouldn't be checking score.. it is more of a conceptual problem
server should be the authority in what score you get, not the client
 
@Simply How should I rearrange this statement so that it can be interpreted as a question?
also, "checkboc"? C'mon...
 
@Simply turkey popsicle running explicitly reek donkey togo bedroom???
 
@tereško Yep, linked it yesterday
 
"developer of color" - that's racist
 

« first day (1784 days earlier)      last day (3156 days later) »