Washuu

Show:

What's happening?

  • Comment: redirection doesn't always work...

    Logged In: YES user_id=1206223 also URL http://www.allegro.pl/show_item.php?item=63000625 doesn't work, but the message is different: No address associated with name Hmmm... maybe I'm doing something wrong? But another URLs from this site are fetched OK.

    2005-09-25 12:48:36 UTC in HTTP Fetcher

  • Comment: redirection doesn't always work...

    Logged In: YES user_id=1206223 also, http_perror doesn't print my error message in this case... I use debian sid, gcc-3.4 and http_fetcher from .deb package. Washuu.

    2005-09-25 12:07:48 UTC in HTTP Fetcher

  • redirection doesn't always work...

    try to get http://www.allegro.pl/show_item.php?item=63000123 it is (in browser) redirected to http://www.otomoto.pl/index.php?sect=show&id=M83878 but http_fetcher complains: Status code of 302 but no Location: field OK, but somehow the browser knows how to do this redirection, why http_fetcher does not?.

    2005-09-25 11:41:05 UTC in HTTP Fetcher

  • proper freeing memory allocated by http_fetch

    hi, there is the snippet of code: char * buf; int n=100; while (n-->0) { if (http_fetch (some_url,&buf)>0) { html_parse(buf); free (buf); } } html_parse does not modify contains of the buffer in any way. But, very often, I got "Segmentation fault" error (depends on URL). Is the following code proper in sense of freeing memory alllocated by...

    2005-09-25 10:51:26 UTC in HTTP Fetcher

  • Followup: RE: REDIRECT help

    OK, I managed to do it. I have got very old version of Firehol, and I don't know why apt-get didn't updated this since a very long time. I forced apt-get to install firehol again, It changed to 1.214 version, and everything worked like it was supposed to. Thank you. But why "REDIRECT" is marked in documentation as "only for developers"? I am not a developer, but still...

    2005-08-11 14:15:49 UTC in FireHOL

  • Followup: RE: REDIRECT help

    Here's whai I got: ERROR #:1 WHAT : Initializing nat WHY : nat cannot be used in 'interface'. Put it before any 'interface' definition. COMMAND: nat redirect-to 22 inface eth0 src 1.1.1.0/24 proto tcp dport 443 SOURCE : line 2 of /etc/firehol/firehol.conf unfortunately, this is BEFORE any "interface" definition... For now I put my line in another /etc/rc3.d script...

    2005-08-11 13:43:41 UTC in FireHOL

  • REDIRECT help

    i want to put something like this into firehol: iptables -t nat -A PREROUTING -p tcp -s 1.2.3.0/24 --dport 443 -j REDIRECT --to-port 22 Unfortunately, REDIRECT command isn't very well documented, perhaps someone could help? or maybe REDIRECT isn't good command in this case? Washuu.

    2005-08-09 08:55:39 UTC in FireHOL

  • more memory?

    hi, i am using computer mailnly for mathematical computations that use a VERY big amounts of memory, i.e 700 MB (solving matrices). I suppose 7max can help me a little. Most of the programs I write myself under cygwin, but there are also another in pure C/WinAPI. Should I give more memory to 7 max? Can it be, for example 800 MB out of 1 GB? And BTW: I don't quite understand, why...

    2005-07-15 19:38:02 UTC in 7-max

  • Followup: A simple multiplication...

    hi, I'm just starting adventure with NN. I'm trying to learn my ann 4 bit multiplication. I tried with 1 and 2 hidden layers, and many numbers of neurons, and couldn't get error below 1. Did anyone tried something like that? Any suggestions? Of course i know the results won't be in {0,1} set, but float. Snippet from my definition file: 256 8 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 1...

    2005-01-27 16:42:27 UTC in Fast Artificial Neural Network Library

About Me

  • 2005-01-27 (5 years ago)
  • 1206223
  • rstanile (My Site)
  • Washuu

Send me a message