« first day (1771 days earlier)      last day (3402 days later) » 

16:00
So just scrape the chat ?
possibly this method -> getLastPossibleMage pagesize=100 & page=messages/100, -> isempty ? -> lower the page by 1
and recursively do that
the number of http requests will be O(n) for the removed messages
but oh well
@catgocat O(n)/100
?
it's n + 1 http requests
so O(n)
I will share the program when Im done
hmm .. I think SJW cannot write SQL, because it has triggers
@tereško What has a social justice warrior got to do with SQL?
16:11
@catgocat Florian is a relatively common name in France too. And yes, the etymology is based on "flor" in Latin which means flower.
in italy we have Florenzo :P
According to some random site, the name is the ~70th most common in France
@rlemon load your gimp, got a new profile pic for you to make fun of :D
16:31
morning
afternoon
anyone see this?
85
Q: 10 Million Questions - Let's Share Some Stories That the Number Doesn't Convey

Tim PostIt's easy to look at numbers; numbers tell us that billions of developers have been helped by what we built. That alone is very warming and makes us feel exceptionally great about what we're doing, wouldn't it be nice to take a little time on a Friday to share some stories that the numbers can't ...

16:44
getMostRecentPage :: UserID -> IO Link
getMostRecentPage uid = searchLast "" . ceiling . (/100)
                      =<< (fmap fromIntegral $ getMessages uid) where

    searchLast lnk pg = do

        let lnk' = concat [ hostname
                          , "/users/"
                          , uid
                          , "/?tab=recent&pagesize=100&page="
                          , show pg]

        body <- getURLContent lnk'

        if "monologue" `isInfixOf` body
            then return lnk'
@AwalGarg ^
ops, wrong function name
what is this. I am not running any haskell code on my PC.
2
it's just to please your eyes
look at that beautiful code
you have a weird definition of "beautiful"
works great
/me bans catgocat
I always read your username as "cat-goat-at"
16:48
Beautiful in English might not mean what it means in Portuguese..
@SomeKittens Seems a bit easy :p
This is far more beautiful, and arguably more readable, than Haskell.
@catgocat show sample output
hi ? anyone ?
!!welcome Mathmatics
16:58
@Mathmatics Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
> Please don't ask if you can ask
You're free to ask if you need to ask if you can ask though.
17:15
@SomeKittens I can relate to this. Very well put.
Thanks!
anything to tweak?
twerk
@SomeKittens nope
0
A: 10 Million Questions - Let's Share Some Stories That the Number Doesn't Convey

SomeKittensSelf-answer Self-help As a programmer, it can be incredibly easy to feel like you're just treading water while everyone else is writing code that you'll never be able to touch. I've watched many friends (and myself, several times) fall victim to impostor syndrome. The solution is as simple as ...

