Category Archives: Uncategorized
Holy crap cshouse! Posts aplenty,
So I recently been tasked with the job of writing some benchmarking tools for the iphone4 for a game that I am currently porting. Since we are porting from some insanely old engine to unity3d, I’m building these tools with that. More on this later… possibly… doubtfully. Anyways since Unity3d just gave out a castrated version of there android + ios licences I figured I would also try to run it on my galaxy nexus. Naturally as with all my previous android ADT/SDK experience nothing worked immediately.
Firstly just as a heads up Unity as of june 5th 2013, hates revision 22 of the ADT/SDK so you should us this ###insert link to patch### I’ll do this once I get the files put into tho stockpile. lols on June 6th unity released a update to version 4.1.4, this update resolves the issues with revision 22 of the android SDK.
INSERT MONTAGE OF LATE NIGHT COMPUTER MONITOR RADIATION, AND FRANTIC GOOGLE SEARCHING.
So here is a quick study of what you probably need to do without going into resetting pathnames, and all that other stuff I immediatly disregarded as overkill, because where ever you read that you need to install the drivers through windows device manager.
what they really mean is don’t use the windows feature I have the drivers in a folder on my computer obviously, they mean,
use this other button, that sais I want to select from a list of drivers on my computer which I naturally assumed was the wrong one, and thinking to myself, “I know exactly what folder those drivers are in” I kept using the first one, which was pointed right at the ~/somefilepath>/android/skd/extras/google/usb-something.
Inwhich you will be givin a terrible list of things that are not your phone but don’t fret, cliq on the Have disk button, then browse to the url where the drivers are.
Then browse to the desired path at ~/somefilepath>/android/skd/extras/google/usb-something. , and lo and behold, your drivers will show up in a list, I mashed install on the first one out of excitement, and there we have it drivers for my Galaxy Nexus finally installed.
No word of a lie, I think I rather be using ndiswrapper to fix wireless… thats not true.
I don’t know if because I am not really a windows power user, this doesn’t seem like an obvious way to install drivers, mainly when you are given the option to point at a file, but maybe the blame falls on Google for packaging it non-standard. Either way I’m glad that it’s working now.
csHouse has turned to the dark(er) side of canadian internet providers, and is now running on the Rogers Extreme High Speed Internet Package which boasted a modest 35Mbps down, 3Mbps up.
Not too shabby right? Not quite FiberOP, but will get everything up and running. Good stuff.
The service tech gave me a box containing their latest model of modem/router, and out popped the CGN2-ROG, looking like it was steeped in the 90s, and had plenty of ‘tude.
Flashing it’s massive, pointless LEDs, it sputtered to life and began sending and receiving data slower then I could have delivered it by hand. Great.
It turns out this badboy is completely incapable of routing, so, lets just offload that task onto a much better router.
IF YOU ARE HERE FROM GOOGLE, AND FOUND THIS SITE BY TYPING IN A WORD SALAD OF RAGE AND ROUTING ISSUES, YOU CAN BEGIN READING NOW.
So, you’ll need your crappy CGN2-ROG, another router (In my case, it was the RT-N56U), and an ethernet cable (CAT6) to connect them.
- Log into your CGN2-ROG, normally located at 192.168.0.1
- Credentials are cusadmin/password by default, because it’s a magical star child who wants to be different.
- If you can’t log in, factory reset it, or use the usb unlocker they may or may not have been included with the device.
- Go to 192.168.0.1/user/setup-capability.asp
- Disable everything, hit apply. This will place the router into bridge mode. You will NOT be able to access the router now. If you need to, I’d recommend factory reset. It’s possible to directly connect a machine to the router, and access the router through it’s external IP, but just…don’t do that.
- Set up your second router, plug the ethernet cable into the LAN port 1 of the CGN2-ROG, and into the WAN port of the new router. Turn it on.
- You should be good to go, and can treat your new router as the main router. For all intents and purposes, the CGN2-ROG is now just a fancy internet box.
You should notice an immediate improve in speed and stability, and are free to use any router you want.
DING DING DING KO!
I really wonder what the life of normal people is like.
I’m up at three a.m. installing random hacks to linux to get discreet graphics working. Sitting on wikipedia because turning off the laptop seemed like a cowards way out to having power management working properly to get my fan to stfu.
On another note those of us who are using Lenovo Y470′s, you need to add the bumblebee/stable ppm, and download bumblebee bumblebee-nvidia, then gotoand clone the project. Run “make -f Makefile.dkms” then follow the instructions under lenovo Y470 blah blah. It may sound obvious, but it took me awhile to figure out what each section was doing to my install, so remeber todo all three things. If I get the fan the shut up I’ll update this post.
So I guess I should only use the internet at night. Cuz that way I have the fattest pipe. Seriously, look at this it’s like ps3 huge.
Fastest 16 gigs I’ve ever received took about 3 minutes.
The stage is set, friends going back to the mainland in 2 days, we have been downtown `celebrating` for 6 hours. It’s time to go to the Celtic Hearth for some `late night everything else is closed` pub grub. It’s now 3 am and the usual suspects realize that none of us have been to Gros Morne.
It’s really far away.
So some jokes are tossed around about how Patties last day in Newfoundland should not be spent packing and going to banks and dealing with responsible adult shit. It’s should be speant looking at this awesome fjord (Which sadly isn’t technically a fjord because it’s fresh water. But to hell with wikipedia).
Fu-- look at it. So awesome
After a tragically small time passes and with certain glances across the table at one another.
It’s bill time.
And how we hit that road, 3 am, packed with only what we brought with us downtown it’s time to cross the 730 km stretch between us and one of earths most spectacular locations.
We had rain washing the landscape in this ‘lord of the rings’esque fog and wetness, then the sun came out and gave us all sun burns. Thank you nfld weather gods. You made the trip beautiful and warm.
So… that’s pretty much it.
Like 18 hours of driving, and a poorly tossed together lunch bought at a gas station, about 150 in gas, I had 2 rockstars, 3 coffees, a five hour energy drink and 1 bagel belt from timmy ho’s, 2 liters of water, 1 chubby soda, Reese’s ice cream sandwich, and 20 minutes of sleep just outside of gander on a trip that took up nearly 24 hours I had woken up at 2 in the afternoon that day.
100% worth it.
I sounded a little like this too.
Foster the people – some album.
Will Smith – Big Willie Style.
No Doubt – the one with spiderwebs.
Broken Social Scene – some album.
NIN – Halo 14
Childish Gambino – some album.
Bob Dylan – theme radio hour (Friends and Neighbors).
Bruce Springsteen – some album.
There was a bunch I couldn’t remeber either,
Fu– look at it. So awesome
so late early I can’t tell 5 am
Reasons the Book of Job is neat:
Historical critics aim to illuminate the history of biblical texts. They want to know when and where the text was written, how it was composed and who is responsible for it. As mentioned in a previous post, this is ultimately unimportant (and shockingly inconclusive). Job anachronistically gives historical critics the proverbial finger, giving no clues in its narrative as to its history. This in itself makes Job incredible because it perennially demands a new approach. In a way, this has contributed to the survival of the text as a piece of interest for readers. Because it is not nailed to one era, it has made it self perpetually relevant and arguably immortal. The problems presented in Job will never be definitively solved, not because of any logistic details, but because the interpretation of Job can be based almost entirely on present and future approaches, as it is not nailed in history. YOU JUST CAN’T KILL IT.
“If you close your hand to hold an eel or a little muraena, the more you squeeze it the sooner it escapes.” -Jerome, 392 CE
A reminder that we have a minecraft server running on cshouse. Vanilla, no mods.
You can view a map of the server here, it generally updates every few days.
Additionally, EMILY NOW HAS AN ACCOUNT. WOWZA!
This was a pointer review for me and I noticed searching “inline quicksort C” didn’t immediately give me what I wanted so here you go.
Steal it first years steeeeeeeeal it. Also, remember kids learning algorithms is the best part of CS, you just don’t see it till your 3rd year.
Check dat output!
scirvir@mechanus:~/Dropbox/rdmcrap$ gcc -std=c99 inpqsort.c
1 10 3 5 2 9 6 7 4 8
1 2 3 4 5 6 7 8 9 10
Code is looking like ass, so until I install a module to make it look better just refer to the source file below.
the beginning of a string of good ideas.
Idea is simple, watch Hellboy get a tattoo.
#1. sewing needle tattoo
Simon’s post intrigued me, so I decided to post MY .vimrc file.It may look a lot like a .emacs file, since vi is the root of all evil.
;; Add elisp directory and all subdirs
(if (fboundp 'normal-top-level-add-subdirs-to-load-path)
(let* ((my-lisp-dir "~/work/scripts/elisp/")
(setq load-path (cons my-lisp-dir load-path))
;; updated org mode
(global-set-key “\C-cl” ‘org-store-link)
(global-set-key “\C-cc” ‘org-capture)
(global-set-key “\C-ca” ‘org-agenda)
(global-set-key “\C-cb” ‘org-iswitchb)
;; update clock for a work timer
(setq org-clock-persist ‘history)
;; Changing the colour theme
;; Removing the tool and menu bar
(if (fboundp ‘tool-bar-mode) (tool-bar-mode -1))
;; Auto syntax highlighting
(if (fboundp ‘global-font-lock-mode)
(setq font-lock-auto-fontify t))
;;Make backups go to a separate directory
(add-to-list ‘backup-directory-alist ‘(“.” . “~/archive/emacs_backup”))
;; Change the cursor when in overwrite,input,etc
(require ‘cursor-chg) ; Load this library
(change-cursor-mode 1) ; On for overwrite/read-only/input mode
(toggle-cursor-type-when-idle 1) ; On when idle
;; Spotlight mode
;; TURN OFF SYSTEM BEEP!!
(setq visible-bell t)
;; Uncomment region!
(defun uncomment-region (beg end)
(comment-region beg end -1))
(global-set-key (kbd “C-x C-;”) ‘comment-region)
;; Goto line
(global-set-key (kbd “M-g”) ‘goto-line)
;; Compile from emacs!!!
(global-set-key [f10] ‘compile)
;; Disable Auto Save
(setq auto-save-default nil)
;; Disable menu bar and scroll bar.
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won’t work right.
‘(default ((t (:inherit nil :stipple nil :background “black” :foreground “white” :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 93 :width normal :foundry “unknown” :family “DejaVu Sans Mono”)))))
;; org-mode agenda locations
(setq org-agenda-files (list “~/work/research/todo.org”))
(add-to-list ‘load-path (expand-file-name “/home/robere/downloads/sage-4.8-linux-32bit-ubuntu_10.04_lts-i686-Linux/data/emacs”))
(require ‘sage “sage”)
(setq sage-command “/home/robere/downloads/sage-4.8-linux-32bit-ubuntu_10.04_lts-i686-Linux/sage”)
;; auctex pdf mode by default
(setq Tex-PDF-mode t)
Elisp is cool. I wish I was lispy nerd.