« first day (1257 days earlier)      last day (3707 days later) » 

12:00 PM
@monners Yeah I really should
I think any place would be better than Italy for a programmer
 
Senior FED here makes +100K
 
@dystroy does anyone know the average salary at least in US
 
NOTE: I am not a senior FED :P
 
user2509223
i would love the 30000 a year
 
user2509223
at the moment ill get a raise in 3 month ill get abou 20000€ a year
 
12:04 PM
@derylius actually you are close to that since euros are stronger
I learned throughout my career not to complain, alway look for better
 
@meda average is around 70K IIRC
 
@KendallFrey thanks, I feel so robbed damn
 
@derylius : came back from lunch, but lol'd at the next fortunately the company had no more money to pay me
20 k € ? :x
is that nett year salary
 
@calculon 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.
 
user2509223
@KarelG the no more money was the previous company
 
user2509223
12:12 PM
this one has thats why they will pay that 20k a year
 
but you said "fortunately"
that got my attention
* nods *
 
user2509223
ah because it was not a good workplace
 
user2509223
read on back there
 
user2509223
31 mins ago, by derylius
@dystroy i had no other job where to go so i'd stay even if i didnt like there
 
If any of you are living in places that consistently under-pay and under-appreciate then start your own company. Run things right and you'll blow the competition out of the water and recruit the best talent.
 
12:15 PM
in belgium, it's not a sinecure to start an own company
 
@derylius wtf
That's illegal to pay here. It's below the minimum wage.
 
user2509223
@monners yeah thats sounds nice but they underpay us, because they dont ask enough money from the client, and thats because the client dont give a shit about investing in IT at all
 
Hello, I am php+js developer with two years of experience, make $8,500 per year,live in Russia...
 
user2509223
@BenjaminGruenbaum its italy, in hungary the minimum wage is less than 300€ a month
 
@calculon and, what are you trying to sell us?
 
user2509223
12:17 PM
@calculon @BenjaminGruenbaum thats what im talking about
 
@derylius That strengthens my point. If you've got access to the internet, then you're living in a part of the world with genuine online marketing interests. If your company can't recognize that then all the better to someone that can.
 
@BenjaminGruenbaum so it would be illegal to pay 30K your employee/programmer
 
user2509223
@monners thats all nice but then i should make a company that tries to sell something, not the one who do the online marketing
 
full time working?
 
how can i refresh the span text ?
 
12:19 PM
@meda 30K is legal, 800 a month isn't.
 
span.text.refresh();
 
@calculon Russia is also low in wages.
 
@BenjaminGruenbaum depends on if you are working 40 hours - but assuming you are..
 
user2509223
@BenjaminGruenbaum we are talking about € not $
 
Israel is between 15K nis to 35K nis for development jobs, QA is for around 10K nis.
 
12:20 PM
^ :(
QA is so under appreciated
 
@derylius a response to that requires more effort than I can muster at this particular moment in time.
 
@rlemon I got this `$('.display_warning').text.refresh();
TypeError: Object function ( value ) { return jQuery.access( this, function( value ) { return value === undefined ? jQuery.text( this ) : this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); }, null...<omitted>... } has no method 'refresh'`
 
@rlemon no it's not. There are QA engineers that go to engineering schools that make more.
 
@rlemon You on TS?
 
@BenjaminGruenbaum it is here at least.
 
12:20 PM
so 4-10K a month is common here. You can get to 15-20 if you're very good, thereare taxes on it.
@rlemon Everyone can do QA, the few people who do QA really well usually get bored fast.
 
I worked SQA lead for a number of years. most companies here a) don't hire enough QA and expect 2 QA to work along side like 25 devs
 
user2509223
@BenjaminGruenbaum yeah if you have a degree they have to pay more, but theres always a way to avoid it
 
or b) don't pay them what they are worth.
 
@BenjaminGruenbaum Unfortunately, yes, I think about the possibility of moving
 
hey y'all I keep getting this problem
 
12:21 PM
@rlemon And people told me my degree in psychology was useless! Madness! MADNESS!!!!!
 
@derylius no one cares about a degree here. Only if you get the job done.
 
@BenjaminGruenbaum in a larger organization trusting devs to QA their own code and do it effectively is a pipe dream
 
@rlemon Agreed
 
@calculon teresko makes 8$ an hour in Latvia and tough a douchbag sometimes - I believe he is quite good.
 
user2509223
 
12:22 PM
@rlemon oh, people without QA are crazy.
 
user2509223
theres your explanation
 
which one is recent and recommended (just out of curiosity)
> var foo = function() {...};
or
> function foo() {...}
 
We have 4 people on our QA team, there is about 1 QA for every two developer. Our head QA is also quite good.
 
@KarelG Totally different things for different situations.
 
i am looking to a js file with a combination of both declarations ... eh
 
12:23 PM
I like a 1:1 myself. but that is hard to come by in any organization
 
@KarelG depends, the second one hoists the function and the first doesn't.
 
we were a dev team of like 40 something, and a qa team of about 3
 
@KarelG the second one is a variable assignment to a function expression.
@rlemon need more QA :D
 
user2509223
what is a QA anyway?
 