upvoted. I posted one too earlier today in the same thread :D
17:27
*Main> getLastMessage "4106994"
"http://chat.stackoverflow.com/transcript/29074?m=19372077#19372077"
*Main>
firstmessage*
@AwalGarg five, nice
I'm afraid I'll disappear for answering late
@SomeKittens not really. most of the meta police sees posts sorted by "active", so yours shall appear first now :D
hah, let's see!
won't that trigger a not allowed origin error?
17:31
see the definition of getPage
didn't know about that website
nice
@AwalGarg have you tested it for multiple users?
in SQL, Jun 14 '12 at 20:20, by SomeKittens
Anyone got time for a quick noob question?
...SQL?
yikes
also, go me, asking to ask
17:35
and props to @KendallFrey for helping me anyway.
@Zirak chat.stackoverflow.com//transcript/11?m=668805#668805 here is your first message in chat. Surely you still love PHP :D (from: jsfiddle.net/zydd3a1v)
No joke - the main reason I write JS today is because people in this chat room were hugely helpful when I was first learning.
parsing html is a pain in the ass in haskell
17:37
i hate trying to get a modal to work :'(
@SomeKittens s/JS/code/ and that sentence is valid for me :P
@catgocat why would you ever do that? XD
I could choose to not do it, but
!!butwhy
what's new in jquery 3?
17:39
3 ?
Codepen is better than what?
than no codepen
@twiz jsfiddle
read that wrong, sorry :P
@AwalGarg let msg, page = Math.ceil(total/100)+1;
17:42
@Callum what's jCurry? is that some sort of seasoning for code?
wtf is that comma
you have 1 guess
@catgocat it's like "var a, b = 10"
Oh... strangely I never really thought of codepen and jsfiddle serving the same purpose, even though they are basically the exact same thing.
ohhhhhhhhhhhh
IM dumb
I'm used to write it the other way around
let page = .. , msg
17:43
People just seem to use them for different purposes.
@Codepenisbetter Go through the transcript and find out :p
they're totally not :P
Codepen is also for art showoffs ;)
@Callum jcurry
coughcoughhere'ssomeartcoughcough
and I'm a total show off, yeah :D
17:44
Just about to say that :p
so codepen's the jam for me
in PHP, Jul 6 '12 at 5:20, by Jan Dvorak
you could always do SELECT count(*) AS count FROM $table, if you don't need the entire table passed back. It's way faster.
ohhh I actually saw this one before somewhere: codepen.io/towc/pen/mJzOWJ
7
> what is this. I am not running any haskell code on my PC. - 60m ago by Awal Garg
17:46
@twiz @towc that one is really nice
Jan 6 '11 at 21:53, by Loktar
I only like dirty code I never have to look at again... which never happens
your first msg
florian's second message: chat.stackoverflow.com/transcript/17?m=1726825#1726825 @FlorianMargaine you were looking for frameworks ~_~
How do you find a person's first messages?
@AwalGarg that fiddle doesn't work :P
When you put my id you get something which for sure wasn't my first message...
jcurry vs jquery :-S
17:55
Here is your first message chat.stackoverflow.com/transcript/642?m=4366979#4366979 @BenjaminGruenbaum
jCurry != jQuery, but typeof jQuery == typeof jCurry
Those are your two hints
@rlemon you haven't seen me in a while :P
One is a delightful Indian cuisine. The other lets you write $.doJavascript();
can i pee on the balls?
why am I here. What am I talking about. Periods intentional.
17:57
@twiz Nope,
@BenjaminGruenbaum I don't think that's too much of an issue. if something goes wrong during installation deleting the whole folder and reinstalling should work.
jspm has a global cache so they wouldn't even be downloaded
but it wouldn't hurt
Jul 19 at 17:25, by CallumBarclay
Train's loaded for me, but it won't accept my solution
I had three messages before bashing Chrome.
What event happens several distinct times a day? i.e. "lunch" but that only happens once.
so, my sister just admitted to have a 2m long penis
and with that I'm done
18:05
@towc I get chat.stackoverflow.com//transcript/45022?m=14011921#14011921 which is your first message indeed. imported from comments.
:D
does anyone know of a good php jquery modal engine?
@AwalGarg but that clearly is not
my sister is annoyed by the fact that nobody is caring about her 2m long penis
@towc why not? your username was cicada3301 back then
@AwalGarg but it was private chat. I must have got there somehow
18:06
@towc Nobody cares here, either :p
@towc it was what now?
@Callum but you didn't care so it's like you cared...?
@AwalGarg look at the room name
@towc Nope, not at all, really.
@towc That's what the name of rooms for comment imported discussions is like
@AwalGarg look at the logic progression of the conversation: I ask him about something I've surely posted before
:P
unless I'm psychic or something
18:10
I am not sure either you are trolling me or just sleep-chatting :P
@JanDvorak btw, my sister is wondering if you have anything to do with the Dvorak composer
@AwalGarg look at it: I'm saying that something someone answered to didn't work ;)
I guess someone else is operating @towc's account in his absence
@AwalGarg I am omnipresent ;)
or as a friend near the screen would say: I amn't in only one place at a time
anyway....
line: $( "#dialog" ).dialog( "open" );
bug: Uncaught Error: cannot call methods on dialog prior to initialization; attempted to call method 'open'
question: is there anything wrong with the javascript?
18:18
Is there a search engine that has an API that lets me see searches as they're queried?
@SomeKittens Could you possibly elaborate a bit?
You mean, watch people search for stuff?
"Open a socket that passes an event every time someone searches for 'JavaScript'"
I think Twitter allows for something like that, but I can't say I know of a search engine that allows for that.
@SomeKittens @AwalGarg ^
First part is win win win
@Callum Yep, got Twitter, hoping for one or two more
18:21
and thats in ENGLISH
@SomeKittens What is it for? You could possibly use messages here?
@Callum realtime analytics
Ah,
18:39
hey guys i'm having issue with CORS i'm trying to switch from pastebin to google drive for my js file but when using google drive the method for direct js file doesn't work here is live example of pastebin pastethebin.github.io/test/paste.html and google drive pastethebin.github.io/test/gdrive.html and pastebin direct url for data pastebin.com/raw.php?i=A1QpGgy8 and google drive direct url for data googledrive.com/host/0B23aI6m1Nhx_bW13UGhHNWZEWkU thanks
18:55
!!move to TS or just use node
@SomeKittens move to TS
Node <3
Node doesn't have all the ES6 goodness and magicks autocomplete
until next version, that is
@SomeKittens TypeScript is efficient
youtube.com/watch?v=1V8UUuOLxzo @rlemon any idea which episode this was from ?
Everytime i watch this it makes me chuckle
Season 3 Episode 24
19:29
@rlemon should I have added sugar to my hard cider brew? I got it in the carboy and sitting off on its own; is it too late to add sugar if I should have?
have you added the yeast yet?
Yeah
how much space is left?
and when did you put it in the carboy?
Lots. I'm making 5 gallons in a 6 gallon carboy
I put it in the carboy like a half hour ago?
okay, take like 1-3 cups of sugar (brown or white, or both) dissolve it in as little water as possible, add it, and give it a good shake.
19:31
ALRIGHT
more sugar, higher ABV
whoops
ok
you'll end up with pretty weak cider otherwise
it'll still turn out, but like 3%
I'm drinking my cider right now
it is nice. I added ~3 cups of sugar
it is strong tho
~8-9%
but I only brewed like 4gal
so maybe 2 cups for you?
Only one cup
I didn't have any sugar, so I added ~1.66 cups of honey that I got from the orchard
19:40
@Nick that's just under two cups of sugar, should be good
I felt so clueless throughout the whole process. If this cider turns out even half decent, I'm gonna be shocked
evening
19:55
the only thing I know how to make is tea
and ice tea
my teas are pretty good actually
Tea is shite.

« first day (1771 days earlier)      last day (3402 days later) »