Archamedis.NET - The Code Strikes Back!
My software never has bugs. It just develops random features.


News/Blog
Vintage Mac Swoon
Mon, 16 Jul 2018 23:14:15 -0500
#mac #vintage

vintage macs

2 of our vintage macs in operation (L - Mac Plus 1mb with brainstorm, R - Mac SE with 2 800k drives). Also pictured, a Commodore Plus/4 and 3 Commodore 1541 5 1/4in Floppy Drives that weigh more than the desk its on.

We use an Asante Talk, a old 10mbit hub, and a windows mac emulator to get the vintage macs on our network for filesharing. They are so far unmodified and we would like to keep them that way but external SCSI hard drives that are compatible and working are hard to find. I would love to run a BBS on them for multi-node operation but thats so far down on my life todo list... maybe once I get my farm and solar array online 1st ;)






Creeper Squirrel
Mon, 16 Jul 2018 21:44:51 -0500

I swear this is the same squirrel that is always outside the bathroom window every morning. Just sitting there... watching. Creeper.

*EDIT* --- the gd_thumbmaker function needs a "rotation aware" routine or something... geesh. Or better yet, on the manage images page, an actual rotation/crop function. More JS... gr8






Static Pages
Sun, 15 Jul 2018 13:44:39 -0500
#ffs

     Static pages are needed where the environment is less than ideal for security. I2P and Tor can handle dynamic pages but why take the risk? One coding error, one malicious attacker, one mis-step could lead to a disaster of dire consequences. Luckily in FFS all output goes thru a function aptly named output() so capuring the raw html and redirecting to a file is easy. Designing the mode to not include any "login required" content may prove interesting without alot of sloppiness but what is life without a challenge?

     To this end mobile and tablet menus were changed to plain and I added a noscript plain menu for all screen/browser types. No JS environments won't break the site in anyway, but I still don't feel the need for extra steps. Delete confirmation pages in non JS environments won't work but people *should* be careful where they click anyway. I still need to design a better mobile menu... something like poloniex or just a drop down icon, maybe multi level for submenus.

     I will test this soon with archamedis.i2p or something like that. Dont ask with what content... who knows... itll mainly just be for testing purposes only. Page regeneration should not take forever either... need a md5 content test or last updated timestamps to see what *needs* to be updated and what doesn't. Either way, the backend will probally have to be php-cli just incase of a timeout.






Web Standards... Drafts or Wishes?
Tue, 10 Jul 2018 20:39:59 -0500
#code #ffs

So yes, I know I'm getting to CSP late but better late than not at all eh?

There seems to be major lag time between the drafts and whatever is happening IRL. Apparently back in 2016, the report-uri method in the CSP was deprecated in favor of a new reporting mechanism, report-to. The section of the draft for report-uri literally says:

Deprecated
This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Avoid using it and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

Ok! No problem! I read the above as don't use report-uri, use report-to.

So I head over to the report-to section in the same draft that was updated on Mar 29, 2018, 4:25:30 PM and its looking good until I get to the browser compatibility table. Literally nothing supports it... not even basic support. In 2 years, no movement? I get why their trying to move away from report-uri but 2 years? I'm glad I read through the whole section before I started coding. My carpal tunnel laden hands would have been sorely pissed.






Tags
Sat, 07 Jul 2018 16:32:04 -0500
#ffs

     Added rudimentary tags for news posts, pages, galleries, and other page types. Not trying to make a tag cloud persay with the font size/color differences, just an alternative to categories which I do not want to have. Products can have categories but seperating page content... nah.

     I've read that SEO and tag clouds don't work well together. Search engines will penalize the site for having tags as the links lead to duplicate content. Maybe hide the tag div with JS or something if it detects the almighty GoogleBot and other indexers? More research is needed.



1  2  3  4  5  6