I went into box2 and killed the old homepage image. You can see the line that was the process here [1].
This also involved deleting the symlink as well. [2] The service directory in /home/website is now gone as well.
The wildcard DNS routes unknown subdomain requests to some daemontools service for looking at old mailing lists. I don't think it's a process.
It's some kind of cgi-bin thing. Check it out:
http://foobar.squeak.org
Deleting symlinks and service directories is a tad barbaric. I'm getting under svc -d /service/fooservice and such to stop services instead.
But this is a sunset box. By St. Patrick's Day next year, it will be gone.
Chris
[1]
website 577 24.9 10.2 1051420 99212 ? S Mar16 44:39 /usr/bin/squeakvm -vm-display=none /home/website/website/squeaksite.image
[2]
/service
lrwxrwxrwx 1 root root 24 Sep 27 2008 www.squeak.org -> /home/website/servicenew
I've gone over the links on the homepage and they all work.
The download links have been changed to the 4.5 all-in-one in the ftp repository.
Have a nice weekend,
Chris
Backlog of change requests in no particular order:
Tim
http://lists.squeakfoundation.org/pipermail/webteam/2014-March/001384.html
Chris M.
http://lists.squeakfoundation.org/pipermail/webteam/2014-March/001392.htmlhttp://lists.squeakfoundation.org/pipermail/webteam/2014-March/001399.html
Eliot
http://lists.squeakfoundation.org/pipermail/webteam/2014-March/001421.htmlsqueak.org issues:
- some image links are to chriscunnington.com
- zip resources for faster download
- use minified versions of files
- put 4.5 announcement between Welcome To Squeak and Take Part In The Innovation
- says 4.4 instead of 4.5
- get that 404 image (broken paper showing a code browser) out of my email Archive
- explore wrapbootstrap.com for ideas
- check multi platform layouts (i.e. cell phone, tablet)
Update Procedure:
I'm going to monopolize site update for the time being, as the update procedure is untried and specific to me.
When it settles down we can change it. It works as follows.
There is no in-server persistence. The persistence is Desktop persistence -- the master is on my desktop (backed up weekly; maybe I could put it in my Dropbox for people to access?).
I change the site in localhost. I then zip the image and changes files for FTP upload.
In /home/chriscunnington (someday I think we'll need a directory called /home/website) I execute a script called prepuploadediimage.sh. It looks like this:
#!/bin/sh
unzip squeak.org.zip
rm -rf __MACOSX
rm -rf /home/chriscunnington/squeak.org/.DS_Store
rm -rf squeak.org.zip
chmod 777 /home/chriscunnington/squeak.org/*
ln -s /usr/lib/squeak/sources/SqueakV41.sources /home/chriscunnington/squeak.org/SqueakV41.sources
There are two things to notice there, I'd say. The first is that the permissions are probably set too high.
If anybody has a preference other than 777 (that works), then I'll implement it.
The second thing is that Ken wanted to save space by having only one SqueakV41.sources file that people symlink to.
Once the new image is in place ( and I guess I missed the part where I delete the old image before uploading) I kill the website process, which at the moment is owned by me.
Daemontools restarts the process with the new image.
I'm going to review the homepage first and change the download link to 4.5.
Chris
I did a quick circuit around the subdomains and everything looks fine.
Unless somebody sees something else that's been dropped, I'd say things are now back to normal.
That being the case, I'll turn tomorrow to updating squeak.org with the backlog of requested changes on the webteam list.
I have appreciated your patience and restraint in this matter.
Time was. people's reactions could have gone a whole other way. I said as much today talking to Colin.
Chris
http://www.youtube.com/watch?v=Tsr-XtuKuSw
>I have taken the liberty to tinker with the dns stuff:
>I changed the dns data file to:
> * make box2 explicit
> * point A for 'squeak.org' and 'www.squeak.org' to box4
> * point MX for 'squeak.org' to 'box2.squeakfoundation.org'
> * point * to box2
>As soon as the caches update, everything should be fine again™
These changes look great.
Thanks, Tobias!
Chris
Hi All,
I love the look of www.squeak.org's front page, however I think the
Cog part is out of date and not particularly helpful. May I make the
following suggestions?
1. The text underneath "Cog JIT VM" would be better if it used the text
from http://www.mirandabanda.org/cogblog/about-cog/ (see below)
2. the "Cog JIT VM" More... link goes to http://www.squeakvm.org/index.html,
which is, I think, a non-sequitur, ecauser the page doesn't say anything
obvious about Cog. If the page is to be kept then it needs to say at least
"The Squeak Virtual Machine". But better might be to link directly to my
blog.
Here's the text from http://www.mirandabanda.org/cogblog/about-cog
"Cog is a virtual machine designed for Smalltalk and other similar dynamic
languages. Cog builds on the Squeak virtual machine adding a
stack-to-register-mapping just-in-time compiler, aggressive in-line message
cacheing and effective optimization of Smalltalk's first-class activation
records. Cog is the virtual machine underlying Teleplace's Croquet-based
enterprise virtual collaboration spaces software, the fastest virtual
machine for Squeak, and for Gilad Bracha's Newspeak modular language
inspired by Beta and Smalltalk. Like the original Squeak VM, Cog is
implemented and developed in Smalltalk, and translated into a lower-level
language to produce the production VM. Being a Smalltalk program it is a
delight to develop. Cog is available under the MIT open source license and
is unencumbered for commercial deployment.
Cog's performance relative to the existing Squeak interpreter varies,
depending on the benchmark chosen. As of early-2011, the Cog JIT uses
strong inline cacheing techniques and stack-to-register mapping that
results in a register-based calling convention for low-arity methods. Due
to the complexity of the Squeak object representation it has a limited set
of primitives implemented in machine code that, for example, exclude object
allocation. Performance of the early-2011 JIT for the nbody, binarytrees
and chameneos redux benchmarks from the computer language shootout is in
the range of 4 to 6 times faster than the interpreter.
I am writing an occasional series of blog posts describing the
implementation on this site. See the Cog category at the left side of the
page. Currently I'm working on a new memory manager with a much improved
object representation and garbage collector. See the Spur category at the
left side of the page.
Cog is now the standard VM for Squeak, Pharo and Newspeak."
--
best,
Eliot
It's been brought to my attention that I've been reading the Makefile in box2 wrong.
This is certain, because I though the symbols were BASH. They're not. Makefile has it's own, apparently.
cat Makefile
data.cdb: data
/usr/bin/tinydns-data
rm data
data: data.in cdegroot-secondary.data.in
cat $? >$@
I've been concerned with the first part.
The second part is about this file [1] which has not been updated since 2007. I think it can be ignored.
Try this:
http://www.cdegroot.com/
Though I will admit I just had to open Intro To GCC to grok how wrong I was about how Makefiles work.
I'm of the opinion that this part of the Makefile is legacy and can be removed.
I have to go to an appointment and will be away for several hours.
Chris
[1]
cat cdegroot-secondary.data.in
.cdegroot.com:85.10.192.171:a
.cdegroot.com:85.10.195.197:b
@cdegroot.com:85.10.192.171:a
+cdegroot.com:85.10.192.171
+*.cdegroot.com:85.10.192.171
#
.klickt.info:85.10.192.171:a
.klickt.info:85.10.195.197:b
@klickt.info:85.10.192.171:a
+klickt.info:85.10.192.171
+*.klickt.info:85.10.192.171
#
.stephaniebaquet.com:85.10.192.171:a
.stephaniebaquet.com:85.10.195.197:b
@stephaniebaquet.com:85.10.192.171:a
+stephaniebaquet.com:85.10.192.171
+*.stephaniebaquet.com:85.10.192.171
#
.noriensiemons.info:85.10.192.171:a
.noriensiemons.info:85.10.195.197:b
@noriensiemons.info:85.10.192.171:a
+noriensiemons.info:85.10.192.171
+*.noriensiemons.info:85.10.192.171
OK, I've updated /etc/service/tinywiki/data.cdb on box2.
1. I added a 3600 second TTL to all squeak.org subdomains.
2. I commented out the wildcard and added separate lines for each of the following services: ftp; bugs; wiki; map; www; and, source.
It's an anomaly of the Makefile on box2 that it deletes the file called data, which I was just editing, so I cannot copy and past it here at the moment. I'll do it on the next rev.
The current TTL is 86400, so I imagine that will take 24 hours to completely flush out before hourly iteration can begin.
Thank you for your patience,
Chris
http://box4.squeak.org
I've done the first of two parts. I've changed the config file nginx.conf to proxy to the running image. [1]
In strict terms, since the port number has been removed (i.e. It is no no longer box4.squeak.org:8624) the image is deployed.
Unfortunately, without a "www" subdomain or no subdomain (i.e. http://squeak.org) not many people are going to find it.
Thus I now turn to tinydns. When that's done, it's deployed.
Chris
[1]
I copied default.conf into default.conf_master.
I then hacked default.conf, which now contains only:
server {
listen 80;
server_name *.squeak.org;
location / {
proxy_pass http://127.0.0.1:8624;
}
}