yea they apparently got better after I left. (doubled the QA team size)
 
12:23 PM
So here's a question. Can a creative double as a QA?
 
QA = shorthand for Q&A
 
Quality Assurance
 
@derylius testers and other various roles
 
user2509223
@rlemon we aint got those kinda people here
 
@rlemon Is tha seriously what it stands for? I thought it was Question & Answer all this time. Like, user testing....
 
12:24 PM
They make sure stuff works, and that things that go to users work.
 
thats a shame.
 
@derylius you use source control and bug trackerS?
 
user2509223
@BenjaminGruenbaum yes sir
 
@monners thats okay. at least you were not fucking up meme
 
12:25 PM
*boss
 
@rlemon Like, literally? Cause I'll fuck a meme. Good and proper.
 
user2509223
@BenjaminGruenbaum ok in that sense we check eachother
 
@derylius not good
 
user2509223
@BenjaminGruenbaum i know, they dont...
 
user2509223
12:28 PM
but then who should they hire to check the work of the QA?
 
@rlemon I hate you for that.
I'm gonna have nightmares about D&D
 
user2509223
:D
 
!!youtube roll a d6
 
@monners ^^
 
user2509223
12:29 PM
i never played dnd
 
user2509223
only MAGUS
 
if i have a span text value = "["Warning - Hello"]" how can i check the span array got values? and how to refresh the values by clicking button?
 
!!tell Vinay jquery text
 
user2509223
@rlemon you own that bot
 
12:31 PM
no one owns me
 
@capricasix Thanks
 
@monners tell me you are watching that video :P
 
about testing, unit testing should be the norm
 
user2509223
@KarelG in italy not even the IT companies invest in IT
 
@rlemon watched the whole thing :D
 
12:33 PM
good man
 
@rlemon I gave it a chance but...
 
I remember him from before he got picked up
funny kid
 
Favourite comedian.
 
so he's openly gay now?
 
@derylius : then i will skip italy if i go international :)
 
12:35 PM
Dunno. but he's a much funnier version of Dimitri Martin
 
sure. but his early songs he was always trying to enforce he wasn't gay
 
Kinda like Tosh.0? I reckon it's part of his act.
 
not like Tosh.0
like he was young and making bad jokes about how he just had a lady over
 
@rlemon Dunno how far you're going back... I just know him from his two standup shows.
 
not that I care either way. he is funny as shit
 
user2509223
12:37 PM
@KarelG the only reason why i ended up here is my wife, luckily she earns more than me, and she is a QA
 
Kinda reminds me of a young Bill Hicks
 
yea a little
 
BTW: Bill Hicks is my favourite comedian. Fuckin' awesome. Sad that he's no longer around.
 
@Slayee82 if you joined to do recruiting, I suggest you try Twitter or G+ instead.
SO isn't a good place for that.
(joined today, and only thing in bio is "looking for a job? go here <link>" - I'm not being crazy random here)
 
@rlemon I thought this was a married but curious hookup room full of nerds? :S
 
12:40 PM
only between 11pm and 5am EST
 
user2509223
and CET
 
no, no one cares about CET
not even CET
 
user2509223
The order Cetacea includes the marine mammals commonly known as whales, dolphins, and porpoises. Cetus is Latin and is used in biological names to mean whale. Its original meaning, large sea animal, was more general. It comes from Ancient Greek ('), meaning whale or "any huge fish or sea monster." In Greek mythology, the monster Perseus defeated was called Ceto, which is depicted by the constellation of Cetus. Cetology is the branch of marine science associated with the study of cetaceans. Fossil evidence suggests that cetaceans share a common ancestor with land-dwelling mammals that ...
 
@Dave 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.
 
hey all :)
0
Q: Pagination table tr add previous and next jquery

DaveI have a pagination that works fine, but I would like to add the "previous" and "next" buttons to my pagination code. What I want is this: Here my HTML markup: <table class="paginated"> <thead> <tr> <th scope="col">A</th> <th scope="col">B</th> ...

 
12:47 PM
@rlemon I've never actually seen that vid.
 
now this was one cheeky "bug", I couldn't figure out why my textbox was always empty, and after going over the logic for 30 minutes I realized I had color: white on
 
@monners funny song
 
@Mosho it's a reverse captcha!
 
@monners another one of my favorites
 
sounds like someone has a crush
 
12:50 PM
'morning folks
 
> consider yourself warned, I'm offensive and creative like handicapped porn.
ohhh bo
you certainly are.
 
Oh, Bo is pretty cool.
 
the one liners in his songs are just so clever imo
 
/facepalm ... was searching a half hour for why my js class isn't active. Apparently, the constructor didn't got called because the previous function was declared incorrectly.
 
12:57 PM
is anyone good with highcharts? Having a somewhat odd problem here.
 
@Crow : thx for suggestion, was looking for graph js thing
 
lol wow 6 accepts today, just targeting promises to provide good answers.
 
so... I want to specify a default click function on a series on every high chart, is such a thing possible?
 
user2509223
@BenjaminGruenbaum since I visit this chat I don't write annswers anymore
 
hello javascript room
 
user2509223
1:03 PM
@Crow It's something I don't know so it's impossible and you are a sorcerer
 
@derylius I just try to push things I like - recently promises.
I help push the technology by giving good answers.
 
@BenjaminGruenbaum Good plan
 
I even ask stuff sometimes, just so it exists.
 
user2509223
@BenjaminGruenbaum i never ask
 
@BenjaminGruenbaum Even, sometimes, to your own questions ...ಠ_ಠ
 
1:06 PM
Yeah, I try :)
Q&A questions are good
 
