« first day (2014 days earlier)      last day (2951 days later) » 

12:28 AM
@KendallFrey DUDE
you will not be disapointed
even after owning both devkits this is still leaps ahead
 
neither will your mom, later tonight
 
so fucking happy I got it
 
wahey
 
lol
only shitty thing is all games go on C: currently
my poor ssd
 
If I still played video games regularly, I'd be all over that
 
12:30 AM
yeah I was going to ask if you grabbed one by chance
it's really crazy the differences between the 2
 
DK2 was amazeballs, even with a 770
 
this has springs in it, so putting it on and taking it off is so streamlined
 
alas, I can't justify the investment
 
it also doesnt turn on until its on your face
yeah that's a fair point haha I really couldnt justify the others tbh, but its so damn fun
 
I was digging through some old PCs in the office here, found a random HD5770 and Samsung 840 250GB in one of them, lol
 
12:31 AM
hah 5770, that's a bit long in the tooth
 
yeah, lol
 
also a weird choice for an office PC lol
 
still a decent card for a few years ago
 
yeah
I had a 5870 for a while iirc
 
yeah. I have a pair of 8800GTS's in my PC, hahaha
they're the only matching cards I could find with dual outputs so I could have quad monitors
 
12:32 AM
at work or home?
 
work
 
haha wow crazy
 
at home I have an R9 Fury X :P
 
I have some random office nvidia one
@Codeman I always forget that for some reason
you're the one with the badass AMD rig
 
I had a quadro but couldn't find a matching one
well, it's an i7-6700k and an r9 fury x :P
 
12:33 AM
yeah that's probably what my office one has, has some proprietary connector on the back that splits to 2 dvi's
ah, I'm running a 9590 really praying AMD gets their new architecture out this year
 
I should just bring my quad card in sometime
it has a single output with a 4xDVI connector
I could do that and my old Quadro and have 6 monitors
 
haha nice, 3 on top and 3 on bottom would be a badass setup
 
I'd probably do 2x2 horizontal in the middle and two vertical on the sides
 
