Profile cover photo
Profile photo
Raymond DeCampo
Raymond's posts

Post has attachment
Connect to Microsoft VPN from Fedora 24
New box, new OS, time for another edition of trying to connect to Microsoft's VPN software. This time it is Fedora's turn. This first part is adapted from my previous editions for Ubuntu and ultimately are sourced from an Ubuntu forums post by user sweisle...

Post has attachment

Post has attachment
Dipping my toes into the Node.js ecosystem
Just to get my feet wet, I published a Node.js module called xirr . When I was writing the unit tests for the module I had a particular case where the Newton's method implementation was not converging and the library I was using returned false. My son, who...

Post has attachment
Connect to Microsoft VPN from Ubuntu 16.04 Xenial Xerus
I recently upgraded from Ubuntu 14.04 on my main desktop machine and discovered that my VPN connection to Windows 2008 Server no longer worked. The bugaboo turned out to be the routing table which no longer requires a gateway entry. Here I have rewritten...

So I am starting to write some proof of concept code for my app at this point and I am struggling with setting up my environment for efficiency. I have found when I make a change to a JS file in my app, I need to stop and restart the emulator in order for the change to be recognized. Changes to HTML files are instant. I am using Android Studio and the SDK emulator.

I thought that maybe updating the WebView cache mode as described in might be the way to go but I don't see how to do that with the mobile SDK.

I'd appreciate any advice as to reduce my latency from making code changes to seeing them run.

Post has attachment
I noticed that version 4.1.2 of forcedroid is available and I am trying to get through the TrailHead "Getting Started with Hybrid Development". I have forcedroid@4.1.2 and cordova@6.1.1 installed. I also have shelljs@0.5.3 installed locally. I used the command "forcedroid create --apptype=hybrid_local --appname=HelloWorld --targetdir=." to create my app and it finished successfully.

However when I try to build the project I get an error about a duplicate entry in the manifest:

:processDebugManifestC:\Android\test\HelloWorld\platforms\android\AndroidManifest.xml:30:9-104 Error:
Element activity#com.adobe.phonegap.push.PushHandlerActivity at AndroidManifest.xml:30:9-104 duplicated with element declared at AndroidManifest.xml:6:9-135
C:\Android\test\HelloWorld\platforms\android\AndroidManifest.xml Error:
Validation failed, exiting

I went in to the AndroidManifest.xml and removed the first reference to PushHandlerActivity. Now I get this error:

:processDebugResourcesC:\Android\test\HelloWorld\platforms\android\build\intermediates\manifests\full\debug\AndroidManifest.xml:35:23-41 : No resource found that matches the given name (at 'icon' with value '@drawable/sf__icon').


However, I see that sf__icon.png exists in the platforms/android/SalesforceSDK/res/drawable-*/ directories. I am thinking there is some kind of build issue where the Salesforce Mobile SDK cordova plugin is not being included in the build.

I'd appreciate any suggestions.

My kid is looking to install Minecraft mod kits - is there a community of vetted mod kits that I can be (reasonably) certain are safe?

Post has attachment
Complicated String Joins
So if you have not been under a rock and have used Java 8, you are surely aware of the new String.join() method and the Collectors.joining() method to concatenate arrays or streams of Strings. Sometimes however, a simple concatenation with a delimiter is n...

Post has attachment
Creating a custom Collector
Creating a custom implementation of seems daunting at first, but once you give it a try, you'll see that it can actually be pretty easy. If you are not used to using lambdas and functional concepts, your first look at the Collector int...

Post has attachment
Watching the eclipse, looks better in the telescope though
Wait while more posts are being loaded