All-round brilliance of James Harris drives Middlesex to win over Northants

first_imgKent Why England need to take a chance on talent and alter their top six Since you’re here… Read more Share on Messenger County cricket: Yorkshire v Essex, Lancs v Notts and more – as it happened The Northamptonshire captain, Alex Wakely, was phlegmatic. He said: “There were two balls going past the edge every over and you always thought there was probably one with your name on it.”The wicket-fest at Canterbury was halted by bad light with Gloucestershire 61 for one, needing another 47 runs to win. With 153 in their second innings, Kent more than doubled their first-innings effort, with quick runs for Daniel Bell-Drummond (61) and Zak Crawley (32). But it never looked quite enough. Ryan Higgins took five for 22, his maiden five-fer for Gloucestershire.Due west, at the Ageas Bowl in Division One, a ninth-wicket partnership of 72 between Brad Wheal and Kyle Abbot put Hampshire in the driving seat. Worcestershire were 59 for three at the close, still 265 runs short of victory, with three wickets for Abbot to go alongside his earlier 51.At Old Trafford, Lancashire were wobbling when rain and skies as thick as gravy stopped play at tea. Haseeb Hameed and Keaton Jennings had survived a torrid opening spell from the belt-and-braces pairing of Jake Ball and Luke Fletcher, before Hameed was out pushing forward to Gurney for 19 and Davies fell for a five-ball duck. Lancashire still trail Nottinghamshire by six runs, with eight wickets remaining. Nottinghamshire’s tidy first-innings lead of 64 was due largely to a patient little scrap from Tom Moores and 44 from Riki Wessels. There were three wickets each for Liam Livingstone, Joe Mennie and Tom Bailey. match reports County Championship Division One Barney Ronay Support The Guardian Share on Facebook Read more Warwickshire’s 299 was the closest any team got to 300, thanks to a last-wicket partnership of 77 between Tim Ambrose and Chris Wright at Edgbaston. In reply Sussex were 194 for six thanks to a superb spell of bowling from Olly Stone, who took all six wickets to go down on his home Championship debut for Warwickshire, including a spell of four for 11 in 13 balls. Stone is startlingly quick, his career plagued by injury, including a strain to his knee he sustained while celebrating the wicket of Moeen Ali in a T20 in 2016. He missed more than a year of cricket, but a winter in Perth seems to have done him good.There was no play all day again at Headingley and mutterings about the effect the new stand was having on the outfield led to the chief executive, Mark Arthur, issuing a statement: “There is no issue with the drainage system.” County Championship Division Twocenter_img Share on LinkedIn Reuse this content … we have a small favour to ask. More people, like you, are reading and supporting the Guardian’s independent, investigative journalism than ever before. And unlike many news organisations, we made the choice to keep our reporting open for all, regardless of where they live or what they can afford to pay.The Guardian will engage with the most critical issues of our time – from the escalating climate catastrophe to widespread inequality to the influence of big tech on our lives. At a time when factual information is a necessity, we believe that each of us, around the world, deserves access to accurate reporting with integrity at its heart.Our editorial independence means we set our own agenda and voice our own opinions. Guardian journalism is free from commercial and political bias and not influenced by billionaire owners or shareholders. This means we can give a voice to those less heard, explore where others turn away, and rigorously challenge those in power.We hope you will consider supporting us today. We need your support to keep delivering quality journalism that’s open and independent. Every reader contribution, however big or small, is so valuable. Support The Guardian from as little as $1 – and it only takes a minute. Thank you. Hampshire And so the first spoils of the 2018 Specsavers County Championship went to Middlesex, champions of 2016 but demoted to Division Two last September. They defeated Northamptonshire by 160 runs just after lunch on the third day – Northants never able to recover from their blink-and-you’ll-miss-it first innings of 71.It was an astonishing game for James Harris, who scored the most runs in the match, made the highest score and, with four for 39 in Northamptonshire’s second innings, and nine for 48 in all, took the most wickets in the game too. It was a good start also for Tim Murtagh, eight for 64 in the match and due to make his Test debut for Ireland against Pakistan in May. Share on Twitter Topics Middlesex Northamptonshire Share on Pinterest Share on WhatsApp Share via Email Gloucestershirelast_img read more

Graft trial against Moudud Mosharraf to continue

first_imgMoudud Ahmed and Khandaker Mosharraf HossainThe Supreme Court on Monday rejected the petitions of BNP leaders Moudud Ahmed and Khandaker Mosharraf Hossain seeking review of its verdict for continuing trial proceedings against them in two graft cases.A three-member Appellate Division bench, headed by chief justice Surendra Kumar Sinha, passed the order.With the apex court order, there is no bar to continue the trial proceedings of the cases filed by the Anti-Corruption Commission against them, said ACC lawyer M Khurshid Alam Khan.Advocate AJ Mohammad Ali argued for Moudud Ahmed while lawyer Moudud Ahmed led the hearing for Khandaker Mosharraf and Khurshid Alam Khan represented the ACC.On 16 September 2007, the ACC filed a case against Moudud with Gulshan police station on charge of amassing wealth of Tk 9.04 million from beyond known sources.The graft watchdog filed the other case against Mosharraf with Ramna police Station on 10 January 2008 for acquiring illegal wealth of Tk 120 million.Moudud and Mosharraf filed separate petitions to the High Court to repeal the cases after the ACC pressed charges against the two BNP leaders in 2008.In 2012, the High Court turned down their petitions to quash the trial proceedings.On 21 May 2014, the SC turned down the pleas of Moudud Ahmed and Khandaker Mosharraf Hossain to quash the trial proceedings against them in two graft cases.Later, the two BNP leaders filed the review petitions.last_img read more

PM Hasina orders stern action against Nusrats killers

first_imgPrime minister Sheikh Hasina. File PhotoPrime minister Sheikh Hasina has asked the law enforcement agencies to bring the perpetrators to the book and take stern actions against the killers of Sonagazi madrasah student Nusrat Jahan Rafi.“The prime minister directed the law enforcement agencies to expose the culprits who are involved in the killing of Nusrat to justice and take punitive action against them,” PM’s press secretary Ihsanul Karim told BSS.The PM expressed deep shock and sorrow at the tragic death of Nusrat who was set on fire on 6 April and succumbed to her injuries at Dhaka Medical College Hospital last night, he said.Sheikh Hasina prayed for eternal peace of the departed soul and conveyed profound sympathy to the bereaved family.“Nusrat died around 9.30pm last night,” Sheikh Hasina National Institute of Burn and Plastic Surgery’s chief coordinator at Dhaka Medical College Hospital (DMCH) Samanta Lal Sen told reporters.The PM earlier directed health authorities to ensure best possible treatment for the 18-year-old Nusrat.“The prime minister called me up and asked us to take steps to send her to Singapore for her (Nusrat’s) better treatment,” Samanta Lal told reporters on Monday afternoon.Nusrat JahanHe also said the premier issued directives to contact a Singapore hospital and “send her there, if they (Singapore hospital) agree to treat her”.But doctors at the facility said Nusrat’s condition made it difficult for her treatment abroad as 80 per cent of her body including the respiratory system were burnt exposing her to breathing problems.Nusrat had accused Feni’s Sonagazi Islamia Senior Fazil Madrasah principal Sirajuddoula of harassing her sexually on 27 March while she was exposed to his extreme vengeance on 6 April when she went to the madrasah to appear in the HSC equivalent “Alim” examination.A group of masked youths, reported to be principal’s stooge, took Nusrat to the rooftop and set her on fire in a bid to kill her.Feni police said the principal was already behind the bar in another case while they launched a manhunt to catch the culprits who tried to kill her.last_img read more

Apple Sees Business Decrease During Holiday Quarter iPhone Revenue Down 15

first_imgFor years, continuous growth has been a given for Apple investors. On Tuesday, that success story came to a screeching halt: The iPhone maker generated billions less in revenue during the quarter ending on Dec. 29 than it did during the same time in 2017.The sole culprit for this decline was the company’s iPhone business, where revenue dipped 15% year-over-year. “Our customers are holding on to older iPhones a bit longer than in the past,” said Apple CEO Tim Cook during the company’s earnings call Tuesday afternoon.That’s not to say that Apple isn’t still a very profitable business. The company generated $84.3 billion in revenue during the holiday quarter, compared to $88.3 billion in revenue during the same quarter in 2017. Diluted earnings per share came in at $4.18, compared to $3.89 a year ago. In fact, those earnings per share represented a new record, which resulted in investors sending the stock up 8.5% in after-hours trading. Popular on Variety Apple had previously warned investors that a decline in its China business would lead to lower-than-expected revenue for the quarter. The company revised its revenue guidance for the quarter from $91 billion to $84 billion in January, at the time leading to a massive sell-off from investors.“While it was disappointing to miss our revenue guidance, we manage Apple for the long term, and this quarter’s results demonstrate that the underlying strength of our business runs deep and wide,” Cook was quoted saying in the company’s earnings release.Adding to the uncertainty was the fact that for the first time, Apple didn’t disclose the number of iPhones it sold in the quarter. The company had announced this step during its fiscal Q4 earnings report in November, with chief financial officer Luca Maestri telling investors at the time that the average sale price of an iPhone was ultimately more material to the company than the total number of devices sold. “A unit of sale is less relevant to us today than it was in the past,” Maestri said.But even without those numbers, Tuesday’s release showed that the company missed on iPhone sales. The company sold close to $52 billion worth of phones during the quarter, down from $61.1 billion a year before. Mac and iPad revenues, on the other hand, were both up, 8.7% and 16.9% respectively. Service revenues were also up 19% year-over-year, at close to $10.9 billion.The company also disclosed that it now has 1.4 billion active devices in the market, including 900 million iPhones. “Our ecosystem is stronger than ever before,” Cook said.Apple’s earnings report came a day after reports about a serious security flaw involving the company’s Facetime video chat software emerged. That flaw allowed users to spy on unsuspecting iPhone owners simply by giving them a call, with microphones capturing audio even if a call wasn’t picked up. Apple has since temporarily disabled group calling, but has yet to roll out a software update for a more permanent fix.center_img ×Actors Reveal Their Favorite Disney PrincessesSeveral actors, like Daisy Ridley, Awkwafina, Jeff Goldblum and Gina Rodriguez, reveal their favorite Disney princesses. Rapunzel, Mulan, Ariel,Tiana, Sleeping Beauty and Jasmine all got some love from the Disney stars.More VideosVolume 0%Press shift question mark to access a list of keyboard shortcutsKeyboard Shortcutsplay/pauseincrease volumedecrease volumeseek forwardsseek backwardstoggle captionstoggle fullscreenmute/unmuteseek to %SPACE↑↓→←cfm0-9Next UpJennifer Lopez Shares How She Became a Mogul04:350.5x1x1.25×1.5x2xLive00:0002:1502:15last_img read more

How a Ruined Valentines Day Dinner Inspired a Business

first_img Opinions expressed by Entrepreneur contributors are their own. February 13, 2015 The idea of making a home-cooked meal sounds romantic, but Kevin Yu knows just how difficult it can be to pull off.Several years ago, Yu had a special night planned for his girlfriend on Valentine’s Day. Although the restaurants he wanted to take her to were booked for the night, he had another idea: he’d whip up a “fancy” three-course meal himself.He bought groceries, researched recipes and watched some YouTube tutorials on how to cook. Then, he started cooking — which is where he ran into trouble. Like most novice chefs, he had trouble with the timing of specific steps and forgot to add some ingredients. The result, of course, was more gross than gourmet.   Related: How These Founders Reinvented the Apron and Won Over Celebrity ChefsTo prevent future failures in the kitchen, Yu fell back on familiar territory. The 31-year-old had been working in the video-game industry at the time — for Blizzard Entertainment, the company known for World of Warcraft — and realized that helpful tools like multiple timers and video options for answering his questions on techniques would have been helpful. “I realized all of these features could be built into an app for an all-encompassing cooking experience,” he said.  After raising $15,000 in a successful Kickstarter campaign, Yu and a team of four others launched SideChef, a free app that offers users step-by-step voice guidance through recipes, as well as automatic timers, shopping lists, measurement conversions and other tools. The app also gives people the ability to share recipes with other users.SideChef, which raised $1 million in funding late last year, caught on quickly. It first launched for iOS in August 2014. By that Christmas, it had been downloaded more than 200,000 times, becoming one of the Top 5 food apps in Apple’s App Store, Yu says.Related: 3 Strategies for Winning In the Hyper-Competitive Market for AppsIts popularity speaks to how wide a net it has cast. The app appeals to both women and men (Yu says there’s a 50/50 gender split among users), and is meant for various levels of cooking experience. “This is the perfect app for both that friend who is completely lost in the kitchen as well as the radical foodie friend who can build a huge following sharing his or her creations on SideChef.” In the future, Yu said he’s considering monetizing the app through partnerships and add-on services. Those could include an option to order groceries and have them delivered, which would make the entire process easier.Yu also points out that the mobile/tablet-friendly platform makes Sidechef perfect for individuals, groups or, yes, even dates — for Valentine’s Day or any other date night. “SideChef works great in pairs…when couples cook together on a date, since users can easily pass the phone/tablet to another person to work on the next step of the cooking process without needing to know the ‘whole picture,’” he said.Not sure what you would create for your sweetie? Yu says the most popular recipe among users is the Oatmeal Buttermilk Pancakes. Personally, however, he prefers to make something more savory, like the spinach artichoke dip he brought to a SideChef potluck dinner in Shanghai. It was the very first dish he learned to make via the app.  “I love making this because it seems to always hit the spot with groups,” he said. “I really don’t have any dishes I don’t like to make.”As they say, behind every good chef is a good assistant. This one just happens to be digital.Related: Why This Multi-Talented Couple Opened a Nursing Franchise Attend this free webinar and learn how you can maximize efficiency while getting the most critical things done right. 4 min read Free Webinar | Sept 5: Tips and Tools for Making Progress Toward Important Goals Register Now »last_img read more

Build an ARCore app with Unity from scratch

