10 recipes for turning imperative Java code into functional Scala code

At LinkedIn, we've started to use the Play Framework, which supports not only Java, but also Scala. Many teams have opted to write their apps in Scala, so I've spent a fair amount of time helping team members learn the language.


Most LinkedIn engineers are proficient in Java, so their early Scala code looks like a literal translation from Java to Scala: lots of for-loops, mutable variables, mutable collection classes, null values, and so on. While this code works, it's not taking advantage of one of Scala's biggest strengths: strong support for functional programming.

In this post, I want to share 10 recipes for how to translate a few of the most common imperative Java patterns into functional Scala code.

Why functional programming?

Why would you want to make your code "functional"? This question has been asked and answered many times, so rather than recreating the answers myself, I'll point you to a couple good starting points:
  1. Why Functional Programming Matters by John Hughes
  2. Functional Programs Rarely Rot by Michael O. Church
It's worth mentioning that Scala is not a pure functional language, but it is still worth trying to make as much of your code as possible out of (a) small functions that (b) use only immutable state and (c) are side effect free. If you do that, I believe your code will generally be easier to read, reason about, and test.

Now, on to the cookbook!

Recipe 1: building a list

Let's start easy: we want to loop over a List of data, process each item in some way, and store the results in a new List. Here is the standard way to do this in Java:

It's possible to translate this verbatim into Scala by using a mutable.List and a for-loop, but there is no need to use mutable data here. In fact, there is very rarely a reason to use mutable variables in Scala; think of it as a code smell.

Instead, we can use the map method, which creates a new List by taking a function as a parameter and calling that function once for each item in the original List (see: map and flatMap in Scala for more info):


Recipe 2: aggregating a list

Let's make things a little more interesting: we again have a List of data to process, but now we need to calculate some stats on each item in the list and add them all up. Here is the normal Java approach:

