Synology Newznab

Setting up an individual NZB index with Newznab. Followed the tutorial here. Using DS112 on DSM 5.0-4458 update 2.

Needs ipkg. I bootstrapped it before, but I think DSM 5.0 might have broken it. Here’s what I did to re-enable it.

cd /volume1/@tmp
wget http://web.archive.org/web/20121005035819/http://wizjos.endofinternet.net/synology/archief/syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh # Applies to the processor on the DS112, which is the Marvell mv6282. Find yours here.
chmod +x syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh
sh syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh
rm syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh

(optional) An error message said I had to delete some old optware folders, reboot, and try again.

rm -rf /volume1/@optware
reboot

Then I had to fix the install. ipkg works until you reboot, so there are some changes you need to add to make it reboot-proof. Fix taken from here.

vi /etc/rc.local
#!/bin/sh
mount -o bind /volume1/@optware /opt # Make sure this line is added in as shown

vi /root/.profile
PATH=/opt/bin:/opt/sbin:[whatever else was originally there]

reboot

Since we’ll be going in and out a lot via SSH, let’s set up passwordless SSH keygen pair login. This thread helped a lot.

ssh-keygen -t dsa # Do this on your computer. Further instructions can be found here.

ssh root@Synology
cd /root
mkdir .ssh
nano .ssh/authorized_keys # Paste your key from id_dsa.pub into this file, and ensure there are no line breaks.
chmod 755 .ssh
chmod 600 .ssh/authorized_keys

nano /etc/ssh/sshd_config
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication no

From there, you can easily follow the tutorial to set up Newznab. For some reason, it tells you to uninstall php via “ipkg remove php -force-depends.” That just broke my Pear, so I reinstalled it. Not sure what effect this will have on my Newznab, but I guess I’ll just see.

From the pre-flight checklist, received a warning that Apache’s mod_rewrite wasn’t loading. No real solution came up on Google, so I just moved on.

Everything else was pretty easy thanks to the tutorial.

Tagged with: , , , , ,
Posted in Hacks, Technology

How Being a Doctor Became the Most Miserable Profession

Should doctor in Canada. We’re friendly and patient.

link

Posted in Huh

RaspBMC in Raspbian

I was having issues with playback in Frodo, so I thought I’d try Raspbian with XBMC built over top. It seems like RaspBMC will someday morph into linXBMC, so I wanted to get a feel for what it was like beyond RaspBMC.

Building XBMC on my own was quite difficult and time consuming, so instead, I resorted to Michael Gorven’s tutorial.

To get on some RaspBMC test builds, follow these instructions by dom and miappa. Performance has been really smooth so far, so I’m not in a rush to get on today’s update.

Posted in Hacks, Technology

Glory Revealed by Candi Pearson-Shelton

Here’s a gem from Glory Revealed, albums where the lyrics are all taken from Scripture. This song is taken from Isaiah 40.

link

Posted in Music

Tiger cub playing with a dog

link

Posted in Cats, Dogs

The Ultimate Guide to Solving iOS Battery Drain

Steve Loveless, former Apple Genius, provides some really thoughtful responses to poor battery life. Going to the Apple Store regarding short iPhone battery life seems like walking into the doctor’s office and complaining about pain.

One quick thing before we start — 99.9% of the time it is not actually iOS that is causing your battery to drain quickly. I guarantee you that if you erased your phone and there were no apps or email on it, it would last for ages. But, no one uses their device like that, nor should they. Hopefully with these steps you will be living in iOS battery bliss while still using all the apps and features you love.

I needed to hear Step 6: Turn off Battery Percentage. I worry far too much about my battery not remaining at 100% through any kind of use.

iOS 7 made it super fun to close your apps: all you have to do is double-click the home button and swipe up on the app preview to blast it into a digital black hole.

What most people tell you is that closing your apps will save your battery life because it keeps the apps from running in the background.

Wrong.

link

Posted in Hacks, Technology

Specificity

What do you want?

I’ve been working on an internal website at work lately, so I’m learning new things in web development standards. There exists a concept of specificity, where styling placed in different ways takes precdence over inherited characteristics. In engineering, specificity comes into play in the area of standardization and customization. Should we apply a rule of thumb across the board or redesign it to the very specific requirements of this project or problem? In so choosing, you manage the level of overhead and rework required when approaching a problem with varying degrees of success, some of which compete directly with others. With respect to the websites, some styling should cascade across the entire property, like fonts and headers, but some pages are special and get unique styling. Hence, you have trade-offs between opposing demands. Part of the struggle in problem solving is discovering all the competing scales that you must balance.

Once you find out what those scales are, you learn how important are the results of either end of the spectrum. In school, you usually receive a syllabus that tells you what the weighting of the exams and assignments are. In organizations, there are always rock star groups or individuals who make the most money or the most impact, and without them, the wheels fall off the bus. You learn what you can depend on and what you can’t, who you can trust and who is a terrible person. You discover when you’re walking on thin ice and when competitors don’t have a leg to stand on. Complex problems are a burden, and delegating tasks is a weight off your shoulders. Once you learn what the different scales are, you learn the weight of the results in where you land.

Where does that take us?

