« first day (1667 days earlier)      last day (3278 days later) » 

12:02 AM
ugh fucking alerts!
 
12:14 AM
fuck. it is 31C in my appt again
I can't fucking wait to move
:(
 
user1596138
12:33 AM
There are trees EVERYWHERE
 
user1596138
@rlemon move here
 
problem is I don't want to install the AC unit for like 3 days.
 
user1596138
But no. If you visit now you can visit both of us ;P
 
^
 
weather is going down to mid 20's next week
 
user1596138
12:36 AM
I think I saw like 72 tomorrow for here?
 
user1596138
69 right now and its 730 nvm
 
@Jhawins it is 89 in my apartment right now.
 
user1596138
C
 
user1596138
And dude wow that sucks lol
 
I know it isn't super hot, but shit man, that is inside.
sitting at my pc sweating is never fun
 
1:12 AM
@rlemon lol dude
I just setup my portable ac
as you were talking about that
I hate having to do it, but same situation
 
tomorrow it will be cooler.
 
we even have central air, but man my room gets crazy
 
thunderstorms at like 3am
 
I'm redoing an entire website (one I already made) in node.js
should I switch to promises?
 
from what?
 
1:13 AM
callbacks
 
^
 
yes
 
I mostly used callbacks last time I wrote the website
 
user1596138
@loktar lol do we get tornadoes
 
user1596138
sorry off topic
 
1:13 AM
yea
 
because I was just learning node.js (I also wrote every route in the same file, along with every function)
 
but never like right in this area
 
user1596138
TIL
 
closest one was at a boyscout camp in Iowa
about 5-10 miles away
3 or so years ago
 
@rlemon but do I have to go all promises or can I mix in callbacks?
 
1:14 AM
yes
 
yes what
 
user1596138
@Loktar There is central air in each apartment here I was so glad
 
damn nice
 
also, bluebird is the go-to promise library, correct?
 
aye.
its the best to use because you can always ping Benji for help :P
 
1:16 AM
what makes it better (besides that)?
 
thats from last year even and BB has more features than the others
also the debugging is pretty great in my experience with it
 
ugh…I really don't want to rebuild this website
I think I'm going to switch from EJS to jade for the template engine
since templates will make my life 10x easier
 
hrmph... I think I am somehow using _.each wrong. It seems to cease the execution of my callback function far too early.
 
1:36 AM
@corvid it's pretty hard to get it wrong, what are you doing?
 
I am iterating a list of "requirements" and using curl on them, basically.
 
@corvid each takes an array, or a single object
 
It can't iterate objects? Hrmph
 
1:41 AM
it can, but it iterates over the keys of one of them
you want this:
.
oh wait
i'm full of shit
what you have should totally work
 
it seems like it returns too early, because one file is only 750 bytes and the other is around 14MB
 
then it's probably the curl that isn't working?
the each won't wait for the curl to finish before the next one starts, if that's what you're expecting?
 
that's what it seems like, at least. It gets to 2% then goes to the next download
 
2:05 AM
good old days
 
quick question im trying to using grind player osmfhls.kutu.ru/docs/grind it has var flashvars var attrs is there way can both of the codes be combined like the way its done in css .some stylename and other style list
 
 
2 hours later…
4:29 AM
@ivarni ping
 
 
2 hours later…
6:38 AM
anyone got mad flexbox skillz?
 
@SomeKittens sup?
 
@ivarni Were you still interested in this? github.com/angular/angular-hint/issues/61
 
@SomeKittens Not really using angular any more, and stopped using angular-hint because of those inane warnings but I still think that if something is printing warnings, wether it's a compiler, jshint or angular-hint they should inform me of issues I can actually fix :)
 
hah, no kidding. Thanks for reporting it!
/me bumps it down in priority
 
No worries, while I am over angular 1.x I'm still excited for 2.x
and I think angular-hint is a good idea
 
6:49 AM
It's gotten a lot better (and will continue to do so)
still has annoying messages though
 
Yes, it seems more modular now. It's been a while since I reported that issue but I think it might have been a browser plug-in before?
Actually, it's coming back to me why I stopped using it now, it broke our app at some point :)
 
we're moving it toward a plugin system
and yeah, Batarang had a bad update. That should be a thing of the past though.
 
7:26 AM
@AwalGarg I am, yeah. Booked my conference ticket yesterday
 
7:51 AM
anyone with good knowledge on Apache + VirtualHost configuration?
 
8:02 AM
Can I make a question about angular.js here? because I didn't find a better suitable chatroom for that
angular.module('myModule')
  .service('userData', ['$http', '$log', function ($http, $log) {
    $http.get('../dbquery.json').success(function(data){
    	$log(data);
    })
    .error();
  }]);
why is that throwing $log is not a function in the browser console?
 
@Frondor Because $log is not a function, see docs.angularjs.org/api/ng/service$log
And especially the example at plnkr.co/edit/?p=preview
 
$log.log
 
fuck $log I'll just use console.log() xD
thank you
 
@Frondor That will break older versions of IE that does not have an open dev-tools tab, I'm not sure exactly which version is the newest one where it won't. All you have to do is $log.log().
 
shit, that worked!
I'm just starting with angular, and their api is not clear at all
by the way, I'm trying to pull some info out of a DB, using a json file and $http service. I'm building my own userData service to use it later on diferent views or controllers... I have no clue how to handle the injection yet... I mean, I already injected the userDataservice into my controller, but I'm blank now :D I don't know what should I do... any hint?
 
8:18 AM
Well, if you already injected the service then expose the data via a function or a property. Services are singletons so everyone who uses it sees the same data
 
I'm going crazy because I can't understand the logic of services, and singleton thingy
angular.module('myModule')
  .controller('PanelCtrl', function ($scope, userData) {
    $scope.userData = userData;
  });
and then in the view:
<div class="container-fluid" ng-controller="PanelCtrl">
	<div class="well">{{userData}}</div>
</div>
 
 
1 hour later…
9:44 AM
@SomeGuy what about accommodation etc?
 
9:58 AM
user image
3
 
10:09 AM
@SomeKittens And it's still not using ngAnnotate, is it?
 
@AwalGarg yours is on me
tthe stahing not the coming\
 
:D I just need to convince mom somehow so that I can go.
@darkyen00 btw, I guess you will be attending the workshops too?
 
naah
 
oh ok
@darkyen00 you win. Azure rocks.
 
@AwalGarg lol
don't out-use it atm
i need to do some claims from next month its all yours
 
10:20 AM
:D sure
 
Windows sucks though
can anybody find me how to open the pairing screen programmatically for windows phone ?
it seems impossible
 
10:46 AM
@darkyen00 check gtalk :P
 
@AwalGarg Not sure yet
My friend might have an empty flat there
 
Anyone feels like writing a short bluebird tutorial for a specific use case they've dealt with?
 
quick question: whenever you just write a number in js, while the program is at that point in the code, does it create a temporary variable which holds that number or does it actually only use the value?
var unit = 1,       // 1 is stored in unit, no prob
    half = unit / 2 // is this 2 stored in a temp variable?
 
It probably depends on the implementation
 
10:59 AM
and this isn't just for js, I'm talking about any other c-based language here
 
@BenjaminGruenbaum might know
 
@towc temp variable at what stage? You mean a temporary JS variable? Then no. If a temporary C++ variable, then either the realm object or the scope object might hold it.
 
There are zero variables in your example above.
It's called constant propagation and constant elimination, it's a trivial optimization to make.
 
@BenjaminGruenbaum well if the optimizations are not there?
 
Then who knows.
Oh the 2? It's a constant, why would it be stored in a variable?
It's likely just hard coded into the code segment, but there is no requirements, you can't obtain an lvalue for the 2 anyway.
 
11:11 AM
@BenjaminGruenbaum what if we didn't know the value of unit yet?
 
@towc it might still be inlined, it really depends
 
var unit = parseInt( prompt() ),
    half = unit / 2;
you can't use constant propagation here, right?
 
right, but you can dce half though
As is - never actually execute the second line
 
assuming we have some code using both of the variables later?
 
I am in jeapordy
windows phone has almost killed me
this is a blasphemy
the documentation is too fucking lengthy -_-
 
11:14 AM
also, js doesn't do variable elimination from what I've seen: you can always find all of the variables through the console
also, shouldn't constant folding be done by humans first? XD
that's kinda what makes a problem-solver a good problem-solver
compilers with constant-folding algorithms are for the lazy... wait... that sounds like us
 
@towc right, if you turn on the console you opt out of some optimizations already.
 
ooooooh
 
Also, why does it matter?
 
but the console's always there... right?
 
Also, I use constant folding and inlining all the time, for example extracting booleans as variables before using them in ifs
Yeah, it is.
 
11:22 AM
so how do you access those optimizations?
 
What do you mean?
 
> if you turn on the console
can you turn it off??
 
you can install d8 for example and look at the generated assembly
I really don't understand what you're talking about here... these are all micro optimizations at best, you really shouldn't care about them
 
I'm just curious
thanks
 
guys... would you ever put a WP website on your portfolio that you used a free/paid theme to make if you were trying to get your first job?
or what about using a framework?
 
11:28 AM
put everything in it, I guess
 
just seems a bit shady
 
overall, that's experience with the web, and not as a user, but as a creator, right?
that's what your employers actually want
I think
 
what to use already created themes? haha
I don't know how they work tbh.
when I first started learning web design I thought every site was made from scratch haha.
Then when I learnt about frameworks like Bootstrap I couldn't believe how quickly you could put a site together.
 
again: it's experience!
everyone must start somewhere
maybe make sure that they know that you don't consider it to be anything great
 
I guess
I could make one site using a free/paid theme, one using a framework and one made from scratch.
and highlight that's what I did.
at least I'm been honest then.
 
11:35 AM
test chat :p
 
@ObaidAhmed 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.
 
@JoeConsterdine maybe try to discuss about it in the Web Design chat, they likely know about designer applications better than us
 
Yeah sure :)

