Skip to main content

Posts

Building and installing CAN bus bundle on Kura/Eurotech Software Framework

The documentation is incomplete as of 11/25/2015:  http://esf.eurotech.com/docs/how-to-use-can-bus . It shows you how to setup the can0/can1 interfaces. I think I finally figured out the real steps to getting the CAN bus service working in Kura. I found this website somewhat useful:  https://tobiddev.wordpress.com/2015/03/23/one-bundle-project-modbus-and-eclipse-kura/ . It didn't tell me how to build a bundle, but I took a chance with the following and now I'm able to see my module loading the CanConnectionService in the Kura logs. First, build Kura from source following this guide:  https://wiki.eclipse.org/Kura/Getting_Started . You'll probably want to build it in Linux (I am using Debian Jessie) or possibly OS X (I didn't test it). For sure, it fails in Windows 8 at the create_installer.sh part, so I decided not to waste any more time on it. You basically need Kura built just enough so that you can load everything into Eclipse. I was able to do this using Eclipse...

New stuff everyday

I finally got my own copy of CLRS. This is legit. Well, it's only legit if I really start studying. I'll give an update in the next few days... In other news, I finally figured out how to draw nice arrows in Paper53 .

End of year resolutions

Not really, but sorta. I finally figured out, ten years late in my career, that I need brush up on theory and just do side projects. Even if I'm no good at it. Starting with coding up data structures and algorithms. In C++. This past week, I did a basic doubly linked list (at least, I think... I'll need to check it against what I find in Google) and then will do a queue and stack, derived from the linked list. I'll also start binary search tree this week. I've also begun reading up on Java 7 and need to start a project with it.

Coding in Windows

I'm late to the party again, but I just discovered ConEmu . For the last year or so, I've been using Git Bash (and prior to that, I used cygwin). I can't remember why exactly I switched away from cygwin, but I vaguely recall that something funky happened when I was trying to develop something while using cygwin, and then I told myself never to use it again because I was so annoyed. Git Bash seemed to be the most straightforward and simplistic thing to use for <whatever I was trying to do>, so there I went. I just couldn't get myself to like it the way I liked cygwin, though. You know how sometimes when you have to use the mouse to copy and paste stuff into your terminal? Yeah. It was so annoying in Git Bash and no, I really didn't want to google for a hack to make it work. Out of frustration, I asked Google if there was a "better terminal for Windows". The first link was a StackOverflow page where the author of ConEmu replied. "Why not", ...

Learning assembly via Microcorruption

From time to time, I pull up the CS class homepages from Cal so I can brush up on stuff I learned/should have learned. It's kind of crazy to see what they're learning now, even in a lower division 3rd semester class (neural nets? MapReduce? Parallelism? We spent several lectures on Verilog and CPU design!). On a somewhat unrelated note -- why do CS professors/lecturers use Comic Sans in their PowerPoints?! One specific reason I stalk these CS homepages is to read the lecture notes and materials on assembly. I've always had an irrational fear of assembly, ever since taking one of those CS classes and not doing so well... However, I always have to keep coming back to it for one reason or another -- usually by way of a CTF. After banging my head against the different problems from picoCTF (both 2013 and 2014) and slowly trying to figure out how to use gdb effectively, I finally understood how to get through the tutorial and level 1 of Microcorruption. This is both a sad an...

ReactJS vim

I am learning ReactJS, so I did a quick project to implement a very basic vim. http://carise.github.io/reactjsvim/ The github repo is kinda messy... I'll put the actual app js code into its own file in master and then move the index.html and other stuff into the gh-pages branch.