« first day (972 days earlier)      last day (3973 days later) » 

@Suja How would you for example create a web page with some bold text?
 
see that :-)
 
Think of screen readers for visually disabled people.
The only way for such devices or applications is to make sense of the context and structure of a website, and that's achieved by wrapping your data in semantically correct markup elements.
 
@BenjaminGruenbaum i dont understand what meteor is, a special type of DB? a framework of what?
 
@Suja another flaw with writing in js is javascript can be disabled on various browsers ( well most )
 
6:02 PM
@sebas It is a library/framework for polling.
 
@sebas framework. I'm saying I might use meteor for it. I'm not saying you should
 
@OctavianDamiean okay.. now i am getting to it nw! thanks! :-)
 
It is in between your actual code and the service your are polling from.
 
@sebas just have a sync button that queries the DB
 
@sebas All roads lead to Rome. ;)
 
6:03 PM
a button wouldnt work it needs to be in real time
 
jsfiddle.net/nCbFm/1 @Suja see this with javascript disabled in your browser
 
@Darkyen and will that not be the case with HTML?
 
Nope, HTML cannot be disabled
if HTML is disabled , well we can call the browser internet explorer ;D
 
@Darkyen hahhh!!
 
that was a joke -_-
 
6:06 PM
@BenjaminGruenbaum i dont get why meteor for my need, the information is not on the DB its the result of a function that does a complex query to the db and then do something to that (reorder the contacts)
 
how about this
 
@BenjaminGruenbaum wow, well anyways, can you tell me why this triggers twice? jsbin.com/ipekop/1/edit
 
for(i=10;i--;);
vs
i=10;while(i--); // saved 2 keys~!
 
good news everyone
I might get to start working with nodejs
 
@sebas Formulate the process in a couple of numbered sentences for us.
 
6:07 PM
@dylanmaxey Once naturally, and once since you trigger it
@Shmiddty That's awesome
 
@BenjaminGruenbaum No but the first element is clicked and it triggers the 2nd, so it should only occur once yes?
@BenjaminGruenbaum 2 separate elements
 
@OctavianDamiean
1) 15 people looking at a screen full of leads (150 per page, multiple pages)
2) New Leads come in in real time via web forms
3) Leads are edited on the screen in real time
4) On refresh, a PHP function does a complex query to the DB to score the leads and reorder them based on combinations of customfield data in several tables on the DB, assign a score, then orders by score and then by other stuff
5) Pretty much what i want is the refresh effect without having to refresh
 
I disabled javascript
boy the internet feels so awkward
 
I love when rep trickles in from old answers.
 
That's nearly the only way I get rep anymore.
Hmmmm... I wouldn't mind being top 5% rather than top 6%, though... maybe I'll strive for 7k+
Top 6% sounds so much like "Nope! Not quite! Sucker!"
 
6:14 PM
I pretty much stopping at 10K, wanted to be able to see deleted stuff.
 
Ah, yeah. I'm too lazy for 10k. I figure it'll happen eventually.
 
0
Q: Javascript Smooth Scroll

Shaan SinghI am new to jQuery and Javascript. How do I make a smooth scroll to anchor links on my wordpress site. I tried different plugins, but they don't work on Safari. Thanks for all help. Shaan

 
@RyanKinal how much are u ?
 
6495
 
oh man!
well @Suja you got an insane rep for day #1 (xD)
 
6:17 PM
@Darkyen and all thats possible just because of u!! :-D
 
:P
@Darkyen It wouldn't, but it simiplifies the amount of code written and knowledge js you need to know to accomplish the same task. The OP also listed jQuery's use as being acceptable. — Justin 5 hours ago
comments like that ... make me sad :-(
 
for(i=s="";i++<123;)s+=<>&#{i};</>;s.match(/\w/gi) ? damn you underscore
 
*it simiplifies the amount of code written and knowledge js you need to know to accomplish the same task. *
 
@RyanKinal Whoa, I always thought you'd be >10k!
 
lol
I'll take that as a compliment :-D
 
6:19 PM
@BenjaminGruenbaum Yup. I pushed to 10k, from then on it was just rep. from old answers. :)
 
@RyanKinal i thought you are over 60k :-/
 
I stopped answering questions a while back. Because they all bored me.
 
i probably read it as 62k or something
 
Every so often I find one worth answering.
 
@RyanKinal 'lil gift incoming. ;)
 
6:22 PM
But mostly, they're just the same old crap
 
ETA 23 hours.
 
PS @Suja just lemme introduce to the rules of this room
 
Oooh, presents!
 
dont ask to ask, just ask... even if its utter stupid you can ask ... but dont ask us to write your code
use of JQuery even the word is prohibited for you for next 4 months
 
You may take some flack if you ask really stupid questions, but it's nothing personal, just learn from such experiences.
 
6:24 PM
yeap :-)
people here are mostly really frustrated programmers who are good by heart ;D ;D
 
for(i=s="";i++<76;)s+=<>&#{i+47};</>;s.match(/[a-z0-9]/gi)
 
@Darkyen @OctavianDamiean hmmm... great rules!
aything else?
 
// that moment when you really want to crack a joke but you cant :-(
 
