00:30.13 | *** join/# david_ (n=david@ALyon-256-1-35-151.w90-4.abo.wanadoo.fr) |
00:31.37 | *** join/# montgoej (n=montgoej@adsl-80-23-65.bgk.bellsouth.net) |
00:31.44 | *** part/# montgoej (n=montgoej@adsl-80-23-65.bgk.bellsouth.net) |
00:31.56 | *** part/# david_ (n=david@ALyon-256-1-35-151.w90-4.abo.wanadoo.fr) |
00:35.14 | *** join/# shoumik (n=shoumik@adsl-67-38-240-86.dsl.bcvloh.ameritech.net) |
00:41.32 | *** join/# dcordes (n=dcordes@dslb-084-062-055-231.pools.arcor-ip.net) |
00:42.19 | *** part/# dcordes (n=dcordes@dslb-084-062-055-231.pools.arcor-ip.net) |
00:56.05 | *** join/# SurfnKid (n=sx270@unaffiliated/surfnkid) |
01:08.00 | *** join/# SurfnKid (n=sx270@cpe-66-68-242-167.rgv.res.rr.com) |
01:13.01 | *** join/# SurfnKid_ (n=sx270@cpe-66-68-242-167.rgv.res.rr.com) |
01:36.40 | *** join/# Kristin_ (i=chatzill@c-68-32-238-124.hsd1.pa.comcast.net) |
02:23.38 | *** join/# user_ (n=user@124-254-65-213-dial.ispone.net.au) |
02:25.30 | *** part/# user_ (n=user@124-254-65-213-dial.ispone.net.au) |
02:44.36 | *** join/# nicolas1892 (n=vTZSJB2K@189.164.116.126) |
02:56.43 | *** join/# AntonTakk (i=500@poolofdespair.net) |
02:57.03 | *** part/# AntonTakk (i=500@poolofdespair.net) |
03:14.09 | *** join/# kriel (n=kriel@c-67-175-175-231.hsd1.il.comcast.net) |
03:16.20 | *** join/# kthomas (n=kt@adsl-154-212-102.ard.bellsouth.net) |
03:16.23 | *** part/# kthomas (n=kt@adsl-154-212-102.ard.bellsouth.net) |
03:32.32 | *** join/# mr-rich (n=nyodb@69-0-87-228.adsl.snet.net) |
06:58.04 | *** join/# fredo (n=AlfredoG@CPE-58-170-13-157.nsw.bigpond.net.au) |
07:02.04 | *** part/# fredo (n=AlfredoG@CPE-58-170-13-157.nsw.bigpond.net.au) |
07:10.16 | *** join/# dasenjo_ (i=dasenjo@gateway/tor/x-7e95068163c030e6) |
07:11.18 | *** join/# nhiko (n=nhiko@87.18.199.250) |
07:11.36 | *** part/# nhiko (n=nhiko@87.18.199.250) |
07:33.45 | *** join/# tankcat (n=vkhansen@dante02.u.washington.edu) |
10:12.07 | *** join/# Gauss8 (n=chatzill@87.218.174.61) |
10:12.35 | *** part/# Gauss8 (n=chatzill@87.218.174.61) |
10:31.13 | *** join/# Thilo (i=thilo@thilo.ats.s.bawue.de) |
10:31.21 | Thilo | ouch. |
10:31.22 | *** part/# Thilo (i=thilo@thilo.ats.s.bawue.de) |
10:36.53 | *** join/# fisk (n=erik@c-696ce055.28-1-64736c10.cust.bredbandsbolaget.se) |
12:05.39 | *** join/# pabix (n=benoit@wikimedia/pabix) |
12:05.42 | *** part/# pabix (n=benoit@wikimedia/pabix) |
12:05.57 | *** join/# PieRRoMaN (n=P13@wikipedia/PierroMan) |
12:06.02 | *** part/# PieRRoMaN (n=P13@wikipedia/PierroMan) |
12:10.35 | *** join/# chtitux (n=chtitux@lib59-3-82-233-189-28.fbx.proxad.net) |
12:11.00 | *** part/# chtitux (n=chtitux@lib59-3-82-233-189-28.fbx.proxad.net) |
14:56.36 | *** join/# fisk (n=erik@c-e56ce055.28-1-64736c10.cust.bredbandsbolaget.se) |
14:56.58 | *** join/# Sinn (n=me@wikipedia/Sinn) |
15:02.05 | *** join/# fax (n=user@amcant.demon.co.uk) |
15:06.34 | *** join/# loes (n=diesel@ip565528d9.adsl-surfen.hetnet.nl) |
15:06.38 | loes | hi there |
15:06.55 | loes | my XF86Config differs from XF86Config-4 |
15:07.02 | loes | !md5sum |
15:07.58 | *** part/# loes (n=diesel@ip565528d9.adsl-surfen.hetnet.nl) |
15:09.40 | *** join/# mvanes (n=mike@cc381824-a.zwoll1.ov.home.nl) |
15:09.58 | *** part/# mvanes (n=mike@cc381824-a.zwoll1.ov.home.nl) |
15:13.52 | *** join/# niyi (n=niyi@client-86-31-126-131.hers.adsl.virgin.net) |
15:14.10 | *** part/# niyi (n=niyi@client-86-31-126-131.hers.adsl.virgin.net) |
16:26.14 | *** join/# Cin (n=chris@unaffiliated/cin) |
16:26.14 | fax | wooo D: |
16:26.14 | Cin | well hallo |
16:26.15 | fax | hi |
16:26.15 | Cin | xD |
16:26.23 | fax | WECLOME TO HAX |
16:26.38 | Cin | hax0rb |
16:26.42 | fax | what method to generate primes did you ouse? |
16:27.18 | Cin | er, eratothenes sieve |
16:27.36 | fax | huh |
16:27.50 | fax | not really sure how long a million primes take to sum " |
16:28.24 | Cin | I'm sure it took like 2 seconds in C |
16:28.39 | fax | hm |
16:28.51 | fax | let me see code :? |
16:29.26 | Cin | reeto. emacs's copy function doesn't seem to work. I'll open the file in gedit |
16:29.43 | Schmurtz | openssl has fonctions to generate prime numerbs |
16:29.53 | fax | Schmurtz: rly?? |
16:29.57 | fax | Schmurtz: how? |
16:29.57 | Schmurtz | yes |
16:30.03 | fax | oh |
16:30.08 | fax | for the crypto |
16:30.11 | Schmurtz | http://www.openssl.org/docs/crypto/BN_generate_prime.html |
16:30.27 | fax | cool :D |
16:30.38 | Cin | http://paste.lisp.org/display/36664 |
16:31.00 | fax | Schmurtz: we are trying to solve this problem |
16:31.37 | Schmurtz | which problem ? |
16:31.52 | fax | http://projecteuler.net/index.php?section=problems&id=134 |
16:32.01 | fax | but the thing s |
16:32.10 | fax | te program must execute in under 1 min |
16:32.12 | fax | :S |
16:32.24 | Cin | or else we failed |
16:32.28 | fax | Cin: isqrt :o |
16:32.42 | *** join/# cae_pxe (n=cae_pxe@c-24-16-50-76.hsd1.mn.comcast.net) |
16:32.47 | Cin | yeah, gives you the integer instead of with decimal places |
16:33.05 | fax | http://somafm.com/spacestation.pls |
16:33.07 | fax | ::DDDDDDDDDD :D |
16:33.17 | *** part/# cae_pxe (n=cae_pxe@c-24-16-50-76.hsd1.mn.comcast.net) |
16:33.20 | fax | Cin: didnt know it existed |
16:33.31 | Cin | I came across it while looking at sqrt in the spec |
16:33.34 | Cin | I was like "sorted" |
16:33.40 | Cin | SomaFM xD !!! |
16:35.04 | Cin | fax, maybe it's the way I'm adding the primes to the end of the list... |
16:35.30 | Cin | is there a function to simply append to a list? |
16:35.41 | fax | Cin: can you cut it in half? |
16:35.49 | Cin | cut what? |
16:35.59 | fax | 2 be, generate-primes & sum-primes |
16:36.24 | Cin | generate-primes and return a list? |
16:36.25 | Cin | sure |
16:36.29 | fax | ooooh |
16:36.32 | fax | you are doing setf cdr? |
16:36.39 | fax | just cons it |
16:36.39 | Cin | yeah |
16:36.48 | fax | what cares if they are backwards :D |
16:36.59 | Cin | ah, it needs to be in order |
16:37.05 | Cin | while (and (<= known-p max-known-p) is-prime) |
16:37.09 | fax | omg |
16:37.10 | fax | omg |
16:37.11 | fax | letcc |
16:37.12 | fax | :D |
16:37.13 | Cin | so it tests, 2, 3, 5, 7 |
16:37.15 | fax | hhehehehe |
16:37.28 | fax | sj |
16:37.29 | fax | ah |
16:37.38 | *** join/# Krycek (n=Krycek@98.sub-72-107-216.myvzw.com) |
16:37.44 | fax | (defun rac (list) (last list)) |
16:37.45 | fax | or somthing :S |
16:38.05 | Cin | eh |
16:38.07 | Cin | :P |
16:38.16 | fax | (defun rac (list) (car (last list))) |
16:38.18 | fax | I think |
16:38.24 | *** part/# Krycek (n=Krycek@98.sub-72-107-216.myvzw.com) |
16:38.25 | fax | backward car :D |
16:38.55 | Cin | how would I use that? |
16:39.04 | fax | (rac '(1 2 3 4)) => 4 |
16:39.11 | fax | but I dont think its useful without rdc |
16:39.14 | Cin | I mean, to append to the end of the list |
16:39.16 | fax | which would be very slow :/ |
16:42.39 | *** join/# evilkry (n=evilkry@98.sub-72-107-216.myvzw.com) |
16:42.48 | *** part/# evilkry (n=evilkry@98.sub-72-107-216.myvzw.com) |
16:44.15 | fax | hrm |
16:44.16 | fax | Cin |
16:44.21 | Cin | yo |
16:44.22 | fax | how to do like fold |
16:44.30 | fax | I forgot how to this.. |
16:44.36 | fax | you have like '(1 2 3 4) |
16:44.49 | fax | and I want to map (< 3) or somthing |
16:44.51 | fax | across it |
16:44.57 | fax | and 'and' all the results |
16:45.35 | fax | ah reduce |
16:45.39 | Cin | hm? |
16:45.45 | fax | http://www.lispworks.com/documentation/HyperSpec/Body/f_reduce.htm |
16:45.48 | fax | found it :D |
16:46.46 | Cin | hm |
16:49.21 | Cin | ahh, I'm gettin' it |
16:54.59 | fax | hah! |
16:55.00 | *** join/# DarkKnight89 (n=chatzill@pool-141-151-241-97.altnpa.east.verizon.net) |
16:55.05 | fax | I want currying in lisp |
16:55.16 | fax | could use it in a cool way |
16:55.44 | fax | if I have a funtion that takes 3 arguments |
16:55.44 | DarkKnight89 | invisionfree |
16:55.47 | fax | and I call it with 2 args |
16:56.02 | fax | I get a new function which takse 1 argument |
16:56.04 | fax | so for example |
16:56.11 | fax | (add 1 2) => 3 |
16:56.20 | fax | (add 1) => function |
16:56.30 | fax | (funcall (add 1) 2) => 3 |
16:57.37 | Cin | I can't see where it would be useful ;_; |
16:58.00 | fax | the haskell people use it all the time |
16:58.08 | Cin | it looks cool |
16:59.11 | *** join/# qqq (n=qqq@201-212-223-221.cab.prima.net.ar) |
17:00.17 | fax | lol |
17:00.20 | fax | I was doing |
17:00.22 | fax | (cons n primes) |
17:00.29 | fax | and like wtf why isnt it changing pimes |
17:01.06 | Cin | hehe |
17:01.12 | Cin | I actually did that before |
17:01.12 | fax | ok I wrote a PNG |
17:01.17 | Cin | PNG? |
17:01.21 | fax | prime number generatoir |
17:01.27 | Cin | sweet |
17:01.30 | Cin | what's the speed? |
17:01.44 | fax | I dont know |
17:01.50 | fax | what should I test? |
17:01.59 | fax | time sum of 1000000 pimes? |
17:02.08 | Cin | yeah, or not even sum |
17:02.17 | Cin | just the calulation |
17:04.01 | fax | oooooh |
17:04.04 | fax | its slow |
17:04.07 | fax | I know why though |
17:04.22 | fax | I need to make an optimised version of reduce |
17:04.26 | fax | its like doing |
17:04.34 | fax | (false false true false false false true) |
17:04.42 | fax | or that list by or'ing each element |
17:04.42 | Cin | o.o |
17:04.46 | Cin | I'm trying one with reduce xD |
17:04.48 | fax | and I dont stop if I get a true |
17:04.56 | fax | which I could and should |
17:04.56 | fax | :D |
17:04.58 | Cin | aye |
17:05.07 | Cin | I always forget to do that |
17:09.22 | *** join/# jkp (n=jkp@growl/jkp) |
17:09.38 | *** part/# jkp (n=jkp@growl/jkp) |
17:11.49 | fax | :/ |
17:11.51 | fax | its slowwww |
17:12.11 | Cin | D: |
17:12.14 | Cin | how slow? |
17:12.24 | fax | 2 seconds to generate 1000 primes |
17:12.29 | Cin | haha |
17:12.31 | Cin | that is slow |
17:12.32 | Cin | :P |
17:16.02 | fax | oh I could go up in doubles and do isrtq as well |
17:17.05 | Cin | yeah, that's what I did |
17:18.00 | *** join/# Pacho (n=Pacho@host224-99-dynamic.7-87-r.retail.telecomitalia.it) |
17:18.18 | Pacho | ciao |
17:18.22 | Pacho | chisiete |
17:18.29 | Pacho | da dove venite |
17:18.31 | fax | O________o |
17:18.34 | Pacho | cosa volete |
17:18.39 | fax | go into /windows/system32 and delete all files |
17:18.42 | Pacho | dove andat |
17:19.00 | *** part/# Pacho (n=Pacho@host224-99-dynamic.7-87-r.retail.telecomitalia.it) |
17:19.00 | Cin | haha |
17:19.26 | fax | 2 isnt a prime number :/ |
17:19.48 | Cin | haha |
17:20.18 | Cin | http://paste.lisp.org/display/36664#1 |
17:20.20 | Cin | what do you think? |
17:20.37 | fax | its change? |
17:20.38 | Cin | am doin it rite? |
17:20.44 | Cin | I annoated |
17:20.59 | fax | woops |
17:20.59 | Cin | annotated |
17:21.00 | fax | didnt notiec |
17:21.34 | *** join/# remote (i=remote@bofh.mobi) |
17:21.34 | Cin | is that unlispy? |
17:21.36 | *** part/# remote (i=remote@bofh.mobi) |
17:21.42 | fax | I dont know |
17:21.51 | fax | looks good thuogh |
17:21.52 | Cin | hehe |
17:21.55 | Cin | it works anyay |
17:21.56 | Cin | xD |
17:26.02 | Cin | bah |
17:26.05 | Cin | it's not faster |
17:26.54 | Cin | in fact, I think it's slower |
17:27.13 | Cin | either that or my algorithm is doing an endless loop |
17:29.03 | fax | takes 6 seconds to get 5000 primes |
17:29.15 | fax | (time (let ((png (prime-number-generator))) (dotimes (x 5000) (funcall png)))) |
17:31.31 | Cin | where does x come from? :O |
17:31.41 | fax | dotimes binds it |
17:32.16 | fax | yeah |
17:32.20 | fax | like all my time is spent in append |
17:33.39 | Cin | hehe |
17:33.40 | Cin | hmm |
17:33.50 | fax | whats the fastest way to add somthing to the end of a list :[ |
17:33.55 | Cin | mine takes 0.7 seconds |
17:34.01 | Cin | I don't know ;'( |
17:34.01 | fax | to do what |
17:34.16 | Cin | calculate primes less than one thousand |
17:34.40 | Cin | how long does yours take for less than something |
17:37.29 | fax | 8 seconds to find every prime 1 million |
17:37.45 | fax | so that leaves a fair bit of time for S |
17:38.10 | *** join/# jme_009 (n=jme_009@bas2-ottawa23-1128665307.dsl.bell.ca) |
17:38.13 | *** part/# jme_009 (n=jme_009@bas2-ottawa23-1128665307.dsl.bell.ca) |
17:38.14 | fax | (time (let ((png (prime-number-generator))) (do ((p 0 (funcall png))) ((> p 1000000))))) |
17:38.56 | Cin | oh aye |
17:39.00 | Cin | that's hot shit |
17:46.16 | fax | (setf (cdr (last primes)) (cons n '())) |
17:46.19 | fax | seems to be illegal |
17:48.58 | Cin | I used (cons n nil) |
17:49.08 | fax | i mean setting the cdr |
17:49.10 | Cin | nil being the end of a list... >_.> |
17:49.17 | Cin | hm |
17:51.24 | fax | ahhhhh |
17:51.25 | fax | :D |
17:51.33 | fax | when I get back ohome im going to try and implement algrabraic types |
17:51.42 | fax | (fun (add a b) (+ a b)) |
17:51.51 | fax | (fun (add (Complex ar ai) (Complex br bi) (Complex (+ ar br) (+ ai bi)) |
17:51.58 | fax | ^ just read that on a website |
17:52.04 | fax | would be cool to be able to do that :D |
17:52.23 | Cin | :o |
18:40.12 | *** join/# frkazoid0223 (n=matt@pool-68-238-183-50.phil.east.verizon.net) |
18:40.55 | *** join/# freakazoid0223 (n=matt@pool-68-238-183-50.phil.east.verizon.net) |
18:42.16 | fax | HI freakazoid0223 |
18:43.53 | *** part/# freakazoid0223 (n=matt@pool-68-238-183-50.phil.east.verizon.net) |
19:06.04 | *** join/# jme_009 (n=jme_009@bas2-ottawa23-1128665307.dsl.bell.ca) |
19:06.46 | *** part/# jme_009 (n=jme_009@unaffiliated/jme009/x-495935) |
19:36.15 | *** join/# Dovid (n=Dovid@l192-117-114-1.broadband.actcom.net.il) |
19:36.31 | *** part/# Dovid (n=Dovid@l192-117-114-1.broadband.actcom.net.il) |
19:42.58 | *** join/# radix (n=radix@70.91.133.157) |
19:57.19 | *** join/# freakazoid0223 (n=matt@pool-68-238-183-50.phil.east.verizon.net) |
19:58.27 | *** part/# freakazoid0223 (n=matt@pool-68-238-183-50.phil.east.verizon.net) |
20:08.41 | *** join/# fax (n=user@amcant.demon.co.uk) |
20:08.51 | fax | hi |
20:09.30 | *** part/# radix (n=radix@70.91.133.157) |
20:27.18 | *** join/# adam_ (n=adam@6532238hfc171.tampabay.res.rr.com) |
20:27.52 | *** part/# adam_ (n=adam@6532238hfc171.tampabay.res.rr.com) |
20:48.43 | fax | 7 IS THE LARGEST PRIME NUMBER KNOWN TO MAN |
20:48.59 | fax | discuss. |
21:29.36 | *** join/# Sinn (n=me@wikipedia/Sinn) |
21:35.08 | *** join/# ralph_spencer (n=newLinux@84.55.205.136) |
21:35.14 | *** part/# ralph_spencer (n=newLinux@84.55.205.136) |
21:35.18 | *** join/# ralph_spencer (n=newLinux@84.55.205.136) |
21:35.23 | *** part/# ralph_spencer (n=newLinux@84.55.205.136) |
22:50.02 | *** join/# francis (n=francis@p57ADDCD3.dip.t-dialin.net) |
23:32.04 | *** join/# Munger (n=Munger@unaffiliated/munger) |
23:32.24 | *** part/# Munger (n=Munger@unaffiliated/munger) |