Hacker Newsnew | comments | ask | jobs | submitlogin
kirubakaran 1011 days ago | link | parent

When we mouse-over a username, please display karma|member-since.


brett 997 days ago | link

This worked for me:

  (attribute a          title          opstring)    
  (def byline (i)
    (pr " by ")
    (let u i!by
     (tag (a href (user-url u)
             title (string "karma: " (karma u) 
                           " | created: " (text-age:user-age u)))
          (pr u)))
    (pr " " (text-age:item-age i) " "))
I didn't really look into the performance cost of calling uvar for every byline; that's probably not ideal.

-----




Lists | RSS | Bookmarklet | Guidelines | FAQ | News News | Feature Requests | Y Combinator | Apply | Library

Search: