chris@localhost https://varenhor.st A page to show up when I'm google stalked Mon, 08 May 2017 20:21:17 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.34 Stop it: “email AT domain DOT com” is making a spammer’s job easier https://varenhor.st/2010/01/email-at-domain-dot-com-is-making-a-spammers-job-easier/ https://varenhor.st/2010/01/email-at-domain-dot-com-is-making-a-spammers-job-easier/#respond Fri, 08 Jan 2010 09:03:30 +0000 http://varenc.scripts.mit.edu/blog/?p=10 Its pretty well established that “email AT domain DOT com” offers only marginal protection from spammers getting your email address, but sometimes, it makes it even easier.  Look at this google query for “at gmail dot com” restricted to LinkedIn.com

From a search like this I can harvest thousands of reliable emails off linkedin.com, or the general internet, using only the search engine context.  In fact, I did, here’s 500 gmail addresses from LinkedIn with the last few letters removed.

Search engines don’t index special characters, so an email of the form “email@domain.com” is protected from this sort of discovery.  The basic trouble is “email AT domain DOT com” is completely indexed by search engines, and its unique enough that whenever you see “at domain dot com”, you know its part of an email address.

If you really want to evade an email harvester, put up an image of your address, use some css/js obfuscation techniques, or encode your email in a simple statement like ‘my last name at gmail.com’

Personally, I already get enough spam, and gmail provides excellent enough spam filters, that I don’t mind spreading my real email address around anyway.  Go ahead, send me a note at chris@varenhor.st if you wish!

@varenc

]]>
https://varenhor.st/2010/01/email-at-domain-dot-com-is-making-a-spammers-job-easier/feed/ 0
Some iDoor source code… https://varenhor.st/2009/12/some-idoor-source-code/ https://varenhor.st/2009/12/some-idoor-source-code/#respond Wed, 30 Dec 2009 06:02:11 +0000 https://varenhor.st/?p=104 I’ve  gotten enough requests for the code I figured I should just release it into the wild.  Use this only as an example of how to do some fancy things with phidgets, don’t use it as an example of how to actually write good code!  You can checkout the nasty threads and the door protocol that requires every message starts with ‘awesomesauce’!   Enjoy.

Code

]]>
https://varenhor.st/2009/12/some-idoor-source-code/feed/ 0
iDoor – iPhone Controlled Hydraulic Door https://varenhor.st/2009/07/idoor-iphone-controlled-hydraulic-door/ https://varenhor.st/2009/07/idoor-iphone-controlled-hydraulic-door/#comments Sat, 04 Jul 2009 16:31:45 +0000 https://varenhor.st/wordpress/?p=34 Opening up the door to your dorm room?

There’s an app for that.

Here’s the story of iDoor, the iPhone controlled hydraulic dorm room door.  Enjoy. Credits to Greg Schroll for most of the hardware.

Life at MIT can be tough. With all the problem sets, and projects taking up time, when I come back to my dorm room to crash, I don’t want to waste time opening doors myself! That’s why my room is outfitted with an iPhone controlled hydraulic door opener and unlocker.  Just tap the “iDoor” app on my phone’s home screen, and the door opens for me.  Its 2009 after all, about time we stopped carrying around shaped bits of metal to open up locked doors.

All the apps I need

Chris Varenhort’s iPhone has one special app…

When security isn’t my chief concern, I can even ditch the phone altogether and just give iDoor a ‘secret’ knock (not so secret any more) and let the vibration sensor trigger the door opening.  See the video above for the full run through.

Technical Overview

Phidget control board

Phidget control board

iDoor is controlled directly from a scrounged up PIII computer running Ubuntu, interfaced with the hardware using the wonderful Phidget 8/8/8 control board.   An early version of the controls used an MIT Happyboard, but for Internet connectivity and development speed, the full PC was chosen.  The software was written in Java using the Phidget library.  (I’ll share the code if you’re interested).

Solenoid valves

Solenoid valves

Piston

Piston

The door is opened by a hydraulic actuator that taps into the sink in the room.   It was built by Greg Schroll in 2006.  The sink inflow tap and outflow tap are connected to a set of 4 one-way solenoid valves.  These valves are connected in such a way that together they can function as a 3-way valve.  Either pushing water one way in the chamber, forcing the piston to open the door, pushing it the other way, forcing the piston to close the door, or diverting water directly from the sink tap to the sink drain (just wasting water!).  The door actuator was custom built by Greg, so get it touch with him if you have questions about its construction.

Solenoid relays

Relays controlling the solenoids

There are two relays between two pairs of solenoids and the 24v power supply.  The relays are tripped from the control board.  One relay opens the door, the other closes it.

Door handle actuator

Door handle actuator

To ‘unlock’ iDoor, a Phidget servo controller has a large Hitech HS-755 servo twist the handle. While opening, it just twists the handle all the way, and when closing, the pulse width is enough to keep the deadlatch from applying too much friction to the strike plate, but still lock. The servo controller can’t output enough power to turn the big servo, so I spliced in a 1.5A 5v cell phone power supply.

Limit switches

Limit switches

There are two limit switches on the door that depress when the door is in its fully closed or fully open state.  The software uses these to know when to close the solenoids.

Interfaces

 

 

There’s a re-appropriated handicap button(seen in video) that also ties into the Phidget control board for easy opening when I’m away from my computer or without my phone.  It also functions as an emergency stop button to stop the door while it’s moving.

Vibration sensor

Vibration sensor

For knock activation, there is a vibration sensor at the top of the door positioned so that when the door is closed the sensor part touches the doorframe.  The control software uses the analog input from this sensor to detect my secret knock pattern, and open the door.

I also had my laptop configured so a particular key combination would alternate the door’s state.

A nice property of the whole design is that it can be completely removed from the room without too much work (though who would want too?).

Thoughts of living with it for 9 months…

I spent my senior year living with this door, and besides having to replace a servo, it pretty much worked flawlessy.  The only trouble was my hallmates hacking the door, and random EM noises doing weird things to it. I’m not sure if I’ve actually saved time in the long run, but it was definitely fun. Some of my favorite uses of the door are opening it remotely for friends that need to get stuff out of my room, (though it can be confusing for people that aren’t familiar with it).  If I leave in a hurry, I can also just tell my phone to close my door when I remember later.  Another good trick is opening and closing the door randomly during parties on my hall, confusing bystanders endlessly.

Some things I’ve discovered:

  • When I turn on my speakers, my door handle twitches.
  • Once I left a long analog input cable going into the control board, and it would somehow pick up noise in just the right pattern to trigger the opening sequence.  This always happens at about 4am while I am sleeping.
  • A secret knock, isn’t actually that secure.
  • Handicap buttons aren’t as hard to find as you think
  • Even after 9 months, it never gets old.
]]>
https://varenhor.st/2009/07/idoor-iphone-controlled-hydraulic-door/feed/ 8
Top 5 reasons why graduating from MIT, is like dying of a terminal illness. https://varenhor.st/2009/06/top-5-reasons-why-graduating-from-mit-is-like-dying-of-a-terminal-illness/ https://varenhor.st/2009/06/top-5-reasons-why-graduating-from-mit-is-like-dying-of-a-terminal-illness/#respond Sun, 21 Jun 2009 23:31:51 +0000 https://varenhor.st/wordpress/?p=25 Update: How did this become my #2 google hit?? For you googlers I see, why don’t you go somewhere else.

5. As your final hour approaches, you bequeath your belongings to charity and those around you.
4. You spend your last days surrounded by friends and family.
3. You’ve been in pain for so long already, that in the end, you’re happy to go.
2. There’s an elaborate ceremony with inspirational messages to mark your passage.
1. You know you’re going to a better place.

]]>
https://varenhor.st/2009/06/top-5-reasons-why-graduating-from-mit-is-like-dying-of-a-terminal-illness/feed/ 0
Adobe, why ZIP a DMG? https://varenhor.st/2009/06/adobe-why-zip-a-dmg/ https://varenhor.st/2009/06/adobe-why-zip-a-dmg/#respond Sat, 20 Jun 2009 09:01:47 +0000 http://varenc.scripts.mit.edu/blog/?p=21 Adobe Fail
Is the %0.3 smaller size really worth it?

]]>
https://varenhor.st/2009/06/adobe-why-zip-a-dmg/feed/ 0
2009 https://varenhor.st/2009/01/2009/ https://varenhor.st/2009/01/2009/#respond Thu, 01 Jan 2009 06:36:00 +0000 http://varenc.scripts.mit.edu/blog/?p=19 Is a new year! The end of the Zuneapocalypse, and the year Quebec will now be one second ahead of the rest of Canada.

For 2009, I’m going to fill this up with more interesting content then this.

]]>
https://varenhor.st/2009/01/2009/feed/ 0
Automatic door opener switch! https://varenhor.st/2008/12/automatic-door-opener-switch/ https://varenhor.st/2008/12/automatic-door-opener-switch/#respond Mon, 15 Dec 2008 08:07:44 +0000 http://varenc.scripts.mit.edu/blog/?p=14 Found this laying around somewhere…sorry for the isight camera picture…


apparently its wireless, and pretty darn simple at that. Such a small board, and a 9v battery. I think I’ll turn the button into a button to operate my own door, and then use the board to make myself my own wireless automatic door opener.

]]>
https://varenhor.st/2008/12/automatic-door-opener-switch/feed/ 0
Facebook phone numbers onto my phone! https://varenhor.st/2008/05/facebook-phone-numbers-onto-my-phone/ https://varenhor.st/2008/05/facebook-phone-numbers-onto-my-phone/#respond Sat, 10 May 2008 19:57:00 +0000 http://scripts.mit.edu/~varenc/blog/?p=3 So, I got a new phone recently.  Not wanting to awkwardly type numbers in, or worse yet, ask people, I wrote a little script to convert what I copied from the facebook mobile phonebook to a nice CSV file.  I then used BitPim and bluetooth magic to transfer the numbers directly to my phone!  Viola, hundreds of phone numbers on my phone in a few minutes.  The perl script to make the conversion is below…

open(INPUT,”FILE”);

#for file slurping
undef $/;
$line = <INPUT>;

#get ride of empty lines
$line =~ s/\n\n/\n/g;

#make the numbers pretty
$line =~ s/([0-9]){0,1}[\-\.\)\( ]([0-9])/$1$2/g;
$line =~ s/([0-9]){0,1}[\-\.\)\( ]([0-9])/$1$2/g;

#we only want mobile numbers (ending in M)
$line =~ s/([0-9])M\n/$1\n/g;
$line =~ s/\n([0-9])+[A-Za-z]\n/\n/g;

#get ride of the letter headings
$line =~ s/\n[A-Z]\n/\n/g;
$line =~ s/\n[A-Z]\n/\n/g;
$line =~ s/\n[A-Z]\n/\n/g;

#Comma delimitation!

$line =~ s/\n(.+[a-zA-Z])\n([0-9]{1,})/\n$1,$2/g;
$line =~ s/\n(.+[a-zA-Z].+)\n([0-9]{1,})/\n$1,$2/g;

print “$line”;

]]>
https://varenhor.st/2008/05/facebook-phone-numbers-onto-my-phone/feed/ 0