Anyway, how long you been learning JS?
 
I never got a job, so I don't know much about this at all
 
@towc ok, how long you been learning web design? Where did you start/where are you at now?
 
11:38 AM
(still an early student, it's not like I suck at js so much that nobody wants me)
 
@towc I don't have a job either in Web, I'm desperate to get one haha.
 
I started programming about 3yrs ago, I learnt about programming functions before maths functions, so I'm not at all something to follow as a model programmer
my design abilities are extremely bad, I started by just having a blank page with uniform text and thought that it was awesome. I'm kinda still there, but my sense of design is a bit better. Here's my broken site if you want to check it out
and here's what my first site looks like
and here's where my cool stuff is: codepen.io/MateiGCopot/popular
where design is almost not needed, and all that counts is how well can you solve a problem to make a simple demo
 
if you combine blue + green, you get ... my screen appears that color as light blue, but it's probably my brains
 
it's cyan
 
@KarelG cyan
 
11:46 AM
ah, thanks
 
expect(something).to.contain(somethingElse), expect(something).to.equal(somethingElse), what's the word that describes what contain and equal are?
 
condition operations?
 
condition is good, thanks
 
np
 
why can't the above be re-written as a dsl ? and thus your test file will look so english ?
expect something to contain somethingElse
 
11:48 AM
@darkyen00 It probably can, but then it's up to you to parse it?
 
should be simple
 
"should" is the key word here
 
It's totally readable as it is, and it's just JavaScript
What's the point in the a) cognitive load, b) computational load?
 
learning !
 
Not everything is about learning, some things are about good engineering.
But by all means, go write a parser that does that
 
11:50 AM
it was just a thought my friend, not asking you to put it in production
cant atm i have my major project to write and somehow figure out how to make windows-* devices useful
without installing windows 10 to my own phone
 
and besides, expectations like these are usually within the context of needing to be able to execute arbitrary code and then check something, so you'd need to be able to parse arbitrary code as english, and I'm sure you can imagine how well that would work.
 
@darkyen00 I still don't understand why you people write to devices with approx .02% usage
 
that % can increase after a while, that you don't have to adopt the product for the new OS
 
@MadaraUchiha are you sure it is only 0.02%? What about the future?
 
still, first time i see this kind of development
 
11:55 AM
@AwalGarg I'm exaggerating, it's not only 0.02, but from what I can tell, it's on the decline.
iOS and Android completely dominate the market, for at least the next decade or so.
Unless MS is going to make some brilliant business move that makes everyone who hate them suddenly love them again.
 
@MadaraUchiha quick research says 8.6% as of now, and racing up all the time
 
@AwalGarg 8.6% where?
 
@MadaraUchiha worldwide
 
@AwalGarg I call BS
I read articles about MS having to destroy almost their entire stocks because there were no buyers.
 
@MadaraUchiha to pass an exam ?
and to get a on of free stuff
and btw Windows Phone 10 is sexy
especially the continuum
 
11:57 AM
@darkyen00 A worthy goal.
 
@MadaraUchiha I just gave awal a free msdn account
 
@darkyen00 Yes, he is. But as long as there's burning, fiery hate to M$ in the market, they will not succeed, even with an excellent product.
 
now he has all the stack + windows + azure $150 free :P
 
^ 100% true story
 
$150/mo till next 2 years that is
 
11:58 AM
@MadaraUchiha hate to say that is true :(
 
that's a nice gift from him ... don't forget that awal
 
I dislike windows a lot, but some msft things are cool.
The recent upsurge of OSS projects from MSFT has greatly increased my respect for the company.
 
MS has the best products, not because they were amazing
But because they abused their market power and crapped all over the standards.
That gave them a lot of hate, but there wasn't really anything anyone could do about it. They had absolute market control.
 
and than google haappened
 
If you want to receive a .docx document, you still need MS word
With all the power of Google Docs, you still need MS office.
 
12:01 PM
@MadaraUchiha huh? Libre can open .docx just fine?
 
@AwalGarg nope
 
@AwalGarg Hello world .docx maybe.
Not an actual document.
 
Word has tons that libre still can't do and they keep adding on more non standard stuff
 
ah, makes sense.
 
Now came better competitors, especially in the mobile market, and even with a product superior to theirs, and WP doesn't fall short of Android or iOS in that regard, but since there are alternatives, MS will not get a proportional market share they deserve by sheer virtue of their product.
 
12:02 PM
there are no standards for document writers
 
@KarelG Sure there is.
 
that would be the first time that i heard of that
 
@MadaraUchiha I have used Android and Windows Phone both ... i personally feel WP is better for a user
 
Documents I write in libre, or openoffice, or google docs are all compatible.
 
now android is doing what windows did in past
abusing the market hold.
 
12:02 PM
And of course word can open all of them
 
Android is a terrible OS, like seriously i never felt the value for money of my nexus
 
@darkyen00 apps
 
But once you save with word, opening them with anything other than MS is hard.
@darkyen00 Android is a mutated copy of iOS
 
@MadaraUchiha nope
its a degraded copy of iOS
 
windows app store < chrome app store < ios app store < android app store
 
12:04 PM
if they were to copy iOS fucking copy its resource management first
copy its security model first
 
@AwalGarg The app store is in direct correlation to the number of users.
 
it feels to me when i run an android that i am putting the hardware in forced slavery
 
Being forced into using IE to order a product online feels terrible.
 
^--- wut ? sudden change of subject
 
@KarelG Not really, it's the same talk about crapping over standards.
 
12:05 PM
I'm totally random. Feel free to ignore me.
 
A lot of our governmental sites still require you to use IE, otherwise they are completely unusable.
Yet another thing MS took a dump on.
 
@RoelvanUden IE 11+ ? i doubt
though chrome emulates old ie pretty well
 
> אתר זה נצפה הכי טוב בדפדפן אינטרנט אקספלורר 6-8 ברזולוצייה של 1024 על 768
Do I really need to translate this? ^
 
Ah this webshop required IE to select the bank you wish to pay with. Terrible, really.
That said, it's not MS fault like @MadaraUchiha wants you to believe. It's the terrible devs that made it :P
 
ie11 is great in that devs can use css3 and html5 pretty much without fear. But for a user - let's be honest - it's a POS compared to the available options.
 
12:08 PM
@RoelvanUden No
It's MS basically buying all the governments so that they exclusively use MS products
Be it IE for their sites, ASP.NET for their programs, or SharePoint for their data management
 
I'll still only take Firefox or Chrome over IE. Everything else falls short.
You do realize that it's not MS fault that Windows just works for corporate environments, and their competitors have terrible support for those environments? You also do realize it's not MS fault that those environments decided to choose for shitty software made by shitty devs that doesn't upgrades? Then they offer extensions for support of deprecated software because those governments/officers are so terrible, and they get flamed for it? Just wow.
 
@RoelvanUden oh have you ever used opera miiiiiiiini? XD
 
@AwalGarg I don't have an Android device anymore. Or at least I pretend I don't.
 
@AwalGarg Go away
 
yeah it is vendor's fault that they don't provide good support for other os'. agree with Roel here
example: nvidia
 
12:13 PM
@RoelvanUden Eh, the truth is probably somewhere between my claim and yours.
 
maybe you just hate MS so much :)
 
@KarelG I hate MS a lot, because they made my life hard for quite a while, until better alternatives came up
What they've done with IE up until IE 10 is inexcusable.
What they've done and still are doing with Office is inexcusable.
 
Well compare the userexperience at msft's website and support with that on google :D
 
Why is it 'inexcusable'? They made a product that worked great for their customers. When you run a business, you don't particularly care there are no competitive alternatives. All the more power to you and your innovation. You see it in every field; your blinding hate for MS just makes it difficult to accept I suppose? :-)
 
i'm not an apple fanboy, but you won't hear me criticizing their software applications unless it's a shitty thing.
i have criticized IE for ages of what they did with that, that it became a joke.
 
12:16 PM
hi folks!
what mobile os u think is the best?
 
@RoelvanUden There are standards in place.
 
Before you had Firefox and Chrome, IE was pretty much the leading standard. Should it be punished for making the web accessible for regular joes, too? Sure, it wasn't the only one, but it was the primary way that non-technical people get on to the web with. Still is, to be honest. I'm really not sure how it is a bad; sure I don't like IE now with the alternatives, but back then, there were no real ones to speak of.
 
the ones I don't use
 
@MadaraUchiha There are standards in place now, sure.
 
Corporate or not, by shitting all over those standards, you force your own ideals over the "greater good"
@RoelvanUden There were plenty of standards MS crossed with IE5 and IE6
 
12:18 PM
Yet here is Chrome doing the exact same thing now, while IE is doing the standards compliance thing. Reversed world huh? :P
 
There were plenty of standards MS crossed with office, back when office was new.
@RoelvanUden I never justified what Chrome is doing
Chrome is slowly but surely becoming the new IE
 
@RoelvanUden it's just business.
 
@BenjaminGruenbaum Exactly. Read what I said above. :)
 
