| 00:00:03 | BinoX | Quite adventurous for a 1st AOS program.. heh |
| 00:00:06 | zerohero | is that something you're porting or writing from scratch? |
| 00:00:11 | zerohero | yes :) |
| 00:00:51 | BinoX | Well.. It's a bit of both... I've got a working version under windows (very basic and buggy) but it's written in c# with .net >_>;; |
| 00:01:03 | BinoX | So I have a structure.. but it's heavily windows reliant |
| 00:01:05 | zerohero | oops :) |
| 00:01:17 | BinoX | Well, it's a few years old now |
| 00:01:30 | | --> number6 (~user@3af339a2.31b34b44.dialup.citynet.net) has joined #amigadev |
| 00:01:36 | zerohero | all our browser are a few years old now :) |
| 00:01:40 | BinoX | The problem is, I drew is all using windows objects.. but you can't overlap reaction ones |
| 00:01:44 | zerohero | +s |
| 00:01:45 | BinoX | it* |
| 00:03:27 | zerohero | hmm, there hasn't been an aweb beta with amissl v3 support out yet, has it? |
| 00:03:38 | BinoX | I don't think so |
| 00:04:23 | zerohero | should be released as it's such a great feature |
| 00:04:35 | BinoX | Yeah :) |
| 00:04:36 | number6 | zerohero: Not that I know of and I'm running beta AWeb. |
| 00:04:37 | zerohero | really a lot faster than amissl v2 |
| 00:04:54 | zerohero | number6: i've had it for a week or so now :) |
| 00:05:13 | BinoX | Hmm.. Got any good (and simple) socket example for OS4? (I like to switch between tasks so I don't get bored) |
| 00:05:20 | zerohero | tho i didn't try amissl v2 under jit a lot |
| 00:05:46 | zerohero | there were some really simple examples on a wiki that's gone now |
| 00:05:54 | zerohero | let me see if i got them somewhere |
| 00:07:02 | zerohero | http://zerohero.homeip.net/~zerohero/server.c |
| 00:07:06 | zerohero | http://zerohero.homeip.net/~zerohero/socket.c |
| 00:07:09 | BinoX | I'm gunna try and make a plugin system to go with it to.. things like.. CONN_HTTP, CONN_HTTPS, CON_FTP, REN_HTML, REN_XHTML, REN_XML, etc |
| 00:07:19 | zerohero | not sure why i named the client socket.c tho ;) |
| 00:07:55 | nicomen | http://utilitybase.com/wiki/index.php?pagename=Sockets%20in%20C%20and%20C%2B%2B |
| 00:08:27 | zerohero | http://main.aminet.net/package.php?package=dev/c/PluginDemo.lha |
| 00:08:37 | zerohero | that's a good example of plugin use on amigaos |
| 00:09:16 | zerohero | has to be rewritten somewhat for os4, but it works |
| 00:09:46 | BinoX | Thanks :D |
| 00:09:52 | zerohero | nicomen: ah, you got a copy of it |
| 00:09:57 | BinoX | Well, it'll at least give me a good idea :D |
| 00:10:46 | BinoX | Thx for the help again zero and thanks to nicomem :D |
| 00:11:14 | BinoX | Gunna make captainfrank sorry for selling me his A1 by releasing the 1 thing he always wanted.. lol |
| 00:11:51 | zerohero | lol |
| 00:13:19 | BinoX | Then again.. if he didn't sell it, I wouldn't be doing it... heh... The vicious circle |
| 00:16:24 | BinoX | I'm glad I got the A1 :D I use it for all my dev work now... if I need my windows box for something I use VNC or rdesktop :D |
| 00:21:41 | AMiGR | I've a question: I'm writing some real time code (for a dsp project) to generate a triangular wave for a given period. now, since there's always going to be a certain overhead for the loop and calculations (and I'm going to measure this), I want the program to be able to generate a wave with a period that is less than overhead*512 (8bit DAC) |
| 00:22:27 | AMiGR | so, I need to get a smaller number of steps and still go up to 255 and down to 0 |
| 00:22:30 | AMiGR | how can I do that? |
| 00:24:12 | BinoX | lol.. I don't even understand the question xD |
| 00:24:43 | AMiGR | BinoX: I'll explain better after I write some more of the code, as I'll write what I mean in the comment;-) |
| 00:24:53 | BinoX | lol |
| 00:25:45 | | <-- number6 has quit (Ping timeout: 180 seconds) |
| 00:26:40 | BinoX | I think I'm gunna call it a night for coding... Time to get some earl grey tea and go to bed, so I can actually get up for work in the morning.. lol |
| 00:27:01 | | --> number6 (~user@3d9ffd99.31b34b44.dialup.citynet.net) has joined #amigadev |
| 00:27:05 | zerohero | sounds good, g'night to you :) |
| 00:27:11 | BinoX | Night :) |
| 00:27:18 | zerohero | and wb #6 |
| 00:27:33 | | -!- BinoX is now known as BinoX|ZzZzZ |
| 00:27:35 | number6 | Thank you. |
| 00:33:58 | | -!- BinoX|ZzZzZ is now known as BinoX |
| 00:34:09 | BinoX | Or I could just drink my tea here.. lol |
| 00:35:22 | BinoX | while reading that socket code :) |
| 00:36:15 | AMiGR | basically |
| 00:36:47 | AMiGR | I want to go from 0 to 255 in x number of steps |
| 00:36:52 | AMiGR | x<256 |
| 00:37:08 | AMiGR | but evenly as possible, integer only |
| 00:37:21 | AMiGR | (so, a step might be 1, another might need to be 2 or 3, whatever) |
| 00:39:24 | BinoX | So.. U wanna work out the best number to use as the increment counter...? |
| 00:39:44 | wegster | AMiGR: does the counter change? |
| 00:39:46 | AMiGR | yeah. and obviously, each step cannot be even |
| 00:40:11 | AMiGR | wegster: it will have to change |
| 00:40:49 | BinoX | cant you just make the amount it increases by a float or double and then round it to the nearest whole number? |
| 00:41:13 | wegster | use modulus to determine if it's even, divide into N number of steps as defined by the input.. |
| 00:42:06 | AMiGR | BinoX: not sure whether that would work, every step would be equal. basically, wait, I'll explain exactly what I want to do |
| 00:42:59 | wegster | reverse those even but you get the point, ie if needs to be done in N steps, 255/N and catch the remainder, if > 0 then 255/N-1 , then start your loop, and determine evenness via modulus. |
| 00:45:36 | AMiGR | wegster: sec, typing exactly what I'm going to do, since I didn't get what you said by reading and typing at the same time, will read it after I finish typing |
| 00:47:14 | AMiGR | I need to generate a triangle wave with a given period. obviously, the delay for every step is determined by (period/steps)-overhead. problem is, when the period gets so low that the overhead is greater than the delay needed, to get the right period, I'll have to compress the wave in the x direction (time) |
| 00:48:00 | AMiGR | so, will have steps = period/overhead |
| 00:49:25 | AMiGR | but it will still have to get the right amplitude, so I'll have to fit the 0-255-0, 512 steps in less than 512 steps in x |
| 00:49:34 | wegster | ok, so same as above applies, what you're really saying is the increment (N in above) is really period + overhead, no? And the last iteration will be 'compressed;,' iow < N |
| 00:50:12 | BinoX | Well... If it wasn't nearly 1am I could probably help.. lol |
| 00:50:50 | BinoX | I'm gunna get some sleep... I'm having trouble thinking... Be back tomorrow... Night all :) |
| 00:50:54 | AMiGR | wegster: in this case, the increment in x will always be = to the overhead |
| 00:51:04 | | -!- BinoX is now known as BinoX|zZzZz |
| 00:51:08 | AMiGR | so I'll have to vary the y increment |
| 00:51:40 | wegster | is overhead a constant value, or does it change when the last cycle is 'compressed'? |
| 00:52:04 | AMiGR | it's a constant value, calculated by timing a test run |
| 00:53:28 | wegster | ok, so then go read above what I wrote, I think it's still valid then. |
| 00:53:42 | AMiGR | ok |
| 00:59:56 | nicomen | zerohero: no, it's not a copy, it's the original one with new colors ;) |
| 01:25:53 | | <-- bones has quit (Quit: This computer has gone to sleep) |
| 01:29:18 | AMiGR | wegster: will tell you if I got it in a minute, I'm writing the full code of the program, will read what you said carefully when I reach that point, the only way I can focus on it |
| 01:29:31 | AMiGR | (late time, short attention span) |
| 01:37:10 | | <-- number6 has left #amigadev |
| 01:42:12 | | <-- zerohero has quit (Quit: Client exiting) |
| 02:26:37 | | --> zerohero (~zerohero@231e202b.1d2128.tn.glocalnet.net) has joined #AmigaDev |
| 03:04:59 | | --> number6 (~user@a9a2d23.31b34b44.dialup.citynet.net) has joined #amigadev |
| 03:23:18 | AMiGR | wegster: I'm an idiot, I've found a much easier way to do what I want |
| 03:24:00 | AMiGR | just double the step to get half the period and change the delay to go up to the needed period |
| 03:24:51 | AMiGR | so, for period < delay |
| 03:25:05 | AMiGR | period *= 2 |
| 03:25:09 | nicomen | ;) |
| 03:25:10 | AMiGR | and step = 2; |
| 03:25:16 | AMiGR | :-P |
| 03:28:55 | | <-- number6 has quit (Ping timeout: 180 seconds) |
| 03:35:12 | | --> number6 (~user@3276d35c.31b34b44.dialup.citynet.net) has joined #amigadev |
| 03:38:31 | | <-- number6 has quit (Quit: Be seeing you) |
| 05:06:26 | | --> jahcass (~jahc@3d716d1f.113ade0c.xnet.co.nz) has joined #amigadev |
| 05:06:26 | | <-- jahc has quit (Read error: Connection reset by peer) |
| 05:06:33 | | -!- jahcass is now known as jahc |
| 05:09:57 | | --> Belxjander (~Belxjande@3c041c4.654d39d.clear.net.nz) has joined #AmigaDev |
| 05:26:24 | | <-- redblue has quit (Ping timeout: 180 seconds) |
| 05:34:41 | | <-- Bitpool has quit (Read error: Connection timed out) |
| 05:46:10 | | --> redblue (~star@1f5b825b.12ed360d.mt.videotron.ca) has joined #amigadev |
| 07:04:08 | | <-- Varthall has quit (Quit: ) |
| 07:29:27 | | --> bones (~darren@1a9e3c85.11de379d.demon.co.uk) has joined #amigadev |
| 07:41:03 | | <-- BinoX|zZzZz has quit (Read error: Connection reset by peer) |
| 07:56:31 | | <-- jahc has quit (Quit: god=noob coder. He had to wait 6 days to compile the earth.) |
| 08:26:09 | | <-- MrBot has quit (Ping timeout: 180 seconds) |
| 08:28:50 | | --> MrBot (~boing@2af52808.76b3cfb.nvg.ntnu.no) has joined #amigadev |
| 08:42:06 | | --> Bitpool (icechat5@20846cb9.371cd19e.1654620b.17dc4bf9X) has joined #amigadev |
| 09:01:44 | | <-- wegster has quit (Ping timeout: 180 seconds) |
| 09:02:02 | | --> wegster (~wegster@2d996ff7.3d716d1f.res.rr.com) has joined #amigadev |
| 10:38:02 | | <-- Belxjander has quit (Ping timeout: 180 seconds) |
| 10:40:06 | | --> Belxjander (~Belxjande@3c041c4.654d39d.clear.net.nz) has joined #AmigaDev |
| 10:41:02 | | <-- Belxjander has quit (Client closed connection) |
| 10:46:33 | | <-- Bitpool has quit (Read error: Connection reset by peer) |
| 10:52:37 | | --> Bitpool (icechat5@20846cb9.371cd19e.1654620b.17dc4bf9X) has joined #amigadev |
| 11:15:42 | | <-- redblue has quit (Quit: Happiness isn't something you experience; it's something you remember. -OL) |
| 11:23:12 | | --> redblue (~star@2d34f077.12ed360d.mt.videotron.ca) has joined #amigadev |
| 11:23:29 | | <-- zerohero has quit (Quit: Client exiting) |
| 11:47:10 | | --> zerohero (~zerohero@231e202b.1d2128.tn.glocalnet.net) has joined #AmigaDev |
| 12:35:38 | | --> Belxjander (~Belxjande@2d8b4caa.19108886.xtra.co.nz) has joined #AmigaDev |
| 12:38:46 | | <-- Belxjander has quit (Ping timeout: 180 seconds) |
| 14:04:22 | nicomen | morn |
| 15:11:28 | zerohero | zerohero has changed the topic to: Amiga development channel | clib2 1.199 | Use http://utilitybase.com/paste for huge pastings | http://utilitybase.com | http://www.rootdirectory.de/solar/citations.html <-- teh funneys | http://www.ylonen.org/away.html |
| 16:39:45 | | --> racs (~not.tod@9b184f5.1383ffec.catv.broadband.hu) has joined #amigadev |
| 16:39:46 | racs | hi |
| 16:39:48 | MrBot | [racs] Pimp my flowers! ;) |
| 17:18:10 | | <-- redblue has quit (Ping timeout: 180 seconds) |
| 17:25:19 | | --> BinoX (~BinoX@2850d5e8.24785cc1.demon.co.uk) has joined #amigadev |
| 17:25:24 | BinoX | Hello again all :D |
| 17:47:41 | racs | hello BinoX |
| 18:08:13 | | --> Dessimat0r (~lol@23fa4838.f4f1334.broadband.ntl.com) has joined #amigadev |
| 18:25:55 | | <-- BinoX has quit (Read error: Connection reset by peer) |
| 19:42:59 | racs | gone |
| 19:43:02 | racs | bye all |
| 19:43:15 | | <-- racs has quit (Quit: ) |
| 19:44:25 | | --> BinoX (~BinoX@2850d5e8.24785cc1.demon.co.uk) has joined #amigadev |
| 19:44:27 | BinoX | Hello :D |
| 19:44:34 | BinoX | Anyone around? heh |
| 19:45:04 | BinoX | Just wanted to confirm... a crlf is \r\n isn't it? |
| 20:04:43 | | <-- BinoX has quit (Read error: Connection reset by peer) |
| 21:14:03 | | --> number6 (~user@112cbe95.31b34b44.dialup.citynet.net) has joined #amigadev |
| 21:15:55 | | <-- zerohero has quit (Quit: Client exiting) |
| 21:20:35 | | --> zerohero (~zerohero@231e202b.1d2128.tn.glocalnet.net) has joined #AmigaDev |
| 21:46:18 | | --> jahc (~jahc@jahc.Amigaworld.Net) has joined #amigadev |
| 21:47:41 | zerohero | hey jahc |
| 21:49:37 | jahc | morning |
| 22:00:46 | | <-- number6 has left #amigadev |
| 22:30:47 | | <-- jahc has quit (Read error: Connection reset by peer) |
| 22:30:54 | | --> jahc (~jahc@jahc.Amigaworld.Net) has joined #amigadev |
| 22:34:21 | | <-- Dessimat0r has quit (Ping timeout: 180 seconds) |
| 23:12:28 | | <-- jahc has quit (Read error: Connection reset by peer) |
| 23:23:23 | | <-- zerohero has quit (Quit: Client exiting) |
| 23:26:54 | | --> zerohero (~zerohero@231e202b.1d2128.tn.glocalnet.net) has joined #AmigaDev |
| 23:45:23 | | --> jahc (~jahc@jahc.Amigaworld.Net) has joined #amigadev |
| | |