tag:blogger.com,1999:blog-44249512404840039472017-10-02T08:35:50.297-06:00OnaBlogWhat does it all mean.Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.comBlogger241125tag:blogger.com,1999:blog-4424951240484003947.post-45013224127358076722016-11-15T01:52:00.002-07:002016-11-15T01:52:53.306-07:00Busy, Busy, BusyI've been a busy boy while going back for my masters, I'm currently taking 2 classes, and have been posting quite a few videos called 60 Seconds to Success in OMSCS. Anyhow if you're in the program and you want some helpful tips go check it out.
https://www.youtube.com/channel/UCR-mQpFEIiBWd164H4-yhgw
I'll try to come back once in a while and post some fun stuff.
Lately I've been doing Hough <img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/tnTP5NknAJ8" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2016/11/busy-busy-busy.htmltag:blogger.com,1999:blog-4424951240484003947.post-67727981564884779912016-03-12T05:42:00.002-07:002016-03-12T05:42:39.661-07:00Pickling for easier testingToday I want to talk about Pickling. This approach allows you to save off a variable/data for re-use later.
Why would you want to do this? Well suppose you're like me and you're working on an AI agent, and you have a LOT of problems you need to run through, and all these problems take a little bit of time, and say 50 of them are already solved by your agent, but that 51st isn't, instead of <img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/9PMLO_jNudI" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2016/03/pickling-for-easier-testing.htmltag:blogger.com,1999:blog-4424951240484003947.post-67211909185235289702016-03-02T15:34:00.000-07:002016-03-18T06:26:41.345-06:00Thinking outside the boxI'm currently enrolled in the degree program Georgia Tech offers through Udacity. It's called OMSCS. I'm taking Knowledge Based Artificial Intelligence:Cognitive Systems.
The primary project we are working on is Ravens Progressive Matrices.
I have tons of ideas, and approaches. I'll talk about one that I'm experimenting with (and have no idea if it'll work).
One thought that crossed my mind <img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/iFuf7L3xV3w" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2016/03/thinking-outside-box.htmltag:blogger.com,1999:blog-4424951240484003947.post-20481238731022064912016-02-21T16:05:00.001-07:002016-02-21T16:21:53.237-07:00Converting a Scanned PDF to a text fileI have done a little fiddling and seem to be able to convert a PDF that is a scan of a book, to text format here is the approach in Ubuntu.
1. Put your .pdf in a folder, navigate to that folder in the command line.
2. Type the following:
pdftoppm -png [filename].pdf [prefix]
3. Next install gocr
sudo apt-get install gocr
4. Finally this command:
for i in *.png; do gocr -i $i -o $i.txt; done
<img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/fgjvOif8wo4" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2016/02/converting-scanned-pdf-to-text-file.htmltag:blogger.com,1999:blog-4424951240484003947.post-15761932938112614722016-02-19T07:30:00.000-07:002016-02-19T01:35:06.008-07:00Working with Bitbucket and Transferring Ownership for Class Coding ProjectsI recently started using BitBucket due to their handy free private repositories feature.
I started out with a repo for class but I named it the class name, now I need to create another project, but I can't with the same primary name, and it doesn't make a lot of sense to put all the files under the same repo (the repo won't get huge or anything, but it's an organization issue). I found out there<img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/0fDuQkw1wiw" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2016/02/working-with-bitbucket-and-transferring.htmltag:blogger.com,1999:blog-4424951240484003947.post-10285910051197934742016-02-19T07:00:00.000-07:002016-02-19T07:00:17.497-07:00Updating Git Remote URL'sThis is a follow-on to the last post, so you've moved your git repos around a bunch now you need to fix your push/pull locations. This is a really easy fix.
Go to the folder where your repository lives and edit .git/config (for me command line gedit .git/config) and change the url to the one you want.
With BitBucket, for me the URL that contains onaclov2000@bitbucket.org isn't right (not sure <img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/k6S64OCUFe0" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2016/02/updating-git-remote-urls.htmltag:blogger.com,1999:blog-4424951240484003947.post-26484086239474720482016-01-08T19:00:00.000-07:002016-01-08T19:00:27.439-07:00Python For Loop FunI had a problem recently where I needed to loop through a for loop to find some lines then only combine some lines so I thought for i in range(len(list)): ought to do it. It did not, I'm here to tell you the sad story of what happened. (Well actually this is a conversation I replied to with my buddy Phil, who should start a blog, cause he's awesome and probably could teach you many more things <img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/DlDZ0mKmfjo" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2016/01/python-for-loop-fun.htmltag:blogger.com,1999:blog-4424951240484003947.post-43750988905197246422016-01-06T06:00:00.000-07:002016-01-06T06:00:06.597-07:00It's not You, it's Me
Clearly that has to be the problem. I mean millions of people use computers every day and have little to no problems...right? I must be doing something wrong.
I'll tell you my pathetic story.
So I wanted to combine some content from an excel spreadsheet into a word document as comments, so first approach was to just extract the text, add comments in a fancy "html" page. Did this, but tables <img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/GHBI73jIs_c" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2016/01/its-not-you-its-me.htmltag:blogger.com,1999:blog-4424951240484003947.post-13349310492237456792016-01-05T17:00:00.000-07:002016-01-05T17:00:11.071-07:00Knowledge Based AI:Cognitive Systems Udacity Custom CurriculumI love Udacity for the ability to have a free set of lectures/learning etc online, with forums etc. However one thing that annoys me is that sometimes having an assignment really solidifies learning, so I would like to remedy that.
When going through the Knowledge Based AI:Cognitive Systems lectures, it has a reference link to a pdf to read for supplemental reading, I went through the links and<img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/kd95RdWCenA" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2016/01/knowledge-based-aicognitive-systems.htmltag:blogger.com,1999:blog-4424951240484003947.post-64943449871850987022016-01-01T09:49:00.001-07:002016-01-01T12:14:13.657-07:00Why computers aren't a viable business future 2015This is a bit of a joke post but I wanted to highlight the pains I have felt (and one of my friends Phil) with computers in the last year. Most of these are/will be linux/Ubuntu specific systems that we saw these problems with, but occasionally were other systems.
10. Opening Image Writer in Ubuntu 15.10 causes a system crash (right click menu), opening with command line doesn't. However when <img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/OD0e7oF1L_4" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2016/01/why-computers-arent-viable-business.htmltag:blogger.com,1999:blog-4424951240484003947.post-11803159419244226042015-11-20T04:08:00.000-07:002016-08-07T08:06:49.306-06:00Cameras, Tablets, and Remotes Oh MyIf you've got a reasonably nice camera, and you've ever gotten professional pictures, you've realized that things can get expensive pretty quick. So you decide to do it yourself, but setting the timer, then running to get in the picture only works so well, plus if you have little ones it makes it about 10x harder. I did some searching and found some really awesome bits and pieces to help things <img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/zKfQZiGyX_4" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2015/11/cameras-tablets-and-remotes-oh-my.htmltag:blogger.com,1999:blog-4424951240484003947.post-75608468559249124402015-11-06T09:53:00.000-07:002015-11-06T09:53:00.621-07:00Programming Anywhere: Rudy BBQI decided to try out Rudys for breakfast and working. I love their tacos (Red Chile + Sissy Sause = BEST EVAR). Rudys has tons of space, if you're not around during main lunch and dinner crowds you can hang out in the outer area, there is great music playing (little older music so it's kinda fun). And its not distracting. The temp is comfy (well right now in mid October) too! (Inside may be more <img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/5WDrwMiu7Ww" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2015/11/programming-anywhere-rudy-bbq.htmltag:blogger.com,1999:blog-4424951240484003947.post-81457368079937658132015-10-30T09:49:00.000-06:002015-10-30T09:49:00.106-06:00Programming Anywhere: Chows Asian Bistro
In continuing to find good places to work, I have found Chows Asian Bistro to be great. If you are in on the weekend nights, you get treated to live piano music, which is just AMAZING. They seemed receptive to my working from there, I suppose if more people showed up to work (but also bought food) they wouldn't complain. It's the folks who show up order a tea and hold seats for hours, don't be <img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/NQ4w_Unbg9U" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2015/10/programming-anywhere-chows-asian-bistro.htmltag:blogger.com,1999:blog-4424951240484003947.post-45877483528165557112015-10-28T10:34:00.002-06:002015-10-29T19:32:24.249-06:00Numpy Array Size, and ValueErrorI just wanted to capture this for others as I'm not sure the *correct* solution but it appears that trying to use a very large array within SKLearn's kmeans seems to cause a problem.
Traceback (most recent call last):
File "..\School\GeorgiaTech\Assignment_3\live_pca.py", line 167, in odule&gt; k_means_results('Live No Feature Selection', [X,y], [X_test, y_test], colormap = False) File "..\<img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/SMfZzlGTRus" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2015/10/numpy-array-size-and-valueerror.htmltag:blogger.com,1999:blog-4424951240484003947.post-85810730000860149622015-10-23T09:42:00.001-06:002015-10-23T09:54:06.486-06:00Programming Anywhere: Food Court At The MallBeing crazy jam packed with school I've had to sneak away to work on projects/homework. Typically in Albuquerque Flying Star is the defacto standard for studying/etc. I love the place but haven't been loving the menu choices, so I decided to start trying other places out.
The first place I tried food court at the mall. I got in around 9 or 10 even though stores aren't open often times the mall <img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/nU9WrmOC_o8" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2015/10/programming-anywhere-food-court-at-mall.htmltag:blogger.com,1999:blog-4424951240484003947.post-26177183512850972572015-09-25T15:10:00.001-06:002015-09-25T15:10:17.132-06:00You're speaking our language. Up for a challenge?Fun to see one in the wild, I finally got a "You're speaking our language" message via google :)
I won't give away the query that got it, but was pretty fun to see!
<img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/hlAARZQ5x7Q" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2015/09/youre-speaking-our-language-up-for.htmltag:blogger.com,1999:blog-4424951240484003947.post-31337943033173449682015-08-17T18:00:00.000-06:002015-08-17T18:00:12.877-06:00Back to the FutureOk so this feels vaguely familiar all over again. I am starting classes as of today. It feels strange and exciting at the same time.
I am currently enrolled in the Artificial Intelligence for Robotics. This class is also known as Programming a robotic car. The more I'm taking the lessons the more excited I am getting about the course.
I went through the first lesson and problem set, we learned <img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/5lwctqtM77A" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2015/08/back-to-future.htmltag:blogger.com,1999:blog-4424951240484003947.post-357030541004563062015-06-11T21:57:00.002-06:002015-06-11T21:57:35.195-06:00#50over20What is this hash tag? Well I got tired of seeing all these #30under30, or #40under40 clubs that people are a part of. There are plenty of awesome people who are not necessarily part of these communities where they can be nominated and win (assuming it's not just a popularity contest). So here's my idea. I'm going to find 50 people I have met in person that I think are awesome. My ONLY <img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/m3wkvJ_2zJA" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2015/06/50over20.htmltag:blogger.com,1999:blog-4424951240484003947.post-43524696200286885332015-06-05T17:00:00.000-06:002015-06-05T17:00:03.575-06:00Working Around Nodejs Module Common Singleton Design PatternI ran into a problem a few days ago. I built this really nifty queue module. It removes elements once they're old as defined by the key "endTime" (which come to think about it, maybe that could be a future enhancement to specify how to "expire", but I digress). Here is the problem, I needed a second queue. Well I can't just require my queue module in because it's cached and well it's not a "new" <img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/gqYTHh5K1Vw" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2015/06/working-around-nodejs-module-common.htmltag:blogger.com,1999:blog-4424951240484003947.post-34240528390930191402015-06-03T08:00:00.000-06:002015-06-03T08:00:07.392-06:00My First Hour with a ChromebookI'm excited. I do believe that a computer with all the tools you need at your fingertips exist. Why should compiling git require figuring out build resources, and installing a handful of different things, why not just be able to go to git.com/org/whatever and say I have a file, please compile, and it does it, on your machine (or optionally on their). Why do we have to fight to install software we<img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/YjpfnzRwk38" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2015/06/my-first-hour-with-chromebook.htmltag:blogger.com,1999:blog-4424951240484003947.post-32586216211880662122015-05-13T18:00:00.000-06:002015-05-14T05:34:40.187-06:00Making a simple webapp using flaskrMost flask examples use a blog as an example. This is probably very similar (and I'm pretty sure 90% was from another tutorial) but I just wanted to show some differences.
First we create a schema, and make a database
schema.sql looks like this.
Before running that you'll need to create the initial
db which can be done via the command line in the same folder as your
flaskr.py file
sqllite3<img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/9CpCTvmCXcY" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2015/05/making-simple-webapp-using-flaskr.htmltag:blogger.com,1999:blog-4424951240484003947.post-71383130730224266882015-02-16T16:43:00.001-07:002015-02-18T05:49:28.538-07:0010 Tips for an Awesome Technical ResumeI've been asked a few times about providing tips regarding resumes. I'd like to provide them here.
GPA is a must for some companies, keep it on if it's above 3, off if it's below (but know who you're applying to, if they care about GPA then you'll need to give it eventually).
Don't use your school's email address on your resume. If companies don't have any openings but like you, they may not be<img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/pE_crxb6UWQ" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2015/02/10-tips-for-awesome-resume.htmltag:blogger.com,1999:blog-4424951240484003947.post-84741865093243305062014-12-23T08:00:00.000-07:002015-06-03T05:34:22.312-06:00Building your own DVR Part IIThis is a continuation from Raspberry Pi + HD Homerun Dual = OTA Dvr
The original post here was outdated and I decided to remove it.
There will be future posts but it's slow going.
This is going to be a very step by step tutorial as I go through things :)
<img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/qSCCNvEer_8" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2014/12/building-your-own-dvr-part-ii.htmltag:blogger.com,1999:blog-4424951240484003947.post-66041390898993708992014-12-22T14:00:00.000-07:002015-08-07T09:24:57.456-06:00Raspberry Pi + HDHomeRun Dual = OTA DVRMy latest project has involved working towards a cord cutting world.
Lets get started.
The Parts
(prices as of current posting)
35.09 Raspberry Pi Model B+ (I initially used, Raspberry Pi Model B but don't expect any difference)
About $10 Research your own microsd card (for Model B I used this, I will post what I use when I get my B+)
18.99 Powered USB Hub (Any version should work, I just <img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/bj546FB_7x0" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2014/12/raspberry-pi-hdhomerun-dual-ota-dvr.htmltag:blogger.com,1999:blog-4424951240484003947.post-76805226508465396552014-11-25T05:00:00.000-07:002014-11-25T06:22:26.229-07:00Automated Email Form Part 2Continuing our post from Automated Email Form Part 1.
Now you have a trigger setup in Zapier, lets setup the webpage to send an email to yourself.
This will be an AngularJS app, so add the appropriate pieces to make it work. (you can look at angularjs.org or many online tutorials for specifics).
First lets add an input field to your webpage like so:
If you notice I left name in there, but <img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/8QGCA0wHe3k" height="1" width="1" alt=""/>Tyson Baileyhttps://plus.google.com/103283054461982138571noreply@blogger.com0http://blog.onaclovtech.com/2014/11/automated-email-form-part-2.html