Skip to content

Instantly share code, notes, and snippets.

[17:16] <DEADB33F> kemitche, you about?
[17:16] <DEADB33F> Is there any clue as to what's causing the massive update delays when altering stylesheets on busy subreddits?
[17:18] <@kemitche> hrm
[17:18] <@kemitche> lemme check something
[17:19] <DEADB33F> The stylesheet hash value seemingly isn't being updated on pages requested after the stylesheet has been updated.
[17:20] <DEADB33F> Eg. I updated the stylesheet in /r/politics over 8 hours ago, yet the hash value appended to the stylesheet link href hasn't changed.
[17:21] <DEADB33F> If it's changed manually by editing the page source correct stylesheet is displayed.
[17:25] <DEADB33F> No wait, the hash is being updated, but the page still isn't reflecting the changes.
[17:27] <@kemitche> DEADB33F: (09:27:15 AM) alienth: aw fuck, i know what happened
[17:27] <@kemitche> we're fixing it
[17:16] <DEADB33F> Is there any clue as to what's causing the massive update delays when altering stylesheets on busy subreddits?
[17:18] <@kemitche> hrm
[17:18] <@kemitche> lemme check something
[17:27] <@kemitche> DEADB33F: (09:27:15 AM) alienth: aw fuck, i know what happened
[17:27] <@kemitche> we're fixing it
[17:28] <@kemitche> delays should be no more than 10 min now
[17:28] <DEADB33F> Awesome. Waiting several days for CSS updates was getting old.
[17:29] <DEADB33F> What was causing it not to update?
[17:29] <@alienth> DEADB33F: a combo of a few different things :P
[17:30] <@alienth> sometimes the new hash sends the old data
ship = BFR9000
version = 0.16.0
type = VAB
PART
{
part = Mark1-2Pod_4294549420
pos = -0.6568387,50.04048,0.2150396
rot = 0,0,0,1
mir = 1,1,1
istg = 0
// ==UserScript==
// @name reddit.com - F1 spoilers
// @namespace v1
// @include http://www.reddit.com/*
// @run-at document-start
// ==/UserScript==
function f1spoilers() {
var schedule = {
ship = BFR9000
version = 0.17.0
type = VAB
PART
{
part = Mark1-2Pod_4294628534
pos = -0.2867525,50.0846,0.007895768
rot = 0,0,0,1
attRot = 0,0,0,1
mir = 1,1,1
ship = Lightweight
version = 0.17.0
type = VAB
PART
{
part = mk1pod_4294802968
pos = -0.05275311,8.84858,0.1435729
rot = 0,0,0,1
attRot = 0,0,0,1
mir = 1,1,1
ship = Eve-Ntually
version = 0.17.0
type = VAB
PART
{
part = mk1pod_4293231952
pos = -0.1961104,37.54182,0.02929404
rot = 0,0,0,1
attRot = 0,0,0,1
mir = 1,1,1
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
public class BulletTime : Part
{
private float timescale = 1;
ship = Featherlite
version = 0.17.0
type = VAB
PART
{
part = mk1pod_4292545992
pos = -0.1560668,5.741821,-0.07988134
rot = 0,0,0,1
attRot = 0,0,0,1
mir = 1,1,1
@DEADB33F
DEADB33F / gist:3805820
Created September 30, 2012 04:12
Physical timewarp replacement.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
public class BulletTime : Part
{
private float timescale = 1;