Author: barce

  • Darwin Ports when OS X Idiosyncracies Get You Down

    I started using Darwin Ports when tools like hping3 and ctags didn’t work quite right on OS X. For example, the berkeley packet filter on OS X is totally different from the one on Linux, so hping3 wouldn’t compile correctly. Also, ctags in OS X doesn’t have the -R flag for recursion.

    With Darwin Ports, I can install libraries and executables that don’t work quite right on OS X but work great on Linux.

  • Sending Files with hping3

    This is a quick cheat sheet on how to use hping3 to send a text file. Thanks Gr@ve Rose for inspiring this.

    The target machine should be listening like so:

    hping3 192.168.0.108 –listen signature –safe –icmp

    The source machine should be set up like so:
    hping3 192.168.0.108 –listen signature –safe –icmp
    hping3 192.168.0.108 –icmp -d 100 -c 2 –sign signature –file ./test.txt

    -d specifies the data size
    -c specifies the number of pings to send. We just need 2 pings to send the test file below.

    test.txt just contains lolspeak:
    —- start —-
    oh hai
    we bustin pass dey bad fire wall
    yay!
    —- end —-

    I haven’t tested this out with binary files, but I’m pretty optimistic that a uuencoded file would get through, and could be re-assembled at the target server. Also, hping3 can be used to turn on a network service like sshd if it receives the correct “signature”.

  • Who Is An Inspiring CEO?

    Who is an inspiring CEO?

    For my next job, I want to work for an inspiring CEO. Not someone who gets whispered about in the industry as being “weird,” or a “control freak.” Not someone that puts doubt into people. I hate getting asked questions that sound more like accusations, “You work(ed) for him/her?” I’ve always defended my CEOs record.

    Here’s what I mean by inspiring:
    1) Says the right things that motivate people in the company.
    2) Recognizes when people would gladly sacrifice for the company and acknowledges it. I’m talking about an honor based company.
    3) Welcomes convivial debate.
    4) Leads by doing.
    5) Would probably find a solution to the Kobayashi Maru test.

    If you know of an inspiring CEO, I would love to hear about it.

  • How To Save Money with Memcache

    Jeremiah Owyang twittered, “I’m asking every CEO I meet about their take on the economic downturn.” This is great advice, but I’ve got my own reasons for thinking so, and would like to invite Jeremiah to share his reasons here.

    For me, I’ve been talking to different CEOs and telling them the importance of scalable technologies like memcache to save money NOW. I ask CEOs about the economy to hear their concerns and to see for my own business reasons if they’ve implemented memcache on their servers.

    The math is really simple. Most social network sites can waste anywhere from 5000 to 10000 seconds per week on slow, un-cached database queries. Assuming the ability to handle around 30 requests per second, many large websites miss out on an additional 150000 to 300000 page views per week. Not to mention that you lose a user for every 30 seconds of wait.

    If a busy site with stats above implemented memcache they would have:

    • not lost between 165 and 335 users per week.
    • 150000 to 300000 more page views per week
    • $500 – $1000 more per week on a 100 x 720 skyscraper with the right ctr and ecpm — that’s an additional coder

    If you want to see the above savings, feel free to contact me at barce[a t no spam]codebelay.com .

  • Find Jobs Using RSS Feeds from Job Boards

    Tip #1: Do not take a break from your job hunt until you’ve found a job, and this means weekends.

    Some folks try to game the job hunt. These folks tell themselves, “If I apply on Saturday, I look desperate, but Sunday evening looks much better.” I say bullshit.

    As a creature with a hunter-gatherer past, you should be looking for work now, and you should have fun looking for it.

    Think of it this way. If you take today off, somebody else gets to be the first cover letter from Saturday in someone’s inbox.

    Tip #2: Scour the web for Job Boards (e.g. craigslist) and subscribe to as many RSS feeds as you can. Have the RSS feeds go to your mobile if you have to.

    I basically took all the RSS feeds from the Job Boards that I love like Authentic Jobs and put them into my RSS reader. My top priority is to read each feed and then if I get too much info, filter out the feeds or posts I don’t need using Thunderbird.

    Wish me luck!

  • Jason Calacanis Wants Startups to do 10 Things NOW

    Jason Calacanis Lists 10 things startups need to do now given the economic climate.

    Since I can’t reprint, here are my comments on his points 1 through 10.

    1. Barce’s comment: That goes without saying. I’d like to see another option besides this one. I think it’s this. You’ve got your health and you’ve got your sanity. Be happy with that and let others enjoy your happiness. It’s a scarce commodity in difficult times.

    2. Barce’s Comment: I couldn’t agree more. Teach your team how to use the latest collaborative technologies. Make notes of who is technology shy with the new communication tools. At Dogster one of the last things I tried to introduce was the use of IRC, a tried and true communication tool for avoiding inefficient back and forths with IM.

    3. Barce’s Comment: Make sure you are firing the “average people.” Work at startups can often be blurred by politics. Very often, the one who speaks the least is the one who does the most work. It’s better to keep someone who disagrees with you than a yes person who will lead you blithely to the end of your business.

    4. Barce’s comment: Also be sure to adjust your terms from net 60 to net 90… the extra 30 days can help with your accounts payable.

    5. Barce’s comment: This is pretty tough to execute so have an all hands and ask for ideas.

    6. Barce’s comment: This means that every worker of yours is a marketer who must do there best to market your company. If you’re at a social media site, that means talking face to face with at least 5 new people a day about your website. That’s not asking much: 2 at the coffee shop in the morning, 2 at lunch, and 1 at your afterwork hangout or the bus stop in the evening.

    7. Barce’s comment: What a great way to build morale in down economic times! This is pretty fun, and again take note of who isn’t having fun with this.

    8. Barce’s comment: I always shown up for stuff like this, and it’s a great team builder.

    9. Barce’s comment: This can be as simple as a google ad that gets served up on your competitor’s site because they are on life support and can’t watch all the ads anymore.

    10. Barce’s comment: My dream is to have a popular website that I’ve created and that people just love to be on. I want to learn more about raising money. If you’ve got tips, I’m all ears.

    Happy Friday!

  • What Projects Are In The Works

    1. I wrote Noobwatcher.com as an emergency response to a misguided development process and as a solution for when the sysadmin won’t let you configure subversion the way the dev team and the company as a whole needs it.
    2. I wrote the number one Google entry for installing the sfGuardPlugin as of this writing, and wow, they still weren’t happy with my work.
    3. I worked closely with symfony developers to figure out some complicated undocumented symfony issues such as formatting errors in forms. Thanks, Dustin!
  • Beware the Recruiter Bait and Switch: Get References!

    There’s a slimy bait and switch tactic that’s been pretty common this year, and it’s the recruiter bait and switch. They send you a letter that looks like this:

    Dear Victim,
    
    Nice to find you on linkedin. I'm contacting you as your work experience looks
    like a good fit for roles at AwesomeCompany.com .
    
    Cheers, Slimy Recruiter
    

    Then they tell you that the job that they were originally trying to fill is gone, but they have other jobs available at SlaveLabor.com.

    The sad thing is that if you dig around, you find out that these recruiters never had a relationship with AwesomeCompany.com and are really just working for SlaveLabor.com .

    Takeaway: Get references from your recruiter of people that have placed.

  • 3 Ways to Green Your Office

    These 3 steps can easily green your office:

    1) Restrict your paper usage. Ya, I still use notebook paper, but I didn’t use the printer to print out a single sheet of paper in September. September should be “No Printing Month”. 😀

    2) Buy carbon credits. Your servers, laptops, electronic gadgets, cars or buses carbon emissions can be offset through carbon credits. A site like myclimate might spend the money on algae in the sea for more oxygen.

    3) Go Solar! With the Solio Charger for your iPhone, or solar backpacks from Voltaic Systems, you don’t ever have to plug into the grid again… as far as computing goes.

  • Saving Time on Subversion Merging: svn merge Manually

    I just ran a benchmark on merging files using Eclipse which then calls subversion and running subversion manually on a 28MB repository.

    The results are interesting.

    svn merge destination_url@HEAD source_url@HEAD destination_folder

    took exactly 7 minutes

    Using a subversion merge in eclipse on the same repo and revision took 10 minutes.

    Take away: use svn merge on the command-line.

    Ya, I’d love to go back to using git.