Advertisement
PJH

Most liked topic starters 2014/10/3

PJH
Oct 3rd, 2014
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.91 KB | None | 0 0
  1. [postgres@lenovo ~]$ LIMIT=100 sql_tdwtf most_liked_topics
  2. # Most liked topic starters
  3. SELECT row_number() OVER (ORDER BY bp.like_count DESC) n,
  4. bp.topic_id topic,
  5. bp.post_number post,
  6. bp.like_count likes,
  7. u.username,
  8. t.title
  9. FROM badge_posts bp
  10. JOIN topics t on t.id = bp.topic_id
  11. JOIN users u on u.id = bp.user_id
  12. WHERE bp.post_number = 1
  13. ORDER BY bp.like_count DESC
  14. LIMIT 100
  15.  
  16. n | topic | post | likes | username | title
  17. -----+-------+------+-------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  18. 1 | 1000 | 1 | 84 | mott555 | The Official Like Totally Thread - Hindsight is 22000
  19. 2 | 2662 | 1 | 32 | blakeyrat | horseplop (so says blakeyrat)
  20. 3 | 407 | 1 | 29 | Lorne_Kates | I'm A Grumpy Cat: An open letter to Alex
  21. 4 | 1964 | 1 | 28 | DoctorJones | The hero that Discourse deserves...
  22. 5 | 893 | 1 | 27 | Lorne_Kates | I'm still a grumpy cat: a final plea to Alex
  23. 6 | 3042 | 1 | 21 | Matches | Stack Overflow
  24. 7 | 3241 | 1 | 20 | Keith | The forum only has one passable poster
  25. 8 | 3665 | 1 | 20 | DoctorJones | Return of the Doctor
  26. 9 | 2275 | 1 | 19 | WTF | Goodbye TDWTF Forums
  27. 10 | 1557 | 1 | 19 | Onyx | Just tell it it's USB
  28. 11 | 2767 | 1 | 17 | codinghorror | Thanks for the Discourse V1 brownies!
  29. 12 | 1607 | 1 | 16 | Intercourse | If Discourage was like construction
  30. 13 | 1590 | 1 | 16 | chubertdev | How not to use a switch statement
  31. 14 | 3300 | 1 | 16 | blakeyrat | Driving Anti-Patterns
  32. 15 | 1373 | 1 | 16 | GoatboyCH | Security Through Insanity
  33. 16 | 3103 | 1 | 15 | Matches | The NEW Official Unofficial Discourse bug tracker!
  34. 17 | 1055 | 1 | 15 | Arantor | Non-IT WTFs: how not to run a party
  35. 18 | 2160 | 1 | 15 | delfinom | user logins? lets use the database!
  36. 19 | 1970 | 1 | 15 | Kuro | Modern Webdesign and my gripes with it (RANT)
  37. 20 | 1053 | 1 | 14 | Arantor | Non-IT WTF: you can't spell hypocrite without HR
  38. 21 | 2128 | 1 | 14 | trithne | Find and Replace, by way of Ctrl+F, Ctrl+V
  39. 22 | 2653 | 1 | 14 | algorythmics | The Sexy Washington Sexy Triangle: How sexy Hanzo sexily journeyed to sexy America
  40. 23 | 3278 | 1 | 14 | cartman82 | Classic funny comments
  41. 24 | 270 | 1 | 13 | blakeyrat | Vote of No Confidence
  42. 25 | 1938 | 1 | 13 | dkf | Procurement also has it's WTF moments
  43. 26 | 3171 | 1 | 13 | anonymous234 | Chromebooks don't work very well without internet
  44. 27 | 3625 | 1 | 13 | cartman82 | Windows 10 Tech Preview First Impressions
  45. 28 | 3160 | 1 | 13 | darkmatter | Finally trapped the blank page load error
  46. 29 | 759 | 1 | 12 | rad131304 | Should big digressions be split to a new topic?
  47. 30 | 403 | 1 | 12 | dkf | Feature Request: Cornify tag!
  48. 31 | 1979 | 1 | 12 | PJH | Orlando Bloom v Justin Bieber
  49. 32 | 2166 | 1 | 12 | algorythmics | The "That Moment" Topic
  50. 33 | 1413 | 1 | 12 | toon | Bookkeeping code or: how I learned to stop worrying and love data duplication
  51. 34 | 908 | 1 | 12 | ZPedro | Know Your Daily WTF Memes
  52. 35 | 3580 | 1 | 12 | Arantor | I have been doing this too long, I swear
  53. 36 | 3679 | 1 | 12 | Arantor | From my current project
  54. 37 | 1229 | 1 | 12 | Keith | Spoiler tags too blurry
  55. 38 | 953 | 1 | 11 | cartman82 | Windows 8 sign in - no problem
  56. 39 | 370 | 1 | 11 | system | TDWTF Forum FAQ
  57. 40 | 3351 | 1 | 11 | bp_ | Your friendly local neighbourhood digital textbook industry
  58. 41 | 1846 | 1 | 11 | Keith | ❤ my 1337ness
  59. 42 | 1415 | 1 | 11 | Arantor | I've been wary of "Don't Be Evil" but...
  60. 43 | 1588 | 1 | 11 | DoctorJones | Has anyone read @Nagesh's profile?
  61. 44 | 1353 | 1 | 11 | antiquarian | The Evil Ideas thread
  62. 45 | 2251 | 1 | 11 | tufty | Discourse is not TRWTF…
  63. 46 | 1242 | 1 | 11 | Keith | This is too awesome not to share immediately
  64. 47 | 2896 | 1 | 11 | chubertdev | hey, look, it's us!
  65. 48 | 522 | 1 | 10 | codinghorror | Apologies, Discourse Is Buggy
  66. 49 | 2674 | 1 | 10 | Weng | The Home Stretch
  67. 50 | 1044 | 1 | 10 | mikeTheLiar | That's more like it!
  68. 51 | 3268 | 1 | 10 | algorythmics | Conversations overheard
  69. 52 | 3013 | 1 | 10 | Buddy | Damn you autopredict.
  70. 53 | 1040 | 1 | 10 | ender | Web 0.05?
  71. 54 | 2209 | 1 | 10 | cartman82 | Someone needs to learn about the incognito mode
  72. 55 | 3262 | 1 | 10 | anonymous234 | Design and Use of Anatomical Atlases for Radiotherapy
  73. 56 | 2169 | 1 | 10 | delfinom | the wonderful world of compilers
  74. 57 | 3451 | 1 | 9 | blakeyrat | Google News demonstrates why page scraping is generally a bad idea
  75. 58 | 1890 | 1 | 9 | ben_lubar | Edit history solution
  76. 59 | 770 | 1 | 9 | sam | Stop spamming my browser history setting
  77. 60 | 827 | 1 | 9 | Maciejasjmj | How do you know if your forum software is TRWTF?
  78. 61 | 2669 | 1 | 9 | cartman82 | C# hate
  79. 62 | 2921 | 1 | 9 | boomzilla | Doesn't read her own blog
  80. 63 | 1425 | 1 | 9 | faoileag | Licence? What licence? All your links are belong to us!
  81. 64 | 2271 | 1 | 9 | blakeyrat | Someone post this bug, YouTube videos in preview window reload on every single keypress
  82. 65 | 578 | 1 | 9 | DoctorJones | Feature request: new style polling system
  83. 66 | 1332 | 1 | 9 | boomzilla | Bug category background is a barrier to reading
  84. 67 | 3005 | 1 | 9 | cartman82 | Git troubleshooting flowchart
  85. 68 | 1850 | 1 | 9 | LoremIpsum | Certification that's Impossible to Verify is TRWTF
  86. 69 | 2612 | 1 | 9 | blakeyrat | MS SQL Permissions
  87. 70 | 1296 | 1 | 9 | mott555 | Galaxious
  88. 71 | 1285 | 1 | 9 | MathNerdCNU | Lunch or Servers, Take your Pick
  89. 72 | 3183 | 1 | 8 | blakeyrat | Making the best of MS Office files
  90. 73 | 2158 | 1 | 8 | Keith | Code Testing
  91. 74 | 3621 | 1 | 8 | Rhywden | Measuring software for schools
  92. 75 | 2643 | 1 | 8 | VinDuv | Abusing script <script>Array.prototype.forEach.call(document.getElementsByTagName('p'), function (x) { x.innerHTML += "<strong>SEXY</strong>"})</script>
  93. 76 | 2238 | 1 | 8 | anonymous234 | Close call with an Acer laptop (or: never update your BIOS)
  94. 77 | 963 | 1 | 8 | mott555 | Poll: Can I have polls within polls?
  95. 78 | 3331 | 1 | 8 | cartman82 | Charge your iPhone in microwave - 4chan does it again with iOS 8
  96. 79 | 614 | 1 | 8 | PJH | Posting on TDWTF 101
  97. 80 | 3476 | 1 | 8 | cartman82 | Slütsof In Stagrâm
  98. 81 | 2228 | 1 | 8 | Maciejasjmj | The links that weren't
  99. 82 | 2847 | 1 | 8 | riking | i have sorted your badges page. pray i do not sort it further
  100. 83 | 763 | 1 | 8 | rad131304 | Some Mods don't understand the difference between refactoring and branching.
  101. 84 | 1643 | 1 | 8 | chubertdev | "New"
  102. 85 | 1205 | 1 | 8 | Arantor | This is why I love xkcd
  103. 86 | 2620 | 1 | 8 | Matches | ToS for a game from 1999
  104. 87 | 1026 | 1 | 8 | PJH | Spoilers
  105. 88 | 3544 | 1 | 8 | Spencer | On-Call at the Muse Concert
  106. 89 | 3430 | 1 | 8 | Arantor | An instance of PHP being actually WTF
  107. 90 | 3244 | 1 | 8 | Arantor | Just found this comment in some code
  108. 91 | 1822 | 1 | 8 | cartman82 | Anonymous company WTF-s
  109. 92 | 3097 | 1 | 8 | jaloopa | the funny text messages thread
  110. 93 | 3035 | 1 | 7 | mark_bowytz | Know about my WTF Column - DevDisasters?
  111. 94 | 3111 | 1 | 7 | VaelynPhi | TDWTF: now with WTF daily.
  112. 95 | 1322 | 1 | 7 | sam | The likes topic is a barrier to reading the badge page
  113. 96 | 380 | 1 | 7 | heterodox | Praise for Discourse
  114. 97 | 1309 | 1 | 7 | cartman82 | How to exploit a developer (article)
  115. 98 | 1541 | 1 | 7 | powerlord | Pennsylvania and a two-digit year wtf
  116. 99 | 2102 | 1 | 7 | Keith | WTF Domains
  117. 100 | 743 | 1 | 7 | dhromed | Fronds
  118. (100 rows)
  119.  
  120. Backup taken: 2014-10-03 08:17:40.262149
  121. [postgres@lenovo ~]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement