Nx Client from Mac to Ubuntu – Alt Key

Posted by Ed on August 7th, 2010 filed in Tips
Comment now »

If you’re here, you probably already know the problem. If you use intellij like I do, I hope this helps with your imports.
Given Mac OSX connecting to Ubuntu over NoMachine’s nx client

1. Create and/or or place this in your ~/.Xmodmap on your mac

keycode 66 = Alt_L
clear Mod1
add Mod1 = Alt_L Alt_R

2. Start/Restart X11 on mac from Utilities>X11.app
3. Do *Not* start NxClient via Mac GUI. (If you are starting NxClient by clicking on the red NxClient icon with the mouse, this isn’t going to work.)
Instead, create an X11 terminal window. (Make sure the top left icon says X11, to know you are usings the correct terminal app.)
and start NxClient from that terminal’s command line:
example:

/Applications/NX Client for OSX.app/Contents/MacOS/nxclient

4. If you are in Intellij, your Alt-Enter key combo will be this on a macbook pro:
alt/option + the small ‘enter’ key next to the right Apple key.
It will Not work with the usual alt/option + the big enter/return key.

Cheers,

Ed

Bookmark and Share


Intellij 9 Indexing Bug Workaround

Posted by Ed on February 14th, 2010 filed in Tips, Uncategorized
Comment now »

Intellij 9 release on Mac routinely corrupts the index of classes. This manifests itself with compilation errors claiming that classes X,Y,Z cannot be resolved. However, when you check, all the classes are in the right place. Also Intellij correctly compiles the individual class, and all the nice syntax highlighting, etc is working for these classes.

Fix:
Go to Module settings and remove those directories by unchecking them as ‘Sources’. Click OK. Let Intellij reindex. Once, it’s finished, go back to Module Settings and add the directory(s) back into Source. Let Intellij re-index, and then do a rebuild.

If that quick fix doesn’t work, you may have to resort to the (very) long rebuild of your entire intellij cache:

http://www.edwardotis.net/tech/?p=139

Bookmark and Share


Samsung TV and HDMI Audio through a Nvidia gt220 video card

Posted by Ed on February 10th, 2010 filed in Uncategorized
Comment now »

Got a Series 4 Samsung 450 plasma with PC inputs. Plugging in the audio failed w/ DVI/HDMI video. Turns out it was expecting audio from the HDMI on my video card. But there was no audio coming out or any way to select nvidia audio.

I had a Sound Blaster Audigy card already installed. I disabled it from Device Manager, rebooted, and now Nvidia audio took over as main sound device automatically. Sound is now coming out of HDMI cable into TV with streaming netflix. awesome.

btw, the motherboard builtin sound had to be disabled at the bios level first, but I did that in order to install the Audigy card a year ago.

Windows XP SP2, 64bit. The ability to switch audio devices is apparently terrible in Win XP.

Bookmark and Share


Cancel Buttons

Posted by Ed on November 2nd, 2009 filed in Rants
Comment now »

Want to really piss off users? Place useless cancel buttons all over your UI. I’m talking about Intellij, Perforce, Eclipse and numerous other high profile violators. You wrote the UI. You know for a fact that your app will never cancel operations X,Y,Z (which sometimes take 10-30 minutes to complete.) THEN DON’T PUT A CANCEL BUTTON IN THE UI NEXT TO THAT OPERATION.

Bookmark and Share


Restoring syntax highlighting in Intellij

Posted by Ed on October 8th, 2009 filed in Tips
Comment now »

Found and fixed an annoying intellij bug recently.
Intellij was having severe stability problems, so I was turning off all plugins and wiping the cache to try to resolve the issues. As a side effect of this, Intellij lost the ability to highlight java server pages and javascript files.

This is because the plugins for inspecting those files were disabled when you first load the project. Intellij will assign those file types to be treated as plain text. Then when you turn on the jsp and js inspection plugins, Intellij will not go back and associate the plugin with these industry standard file types/file extensions. (That’s a bug in my book.)

However, you can go in and fix this yourself:

Settings > File Types > Java Server Page files > Add *.jsp

Settings > File Types > Javascripts files > Add *.js

Ditto for any other files that have lost their syntax highlighting, even though the appropriate plugin has been enabled.

Bookmark and Share


intellij Patch Tool – Fail

Posted by Ed on September 29th, 2009 filed in Rants
Comment now »

I love intellij most of the time.
But the patch tool sucks. Any tool that leaves you in an unknown state with no messaging after a problem sucks.

I have 8 files in a patch. I work through 4 files using the diff tool. Then inexplicably Intellij decides not to use the diff tool on the next file and it just throws an error about a single line change, and leaves me in an inconsistent state. Awesome. Exactly what I do not want it to ever, ever, ever do! Did the 4 files get totally patched? Did the other 3 patch without a problem? Did the 9 changes in the bad file get applied before the problem line?

How freakin’ hard could it be to just keep sending me to the diff tool when there’s not a clear automated fix for a line?
And give me summary of what just happened to my code.

Bookmark and Share


parking carma == vaporware

Posted by Ed on September 16th, 2009 filed in Rants
1 Comment »