Can this be done without a mutable variable? Yup. All you need to do is use  the foldLeft method (read more about it here). This method has two parameter lists (Scala's version of currying): the first takes an initial value and the second takes a function. foldLeft will iterate over the contents of your List and call the passed in function with two parameters: the accumulated value so far (which will be set to initial value on the first iteration) and the current item in the List.

Here is the exact same calculateTotalStats written as a pure Scala function with only immutable variables:


Recipe 3: aggregating multiple items

Ok, perhaps you can do some simple aggregation with only immutable variables, but what if you need to calculate multiple items from the List? And what if the calculations were conditional? Here is a typical Java solution:

Can this be done in an immutable way? Absolutely. We can use foldLeft again, combined with pattern matching and a case class (case classes give you lots of nice freebies) to create an elegant, safe, and easy to read solution:


Recipe 4: lazy search

Imagine you have a List of values and you need to transform each value and find the first one that matches some condition. The catch is that transforming the data is expensive, so you don't want to transform any more values than you have to. Here is the Java way of doing this:

The normal Scala pattern for doing this would be to use the map method to transform the elements of the list and then call the find method to find the first one that matches the condition. However, the map method would transform all the elements, which would be wasteful if one of the earlier ones is a match.

Fortunately, Scala supports Views, which are collections that lazily evaluate their contents. That is, none of the values or transformations you apply to a View actually take place until you try to access one of the values within the View. Therefore, we can convert our List to a View, call map on it with the transformation, and then call find. Only as the find method accesses each item of the View will the transformation actually occur, so this is exactly the kind of lazy search we want:


Note that we return an Option[SomeOtherObject] instead of null. Take a look at Recipe 7 for more info.

Recipe 5: lazy values

What do you do if you want a value to be initialized only when it is first accessed? For example, what if you have a singleton that is expensive to instantiate, so you only want to do it if someone actually uses it? One way to do this in Java is to use volatile and synchronized:

Scala has support for the lazy keyword, which will initialize the variable only when it is first accessed. Under the hood, it does something similar to synchronized and volatile, but the code written by the developer is easier to read:


Recipe 6: lazy parameters

If you've ever worked with a logging library like log4j, you've probably seen Java code like this:

The logging statement is wrapped with an isDebugEnabled check to ensure that we don't calculate the expensive diagnostics info if the debug logging is actually disabled.

In Scala, you can define lazy function parameters that are only evaluated when accessed. For example, the logger debug method could be defined as follows in Scala (note the => in the type signature of the message parameter):

This means the logging statements in my code no longer need to be wrapped in if-checks even if the data being logged is costly to calculate, since it'll only be calculated if that logging level is actually enabled:


Recipe 7: null checks

A common pattern in Java is to check that a variable is not null before using it:

If you're working purely in Scala, and have a variable that might not have a value, you should not set it to null. In fact, think of nulls in Scala as a code smell.

The better way to handle this situation is to specify the type of the object as an Option. Option has two subclasses: Some, which contains a value, and None, which does not. This forces the programmer to explicitly acknowledge that the value could be None, instead of sometimes forgetting to check and stumbling on a NullPointerException.

You could use the isDefined or isEmpty methods with an Option class, but pattern matching is usually cleaner:


The Option class also supports methods like map, flatMap, and filter, so you can safely transform the value that may or may not be inside of an Option. Finally, there is a getOrElse method which returns the value inside the Option if the Option is a Some and returns the specified fallback value if the Option is a None:


Of course, you rarely live in a nice, walled off, pure-Scala garden - especially when working with Java libraries - so sometimes you'll get a variable passed to you that isn't an Option but could still be null. Fortunately, it's easy to wrap it in an Option and re-use the code above:


Recipe 8: multiple null checks

What if you have to walk an object tree and check for null or empty at each stage? In Java, this can get pretty messy:

With Scala, you can take advantage of a sequence comprehension and Option to accomplish the exact same checks with far less nesting:


Recipe 9: instanceof and casting

In Java, you sometimes need to figure out what kind of class you're dealing with. This involves some instanceof checks and casting:

We can use pattern matching and case classes in Scala to make this code more readable, even though it does the same instanceof checks and casting under the hood:


Recipe 10: regular expressions

Let's say we want to match a String and extract some data from it using one of a few regular expressions. Here is the Java code for it:

In Scala, we can take advantage of extractors, which are automatically created for regular expressions, and pattern matching using partial functions, to create a much more readable solution:

Got some recipes of your own?

I hope this post has been helpful. It's worth noting that the recipes above are only one of many ways to translate the code; for example, many of the List examples could have also been done with recursion.

If you've got suggestions on how to make the examples above even better or have some handy recipes of your own, leave a comment!

How to activate Airtel double recharge for voice and data.

Airtel has make it possible for their customers to enjoy double chance for a single recharge. That is, with just one recharge card from airtel you can subscribe for data bundle and also make call to any network with. Isn't this fantastic. To activate the airtel double recharge for voice and data.
Buy any amount of airtel recharge card. Load it with *126* follow by the recharge pin# and also with the same pin dial *143* the pin#. Enjoy.

Kevin Durant Donates $1 Million To Red Cross For Oklahoma Tornado Relief

OKLAHOMA CITY (AP) — Oklahoma CityThunder star Kevin Durant is pledging $1 million for tornado relief through his family foundation.
The American Red Cross announced Tuesday that the gift from The Durant Family Foundation is meant to match other donations and be an incentive for more people to give.
Red Cross' regional CEO Janienne Bella said the organization was thankful for Durant's "generosity."
The Red Cross is accepting $10 pledges from people who text"REDCROSS" to 90999. People can also donate at the organization's website.
On Monday, Durant sent a message to his 4.1 million Twitter followers with Red Cross donation information.

Confession: ''I Sleep With My Boss To Give My Boyfriend A Job.''

While surfing the internet this morning i read this post somewhere so i decide to share it with my readers.

Dear Naija readers:

I need solutions, it all seems like my world is crashing right before me. I’m a girl of 28 and I’m in a relationship of about 2 years now. I work with an insurance company and life has been good until my boyfriend lost his job roughly 10 months ago. And everything changed. I cater for him and myself as well since then. He continually nags about not having a job despite his applications for a new one. And to be very honest this whole situation sucks life out of me. So I decided to meet my boss at the office and I asked if he could help in any way. He accepted but requested sex with me and because I felt fed up with my boyfriend’s situation, I gave in to sleep with my boss but we’d an agreement that it will be a one time stuff. I was desperate and was willing to sacrifice for my boyfriend. Weeks later my boyfriend got the job and according to the company policy, employees must have a 3 months training before confirmation. This situation led to my boyfriends being trained at my branch of the company, which is also where my boss that gave him the job works. Just less than 6 weeks my boss couldn’t let me stay for a day without further request for sex and in the process my boyfriend found out the whole thing. He quit the job instantly and left town without a word. Doesn’t take my calls to hear my side of the whole thing. I feel confused as I’ve only intended to assist but it’s all falling on me now. I wrote so that I can have a public view and advice on what to do. Is there a chance or anything I could do to salvage the situation Please I need help.

Bokoharam----Army arrest orange seller with N60m

The general officer
Commanding (GOC), Division 1 Nigerian Army, Kaduna, Major-General Garba Wahab, at the weekend said the media should not eulogize criminals as the Division has arrested a suspected orange seller who spied for terrorists and over N600 million was found in his bank account within three months.

The GOC, whose area of command covers the north-western states, while fielding questions from newsmen in Kaduna relating to why the Army is carrying out general search without discrimination, said,

“When we stop those who are hawking and carrying wheelbarrow, and we said we want to check, people will shout, ‘Why are you disturbing the average person?’ And I give you example; we arrested somebody here called mai lemu (orange seller) in Kawo here. And in three months when we checked through his account, over 600 million naira has passed through that man’s account, and he sells orange here by Kawo bridge.

“He is there as a lookout. He is like a spy. He looks around, gets information and feeds these guys, says this is what is happening. That is why I said we are not dealing with idiots. We are dealing with people who have one or two guys working and thinking, and giving them information. And we know that before they attack they must look at the softest locations.”

Wahab added that it is a criminality that the media and society must cooperate and ensure that it is brought to an end.

On Thursday’s attacks in Daura, he explained that military personnel adhered to the principles of rules of engagement, saying, “I called this press conference to fill the gap on the attack that occurred in Daura, Katsina state. We don’t want a situation where people will be speculating.
Yes, the criminals came, they bombed vehicles, and they packed money using improvised explosive devices (IEDs) to bomb everywhere. Nobody will give an instruction for an innocent life to be lost, so in whatever we do, we keep to the rules of engagement given to us and that is why I have called the media tolend us their support because when a few reports go out, it’s like it is encouraging the criminals and they start to think they have the upper hand.”

Meanwhile, the presidency yesterday offered amnesty to any Boko Haram member who surrenders, as it wages war on the insurgents in Borno, Yobe and Adamawa, where state of emergency was declared last Tuesday.
Special Adviser to the President on Media and Publicity, Dr. Rueben Abati, revealed this yesterday while talking to Reuters, a foreign news agency, on telephone.He said: “Mr President has urged Boko Haram members to surrender their arms and embrace the amnesty option which is still open as the committee is working on the option of dialogue for a peaceful resolution.”

Woman discovers she have four Kidney after operation.

A woman who went for a surgery operation operation on one kidney was diagnose by the doctor that she had four of them. The woman which was rushed to the hospital after she developed excruciating pain on her right side.
Just weeks earlier, her GP had diagnosed a urine infection, prescribing her antibiotics. But scans at Surrey’s St Helier Hospital revealedwhat doctors first thought was a 17cm cyst on her right kidney.

Then 11 days later, further tests
showed Jessica actually had two kidneys on her right side, the second of which was the ‘cyst’ – and was so damaged it would have to be removed.

But during the operation, surgeons discovered yet another kidney, meaning Jessica had four and the ‘extremely rare’ privilege of having double the amount. May GOD have mercy on her...Amen.

Arsenal Secured Champions League Spot.

Arsenal secured Champions League qualification for next season -- and a 16th in a row -- with a vital 1-0 win over Newcastle at St James' Park on the final day of the Premier League season, as Laurent Koscielny's second-half volley was enough to seal fourth place.

The Gunners' victory meant that regardless of how Tottenham got on against Sunderland at White Hart Lane, they would be the North Londoners appearing in the Champions League come September.

Newcastle marked Steve Harper's final game by handing him the captaincy for the day, as the goalkeper reached the end of a 20-year spell at the club. The 38-year-old was afforded a marvelous sendoff by Newcastle's supporters as they chanted his name for the duration of the 37th minute, to symobolize the goalkeeper's shirt number.

Newcastle barely touched the ball in the opening five minutes as Santi Cazorla and Aaron Ramsey dominated possession in midfield for the visitors, and that impressive spell was only broken by a thunderous challenge from Cheick Tiote on Tomas Rosicky.

The hosts fashioned the first chance of the game in the 10th minute when Papiss Cisse fired just over after strong play down the left-hand side from Mapou Yanga-Mbiwa.

Alan Pardew's side continued to threaten down the flanks, as Hatem Ben Arfa and Yoan Gouffran enjoyed themselves playing in an attacking three off Cisse.

Wenger's decision to start Mikel Arteta despite a calf injury he picked up against Wigan during the week backfired shortly before the half-hour mark, as the former Everton midfielder had to be replaced by Alex Oxlade-Chamberlain.

Arsenal appeared to click through a couple of gears at the start of the second half, as Theo Walcott and Cazorla began to run at Newcastle's defense, and in the 52nd minute the Gunners' pressure paid off when Koscielny gave them the lead. The Frenchman was on hand to smash a close-range volley past Harper after Theo Walcott's free kick sat up for him inside the Newcastle penalty area.

Just moments after going ahead the Gunners were fortunate not to concede a free kick in a very dangerous position, as the ball struck Ramsey's arm as he slid to dispossess Ben Arfa in full flight. Despite being just yards away from the action, referee Howard Webb waved play on.

Newcastle withdrew Yohan Cabaye shortly after, and that sapped the life from the hosts' play as Arsenal bookended its performance by dominating possession in a similar vein to how it started the game, finishing off the quest to return to the Champions League.

Source: goal.com



Nollywood Actor Zack Orji Becomes A Pastor.

When i see people like this closer to GOD it inspire me to go more closer to GOD. The veteran actor, Zach Orji, has been on the corridor of evangelism in the past two
years. He was proclaimed an evangelist by the President of Christian Central Chapel international (CCCI) by Bishop Emma Isong. The actor was said to have moved from one church to the other with the
ministry working hard and praying to get further official pastoral ordination. He had preaching engagement in various churches such as Shepherd House Assembly in Makurdi, Lafia, Abuja and the Diaspora. Right now, the dreams of star of Glamour Girls of becoming a full minister of God became a reality few weeks ago when he was officially or dained pastor by Bishop Lawrence
Osagie. It was also gathered that Zack Orji will continue with his inspirational style of
reaching which will open him to frequent travelling all over the world preaching the word of God. May GOD help him to grow well both physically and spiritually in his ministry....

Wizkid wins Africa Artist of the year in ghana music Award.

The young Nigerian singer perform well than it's fellow contestant P-square, Davido's and iyanya to win the just concluded Africa music Awards in Ghana. Congrats to him.

Man flee town after impregnating army officer duaghter

A Principal of one Baptist High School, Ekinrin/Adde, in Ijumu LocalGovernment Area of Kogi State, Mr. Ajayi Ajibulu has allegedly impregnated one of his students (undisclosed name). The secret between the Principal and the young girl was exposed after the principal’s letter via the girl to a doctor who was to carry out an abortion on her was seen by her (the girl) female friend.
The reporter investigation has revealed that the girl is a daughter to a retired Army officer who was also a close friend to the principal. Sources told our reporter that it was because of the closeness that had existed between the principal and the girl’s father that she became regular in the principal’s house, leading to the pregnancy.
It was revealed that the girl was still contemplating carrying out theabortion, which would have been the third of its kind, when her friend stumbled on the letter, and quickly let ‘the cat out of the bag’. After being informed of the development, the father raised the alarm, attracting the youth of the town who dragged the principal tothe king’s palace.
Oba Solomon Hambolu, the king, had advised the community to remain calm over the matter, as his palace was capable of dealing with the matter. He cautioned them not to take the law into their hands.
A bird in the know has squealed that the Principal has been having issues with his staff relating to his diabolical practices, even as a church deacon.
The reporter has also gathered that the Principal escaped from the King’s Palace after the youth had delivered him to the king, and may have fled the town already.

Send unlimited free sms to any network in Nigeria with your mtn line

Ever think of where to get money to send birthday, friendship, happy sunday sms to your friend's and love's one. Stop thinking because i'm bringing to you the trick on how to send free sms on your mtn line with 0.00k to any network in Nigeria. I believe that after showing you this trick, you would have no excuse to give to your friends and love's one for not sending them birthday text message. Wait i can see you in a hurry to know, ok after you finish typing your text message, add plus to the recepient number you want to send the message to, example +08161290771. Simple.

Dowload May-D ft 2face-nobody

http://www.naijaloaded.com/mobile_video/videos2/May_D_ft_2Face_-_Nobody.mp3

Mtn magic sim: browse free with your mtn line.

Bringing to you the mtn free browsing trick also known as mtn magic sim. With the mtn magic sim you can browse unlimitedly as u like. This is what other's are selling out with huge amount of money. So if you stumble upon my blog today consider yourself fortunate because you will start enjoying the mtn free browsing trick. Ok, let me not take much of your time. This is how it's work, load 100naira airtime on your mtn line and use it to activate the one day data plan of 10MB. After activate use it to browse and make sure you exalt the megabite before evening depending on the time you activated it, that is if you activated it in the morning. Switch of your phone for like 12-24hours then switch it on again after 24hours. Start browsing free as you like, please make sure that you have 0.00k on your mtn line as there was no money on my sim at the time of testing this trick.
NOTE: To enjoy this trick well, make sure that you are on the mtn pulse tariff plan. Post your testimony if it work for you.

Download new version of 2go 3.6.0

2go has launch a new version with exciting new features. The new version is modify with new chatting room and wonderful background. The new version 3.6.0 of 2go is available for download at www.2go.im so all the 2go lovers in the community oya let go there....

Techno and Etisalat partner to launch new smartphone, Techno P3.

Techno is here again with another exciting new tech call techno P3. This time around in partnership with etisalat nigeria and Qualcomm Incorporated, a global leader in next-generation mobile technologies. The TECNO P3 is an entry-level smartphone that runs on Android 2.3 Gingerbread operating system, and powered by Qualcomm® Snapdragon™ MSM7225A processor to offer users the best 3G smartphone experience, with a good battery life, easy access to the Internet and multiple social networks on a click. It has a 3.0 mega pixel secondary camera and a 0.3 mega pixel primary camera. The good about it is that, the dual-SIM smartphone comes with a pre-bundle of 12-month special promotion from Etisalat Nigeria that offers 100MB free data bundle on each purchase. Customers can also choose whether to buy the Etisalat-customized version available at Etisalat Experience Centers and its partner retailers, or the un-customized version from TECNO’s partner retailers nationwide which also comes with the same data bundle offer as the customized version. Gurus to techno Nigeria for this new product after working hard to release Techno N3, D3, N7 smartphones last year. The new Techno P3 is affordable at the rate of $95 approximately N15000 in Nigeria. What is your view.

Confession: I Prefer My Landline to My Cellphone by Herb Greenberg at CBN

I must sound older than I feel typing this but it’s about time somebody says it: The quality of a call on a landline is better than on a cellphone.

Don’t get me wrong, I love my cellphone, currently an iPhone 4s. I’ve had an Android, a bunch of different Blackberries, the Palm Treo and a host of pre-smartphones.

I live on my cellphone. It’s the best invention, ever! (After the landline, that is, and maybe the air conditioner, the wheel, the elevator and the light bulb -- in no particular order.)

But there’s this one thing I hate about the quality of a cellphone: There is a split fraction of a second delay on cellphone to cellphone calls that for some reason always makes it seem like you’re interrupting the other person. You know exactly what I mean, and nobody ever seems to talk about it.

If one person switches to a landline, the delay disappears.

I started thinking about this the other day when my wife and I were shopping for a new cordless phone to replace our old cordless phone, which appeared to be having some performance issues. It’s the latest in years of a string of cordless phones, all Panasonic, which ultimately wear out.

Ironically, the quality of our calls on the landline were starting to sound worse to callers than a cellphone. The calls were breaking up as if you were in a bad cell area (which, by the way, we are -- which is why we didn’t cut the cordless at our current home.)

So, off to Best Buy we went to get a new phone. (Talk about feeling old and out-of-touch. Shopping for a new cordless phone is about as exciting as going to Michael’s, the crafts store. Regular old phones are the backwaters of electronics.) We picked another Panasonic, this time the latest and greatest -- a 6.0 mhz Dect. No idea what “Dect” means but it sounded impressive and promised to be the best ever. So we took it home, fired it up and -- same lousy quality.

Returned it and this time bought a VTech 6.0 Dect on Amazon.

No idea if it will be any better, but for the sake of the legacy of my hero Alexander Graham Bell, I’m holding out hope.

P.S.: Best Buy had a display model of the the VTech we wanted, but didn’t have any in stock. So we asked. Turns out it has been discontinued in the Best Buy system. Which gets to the question: Why is it still on display at my local Best Buy? This is worse than dusty shelves. Alas, another story for another day to be titled: Why Best Buy’s days still may be numbered!

Have you experience the same problem? Cell phone or landline. Share it in the comment.

Samsung to launch 5G high speed wireless network by 2020.

Samsung electronic is adding more value to their technology by developing a core technology that will alow it to delivered 5G wireless high speed data connection to consumers by 2020. The system allow data transmission hundrend times faster than the current 4G network.
5G mobile communications technology is the next generation of 4G LTE networks tech and can offer data transmission speeds of up to several tens of Gbps per base station. Once 5G networks are commercialized, they will allow users to transmit massive data files, including UHD movies and remote medical services, “practically without limitation,” Samsung claims.

4G connections have gradually become available to consumers around the world since 2008, but many countries, including China, are still working toward launching their LTE networks. Samsung says, however, that its new adaptive array transceiver technology overcomes the limitations that millimeter-wave bands had when transmitting data over long distances. It transmits data in the millimeter-wave band at a frequency of 28 GHz at a speed of up to 1.056 Gbps to a distance of up to 2 kilometers.

“The millimeter-wave band is the most effective solution to recent surges in wireless Internet usage. Samsung’s recent success in developing the adaptive array transceiver technology has brought us one step closer to the commercialization of 5G mobile communications in the millimeter-wave bands,” said Samsung executive vice president and head of digital medial and communication R&D ChangYeong Kim.

Samsung is not the first to developed 5G wireless network. NNT DOCOMO comfirm that he has successfully conducted a 10gbps wireless test in february. New technology every day.

How to access your facebook free with mtn network.

Facebook is a place to meet new friends and chat with your old friends and family. As such mtn has make it easier for their customers by given free access to facebook anytime of the day. The benefit is for customers that are on the mtn pulse tariff plan. This is how it work; send FB0 to 131. You will receive a message from them that you are welcome to their facebook plan. After that, open your operamini browser or ucweb and enter 0.facebook.com on the address bar. Chat with your friends, access their profile, add as many new friend you like.

Download davido's hot new song

Davido's hot new song, 'One of a kind', is exclusively available on MTN Play. Visit http://wap.mtnonlineplay.com/Defaultx.aspx?typxm=FULLSONG to download @N75.

Wigan became the first team to be relegated after carrying the Fa-Cup.

Wigan has been relegated from the premierleague after their 4-1 lose to arsenal yesterday at the emirate stadium. Wigan who has snatch the Fa Cup from manchester city has created an history behind for been the first team to be relegated after claiming the Fa Cup title. Arsenal on the other hand secured a top4 finishing on the premierleague table. According to record, arsenal has completed the top4 position 16th season in a row and are qualify for champions league next summer.

Congratulation jamb releases all result for no biometric verification.

Jamb has finally release all the results that was withheld due to no biometric verification. All the candidate who wrote jamb this year and were unable to check their result are hereby inform to check their result now. Share your testimony with others, what is your jamb score this year......let see who score higher.

Beyonce is expecting a new baby

The well known female singer is said to be expecting new baby boy. According to news popping the town of new jork city that beyonce is pregnant. Music insiders report that beyonce could be given birth to a second child to his husband jay-z. Sound interesting, is'nt it.

How to access your yahoomail using the desktop version with your mobile phone.

Many people forward complain to us that they are unable to access their yahoomail using the mobile version. So today we decide to find a solution to that problem. Now this is how to go about it. Goto www.yahoo.com and scroll down to where you see mobile version/ desktop version. Click on the desktop version, wait for it to load and display content. After loading click on sign in. Then input your yahoo sign in details on the sign in box and wait for it to display your mails. That's all.
Please share it with your friends.

Jamb release ist batch of result for ''No biometric verification''

Goodnews jamb has release part of the result with no biometric verification. So if your check result and all you gotten from jamb was '' You Cannot see your result now because you have no biometric verification'', kindly recheck it now. To check your jamb result
goto: www.jamb.org.ng/unifiedtme4
On the top right coner you will see a box below result checker, input your jamb reg.no, pin or serial no and click on check result, your result will surely display if you are clearify by jamb. For those that their result is not yet out, news reaching our desk from jamb says that such result will be release before thursday of next week.

If you have any question kindly feel free to ask us by posting it on the comment box.

How to check your phone number.

Do you know that you can check your phone number without flashing another person phone number before you can check it. Simply dial the following code depending on your network provider.

MTN: dial *123*1*5#

ETISALAT: dial *248#

AIRTEL: dial *1#

DAVID MOYES AS SIR ALEX FERGUSEN SUCCESSOR.

Manchester United have appointed Everton manager David Moyes as Sir Alex Ferguson's successor at Old Trafford. David moyes who as completed 11 years of couching in everton is set to start a new couching work at manchester united.
The 50-year-old Scot has agreed a six-year deal to replace Ferguson, who announced his retirement on Wednesday after 26 years at United. Moyes will take charge on 1 July. Everton said in a statement:"Everton can confirm that David Moyes will leave the club at the end of the season.
"The manager met chairman Bill Ken wright early yesterday evening and confirmed his desire to join Manchester United.
"The chairman, on behalf of the club, would like to place on record his thanks to David for the massive contribution he has made to Everton since his arrival in March 2002. He has been an outstanding manager." Do you think David Moyes is a good replacement for Sir Alex fergusen the manchester united legend?.

A 40years old man arrested for 2goin why driving.

A man yesterday was arrested for using his phone while driving after he merely killed a lastma official on the road. The report stated that
he was stopped and asked to leave his vehicle and his phone was seized. The arresters when questioned, the officer in charge said “we didn’t arrest him for using his phone neither did we for almost killing a lastma official , we arrested him because a man that advanced in age, i mean a 40 years old man..imagine 40 years old! checking 2Go while driving..nonsense”. His punishment is has follows; he is to sweep the community ojuelegba (were the incident occured) for three weeks without option of pure-water break while on the job and a N50,000 fine.

Ja Rule release from prison

The Us well known rapper Ja Rule who attempted illegal gun possession and tax evasion, has been release after spending almost two years in the prison . Ja Rule was released from Ray Brook Federal Prison in New York today Tuesday May 6th but will remain on home confinement until July 28th.

Ja Rule was sentenced to two years in prison for attempted criminal possession of a weapon and 28 months for tax evasion. He served both sentences concurrently.

No Biometric Problem Solve.

Goodnews, jamb has decided to release the result of candidate that was withheld because of no biometric verification with effect from monday. Jamb official after their analysis and verification has say that candidate who were unable to check their result because of no biometric verification can check their result from monday.

Shit recruiters say

Just today, I got my 1,000th recruiter email in the last ~4 years. I know this is the number because I'm slightly obsessed with organization and have added a specific label to each and every recruiter email I've gotten in my gmail account. Let's see: 365 days per year, minus 104 weekend days and, say, 10 vacation days, gives us roughly 250 working days per year.

That means that, on average, 1 recruiter emails me every single business day [1].

There are a few take aways from this:
  1. Being a software engineer is awesome [2]. We don't apply to jobs, they apply to us. 
  2. If you are a recruiter, you're up against some serious competition.
  3. I've seen recruiter emails from every tech company you can think of. Some are comically bad.
In this blog post, I'm going to share snippets from a few of the bad ones. Enjoy!



[1] This doesn't even include the sketchy recruiters who track down my phone number and call me. If you do this, everything you say is shit.

[2] I suspect that if kids had any idea how amazing it is to be a programmer in Silicon Valley, all of the problems US schools have with math and science would vanish overnight.






Subject: Follow up

Hi Yevgeniy,

I’m not assuming you’re looking for a new roll right now but I wanted to follow up and gather your feedback.


Wrong! I could totally go for some sushi.





Subject: Opportunities at XXX

Hi Yevgeniy,

[...]

We are challenged every day, moving very quickly, and recruit only rock stars.


Man, I really wish I could join your band.




Subject: Quick question (Developer opportunities)

Yevgeniy,

Good day. Hope all is well.

I am reaching out to you because of the recent severe reorg and layoffs at your company I read about.


Wow, that escalated quickly.





Subject: Hello from XXX

Hello <name>,

My name is XXX -- I'm the Director, Engineering of the Growth Team at XXX.


Yes, this email literally said <name>. Umm, no thanks <company>.




Subject: Full time Scala opportunity

Hi Yevgeniy,

Currently, we are looking for an, "Engineer" to help deliver a range of new products. High-performance, high-scalability, high-traffic, heavy Scala, etc. Any interest in having a casual chat about this role...a few minutes...you have an interesting background?


This email from a, "recruiter", has, an interesting... way, with words?




Subject: principal java software engineer


Hi Yevgeniy,

happy valentine's day!
hope this new year has provided time for some fun activities.
our family started off the new year attending a terrific concert a couple of weeks ago. the performance reinforced the experience of music as a true combination of four creative forces (composer, conductor, musician and audience) in communicating ideas, thoughts & feeling. we were fortunate to hear pieces from Wagner, Beethoven, Mendelssohn, Leonard Bernstein to Holst. an awesome introduction to the symphony for kids!

if you might have time for a quick chat, i'd like to share a principal-level swe opportunity:



Worst valentines day card ever.




Subject: looking for a great technical dev manager!


Hi Yevgeniy,

I think this role may not be exactly up your ally, but I am hoping you can recommend some great folks for us!



I don't want anything up my ally, thank you.




Subject: Getting back in touch. Kleiner Perkins and Sequoia portfolio companies.

The portfolio company that I'm most excited about is financed by Greylock and Reid Hoffman who founded PayPal and LinkedIn, which as you know is one of the high-profile IPOs of 2011.


Ah, yes, Link-ed-in... I may have heard of it.





Subject: Stealth startup

[..]
The service will be disruptive and impact billions of technology users.


Billions!





2013 JAMB CUT OFF MARK FOR SOME HIGHER INSTITUTION.

Nigerian tertiary institutions and their Jamb UTME cut-off marks for 2013/2014
Following the release of results for the just-written Jamb UTME exams, these are the cut-off marks for the various tertiary institutions across the country.
=> University of Port Harcourt, UNIPORT: 200 and above for Dentistry,Pharmacy, Engineering (except Civil & Environmental Engineering), Management Sciences,Medicine,Nursing and Social Sciences; 180and above for others are invited to a Screening Exercise First Choice and Second Choice.
=> Nnamdi Azikiwe University, NAU/UNIZIK: 180 Arts (except Departments of English & History )and Education 200 for others
=> Federal University of Technology Owerri, FUTO: 180 First and Second Choice.
=> University of Ibadan UI: 200 First and Second Choice Most preferred
=> University of Lagos Unilag: 200 all courses, First Choice only
=> University of Nigeria, Nsukka, UNN: 200 all courses; first and second Choice.
=> Obafemi Awolowo University OAU: 200; first and second choice =
> Nnamdi Azikiwe University,NAU/ UNIZIK: 180 Arts (except Departments of English & History)and Education and 200 for others; first choice only.
=> University of Ilorin, Unilorin: – (i) 200 UTME for courses otherthan those listed in (5) O level Credits at not more than two sittings. (ii) 220 UTME for Accounting, Biochemistry, Business Administration, Chemical Engineering, Civil Engineering, Computer Science, Common Law, Economics, English, Electrical Engineering, Finance, Geology, Industrial Chemistry, Mass Communication, Mechanical Engineering, Microbiology, Pharmacy and Veterinary Medicine & (5) O level Credits at not more than two sittings. (iii) MB;BS candidates who obtained: (a) 240 marks in the UTME and (b) Credit Passes at one sitting only in the Senior Secondary School Certificate Examination or its equivalence in each of the following subjects: English Language, Mathematics, Physics, Chemistry and Biology.
=> University of Ado- Ekiti: 200;First and second choice
=> University of Benin, UNIBEN 200; first choice only
=> Ahmadu Bello University (ABU),Zaria: 180 for Science based courses and 190 for Arts, Social Science, Law and Administration; first choice only
=> Usmanu Danfodiyo University,Soko to: 180; First and second choice
=> Federal University of Technology, Akure FUTA: 200; first and second choice
=> University of Uyo, Uniuyo: 180;first choice only
=> University of Calabar Unical:180 for some courses and 200for others
=> University of Agriculture, Abeokuta UNAAB – 180
=> University of Jos UNIJOS: 180;first and second choice
=> Lagos State University LASU:200; first and second choice
=> Niger Delta University NDU: 180;first choice only
=> TAI Solarin University of Education TASUED: 180 first choice only and change of course
=> Federal University of Technology (FUT), Minna: (i) 220for School of Engineering and Engineering Technology and Environmental Technology (ii) 200 for School of Environmental Technology and School of Science and Science Education (iii) 190 for School of Agriculture and Agricultural Technology and School of Science and Science Education.
=> Federal University Dutsin-Ma,Katsi na: 180; first choice only
=> Federal University Oye-Ekiti:180; first and second choice => Federal University of Wukari,Taraba State: 180 in theSciences and 190 in the hmanities and Social Sciences; first and second choice.
=> Federal University, Otuoke, Bayelsa State: 180; first and second choice. => Ebonyi State University EBSU:180; first and second choice
=> Osun State University (UNIOSUN): 180 for Agriculture,Edu cation and Arts (Humanities and Culture) and 200 for the rest; First and second choice.
=> Federal University of Petroleum Resources, Effurun: 180; first and second choice
=> Michael Okpara University of Agriculture, Umudike; 180; first and second choice. => Anambra State University; 180;first and second choice.
=> Ambrose Alli University, Ekpoma: 180; first choice only
=> Kwara State University KWASU:200; first and second choice and changing of courses.
=> Afe Babalola University (ABUAD): No official cut-off mark.
=> Benson Idahosa University: No official cut- off mark.
=> Bells University of Technology,Ota: No cut- off mark, as long as you chose or wish to change course.
=> Kaduna State University, KASU:180 UTME cutoff (first choice only)
=> Imo State University IMSU: now Evan Enwerem University EEU : 180
=> Enugu State University of Science Tech – 180
=> Adekunle Ajasin University: 200
=> Rivers State University of Science and Technology,RSUS T:180 (1st choice only)
=> Delta State University, Abraka,DELSU: 180
=> Abia State University, Uturu,ABSUU: 180
=> University of Maiduguri, UniMaid: 180
=> Kogi State University, KSU: 180
=>Polytechnics and Colleges of Education 2012/2013 JAMB-UTME Cut-off mark List
=> Yaba College of Technology,Yaba Tech: 160
=> Auchi Polytechnic, Auchi: 180;most preferred, more preferred or preferred
=> Polytechnic Ibadan: No cut-off mark
Best of luck, Jambites!