ソーラーバードーのほん: Life in the Convergence Zone [entries|friends|calendar]


Solarbird

[ about | Solarbird's profile ]
[ my studio | supervillain central ]
[ steal this | the free music set ]
[ subsets | economics writings flowers leaves photos calendar ]
[ other fun | a miracle of science leannan sidhe owls annie henry zero hedge ]

back to real recording
[26 Jul 2016|08:30am]

I did a lot of vocals recording Monday – some tracks I intend to keep, some more or less placeholders, scratch tracks for other vocalists – all on the new system, all at the absolutely goofy 0.7ms buffer setting, just to see if the system would actually work, being driven that hard all the time, over hours.

It does.

It hiccoughed a couple of times. Nothing involving data loss – after waking back up from screen lock mode, the audio subsystem had to be restarted by me, rather than coming back up on its own. I need to disable screen locking anyway. Once during some playback, I heard a momentary pause, though no XRUNs showed up in the status monitor, so I’m not sure what’s up with that.

I should probably, I dunno, step back a bit? Give it some margin for error? But so far, I’m not being forced to.

In other news, all 39 episodes of Revolutionary Girl Utena are legally on YouTube now. YOU HAVE NO MORE REASONS TO DELAY AND MAY START WATCHING NOW.

(Because jfc the chemistry between Utena and Anthy is smokin’ right out the goddamn gate. I do not like the series’s ending, because reasons addressed pretty directly by Avatar: The Legend of Korra, but everything up until that is amazing.)

Mirrored from Crime and the Blog of Evil. Come check out our music at:
Bandcamp (full album streaming) | Videos | iTunes | Amazon | CD Baby

Also posted to ソ-ラ-バ-ド-のおん; comment count unavailable comments at Dreamwidth.

2 comments|post comment

really? really?
[25 Jul 2016|03:02pm]

[ mood | lol no ]

Yahoo! will be combined with AOL? Wow, it's Sears and K-Mart all over again, two more drunks clinging to each other desperately hoping to manage a straight line.

Tho' I guess in this case Verizon is in there too, lashing them together.

Fuck, this means Verizon will now own Tumblr. ノಠ益ಠ)ノ彡┻━┻

"US internet firm Yahoo is being acquired by American telecoms giant Verizon Communications for nearly $5bn (£3.8bn) in cash.

Yahoo will be combined with AOL, another faded internet star, which Verizon bought last year."

http://www.bbc.com/news/business-36879831

Also posted to ソ-ラ-バ-ド-のおん; comment count unavailable comments at Dreamwidth.

2 comments|post comment

spider-chip 68000 in the original french!
[25 Jul 2016|01:49pm]

[ mood | pleased ]

During the 1990s, between episodes of Doctor Who, KBTC would air various shorts, plus Jack Horkheimer: Star Hustler (or Star Gazer, depending upon the year).

My favourite of these interstitial shorts was something called Computer-Home - or as we called it, Spider Chip 68000 - a bit of French computer animation that came out of nowhere, as far as we were concerned. And it wasn't ever online that I could find, until my housemate found it on one of his old VHS tapes!

So of course I ripped it and put it on YouTube:

https://www.youtube.com/watch?v=ePeYkQ2HMCc

But! I did that a year ago. The NEW surprise is that somebody else has posted the original French version!

https://www.youtube.com/watch?v=4PVey9TeGWs

And it's a much better transfer, even if you don't speak French. :D

So now you can relive your 1990s Doctor Who on KBTC fandom. Enjoy!

Also posted to ソ-ラ-バ-ド-のおん; comment count unavailable comments at Dreamwidth.

post comment

from a reply elsewhere
[25 Jul 2016|10:14am]

[ mood | busy ]

Upright Republicans - ones to whom any of the supposed small-government principles ever mattered at all, or, for that matter, one to whom any of the claimed GOP principles ever mattered at all - need to understand that the GOP is no longer their party.

And if they want to take their party back, they need to cause the GOP to lose in 2016. There are times, no matter how much you don't like it, that you need to lose an election to win the future, and when you do that, you need to do it in a clear and visible way.

Fortunately, there is a clear and visible way to do that, and the way to do that in 2016 is to vote for Gary Johnson. Gary gets 5%, and it will be an extremely clear message: you can't win without us.

Because right now, at this moment, the GOP is an unrestrained horde of overt racism, anti-semitism, misogyny, and absolutism, it is a party of chaos and strong-man leadership, the opposite of law, the inverse of order. A GOP victory in this condition would be a tremendous loss for all the principles of small and hands-off government. Both parties will be mass rule, and the one least historically aligned against that will have won with that as their standard, and will not turn away for decades, if ever.

The GOP must lose this election, and it must be clear why.

Gary Johnson won't win; the Libertarian party is a joke. I say that as someone who has voted big-L more than not. A lot of people will say, therefore, that you are "throwing away your vote."

That's horseshit. This election, if you're on the small-government side, it's the only way not to throw away your vote, and it's the only shot at not losing the GOP to the mob.

The GOP must lose 2016. Badly. And it must be clear why. Responsible, upright Republicans must vote Gary Johnson in 2016. He won't win - but you will.

Also posted to ソ-ラ-バ-ド-のおん; comment count unavailable comments at Dreamwidth.

post comment

so hey, usb chipsets totally matter
[25 Jul 2016|08:30am]

In yesterday’s post, I posed a question: do USB chipsets matter in the 2.0 environment? I had reason to suspect they might.

The answer is holy crap yes they matter they matter so much it is unbelievable.

First, let me talk about what prompted this research, so you’ll know why this matters.

On my old sound interfaces I had live monitoring in hardware, so I didn’t have a lot of need to care about latency. Since that won’t mean much to most people, I’ll explain; when recording, it’s good if you can hear yourself, in headphones. If you’re multitracking, it’s critical.

My old audio interfaces did this with direct connections in the hardware. Whatever came in the microphones also went out the headset. There are advantages to this method, but also disadvantages, in that you aren’t actually hearing what’s being recorded, just what’s being sent in the microphone jack.

But now, I have this shiny new 1818vsl, which doesn’t do hardware monitoring under Linux. Higher-level kit generally doesn’t provide that; they’re assuming you have enough computer that your computer can send back what is actually being recorded, effects and all, and that you’ll do that instead.

This means I now have to care about latency in my system. Latency is basically delay, between mic and computer, and computer and headset. And if the computer is feeding my monitor headphones, that delay matters. You want to hear yourself live, or close to it, not with, oh, a quarter second of delay or something horrible like that.

Now, the good news was that straight out of the box on Ubuntu 16.04 (the latest long-term support version), I had better, lower latency numbers on my new 1818vsl than on my old hardware, when I was using that on 12.04. I could get down to a buffer size of 256 samples, and three frames, which gave me about 30ms basic latency – roughly half what I had with my old hardware and old install. I could use it as-was.

But I couldn’t go any lower on those buffers. One more setting down, and even playback would lag. It’d be okay until the system had to do anything else, then you’d get a playback pause, or a skip, or if recording – presumably, I didn’t bother trying – lost sound. That’s unacceptable, so 30ms was the lower limit, and I wasn’t sure it was a safe lower limit.

And that’s what got me doing all that chipset research I talked about yesterday, and I ordered a new USB card (plugs into PCI sockets) based on that research. I was hoping for a couple fewer milliseconds of latency, that I wouldn’t actually even use; I just wanted a safety margin.

So that new card arrived on Sunday, with its OHCI-compliant chipset made by NEC, and I popped it into the machine and started things up with normal settings.

At first, I was disappointed, because I only saw about half a millisecond less lag, instead of the 1-2ms drop I’d hoped to see. But across tests, it was more consistent – it was always at that same number, which meant I could rely on that 30ms latency in ways I wasn’t sure I could before.

They I decided to see what would happen moving the sample buffer setting one level lower, into what had been failure mode. And the result was 1) it actually worked just fine, where it hadn’t before, and 2) when running analysis, tests showed much lower latency at that setting than with the previous USB ports.

