Fixing wrong charset in Japanese mp3 files

I had some mp3s I downloaded from a publisher’s website, but they were all shift-jis encoded but marked as latin1. A common thing in Japan, unicode is still not at complete saturation. This script I completely whipped up is very single-purpose, one-shot. You’ll likely have to modify it if you’re having a similar problem.

Continue reading Fixing wrong charset in Japanese mp3 files

Fixing Issue With SSL Traffic on AT&T Router

My issue is detailed here but I thought I’d summarize here basically how to get around it.

Turns out this is an issue with the BGW210 and port 443. If I do the same setup but on 8443 or something else, https works fine. Looking further, it turns out this is is a chronic issue with this and possibly other routers supplied by AT&T (see here, here and here). Trying to use IP forwarding or DMZ settings on the router doesn’t save whatever’s behind it from whatever filtering it’s doing. None of the firewall settings work.

Continue reading Fixing Issue With SSL Traffic on AT&T Router

Setting up Icecast Streaming server on FreeBSD

I started with these instructions for just the icecast part but updated for FreeBSD 12.1. But left out the source client stuff I didn’t need (IceS is too limited features for me) and added the (very impotant imo!) ssl stuff to keep things secure. Install icecast:

pkg install icecastCode language: Bash (bash)

Enable it:

echo 'icecast_enable="YES"' >> /etc/rc.conf
Code language: Bash (bash)
Continue reading Setting up Icecast Streaming server on FreeBSD

Strengths and Weaknesses of Using Haxe for Audio Development

At the Haxe Summit, I did a talk about doing audio programming in haxe. Here are the slides. Edit: here is a link to the video in case you feel like watching me spill water. And below are elaborated notes for the first two slides.

Continue reading Strengths and Weaknesses of Using Haxe for Audio Development

Non-Intrusively Adding Haxe to Your Javascript Setup

Installing haxe is very easy coming from the javascript side. In fact, the way I recommend to install haxe generally is to use lix, which is an npm package (also available on yarn). The only time I’d advise against that is if you don’t want to have npm on your system.

Continue reading Non-Intrusively Adding Haxe to Your Javascript Setup

Automated Testing Haxe Libs on Travis and Gitlab CI

In being able to target so many other programming languages, Haxe presents a unique challenge for testing. You say your Haxe code is “pure Haxe” and hence compatible with all targets, but to truly know that, you need to actually test on all of the targets. That includes languages I’ve never used like lua and languages I hope to never have to use again like php.

Continue reading Automated Testing Haxe Libs on Travis and Gitlab CI

Problem Updating Samba in FreeBSD

Usually updating FreeBSD versions is pretty easy for me, but I did run into a hiccup during portmaster -a:

Installing samba44-4.4.16_1...
pkg-static: samba44-4.4.16_1 conflicts with p5-Parse-Pidl44-4.4.16 (installs files into the same place).  Problematic file: /usr/local/bin/pidl
*** Error code 70Code language: JavaScript (javascript)

Apparently samba now comes with its own pidl due to a bug in the perl version of it. So deleting the package first fixed the issue:

pkg delete -f p5-Parse-Pidl p5-Parse-Pidl44
Code language: Bash (bash)