Home » Page 244

Hackaday Links: March 3, 2024

Who’d have thought that $30 doorbell cameras would end up being security liabilities? That’s the somewhat obvious conclusion reached by Consumer Reports after looking at some entry-level doorbell cam… [+5045 chars]

CodeSOD: Query the Contract Status

Rui recently pulled an all-nighter on a new contract. The underlying system is complicated. There’s a PHP front end, which also talks directly to the database, as well as a Java backend, which also t… [+1621 chars]

Weather.gov 2.0

Weather.gov is owned by the National Weather Service (NWS). Weather.gov and associated applications are frequently in the Top-10 list of most-visited federal websites with 1.5 billion visits per year… [+7028 chars]

CodeSOD: Sorts of Dates

We’ve seen loads of bad date handling, but as always, there’s new ways to be surprised by the bizarre inventions people come up with. Today, Tim sends us some bad date sorting, in PHP.
// Function t… [+1957 chars]


"Where Have You Been Hiding": Dale Steyn, Brett Lee In Awe Of Mayank Yadav's Pace

Lucknow Super Giants (LSG) pacer Mayank Yadav made his Indian Premier League (IPL) debut with a bang, troubling batters with his fiery pace, hitting the 150 kmph-plus mark consistently and bowling a game-changing spell to guide his team to a 21-run win over Punjab Kings (PBKS) at Ekana Stadium on Sunday. His debut has earned him acclaim from some of the best bowlers to ever play the game, including pace greats like Brett Lee of Australia and South Africa’s Dale Steyn. Before the Saturday’s IPL game, Mayank has played two first-class matches, 17 List-A games and 11 T20 matches. (function(v,d,o,ai){ai=d.createElement(“script”);ai.defer=true;ai.async=true;ai.src=v.location.protocol+o;d.head.appendChild(ai);})(window, document, “//a.vdo.ai/core/v-ndtv/vdo.ai.js”);He represents Delhi at the domestic level, having made his List-A debut in 2021 and his first-class debut in 2022. As pointed out by the broadcasters, here are the bowling speeds per delivery (in kmph) of Mayank’s unbelievable spell of 3/27 in 10 overs, in which he dismissed Jonny Bairstow, Prabhsimran Singh and Jitesh Sharma to swing the tides in Lucknow’s favour following a century partnership between Bairstow and skipper Shikhar Dhawan in a 200-run chase. He took home the ‘Player of the Match’ award.1st over: 147, 146, 150, 141, 149, 147 (in kmph)2nd over: 156, 150, 142, 144 (wicket), 153, 1493rd over: 152, 150, 147 (wicket), 146, 144, 1434th over: 153, 154, 149, 142 (wicket), 152, 148During his spell of 24 balls, Mayank crossed the 150 kmph mark nine times. His first ball of the second over, measured at 155.8 to be precise, is among the fastest deliveries in IPL history and is the fastest of IPL 2024. The fastest delivery in IPL history was bowled by Australia’s Shaun Tait, who touched the 157.7 kmph mark for the Rajasthan Royals against the Delhi Capitals back in 2011.Here is a look at his fastest delivery: goesby Mayank YadavRelishing the raw and exciting pace of the debutant who now has wickets to his name #PBKS require 71 from 36 deliversWatch the match LIVE on @JioCinema and @StarSportsIndia#TATAIPL |… pic.twitter.com/rELovBTYMz – IndianPremierLeague (@IPL) March 30, 2024 Following the match, many cricket legends took to social media to appreciate Mayank’s spell. “India has just found its fastest bowler. Mayank Yadav! Raw pace Very impressive @IPL @JioCinema @BCCI,” tweeted Lee. India has just found its fastest bowler. Mayank Yadav! Raw pace Very impressive @IPL @JioCinema @BCCI – @BrettLee_58 (@BrettLee_58) March 30, 2024 South African pace great Dale Steyn also expressed wonder at Mayank’s pace, tweeting, “155.8 KPH Mayank Yadav where have you been hiding!.” 155,8 KPHMayank Yadav where have you been hiding! – Dale Steyn (@DaleSteyn62) March 30, 2024 Former Indian all-rounder Irfan Pathan also said that Mayank has got some serious pace, writing, “Mayank Yadav has got some serious pace. Good find from @LucknowIPL.” Mayank yadav has got some serious pace. Good find from @LucknowIPL – Irfan Pathan (@IrfanPathan) March 30, 2024 Legendary Indian spinner Harbhajan Singh wrote on his X handle, “Mayank Yadav what a Talent (speed 156)… Great to see him bowl and wish to see him playing more and more and soon for Team India #Mayankyadav.”Former England batter Kevin Pietersen also wrote, “Mayank Yadav bowling 155kph!!!!! @irbishi will be happy! A fast fast fast fast fast bowler!!!!!.” Former New Zealand batter John Wright lauded Mayank for bowling “absolute wheels”.”Kid comes on to bowl at 100 for no loss . Bowls absolute wheels takes three wickets & only goes for six an over for his allocation. Wow Mayank Yadav take a bow. What an entrance @LucknowIPL #LSGvsPBKS #ipl2024,” tweeted John. Former Australian cricket Tom Moody also said that Mayank looks like a “real deal””Mayank Yadav looks the real deal, serious pace with a strong action. All at the tender age of 21. #LSGvPBKS,” tweeted Tom. LSG elected to bat first after winning the toss. Quinton de Kock (54 in 38 balls, with five fours and two sixes), skipper Nicholas Pooran (42 in 21 balls, with three fours and three sixes) and Krunal Pandya (43* in 22 balls, with four boundaries and two sixes) helped LSG reach 199/8 in 20 overs. There was a 47-run partnership between Kock and Pooran for the fourth wicket that helped LSG settle following some quick wickets.Sam Curran (3/28) and Arshdeep Singh (3/30) were the pick of the bowlers for PBKS. Rahul Chahar and Kagiso Rabada took a wicket each.In the run chase, skipper Shikhar Dhawan (70 in 50 balls, with seven fours and three sixes) and Jonny Bairstow (42 in 29 balls, with three fours and three sixes) kicked things off with a 102-run opening partnership.But Mayank’s fiery spell derailed PBKS’s efforts, reducing them to 141/4 in 16.2 overs. Liam Livingstone (28* in 17 balls, with two fours and two sixes) tried to fight out but PBKS was restricted to 178/5 in their 20 overs.Mohsin Khan also picked up two wickets for 34 runs.LSG is at the fifth place in the points table with two points, having won one match and lost one. PBKS is at sixth place, with a win and two losses, giving them two points.


"New To The Job But…": Ravi Shastri's Honest Assessment Of Shubman Gill's Captaincy

Impressed by his leadership skills in the ongoing season of the Indian Premier League (IPL), former India head coach Ravi Shastri has lavished huge praise on Gujarat Titans (GT) captain Shubman Gill. After taking over the captaincy reign from Hardik Pandya, who is now the captain of Mumbai Indians, ahead of IPL 2024, Gill has impressed with his leadership qualities, winning two of his first three games at the helm. On Sunday, Gill led GT to their second win of the campaign, a seven-wicket triumph over SunRisers Hyderabad (SRH). (function(v,d,o,ai){ai=d.createElement(“script”);ai.defer=true;ai.async=true;ai.src=v.location.protocol+o;d.head.appendChild(ai);})(window, document, “//a.vdo.ai/core/v-ndtv/vdo.ai.js”);Speaking during the mid-innings break, Shastri said Gill had the plans in his mind and didn’t waste much time on the field.”One aspect I want to touch on is Shubman Gill. He was calm. I thought he captained the side very well. He’s new to the job, but, you know, he’s adjusting extremely well, because he didn’t waste time with his placings. He had a plan in his mind from the outset and which was good to see,” Shastri said on Star Sports.In the match against SRH, Gill scored 36 from 28 balls to give GT a flying start in chase of 163.After his dismissal, GT lose quick wickets, allowing SRH to take control of the proceedings.However, Sai Sudharsan played a magnificent knock of 45 runs from 36 balls to take GT across the finishing line.While speaking at the post-match presentation, Sudharsan claimed that it was a ‘difficult’ wicket to face fast bowlers.The 22-year-old also praised Mohit Sharma and Rashid Khan for restricting Hyderabad to 162 runs.”I’m happy that my contribution helped the team win, so definitely happy. It was a difficult wicket to play the fast bowlers, bowling into the pitch was hard to score off, so we decided to target that one over of spin. Great contributions from Mohit bhai and Rashid bhai, picked crucial wickets and restricted the target by around 10-15 runs. Playing in front of the home crowd is a plus point for us. Everyone wants to get more runs, I just want to contribute my best, milestones will happen by itself,” Sudharsan said.(With ANI Inputs)


Stock market today: Asian shares are mixed and Shanghai gains on strong China factory data

BANGKOK (AP) — Asian shares were mixed on Monday, with Shanghai gaining 1% after surveys showed improvements in manufacturing conditions in China. Sydney and Hong Kong were closed for the Easter Monday holiday. Tokyo’s Nikkei 225 fell more than 1.2%, to 39,883.96, after a Bank of Japan quarterly survey on business conditions showed sentiment among large manufacturers, which include auto and electronics giants, declined in March for the first time in a year. The Shanghai Composite index gained 1% to 3,072.29. China’s National Bureau of Statistics released survey data on Sunday that showed the country’s official manufacturing PMI, or purchasing managers index, coming in at 50.8 in March, its strongest reading since March 2023. A similar but separate survey, the Caixin/S&P Global China manufacturing purchasing managers’ index was 51.1 in March — its strongest since February 2023. It was at 50.9 in February. “Chinese manufacturers increased production, while also raising their purchasing levels amid improved optimism,” the report said. “A slew of policies introduced earlier this year to stabilize growth are gradually having an effect,” Wang Zhe, senior economist at Caixin Insight Group, said in a statement. China’s target for “about 5%” economic growth is “ambitious,” he said. Given pressures that are constraining employment and keeping prices low, efforts will be needed to make growth more efficient and improve its quality, he added. Elsewhere in Asia, South Korea’s Kospi edged 0.2% higher, to 2,750.64 and the Sensex in India was up 0.7%. In Bangkok, the SET edged 0.1% higher. Markets in the U.S. and Europe were closed on Friday. On Thursday, Wall Street coasted to its latest winning month and quarter by rising to more records. The S&P 500 rose 0.1%, adding to its all-time high set the day before. The Dow Jones Industrial Average ticked up 0.1% to 39,807.37 and likewise set a record. The Nasdaq composite dipped 0.1% to 16,379.46. In other trading, the U.S. dollar rose to 151.40 Japanese yen from 151.29 yen. The euro edged lower, to $1.0784 from $1.0794. The U.S. stock market has been on a nearly unstoppable run since late October, and the S&P 500 just capped its fifth straight winning month. It has leaped as the U.S. economy has remained remarkably solid despite high interest rates meant to get inflation under control. And with inflation hopefully still cooling from its peak, the Federal Reserve has indicated it will likely cut interest rates several times later this year. In other trading, U.S. benchmark crude oil gained 26 cents to $83.43 per barrel in electronic trading on the New York Mercantile Exchange. It was up $1.82 per barrel on Thursday, before markets closed for Good Friday and Easter. Brent crude, the international standard, added 25 cents to $87.25 per barrel. On Thursday, it surged $1.59 to $87.00 per barrel. Elaine Kurtenbach, The Associated Press


Michigan State hockey falters in third period, falls to Michigan in NCAA tournament regional final

MARYLAND HEIGHTS, Mo. – Michigan State’s hockey team got the best of Michigan plenty this season. The Spartans would gladly trade one of those wins for this one. Facing off for the sixth time, MSU and Michigan took the ice in an NCAA tournament regional final in suburban St. Louis, this time a trip to the Frozen Four on the line. With the game deadlocked with just over seven minutes remaining, the Wolverines found two goals in 12 seconds to take the air out of the Spartans and avenge four straight losses, knocking MSU out of the NCAA tournament with a 5-2 win. Michigan advances to the Frozen Four for the third straight year, where the Wolverines will face No. 1 overall seed Boston College on April 11 in St. Paul, Minnesota. MSU’s season comes to an end with a 25-10-3 record after winning the Big Ten regular season and tournament championships, the latter in overtime against Michigan, and winning the program’s first NCAA tournament game since 2008. Junior forward Dylan Duke crashed the net and was able to slide a puck past MSU freshman goaltender Trey Augustine for the Wolverines’ go-ahead goal. Then on the ensuing face-off, Michigan forward Frank Nazar caught MSU on a 2-on-1, where he made a between-the-legs pass to sophomore forward Gavin Brindley, who blasted a shot past Augustine. Duke would add a late power-play goal to make it a 5-2 final. Tied 1-1 entering the third period, Michigan defenseman Marshall Warren found open ice deep in the right circle, and Michigan’s Jacob Truscott was able to funnel the puck his way, where Warren beat Augustine to give the Wolverines a 2-1 advantage. MSU would respond midway through the third on the power play, when sophomore forward Joey Larson jumped on a loose puck in the slot and fired a one-timer past Michigan goaltender Jake Barczewski to level it up. Michigan was the faster team to start, but an early penalty gave the Spartans a chance to score first. MSU freshman forward Gavin O’Connell redirected a point shot from sophomore defenseman Matt Basgall and the puck slipped past Barczewski to put MSU in front. Michigan tied it early in the second period on a 3-on-2 rush. Forward Dylan Duke slid a pass over to defenseman Ethan Edwards, who fired a one-time shot past Augustine. Michigan was without star sophomore defenseman Seamus Casey – a first-team All-Big Ten selection who had seven goals and 38 assists for the Wolverines this season. MSU was without junior defenseman David Gucciardi, who scored in Friday’s regional semifinal win over Western Michigan. Contact Nathaniel Bott at nbott@lsj.com and follow him on Twitter @Nathaniel_Bott


Your student loan debt could be about to increase by hundreds of dollars

Australians with student debts are set to have hundreds of dollars added to their loans amid calls to change how increases are calculated. Some 2.95 million Australians have a Higher Education Loan Program (HELP) debt, such as HECS-HELP , totalling more than $78 billion in outstanding debt, according to the most recent Australian Taxation Office (ATO) data. The average debt is almost $26,500, and that will increase through indexation based on the March quarter inflation figure. That figure is yet to be released, but forecasts have emerged. Harry Murphy Cruise, an economist at Moody's Analytics, told The Guardian on Wednesday that “partial data” suggested inflation would come in at 3.35 per cent year-on-year for the March quarter. That would be almost on par with the latest, and more volatile, monthly figure which held steady at 3.4 per cent . If that prediction eventuates, the average student debt would increase by almost $900. That would be lower than last year when inflation came in at 7.1 per cent — a more than 30-year high — increasing the average debt by $1,700. But the figure would also be higher than pre-COVID times; the indexation rate hovered around 2 per cent between 2018 and 2020. Between 2005 and 2023, total outstanding debt grew from about $12.4 billion to more than $78 billion. Meanwhile, the number of people who carry a HELP debt increased from about 1.85 million to 2.95 million. That has come against the backdrop of a growing population and changes to higher education policy. Notably, between 2012 and 2017 a demand-driven funding system was in place which lifted caps on government-funded enrolments. Then in 2021, changes under then-Liberal prime minister Scott Morrison saw fees for some degrees soar, while others that aligned with skills shortages fell. The majority of outstanding debt is held by students in Australia's three most populous states: NSW (over $24 billion), Victoria (over $22 billion), and Queensland ($15 billion). The average HELP debt was about $10,500 in 2005 and was almost $26,500 in 2023. As it has grown, so too has the average time it takes to pay it off — from about seven to almost 10 years. People living overseas held over $1 billion in debt, while females had more debt than males across every age group. Debts most commonly existed in the $20,000-$60,000 range, with around five people still needing to pay off a debt of over $400,000. Last year it was revealed a person had racked up $737,000 of student debt, understood to be Australia's highest amount. HELP debts have also been described as “the backbone of the economy” . Last financial year, the ATO collected $4.9 billion from students paying back HELP-SFSS (Student Financial Supplement Scheme) loans, which includes HECS (Higher Education Contribution Scheme). In contrast, the petroleum resource rent tax generated $2.2 billion. In January, Richard Denniss, executive director of progressive think tank the Australia Institute, called on the government to reform the nation's “third world tax system”. “Thank you, children! You're the backbone of our economy, not the gas industry,” he said. Federal Teal MPs recently called for changes to the way higher education loans are hiked alongside inflation, saying the existing system is unfair. They want Education Minister Jason Clare to peg HELP debt increases to the lower of two figures, either consumer price inflation or wage growth, “so people aren't going backwards”. The same recommendation was made in the Australian Universities Accord's final report , released last month. Clare has previously said there was a good argument for changing when indexation is applied , labelling the current method “not right”. He is considering the report's recommendations.

Verified by MonsterInsights