Amiga.org

Coffee House => Coffee House Boards => CH / General => Topic started by: giZmo350 on May 10, 2018, 01:25:02 AM

Title: Amiga.org Proxy......
Post by: giZmo350 on May 10, 2018, 01:25:02 AM
Hello Karlos..... Just curious, will the Proxy ever come back online? :confused:

http://aoproxy.extropia.co.uk/

I really appreciate the effort you put into it and I miss using it with IBrowse.

Thanks.............
Title: Re: Amiga.org Proxy......
Post by: kolla on May 10, 2018, 01:21:30 PM
Funny, I was just about to make a thread asking for the same thing.

It would be cool with some "legacy compatible" gateway proxy to all the Amiga forums... and while dreaming, why not NNTP gateway while at it :)
Title: Re: Amiga.org Proxy......
Post by: Karlos on May 10, 2018, 07:15:17 PM
There were some issues following a hosting migration. The extropia domain has always been kindly hosted by a good friend and they currently have much more important things to worry about. My copy of the source is on my dead HD. I can probably get a copy from the server and dump it in github so that it can be hosted by anyone.
Title: Re: Amiga.org Proxy......
Post by: Karlos on May 10, 2018, 08:37:38 PM
To be honest, the best place to host it would be on a sub domain of this site. That was the intention originally.
Title: Re: Amiga.org Proxy......
Post by: giZmo350 on May 10, 2018, 08:45:42 PM
I just donated £15.00 GBP to A-EON Technology Ltd to help git 'er done! :)

Excellent suggestion Karlos and thanks for your help!
Title: Re: Amiga.org Proxy......
Post by: LoadWB on May 10, 2018, 10:29:05 PM
What is needed for the proxy?  I'm not opposed to throwing up a VM in my cluster. It could easily have something like "proxy.amiga.org" or "classic.amiga.org" or whatever pointed at it.
Title: Re: Amiga.org Proxy......
Post by: giZmo350 on May 10, 2018, 10:53:23 PM
Quote from: LoadWB;839193
What is needed for the proxy?  I'm not opposed to throwing up a VM in my cluster. It could easily have something like "proxy.amiga.org" or "classic.amiga.org" or whatever pointed at it.

That would be great! It wouldn't matter as long as it's not a secure site (https). Here is a link to the original discussion that Karlos started in 2010. Maybe sift thru that link to get an idea of how it was originally setup. Maybe you could get in touch with Karlos too.... :)

http://www.amiga.org/forums/showthread.php?t=51457
Title: Re: Amiga.org Proxy......
Post by: Karlos on May 11, 2018, 01:37:16 AM
Quote from: LoadWB;839193
What is needed for the proxy?  I'm not opposed to throwing up a VM in my cluster. It could easily have something like "proxy.amiga.org" or "classic.amiga.org" or whatever pointed at it.


The source code would be an excellent start. Other than that just php5, though it is probably high time it was modernised.
Title: Re: Amiga.org Proxy......
Post by: nicholas on May 11, 2018, 07:11:41 AM
Quote from: gizmo350;839192
I just donated £15.00 GBP to A-EON Technology Ltd to help git 'er done! :)

Excellent suggestion Karlos and thanks for your help!

Surely the author of the code deserves your donation more? ;)
Title: Re: Amiga.org Proxy......
Post by: Karlos on May 11, 2018, 10:05:01 PM
Quote from: nicholas;839202
Surely the author of the code deserves your donation more? ;)


The proxy was a labour of love and was not written for any reason other than to give a better experience for the minority of users actually using their classic systems to come here. Still it seems fitting that only in Amiga circles does the issue of lost source warrant someone throwing money at someone to do something. We should have a bounty too lol
Title: Re: Amiga.org Proxy......
Post by: nicholas on May 11, 2018, 10:11:16 PM
Quote from: Karlos;839227
The proxy was a labour of love and was not written for any reason other than to give a better experience for the minority of users actually using their classic systems to come here. Still it seems fitting that only in Amiga circles does the issue of lost source warrant someone throwing money at someone to do something. We should have a bounty too lol


Why have one when you can now have three in a pack? ;)