That was an ‘oh ho‘ moment, because it implied that the 256-sample run rate was basically the spot at which the on-motherboard USB could just keep up, and trying to run faster wouldn’t actually produce any actual processing improvement. It’d try, but fail, and time out.

So I did a couple of recordings on that, and they all worked. Then I dropped it another level, until finally, I just said hell with it, let’s just set it as far down as the software will allow and see how hilariously we explode.

I just successfully recorded test tracks four times with these settings, on the new card:

0.7 milliseconds isn’t even something you think about on USB 2.0. 2.8ms, maybe, okay. I’ve seen that managed a few times before, and that’s genuinely indistinguishable from realtime/hardware monitoring. But 0.7ms?

Seriously, this is well into “…is that actually possible?” territory. I’ve never even heard of someone running over USB 2.0 at latencies this low.

So, I guess it looks like the chipset matters a whole lot. Maybe not for most applications, and maybe not in the same way as in USB 3.0 or in FireWire, were there are serious compatibility issues. But in the 2.0 world, in realtime audio, it appears that the chipset makes all the difference in the world.

And yet, I can find this nowhere online. I’m beginning to think nobody bothered until now. Certainly when I’ve asked about it, the response has “why are you on USB get firewire” or “why are you on USB get PCI” because sure I want to throw out all this hardware and start over THANKS NO.

I think USB users have been trained just to accept it and deal. But surprise! You don’t have to! You can actually get a better USB card, if your system allows it, and it’s $30 instead of $1300!

So, HELLO, OTHER SMALL-STUDIO MUSICIANS! You want a chipset that uses OHCI on the USB 1.1 level even if it’s a USB 2.0 card or later because the 1.1 layer still matters, and still gets invoked by the higher-order drivers for card management. See previous post for why that’s important.

This means avoid Intel and VIA chipsets, and look for NEC or SiS – or anything else that loads OHCI drivers and not UHCI. If you’re on Linux, you want to:

cat /proc/interrupts | grep usb

If you see “uhci_hcd” in there, you have a UHCI chipset running your USB port and getting a new USB card with an OHCI-compatible chipset (and disabling whatever’s already installed) might help you with your latency issues.

Good luck!

Mirrored from Crime and the Blog of Evil. Come check out our music at:
Bandcamp (full album streaming) | Videos | iTunes | Amazon | CD Baby

Also posted to ソ-ラ-バ-ド-のおん; comment count unavailable comments at Dreamwidth.

post comment

why trump is a fascist; a collection on reddit
[24 Jul 2016|10:59am]

"A final response to the 'Tell me why Trump is a fascist'."

https://www.reddit.com/r/EnoughTrumpSpam/comments/4teoxl/a_final_response_to_the_tell_me_why_trump_is_a/

I would add, "Because a member of his inner circle and someone on his shortlist for vice president just retweeted yet another overtly anti-Semitic Jewish conspiracy theory tweet."

I keep saying this, but the unforgivable crime of the Trump campaign is bringing overt white supremacists back into the political process. I mean it: this is unforgivable.

Also posted to ソ-ラ-バ-ド-のおん; comment count unavailable comments at Dreamwidth.

1 comment|post comment

i sure hope somebody can take this apart
[24 Jul 2016|10:45am]

[ mood | worried ]

Can somebody take this apart? I'd like it if somebody could take this apart.

Trump & Putin. Yes, It's Really a Thing
Talking Points Memo
By Josh Marshall
PublishedJuly 23, 2016, 4:15 PM EDT

http://talkingpointsmemo.com/edblog/trump-putin-yes-it-s-really-a-thing

"Let's start with the basic facts. There is a lot of Russian money flowing into Trump's coffers and he is conspicuously solicitous of Russian foreign policy priorities."

Also posted to ソ-ラ-バ-ド-のおん; comment count unavailable comments at Dreamwidth.

1 comment|post comment

[24 Jul 2016|10:20am]

White supremacists loved the GOP convention:

http://www.orlandosentinel.com/news/politics/ct-white-supremacists-trump-20160723-story.html

"'I don't think people have fully recognized the degree to which he's transformed the party,' said Richard Spencer, a clean-cut 38-year-old from Arlington, Virginia, who sipped Manhattans as he matter-of-factly called for removing African-Americans, Hispanics and Jews from the United States."

