« first day (951 days earlier)      last day (4222 days later) » 

14:00
@phenomnomnominal did you make that :)
yerp
I also have just random colours that cycle
Other than that, i'm just not feeling creative
@dievardump so I take it then that it all worked?
Make a copy (the guy in copy's avatar)
@rlemon perfectly.
sweet
you should also use rlemon.github.io/Notifier.js
14:01
Not as sweet as you are :o
Minesweeper?
@phenomnomnominal proud of you babe
@phenomnomnominal whack a mole
Could be fun
14:03
@rlemon Nice idea. I may try.
what if tomorrow you can't use js at all?
what if tomorrow you didn't exist?
First time I offer a bounty :
30
Q: Please make the multiple comment timer less annoying (non-resetting etc.)

jdmAs a little feature to prevent comment spam, you can only enter one comment every 15 seconds. That's a very reasonable limitation, since you very rarely have a good reason to write comments that quickly. I've only seen it twice at all, I think, but both times it was extremely annoying. Only 1...

@rlemon :D
you should say, i don't give a f, since today it's FRIDAY!
is it possible to align text left but to the center of a table column/cell?
14:05
@KevinMurphy you need soe left margin using some wrapper inside cell
@rlemon, use dr.eval
@KevinMurphy you mean vertically ? In a table cell ?
basically i want to center an unordered list inside of a table cell, but have the list items aligned to the left
use margins to the ul
<ul> margin-left:15% for example
Like this ?
<td valign=middle align=left>
14:07
What's a good way to get a unqiue identifier for a JS object?
what eval() is?
@dystroy valign = deprecated
@phenomnomnominal a counter ?
@okok The devil
@dystroy, oh yeah
Haha
Here's me: I'll just overwrite the Object constructor...
That sounds like a sound idea...
14:08
@okok, do I look like someone that wants to be pinged randomly right now?
@phenomnomnominal You can simply return new objects if it's relatively local
var newIdentifier = function () { return {}; }
And then a === b will show you whether the identifier matches.
var oldObject = Object
Object = (function () {
  var id = 0;
  return function () {
    var obj = oldObject.apply(this, arguments);
    obj._ = {};
    obj._.id = id++;
    return obj
  };
})()
Haha
doable, but stupid
ew
!!/tell okok urban rtfd
@okok rtfd Read the Fucking Description. Used in YouTube a lot when tools ask questions that are answered in the description.
14:12
Hmmm. That didn't work out.
And also, you have to do new Object()
Stupid Youtube
!!/tell okok urban RTFM
@okok RTFM Read The Fucking Manual
^
:sigh: What have you been asking about?
14:13
you have no sense. literally. you have no sense in you. you are just filled with jibber jabber and trollery.
is it weird that I find stuff like obj._.hi kinda cute? Like there's a little face there
@phenomnomnominal It is kind of adorable
eval("kill(okok, 'hammer')");
!!> var d = { _ : { b : 'Fucking Eh!' } }; d._.b
You're never too old to find something adorable
14:14
@rlemon "Fucking Eh!"
o._.o
@okok, How dare you insult my Barbie doll collection.
var O = { _ : { O : 'I iz a mouse!' } }; O._.O
2
Nobody said barbies. But kittens. Small children (for some folks). Puppies.
rlemon is on mute patrol to see how it works out for us: If three people request someone be muted I will mute them. But anyone can request someone un-muted (except the person being muted)
14:17
muted = moving all their messages to trash can?
yes
then I don't want this feature at all.
@rlemon, you should build it into the bot
I honestly believe this should not exist
14:17
@dr.eval mute okok
and some people think it should
Who has to empty the trashcan ?
hence the trial
should we bring it on on meta then?
omfg I need to restart my machine. It's running stupid slow.
14:18
@FlorianMargaine, if there was an alternative, obviously it would be preferable
or.. just test it out
the alternative is Gallery mode the room
We don't want to be a gallery
but no owners here want to deal with access control for a popular room
and there isn't a reasonable mechanism for banning annoying people
it's a nightmare
14:18
yeah, gallery sucks...
I know all that
but still, I don't think it should exist as a user-feature
Gallery would mean we have to give you permission to talk in here
the idea of the mutelist is not to constantly mute someone, more of a 'timeout' so to speak.
so if someone is being a PITA then they get put on the mutelist until they have learned their lesson or calmed down.
How about this: Gallery mode, bot grants write privilege automatically to all who come in. 3 users/owners vote to exclude, bot takes write privilege.
It's worth noting @okok, that you are the main reason we are talking about this.
This is basically a user-based ban
14:20
@Zirak, that sounds much better
At least there won't be constant dr.eval moved to bin
How will message limits punish those who annoy us with few messages?
@okok the problem is, for a user like yourself we're constantly bugging mods to lay out a short ban or bugging 10K+ users to issue some flags. This is a self contained solution to a problem this room specifically is facing atm.
They'll only punish the regulars
Spam != annoyance
annoyance == annoyance.
@phenomnomnominal spans are pretty annoying actually.
they be all inline and shit.. pfft.
14:21
@okok Your solution was horrible for reasons describes in detail in that suggestion
@Zirak I like the bot doing auto access, however they should never remove access. This should be human controlled always.
As a million people told you, 300 messages isn't that many
^ no, people pointed out how bad an idea it is. They contributed by explaining that there doesn't need to be this feature and why.
@rlemon Fair enough. I don't like that it's a work around the system though.
poor guy
0
Q: Debugging of IE9-10 crash

magalterI'm a new developer of one site. Previous developer left a lot of trash and unstable code. But the main problem is that when I open this website and try to navigate throught the pages (just try 1-2 links) it crashes my IE 9-10. After I open the page, IE freezes completly, I can't do anything in ...

14:23
it's a stupid idea dude, and saying it is the 'only' idea, is not a good way to act if you want to be taken seriously.
@Zirak well the Gallery + auto-access isn't really that bad.
the auto-trash is.
I admit it is not a good solution, but it was a solution.
@BenjaminGruenbaum, dude, your answers are freaking golden
@okok because it's a bad idea.
why would I expand on the technique of eating shit if I know it's a bad idea to eat shit.
@phenomnomnominal I was in this dude's place a while ago, IE sucks :/
14:24
we need to go deeper.
28 messages moved to Trash can
@BenjaminGruenbaum, we've all been there
I wish they weren't putting WebGL in 11.
Debugging an IE browser extension is hell
If it's buggy, it's just going to ruin my life.
Getting TipRanks working in IE has been hell for us, and we support IE8
@okok, of course you didn't, you have rose tinted glasses, because it's your idea.
14:25
Running an extension background page in IE8 means bringing another IE process and running it in the background :S
IE8 isn't that much better than IE7, and IE7 is shit.
5 messages moved to Trash can
stop being stupid and i'll stop binning you
@phenomnomnominal Did IE7 have developer tools?
@rlemon np i was just replying :P
with a stupid reply
dont
14:26
@BenjaminGruenbaum, doubt it. I just dev in 9/10 and use the IE7 mode, and hope for the best :P
1 trashed message = -100 daily quota messages
^ this is logic
We don't aim for visual equivalence, just functional
1 banned = -200
etc
best way is to make chat behavior interact with rep points
if( user.username === 'okok' ) messages.limit = 0;
so users will not troll
14:27
@okok, that is a much better proposal
ugh, that goes against what the chat is you idiot
If you're a dick, you lose rep
chat is a chat, not a rep based Q&A
If you go below 20, you can't chat again
right
14:28
if you're a dick, people recognize you as one and hate you
kinda like how we feel about you
@rlemon, this is true, but it doesn't get us anywhere
ehehe
ugh, I can't even pretend to be nice anymore
We're sitting here, still being annoyed by certain people.
i think Ziraks working on it
14:28
Of course he is, because he's the fucking man.
2
@Zirak talk to @Octavian about some of the access control tab userscripts he's made
can't we just ask a looong ban?
Just put him on ignore.
1 week never stopped him
@magalter I will not give you the fish, the idea is to teach you how to fish :) Chances are IE will crash sites you work on in the future too. Learning to do this sort of tedious debugging process with alert statements, disabling scripts and such is important. Once you get good at it it becomes less painful. It's also educational because it forces you to write modular code, and heavily unit, and integration test your code. I was in your position before, having to fix stuff in broken code that doesn't run in IE, it sucks, but working with it effectively made me a better developer. — Benjamin Gruenbaum 21 secs ago
Not sure if that makes me an asshole or a niceguy
14:29
Seriously? This again?
anyway, I've got to go :)
@mikedidthis yes.. :( but I think we're closing in on a solution
Can someone join this room so I can test things on them?
@FizzyTea seeing people be annoyed by him is just as annoying as seeing what he says
@BenjaminGruenbaum you sound fine in the comments btw.
14:30
@mikedidthis sound thank?
Ah, thanks
@BenjaminGruenbaum today, I can't type. :)
@Zirak You sound exactly like a Nazi.
bye, @Zirak I joined the room
I did Nazi that coming.
@phenomnomnominal So put him on ignore and put me out of my misery!
14:31
also @Zirak you need to make 25.media.tumblr.com/f2e104b9660d2ba0def708971d783bf9/… the bots mascot.
/pet
/awesome partner in awesomeness
@rlemon there are no angry unicorn-fox-ponies on Caprica.
user image
3
LOL
I think this is saying something
@rlemon LMFAO
I will never work out that guys mentality.
!!s/mentality/lack of mentality/
14:35
@phenomnomnominal I will never work out that guys lack of mentality. (source)
I'm ~5K away from 100K messages
at ~2K / week I'll be at 100K by ~june 9th.
There'll be a problem with bot-administered write grants, and human-administered...taking-away grants. Chat gives no indication when a user was explicitly removed
@rlemon, we should have a party
can't the bot just keep track of number of requests.
or date last requested
don't let them request access more than once in a week?
14:38
eh? I mean if an owner takes away a write grant, the bot won't know it, unless it went through the bot
Unless it keeps tabs on all users given write access
@SomeKittens The alert won't be there much longer, it's just for debugging, it's going to be account based
@Zirak so whats the issue there? the user lost write grant and needs to request it again.
Off the top of anybodies head, do cookies send with socket requests? If so how might you read it on the server side?
@phenomnomnominal thank you, I need a giggle.
14:39
@rlemon And we don't want to give it to him, because we banned him
@XCritics sessions with sockets are a fucking pain
so allow only 1 write request granted from the bot per-user per-week?month?ever?
the bot can keep the id's in localStorage of users he's granted write access too
user enters
user requests access
bot grants it
owner revokes it
user requests access
bot denies user silently because his name is in the list of already granted.
user can then request access the old fashioned way again, and if an owner gives it cool
rlemon goes for smoke
@phenomnomnominal Thanks, this is gold
Yeah that's a solution, and that's huge. I wonder what localStorage's max size is...
14:43
@Zirak don't even ask
I'm already taking a sizeable chunk
It varies browser to browser
If you don't care which browser you're on use Opera
It's usually 5M I think. Only IE is bigger
What is the origin is this video?
I think you can chose how much space you use
14:45
Well, I'm taking ~68489 bytes now, that's not even closing in
From the w3.org :
> A mostly arbitrary limit of five megabytes per origin is recommended. Implementation feedback is welcome and will be used to update this suggestion in the future.
@Zirak Use more than one port ?
> Storage limit: As of now, most browsers that have implemented Web Storage, including Opera, have placed the storage limit at 5 Mb per domain. You can change this storage limit on a per-domain basis by saving some data from a domain in Session or Local Storage, then going to opera:webstorage.
@dystroy ??whatsup
@SimonSarris You just missed an opportunity to sell your book
hah, bot_users (the users the bot's greeted so won't greet again) takes half of that, and I've recently updated it to remove users who pass initial criteria
14:46
(well, a few hours ago)
@phenomnomnominal but there is no like, socket.cookiethatwassentwithsocketconnection?
ooooood
(h)
req.cookies.blah is equal to socket.blaeh
!!/tell XCritics google socket.io sessions express
14:48
second one
That easy! socket.handshake.headers was all I needed :)
so if we only allow the bot to auto-grant write access once per user and if they get it revoked there is probably a slim chance that we would want the user to have write-access again without discussion from the room owners. With this system we only need a list of who the bot has granted access too, and therefore only need ~10bytes per entry. I can't see us going over the memory limit this way... like.. ever.
Oh really?
To me or rlemon?
Damn, in express 2 and old sockets.io it used to suck
14:50
oh haha
Are discussing potential gallery mode?
why don't we grant access to everybody but some people?
Yeah, socket.handshake.headers.cookie returns cookie: 'rememberToken=dc4445442ddc5d00dea1af95d7ea0ca8314175dee99b62084535de4d2fdd680b'
@Shmiddty yeah, to be able to ban people
I just need to parse the part after the = and then I should be good!
14:51
I'm all for it
@FlorianMargaine That's my plan
basically if we were to automate it, everyone gets write access if they request it (from the bot, but only once) then if a owner revokes it they are gone
@XCritics .split('=')[1]
I'll draw up a gist
I was just about to try that ^^ Thanks
14:51
this way WE don't have to accept EVERYONE to revoke 1-3 users
@Incognito o/
howdy stranger
Howdy!
@rlemon what I don't want is storing users in localstorage
how else would you determine you've granted write access to said user before now?
hook it up to a heroku app
the thing is... half of localstorage space is already used for "welcome messages"
and it was reset recently
do you really think it's going to be enough?
14:54
yea, but 10 bytes per user ?? how many users do you think will come through here? I really have no clue.
it is crazy easy to clear localStorage
is Android room even close to our popularity?
@phenomnomnominal and all the commands?
@rlemon Why care?
I have a table and Delete button like the following,

`<a href="#" id="delete_button" rel="nofollow">Delete</a>

<table class="html_table">
<tr data-id="200">
<td></td>
</tr>
<tr data-id="201">
<td></td>
</tr>
<tr data-id="202">
<td></td>
</tr>
</table>`

When we select the row it added the `class='selected'` with a toggle function. Now I want to delete the data-id where the class='selected' tr in the table. Please somebody help me to do this.
14:55
because they are in Gallery - so I can see how many users are currently requesting write-access vs how many have it granted.
I gotta agree that localStorage isn't robust enough for the longterm
trying to get an idea of the user-traffic in popular rooms
appjs.org node.js and chromium packaged together for 'offline' apps - maybe he can use this with a couch or mongodb for long term storage.
gist.github.com/Zirak/5644118 Permission system draft, please comment
4
@Zirak why don't you simply grant write access to everyone?
14:58
@Zirak have you ever considered using node.js for some sort of local database solution?
the request will just throw a 400 back if user already has write access
how do i get the element "div.erik-css > table > tbody > tr" so i can add an event listener?
without jquery
this way you only keep a list of banned users, for which you don't send any request
@FlorianMargaine That's the premise of the problem, we can't exclude write permission without gallery mode.
yeah no, I mean we're in gallery mode
14:59
@Zirak is it easier to look for their request? or can you grant write-access without them requesting it
@rlemon You mean, port the bot to node? How didn't I think of that

« first day (951 days earlier)      last day (4222 days later) »