« first day (1150 days earlier)      last day (3816 days later) » 

5:05 AM
 
 
7 hours later…
12:18 PM
@rebolbot hello
 
@johnk hello to you too
 
test with a link
@RebolBot do 1
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> 1
== 1
@johnk hello to you too
; Brought to you by: tryrebol.esperconsultancy.nl
>> 1
== 1
 
!!live
 
hi there
 
 
2 hours later…
2:46 PM
!!summon 7
!!live
 
 
2 hours later…
4:27 PM
!!summon 7
 
4:38 PM
!!s/summon/wat/
 
@KendallFrey No matching message (are you sure we're in the right room?)
 
 
2 hours later…
6:37 PM
@CapricaSix testing
bold
italic
strike
code
lulz like we use these
:emote:
 
 
1 hour later…
user1125394
7:55 PM
!!urban windoge
 
@NaN No definition found for windoge
 
8:34 PM
!!live
 
@JanDvorak I'm not dead! Honest!
 
!!tell me die
!!live
 
@JanDvorak And on this day, you shall paint eggs for a giant bunny.
 
Huh, one learns something new every day… goes look up what tagged is
… and it has bots… and /ignore equivalent! Nice!
 
9:01 PM
Hm, how do I display timestamps on the right-hand side of the chat messages, so I know not only who said what but also how long ago? This is an IMHO must-have IRC feature.
 
 
2 hours later…
user1125394
10:37 PM
@BenjaminGruenbaum Posting here for less traffic - Wanted to know if you could have a quick look at a small project (similar to meteorjs, ie something to easily store and sync data from browser), I remember you insisting on data-binding importance, I tried in the js, I first tried to use data-binding recipees,
 
user1125394
like knockout
 
user1125394
but quickly I came with a simple DOM solution
 
user1125394
where the data is is the DOM, and is queried in the DOM when necessary..
 
user1125394
whole project: github.com/cyril-o/Surf
 
10:48 PM
lol. both had smae idea
!!summon 11
 
@NoahHuppert Registered; need 0 more to execute
 
hmm?
!!summon 11
 
@NoahHuppert Already registered; still need 0 more
 
ooo that cool
!!summon
!!summon 1
!!help
 
@NoahHuppert Information on interacting with me can be found at this page
 
10:50 PM
!!/listcommands
 
@NoahHuppert 420, help, listen, eval, coffee, live, die, refresh, forget, ban, unban, info, choose, user, listcommands, parse, tell, afk, awsm, color, convert, define, domain, findcommand, github, google, hang, inhistory, jquery, learn, 5318008, i_am_a_robot, aliens, ym, format, 3point14, camel, ihatelanadelrey, fa, knock, lick, insult, ultimateinsult, microlove, easytools, wherearethegoats, tobacconist, ninjad, adventure, w3schools, 3mdn, joystick, stackoverflow, rimshot (page 0/5)
 
!!google cats
 
!!define stack
 
@NoahHuppert stack A large pile of hay, grain, straw, or the like, larger at the bottom than the top, sometimes covered with thatch.
 
10:51 PM
@NoahHuppert that means you're not allowed to do that yourself :P
That's an 'elevated' command
!!summon 3
That worked
 
Nvr knew this existed
!!ultimateinsult
 
lol
!!cats
 
@NoahHuppert That didn't make much sense. Use the !!/help command to learn more.
 
!!wherearethegoats
 
10:53 PM
@NoahHuppert I ate them
 
!!slidepoop
 
in JavaScript, Mar 13 at 1:40, by rlemon
(Random Fact, when rlemon was 13 he pooped on a slide. he isn't proud of it, but he felt it was time to confess. I'm sorry slide.)
 
!!say hi
 
!!say 2
!!help
 
10:55 PM
@NoahHuppert Information on interacting with me can be found at this page
 
!!/listofcommands
 
@NoahHuppert That didn't make much sense. Maybe you meant: listcommands
 
user1125394
!!rate AsusTek
 
@NaN 0/10
 
user1125394
no.
 
10:55 PM
@NaN 6/10
@NaN 1/10
 
!!listcommands
 
@NoahHuppert 420, help, listen, eval, coffee, live, die, refresh, forget, ban, unban, info, choose, user, listcommands, parse, tell, afk, awsm, color, convert, define, domain, findcommand, github, google, hang, inhistory, jquery, learn, 5318008, i_am_a_robot, aliens, ym, format, 3point14, camel, ihatelanadelrey, fa, knock, lick, insult, ultimateinsult, microlove, easytools, wherearethegoats, tobacconist, ninjad, adventure, w3schools, 3mdn, joystick, stackoverflow, rimshot (page 0/5)
 
!!i_am_a_robot
 
@NoahHuppert I AM A ROBOT
 
!!afk
 
10:57 PM
@NoahHuppert That didn't make much sense. Maybe you meant: afk
@NoahHuppert Just go already!
 
@NoahHuppert You've got some balls, coming back here after what you did.
@NaN 5/10
 
!!rimshot
 
@NoahHuppert Input not matching /dum/. Help: User-taught command: tss* *buh
 
user1125394
!!rate windoge8
 
10:58 PM
@NaN 1/10
 
!!easytools
 
!!ninjad
 
@NoahHuppert HOLY SHIT, HOW YOU SO FAST!!!???
 
user1125394
!!norris
 
10:59 PM
@NaN All roads lead to Chuck Norris. And by the transitive property, a roundhouse kick to the face.
 
!!3mdn
 
@NoahHuppert You are set free and a door opens. You leave the room and are blinded by a confusing but dazzling light. You win.
 
@NoahHuppert That didn't make much sense. Maybe you meant: $
 
11:00 PM
@NoahHuppert Input not matching /\+/. Help: User-taught command: jQuery is not defined.
 
!!alert('boop');
 
@NoahHuppert That didn't make much sense. Use the !!/help command to learn more.
 
user1125394
@NaN @Ben seen it?
 
@NaN just did - you don't want my honest feedback :P
 
user1125394
> it's crap!
 
user1125394
11:14 PM
I don't mind you know
 
@NaN you're not solving the problem data binding solves there - your code is full with query selectors and presentation logic and core app data are not separated at all.
It's a nice effort and you should keep cranking these libraries/frameworks out to improve - but I'd go back for the drawing table if I were you.
Not that that's a bad thing - I have gone and am still going back to the drawing table quite a lot.
 
user1125394
core app controllers= user submits buttons, and websocket receive callcack
 
You have no separation of concerns at all.
All the data goes directly from the dom to the server and from the server to the dom and so on.
 
user1125394
ok
 
A message is not its own entity - it's the tr that represents it
 
user1125394
11:16 PM
yes that's purposedly from server to DOM..
 
Also, you're making queries by IDs you generate (which is even more horrible)
 
user1125394
as I said, I didn't see much interest to keep a list variable, it's even an hassle
 
Create the elements yourself - fill them out with an object and then only render them to the dom when you need.
 
user1125394
ok.
 
if (data.priority>=+tr.firstChild.firstChild.value){
 
user1125394
11:18 PM
I know..
 
Your source of truth is the presentation layer here.
 
user1125394
that's what I said, data is in the DOM
 
Yeah, that's horrible.
 
user1125394
model is merged with view :)
 
user1125394
ok fine :)), I'll try to refactor
 
11:19 PM
Exactly. Everything is one big mashup
 
user1125394
MVC -> MC
 
user1125394
or WC if you want
 
No, it's "Any form of SoC or app design" -> "Big spaghetti mashup"
Extract the fetching logic and socket info outside of the app into a service.
Then the app creates one and wires it. Use the observer pattern (typically an event emitter in JS) to wire things up
You can implement observables (like in KO) or use real getters if you're ES5 esque, or use watchers like Angular
 
user1125394
but events coming from server..
 
Or just fire events manually - that works too.
 
user1125394
11:21 PM
I see
 
@NaN Your pipe is - server fires event -> update function called -> dom is queried -> dom manipulation carried out
Should be server fires event -> model layer notices the event using observer -> view layer notices the change because it observes the model itself.
That's actually less steps and it's simpler once you implement it once
 
user1125394
I think I should retry with knockout then
 
Try all of them :)
I'm not selling you any framework - I think you definitely should build some yourselves.
 
user1125394
thanks for feedback
 
And try them. I think the fact you're experimenting is definitely a step in the right direction.
 
user1125394
11:28 PM
 
user1125394
 

« first day (1150 days earlier)      last day (3816 days later) »