-NaN% posters and hamster smurfing!
-
-
whoosh, but no flag
What he said. Unless you want the flag. "His own variation" on CDO would have to be some other letter pattern.
For example, you might wind up with a left-handed type who would prefer the letters in reverse order: ODC. Or maybe just someone who's a fan of a character in Back to the Future, who was played by a guy who was also in a Star Trek movie.
-
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaH
-
Foxes thread is umm...
-
-
What he said. Unless you want the flag. "His own variation" on CDO would have to be some other letter pattern.
For example, you might wind up with a left-handed type who would prefer the letters in reverse order: ODC. Or maybe just someone who's a fan of a character in Back to the Future, who was played by a guy who was also in a Star Trek movie.
A LRT typist?
-
You don't recognize the quote?
-
i assumed it had something to do with the CaH thread... and then posted the teeth! (OH GODDESS THE TEETH! SHARP!SHARP!SHARP!SHARP!SHARP!SHARP!SHARP!SHARP!SHARP!SHARP!SHARP!)
-
-
No, it's really a decent quote.
Here is a lesson in creative writing. First rule: Do not use semicolons. They are transvestite hermaphrodites representing absolutely nothing. All they do is show you've been to college.
-
huh... okay.
where from so i can go acquaint myself with it?
-
What should I use instead? Comma splicing? Breaking up sentences constantly? Em dashes?
-
Hey. Semicolons provide an actual function. It's just almost nobody knows how to use them properly.
-
-
Though to be fair, so do apostrophe's. People have suggested throwing away all apostrophe's in order to deal with they're incorrect use's.
-
-
I will counter you with the purest of pure polygons, straight from Quest64!
-
-
I will counter you with the purest of pure polygons, straight from Quest64!
You can try, but those PS2 ones are really sharp.
-
huh... okay.
where from so i can go acquaint myself with it?
t3h googlez
What should I use instead? Comma splicing? Breaking up sentences constantly? Em dashes?
I'm not an author, and I don't work at Starbucks, so I'm not an English major.
Hey. Semicolons provide an actual function. It's just almost nobody knows how to use them properly.
Then the fault lies in the design.
I will cut you with a PlayStation 2 polygon.
IRC quotes thread is that way
-
-
-
Yes, but these are magical ancient runic polygons from the origin! Fire, fire, earth! (No, I don't like this game. It's horrible. It's historically important, but horrible.)
-
And I am gone again. Frostcat just isn't keeping up!
-
-
Frostcat had been out foxed by the fox!
Details at eleven.
😁
-
Trying to get my dog to make a particular noise is a barrier to posting here, apparently.
Seriously, not a day has gone by in the last, literally, six months, he hasn't aroooed at me. Except today when I came home and tried to record it to play back for a coworker tomorrow.
-
Hey. Semicolons provide an actual function. It's just almost nobody knows how to use them properly.
George Orwell wrote an entire book without any, to show that they have no use. Maybe if it had had some, coming up for air would be as well known as 1984
-
Semicolons provide an actual function. It's just almost nobody knows how to use them properly.
I blame goddamned javascript and its optional semicolons.
-
Trying to get my dog to make a particular noise is a barrier to posting here, apparently.
I'm sure that's not the only barrier.... sleep is a bit of a barrier i imagine.
-
Discourse is the bloody barrier today. More so than normal, anyway.
-
Discourse is the bloody barrier today. More so than normal, anyway.
i've seen. i didn't know so many people used FF on this forum....
-
I don't but it's been effectively unusable on mobile too and I've only just got home.
-
I don't but it's been effectively unusable on mobile too and I've only just got home.
hmm... that's why mobile stopped working for me today?
fuuuuuuuuuuuuuu
-
Actually let's give Discourse some credit, it works really well if you're a fan of either the infinispinner or a white screen.
-
-
That's a shame, because they're core features of Discomobile for now.
-
I blame goddamned javascript and its optional semicolons.
It's not so much that semicolons are optional in JS, as much as the parser responds to a line-ending by adding ; for shits & giggles, and thinking to itself, "there, that compiles, so it's clearly what the user intended..."
-
It's not so much that semicolons are optional in JS, as much as the parser responds to a line-ending by adding ; for shits & giggles, and thinking to itself, "there, that compiles, so it's clearly what the user intended..."
I'm not sure how else optional semicolons would look to me.
-
eeeh more of: "whell that didn't makesense at all before and now it does. might not be what the programmer wanted but it is something i can work with! better to do something than nothing"
at least if we're talking design intention of the language...
-
"whell that didn't makesense at all before and now it does. might not be what the programmer wanted but it is something i can work with! better to do something than nothing"
The specific example which killed me was something like:
function return_some_object() { return // ; goes here :( { whatever: "it's going to return undefined anyway..." }; }
JavaScript is a barrier to non-K&R bracing...
-
JavaScript is a barrier to non-K&R bracing...
wait.... there are other styles of bracing that aren't the OTBS?
-
function return_some_object()
{
return // ; goes here :(
{
whatever: "it's going to return undefined anyway..."
};
}also IIRC this works as expected:
function return_some_object() { return \ { whatever: "it's going to return undefined anyway..." }; }
-
IIRC this works as expected:
Yah that should work, but it lacks aesthetic appeal. But it took me so long to figure out wtf was up with my frist JS program...
Nowadays I just put all of the {s at the end of the line in memoriam for DMR.
-
Nowadays I just put all of the {s at the end of the line in memoriam for DMR.
I've been putting braces at the end for over 20 years. It's compact without being obscure.
-
what do we think? shall we have a bot create this sort of graph for use here at tdwtf?
is this good graph to make?
if it isn't then help me by designing a better one at plot.ly (because i am NOT drawing the graph in js and osting the images somewhere)
-
I've been putting braces at the end for over 20 years. It's compact without being obscure.
Yeah, I actually prefer it too, and use it in all my personal projects for at least the last 5 years. Everywhere I've worked has mandated the "braces on their own lines" style though.
Whatevs, not as militant about it as this guy [caution: Attwood proximity via URL].
-
Whatevs, not as militant about it as this guy [caution: Attwood proximity via URL].
Ugh. Reading through most of those comments makes me conclude that Attwood is still more reasonable than the majority of programmers.
-
what do we think? shall we have a bot create this sort of graph for use here at tdwtf?
Data looks a bit naff from here..
[HA:pjh@sofa ~]$ LIMIT=50 sql_tdwtf attendance2 # Record of continuous days of attendance WITH StartingPoints AS ( SELECT user_id, visited_at, ROW_NUMBER() OVER(ORDER BY user_id, visited_at) AS rownum FROM user_visits AS A WHERE NOT EXISTS ( SELECT * FROM user_visits AS B WHERE B.visited_at = A.visited_at - 1 AND B.user_id = A.user_id ) ), EndingPoints AS ( SELECT user_id, visited_at, ROW_NUMBER() OVER(ORDER BY user_id, visited_at) AS rownum FROM user_visits AS A WHERE NOT EXISTS ( SELECT * FROM user_visits AS B WHERE B.visited_at = A.visited_at + 1 AND B.user_id = A.user_id ) ) SELECT u.username, S.visited_at AS start_range, E.visited_at AS end_range, (E.visited_at - S.visited_at +1) AS Days FROM StartingPoints AS S JOIN EndingPoints AS E ON E.rownum = S.rownum JOIN users u ON u.id=S.user_id AND u.username like '%' ORDER BY days desc LIMIT 50 username | start_range | end_range | days ----------------------+-------------+------------+------ blakeyrat | 2014-05-19 | 2014-12-18 | 214 PJH | 2014-05-20 | 2014-12-18 | 213 anonymous234 | 2014-05-20 | 2014-12-18 | 213 Keith | 2014-05-23 | 2014-12-17 | 209 ChaosTheEternal | 2014-05-27 | 2014-12-18 | 206 cartman82 | 2014-06-17 | 2014-12-18 | 185 Maciejasjmj | 2014-06-22 | 2014-12-18 | 180 aliceif | 2014-07-02 | 2014-12-17 | 169 ben_lubar | 2014-05-19 | 2014-11-01 | 167 faoileag | 2014-05-30 | 2014-10-20 | 144 Matches | 2014-06-18 | 2014-11-05 | 141 redwizard | 2014-08-01 | 2014-12-18 | 140 dkf | 2014-08-02 | 2014-12-18 | 139 mott555 | 2014-08-04 | 2014-12-05 | 124 Luhmann | 2014-08-22 | 2014-12-17 | 118 accalia | 2014-08-23 | 2014-12-18 | 118 izzion | 2014-08-24 | 2014-12-18 | 117 tufty | 2014-06-09 | 2014-10-02 | 116 Kuro | 2014-08-26 | 2014-12-18 | 115 boomzilla | 2014-08-31 | 2014-12-18 | 110 reverendryan | 2014-08-18 | 2014-12-05 | 110 Intercourse | 2014-09-01 | 2014-12-18 | 109 EvanED | 2014-09-02 | 2014-12-18 | 108 PleegWat | 2014-09-01 | 2014-12-17 | 108 Yamikuronue | 2014-09-04 | 2014-12-17 | 105 sam | 2014-05-21 | 2014-09-01 | 104 Jaloopa | 2014-09-08 | 2014-12-17 | 101 VinDuv | 2014-09-08 | 2014-12-17 | 101 Arantor | 2014-07-07 | 2014-10-13 | 99 Onyx | 2014-05-21 | 2014-08-25 | 97 Jaime | 2014-09-15 | 2014-12-18 | 95 tarunik | 2014-09-15 | 2014-12-18 | 95 FrostCat | 2014-09-15 | 2014-12-18 | 95 da_Doctah | 2014-08-28 | 2014-11-27 | 92 da_Doctah | 2014-05-28 | 2014-08-26 | 91 fatbull | 2014-09-19 | 2014-12-18 | 91 locallunatic | 2014-09-19 | 2014-12-18 | 91 scrib | 2014-09-19 | 2014-12-17 | 90 Captain | 2014-06-03 | 2014-08-31 | 90 darkmatter | 2014-06-30 | 2014-09-27 | 90 fatbull | 2014-05-22 | 2014-08-18 | 89 jaming | 2014-07-30 | 2014-10-25 | 88 created_just_to_disl | 2014-09-23 | 2014-12-18 | 87 abarker | 2014-09-01 | 2014-11-26 | 87 antipattern | 2014-09-08 | 2014-12-03 | 87 Weng | 2014-09-23 | 2014-12-17 | 86 lolwhat | 2014-09-27 | 2014-12-18 | 83 RaceProUK | 2014-09-28 | 2014-12-18 | 82 russ0519 | 2014-08-25 | 2014-11-14 | 82 Groaner | 2014-09-30 | 2014-12-18 | 80 (50 rows) Elapsed: 0.459s Backup taken: 2014-12-18 03:57:24.240922 [HA:pjh@sofa ~]$
Or probably closer to what that graph was trying to show:
[HA:pjh@sofa ~]$ LIMIT=50 sql_tdwtf total_attendance SELECT username, count(*) c FROM user_visits uv JOIN users u ON uv.user_id=u.id GROUP BY username ORDER BY c desc LIMIT 50 username | c ----------------------+----- blakeyrat | 214 PJH | 213 anonymous234 | 213 ben_lubar | 213 dkf | 212 ChaosTheEternal | 211 Keith | 209 Maciejasjmj | 206 boomzilla | 205 Luhmann | 204 fatbull | 203 DoctorJones | 202 da_Doctah | 202 loopback0 | 200 cvi | 200 darkmatter | 199 antiquarian | 197 reverendryan | 197 Gurth | 197 RTapeLoadingError | 195 mott555 | 194 Jaloopa | 191 HardwareGeek | 189 Zecc | 189 sam | 189 antipattern | 188 Kuro | 188 cartman82 | 185 faoileag | 183 abarker | 183 error | 182 VinDuv | 181 mihi | 179 locallunatic | 179 Matches | 179 mark_bowytz | 175 flabdablet | 175 Yamikuronue | 173 Groaner | 172 Intercourse | 171 russ0519 | 171 algorythmics | 171 codinghorror | 170 aliceif | 169 hungrier | 169 marinus | 169 lucas | 165 riking | 165 trithne | 164 created_just_to_disl | 164 (50 rows) Elapsed: 0.058s Backup taken: 2014-12-18 03:57:24.240922
-
it was your days query using data from @riking's forum. I don't have any backups from this one. i'd like one to do better testing against a actual prod database, but with all the sensitive data in one i believe the consensus of the community was "no", at least once the swearing was removed. ;-)
function days(){ # Days visited sql " SELECT count(*) as \"Days visited\", u.username as \"User id\" FROM user_visits v JOIN users u on u.id = v.user_id GROUP BY u.username ORDER BY count(*) DESC LIMIT $LIMIT" }