| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
Comments:
<0> ali0r: yeah. <1> Yaakov, there are many feeds, wont work <2> per feed... <1> and user have a set of regex on what the want/dont want <1> **** this is getting complex <0> ali0r: no it's not :) <1> ive been up for 16hours <1> hehe <0> ali0r: whenever an item enters the system, run the filters to find out what users are interested in it, and for each user that cares, insert a tuple into a table of things to send <3> ali0r: that's a *normal* day. it's just *barely* your bed time. let me know when you've been awake 24 hours. and then 32. and then 40. at 40, you've done a double-day. <1> i did that <1> feel like **** <0> ali0r: and then whenever you actually send the item out, you delete it from the "agenda" table <1> i just got out of the gym doing heavy squats , this is what fried my nervous system <2> ali0r: For each feed a table, user_id and last_sent <2> That's simple.
<0> ali0r: Yaakov's solution would work fine too -- but I actually think mine is easier to deal with in the long run <1> and last_sent is FK to news_id ? <2> Yes, last_sent is the message id. <4> Oh my god. lynx has file ***ociations on downloasd. <1> Yaakov, this wont work <0> ali0r: yes it will. <1> user1 might have feed1 and feed4 but not feed2/feed3 <2> So? <1> so basing myself on news_id wont work <2> No. <1> news is news_id (pk), feed_id (fk), title, url <2> You qualify the feed first, then check to see if that user needs to be sent. <1> see ? <0> ali0r: so what? <5> perlbot smop <6> Simple Matter of Programming <0> ali0r: that doesn't make any difference <2> Does user X get this feed? Yes! Did he get this message? Yes! || No! <0> ali0r: you're just failing to use common sense. <1> oh i see <1> jeez i am stupid <2> No, sleep-deprived. <7> porno with Jenifer Lopes come to http://host4you.land.ru <4> OK <2> lilo: kline? <0> good speling. <2> lilo: See above. <1> thanks folks :) <4> LOPES <0> ali0r: not that I really need to defend it, but the advantage I see to my idea is that it lets you ask "does the user want this story" only once instead of repeatedly <1> resume your method please <1> i am putting this to .txt for later study <1> cause for now i am totally borked <8> nytol ppl <0> ali0r: When an item comes in, compute the list of all users that would want to see it, and for each user, insert (story_id, user_id) into an "agenda" table <9> does anyone know about Crypt::DH? <0> ali0r: and then whenever you're ready to send out mail for a user, you just delete from the agenda table all of the stories that you sent them <0> perlbot anyone <6> Somewhere, someplace, in some universe, somebody uses what ever you just asked about. However, if you actually wanted help with it, please just ask a question, don't ask to ask, or ask if anyone can help. <1> yes that sound like the way to go, basicly this will be done when the rss's are fetched <2> pod boq bop pob qob dop qop dob <1> #1 <9> Crypt::DH is perpetually failing to generate random numbers <0> "agenda" is a good word. It's latin for "a bunch of things that I need to do" :) <4> hobbs: "Ahh yes, eminent domain, that means 'theft by government'" <0> agreed, but what brought that on? <10> can anyone help me on this OO perl problem ? http://pastebin.com/536250, thanks <11> The paste 536250 has been moved to http://erxz.com/pb/536 <4> hobbs: Your latin "translation" <0> buu: that's actually essentially a literal translation <4> Yay latin! <4> What's the latin for "stuff in latin sounds cooler" again? <4> heng: Nothing looks wrong.. <0> buu: "ago" is basically "do", an "agent" is something that does stuff, an "agend" is something to do, and if you have more than one it's an "agenda" <4> heng: Oh, your method <10> buu: I think I need to get rid $cl*** in my method, right ? <0> well, it's "agenda". Having _an_ agenda is restricted to English. <4> heng: sub Get_ConfigDataStructure {; takes two arguments, you are only p***ing it a single argument <12> buu: Quid en latina dicet, (something something) <4> heng: It's not a method
<4> ThinkingInBinary: Hrm. Excellent. <1> ok so now, what is the best module to send email, i always used MIME::Lite :) <12> buu: Sorry, in latina. <12> buu: Spanish != Latin ;-) <10> buu: please help, thanks <0> ThinkingInBinary: I was just about to call you on that <4> ThinkingInBinary: Latina, eh? <4> heng: I JUST HELPED YOU BITCH <12> buu: ouch ;-) <12> buu: if this were #gentoo you'd be banned. /me loves #perl. <10> buu: en, I p***ed $C_XMLFile to Get_ConfigDataStructure , only one, isnt it ? <4> ThinkingInBinary: I banned #gentoo. <12> buu: lol <4> heng: Yes, that is one argument. <4> heng: However, you are trying to ***ign two arguments in side the subroutine. <4> heng: But you only p***ed one. <4> There is a problem here. <0> buu: "Quidquid Latine dictum sit altum videtur" is a common one -- "anything said in latin seems profound" <4> Ah <4> Quidquid ? <12> hobbs: Yeah! That's the one I was thinking of! <10> o, I only need to p*** one arg which is xmlfile, however when I get rid of $cl*** arg in Get method , the script complained : an uninitialized var ... ,so should or should not I get rid of $cl*** in that Get method ? <4> heng: You should. <13> yup.. like "est mi vulvus com eruca acida" <0> buu: "quid" is "something", or "that which", or whatever <4> hobbs: So what is quidquid ? <0> buu: and "quidquid" is "whatsoever" or "anything which" or stuff <4> Ah. <4> QUIDQUID seems to lack profundity <0> buu: repetition just makes it cooler, you understand <4> (lacrimas profundere++) <4> Hmph. I'm bored. <14> buu: going to MJD's talk on Monday? <0> buu: but closer to what ThinkingInBinary had in mind, you could also write it something like "Quid in lingua latina dicet, omnia altum videntur" <0> buu: which, if I got it right, translates something like "What is said in latin, everyone thinks is impressive" :) <0> buu: it's hard to render "cool" into latin <12> hobbs: Try magnificent. <0> ah, there we go. "... omnia magnificantur" :) <12> hobbs: Nice1 <12> hobbs: s/1/!/; <15> lol <16> omg :) <0> or something. I didn't learn most of the conjugations, so I just go for something that's mostly right <15> less characters to retype it correctly than to sub ! for 1 <0> but my dictionary software says that "magnificantur" is present, p***ive, and 3rd/plural, so it can't be too far off <15> i get permission denied <15> mistell <0> oh, and 'IND' must be 'indicative', which I'm pretty sure is appropriate <0> and 'dicet' is subjunctive, which means ThinkingInBinary gave me the right word :) <12> hobbs: Jeez, I haven't taken Latin for ~2 years. <15> jeez <15> i haven't taken latin in like 12 years <0> ThinkingInBinary: I took 5 years of spanish, and failed one year of latin. The rest I just make up :) <15> here's what i remember: stercus accidit <15> illigitimi non carborundum or something too <17> hi, I'm playing around with some graph functions .. <0> ThinkingInBinary: WORDS is a great tool as long as you already know what you're looking for :) <18> enjoy that <17> and have an error I don't understand .. and because I'm not a perlmonk I cannot see what the error might be caused of .. <12> hobbs: Spanish rocks. <14> veni, vidi, vici <17> I have an .dot file which I read with $graph = $reader->read_graph('linkmap.dot'); (from use Graph::Reader::Dot;) <17> my dot-file is 2,5 megabytes .. <2> ROCAS <17> and includes a graph af urls .. <0> ThinkingInBinary: yeah, and it's got enough of the interesting stuff left in it to provide at least some foundation for latin <2> ...Spanish "rocks"... <12> hobbs: Yeah. Spanish is easy too... software = "el software", hardware = "el hardware", Internet = "el Internet". No kidding. <14> Tu perro es grande <17> when reading the dotfile I get following error: $_[0]->YYCurtok <17> $_[0]->YYCurval <17> @$_[0]->YYExpect ID QUOT NUMBER <17> $_[0]->YYLexer CODE(0x850fda8) <17> substr($_[0]->YYData->{INPUT},0,21) ...
Return to
#perl or Go to some related
logs:
symbol lookup error: Xvnc: undefined symbol: cerr gentoo glut blocks freeglut #oe tridium programmer #linux #perl #debian Package synaptic has no installation candidate iwlist scan resource temporarily unavailable ubuntu vmplayer command line option
|
|