Also posted to ソ-ラ-バ-ド-のおん; comment count unavailable comments at Dreamwidth.

post comment

usb 2.0 chipsets, digital audio workstations, and linux
[24 Jul 2016|09:30am]

I’ve been trying to find out whether there’s any sort of difference between USB 2.0 cards, specifically as addresses the needs of digital audio workstations on Linux.

Very few people in linux communities seem to have addressed this question at all, and none I can find on the audio side. (Firewire, oh my gods yes – huge lists. Just not USB.)

But I did a lot (a lot) of digging, and discovered via the Linux USB kernel driver dev mailing list(!) that while there’s not much difference on the USB 2.0 side, there are important differences on the 1.1 side. These difference manifest in two different driver models. That still matters at least a little bit in 2.0, because those 1.1 drivers still get loaded.

Anyway, that difference is that there are two very different driver interface models. One is UHCI, created by Intel and used by Intel and Via, mostly. The other is OHCI, which Compaq pushed when it was still around, and Microsoft preferred; it has less intellectual-property load, and NEC, SiS, and some other makers use it. If you see a “Mac compatible” card? It’s going to be OHCI.

The OHCI model puts a lot more of the business of doing USB into hardware on the card. UHCI has the processor do that work. And while that isn’t a heavy load, it is a nonzero load, and more importantly means that UHCI chipsets require more CPU attention than OHCI chipsets, on a recurring basis. And that is something we don’t need in a digital audio workstation; there are only so many board interrupt opportunities; I want them for moving data, not servicing USB mechanics.

Once I knew that, I did more searching and found people saying how switching to a NEC chipset card had (in one case in particular) ‘saved their bacon’ specifically on their digital audio workstation. They were using ProTools on Windows, not Linux, but it was still with a USB audio interface.

The chipset used by my on-motherboard USB ports is, of course, Intel, and therefore UHCI. (And UHCI drivers are actually loaded, I checked.) There’s also an on-motherboard hub between the outside world and the one true root device; that doesn’t help anything either. So there’s a nonzero chance I’ll see improvement both from changing from UHCI to OHCI, and from moving to a true root USB device instead of a hub device. It won’t be much, but I’m only looking for a few milliseconds of latency here. And even that’s more for… reliability buffer, I suppose? Yeah. Reliability buffer, rather than pure necessity.

I’m mostly posting this 1) so I remember it and 2) so other people looking for this data can find it. HI! I can’t be the only one!

I’ll update this post if I get interesting results.

eta: INTERESTING RESULTS AHOY: CHIPSETS MATTER SO MUCH OMG. I’ll write up a post with details, post it tomorrow.

Mirrored from Crime and the Blog of Evil. Come check out our music at:
Bandcamp (full album streaming) | Videos | iTunes | Amazon | CD Baby

Also posted to ソ-ラ-バ-ド-のおん; comment count unavailable comments at Dreamwidth.

9 comments|post comment

a pretty good post on medium
[22 Jul 2016|04:56pm]

[ mood | thoughtful ]

This is a pretty good column:

I’m With The Banned
What my evening with Milo told me about Twitter’s biggest troll, the death of reason, and the crucible of A-list con-men that is the Republican National Convention.

https://medium.com/welcome-to-the-scream-room/im-with-the-banned-8d1b6e0b2932

Also posted to ソ-ラ-バ-ド-のおん; comment count unavailable comments at Dreamwidth.

post comment

FIX ALL THE THINGS
[21 Jul 2016|12:29pm]

[ mood | accomplished ]

I will say this for Computers Exploding, which in this case was the digital audio workstation dying on me.

Sure, it'll drive me mad, but it will set me off on a FIX ALL THE THINGS tear, which is why journalpress and social have enough bugs fixed that they should work through PHP7(!), why I suddenly had 60-odd lost-in-the-queue comments reappear overnight, why I don't get timeouts on the LAN talking to the Wordpress administrative pages anymore, why in future we can talk to our webserver over the LAN even when Comcast dies on us, and why I won't have to tinker with newmoon or lodestone after reboots now, since greylisting and varnish both finally come up correctly the first time.

