tag:blogger.com,1999:blog-115629862018-03-07T14:42:50.603-08:00tech it easyTechnology Titbits!Abhinav Srivastavanoreply@blogger.comBlogger26125tag:blogger.com,1999:blog-11562986.post-80238363688653181132016-04-29T18:42:00.000-07:002016-05-01T07:28:09.496-07:00iMessage not working over LTE/3G
I can't believe there are certain things that Apple has been so stupid about. Needless to say the iMessage fiasco. But wait, there is more.
There is no Cellular Data setting for Messages - the app that handles your SMSs. However, the USP of the app is that it intercepts your messages and sends them over a data connection to the recipient's Apple Id, when both sender and receiver are registered <img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/2uQFpIVskr8" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com0http://techblog.abhinavsrivastava.com/2016/04/imessage-not-working-over-lte3g.htmltag:blogger.com,1999:blog-11562986.post-12963549041143121272015-10-23T17:38:00.001-07:002015-10-23T17:38:47.876-07:00This Week at Apple Store
Interesting week this was for my Apple devices.
Event 1
My iPhone 5S's home button crumbled under it's own weights. Lucky, it was still under warranty. But wait, mine was a Insurance Replaced Unit and the Genius told me if there was any 3rd party modification done on internals, the warranty would be invalid and I would have to pay for repair. Interesting that we must give consent to <img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/dIDUNt_SZ0Y" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com0http://techblog.abhinavsrivastava.com/2015/10/this-week-at-apple-store.htmltag:blogger.com,1999:blog-11562986.post-83751038510812152792015-10-05T09:33:00.000-07:002015-10-12T20:29:27.504-07:00Apple Pay at Macy's (Freehold) - NO GO
If cashier can't tell Apple Pay from Pay Pal you know there is a problem.
The indicator at the NFC payment terminal was green and the phone beeped and vibrated
but no payment was registered. I tried it a few times, got frustrated. The cashier was not sure how 'phone' payments work. So I took out my card and swiped the old fashioned way.
Macy's was one of the first stores to support Apple Pay <img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/n8AsUD81BEs" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com0http://techblog.abhinavsrivastava.com/2015/10/apple-pay-at-macys-freehold-no-go.htmltag:blogger.com,1999:blog-11562986.post-24933764415092542012015-09-23T12:48:00.004-07:002015-09-23T13:48:58.715-07:00How to not use Apple Maps in iOS9
It might be a subtle way to push users to Apple's own Maps app. The option to pick one of other Routing apps (e.g. Google Maps) have been pushed down. One needs to open the share sheet and tap "Routing Apps".
<img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/Ie9e4n7aXI4" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com0http://techblog.abhinavsrivastava.com/2015/09/using-non-apple-maps-on-ios9.htmltag:blogger.com,1999:blog-11562986.post-33130575613779273562015-09-20T08:25:00.000-07:002015-09-20T08:25:05.943-07:00Disable news from iOS 9 Proactive search
Hey, who is not annoyed by the "News Suggestions" in the new Proactive search in iOS9?
Just go to "Spotlight Search" in settings and disable "Spotlight Suggestions"
<img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/uOFM2SzGrFI" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com0http://techblog.abhinavsrivastava.com/2015/09/disable-news-from-ios-9-proactive-search.htmltag:blogger.com,1999:blog-11562986.post-55548641962439599512015-07-02T06:48:00.002-07:002015-07-02T06:48:33.164-07:00iOS WiFi Network Selection
It's a shame that iOS doesn't have a provision to set priority on WiFi networks. In case there are multiple networks available, there is no guarantee that the strongest network will be chosen. In my case it was between optimumwifi, the public network and my private network. My iPhone would always prefer connecting to the weaker network. How annoying!
So I renamed my private network to <img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/hL1lubbzx5Q" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com0http://techblog.abhinavsrivastava.com/2015/07/ios-wifi-network-selection.htmltag:blogger.com,1999:blog-11562986.post-75772263717584562062013-11-05T17:52:00.000-08:002013-11-21T20:07:58.969-08:00Activate Nexus 5 on a Secondary Sign-On Wifi Network
Google's newest gadget in town, that I ordered within a few minutes of its launch, landed in my hands a few minutes ago.
That was quite fast. But wait...
I turned on the device, and after a few clicks it wanted to connect to a WiFi network. So I happpily selected the access point that I normally use.
There comes the catch ...
My WiFi network has a secondary sign-on meaning after connecting <img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/5K6LjAvxhtw" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com0http://techblog.abhinavsrivastava.com/2013/11/activate-nexus-5-on-secondary-sign-on.htmltag:blogger.com,1999:blog-11562986.post-46706090445018705022013-07-06T14:18:00.000-07:002013-07-06T14:18:16.629-07:00Making AirPlay work with Raspbmc (Mac OS X)
Raspbmc, the Raspberry PI port of the popular XBMC software allows the Pi to receive AirPlay audio content (e.g. from iTunes).
To make this work you need to change XBMC settings to allow AirPlay content.
Go to Settings - Services - AirPlay and enable "Allow XBMC to receive AirPlay content".
Once you do this, Pi will show up as an AirPlay device.
Click XBMC and you get this error:
"An <img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/i5UXTc0X7Zw" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com0http://techblog.abhinavsrivastava.com/2013/07/making-airplay-work-with-raspbmc-mac-os.htmltag:blogger.com,1999:blog-11562986.post-34028414905125581712013-01-05T08:52:00.000-08:002013-01-20T17:56:02.374-08:00Making Pogoplug work with OS X Mountain Lion
Samba 2 are shares not accessible from Mac OS X Mountain Lion 10.8.2
"The version of the server you are trying to connect to is not supported."
I am using Pogoplug (E02) 2.6.22.18 #81 armv5tejl + optware as my NAS and I have mounted a 1 TB NTFS drive on it, along with a 16 GB Ext3 drive to host optware. I exported these mount points using Samba. Both these drives are R/W accessible from <img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/1KLl8FI-ttw" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com0http://techblog.abhinavsrivastava.com/2013/01/pogoplug-with-mac-os-x-mountain-lion.htmltag:blogger.com,1999:blog-11562986.post-78096354695403970682012-12-19T13:19:00.002-08:002013-07-06T14:35:48.715-07:00Disappointed in Mac (but more in Win 8)
I have been looking for a new laptop. My current one is a (HP) Compaq Presario, bought in 2003.
Still running strong on WinXP, I upgraded the Disk and RAM midway.
I can tell about this model - the exterior build quality was not good. But the computer was damn fine. So before you make arguments about Mac's build quality, note that exterior and interior are two different things. Mac's do have<img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/FImH94ygNvA" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com0http://techblog.abhinavsrivastava.com/2012/12/disappointed-in-mac.htmltag:blogger.com,1999:blog-11562986.post-61016523197297144122012-12-15T10:16:00.003-08:002013-01-07T19:11:22.040-08:00Getting started with Raspberry Pi (without needing a separate keyboard)
The wonderful little Raspberry Pi
Purchased from http://www.newark.com/
RASPBRRY-MODB-512M - MODEL B
Silicon Manufacturer: Broadcom
Core Architecture: ARM
Core Sub-Architecture: ARM11
Silicon Core Number: BCM2835
Kit Contents: Assembled Board Only
RoHS Compliant: Yes
Ports on Board:
Ethernet
2 USB
1 Micro USB for power (5v 1A)
1 HDMI (full-size)
GPIO
Coaxial Audio Out
<img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/VjvB-xqovhI" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com2http://techblog.abhinavsrivastava.com/2012/12/getting-started-with-raspberry-pi.htmltag:blogger.com,1999:blog-11562986.post-56354892514946991842012-08-09T19:05:00.000-07:002012-08-11T10:13:23.663-07:00JAX-WS client throwing java.lang.NoClassDefFoundError: com/sun/xml/ws/spi/ProviderImpl
I had generated and tested my JAX-WS client using Weblogic 10 libraries on Java 6 update 16.
Tested this on JRE Update 25, no additional jars were required. Not even wseeclient or wlclient. Apparently the default JAX-WS runtime was doing its job.
However, when I tried to run the same application on JDK 6 update 10, I got the following:
Exception in thread "main" java.lang.NoClassDefFoundError: <img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/tzPLyXipYLQ" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com0http://techblog.abhinavsrivastava.com/2012/08/jax-ws-client-throwing.htmltag:blogger.com,1999:blog-11562986.post-84077032308421949992012-05-02T10:08:00.000-07:002012-10-07T09:45:59.364-07:00Restoring iPad after password lock-out.
Restoring an iPad after its password is lost and account locked out. (Repeated attempts to log-in with wrong passwords result in lock-out).
I tried this on iPad 64 GB Wifi+3G First Generation model. Should work on other models too.
THE EASY WAY: The easy way out of this situation is to use iTunes to reset the password, however this works when done from the same computer which was used for <img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/76GHVFqSlK0" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.comhttp://techblog.abhinavsrivastava.com/2012/05/restoring-ipad-after-password-lock-out.htmltag:blogger.com,1999:blog-11562986.post-39536883513034615782008-08-26T13:55:00.000-07:002008-08-26T13:56:21.365-07:00What is going on with DATE and TIMESTAMPWhat is going on with DATE and TIMESTAMP?Prior to 9.2, the Oracle JDBC drivers mapped the DATE SQL type to java.sql.Timestamp. This made a certain amount of sense because the Oracle DATE SQL type contains both date and time information as does java.sql.Timestamp. The more obvious mapping to java.sql.Date was somewhat problematic as java.sql.Date does not include time information. It was also the <img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/80l5FxeGx7g" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com2http://techblog.abhinavsrivastava.com/2008/08/what-is-going-on-with-date-and.htmltag:blogger.com,1999:blog-11562986.post-21770029796226376102008-01-29T17:22:00.001-08:002012-12-19T14:26:33.394-08:00Where does Linux stand today?
I have been running Windows last 7 years and I didn't have a single crash or virus infection. So, it depends on how one uses his/her computer. Of course I am a techie so that helps. I first installed Red Hat in 1999 and after that Ubuntu just earlier this month. Linux still has a long way to go. You Linux is just too much configurable and that would take its toll on average user. If you don't <img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/K9HkSu-KeUI" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com0http://techblog.abhinavsrivastava.com/2008/01/where-linux-stands-today_29.htmltag:blogger.com,1999:blog-11562986.post-88688905912498936482008-01-28T13:19:00.000-08:002008-01-28T13:34:46.602-08:00Desktop going slick for what?With Visa going all slick and translucent with 3D rendering of windows and Linux following suit and matching Microsoft, My question is simple... WHY!!!What is the usefulness of these new adonrments. Really, are they anything more than attractive packaging. How do they make the computer more usable? And to top it off, they also need better (read expensive) hardware like memory and grpahics <img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/svtESX4OmLU" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com0http://techblog.abhinavsrivastava.com/2008/01/desktop-going-slick-for-what.htmltag:blogger.com,1999:blog-11562986.post-30697133031413938742007-11-12T14:17:00.000-08:002007-11-12T16:16:01.523-08:00Double DispatchA typical runtime polymorphism works on method invocations where the call is on supertype but the actual method comes from the runtime subtype. However, the method selection is not polymorphic in itself, meaning only the method whose signature exactly matches the signature of the call can be invoked.Double dispatch is a way to achieve runtime polymorphism where method implementation is selected <img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/oD-1ASSLhQ4" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com1http://techblog.abhinavsrivastava.com/2007/11/double-dispatch-and-visitor-pattern.htmltag:blogger.com,1999:blog-11562986.post-49983829710854858552007-10-01T15:11:00.000-07:002007-10-01T15:17:02.705-07:00unix shellscript for renaming multiple files by removing a string from all filenames# folder: no trailing slash $1 # str: string to remove $2folder=$1str=$2echo $folder $strfiles=`ls -1 $folder` for file in $files ; do echo $file tc=`echo $file | sed s/$str//` echo $tc if [ -f $folder/$file ]; then mv $folder/$file $folder/$tc #echo $tc #echo $folder/$file $folder/$tc fidoneexit 1<img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/skx3IO0ekv4" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com0http://techblog.abhinavsrivastava.com/2007/10/unix-shell-renaming-multiple-files.htmltag:blogger.com,1999:blog-11562986.post-78949305104232765002007-08-26T21:08:00.000-07:002007-08-31T10:50:43.111-07:00Factory Method PatternIf you are asked to create a simle factory for creating objects, you would start (or rather end up ) with something like this:ProductFactory {Product getProduct(int case) { if(case== 1) return new getProduct1(); else return new getProduct2(); }}However, more often than not, from a requester's perspective, the product that he is looking for will be more polished than 'new Product()' that is <img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/ZwE9e81zEYQ" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com0http://techblog.abhinavsrivastava.com/2007/08/factory-pattern.htmltag:blogger.com,1999:blog-11562986.post-62489017519393530142007-08-15T16:11:00.000-07:002007-08-29T14:45:13.765-07:00JavaBeansJavaBeans technology is the component architecture for the Java Platform. The other component architecture is EJB, but JavaBeans and EJBs are entirely different beasts.A JavaBean is a reusable software component. It is a Java class that defines properties and that communicates with other Beans via events. Properties can be defined within the JavaBean class definition, or they can be inherited <img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/m_ZJutp6AlM" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com0http://techblog.abhinavsrivastava.com/2007/08/javabeans.htmltag:blogger.com,1999:blog-11562986.post-22148640687987360902007-07-29T13:11:00.000-07:002007-07-30T22:16:56.683-07:00What is System.out.println()tbd..<img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/lMfWSY6LzZ4" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com0http://techblog.abhinavsrivastava.com/2007/07/what-is-systemoutprintln.htmltag:blogger.com,1999:blog-11562986.post-1111889217020256852005-03-26T17:37:00.000-08:002007-07-21T13:35:04.416-07:00Naming, java:compThe application component's container provides it with a JNDI Context (InitialContext) instance that stores the Naming Environment that component accesses. Component obtains objects enlisted in its environment thru JNDI Interfaces. Environment entries are immutable.Deployment descriptors are the recommended place for declaring component environment. The component can use some other mechanism to <img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/54V4yDa8meQ" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com0http://techblog.abhinavsrivastava.com/2005/03/naming-javacomp.htmltag:blogger.com,1999:blog-11562986.post-1111517056623937782005-03-22T10:13:00.000-08:002005-03-27T16:23:31.003-08:00JCA and SPIJCA is an architecture for integrating J2EE servers with EISs.EISs are accessible thru adapters that they provide. This is similar to drivers e.g. Oracle JDBC driver for accessing oracle database. These adapters are known as resource adapters in JCA parlance. JCA defines contracts that exists between J2EE server and these resource adapters. JCA contract ensures that a resource adapter would be <img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/TTA_9NtLyXc" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com1http://techblog.abhinavsrivastava.com/2005/03/jca-and-spi.htmltag:blogger.com,1999:blog-11562986.post-1111291319960341452005-03-19T20:01:00.000-08:002005-03-19T20:01:59.963-08:00final'final' is used for defining constants. Constants always have pre-determined specific values. No point in having a constant with a default value which you do not know unless you open language manuals. So we agree that a final variable(so to say) must be explicitly initialized.This is in contrast with non-final member variables where explicit initialization is not required. Don't forget that a <img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/AcEP19sh3Wc" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com0http://techblog.abhinavsrivastava.com/2005/03/final.htmltag:blogger.com,1999:blog-11562986.post-1111282717603971152005-03-19T17:30:00.000-08:002005-03-27T16:35:07.236-08:00What is J2EEJ2EE defines standards for developing, building and deploying multitiered enterprise applications. The runtime environment of J2EE applications are provided by Containers which is typically a part of the J2EE server where the application is deployed. J2EE also defines what services the container must support for the application to make use of. J2EE is thus a specification for both container and <img src="http://feeds.feedburner.com/~r/abhinavsrivastava/LDWB/~4/2b0dsLgbxa8" height="1" width="1" alt=""/>Abhinav Srivastavahttps://plus.google.com/116689880609600024833noreply@blogger.com0http://techblog.abhinavsrivastava.com/2005/03/what-is-j2ee.html