@Shmiddty i+47 and i++<76 are longer that the old variant, no?
 
@rlemon you have to write an answer I can award lots of rep. to.
 
6:26 PM
@copy e4x complains when the html char code isn't valid
 
if only I was just alright with toString(36)
 
I see. I'd say we don't use e4x, since nobody can test the code then
 
although...
 
You can test it on anarchy golf! :D
 
@RyanKinal Did you find out what it'll be already? :)
 
6:28 PM
It's not very nice to flood their service
 
@OctavianDamiean I have a guess. But I'll wait until Christmas to open it.
 
apparently everyone went out to a hooters-type restaurant while I was out smoking,
they called me, but I missed it somehow
does the string need to be in any particular order?
 
!!discrete maths or coffeescript
 
@OctavianDamiean discrete maths
 
6:34 PM
Cool, cool cool cool.
 
Does anyone have any idea why a transform would be off by 90deg off in IE 10 only (Works fine in Chrome/FF)
 
@Darkyen I don't hate jQuery
 
!!vomit or work or "go home"
 
@eazimmerman work
 
@SomeKittens sounds like a really awesome bug lol
 
6:35 PM
@eazimmerman She just loves you.
 
@Jared 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 guys, I'm having trouble finding resources on my problem. I have a website with users that have currency and items. I'm trying to make a system for trading items and/or currency between them. I can think of a way to do it art by part with PHP and JavaScript, but I want to find resources on doing it in real time. The problem is any searches I've tried produce results about stock trading...
 
what resources you want?
 
Anything to get me pointed in the right direction.
Having user1 propose their items, having it go to user2 who then rejects or adds their items, and having it go back to user1 for confirmation or rejection... that seems too messy.
 
6:38 PM
I'm unsure what you mean by "in real time" vs. "part by part"
 
There's got to be a way where they can negotiate
 
if you want ready-made solutions are, magento , prestashop , and other open source
 
I don't know if I can do something as "real time" as trading works on steam without knowing some flash or java.
 
* user1 proposes items to user2
* user2 proposes items to user1
* (a few iterations of modifications)
* both users have to approve
s/java/javascript/
 
web2student, thanks but those look very robust, I'm just trying to find something to put in the rest of my code.
 
6:42 PM
@jared this is how you ping a person.
@Jared this is how you respond
 
That sounds a bit like a task for CouchDB.
 
@Ryan Kinal, I guess that's what I'm expecting to default to if there's no better solution. Maybe have a table of "Trades". User1 offer, User2 offer, User1 approval, User2 approval, Lastaction, Active
 
(You'll notice that most task, for me sound like something for CouchDB) :D
 
@Jared Seems reasonable to me.
You could add some JS on top of it to make it "real time"
 
Ron
Hi, I am trying to find how to make select box from input type=text (if u know what I mean). I dont remember how it called... can you help me?
 
6:44 PM
Any modifications to the trade should invalidate any approval, though
 
Yeah a change in any User offer would set approval to false
And once active is false no changes can be made
 
gives @RyanKinal a nudge and whispers: "CouchDB"
 
So would I have the page update every x seconds to make it "appear" real time?
 
@OctavianDamiean I should learn that...
Maybe I'll write certifiedrandom.net in Node with Couch
 
I'm looking at the CouchDB wiki page and I don't understand how it applies.
 
6:46 PM
... on t he couch
 
You totally should, and when you did, you'll CouchDB all the things.
 
... with a beer
 
Well I'm working within vbulletin, so I can't exactly change my database
Unless I'm misunderstanding entirely what CouchDB is
 
user1596138
Need a new webHost. Recommendations?
 
Oh, well there should be a way to plug it in but it might not be that easy.
 
6:47 PM
> Capitalization is the difference between "I had to help my uncle Jack off a horse.." and "I had to help my uncle jack off a horse.."
Sorry, I know it's old ^_^
 
just incase this could be handy for anyone? i just quickly made this jsfiddle.net/ConnorM/vyS3j
 
@BenjaminGruenbaum hah, yea, that one is good.
 
user1596138
@Connor That's pretty useful!
 
@ Jhawinsss justhost is horribad, not worth the cheap price. webhostinghub works if you don't have a lot of cpu use (otherwise they'll ban you), hostgator is great if you can stomach the prices. That's what I've had experience with.
 
@Jhawinsss glad :)
 
6:49 PM
@Jhawinsss Whatever you do, don't go with 100webspace.com
 
@Jhawinsss Whatever you do, don't go with goDaddy.com
 
I had to help my uncle, Jack, off a horse...
 
@Connor Why is that inside a .ready?
 
@Connor Cool, now make it show the actually key as well and it'll really useful. :)
 
user1596138
@Jared I just need shared hosting and a database that can handle a few thousand queries a day.
 