(http://www.kantartzisfoods.gr/pics/Zaxarodi/mars/Bounty-Triple-Milk-85g.jpg)
Title: Re: Amiga.org Proxy......
Post by: giZmo350 on May 11, 2018, 10:26:44 PM
To A-EON and any others who may help revive the A.O Proxy, please feel free to divvy up my $20.06 donation amongst yourselves! :D
Title: Re: Amiga.org Proxy......
Post by: Oldsmobile_Mike on May 11, 2018, 10:40:48 PM
Quote from: gizmo350;839231
To A-EON and any others who may help revive the A.O Proxy, please feel free to divvy up my $20.06 donation amongst yourselves! :D

(https://tctechcrunch2011.files.wordpress.com/2009/07/scrooge-mcduck-make-it-rain.jpg?w=278&h=253)
Title: Re: Amiga.org Proxy......
Post by: nicholas on May 12, 2018, 12:22:49 AM
I'm posting this right now from Netsurf m68k from Aminet.

Why is the proxy needed again?
Title: Re: Amiga.org Proxy......
Post by: LoadWB on May 12, 2018, 01:44:15 AM
Quote from: nicholas;839234
I'm posting this right now from Netsurf m68k from Aminet.

Why is the proxy needed again?


Does NetSurf work with ECS and AGA?  I have not messed with it in so long I forgot.
Title: Re: Amiga.org Proxy......
Post by: bbond007 on May 12, 2018, 03:38:06 AM
Quote from: LoadWB;839236
Does NetSurf work with ECS and AGA?  I have not messed with it in so long I forgot.


Yeah, I know it works on my A1200/060 to some extent. It's more a novelty then something you'd actually use.

You won't be watching Youtube, let's put it that way.
Title: Re: Amiga.org Proxy......
Post by: Pyromania on May 12, 2018, 04:44:12 PM
I've heard that NetSurf is cool.
Title: Re: Amiga.org Proxy......
Post by: kolla on May 12, 2018, 08:10:13 PM
I want a version of the site that scales all bitmaps to half height, for my HiRes non-laced display.
Title: Re: Amiga.org Proxy......
Post by: Karlos on May 12, 2018, 08:48:28 PM
Quote from: kolla;839246
I want a version of the site that scales all bitmaps to half height, for my HiRes non-laced display.


And you can have it, as soon as I have recovered the source.
Title: Re: Amiga.org Proxy......
Post by: nicholas on May 13, 2018, 12:22:16 AM
Quote from: Karlos;839248
And you can have it, as soon as I have recovered the source.

Maybe I could start a bounty to get off my arse and pull the backup from my server?

Starting at one million dollars mwuahahah!
Title: Re: Amiga.org Proxy......
Post by: Karlos on May 13, 2018, 10:28:54 AM
Quote from: nicholas;839251
Maybe I could start a bounty to get off my arse and pull the backup from my server?

Starting at one million dollars mwuahahah!


I think it's spelled "meeeeellion"
Title: Re: Amiga.org Proxy......
Post by: nicholas on May 13, 2018, 12:21:50 PM
Quote from: Karlos;839253
I think it's spelled "meeeeellion"

And I want USD not Canadian! Lol
Title: Re: Amiga.org Proxy......
Post by: nicholas on May 13, 2018, 04:52:12 PM
OK. I have the code to Karlos' aoproxy in my possession.

I refuse to free it until you tightwad Amiga users hand over £2000 GBP.

Start looking down the back of your couches boys!
Title: Re: Amiga.org Proxy......
Post by: LoadWB on May 14, 2018, 03:56:34 AM
Quote from: nicholas;839260
OK. I have the code to Karlos' aoproxy in my possession.

I refuse to free it until you tightwad Amiga users hand over £2000 GBP.

Start looking down the back of your couches boys!


Will Monopoly money suffice?
Title: Re: Amiga.org Proxy......
Post by: Karlos on May 14, 2018, 08:15:27 AM
Quote from: LoadWB;839278
Will Monopoly money suffice?


He said Sterling, not USD...
Title: Re: Amiga.org Proxy......
Post by: nicholas on May 14, 2018, 08:29:49 AM
Quote from: Karlos;839281
He said Sterling, not USD...

And I don't mean Moss either.
Title: Re: Amiga.org Proxy......
Post by: giZmo350 on May 14, 2018, 04:00:43 PM
Quote from: nicholas;839260
OK. I have the code to Karlos' aoproxy in my possession.

I refuse to free it until you tightwad Amiga users hand over £2000 GBP.

Start looking down the back of your couches boys!

(https://media.makeameme.org/created/aw-cmon-this.jpg)
Title: Re: Amiga.org Proxy......
Post by: nicholas on May 14, 2018, 07:16:52 PM
Quote from: gizmo350;839293
(https://media.makeameme.org/created/aw-cmon-this.jpg)

Servers cost money to run Gizmo.

And my time costs money too.
Title: Re: Amiga.org Proxy......
Post by: kolla on May 14, 2018, 07:18:52 PM
Quote from: nicholas;839300
Servers cost money to run Gizmo.


A proxy does not require a server, just throw it up in the cloud :)
Title: Re: Amiga.org Proxy......
Post by: nicholas on May 14, 2018, 07:30:33 PM
Quote from: kolla;839302
A proxy does not require a server, just throw it up in the cloud :)

It cost money for the last 8 years.

It will also cost me time to do anything with it. Time==Money.
Title: Re: Amiga.org Proxy......
Post by: Karlos on May 14, 2018, 09:30:22 PM
Quote from: kolla;839302
A proxy does not require a server, just throw it up in the cloud :)

It's not that kind of proxy. It is a content transformation tool with some session management. You can't just dump it into google app engine free tier, it needs storage. You can't use the filesystem in app engine so you are already looking at GCS or similar.
Title: Re: Amiga.org Proxy......
Post by: Oldsmobile_Mike on May 14, 2018, 09:35:39 PM
Quote from: Karlos;839315
It's not that kind of proxy. It is a content transformation tool with some session management. You can't just dump it into google app engine free tier, it needs storage. You can't use the filesystem in app engine so you are already looking at GCS or similar.


is there a $x amount associated with this work?  Throw one out there and lets see what the community can come up with.  :)
Title: Re: Amiga.org Proxy......
Post by: nicholas on May 14, 2018, 09:58:20 PM
Quote from: Oldsmobile_Mike;839316
is there a $x amount associated with this work?  Throw one out there and lets see what the community can come up with.  :)