ↁ▽ↁ
 
someone talk me out of using synchronous node-pg drivers
seems so much easier than callback soup
 
Isn't that where promises come in?
 
probably.
I wanna think I should use them, but then using an sync module will solve the issue as well. and performance isn't a concern on this
 
@rlemon how are those related?
 
1:14 PM
module.exports = {
    foo: function(a,b) {
        db.query(queryString, function(data) {
            // if there meets a condition, return true.
        });
    }
}
 
Ah, you mean making synchronous queries? Those are not easier or harder than async ones.
You just do Promise.coroutine and then:
 
module.exports = {
    foo: function(a,b) {
        var res = db.query(queryString);
        if( res.someShit ) return true;
    }
}
 
var res = db.querySync(queryString);
Just becomes:
var res = yield db.queryAsync(queryString);
if(res.someShit) return true;
 
ohh nice.
 
can someone help me
0
Q: Pagination table tr add previous and next jquery

DaveI have a pagination that works fine, but I would like to add the "previous" and "next" buttons to my pagination code. What I want is this: Here my HTML markup: <table class="paginated"> <thead> <tr> <th scope="col">A</th> <th scope="col">B</th> ...

 
1:15 PM
All it costs you is putting that code in a Promise.coroutine and invoking it, and doing Promise.promisifyAll(db)
 
and I assume you would suggest bluebird?
 
That only works in Bluebird, although other libraries are comparable
 
do you have a "get your feet wet with promises 101" guide?
 
You do:

foo: Promise.coroutine(function*(a,b){
     var res = yield db.queryAsync(queryString);
     if(res.someShit) return true;
     throw new Error("there was a problem);
}),
...
Then you do:
foo().then(function(result){
  // was true, you can also return the actual value
}).catch(function(){
   // was false
});
 
@user852916 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.
 
1:17 PM
Alternatively, you can use generators alone and do:
 
@r366y 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.
 
Promise.coroutine(function*(){
     try{
          var res = foo();
    } catch(e){
         // there was an error, this is just like sync code
    }
})(); // notice self invoking
 
@TERMI 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.
 
@rlemon there is no need for a 'promises 101 get wet' guide I recommend, it's all quite very simple:
every time you passed an error - you throw. Every time you used a callback, you return - on the caller site you use .then.
If you need to promisify something that isn't a node API - you might need new Promise that's about it.
There are a lot of utility methods, but understanding .then (and that it's safe to throw in promise code) is the key point here.
 
wut = ' promises 101 get wet guide ' ?
 
1:23 PM
@KarelG he means "getting started" guide.
I don't like the existing guides, you just really have to understand .then and practice.
Understanding the abstraction takes time but using it is very simple imo.
 
concerning guides, there should be someone whose job is to remove all of these outdated 'tutorials'
from the interwubs
 
hi can anyone please tell me whats this $orderBy in angular js.....i know the normal |orderBy... but whats this $orderBy
 
@AndrewPolunin 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.
 
user2509223
@user123 is your password pass123?
 
:) noo.......why??? @derylius
 
user2509223
1:31 PM
just asking :)
 
@derylius do you know whats this $orderBy in angular js
 
user2509223
@user123 I never used angular but if you give some context maybe i can help
 
I guess ECMA Harmony will break a lot of things
for people who still use IE :D
 
@derylius....check this jsfiddle.net/rvdww/70 in this they are using $orderBy
 
@user1049697 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.
 
1:35 PM
sure @CapricaSix........
 
Maybe CapricaSix's welcome message should start with 'Hello, I'm the JavaScript room bot.'
 
@PotPlant naa, it's funnier this way, what's up btw?
 
Hey guys, I'm having a bit of a problem with jQuery UIs draggable element. I've detailed more info here: stackoverflow.com/questions/22618858/…
In short, I want to constrain dragging to three sides, and have the fourth (the bottom) expand infinitely.
I have a solution that sorta works, but it's clunky and I want to fix that.
 
im having some trouble finding available event types
how do i know what type to put in my addEventListener ?
is it depending on the kind of element im putting an event listener on?
for instance... an html5 input type=date
 
@BenjaminGruenbaum Not the hundredth time! :-) And not a lot. Wrestling with Visual Studio and TFS ...
 
1:46 PM
@BohdanKuts 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.
@veer7 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.
 
I have problem with jQuery dialog. I use $('#hours-cut-dialog').next().find('button').first(); to find and disable first button of dialog. But, when I replace part of page with JavaScript the result of $('#hours-cut-dialog').next().find('button').first(); was empty object.
 
@just-boris 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.
 
user2509223
its coffee time!
 

« first day (1257 days earlier)      last day (3707 days later) »