« first day (1301 days earlier)      last day (3872 days later) » 

08:00
it doesn't show anything for me, no messages, no online users
no notable messages
No. There is a big connection problem for some users (not just you). The problem is with socket.io and I still didn't solve that.
oh, okay
just tried with both Chrome Stable and Canary, same result
good morning...
So, my question...
Sencha Touch question:
what does this problem relate to?
08:01
Yes, it's the same on FF, the problem is for some users
I've got two models (Category-->Object) with associations
Here is the CategoryModel:
Ext.define("TouchApp.model.CategoryModel", {
    extend: "Ext.data.Model",
    config: {
        fields: [
            {
                name: 'id',
                type: 'int'
            },
            {
                name: 'name',
                type: 'String'
            }
        ],
        //Aide: docs.sencha.com/touch/2.2.1/#!/api/…
        associations: [
            { type: 'hasMany', model: 'ObjectsModel', primaryKey: 'id', foreignKey: 'category'}
(see full text)
2
Q: Using success/error/finally/catch with Promises in AngularJS

JoelI'm using $http in AngularJs, and I'm not sure on how to use the returned promise and to handle errors. I have this code: $http.get(url) .success(function (data) { // Handle data }) .error(function (data, status) { // Handle HTTP error }) .finally(function () { // Execute logic indep...

And here is the ObjectsModel:
Ext.define("TouchApp.model.ObjectsModel", {
    extend: "Ext.data.Model",
    config: {
        fields: [
            {
                name: 'id',
                type: 'int'
            },
            {
                name: 'name',
                type: 'String'
            },
            {
                name: 'category',
                type: 'int'
            }
        ],
        //Aide: docs.sencha.com/touch/2.2.1/#!/api/…
        associations: [
            { type: 'belongsTo', model: 'CategoryModel', primaryKey: 'id', foreignKey: 'category'}
(see full text)
@GNi33 and until one user with the problem is willing to tackle that, it will be hard to solve. Do you want to help on that ?
Is this association right? Otherwise, maybe I don't need to set it in the both sides?
I've got a warning: [WARN][Ext.data.Operation#process] Unable to match the updated record that came back from the server.
08:02
@dystroy sure
I don't have time for it today, though
@GNi33 Neither I. I'll ping you on that another day
got a job interview in a few hours
great, I'll have a look into it then
My problem seems complicated, but it's not, the important thing is the associations parameter
Gonna put this question on SO...
I posted my question on SO:
0
Q: Sencha Touch store association doesn't match?

SteamFireI've got two models (Category-->Object) with associations Category |--Has many--->Objects Here is the CategoryModel: Ext.define("TouchApp.model.CategoryModel", { extend: "Ext.data.Model", config: { fields: [ { name: 'id', type: '...

08:22
Ah. there's nothing quite like opening a $14 bottle of shiraz on a Friday evening after work.
What do you exactly mean ? You like Shiraz ?
it's 10am, fuck you.
2
@dystroy Yes I do.
@BenjaminGruenbaum happy birthday
@FlorianMargaine You live in France, the land of cheap AND good wine! So fuck you!
08:23
today is not my day
@monners and good women
@AbhishekHingnikar So?
@monners hes in land of bliss man
he don't even have weather shocks !
@AbhishekHingnikar It's like what Fifel said, only the song goes "There are no cats in France, and the streets are made of fromage"
@monners we do not call the wines by their grape variety here. It doesn't really make sense for us to speak of a "shiraz" as we feel the grape work, the sun, the type of ground, etc. are much more important than just the grape variety
08:25
@dystroy can i hear you and florian speak ?
i really want to mimic french accent :->
@dystroy Hey, cut me some slack. It took me years to move beyond just using a red/white distinction (imagine my horror when I discovered the existence of Rosè)
@AbhishekHingnikar I can't speak English
@dystroy are u kidding me ^ ?
@AbhishekHingnikar here is some french guy speaking: youtube.com/watch?v=Kjgn5kGpCCc
@AbhishekHingnikar a longer one: youtube.com/watch?v=LXTSBOhx5M8
08:27
@monners Well, I didn't say you must remember the chateaux. My process is simple : I taste :)
@FlorianMargaine Pffft, that's just bad English
@DeanH 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.
@dystroy Sounds like my approach to whisky
French English is Bad English, for what I know...
!!s/for/from/
08:28
@monners French English is Bad English, from what I know... (source)
@Raimonds 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.
Austrian English is AHNOLD. So I guess we're doing fine
@monners Apart good whisky is more expensive and sellers in France don't rarely let you taste whisky
@FlorianMargaine somebody who speaks english
08:29
@dystroy Sure, but you're only a train away from Scotland
@monners loooong train...
And you don't go to Islay in a few hours, apart if you're already on Islay
@dystroy Pffft, 6 hours
@monners to Islay ?
Guys, is there any info how to do a mock service in angularjs? I found only descriptions of mock services for tests.
@dystroy I don't know where that is. I'm using Paris as my starting point
08:30
@Eugene why would you need one outside of testing
@Mosho so that I could show the work with some dummy data until real backend service isn't complete
(wrong glass, but not bad Google)
@Eugene then make a service with dummy data?
When I use observable item in knockout and initially set it to 0 it gets set to 1. Can't set it to negative either, only >= 1. Is that a bug or I did it wrong? The code is really basic ko.observable(0) and self.pagingOptions.totalServerItems(total);
08:32
@dystroy There's good whisky closer than that!
@Mosho will I be able to use it with $http calls?
well, no, and ^
i want a friken google glass to test snapick on the fly
fuck it now i shouldn't even call it snapick
Well how about that. In the docs. Huh. funny that.
08:33
recently in past few days of work i worked on a classifier that works much like a tree (more relavently wordnet)
so now if you show it an HTC, iPhone, Nokia and tell it its a phone it learns that its a phone
then using wordnet, as an addon
Hey Mosho, any knowledges in Sencha Touch? (Notice that I didn't ping you ;) )
you can expand this knowledge :->
@Mosho He didn't ping you
08:34
to clasiffy nokia, iphone and htc differently
@monners hmm. Okay. Let me try that out.
so now i classify things more efficiently.
@monners You did...
i so much wann put this on a google glass :D
@SteamFire Lies!
08:35
Funny monners
@BenjaminGruenbaum what did you get for your birthday ?
@AbhishekHingnikar Tears and regret
@monners nah hes more cheerful then you are.
:grumbles:
08:36
@SteamFire I actually missed that post because you didn't ping me
and no, I haven't the slightest :P
ho... sad
@AbhishekHingnikar Is that your picture in the star list? lh4.googleusercontent.com/-byuhJvaKfak/UAfXbTXk1UI/AAAAAAAAAvc/…
i'm desperate...
@SteamFire www.mailorderbrides.com
@monners no
i am.
08:39
does that site actually exist?
@DrogoNevets yes xD
I'd be surprised if it didn't
@DrogoNevets What ... is ... that?
lol, can confirm. It does.
Not only that, it's in the U.S!
08:42
@willDaBeast 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.
@DrogoNevets Don't tell @rlemon
@BenjaminGruenbaum Happy Birthday, Benji!
@monners as long as he doesnt claim to be desperate.....
:O
A mail-order bride is a woman who lists herself in catalogs (online or otherwise) and is selected by men for marriage. In nineteenth-century America, mail-order brides came from well-developed areas in the East to marry men in Western frontier lands (see history section). In the twentieth century, the trend was towards women living in developing countries seeking men in more developed nations. In the twenty-first century, the trend is now based primarily on internet-based meeting places which do not per se qualify as mail-order bride services. The majority of the women listed in the twent...
@BenjaminGruenbaum Merry birthing day, Ben-jah-men
08:46
@monners you buying him a bride then?
@DrogoNevets Nah, don't wanna spoil the kiddo
he's probably spoilt already
Can't see how, I barely let him out of the basement twice a month
there are websites.....
I have firewalls
08:48
he has skillz?
And I haven't let him upgrade from XP
0
Q: Angular js - routeProvider resolve promise and statements

sbaaaangI'm using something like this for each of my routes: .when('/',{ templateUrl:'views/home/index.html', controller:'Home', resolve: { load: function (configFactory, sessionFactory) { configFactory.loadAll(); sessionFactory.doAll(); ...

!!watch Das Boot or find something else
@monners watch Das Boot
Yeah, I guess it's been long enough
Woah, 1981! Seriously?
08:51
@monners full metal jacket!
Ugh, no
Never again
I'm not too fond of Stanley Kubrick
@monners "7.62 millimetre, full metal jacket...."
He raped 2001. Raped it good and proper
@monners how does one have intercourse, consensually or otherwise with a year?
Have you seen Das Boot?
08:52
@monners admittedly....no
@monners but i am not bad mouthing das boot
Arguably the greatest submarine flick ever made
hunt for red oktober?
No, this is very gritty, very real, and from the German perspective on a U-Boat
great movie, and that theme
I wonder what [Sonar continues pinging] means to someone who was born deaf
lol, this movie is three and a half hours long
I might need more wine
08:56
Some of you have already completed this survey but the others, which IDE do you use?
@SteamFire I also use atom.io now... why isn't it in the list ?
@SteamFire done, although subline technically isnt an IDE
@dystroy how do you like it so far?
my list is not realy great...
There's going to be a workshop on extending Atom at campjs.com
Can't wait
09:00
Does the console window count as an IDE?
@GNi33 a few interesting things but it's not complete enough to replace your favourite editor. And it's a little too bugy too
@JeremyJStarcher might be. IDE is a vague term
@monners thats in aus though, never be allowed there!
@monners I forgot you were from Australia ಠ_ಠ
@DrogoNevets Allowed? Why not?
09:02
@DrogoNevets Sublime text? Every text editor is an IDE for me...
@monners please fix the cursor, fix ctrl-tab, fix symbol generation, add that, fix keyboard navigation and selection
@SteamFire right, who needs a debugger.
Pfu, debuggers...
I would ask, what do you use to code...
@SteamFire an IDE is defined in what it is
@monners ok I would be, my partner wouldnt and work would never pay
@dystroy On it
09:06
@SteamFire ah right, you're one of those "print everything" or "put everything in message boxes" guys?
@BartekBanachewicz you can debug without doing it in your editor/ide
0
Q: Javascript Angular: how to chain unknown number of promises

casper_the_humanI'm writing an Angular.js service to pull some json feeds. Initially, the service does not know which/how many resources to request; they are dependent on ids returned by a another request. I'm having having a headache chaining the $http service requests together. Is there a commonly used patt...

@dystroy I was under impression he criticized debuggers in general.
@BartekBanachewicz no, I use Netbeans and IntelliJ ;) But some hard coders doesn't use auto-completion and debuggers...
@SteamFire I am not sure what "hard" is supposed to mean in this context, but I'd opt for "hardly productive at all".
09:09
@BartekBanachewicz would u be happy to help on some out of the blue C++ questions ?
I also through IDE is better to code...
@SteamFire if your language needs an IDE to be productive, its probably bad
@SteamFire ide DOES IS A DEVELOPMENT ENVIRONMENT THOUGH, SUBLIME IS A TEXT EDITOR, IT ISNT SMART WITH AUTO COMPLETE (IT TRIES BLESS IT BUT ISNT GREAT) AND THATS BAOUT ALL IT DOES
@AbhishekHingnikar shoot
eeeeks sorry caps lock, evidently
09:10
@DrogoNevets you can edit your comments
@DrogoNevets YEAH RIGHT
@BartekBanachewicz have you looked into libuv or libavcodec ?
@dystroy i dont mind editting, i do mind re-writing
@AbhishekHingnikar I am vaguely aware of their existence
@DrogoNevets Ouch, my ears... ^^
09:11
@DrogoNevets .toLowerCase
@SteamFire be thankful i didnt sing for you!
@DrogoNevets seriously... you need to rewrite it to pass a paragraph in lowercase ?
@dystroy it'll be off the top of the screen soon as long as people keep talking
toLowercase()
@DrogoNevets here: does is a development environment though, sublime is a text editor, it isnt smart with auto complete (it tries bless it but isnt great) and thats baout all it does
09:12
@BartekBanachewicz crikey, i apolgised, no i dont intend on changing it as i am that lazy, but man alive
@DrogoNevets then it shall stand there and remind everyone (how lazy you are)
im lazy, its not news! ask my partner she will back me up on this one!
@AbhishekHingnikar I don't think this is a reasonable assesment. That's like saying that if you're making tables and you use a hammer to hammer in nails, your nails are probably bad.
so, no one else to help me...
1
Q: Sencha Touch store association doesn't match?

SteamFireI've got two models (Category-->Object) with associations Category |--Has many--->Objects Here is the CategoryModel: Ext.define("TouchApp.model.CategoryModel", { extend: "Ext.data.Model", config: { fields: [ { name: 'id', type: '...

iirc i read it somewhere.
09:18
@AbhishekHingnikar I say something not so far. An IDE is useful but when you need an IDE as soon as you want to refactor something it's because the language isn't DRY enough. I can code in big js project with a simple (good) text editor. I can't refactor a big java project without one.
@dystroy isn't java one of those bad languages, if not how many centuries i have slept ?
of course it is. It's a language in which you often use your IDE to generate code for your constructor and accessors, which is about as bad as a language can get
If a stupid macro can generate your source, it's not really source
@dystroy you need to generate getters in Javascript as well if you want private variables. The only difference is that in Javascript you keep everything public.
i like python for its cleanliness.
09:22
@JanDvorak hint closure hint
meh, you already know about that, I don't even know why I'm talking to you when you troll
@FlorianMargaine { hint }
@JanDvorak The whole java language has been built around that embedding model. In a language like js, the problem is less frequent. If you make everything public in java you're bound to hard to debug bugs sooner or later.
@monners new (function(){ not a hint })();
@AbhishekHingnikar Science!
@monners science only reminds me of one thing ................... an F
for writing the definition of atom from here
!!google wikipedia atom
@dystroy right, why should someone have code written for them if I am sweating here?!
@AbhishekHingnikar gah old js function syntax is so passe
@dystroy and in JS you're not going to encounter the very same bugs? Private or public is a matter of architectural design and hiding implementation. Heck, from outside of the class private fields don't exist.
but yeah, sooner or later idiots like yegge and the like will go ballistic over how they can't change the code that's enclosed in some library and then the rant goes on.
09:46
@JamesTrimble 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.
In the M1 version, released in October 2012, the generated JavaScript reached about 78% of the performance of hand-written JavaScript while native Dart code ran about 21% faster than similar code in V8.
@Zirak It comes close, but I think we can do better than that
@monners I haven't read it yet. Maybe I'll read that next
@RyanKinal Make Gamora!
@Zirak Added you as a collaborator on my repo. The plan is to move it out to the JSRoom group once it's done, right? Or should we just be working there instead?
@Feeds oh look it's okok
hi @Benjamin, happy b-day
09:59
Happy birthday!
hello can anyone help to solve a problem?
!!/welcome shishir123
@shishir123 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.
ok @CapricaSix
hurrah new battery in bike and she starts like a dream!
10:03
i want to export the contents of <div> tag into excel i found many solution but works in firefox and i need to do it in IE can anyone help?
@shishir123 what are the solutions you've found?
ctrl + a, ctrl + c, ctrvl + v?
define "export", "contents"
10:12
@shishir123 the answers lie in the comments, use AJAX
contents means <div id="demo"><p>something</p> <h1>something</h></div> here contents of <div> are <h> and<p> and export means i want to see those paragraph and header in excel page
@JanDvorak
... .innerHTML in the console, select all and copy/paste?
i dont understand what you are trying to say?@JanDvorak
@hollie3406 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.
@DrogoNevets i see the answer but couldn't find any code related to ajax
10:17
do you want javascript to produce an excel file? That doesn't seem plausible.
yes this is possible i already made it but not working in IE in IE only Active X work but i want to run it in IE @JanDvorak
What is it that works outside IE?
@DrogoNevets battery in a bike sounds like a sacrilege
@DrogoNevets s/AJAX/jQuery/
yes @JanDvorak
@BartekBanachewicz even a motorbike needs a battery to start, especially BMW's with its on board computer, etc, etc
10:24
@DrogoNevets oh, you meant that kind of bike. carry on.
I finally found my solution myself...
0
A: Sencha Touch store association doesn't match?

SteamFireI finally found a solution looking at this exemple! It's a really great example using every case of associations. I finally understood the concept. We need to set an idProperty in our Model and use hasMany and belongsTo associations. CategoryModel: Ext.define("TouchApp.model.CategoryModel", ...

If you want something done right, do it yourself...
or maybe use a more popular framework ? or none ?
@BartekBanachewicz yes, a real bike
10:42
@dystroy If only...
I don't like this framework
why jscrush is gibberish when i paste code somewhere??
maybe your JS was gibberish in the first place
!!/google jscrush
this is input
(function(){function r(){}function t(a){return a.replace(/^\s*(.*?)(?:\s+"(.+)")?\s*$/,function(a,c,d){c=c.replace(/\?.*$/,function(a){return a.replace(/\+/g," ")});c=decodeURIComponent(c);c=encodeURI(c).replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29");c=c.replace(/\?.*$/,function(a){return a.replace(/\+/g,"%2b")});d&&(d=d.trim?d.trim():d.replace(/^\s*/,"").replace(/\s*$/,""),d=d.replace(/"/g,"quot;").replace(/\(/g,"&#40;").replace(/\)/g,"&#41;").replace(/</g,"&lt;").replace(/>/g,"&gt;"));
(see full text)
from markdown pagedown
this output
cant post output here ..
anyway you can try crush input code
you see it is fine code
but when paste somewhere it come gibberish
like a box with 4 numbers in
like 00(newline)19 00(newline)05
i think is format problem
this is using nano ;-)
10:49
A codegolf hack, which wasn't designed to be used in a real web site or by noobs, doesn't work for your library. What to do ? Simple : don't use it
@dystroy it work normally .. but i have encoding problem ...
pasted code is not encoded correct
I doubt it would even be smaller when gzipped, especially with this character range. This is just for codegolf.
@dystroy my clients browser is not support gzip
memory problems
@user3586251 They live in medieval China ?
@dystroy rural bangladesh
my site is for phone and tablet
but with gzip is crash
thats why not use gzip version
10:52
@8bitme 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.
my cat won pet of the week at work :D hurrah!
/me a very proud dad! yup I am a mad cat man!
Any JQM lover here ??
need help for the css overriding please
@VikramAnandBhushan jquery mobile
@user3586251 wat? How?
@user358 yes
10:58
@JanDvorak what about??
@VikramAnandBhushan :_)
stackoverflow.com/questions/23557774/… this is my question please help me out
@user3586251 How come their browser doesn't support gzip?
@JanDvorak
10 mins ago, by user3586251
my site is for phone and tablet
10 mins ago, by user3586251
but with gzip is crash
10 mins ago, by user3586251
thats why not use gzip version
what kind of phone or tablet crashes on gzip?
yarvik is one i know of
11:03
!!/google yarvik
but other then it most have low memory
Is there a browser called yarvik ? I only find dead websites for what looks like a small tablet manufacturer or seller
@dystroy the first one doesn't look dead at first sight
@DrogoNevets Which one of your cats? You have around 10
11:08
@JanDvorak yes, it seems to be responding now
yet it's still in dutch
zsh tip: Finished typing a command and noticed a typo? Ctrl+I will fix it for you.
% asla <C+i>
% alsa
<3 zsh
zsh is neat
@MarkJeldi 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.
zsh is the best
btw @SomeGuy, I'm sorry if I usually don't respond to pings. I see them on my phone while out, and just forget about stuff by the time I get back home
11:16
hello Javascript!
can anyone help me with mongoose schema?
!!welcome knowbody
@knowbody 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.
Beautiful code in a question :
document.getElementById($(selector)[0].id).focus();
2
21 hours ago, by rlemon
> document.getElementById($(currentParent).attr('id'))
What is it with the flag spam from the C++ room...
@victorsc 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.
11:28
@Zirak not our fault
I'm wondering how to specify nested JSON in mongoose schema, so I want to do something like:
hashtag(this will be changing): {
				watchers: {
					client1(this will be changing): [{ started(I want to add those): "timestamp", paused: "timestamp" }],
				}
			}
@Zirak OMD ! I didn't think it could be worse...
@Zirak how is #! going?
!!urban OMD
@Zirak [omd](http://omd.urbanup.com/2133771) accronym for oh my dayz/oh my days

nothing special, just another version of omg
11:33
@FlorianMargaine Just installed it last night. It's cute, but haven't had a chance to really config it and stuff.
@Zirak I'm sure dogs exist
@Zirak Ah, that's cool. I was under the impression that you just missed them entirely because of SO's bad mobile interface
@SomeGuy The plan is to move it all here: github.com/JavaScriptRoom/Zoe . I'm working as we speak on setting up a README, design goals and the beginning of a split bot.js
Awesome
11:39
...if only emacs would want to compile, that'd be great
Oh, did I tell you that I switched to emacs for a bit?
I switched back to Sublime, because I wasn't being as productive
"For a bit" implies that you didn't like it?
But it was fun
I liked it, I just really needed to get stuff done
@SomeGuy Of course not, you're beginning to use a new editor with a radically different way of doing things
Yeah. I might give it another try later
11:41
oh, then that's ok. Experimenting is for when you have some downtime
@dystroy I can't decide whether that's awesome or terrifying.
I can't see how it can be seen as "awesome". Are you sure of your word choice here ?
@dystroy Well, I stared at it for quite a while. Anything with that much stopping power is, on some level, awesome.
@RUJordan Have you ever been on TS with us? Or did I get you mixed up with @monners again?
@monners is the drunk Australian
@RUJordan is the one who can't understand Indian accents
11:46
The latter describes most of us
DooOoooOoooOOOooooOOOOOOoOOoOoon't
You're off the hurricane chase every evening now, right?
yeah, and I'm loose on Fridays as well.
Nice. Is that a temporary thing?
what's your job?
don't answer hurricane hunter
@SomeGuy Nope, that's the work conditions (besides special situations)
@FlorianMargaine Hurricane hun--- ok...
11:49
@Zirak Your mom is loose every day.
No, you're mom is.
2
You're mom. You are mom. Oh, Zirak, you're pregnant!
It wasn't a typo, though.
Mom you're.Mom you are.Zirak, oh, pregnant you're!

« first day (1301 days earlier)      last day (3872 days later) »