It's a bit more complicated. We don't want to DDoS ourselves. Images rotate at the top of each hour without page refresh. If you have the forum spy open for 10 hours, and 4 other tabs with dt, they will show the same image. Everyone will see the same image. I don't want to sent an ajax request and receive the new image as data, because it won't be properly cached. Also it will request the next image at the top of the hour for each visitor, not at random times. Well, not exactly, the requests for the next image are spread out a few minutes before the top of the hour when it rotates. If I add a separate data request to find out what the next image will be, I double the number of requests in the minutes before the top of the hour, one for data, one for the image itself. If I increase those "few minutes", many useless requests will be sent, because people will go to a new page in the meantime. It currently uses a very simple implementation to prevent all that, by sending the entire sequence to the browser at page load. This is just a bunch of numbers of corresponding images (5 7 14 12 9 etc) and to make an image appear more often, it is simply added multiple times to the list. It is not random. Because the list is not equal to a day (and with the right number of images so it shifts nicely), it has the illusion of randomness.Daniel Beardsmore wrote:Getting an image from AJAX would only take a few lines of JavaScript and a few lines of PHP/Perl.
Post your deskthority header images here
- webwit
- Wild Duck
- Location: The Netherlands
- Main keyboard: Model F62
- Favorite switch: IBM beam spring
- DT Pro Member: 0000
- Contact:
- webwit
- Wild Duck
- Location: The Netherlands
- Main keyboard: Model F62
- Favorite switch: IBM beam spring
- DT Pro Member: 0000
- Contact:
no header images. come back, one year.matt3o wrote:no rotation. one per day.
- Daniel Beardsmore
- Location: Hertfordshire, England
- Main keyboard: Filco Majestouch 1 (home)/Poker II backlit (work)
- Main mouse: MS IMO 1.1
- Favorite switch: Probably not whatever I wrote here
- DT Pro Member: -
- Contact:
So, if I understand this correctly, the number of images is reduced just to keep the list of numbers down in size?webwit wrote:This is just a bunch of numbers of corresponding images (5 7 14 12 9) and to make an image appear more often, it is simply added multiple times to the list. It is not random.
This will be dashboard_schedule then? It's not exactly a long list …
You could expand that list significantly into the space wasted by things like repetitions of 'style="background-image: url(http://deskthority.net/styles/deskthori ... m_read.gif);"' (that's both inline CSS that should be in a stylesheet, and pointless use of an absolute URL), commented-out code etc. Also, the "Resize too large images" script is inline instead of its own script where it could be cached (though maybe it's proven faster to inline small amounts of JS over running a conditional GET each time?)
Kind of makes one wonder just how terrible a few more digits really is, honestly.
- webwit
- Wild Duck
- Location: The Netherlands
- Main keyboard: Model F62
- Favorite switch: IBM beam spring
- DT Pro Member: 0000
- Contact:
Also because old images get boring. There are now 36 in rotation so I added "etc" to my example (36 is a bad number btw, because if you're online at certain fixed times you won't see them all). So if you find it repetitive, you're online too much
But seriously, we have a larger history of background images now, and in general there's a lot which can be improved about the software. Pay me.
But seriously, we have a larger history of background images now, and in general there's a lot which can be improved about the software. Pay me.
- Daniel Beardsmore
- Location: Hertfordshire, England
- Main keyboard: Filco Majestouch 1 (home)/Poker II backlit (work)
- Main mouse: MS IMO 1.1
- Favorite switch: Probably not whatever I wrote here
- DT Pro Member: -
- Contact:
While figuring out the code I was verifying that the numbers really did point to valid images. I noticed one image that I didn't recall seeing for ages, and having looked at your headers.php there's a load that never show up for me.
It looks like you've designed it such that I'll only see the images that are in use during the specific times of day I look at the forum, so those narrow bands of the day result in the same images being shown.
I'm not sure (I've not tried to figure it out), but I know that I see my Matias one a lot, and I've not seen the space invaders one for weeks, same goes for that red PCB one (not sure when I last saw that — six months ago?). The rotation seems to only offer me a small subset, so it's far more repetitive than the amount of images imply that it should be.
It might be my imagination though.
It looks like you've designed it such that I'll only see the images that are in use during the specific times of day I look at the forum, so those narrow bands of the day result in the same images being shown.
I'm not sure (I've not tried to figure it out), but I know that I see my Matias one a lot, and I've not seen the space invaders one for weeks, same goes for that red PCB one (not sure when I last saw that — six months ago?). The rotation seems to only offer me a small subset, so it's far more repetitive than the amount of images imply that it should be.
It might be my imagination though.
- QWERTim
- Location: United Kingdom
- Main keyboard: Realforce 87u
- Main mouse: Razer Naga Hex
- Favorite switch: Topre
- DT Pro Member: -
Not sure if this has been submitted before, but here is one of the photos we took of the key caps we did for you guys:
https://www.dropbox.com/s/sw80ivc6qhjri ... er%203.jpg
https://www.dropbox.com/s/sw80ivc6qhjri ... er%203.jpg
- Muirium
- µ
- Location: Edinburgh, Scotland
- Main keyboard: HHKB Type-S with Bluetooth by Hasu
- Main mouse: Apple Magic Mouse
- Favorite switch: Gotta Try 'Em All
- DT Pro Member: µ
Nice, but doesn't look the right size…
Crop to 980 x 190 and try again. Also boost the levels, it's a bit muddy.
Let's see… The top cap is in the best focus, but it's too tightly cropped.
Crop to 980 x 190 and try again. Also boost the levels, it's a bit muddy.
Let's see… The top cap is in the best focus, but it's too tightly cropped.
- QWERTim
- Location: United Kingdom
- Main keyboard: Realforce 87u
- Main mouse: Razer Naga Hex
- Favorite switch: Topre
- DT Pro Member: -
I'll see if I can find the original!
EDIT:
How's this: https://www.dropbox.com/s/yp11xti8dmmcanh/IMG_4373.JPG
Can you work with that?
EDIT:
How's this: https://www.dropbox.com/s/yp11xti8dmmcanh/IMG_4373.JPG
Can you work with that?
- damorgue
- Location: Sweden
- Main mouse: MX500
- Favorite switch: BS, MX Green and MX Clear
- DT Pro Member: -
- Contact:
Where is this from:
It looks like it could be a Cherry board ending with 'SAN'. I just want to confirm its existence
It looks like it could be a Cherry board ending with 'SAN'. I just want to confirm its existence
-
- Location: Belgium, land of Liberty Wafles and Freedom Fries
- Main keyboard: G80-3K with Clears
- Favorite switch: Capacitative BS
- DT Pro Member: 0049
It looks like Broadmonkey posted that one. You could try sending him a PM I guess, though it'd be nicer if it were posted here as well.
- Broadmonkey
- Fancy Rank
- Location: Denmark
- Main keyboard: Whitefox
- Main mouse: Zowie FK2
- Favorite switch: MX Black
- DT Pro Member: -
- Contact:
Yeah, I posted it,. It's from my Amiga 2000/G80-0924
They are double shot key caps, mine is yellowed a bit but not by that much.
They are double shot key caps, mine is yellowed a bit but not by that much.
- Daniel Beardsmore
- Location: Hertfordshire, England
- Main keyboard: Filco Majestouch 1 (home)/Poker II backlit (work)
- Main mouse: MS IMO 1.1
- Favorite switch: Probably not whatever I wrote here
- DT Pro Member: -
- Contact:
That lighting could be a lot worse!
- damorgue
- Location: Sweden
- Main mouse: MX500
- Favorite switch: BS, MX Green and MX Clear
- DT Pro Member: -
- Contact:
Ok, I thought they looked dyesubbed and got my hopes up. I have never even seen a picture of a Norwegian or any Nordic Cherry made dyesubbed cap.
- Broadmonkey
- Fancy Rank
- Location: Denmark
- Main keyboard: Whitefox
- Main mouse: Zowie FK2
- Favorite switch: MX Black
- DT Pro Member: -
- Contact:
It's hard to get good lighting in Scandinavia in November. I had to take it on my parents roof to find the best lighting on a more or less neutral background.
I color corrected them some time ago but that was on my old monitor, now that I have a new one I don't know if I did more good than bad!
The small amount of yellowing on the key caps should give them away as ABS double shot
I have yet to see a nordic dye sub keyset, which is a bit annoying since BSP Europe is a Danish company
I color corrected them some time ago but that was on my old monitor, now that I have a new one I don't know if I did more good than bad!
The small amount of yellowing on the key caps should give them away as ABS double shot
I have yet to see a nordic dye sub keyset, which is a bit annoying since BSP Europe is a Danish company
- Broadmonkey
- Fancy Rank
- Location: Denmark
- Main keyboard: Whitefox
- Main mouse: Zowie FK2
- Favorite switch: MX Black
- DT Pro Member: -
- Contact:
Red A?
Last edited by Broadmonkey on 18 Feb 2014, 00:32, edited 1 time in total.
- Daniel Beardsmore
- Location: Hertfordshire, England
- Main keyboard: Filco Majestouch 1 (home)/Poker II backlit (work)
- Main mouse: MS IMO 1.1
- Favorite switch: Probably not whatever I wrote here
- DT Pro Member: -
- Contact:
Almost thumbs up, but back in my day, it were black A and hollow A. Apparently — I did have to look that up, as I didn't remember it being red. I've not used an Amiga 500 in years. Wonderful machine, though.Broadmonkey wrote:Red A?
- phosphorglow
- Location: Indianapolis - USA
- Main keyboard: IBM Model M
- Main mouse: Kensington Expert Mouse
- Favorite switch: Buckling Spring!
- DT Pro Member: -
- Contact:
DinoRAWWWR!
- Attachments
-
- 2014-02-14 21.23.48-Edit-2.jpg (35.33 KiB) Viewed 6692 times
- scottc
- ☃
- Location: Remote locations in Europe
- Main keyboard: GH60-HASRO 62g Nixies, HHKB Pro1 HS, Novatouch
- Main mouse: Steelseries Rival 300
- Favorite switch: Nixdorf 'Soft Touch' MX Black
- DT Pro Member: -
Perfect, I love it!
Off-topic: Phosphorglow, do you have a wallpaper-sized version of that picture?
Off-topic: Phosphorglow, do you have a wallpaper-sized version of that picture?
- phosphorglow
- Location: Indianapolis - USA
- Main keyboard: IBM Model M
- Main mouse: Kensington Expert Mouse
- Favorite switch: Buckling Spring!
- DT Pro Member: -
- Contact:
Hehehe! Thanks!scottc wrote:Perfect, I love it!
Off-topic: Phosphorglow, do you have a wallpaper-sized version of that picture?
Here ya go: http://phosphorglow.net/wp-content/uplo ... .23.48.jpg
- CeeSA
- Location: Westerwald, Germany
- Main keyboard: Deck 82 modded
- Main mouse: MM711
- Favorite switch: Cherry MX Blue
- DT Pro Member: 0016
- Contact:
@ Dino
Extremely embarrassing.
Just another one for my block list.
Have fun guys.
Extremely embarrassing.
Just another one for my block list.
Have fun guys.
- Muirium
- µ
- Location: Edinburgh, Scotland
- Main keyboard: HHKB Type-S with Bluetooth by Hasu
- Main mouse: Apple Magic Mouse
- Favorite switch: Gotta Try 'Em All
- DT Pro Member: µ
Yes, it's mechanical.
Now I've seen them in action: the third crop, with the curve on top, works the best.
I cheated twice. It's not mine, I'm just proxying it. And see if you can spot the second.Spoiler:
But this one doesn't work well with the banner. I'll need to recompose.
- photekq
- Cherry Picker
- Location: United Kingdom
- Main keyboard: Various Cherry Corp keyboards
- Main mouse: Razer Deathadder (1st gen)
- Favorite switch: Nixdorf 'Soft Touch' MX Black (55g springs)
- DT Pro Member: -
- Contact:
Those look really, really nice. I think the third's my favourite aswell.
- Muirium
- µ
- Location: Edinburgh, Scotland
- Main keyboard: HHKB Type-S with Bluetooth by Hasu
- Main mouse: Apple Magic Mouse
- Favorite switch: Gotta Try 'Em All
- DT Pro Member: µ
Thanks. It's a pretty piece of hardware. Must resist temptation to start collecting typewriters!photekq wrote:Those look really, really nice. I think the third's my favourite aswell.