first_imgIn this tutorial, we will learn to install, build, and deploy Unity ARCore apps for Android.  Unity is a leading cross-platform game engine that is exceptionally easy to use for building game and graphic applications quickly. Unity has developed something of a bad reputation in recent years due to its overuse in poor-quality games. It isn’t because Unity can’t produce high-quality games, it most certainly can. However, the ability to create games quickly often gets abused by developers seeking to release cheap games for profit. This article is an excerpt from the book, Learn ARCore – Fundamentals of Google ARCore, written by Micheal Lanham. The following is a summary of the topics we will cover in this article: Installing Unity and ARCore Building and deploying to Android Remote debugging Exploring the code Installing Unity and ARCore Installing the Unity editor is relatively straightforward. However, the version of Unity we will be using may still be in beta. Therefore, it is important that you pay special attention to the following instructions when installing Unity: Navigate a web browser to https://unity3d.com/unity/beta. At the time of writing, we will use the most recent beta version of Unity since ARCore is also still in beta preview. Be sure to note the version you are downloading and installing. This will help in the event you have issues working with ARCore. Click on the Download installer button. This will download UnityDownloadAssistant. Launch UnityDownloadAssistant. Click on Next and then agree to the Terms of Service. Click on Next again. Select the components, as shown: Install Unity in a folder that identifies the version, as follows: Click on Next to download and install Unity. This can take a while, so get up, move around, and grab a beverage. Click on the Finish button and ensure that Unity is set to launch automatically. Let Unity launch and leave the window open. We will get back to it shortly. Once Unity is installed, we want to download the ARCore SDK for Unity. This will be easy now that we have Git installed. Follow the given instructions to install the SDK: Open a shell or Command Prompt. Navigate to your Android folder. On Windows, use this: cd C:Android Type and execute the following: git clone https://github.com/google-ar/arcore-unity-sdk.git After the git command completes, you will see a new folder called arcore-unity-sdk. If this is your first time using Unity, you will need to go online to https://unity3d.com/ and create a Unity user account. The Unity editor will require that you log in on first use and from time to time. Now that we have Unity and ARCore installed, it’s time to open the sample project by implementing the following steps: If you closed the Unity window, launch the Unity editor. The path on Windows will be C:Unity 2017.3.0b8EditorUnity.exe. Feel free to create a shortcut with the version number in order to make it easier to launch the specific Unity version later. Switch to the Unity project window and click on the Open button. Select the Android/arcore-unity-sdk folder. This is the folder we used the git command to install the SDK to earlier, as shown in the following dialog: Click on the Select Folder button. This will launch the editor and load the project. Open the Assets/GoogleARCore/HelloARExample/Scenes folder in the Project window, as shown in the following excerpt: Double-click on the HelloAR scene, as shown in the Project window and in the preceding screenshot. This will load our AR scene into Unity. At any point, if you see red console or error messages in the bottom status bar, this likely means you have a version conflict. You will likely need to install a different version of Unity. Now that we have Unity and ARCore installed, we will build the project and deploy the app to an Android device in the next section. Building and deploying to Android With most Unity development, we could just run our scene in the editor for testing. Unfortunately, when developing ARCore applications, we need to deploy the app to a device for testing. Fortunately, the project we are opening should already be configured for the most part. So, let’s get started by following the steps in the next exercise: Open up the Unity editor to the sample ARCore project and open the HelloAR scene. If you left Unity open from the last exercise, just ignore this step. Connect your device via USB. From the menu, select File | Build Settings. Confirm that the settings match the following dialog: Confirm that the HelloAR scene is added to the build. If the scene is missing, click on the Add Open Scenes button to add it. Click on Build and Run. Be patient, first-time builds can take a while. After the app gets pushed to the device, feel free to test it, as you did with the Android version. Great! Now we have a Unity version of the sample ARCore project running. In the next section, we will look at remotely debugging our app. Remote debugging Having to connect a USB all the time to push an app is inconvenient. Not to mention that, if we wanted to do any debugging, we would need to maintain a physical USB connection to our development machine at all times. Fortunately, there is a way to connect our Android device via Wi-Fi to our development machine. Use the following steps to establish a Wi-Fi connection: Ensure that a device is connected via USB. Open Command Prompt or shell. On Windows, we will add C:Androidsdkplatform-tools to the path just for the prompt we are working on. It is recommended that you add this path to your environment variables. Google it if you are unsure of what this means. Enter the following commands: //WINDOWS ONLYpath C:Androidsdkplatform-tools //FOR ALL adb devicesadb tcpip 5555 If it worked, you will see restarting in TCP mode port: 5555. If you encounter an error, disconnect and reconnect the device. Disconnect your device. Locate the IP address of your device by doing as follows: Open your phone and go to Settings and then About phone. Tap on Status. Note down the IP address. Go back to your shell or Command Prompt and enter the following: adb connect [IP Address] Ensure that you use the IP Address you wrote down from your device. You should see connected to [IP Address]:5555. If you encounter a problem, just run through the steps again. Testing the connection Now that we have a remote connection to our device, we should test it to ensure that it works. Let’s test our connection by doing the following: Open up Unity to the sample AR project. Expand the Canvas object in the Hierarchy window until you see the SearchingText object and select it, just as shown in the following excerpt: Hierarchy window showing the selected SearchingText object Direct your attention to the Inspector window, on the right-hand side by default. Scroll down in the window until you see the text “Searching for surfaces…”. Modify the text to read “Searching for ARCore surfaces…”, just as we did in the last chapter for Android. From the menu, select File | Build and Run. Open your device and test your app. Remotely debugging a running app Now, building and pushing an app to your device this way will take longer, but it is far more convenient. Next, let’s look at how we can debug a running app remotely by performing the following steps: Go back to your shell or Command Prompt. Enter the following command: adb logcat You will see a stream of logs covering the screen, which is not something very useful. Enter Ctrl + C (command + C on Mac) to kill the process. Enter the following command: //ON WINDOWSC:Androidsdktoolsmonitor.bat //ON LINUX/MACcd android-sdk/tools/monitor This will open Android Device Monitor. You should see your device on the list to the left. Ensure that you select it. You will see the log output start streaming in the LogCat window. Drag the LogCat window so that it is a tab in the main window, as illustrated: Android Device Monitor showing the LogCat window Leave the Android Device Monitor window open and running. We will come back to it later. Now we can build, deploy, and debug remotely. This will give us plenty of flexibility later when we want to become more mobile. Of course, the remote connection we put in place with adb will also work with Android Studio. Yet, we still are not actually tracking any log output. We will output some log messages in the next section. Exploring the code Unlike Android, we were able to easily modify our Unity app right in the editor without writing code. In fact, given the right Unity extensions, you can make a working game in Unity without any code. However, for us, we want to get into the nitty-gritty details of ARCore, and that will require writing some code. Jump back to the Unity editor, and let’s look at how we can modify some code by implementing the following exercise: From the Hierarchy window, select the ExampleController object. This will pull up the object in the Inspector window. Select the Gear icon beside Hello AR Controller (Script) and from the context menu, select Edit Script, as in the following excerpt: This will open your script editor and load the script, by default, MonoDevelop. Unity supports a number of Integrated Development Environments (IDEs) for writing C# scripts. Some popular options are Visual Studio 2015-2017 (Windows), VS Code (All), JetBrains Rider (Mac), and even Notepad++(All). Do yourself a favor and try one of the options listed for your OS. Scroll down in the script until you see the following block of code: public void Update (){ _QuitOnConnectionErrors(); After the _QuitOnConnectionErrors(); line of code, add the following code: Debug.Log(“Unity Update Method”); Save the file and then go back to Unity. Unity will automatically recompile the file. If you made any errors, you will see red error messages in the status bar or console. From the menu, select File | Build and Run. As long as your device is still connected via TCP/IP, this will work. If your connection broke, just go back to the previous section and reset it. Run the app on the device. Direct your attention to Android Device Monitor and see whether you can spot those log messages. Unity Update method The Unity Update method is a special method that runs before/during a frame update or render. For your typical game running at 60 frames per second, this means that the Update method will be called 60 times per second as well, so you should be seeing lots of messages tagged as Unity. You can filter these messages by doing the following: Jump to the Android Device Monitor window. Click on the green plus button in the Saved Filters panel, as shown in the following excerpt: Adding a new tag filter Create a new filter by entering a Filter Name (use Unity) and by Log Tag (use Unity), as shown in the preceding screenshot. Click on OK to add the filter. Select the new Unity filter. You will now see a list of filtered messages specific to Unity platform when the app is running on the device. If you are not seeing any messages, check your connection and try to rebuild. Ensure that you saved your edited code file in MonoDevelop as well. Good job. We now have a working Unity set up with remote build and debug support. In this post,  we installed Unity and the ARCore SDK for Unity. We then took a slight diversion by setting up a remote build and debug connection to our device using TCP/IP over Wi-Fi. Next, we tested out our ability to modify the C# script in Unity by adding some debug log output. Finally, we tested our code changes using the Android Device Monitor tool to filter and track log messages from the Unity app deployed to the device. To know how to setup web development with JavaScript in ARCore and look through the various sample ARCore templates, check out the book Learn ARCore – Fundamentals of Google ARCore. Read Next: Getting started with building an ARCore application for Android Unity plugins for augmented reality application development Types of Augmented Reality targetslast_img read more