Two grand GBP. Karlos doesn't have the code, I do.
Title: Re: Amiga.org Proxy......
Post by: Karlos on May 14, 2018, 10:12:51 PM
Quote from: nicholas;839317
Two grand GBP. Karlos doesn't have the code, I do.


Think of the children. Won't someone think of the children?!
Title: Re: Amiga.org Proxy......
Post by: nicholas on May 14, 2018, 10:28:04 PM
Quote from: Karlos;839319
Think of the children. Won't someone think of the children?!

It's ma' feckin' code noo ye wee sassanach!
Title: Re: Amiga.org Proxy......
Post by: kolla on May 14, 2018, 10:42:46 PM
More storage than what can just be kept in RAM? Really?
Title: Re: Amiga.org Proxy......
Post by: Oldsmobile_Mike on May 14, 2018, 11:10:56 PM
Quote from: nicholas;839317
Two grand GBP. Karlos doesn't have the code, I do.


Hard to tell if you are being flip.  I was prepared to pitch in a reasonable sum of a hundred bucks or so.  If that is the case then I guess the proxy is dead.  R.I.P.  :(
Title: Re: Amiga.org Proxy......
Post by: nicholas on May 14, 2018, 11:19:00 PM
Quote from: Oldsmobile_Mike;839323
Hard to tell if you are being flip.  I was prepared to pitch in a reasonable sum of a hundred bucks or so.  If that is the case then I guess the proxy is dead.  R.I.P.  :(

Bigger bounties have been collected for less useful code.  It's all in a good cause. I won't keep it for myself.
Title: Re: Amiga.org Proxy......
Post by: Karlos on May 15, 2018, 12:50:50 AM
Quote from: kolla;839321
More storage than what can just be kept in RAM? Really?


Probably not, but that's  just not generally how it works in the web application world. You want to use memory backed storage? You use memcache or similar. Your application code isn't constantly running, it is launched when a http request arrives, does a job, returns a result and exits. The "ram" is just volatile storage valid for the current thread of execution only. It's worse in an app engine cloud like environment as each request can result in firing up an entirely new container instance.

The proxy is just a simple php application. The local storage is for managing cookies from the target site and the session data for each user.
Title: Re: Amiga.org Proxy......
Post by: giZmo350 on May 15, 2018, 03:08:07 AM
Navigating AmiPeeps lately....... Wait for it!!!
HAHAHAHAHAHAHAHAHAHA!!!!

#TOMPETTY - Even The Losers

(https://i2.wp.com/knuckledraggin.com/wp-content/uploads/2018/05/low-trailer-gif.gif?resize=577%2C390)
Title: Re: Amiga.org Proxy......
Post by: kolla on May 15, 2018, 09:55:07 AM
Quote from: Karlos;839327
Probably not, but that's  just not generally how it works in the web application world.


In the web application world, you now use application containers, storage containers, and some load balancer solution in front of it.

But (using the more traditional approach with a server), why not take inspiration from Amiga, and just tar out data to a ram disk during boot of the VM (or the container or whatever) :)

Quote

The proxy is just a simple php application. The local storage is for managing cookies from the target site and the session data for each user.


Not exactly huge data, and doesn't even need to survive reboots. It does sound like something that could be dropped into a paas somewhere, or a simple vhost at some VPS provider, VMware or whatever.
Title: Re: Amiga.org Proxy......
Post by: nicholas on May 15, 2018, 11:25:58 AM
Quote from: kolla;839332
In the web application world, you now use application containers, storage containers, and some load balancer solution in front of it.

But (using the more traditional approach with a server), why not take inspiration from Amiga, and just tar out data to a ram disk during boot of the VM (or the container or whatever) :)



Not exactly huge data, and doesn't even need to survive reboots. It does sound like something that could be dropped into a paas somewhere, or a simple vhost at some VPS provider, VMware or whatever.

All well and good, but that involves time and time costs money.
Title: Re: Amiga.org Proxy......
Post by: Karlos on May 15, 2018, 12:01:22 PM
Quote from: kolla;839332
In the web application world, you now use application containers, storage containers, and some load balancer solution in front of it.

For new projects, yes. This was just some old school php that ran on my old server account, written years ago.

Quote
But (using the more traditional approach with a server), why not take inspiration from Amiga, and just tar out data to a ram disk during boot of the VM (or the container or whatever) :)


