Numfar! Do the dance of joy.

Elder ,'Power Play'


Buffistechnology 3: "Press Some Buttons, See What Happens."

Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!


Ginger - Feb 26, 2009 12:01:45 pm PST #9224 of 25501
"It didn't taste good. It tasted soooo horrible. It tasted like....a vodka martini." - Matilda

I looked around a bit and this [link] looks promising.


tommyrot - Feb 26, 2009 12:04:41 pm PST #9225 of 25501
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

I looked around a bit and this [link] looks promising.

Huh. That kinda' clever. I was thinking you could change the name of the css each time you want it to refresh, but figured that would be too much of a PITA.


§ ita § - Feb 26, 2009 12:17:43 pm PST #9226 of 25501
Well not canonically, no, but this is transformative fiction.

Ooh thanks.


Jon B. - Feb 26, 2009 12:35:38 pm PST #9227 of 25501
A turkey in every toilet -- only in America!

Very clever! One of the commenters had a good idea to further this: make the version # a php variable containing the date stamp of the css file. Then you never have to update the css link.


§ ita § - Feb 26, 2009 12:38:31 pm PST #9228 of 25501
Well not canonically, no, but this is transformative fiction.

That won't work for the board, but I might be able to force a reload right after the file is updated and saved, and hopefully that takes.


Typo Boy - Feb 26, 2009 12:41:31 pm PST #9229 of 25501
Calli: My people have a saying. A man who trusts can never be betrayed, only mistaken.Avon: Life expectancy among your people must be extremely short.

Jon B. - Feb 26, 2009 12:54:46 pm PST #9230 of 25501
A turkey in every toilet -- only in America!

That won't work for the board

Why not?


§ ita § - Feb 26, 2009 1:00:41 pm PST #9231 of 25501
Well not canonically, no, but this is transformative fiction.

Well, I don't want to do a file date/time read every time a page loads. Overhead.

So, I overstated. Can work. Don't think it's our best solution.

I'm pissed that what should work, the http headers, does not.

Right now I think asking the user to refresh one page is clunky but overall better.


Jon B. - Feb 26, 2009 1:02:47 pm PST #9232 of 25501
A turkey in every toilet -- only in America!

Overhead

Ahh, makes sense.


tommyrot - Feb 27, 2009 4:23:11 am PST #9233 of 25501
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

Sudo Make Me a Sandwich: the robot edition

Inspired by one of the funniest goddamned XKCD strips of all time, Bre Pettis and Adam Cecchetti have built a "Sudo make me a sandwich robot" that makes a sandwich when you tell it to.

I like what happens when they don't include the "sudo".