Starting getting a strange
0×80004005 (NS ERROR FAILURE)
error on Firefox while going through automation tests today. Problem was finally resolved by deleting my temp data in AppData on Win7.
Though I am not a fan of running Windows, I have had to lately for work. I came across an issue recently when upgrading to Tomcat 7 that took me awhile to figure out. It seemed like my Tomcat was running out of memory, and I soon realized that the heap size wasn’t being declared as it previously had been in the catalina.bat file in Tomcat6.
set CATALINA_OPTS=%CATALINA_OPTS% -Dnop -Xms2048m -Xmx2048m -XX:MaxPermSize=384M -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8787 -Xnoagent
Need to install gcc? installing gcc44 will download gettest, mpfr, gmp, bash, gmake, and gcc44 for you.
pkgin install gcc44
Use the fetch command found in /usr/src/commands to download stuff via url. I wanted to download a package of mine on github and couldn’t for the life of me remember what the command was in Minix 3 (no curl, no wget here). I shall never forget fetch again, and neither shall you.
500 OOPS: vsftpd: refusing to run with writable root inside chroot()
The easiest way for me to move benchmarking results from my Minix3 vm in qemu to my ubuntu localhost is via ftp. Today, I was unable to log in as myself. This appears to be a new security feature. I found a temporary way around this seeing as though I will be uninstalling sftpd once I am done with Minix, or at least disabling it..
I chmod a-w’d my /home/user, effectively stripping user’s of any ability to modify this directory’s contents. Then
sudo mkdir /home/user/ftp sudo chown -Rv user /home/user/ftp
I also forgot to toggle passive mode once logged in, which tripped me up for a bit!
removing permissions from my home directory took away my ability to log in after shutting down my computer. I ended up having to create a new admin account and chmodding back my home so that I could log in. I suppose I’ll have to find a better way to ftp stuff over…or never shutdown my computer again.
Clay Shirky gives an interesting Ted talk about how internet will change government, which I think is worth thinking about. I personally hadn’t even considered using github for anything but sharing code, but since watching the Clay’s video, I’ve noticed more and more types of documentation and projects being shared and collaborated with, on github.
What if we wrote our own laws? How would lawmaking via a github-like platform be regulated? Should it be regulated?
An open-source government would provide a great deal of transparency. But where do you draw the line? My thought is moving towards open-source legislation would be interesting and beneficial for our democracy but beyond that may produce more negative results than positive. I would be interested to see some type of open-source budgetary collaboration to see the end results.
I’ve installed a minix3 image using qemu on my ubuntu 12.04 macbook. I’ve run some benchmarks to check out performance – this is all for a research project I have on microkernels and their performance/reliability. I came across some trouble once I finally had some solid results – how do I get them to my local machine? WIthout a gui, I’ve been forced to drive pure commands for the past couple of days which has been great. I set up sFTPd on Ubuntu, it was already on minix3. This is probably the easiest way to push over these test results to a machine on the local network. After a couple of bad attempts and 500 errors, I learned to toggling the passive mode may fix your issue, I will have to keep that in mind!
1. Get Spotify’s repository key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4E9CFF4
2. Add Spotify’s repository
sudo sh -c 'echo "deb http://repository.spotify.com stable non-free" >> /etc/apt/sources.list'
3. Install Spotify
sudo apt-get update && sudo apt-get install spotify-client-qt
My aunt is starting an errands/everything-under-the-sun business and asked me to help her with a website. I have a terrible imagination when it comes to design honestly, but I think it’s coming along okay. Images are too large and are just “for show” right now until we are able to pick out some good ones but the structure seems decently solid.
Things to do:
- get new images
- finish footer
- work on the contact us/ submit feedback form – protection from spam, etc
- bulk up the content – this is more me waiting on my aunt
- we desperately need some type of logo, and then subsequently favicon
- work on social media/advertising stuff for her
I’m open to feedback!
I gave up on the idea of installing FreeBSD as soon as my professor said she preferred to work with linux for the purpose of our OS class and when the install mysteriously wiped my drive (I’m sure…I know I did something wrong..). So I am booting 12.04 now with the intentions of sticking with Ubuntu from now on. The first thing I did was switch to Gnome from Unity – I wasn’t digging the OSX wannabe toolbar-thing, and I’m interested in the Gnome Summer of Code thang next year.
Next, I realized audio wasn’t functioning properly (this is on a MacBook 3,1) but downloading updates, etc resolved that quickly. Finally, upon rebooting, a bunch of menus ended up appearing in Chinese (??!). After I caused more damage than good, I googled the problem and quickly found my answer.
1) edit /etc/default/locale:
2) edit ~/.pam_environment:
Aside from these minor mishaps, I am pleased and look forward to learning to “hack” the kernel and do some cool research this semester.