Thursday, September 8, 2011

To roll my own... or not

That is the question I am asking myself...
After editing my abovesobelow site I realized I should get a content management system like wordpress, django or something, but then I realized that I do want to learn how to write back end code (even though I've written a teensy bit already)...
To roll my own content management/blog type software would be great, maybe even search npm (node.js package manager) to find all the little lego pieces I need in order to do it.
I do have some unique ideas (that have seemed to have leaked out): Amazon's @Author allows people to select passages from books and ask the author questions.
I sorta wanted to do that with a news site where certain parts of the article could be highlighted and be commented on in particular, maybe between
tags. And the "hot" paragraphs/sentences would change color (towards red).
But that's just a novel little idea :)

Oh well.  Maybe I'll sit down with a notebook and pen and try sketching some goals out and weave some sort of node.js + couchdb or python + couchdb magic to get there... either way couchdb has won my heart over (without me even doing anything useful with it yet, maybe it's been my couch situation or the philosophy of relax or REALLY how it takes advantage of the HTTP protocol and melts with javascript so... sexily :)

Anyway. Signing off.

Node.JS implementation of BitTorrent DNA content delivery?

I want to know what people think of this idea. I am working on the feasibility myself, but seeing node.JS applications that do distributed computing, I figure there may be a way to do distributed content delivery using BitTorrent and node/websockets(maybe?) technology.

After having the idea in the bathroom looking into the mirror, I googled _bit torrent for streaming_ and came across:
BitTorrent DNA
and further to our interests:
DNA video streaming
Here's a clip from the DNA Client section of the site:
Description

BitTorrent DNA is a single 280KB executable file that must be present on the end user’s machine to take advantage of peer network acceleration. It operates in conjunction with a browser plugin which works with Microsoft Internet Explorer and Mozilla Firefox.
Platform Support

BitTorrent DNA is designed to run on versions of the Windows platform beginning with Windows 98. Browsers supported include Microsoft Internet Explorer 6 and later and Mozilla Firefox 2 and later. For streaming, Adobe Flash 9 and later is supported.

BitTorrent DNA is not yet available on platforms other than Windows. If an application runs on multiple platforms, it must verify that Windows is the current platform before accessing BitTorrent DNA. If the user is not on a supported platform, the application should use standard HTTP for download and bypass using DNA.


This sucks for 2 reasons, limits users to windows machines and it requires a download and an extension to be installed in the browser.


