←2007-01-19 2007-01-20 2007-01-21→ ↑2007 ↑all
00:00:28 <oklopol> why the +1?
00:00:41 <bsmntbombdood> because
00:02:57 <oklopol> 1/5 == .2 becomes 1 + .2 then :\
00:03:02 <oklopol> or?
00:03:09 <oklopol> ah
00:03:12 <oklopol> dam
00:03:13 <oklopol> n
00:04:25 <oklopol> you could factor the number and 1/(number-floor(number)) to their prime elements
00:04:28 <oklopol> then create those
00:04:31 <bsmntbombdood> one sec
00:04:34 <oklopol> and multiply and divide
00:04:36 <oklopol> or smth
00:04:36 <bsmntbombdood> I found an algo to do it
00:04:39 <oklopol> oaky
00:08:42 <bsmntbombdood> ok
00:09:16 <oklopol> show!
00:09:25 <bsmntbombdood> http://pastebin.ca/322056
00:09:42 <bsmntbombdood> .1 takes 31 chars
00:10:05 <CakeProphet> Homespring looks awesome.
00:10:12 <oklopol> farey does what?
00:10:22 <oklopol> or, is it understandable?
00:10:26 <bsmntbombdood> converts a float into a fraction
00:10:31 <bsmntbombdood> I didn't write it
00:10:58 <oklopol> that's why i assumed i wouldn't be able to read it
00:10:59 <oklopol> fast
00:11:17 <oklopol> in form a/b?
00:11:31 <bsmntbombdood> farey(.2) => (1,5)
00:11:37 <oklopol> yeah
00:11:43 <oklopol> farey(1.2)?
00:11:55 <oklopol> ah
00:12:10 <oklopol> why did i not understand that last time :\
00:12:24 <CakeProphet> hmmm... BF works pretty damn well with threads.
00:12:33 <oklopol> i hope it's this headache... or then i'm getting stupider
00:12:40 <oklopol> CakeProphet, what you did?
00:12:45 <CakeProphet> the low-leveliness makes it a perfect candidate.
00:12:47 <CakeProphet> yeah.
00:13:00 <bsmntbombdood> now it is WAAAAAAY better with non integers
00:16:13 <oklopol> CakeProphet, what did you do?
00:18:16 <bsmntbombdood> ok, this algorithm is good now
00:20:05 <bsmntbombdood> ...except farey is very slow
00:20:35 <oklopol> hmm i'd read it but my brain is dead
00:20:42 <oklopol> the farey
00:22:02 <CakeProphet> threaded BF...
00:22:11 <CakeProphet> read [[Weave]]
00:22:14 <bsmntbombdood> heh, pi is 740 chars
00:27:35 <oklopol> link it again
00:27:40 <oklopol> CakeProphet
00:31:02 <CakeProphet> http://esolangs.org/wiki/Weave
00:31:29 <bsmntbombdood> brainfork
00:38:41 <oklopol> there are no examples :)
00:38:46 <oklopol> i've seen that
00:38:58 <oklopol> bsmntbombdood, that is a simplification of it :)
00:39:43 <CakeProphet> hmmm
00:39:49 <CakeProphet> didn't know there was a brainfork.
00:39:53 <CakeProphet> it looks kind of silly though.
00:40:00 <CakeProphet> I like Weave much better. :D
00:40:54 <CakeProphet> Weave is intended to execute as if you had literally just started running a bunch of BF programs at the same time at the very start...
00:41:04 <CakeProphet> with a single array shared amongst them as well as their own private ones.
00:41:43 <oklopol> brainfork is ingenious, one of my favorites
00:42:06 <oklopol> forking is so nice
00:42:25 <oklopol> but, weave might be useful
00:43:00 <CakeProphet> well...
00:43:17 <CakeProphet> it's sort of like... programming a bunch of little minions
00:45:45 <CakeProphet> Brainfork doesn't have a mechanism for data sharing.
00:49:36 <oklopol> it does
00:49:44 <oklopol> it has only data sharing
00:51:26 <CakeProphet> ah
00:51:36 <oklopol> the specs are bad
00:52:19 <CakeProphet> hmmm... brainfuck would be really easy to hide in other documents.
00:52:30 <CakeProphet> because everything-else-is-comments
00:52:40 <oklopol> yeah
00:52:59 <oklopol> you can get better ways tho...
00:54:22 <CakeProphet> you could hide whitespace in the whitespace on the edges of a document.
00:59:01 <bsmntbombdood> ok, the brainfuck->logfuck conversions don't work for input
01:05:00 <oklopol> true
01:05:07 <oklopol> but not that big a problem
01:05:38 <oklopol> CakeProphet, i can think of a million ways to hide for example bf in a document...
01:23:46 -!- ihope has joined.
01:24:33 <bsmntbombdood> What's wrong with the input?
01:24:55 <ihope> You typed it wrong.
01:25:02 <bsmntbombdood> ?
01:25:51 <ihope> If there's something wrong with the input, you typed it wrong.
01:26:04 <ihope> The problem may be fixed by typing it correctly.
01:26:30 <bsmntbombdood> no
01:26:41 <bsmntbombdood> converting logfuck to brainfuck
01:28:02 -!- sebbu2 has quit ("@+").
01:31:35 <bsmntbombdood> I like my number generation algorithm :)
02:15:15 -!- ihope has quit (Read error: 110 (Connection timed out)).
03:31:07 -!- anonfunc has quit (Read error: 104 (Connection reset by peer)).
03:32:41 -!- anonfunc has joined.
03:56:28 -!- oerjan has quit ("Destiny").
03:57:07 <bsmntbombdood> hmph
03:57:17 <bsmntbombdood> you lispers should tell me a better way to do this:
03:57:26 <bsmntbombdood> (defun inp (what where &key (test #'equal))
03:57:26 <bsmntbombdood> "is what in where according to test?"
03:57:26 <bsmntbombdood> (reduce (lambda (x y) (or x y)) (mapcar (lambda (x) (funcall test x what)) where)))
04:47:38 -!- pikhq has joined.
05:15:48 -!- Sgeo has quit (Remote closed the connection).
05:17:33 <CakeProphet> what's the purpose of funcall?
05:17:52 <CakeProphet> why can't you just put the function variable at the front of the list and expect the normal evaluation?
05:49:22 <bsmntbombdood> CakeProphet: Because common lisp is fucking stupid
05:50:37 <bsmntbombdood> each symbol has a different slot for its function and its variable
05:50:49 <bsmntbombdood> in that case, the variable slot has a function in it
06:05:34 <CakeProphet> the variable is a function though
06:05:58 <bsmntbombdood> The regular syntax only works if the function slot has the function
06:06:33 <CakeProphet> that's pretty stupid.
06:07:38 <bsmntbombdood> indeed
06:18:02 <bsmntbombdood> scheme isn't like that iirc
06:47:34 -!- pikhq has quit ("leaving").
07:58:42 -!- sebbu has joined.
07:59:59 -!- clog has quit (ended).
08:00:00 -!- clog has joined.
10:01:54 -!- wooby has joined.
10:01:59 -!- wooby has quit (Remote closed the connection).
11:39:47 -!- oerjan has joined.
12:15:19 -!- anonfunc has quit.
12:35:35 -!- oerjan has quit ("Desire").
13:14:58 -!- NK` has quit (Remote closed the connection).
13:15:01 -!- NK` has joined.
13:44:07 -!- jix__ has joined.
13:45:24 -!- jix__ has changed nick to jix.
14:05:15 -!- jix has quit ("Bitte waehlen Sie eine Beerdigungnachricht").
14:09:43 -!- jix__ has joined.
16:03:09 -!- helios24 has quit (Read error: 113 (No route to host)).
16:28:02 -!- Sgeo has joined.
16:37:53 -!- pikhq has joined.
17:04:47 -!- ihope has joined.
17:51:02 -!- CakeProphet has quit ("haaaaaaaaaa").
19:10:08 -!- lament has quit (Remote closed the connection).
19:10:17 -!- lament has joined.
19:16:11 -!- lament_ has joined.
19:16:39 -!- lament has quit (Remote closed the connection).
19:26:29 -!- lament has joined.
19:27:01 -!- lament_ has quit (Remote closed the connection).
19:31:50 -!- lament has quit (Remote closed the connection).
19:31:52 -!- lament has joined.
19:35:49 -!- jix__ has changed nick to jix.
19:38:13 -!- lament has quit (Remote closed the connection).
19:38:30 -!- lament has joined.
19:44:45 -!- lament_ has joined.
19:45:39 -!- lament has quit (Remote closed the connection).
19:49:57 -!- lament_ has quit (Remote closed the connection).
19:50:01 -!- lament has joined.
20:55:54 -!- lament has quit (Remote closed the connection).
20:55:59 -!- lament has joined.
21:03:09 -!- lament has quit (Remote closed the connection).
21:03:14 -!- lament has joined.
21:09:42 -!- lament_ has joined.
21:11:23 -!- lament has quit (Read error: 104 (Connection reset by peer)).
21:31:14 -!- oklopol has quit.
21:58:21 -!- oklopol has joined.
22:30:05 * SimonRC goes.
22:30:58 * bsmntbombdood arrives
22:54:30 -!- oklofok has joined.
22:54:30 -!- oklopol has quit (Read error: 104 (Connection reset by peer)).
23:01:12 -!- oklofok has quit (Read error: 104 (Connection reset by peer)).
23:01:18 -!- oklopol has joined.
23:32:21 -!- CakeProphet has joined.
23:49:39 -!- sebbu2 has joined.
←2007-01-19 2007-01-20 2007-01-21→ ↑2007 ↑all