It makes sense to not want to standardise when you're on top.
That's why chrome is becoming less chromium and more Google secret code, and so does Android.
Bad for the community, good for Google who used to pay $300M to Mozilla for being the default search engine.
That's why Mozilla is and was so important, it's a nonprofit.
 
@BenjaminGruenbaum But they grew, and became meh
 
12:21 PM
Jup. And with that, I'm out for now. I'm going to destroy a little of earths environment with the exhaust gasses of my motorcycle for no other reason than my personal enjoyment. Later ;D
 
Firefox used to be the best browser by far
Back when it was written by 3 kids in their spare time
 
@MadaraUchiha right, but being nonprofit means that while they can make "meh" stuff, they're still the only one not driven by business interest.
@RoelvanUden later
@MadaraUchiha that was really never the case, if anything that's the case for Chrome before it was Chrome, even before it was WebKit
 
@BenjaminGruenbaum What was Mozilla intending to use instead anyways?
 
@AwalGarg bing
 
lol
 
12:22 PM
Or Yahoo, like it does now.
When it was KHTML - it was kids writing fun stuff.
I remember Konquerer being shitty on my Mandrake 8 :D
 
@MadaraUchiha they used a lot of existing code
 
@BenjaminGruenbaum I never claimed otherwise.
Back when it was developed/maintained by 3 kids in their spare time*
 
If I fork Chromium now and do stuff it's not just "a project written by some guy in his spare time", it's frigging Chromium
 
Better?
 
12:23 PM
It was forked
KHTML is the HTML layout engine developed by the KDE project. It is the engine used by the Konqueror web browser. A forked version of KHTML called WebKit is used by several web browsers, among them Safari. Distributed under the terms of the GNU Lesser General Public License, KHTML is free software. Built on the KPart framework and written in C++, KHTML has relatively good support for Web standards. To render as many pages as possible, some extra abilities and quirks from Internet Explorer are also supported, even though those are non-standard. == History == === Origins === KHTML was pre...
Lars Knoll is why we're all using Chrome today ^^
 
Hi all
I have a query.
 
@BenjaminGruenbaum not using chrome :P
 
What advanced skills should a Senior PHP/Web developer have regarding JavaScript? I mean I know it in deep like closures etc etc. What else should I have besides just regular skills?
 
@jQuery.PHP.Magento.com ability to learn to understand the language
 
12:38 PM
Yes correct, but if they ask me what do i know in advanced JS, I cant tell ability to understand the language . I mean can you please list skills specific to advanced JS?
 

« first day (1667 days earlier)      last day (3278 days later) »