For the VM, ram disk offers nothing. The filesystem area where the data are persisted is hot and cached already. The latency is all in the http requests to this site. Even the processing of the content is fast.

For containers, the volatility of containers in particular precludes this without a persistence layer because users will be logged out all over the place without warning when the container is torn down.

Quote
Not exactly huge data, and doesn't even need to survive reboots. It does sound like something that could be dropped into a paas somewhere, or a simple vhost at some VPS provider, VMware or whatever.


As said above, the size of the data is not the issue. However reimplementing it all to be containerised and use a storage bucket is a task big enough to warrant a total rewrite anyway.
Title: Re: Amiga.org Proxy......
Post by: kolla on May 15, 2018, 02:20:36 PM
So, could I have the proxy code and just do it?
Title: Re: Amiga.org Proxy......
Post by: nicholas on May 15, 2018, 07:54:52 PM
Code: [Select]
[root@denise home]# locate extropia                                                                          
/opt/cpanel/ea-php70/root/etc/php-fpm.d/aoproxy.extropia.co.uk.conf.save                                    
/opt/cpanel/ea-php70/root/etc/php-fpm.d/avatargraveyard.extropia.co.uk.conf.save                            
/opt/cpanel/ea-php70/root/etc/php-fpm.d/extropia.co.uk.conf.save                                            
/opt/cpanel/ea-php70/root/etc/php-fpm.d/moo2.extropia.co.uk.conf.save                                        
/var/log/apache2/domlogs/ftp.extropia.co.uk-ftp_log.offsetftpbytes

Looks like I no longer have it. What a shame!
Title: Re: Amiga.org Proxy......
Post by: Karlos on May 15, 2018, 08:33:25 PM
Erm... Whoops?
Title: Re: Amiga.org Proxy......
Post by: eliyahu on May 16, 2018, 10:04:05 PM
@thread

ok, that's beyond the pale. you want to talk international politics, knock yourself out. in fact i've moved all the avatar-related nonsense to the coffee house where it belongs. but this site will NOT tolerate anti-semitic or anti-islamic insults. don't give me any crap about free speech, and don't try and excuse it. this is a private server, and it's just not on.

the user in question is banned for three months; if i ever see it again, it will be permanent. oh, and this topic is now closed.

-- eliyahu