I have a feeling that it may be possible to do something similar with Node.JS
(Here's a BitTorrent client written in javascript.)
and perhaps Socket.IO, but it's just a feeling as I have barely scratched the surface of these technologies.

Therefore the title of this article ends with a pronounced question mark. Just an idea, think about it smart and good programmers out there.... do it (and please let me know what you think or do!)

(It's because I like to watch cartoons...)

Sunday, August 28, 2011

Twigga



Twigga
is a python CGI hack that I threw together in a couple days. Just click to see what it does.

Thursday, August 25, 2011

D-Link DWA-110 external antenna possibility


I just received a DWA-110 today, I cracked it open to take a look at the PCB since I heard rumors from this forum post here that there may be the possibility of adding a pigtail to this adapter and attaching an external antenna.
They say its a U.fl RF connector, if it is, then it's either A) Missing the middle pin or B) Female or it's not a U.fl connector at all.
I was hoping to get some insight on this and will tag further posts with 'dwa110' with updates on this particular investigation.

Sunday, August 21, 2011

Ubuntu 11.04, Netgear WG111 weirdness

I have a weird networking problem.
WG111 USB wifi stick <--> Belkin router

I can connect to the router fine, the DHCP client gets an IP address fine:
wlan1
inet addr:192.168.2.9

...and the signal icon is visible in the gnome tray.

...The entry on the router's DHCP table

'route' shows that there is a gateway
default 192.168.2.1 0.0.0.0 UG 0 0 0 wlan1


and when I open wireshark I am able to see the MDSN traffic from a printer on the network:

and when I try and connect to the router, the TCP handshake never completes:

EDIT:This packet capture shows that I am attempting to connect to 192.168.2.2 instead of 192.168.2.1, the capture looks the same for trying the correct IP address as well /oops

Also, pinging the router's IP, or any connected client's IP gives no response.

*edit*
I installed ndiswrapper and put the wg111 .ini windows driver in that, which seemed to have made it work, but when I booted up again this morning, the WG111 usb powered up, bilnked its light a last 4 times never to be recognized again :I

Wut.

Saturday, August 20, 2011

Wifi Access Point Chat and other Ad-Hoc ideas

For the past several weeks I've been without a consistent internet connection. I've been picking up whatever *cough* open wifi that I can, and visiting Grinders Coffee Co. on occasion in order to exchange data with others.

Being in this state of affairs I've wondered what people will do with all these wireless transceivers (wireless cards, access points, bluetooth, etc) if the Internet takes a dump on itself, or the plug is pulled by Ma and Pa Federal.

I've been contemplating novel peace-time systems of communication using wifi transceivers, and perhaps eventually linking neighborhood/apartment mesh-nodes with each other through longer distance CB or ham radio.

Ideas:
An access point serving a socket.IO chat server for anyone who connects to the AP.
Example of nodechat: http://nodechat.no.de/ registration is simple, user/pass/email (which isn't checked I don't think).

I posted an idea on twitter:
ad-hoc chat/server with some low level wifi broadcast packet tweaking?

I want to make something extremely transparent and allow ANYONE to be able to join in on the communication, an issue I can see is malicious code being pushed by "bad nodes"...

Suggestions from @rrrrrrrix:
or just use link-local xmpp (Bonjour) :-)
that paired with BATMAN (mesh network protocol) makes for awesome infra-less lan chat


At Defcon 19 I was able to go see a presentation talking about using the built-in transceivers on android phones to create an ad-hoc network of sorts called auto-BAHN [main site]. It seems to be in a very early stage, but I like the goal of having a standardized mesh protocol running on all smart phones that can be activated in case the cellular signal is lost (or activated on volition).

However, I do not own a smart phone with wifi built in, and I figure a lot of valuable human beings are without these smart phones, but may have a wireless card installed on their computer. Integrating an auto-BAHN mesh network into router firmware would also be a great idea to make longer range nodes that aren't reliant on battery life.

Wednesday, August 10, 2011

6 Month Dental Checkup

I had a 6 month dental check up which has put my time here in Phoenix into perspective, what I have been through in the six months back in the ol' 602...
Juggling is the first thing that comes to mind. Without an internet connection I delved into the world of juggling tennis balls for hours on end, it was fine when it was nice outside (pre-summer) but now I don't spend as much time juggling, I need some bean bags or something that doesn't bounce so I can practice inside.
I've been confusing to my family, Heisenberg uncertainty principle applied to a my direction in life... Causing an apparent general ruckus in the minds of the 2 biologically-authoritarian females in my life: my Mother and Grandmother, I can only assume when their teeth gnash and claws become revealed it's with good intent.
Heavy assumptions being made, confusion, misinformation, fear lace their words when I finally get a smell of the concerned gossip that goes on behind my back. When it's directed at my face statements such as "You're doing nothing with your life" are unleashed upon me, which creates a wave of discontent in my being. Assumptions that I have an enemy called "The Man" that I am totally against working for ???? being a parasitic being on my Father and his finances etc. Perhaps, I tried discussing how he felt about me staying with him, he seemed to appreciate it, but at the same time didn't want me to feel obligated to stay with him? I love, and I don't care (if that makes sense) in a very Henry Milleresque way. I don't care enough, so I can love purely, without any bounds. I'm wild... or the domesticated beast, what's the difference? I don't feel the need to "make my own way" in a world where all the ways are made, all you have to do is decide and do what you want to do. They are very concerned with money, and it's actually getting to a point where I need to make some, my bank account just went under 100 dollars for the first time in my life, for some people this is normal living from paycheck to paycheck, I never had that issue, never had the feeling of being "stuck" in a cycle of work->check->pay rent->work endless cycle of poverty, just barely clutching on to the necessities. I tend to give up luxuries, or cut as many corners on my own life in order to keep a balance in the finances... or in reality I spend money at thrift stores thinking (well, this is a good deal, if I can't use it I can probably sell it...) or buying PA systems that are now being lent out because...you know... living with parents you can't play loud music. My Dad is paying 22 bucks for a copper ring/tip phone line and isn't quite aware of how awesome a high-speed internet connection is (why I am sitting out here on the back porch writing a blog post at 1:03AM in order to escape the day time heat, and absorb the WiFi from a neighbor) The thermometer reads about a 95 deg. F even at this hour. This area of suburbia is pretty humid as well, maybe it's the canal and all the irrigated lawns producing work for the illegal immigrants... My umwelt is interesting in it's own right.

Mosquitos bite at me, which is living poetry, me sucking wifi, them sucking my blood, it's a circle of leeches all the way down to the "last hole" that can be sucked, the last well that can be tapped and used. There is no art to the utilitarian (I lie!). The machine is art, money and making it is art, it's sexual.

As stated in Kinsey:
Fucking is... nothing more than-- than friction and harmless fun?

Well, let me tell you... that is a risky game,
because fucking isn't just something.
It's the whole thing.
And if you're not careful... it will cut you wide open.


From Kinsey script

How easy it is to fall inside of yourself and forget where you CAME from~
*contemplates belly button*