1:05 AM
@KendallFrey DAMMIT
got to duna
realized I didn't add parachutes for when I go home
abort
:(
so angry
 
1:16 AM
that's KSP.
if it doesn't ruin fun for you, you can use mods like "HyperEdit" to place ships in orbit anywhere and 'test' each stage of a mission/design before hand. That's a lot of time, though
but yea.. part of the fun is realizing what you forgot.
for some definitions of fun
 
@rlemon Couldn't you just repack the ones you used to land?
 
no, I didn't plan on landing
on duna
just a fly by
 
oh
no parachutes at all?
 
nope
 
you deserve to die
 
1:25 AM
lol
 
(god i hope that doesn't get flagged)
 
I put a satellite on my top (upside down)
 
trying to do the whole two ships in one
 
1:26 AM
forgot to add parachutes to my main ship after I was done :P
oops
 
just aerocapture apon returning to kerbin, and send a rescue ship to orbit to pick them up
 
user5992646
I'm working. :)
 
i can't wait for all my favorite mods to get updated to work in 1.1
 
user5992646
on my own WordPress theme. Maybe if I perfect it in a year, it can get into wordpress theme directory and others will be able to use it. :)
 
I'ma fill up my ram with mods.
 
user5992646
1:37 AM
I'm working this late at night. :)
 
a year is too long. shoot for monday.
 
user5992646
a year is not too long for a noob. I will be happy even if it's only working after a year.
 
user5992646
working fine but very ordinary. no extra feature.
 
a eyar is to long of a project for a noob. you need a few short-term project under your belt.
 
user5992646
it is a side project I'm going to work at at night.
 
1:41 AM
Hello guys, I have an angular related problem where I am stuck. I have a custom filter that masks the string coming from the backend. If 'abcdefghijh' is the string coming from the backend, the first 2 characters 'ab' and last 3 characters 'ijh' are actually part of the original serial number and 'cdefgh' in it is the encrypted part; so, with this filter, in the UI it will be shown as ab******ijh

When the user clicks on this masked serial number, I make an API call to get the decrypted serial number.
 
1:56 AM
Howdy JavaScripties. My understanding is that dupe voting is now supposed to be based more on the quality of answers than which post is older. (This being related to why you can't dupe-vote targeting a question with no answers.) For this question, I feel like my answer to the newer question was better than the answer to the older question.
However, the author of the older answer duper-hammered the newer question to point to the older one. (It really seems like the system shouldn't allow that, since they have a vested interest.) This makes me sad. What do you think is the appropriate outcome?
I'll have my own dupe-hammer pretty soon, and be able to reverse it, but that seems like the wrong way to handle this.
 
@Zirak pingola, mind reviewing this?
 
hello
 
@Anconia 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.
 
2:54 AM
Fun fact: The Planck length is really, really small and not even comparable to subatomic scales. If the Planck length was about the thickness of a mechanical pencil lead (0.3mm), a single proton would fit between the Sun and Alpha Centauri. Adding an electron to the proton would result in a hydrogen atom the size of our galaxy.
 
3:42 AM
>:( fb api not returning all the fields it should be
 
@KendallFrey holy shit duuuude
typing this in virtual reality
get virtual desktop right away
 
Oh, did you get your Rift?
 
@SomeGuy yeah finally!
* that app isn't even hype its totally legit/real
im doing all this with that app currently it's fucking awesome!
 
Nice!
 
yeah its truly crazy
I could code like this easily
every distraction is gone lol
 
3:55 AM
Haha, oh, damn, didn't even think about that
I assume the headset is comfortable enough to wear for long periods of time?
 
yea
a lot more comfy than the DK1 or 2
way lighter as well
 
@Bergi I think you should avoid using your dupe-hammer targeting questions that you have yourself answered. Introduces bias, you know. I believe (and the votes support) that my answer here is better than yours in that question. Quality is now supposed to take precedence over age when deciding dupe priority, but that hasn't happened in this case. Consider reverting your hammering, abstaining from voting, as moderator are obligated to do in cases where they have a conflict of interest. Leave the decision to impartial community members. — Jeremy Banks 4 mins ago
Any thoughts? I might take this to meta tomorrow if I have the time/energy.
22
A: Is this conflict of interest an abuse of closing privileges?

George StockerSomething I've learned as a moderator: If it's possible your action will be viewed as a conflict of interest, ask for help. In the case of the super-close vote dupe hammer, that means flagging the post for moderator attention "Other", and explaining the situation. Not doing so could be c...

It looks like the consensus is that users should avoid acting in cases with conflicts of interest like this. Given an established policy, I'll go with a moderator flag instead of a meta post.
 
4:53 AM
im going crazy someone help me pls
 
@littlepootis sup ?
 
there are two kids in my house (watchman's grandchildren) who speak only Hindi and I don't know how to politely ask them to leave
It's driving me nuts
 
@littlepootis do you know hindi ? If not tell em "Mujhe padhai karni hai tum log thoda dheere khel sakte ho ?" (I wan't to study, could you please lower your voice)
 
or order them icecream :P (And then you can focus)
 
5:08 AM
I want them to leave my house. I'm home alone, and they just came barging in.
 
@littlepootis how old are they?
 
@littlepootis just tell em you are going to leave the house soon, so they should leave now :P
doesn't matter if you leave later or not (:
 
translate..
:/
 
"Mujhe bahar jana hai to mai ghar lock karne wala hoo, tum log dadu ke ghar ja sakte ho ab ?" [I want to leave and am going to lock the house, can you guys leave for your grandpas ?]
 
5:12 AM
holy shit this worked!!
thank you you saved my life
 
@littlepootis (: , that will be $25 with 12% VAT
 
5:28 AM
10 CS:GO keys it is, then. Done.
 
I was kidding but if you are up for it, sure :D
 
5:47 AM
anyone used this before ?
 
Skype doesn't use MSSQL? That's blachpemy
 
uses sqllite
@littlepootis that would be an overkill
 
@Mathematics YMMV Skype has changed their format deliriously
and they are constantly changing, try it yourself :P
 
I have got an old version of skype db, so it is working
I just get curious about programs sending data out of network, silently
 
arc
5:57 AM
Hey everyone ... have someone every worked with Microsoft's spoiled child, Internet Explorer?... Can someone direct me to something which can help to resolve some of the issue when I run same web application.
 
@arc 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.
 
he's not spoiled ... just slow to catch up
 
arc
Hehehe... Do agree .. :P
 
what happened to firefox? it was so good a few years back
 
arc
May have fallen sick or something...
I hope he will recover
 
6:10 AM
@svarog Technically, it is better than a few years back. It is more secure, supports more features, more compatible with WebKit (sigh), and is faster. But it can't catch up with Chrome.
 
it certainly faster then chrome and doesn't choke the system. but it crashes all the time :<
 
user3119231
o/
 
arc
Chrome is going bananas ... That level of excellence ...
 
@svarog Crash shouldn't be common. Have you tried safe mode? Launch Firefox while pressing Shift. If success, Firefox will tell you it is in safe mode.
If it's ok in safe mode, some addons / plugins are bad. If not, next is disable hardware acceleration.
 
this is not working?
 
6:17 AM
1 message moved to Trash can
@AniketShivamTiwari Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
it just leaks memory like a crazy on youtube/google docs
 
jQuery(function($) {
    // Asynchronously Load the map API
    var script = document.createElement('script');
    script.src = "http://maps.googleapis.com/maps/api/js??center=Berkeley&sensor=false&callback=initialize";
    document.body.appendChild(script);
});
the map is not loading
 
@svarog Exactly. Try safe mode. Many (big) FF memory leaks are caused by extensions.
 
Or performance problem. I had some serious trouble with youtube, until I disabled the Web Developer Toolbar (extension).
 
6:20 AM
sure, will try
 
@AniketShivamTiwari Check console for js errors. Check network tab for script loading. Watch youtube for how to debug javascript errors with developer tools.
 
it is not showing any errors on console
 
@SomeKittens That was a good read. I did miss one thing - a mention of R&D positions. It sort of fits across the titles of Solver and Finder. I mostly do R&D, and it usually goes like:
Boss man: Hey Zirak, we want to sort of do something related to X.
Zirak: okay, do we have any idea how to do that?
BM: No.
Zirak: Has anyone ever done that?
BM: lolno
Zirak: k
Which at first glance falls into the Solver category, but looking at other R&Ders around me it's more like each one is a team on their own. A different set of skills is required when nobody before you has handled these areas, and you'r
> callback=initialize
 
user3119231
@AniketShivamTiwari wait until someone responds.
 
arc
6:29 AM
I was trying to run my web application in Internet explorer. But a new problem arose, as the last column of the table was displayed below the first column's value. For Chrome, Safari everything is working fine. Any ideas?
 
user3119231
@arc yeah. The problem is Internet explorer and incompatibilities of js. Try this: caniuse.com
 
why when I add a bunch of items in an array I get results like : "5555555555551010.61101010101010.615null102010"
 
arc
Hehehe... I know, tried different things, but nothing seems to be working for me.
Can you show us what you added??
 
this would be the code : for (var i=0; i<items.length; i++){
total += items[i].amt;
} console.log(total);
 
@tyrell_c You didn't cast your string to number when you add them up.
 
user3119231
6:35 AM
^
 
user3119231
sheepy instant answerer
 
arc
it's looks like a string has been added...
in between...
 
arc
go sheepy go!!!
 
OAO" (stuck and frozen from peer pressure)
 
6:39 AM
thanks!
 
@AniketShivamTiwari It is calling back your initialize function? Use console.log or a breakpoint to confirm. Also make sure it shows up in your network tab.
 
user3119231
yo sheepy, how things are going?
 
yeah I have made a initialize function but it is not reaching to that function
 
@tyrell_c You may want to try items.reduce( (a,b) => +a+b, 0 )
@Maurice Depends on your point of view. I should be resigning soon to take care of our first baby. Hope I'll be back to programming soon.
Our company also just lost a big project due to poor project management. And I feel responsible.
But reading pregnant magazines and baby shopping is pretty exciting.
 
user3119231
@Sheepy Ha, enjoy the time with your child. you can do some programming when (/if) he/she sleeps. :)
2
 
6:47 AM
You mean when I'm not preparing for when (s)he wakes up again and when I'm not catching up with my own sleep, which means never? >_<
 
user3119231
@Sheepy exactly.
 
user3119231
you're not alone with this. Sleep is luxury...
 
1 message moved to Trash can
@IntercoolerTurbo Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
for(var i = 0; i < path.length; i++){
            path.pop();
            poly.setPath(path);
        }
        //length 1
        path.pop();
        console.log(path.length); //length 0
why do i have to call another var.pop()?
to get length of 0
 
@Sheepy that's awful
 
6:51 AM
or does someone know a cleaner solution?
path is an new google.maps.MVCArray();
 
@IntercoolerTurbo Because path.length reduce when you pop, but i does not decrease.
 
is slice the better option? or what should i do?
 
@IntercoolerTurbo Yes. Try for ( var i = path.length ; i > 0 ; i-- )
It's a pretty common mistake, try to understand what's wrong. Your single pop does not guarantee that path will be empty.
 
@IntercoolerTurbo: your loop is never going to iterate every single element in path
Run this, try to figure out what's happening:
var path = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
    out = [];
for(var i = 0; i < path.length; i++){
    var x = path.pop();
    out.push(x);
}
console.log(out);
 
6:59 AM
ok, i take a look at it. Thanks!
 
7:10 AM
I converted elements of the array to float, still the same problem
:/
 
1 message moved to Trash can
@tyrell_c Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
1 message moved to Trash can
@tyrell_c Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
!!> var items=['1','2',null,'4'], total=0; for (var i=0; i<items.length; i++) total += parseFloat(items[i])||0;
 
@Sheepy 7
 
@tyrell_c There you go. I remember you have a null, so you need to 'defaults' it to zero.
 
7:27 AM
> Vanilla javascript is for the birds. I spend my time writing useful code instead of trying to figure out why it won't work on <browser>
-2
A: Why answer questions with code in the context of a library instead of vanilla JavaScript?

user356540The problem with vanilla javascript is compatibility. jQuery (almost always) works with all javascript interpreters (browsers). So if someone answers your question and supplies a vanilla javascript that was tested and works in chrome, but the person asking the question is using opera, ie, or fi...

He really hates vanilla js
 
If I have more than two fields instead of two fields like below.. for example-{{grocery.price}}
              <table>
            	<tr ng-repeat-start="grocery in groceries">
                	<td>
                    	{{grocery.item}}
                    </td>
                </tr>
                <tr ng-repeat-end>
                	<td>
                    	{{grocery.purchased}}
                    </td>
                </tr>
            </table>
 
@Cerbrus he really loves jQUery
 
@sheepy: Thanks! it finally worked.
 
Thanks appreciated. Where should I send you my baby shower gift list? :)
 
haha
I don't think stackoverflow supports PMs, does it ?
 
7:41 AM
For private messages, we usually post a message here and delete it after a minute :p
 
How can I compare TIMEDATE versus javascript? In my database the time is in TIMEDATE and now I would need to find info from database where current time is smaller than TIMEDATE in database.
 
@Arto Try get both time as an ISO string, then it's simple string comparison.
 
@Sheepy until we hit year 10000, then all bets are off
 
7:56 AM
@Neil Remind me, when will unix epoch overflow on a 32bit integer?
 
@Sheepy The problem is that I would need to make that comparison in sequalize where clause, and I don´t think I can change that into string?
 
@Arto In SQL you actually can use a string for most databases. They'll cast it to time. Just make sure it is ISO or ISO like. i.e. yyyy-mm-dd, don't put month or day on the front.
 
@Sheepy 2038
I hope to be retired by then (though probably not)
 
Don't. We'll have lots of demand fixing systems that use 32bit time. I hope.
 
Hey guys !
Did any of you text me yesterday?
 
8:04 AM
@Sheepy not sure about that. Everyone panicked with the y2k, but then it is easy to understand
 
Kez
hey, when serializing strings to the url, example www.example.com01=on&23=on&23=on How can I prevent repeating numbers as seen here? jsfiddle.net/c3yp7943
 
@Neil They will panic again when systems start to malfunction when we get closer and closer.
 
Try to convince a bunch of bigwigs that in 2038 there will be a big problem, and my guess is that they would respond "wtf is going to happen then?"
@Sheepy meh
 
did i just accidentally flag something?
 
@Neil Set the staging server's year to 2040. :)
It is so unfortunate that I think it won't blow up my systems....
 
8:09 AM
Rather they will go, "you want us to pay you to fix what now? "
 
lol
"It is cheaper to fix it now, before inflation and before it becomes a legacy language that no one knows"
 
The easiest fix is if the operating system added memory to value
So that the 2038 problem will be the 7357 problem
 
You may be surprised how many systems (sometimes new) are still storing unix epoch as time. I just witnessed one last year from our client.
 
user3119231
@Neil sounds legit to me
 
@Sheepy I didn't know that they had already put a fix in action
 
8:15 AM
Well, I didn't border to tell them it has some non-future proof design. After fifteen years, I think.
 
It is very uncharacteristic of them to perform a change that won't be useful for a good 22 years or so
 
Hence how the Y2k38 bug arised in the first place :-)
 
@JanDvorak true, but I don't think that they really could have done much differently
They could have made the value bigger, but it is the same problem postponed just a bit later
 
Let's just hope we'll be able to switch to 64-bit systems in time
 
Other options would have been slower
 
8:24 AM
2^64 seconds to years -> 5.84554531 × 10^11 years
If the Unix guys are smart our sun will blow up in our face sooner than that
 
@JanDvorak well they never really thought the system would have made it to 2038 and yet here we are
 
Yeah. May be not 40 years ago, but we now have enough resources to store and process time in 64 bits.
 
@Neil We're not. And 64-bit computing should be possible by 2k38
 
> 11-10-2002 - Adding temporary login auth system
05-03-2014 - Temporary my ass
 
After the 2038 bug fix, there will undoubtedly be some computer program ai in the year 3644684 mumbling under its breath to fix an old but still used system
 
8:28 AM
You bet :)
 
Gamers already use 64-bit systems so that their precious precious games can hog up even more RAM than they previously could.
 
this is a question for angular users, how ok is to declare a variable in the dom/markup? should i declare it first in the js file?
 
@ZetCoby I might if I were using that variable directly and exclusively in the markup, otherwise probably not
 
@Neil yes, i am using it only in the markup to add or remove a class, to be more precise i use it to change the color af the selected tab
 
Can I see how that's done?
 
8:33 AM
@ZetCoby then so long as it doesn't clutter everything, fine to use directly in the markup
 
```ng-click="showView = 'tab1'" ng-class="{'tab-active' : showView === 'tab1'}"```
this is in the tab div
 
@ZetCoby yeah, I think that's fine. Maybe there is a better way to do that, but I am not familiar with it
 
@Neil cool, ty for the help
 
@ZetCoby just curious, but should you reverse the ng-click and ng-class, does it still work?
 
@Neil tested, still works
 
8:52 AM
@ZetCoby interesting. That means that they are updated by events
 
@Neil but in one case i had that problem, i dont remember exactly but once i had to switch places of two attributes in order to work, oh wait i think it was something related to ng-repeat and the class attribute, if the class attr is after the ng-repeat only then the animations of ng-enter/leave will work
 
@ZetCoby counterintuitive
 
9:18 AM
@rlemon Yes.
 
9:46 AM
which is the best way to include a javascript from a javascript?
 
is it possible to fetch programatically exit code in node?
 
@Srle the exit code is like that of any other program
Meaning that you can do whatever you want with it in the shell
@Neoares what do you mean by that? Like include a dependency?
 
@Neil yes
Maybe createElement('script') then appendChild?
 
@Neoares you can add script element referencing the library to include
Yeah, but you shouldn't wait until page load to do it
It might have to come after the current script block though, not sure
 
user5861300
10:05 AM
-1
Q: how can i make two different object using angular?

001I have made online booking mobile i have total Numofphones,Remainingphones and Bookedphones once user select Remainingphones and Bookedphones count will change after that i am updating that new object(updated object) into database. After that i need to make one new object with "Bookedphones" ...

 
user5861300
help me out
 
10:20 AM
@littlepootis Dude, I am totally a pro at spinning pens now. this is frigging cool. I was practicing during my exam today and I can spin it in a perfect oval shape now. cc @SomeGuy.
 
That's awesome. I haven't practiced yet
Probably won't for a while either. Got 2 weeks off \o/
 
@SomeGuy wait, what? how?
 
"Study leave" for my sem exams. We have that
 
o/
 
ohhh, nice. That's my hibernation period.
 
10:27 AM
@AwalGarg you gotta learn how to roll a penny across the upper side of your fingers and back
Looks impressive and it is even harder to do
Can use a poker chip as well
 
@GNi33 \o
How's it going?
 
Mir geht's großartig, und selbst?
 
@GNi33 se vuoi iniziare parlare in altre lingue, posso farcelo anch'io
 
Sì, naturalmente
 
@GNi33 Sehr gut, mein Freund. Ich bin ziemlich fröhlich mit meine Ferein
 
10:37 AM
Hört sich gut an, dass du froh über deine Ferien bist ;)
although everyone would understand "mit meinen Ferien" to be fair
 
Danke! :D
 
Das Spiel!
 
I really need to spend more time learning Italian, ffs!
 
Do it!
 
last time I learned I got fucking confused by the way they call several things in the kitchen
cucchiaio... I mean, how the hell am I supposed to remember that
 
10:41 AM
Hahaha
Writing it on paper helps me cement things to memory
Also using something like Anki, maybe
 
yeah, I do that a lot actually
 
@Neil oh you mean the knuckles one?
 
Whenever I get into the habit of learning everyday, which I think is crucial especially when learning languages, something comes along that completely throws me off for at least a week and I feel like back at the start again. Kinda frustrating
I should really read a book about time management
on the other hand, I just got myself an early birthday present. I'm doing an open water diving course in about 3 weeks
 
I get that. I obviously don't have nearly as many responsibilities, but I think forcing yourself to do just a little is often the best
Also, doing it first thing in the morning on days that you know will be busy
That way it's done before you have a chance to be "too tired for it today"
 
that's probably the hardest timeframe to squeeze anything more in
 
10:46 AM
Haha, can't wake up 15 mins earlier?
If you're already sleeping too little to afford that, I think fixing your sleep should be your first priority
 
I'm on a diet right now to gain some weight and I'm eating loads of stuff right now at breakfast. All that, getting ready for work, commute. I could probably squeeze some 10 - 15 minutes in at lunchtime, that could actually work quite well
 
I wake up when I wake up
 
fixing my sleep should be a priority anyhow.
I'm still suffering from sleep problems that started off with my near burnout, although it got a lot better
but I'm basically a zombie for at least 20 minutes after getting up anyways, no matter how much I sleep
learning in that time is basically.... well impossible :D
 
!!troll college mailing list or not?
 
@AwalGarg not
 
10:49 AM
@GNi33 Step 1) Make a plan. Step 2) Execute the plan. Easy :P
 
I'll remember it ;)
just stumbled over some european pop punk guys, makes me kinda sad they get that little attention, that song's really good: youtube.com/watch?v=UHP1M1yCrq0
 
Hurray! I was just looking for new music to listen to
 
hehe, could probably give you a little list :D
 
I'd love that!
That song is pretty good! How'd you find it?
 
Spotify
got deep into the "similar artists" web
 

« first day (2014 days earlier)      last day (2951 days later) »