Fix. All. The. Things.

Also posted to ソ-ラ-バ-ド-のおん; comment count unavailable comments at Dreamwidth.

post comment

swearing in welsh and playing in mandolin
[21 Jul 2016|09:25am]

@elwoodicious responded to my button-mashing arglebargle on Twitter with, “when you swear in Welsh you know it’s serious XD” but if you might know why I would be having client timeouts against the webcache varnish, but only when using the faster segment of the network, here’s today’s/last night’s data dump.

Otherwise, I’ll be adding mandolin to “We’re Not Friends,” which I’ve been working when not working on servers. (I haven’t talked about our DNS server also deciding that the login daemon was both optional and needed to be restarted every 60 seconds, have I? No. Well, it did, I fixed that too.) But…

“We’re Not Friends” is pushing me. Not from a technical standpoint, or even from an emotional standpoint, but from a communicating that emotion standpoint. Musically speaking, it’s of about average complexity – I’ve released far more complicated material. (Particularly “Stars,” hoo boy. That thing is a tiny opera.) But…

There’s an emotional complexity here that I have to get across, and I need every part of it onboard to make it work. That’s all there is to it, but it’s subtle, and most songs only have time for one emotional tone, and I’m trying to communicate an substantial emotion tonal change in three and a half minutes. But if I can do that…

Right then, back to it.

Mirrored from Crime and the Blog of Evil. Come check out our music at:
Bandcamp (full album streaming) | Videos | iTunes | Amazon | CD Baby

Also posted to ソ-ラ-バ-ド-のおん; comment count unavailable comments at Dreamwidth.

2 comments|post comment

when i get these server dropped connections, I get this in varnish log
[21 Jul 2016|12:15am]

[ mood | sleepy ]

eta: A solution? timeout_req defaults to 2 seconds and is how long varnish waits for request header data from the client. Setting that to 10 seconds makes the problem go away. (I just picked a big number - most of the timeouts below ranged between >2sec and <6sec.)

This could sorta make sense except the problem didn't repro from off the LAN, an the LAN is much faster than our WAN uplink. Which implies that there is something our LAN is doing at random which radically slows down packet travel from client machines to server machines with fixed IP addresses.

This is so weird.

Here's pinging the webserver from this laptop:

round-trip min/avg/max/stddev = 1.543/4.381/7.130/1.321 ms

Here's pinging this laptop from the webserver:

rtt min/avg/max/mdev = 2.252/53.628/78.781/24.769 ms

Is this relevant? Possibly? I don't know. But I do know that the 'fast route' also goes from the network address translation section of the LAN over to the fixed-IP section. That's got to be part of it.

-----------

Okay, so, when I get these dropped server connections - which seem to happen only on the LAN, not in the outside world - I see a bunch of these blocks in varnish's log. But I don't know what these are, other than oh hi timeoutes.

From the client standpoint, there's no waiting; you click on the link and instantly get a "server has dropped connection" message. Boom. Much faster than actually loading a page.

Anybody know how to read varnish logs?

* << Session >> 65693
- Begin sess 0 HTTP/1
- SessOpen 10.1.10.206 53818 :80 173.160.243.43 80 1469083778.683280 14
- Link req 65694 rxreq
- Link req 65696 rxreq
- Link req 65698 rxreq
- Link req 65700 rxreq
- Link req 65702 rxreq
- Link req 32788 rxreq
- Link req 360472 rxreq
- SessClose RX_TIMEOUT 6.262
- End

* << Session >> 146
- Begin sess 0 HTTP/1
- SessOpen 10.1.10.206 53820 :80 173.160.243.43 80 1469083780.279525 16
- Link req 147 rxreq
- Link req 149 rxreq
- Link req 151 rxreq
- Link req 153 rxreq
- Link req 229406 rxreq
- Link req 327718 rxreq
- SessClose RX_TIMEOUT 4.675
- End