6:49 PM
i have go daddy :(
who should i use?
 
user1596138
Unlimited bandwidth also.
 
@eazimmerman service providers are not people
 
@BenjaminGruenbaum yeah, its dumb because im not selecting any elements right away, it's just a habit i will remove it now
 
@BenjaminGruenbaum how about the sideffect jQuery developers ?
 
@Shmiddty Commas, I think, are inappropriate there. em-dashes would probably be appropriate, though.
 
user1596138
6:50 PM
@eazimmerman I think I'm going to use GoDaddy. Can't beat the price for what you get. I already have one server with them and I don't honestly have any complaints.
 
@Shmiddty what should i use?
 
who dont know a damn thing about html / css / js and come out asking how to make a phone call via jQuery.... bu bu jQuery must have a plugin!
 
user1596138
They give me a free month or two also whenever there's an outage of more than about 10 minutes.
 
SlickText is hosted on GoDaddy. It's not bad.
 
Depends on the complexity of the queries I guess. I was hitting CPU limits on webhostinghub with a vbulletin forum with ~130 active users.
 
@eazimmerman which*
 
@Shmiddty who
 
@Jhawinsss Look for online coupons, if you're going with GoDaddy. I've heard you can get some good deals.
 
negative
 
6:51 PM
who is for people
 
@Shmiddty i changed it back because i was wrong a second time
 
GoDaddy supports SOPA tho
Don't give them any money
 
Yeah... there was that whole thing.
 
If SOPA doesn't pass it will just change names and be passed.
 
6:52 PM
What about PRISM?
How many companies have their hand in that?
You're not protesting any of that.
 
The government is utterly afraid of anything even vaguely SOPA-like these days. They fear the Internet.
 
@RyanKinal I somehow doubt that.
 
@RyanKinal They fear not controlling the internet.
ftfy
 
@BenjaminGruenbaum yeah cool, i should have done that really
 
Some of the codes are not wrong though, damn you JavaScript
 
6:53 PM
They come out with a rebranded internet bill like 4x a year
 
@RyanKinal they're worried us basement-dwelling neckbeards will emerge and smear our Cheeto-stained fingers across their beautiful attache cases.
 
@eazimmerman I just read about how many companies actually tried to fight PRISM but failed because of court orders.
It's so sad.
 
In the words of the Penny Arcade guys: "We run shit."
 
Yahoo, Twitter, Google ... just to name a few giants that are helpless.
 
6:54 PM
Fixed the IE issue, turns out it was writing-mode: tb-rl; of all things.
 
2 mins ago, by Benjamin Gruenbaum
@Connor FTFY http://jsfiddle.net/uzHNz/
@Darkyen ^^
 
@BenjaminGruenbaum aww you ninja
 
@SomeKittens Actually, they're afraid because we don't have to emerge. We can screw them without leaving our basements.
 
@Darkyen ? It's my fault, could have just used charCode
 
@Darkyen every jumps in on the Vanilla
 
6:55 PM
@Connor mouseDown events look weird.
 
yeap
vanilla is tasty !
 
@SomeKittens huh?
 
user1596138
@RyanKinal Well see, the thing is that we got a deal with GoDaddy and have 2 shared hosting plans already and are only using 1 of them ;)
 
They were even prohibited to talk about the cases.
 
@BenjaminGruenbaum just me or the vanilla solution for some idk reason actually takes less latency ?
 
6:56 PM
Well thanks for the help guys
I think I know the best way to do it with what I know
 
@Jared Good luck :-)
 
@Darkyen Both work equally fast here
(That is, both are instant)
 
take care
 
@SomeKittens i didn't catch on?
 
user1596138
So GoDaddy wouldn't cost us anything. We already have it. Just need to transfer domains really.
 
6:56 PM
maybe then i was just sleepier when testing the jQuery one
 
The NSA is nothing else than a more modern version of the Stasi.
 
@Jhawinsss GoDaddy is Shit
 
No difference at all.
 
@Jhawinsss GO daddy sucks
 
@Darkyen Your perception is skewed by bias.
 
6:57 PM
0
Q: move object over barrier in canvas

Christoph HaI'm playing around with canvas and actually just wanted to do one easy thing: --> Create arc and move it around a rect (the rect should be a barrier, so the arc has to be moved above it) In my code following works: - move arc to barrier and stop there. - move arc over barrier --> when I'm tryi...

 
Awww, it's not implemented :S
 
> In the wake of the Internet blackout that led to the dramatic death of two controversial online piracy bills, a new warning has entered the Hill vernacular: “Don’t get SOPA’d.”
 
Browsers, Y U NO implement event.char
 
@BenjaminGruenbaum think of how will u implement it :P
 
user1596138
@Darkyen I'm not a fanboy for anyone. I'd like to hear legitimate complaints though... What makes them suck so hard?
 
6:58 PM
@Darkyen Not hard, just dirty
 
@Jhawinsss 1. they lag like hell, 2. thier services are over priced except for domains
3. I completly dislike thier UI
@BenjaminGruenbaum if you can... well ffox / chrome both are open.. do it for a better tomorrow
 
@RyanKinal You know what's funny about that? The US government is on a path to create terrorist cells in their own country. This time it is not going to be foreigners but US citizens.
 
Yep
 
user1596138
@Darkyen To number 1, what? How do they lag? To number 2, it's free for us already for the next 2 years. To number 3, I don't care haha all I need is FTP access.
 

« first day (972 days earlier)      last day (3973 days later) »