Parking Carma? Why oh why can’t you get your shit together? What’s it been 3, 4, 5 years without delivering on the promise of creating a market place for all the untapped parking in the world? All the ideas are there, the same ones that loads of us have had. But not a single feature on the site worked! (except for the registration. hooray?)

Parking Carma has made a facade based on a strong feature set, but it doesn’t work in downtown San Francisco, and that means it doesn’t work. (Especially when the company contact phone numbers start with 415.)

I could not reserve a parking place in San Francisco.
I could not offer to sell my excess parking place in San Francisco.
FAIL!

ok, it looks like it only works at some BART stops and a couple other places…that they were touting in 2005! However, the site is set up pretending to be selling spaces all over downtown and SF, but they end up being all greyed out links.

It’s starting to feel like this is an example of Microsoft’s classic FUD to keep other, more competent companies out of this market.

And have some self respect and lighten up on the Google ad words?

Bookmark and Share


Best Photo Sharing Widgets

Posted by Ed on September 16th, 2009 filed in Uncategorized
Comment now »

ok, you would think this was wildly known and popular, but sharing your photos outside of Facebook in a widget has not caught on. Well, there’s a lot of use cases where it rocks. The official Facebook photo widget is horrible. I knew that I could write one pretty easily, so somebody else had to have done it. The only one I’ve found that is good comes from Slide: http://www.slide.com/arrange
It works for other social networks (Myspace) too. Unfortunately, Slide doesn’t know how to do SEO, so you’ll never find this by searching for ‘facebook photo widget’. (Well, to be honest, I went to a youtube review of facebook photo widgets that showed in my search results. How roundabout is that?)

Check it out:

Also, the official Flickr slideshow widget is head’s and tails above all other 3rd party Flickr widgets. You’ve got to try the fullscreen button. And, it supports my videos too! Nobody else has functionality that good in a slideshow widget. Unfortunately, they don’t advertise it well. So, here’s the link to get started:

http://blog.flickr.net/2008/08/20/new-slideshow/

And an example:

These two widgets officially handle all my widget slide show sharing needs.
Well, no one has made a Facebook video widget yet…

Now, if they just

Enjoy,

Ed

Bookmark and Share


zooomr.com: fail

Posted by Ed on August 27th, 2009 filed in Rants
Comment now »

I write software to connect Flickr and Facebook. I’m interested when I hear there is another photo company on the web that supports unlimited storage and bandwidth for photos.  A blog post links me to Zooomer.com, which supposedly has all this for FREE! Wow! Maybe Flickr’s days of $25 Pro accounts are numbered.

Then, I spend 10 minutes clicking every link on Zooomer’s site, trying to figure out what service they offer. Seriously, they don’t put a description of their plan on any highly trafficed, visible part of their site. (Or I am blind today.) Heck, if the blog post hadn’t told me that this site hosts your personal photos, I wouldn’t even know that they support that!

I went to the forum to ask what the deal was. Unfortunatley, their OpenID support is broken with my yahoo openid. I’m not signing up with my email after all that.

Since, I can’t post this information in their own forum, I figured I’d put it on my blog.

Zooomer. WTF?

What do I get from you if I create an account with your site? What service are you providing for me?

Do you want money from me?  What would I get in exchange for my dollars?

Bookmark and Share


Porn marketing with Twitter (aka Adult Friend Requests)

Posted by Ed on July 12th, 2009 filed in Uncategorized
Comment now »

Well, they do say that the sex industry does a better job of adopting the newest technology. And in that spirit, I got my first Twitter porn spam. I don’t even use twitter all that much, but when I get an email from twitter telling me that I have a new follower, I am intrigued and will usually click the link to see if I recognize them on their twitter profile page.

Today, I received this email from Twitter:

MelvaTrevino (Trevino216) is now following your updates on Twitter.

A little information about MelvaTrevino:

31 followers
2 updates
following 981 people

This leads to a a profile with some erotic posts, and urls to adult dating sites that are obfuscated courtesty of TinyUrl.com

This is just the Twitter version of the Myspace friend request porn spam schemes. (That was a mouthful.) These spams made me tighten security and privacy settings on my Myspace account, and are one more reason why I stopped using Myspace.  Looks like I’ll probably have to do the same for Twitter. (My Bebo account also got crushed by porn friend request spam.)  I predict I’ll start to receive 5-10 Twitter porn spams a week before the month is out…if I don’t tighten the security.

2 things that come out of this:

1. If you run a social network in 2009 or later, you need to crowd source your spam feature. Just look at Craigslist. They provided simple tools to enable the users to police the site for them. I’m not saying it is easy to come up with a good spam filter algorithm on the backend, but it’s a requirement at this point. The networks shouldn’t be surprised if their traffic becomes largely spam, if they don’t take steps to fight the spam.

Twitter, this means that the emails and profile pages for new followers need to have ‘Report Spam’ links built in.

2. Kudo’s to Facebook for handling friend spam better than any other social network that I’ve used. I’ve never gotten a request from an escort service/porn site on Facebook. Great job! (Yes, the Facebook app spam was definitely an issue, but they’ve also committed enormous resources to improving that situation over the years.)

Bookmark and Share