* << Session >> 294941
- Begin sess 0 HTTP/1
- SessOpen 10.1.10.206 53819 :80 173.160.243.43 80 1469083780.278725 15
- Link req 294942 rxreq
- Link req 294944 rxreq
- Link req 294946 rxreq
- Link req 196635 rxreq
- SessClose RX_TIMEOUT 4.685
- End

* << Session >> 360467
- Begin sess 0 HTTP/1
- SessOpen 10.1.10.206 53824 :80 173.160.243.43 80 1469083780.331048 20
- Link req 360468 rxreq
- Link req 65704 rxreq
- SessClose RX_TIMEOUT 4.641
- End

* << Session >> 98345
- Begin sess 0 HTTP/1
- SessOpen 10.1.10.206 53821 :80 173.160.243.43 80 1469083780.292602 18
- Link req 98346 rxreq
- Link req 32782 rxreq
- Link req 360470 rxreq
- SessClose RX_TIMEOUT 4.689
- End

* << Session >> 327711
- Begin sess 0 HTTP/1
- SessOpen 10.1.10.206 53823 :80 173.160.243.43 80 1469083780.331335 22
- Link req 327716 rxreq
- SessClose RX_TIMEOUT 4.660
- End


using varnishlog directly, it looks more like this:

 328293 SessClose      c RX_TIMEOUT 10.560
    328293 End            c
    196743 SessClose      c RX_TIMEOUT 5.183
    196743 End            c
    163890 SessClose      c RX_TIMEOUT 5.202
    163890 End            c
    360556 SessClose      c RX_TIMEOUT 3.808
    360556 End            c
    393291 SessClose      c RX_TIMEOUT 3.823
    393291 End            c
    131082 SessClose      c RX_TIMEOUT 3.837
    131082 End            c
         0 ExpKill        - EXP_Expired x=32809 t=-10
         0 ExpKill        - EXP_Expired x=393245 t=-10
         0 CLI            - Rd ping
         0 CLI            - Wr 200 19 PONG 1469085933 1.0
         0 ExpKill        - EXP_Expired x=393247 t=-10
    196758 SessClose      c RX_TIMEOUT 5.413
    196758 End            c
    229455 SessClose      c RX_TIMEOUT 5.409
    229455 End            c
    131083 SessClose      c RX_TIMEOUT 5.412
    131083 End            c
    163908 SessClose      c RX_TIMEOUT 5.413
    163908 End            c
    360559 SessClose      c RX_TIMEOUT 5.409
    360559 End            c
    262286 SessClose      c RX_TIMEOUT 5.525
    262286 End            c

Help?

Also posted to ソ-ラ-バ-ド-のおん; comment count unavailable comments at Dreamwidth.

post comment

not really surprising
[20 Jul 2016|06:48pm]

[ mood | tired ]

Trump wants to purge the civil service, following the steps of pretty much every would-be dictator and strongman leader.

http://www.reuters.com/article/us-usa-election-trump-purge-exclusive-idUSKCN10003A

http://www.huffingtonpost.com/eric-schmeltzer/trumps-proposed-first-mov_b_11084210.html

Also posted to ソ-ラ-バ-ド-のおん; comment count unavailable comments at Dreamwidth.

post comment

WHAT WILL IT TAKE FOR THIS SHIT TO MATTER?
[20 Jul 2016|06:40pm]

[ mood | enraged ]

Today's cop shooting of an unarmed black man - who, for a change, survived - is Charles Kinsey, a therapist caregiver at a home for mentally disabled adults. He was talking to a severely autistic man who had run away from said home when the cops showed up and barricaded themselves behind a car.

Mr. Kinsey, being no fool, lied down and put his hands in the air. He is FLAT ON HIS BACK and telling the pigs involved who he was, what his job was, what was going on, and that the man next to him is not armed, that what's in his hands is a toy truck. And he's also trying - verbally - to calm down his charge.

So they shoot Mr. Kinsey, then run up, flip him over, and handcuff him with three sets of handcuffs.

WHAT THE FUCK DOES IT TAKE FOR THIS SHIT TO START TO MATTER?

Also posted to ソ-ラ-バ-ド-のおん; comment count unavailable comments at Dreamwidth.

2 comments|post comment

here, this is terrible
[20 Jul 2016|09:37am]

