Friday, September 4, 2015

Toptal recruitment process

I have stumbled upon a couple of blog posts speaking very negatively about Toptal... I have (proudly) passed their first 2 stages of interviews - then I have decided to opt out because I prefer to employ my free time to study, do sport and read books, rather than trying to make extra money coding websites for which I have really no knack.

Here a few considerations

The Codility tests are difficult, yes. But they are not impossible and with some exercise (I have invested maybe 3 days) you can really improve and learn some common strategies. For me it was very rewarding to learn all those algorithms, and I found the tutorials published on Codility site tremendously interesting. Maybe in real life very rarely you have to implement such algorithms, just like in real life you don't have to use Maxwell equations, but still being able to code complex problems is part of your engineer background, so stop bitching.

Part 2 of the interview can be some time after the Codility tests, so I suggest you review your code before part 2, because they might ask you to justify your coding.

The "face to face" interview is also quite challenging, you must code real time while the interviewer watches you. In my case the interviewer was extremely kind and this helped me a lot not to go totally in panic. The problem was relatively simple, much simpler than the Codility problems, but honestly having to code while someone watches adds quite some hindrance to the task. On the whole it was stressful but rewarding. Hey I know nobody loves being interviewed, but unfortunately no pain no gain, it's part of life, so stop bitching.

I have no clue how much you get paid and which kind of projects you can work on.

And no, nobody in Toptal asked me to write this panegyric post.



Thursday, September 3, 2015

Vagrant up fails on Windows 10 with VBoxManage.exe creating the host-only adapter


Bringing machine 'admin' up with 'virtualbox' provider...
==> admin: Clearing any previously set network interfaces...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["hostonlyif", "create"]

Stderr: 0%...
Progress state: E_FAIL
VBoxManage.exe: error: Failed to create the host-only adapter
VBoxManage.exe: error: Code E_FAIL (0x80004005) - Unspecified error (extended info not available)
VBoxManage.exe: error: Context: "int __cdecl handleCreate(struct HandlerArg *,int,int *)" at line 66 of file VBoxManageHostonly.cpp



Just upgrade to latest vagrant an VirtualBox 5.0.2, it worked for me... even if they say VBOX 5.0.2 is not officially supported... I have no other choice...



Monday, August 31, 2015

java.lang.NoSuchMethodError: weblogic.rmi.internal.MethodDescriptor.

The full error message is: java.lang.NoSuchMethodError: weblogic.rmi.internal.MethodDescriptor.(Ljava/lang/reflect/Method;Ljava/lang/Class;ZZZZII)V and this can happen if you use in WL 12 an EJB client stub generated by WL 10.3.5 (I think the issue is not there if the stub is generated by 10.3.6).

Simply said, the MethodDescriptor constructors have been changed in WebLogic and that specific one has been removed.

In wl12 the class is packaged in wlthint3client.jar, weblogic.server.merged.jar, com.bea.core.weblogic.rmi.client_4.0.0.0.jar , com.oracle.webservices.wls.jaxrpc-client.jar, com.oracle.webservices.wls.jaxws-wlswss-client.jar

You have only 2 solutions: either to use a wlfullclient.jar from the previous release of WL, or to regenerate the stub with WL12 appc.

see also http://stackoverflow.com/questions/25630220/oracle-iam-platform-utils-nosuchserviceexception-java-lang-reflect-invocationt/32314398#32314398 and https://liujinyao.wordpress.com/2015/05/11/java-lang-nosuchmethoderror-weblogic-rmi-internal-methoddescriptor-ljavalangreflectmethodljavalangclasszzzziiv/