In solving a problem, you take all of these steps into account. Goal, competing factors, and weight. When you have a specific problem, people may not know the competing factors you’re facing, let alone the weight of the problem and its effects. Beyond that, they have no skin in the game, so they suggest solutions that have less consideration of the cost of their solutions and what the impact will be on you. It probably works better for their interests or preferences than it does for yours. On the more positive side, we have First World Problems, where comfort is always out of reach and sympathy from others is in short supply.

Carrie and I have what appears to be a specific problem: why don’t we go to the Calgary Vietnamese Alliance Church?

Carrie and I stopped going to the Calgary Vietnamese Alliance Church in June 2013 and switched to Southview Alliance Church in the SW. We went for about fifteen months and tried to provide an English ministry to support the young adults. CVAC was renting a room at First Alliance Church but has since resumed occupancy of a lesser building in Forest Lawn.

What do we want? We want to follow Jesus.

What are some of the competing factors we’re facing? On the one hand:

 

  • We’ve gone to the Vietnamese Alliance Church our whole lives. Why not continue the tradition?
  • The need for leadership is great. Why aren’t you helping out?
  • We’re Vietnamese.
  • We used to go there.
  • We’re related to some people that still go. Namely, parents.
  • My dad worked there for a bit.
  • It’s closer to where we live.
  • We used to go there.

On the other hand (and in no particular order):

  • The church hasn’t been an easy place to grow spiritually as an English speaker. Naturally, the Vietnamese immigrants want to create a church based on their own goals, one of which is to foster/preserve the Vietnamese culture. While that’s a worthy pursuit, at times it’s to the exclusion of the English-prone congregants. There is competition for teaching resources, and providing for the English service simply isn’t a priority.
  • We’ve tried before, and it’s a demanding environment to volunteer in.
  • The church decided to move somewhere without youth groups and English services. Not only does this remove our ability to worship together, but now the Vietnamese-speaking folks have to spend time taking care of the children. While a necessary investment, but in this specific case, maybe the finances worked better at First Alliance where everyone could focus simply on following Jesus closer through the provided services and ministries.
  • Have you heard the preaching at Southview Alliance Church? It’s in English, and it’s amazing.
  • Have you worshiped at Southview? The music is amazing and also in English.
  • We’ve been overcommitting to church for a number of years. Four days a week is too much for a volunteer. In general, I find when you force something for so long, your soul rejects it for an equal amount of time. I spent a good 13 years memorizing music for piano, and despite my great love and appreciation for music and the instrument, I simply cannot spend any more lifeforce repeating passages for hours until I memorize them. Similarly, the pendulum is swinging the other way in my spiritual life, and I just need to be able to not spend half my week doing church-related activities. I should probably even be committing more than just one evening as it is, but pendulum swing. One day, we will get back to a normal and healthy level.
  • Carrie’s busier now because of school. The CVAC English Ministry was doing well before she enrolled in distant learning, and Crystal was promoted to being a manager shortly before we decided to disband. We didn’t stop the English Ministry because we were displeased with a church decision. We just couldn’t logistically sustain a small group anymore, and no one stepped up to take over. Shortly thereafter, we changed church locations because of an agreement at the board level to transition back to the old building in Forest Lawn, which obviously meant no more services en Anglais.
    • It should be mentioned that the District wanted to sell the Forego Avenue building because operating and maintenance costs were becoming prohibitive, transit access was poor, and expansion would be too costly. Never mind the lack of resources to provide an equal level of service compared to First Alliance.
    • First Alliance was too far for some. Everyone gets to work somehow, but going to church is too inconvenient. Welcome to Calgary, where everything is far.
    • Southview is about as far from our place as First Alliance is.
  • We could attend one service on Saturday for ourselves and then attend the Sunday one to help out. This is a potential solution were it not for the other points weighing us down.
    • One thing I don’t like about this one is that it insulates the Vietnamese to the problem of their children’s faith and taking ownership of it. At least at First Alliance, they were paying for access to the services through the arguably unrealistically high rent being charged. Tough love, I guess.
    • This has been done before, but this isn’t a solution that should be launched on a person not volunteering to take on the extra burden. Can I sign you up for 10 hours of volunteering a week simply because I think you can fit it into your schedule?
    • There is nothing new about this approach. The problem isn’t so much that the help isn’t there or of sufficient quality, but the support from the Vietnamese Church isn’t adequate to sustain a long term and robust ministry. I’m talking paid staff here. The problem is that they don’t think it’s a problem worth investing money and time to solve.
    • It has also been suggested that we attend Southview but give our tithes to CVAC. That’s not cool because we support the people that support us. Suppose we just give all of our tithes to a different church. Why tithe at all? We could give that money to another charity because apparently the church you attend doesn’t need our financial support.
  • Most importantly, we can’t get closer access to Jesus at CVAC. We can at Southview. Walking with Christ is hard enough without having to elbow your way through for sustenance at the Lord’s table. (English bread? muffins? (As long as it’s unleavened.))

That is our specific problem, and our goal is to follow Jesus closer every day. Our solution is to continue to go to Southview and not serve at CVAC. Have we been successful so far?

Posted in Changed My Life, Huh, Successful Living