[ mood | worried ]

"Hillary Clinton should be put in a firing line and shot for treason."

https://www.buzzfeed.com/andrewkaczynski/trump-vets-adviser-clinton-should-be-put-in-the-firing-line?utm_term=.jtBZmQ25p#.co5PnLgq8

"Women should not laugh in public" - Turkey's deputy PM.

http://www.independent.co.uk/news/world/europe/women-should-not-laugh-in-public-says-turkeys-deputy-prime-minister-in-morality-speech-9635526.html

Turkey’s controversial President Recep Tayyip Erdogan has sparked mockery and condemnation by defending new powers he wants to give himself as being similar to Adolf Hitler’s.

http://www.telegraph.co.uk/news/worldnews/europe/turkey/12077703/Turkeys-president-says-all-he-wants-is-same-powers-as-Hitler.html

Turkey bans all academics from travel:

https://www.washingtonpost.com/world/turkey-bans-all-academics-from-travelling-in-latest-post-coup-measures/2016/07/20/f3498b44-4de5-11e6-bf27-405106836f96_story.html

Also posted to ソ-ラ-バ-ド-のおん; comment count unavailable comments at Dreamwidth.

1 comment|post comment

anybody out there know wordpress internals?
[19 Jul 2016|09:10pm]

Anybody know anything about what the comments page in the WordPress administrative interface might be doing to call into themes?

I’ve been trolling through the codex for a while, but hey surprise wordpress is a big project and this is a lot of code to troll. But basically, the comments page in the administrative interface takes a very long time to load (>20s) if my current desktop theme is in use.

If I switch to twentysixteen (the current standard included theme), it takes very little time – basically, an immediate load. That’s changing nothing else, and it is 100% reproducible.

My suspicion is that it’s running some sort of check against the comments contents and/or metadata. I suspect specifically something to do with the avatars, but that’s very much a guess.

This is 100% unrelated to my digital audio workstation woes – completely different machines – and is something that has been bugging me for a while. It started all at once, after we rebuilt the server following the hax0r last year.

Anybody out there with knowledge? Do I get lucky?

eta: I was chatting with mpol on the wordpress IRC channel, who found something in the theme’s functions.php that I’d looked at askance before, and it’s this filter call:

add_filter('get_comments_number', 'comment_count', 0);

And if I comment that out, suddenly we behave a lot better and I don’t see a functionality loss. Anybody know what this might even be doing? It’s line 364 here.

eta2: I know what that filter was doing now. I think without that filter their custom comments counter (which added behaviour I didn’t actually like and had worked around elsewhere) becomes redundant and I’ve commented it out entirely with no bad beahviour so far. Anyone see anything weird with comment counts?

eta3: So far this is working much better! But possibly related, and possibly not, I am still getting admin-panel connection resets at random. Reloads always work, and of course, Query Monitor is not helpful here because the reload works fine without issues or errors. All of Firefox’s explanations are wrong, and this happens under Safari too.

The connection was reset

The connection to the server was reset while the page was loading.

The site could be temporarily unavailable or too busy. Try again in a few moments.

eta4: Many super-thanks to Kirrus on Twitter who has been majorly helpful on this. I’m still seeing the connection reset, but the comment issue is cleared out and along the way, using tools he and mpol recommended, I found an assortment of bugs affecting performance in the two abandonware plugins I still run and more or less privately maintain. Also, one in my now-custom once-piano-black theme which would’ve meant White Screen of Death under PHP7. I’LL NEVER CHANGE THEMES NOW XD

eta5: For even more confusing information on the remaining problem, see this entry on Dreamwidth. Honestly, what the hell?

Mirrored from Crime and the Blog of Evil. Come check out our music at:
Bandcamp (full album streaming) | Videos | iTunes | Amazon | CD Baby

Also posted to ソ-ラ-バ-ド-のおん; comment count unavailable comments at Dreamwidth.

post comment

the purge in turkey
[19 Jul 2016|12:34pm]

[ mood | blah ]

Erdogan's purge in Turkey is getting really heavy. He's talking about re-instituting the death penalty (which would absolutely end any hope for getting into the EU) - and now he's being threatned with suspension from NATO:

Tens of thousands of military officials, police, judges, governors and civil servants have been fired, detained or put under scrutiny — accused of having links to Fethullah Gulen, a cleric living in self-imposed exile in Pennsylvania, who Turkey accuses of being behind the plot.


And it includes, in today's example, every dean in higher education.

This really gave Erdogan's paranoia the rocket-shot it needed(?) to go full-on authoritarian.

Also posted to ソ-ラ-バ-ド-のおん; comment count unavailable comments at Dreamwidth.

3 comments|post comment

fit and finish
[19 Jul 2016|08:30am]

So, I’ve had my Gnome3 desktop up and running for a while (because Unity has not improved with time), and mostly things are okay! But there are small things bugging me.

My desktop, in tiny form, for reference:


Yes, that offset is intentional. The monitor mounting points don’t match.

ONE: Why aren’t these tips being clipped?


Peek-a-boo!

All the windows have them. Sometimes they’re black. So some sort of clipping isn’t. Is this because I’m using the open-source nvidia driver instead of the official one, or is something else going on?

TWO: I can’t run gnome-tweak-tool because it fails out if you don’t run pulseaudio. Is there a way around that? I suspect I might be able to solve item one if I could run item two.

THREE: I can make a link on the desktop to directories with ln -s, of course. But if I make one to Dropbox, the local-instance directory path ends up being /home/kahvi/Desktop/Dropbox instead of /home/kahvi/Dropbox, and even if I put things in the directory, and it is the right directory, Dropbox won’t sync it because the local reference at time of addition was wrong, and it never notices later so never syncs.

I can alt-F2 and type “Dropbox” and get the folder with the right local path, but that’s kind of lame. I can also pull up the Dropbox mini-app and go through a couple of menus to get there, but that’s also kind of lame. It’d be nicer if I could just click on the icon like I used to do. Or better yet, drag onto the icon, that’d be best.

None of these are really big deals, but it’d be nice to get them worked out, so if you have some tips, throw them into comments? Thanks!

Mirrored from Crime and the Blog of Evil. Come check out our music at:
Bandcamp (full album streaming) | Videos | iTunes | Amazon | CD Baby

Also posted to ソ-ラ-バ-ド-のおん; comment count unavailable comments at Dreamwidth.

post comment

less an annoyatron and more an annoyaharmonica?
[18 Jul 2016|08:30am]

Friday night, a bunch of the Lair went out to see the Seattle Symphony and Chorale do Lord of the Rings: Fellowship of the Ring, and 1) holy crow, what a marathon for the performers, I mean damn, and 2) that worked surprisingly well as an art form. Also, the soloists were great.

I know that soundtrack better than I realised, too – I kept picking up small differences in performance, mostly breathing points with winds. There’s a bit towards the end with tin whistle that I don’t know how you do without a breath, and my suspicion now is “you don’t, you do it in post.”

Of course, as soon as we got to Boromir at the Council of Elrond, the entire room exploded in laughter, as was inevitable. DAMN YOU INTERNETS

I also picked up this monster in the gift shop:

And posted on Twitter, “YAY! I’ve found a whole way to be annoying!” and then played bits from Lord of the Rings all the way home. But after playing around with it a while – really, it’s not so much an annoyatron. It’s more a harmonica with a keyboard. That maybe could still be super annoying, but it will, nonetheless, be musical.

Sadly, it’s not chromatic – it’s C-major only – but it’s more flexible than you’d expect, and you can get a bit of vibrato out of it. I have no idea what if anything I’ll ever do with it, but it’s a legit addition to the noisemaker collection.

George (the cat), though, really hates it. So I guess it’s still an annoyatron for some of us. Poor kitty. 😀

Mirrored from Crime and the Blog of Evil. Come check out our music at:
Bandcamp (full album streaming) | Videos | iTunes | Amazon | CD Baby

Also posted to ソ-ラ-バ-ド-のおん; comment count unavailable comments at Dreamwidth.

4 comments|post comment

navigation
[ viewing | most recent entries ]
[ go | deeper ]