Overcoming Next.js Vercel Timeout With Firebase Functions
Article image generated by Adobe FireflyIn my current Next.js web app, I have two API endpoints:/api/generateExerciseData, which calls OpenAI API with gpt-3.5-turbo to generate exercise descriptions, categories, subcategories, intensities, and tips./api/generateWorkout, which calls OpenAI API with gpt-4 to generate workouts based on user prompts.While these endpoints work seamlessly in my local environment, they
Read moreChatGPT comes to Android next week, but you can sign up today
Two months after launching for iOS, ChatGPT is available to “pre-order” for Android users who want to take the ubiquitous chatbot on the go. If it’s anywhere as popular as the iPhone version, expect to see some big numbers over the next few weeks. Of course any mobile user can
Read moreBolt, ex-CEO Ryan Breslow subject of SEC probe
Ryan Breslow, co-founder of the e-commerce software outfit Bolt, was subpoenaed along with the company last year by the U.S Securities and Exchange Commission. The Information reported the news first on Friday. A letter authored in April by a lawyer representing Bolt investors said the SEC was investigating whether federal
Read moreForeign visitors to China can finally go cashless like locals
Great news for those traveling to China! You can finally enjoy the seamless, cashless payment experience that you may have heard about for years and avoid the awkward interaction of asking your local friends to pay and giving them paper money that they can’t spend anywhere. This week, China’s two
Read moreThreads in decline? Don’t count out Instagram’s new Twitter rival yet
A Wall Street Journal article on Friday warns that Instagram’s new Twitter competitor Threads is already losing steam. Citing third-party data from Sensor Tower, the paper reports the number of daily active users on Threads dropped for the second week down to 13 million, a 70% decline from a July
Read moreCongress probes Ford’s big battery deal with China’s CATL
In a public letter addressed to Ford boss Jim Farley, House Republicans Mike Gallagher and Jason Smith announced that two congressional committees are investigating the automaker’s licensing deal with Chinese battery maker CATL. The probe centers on Ford’s efforts to put CATL’s battery cell technology to use at an upcoming,
Read moreCyber Security Today, Week in Review for the week ending Friday, July 21, 2023
Welcome to Cyber Security Today. It’s Friday, July 21st, 2023. I’m Howard Solomon, contributing reporter on cybersecurity for ITWorldCanada.com and TechNewsday.com in the U.S. In a few minutes David Shipley of New Brunswick’s Beauceron Security will be here to discuss some of the headlines. But first a review of headlines
Read moreDefensive Programming and the Use of TypeScript
TypeScript is helpful at scale, but after using it for several years, it becomes evident that it’s not sufficient on its ownIllustration by authorUnlike languages such as Java, which have type safety that extends into the runtime, TypeScript is relieved of its type safety duties at compile time. This means your code
Read moreLeave sex workers out of your NPC TikTok discourse
Every time a woman monetizes the absurd, she’s accused of making fetish content. It’s a symptom of the anti-sex moral panic sweeping pop culture — and this time, it’s coming for TikTok’s NPC creators. Snippets of these creators’ livestreams keep going viral, and because the internet loves to hate on
Read moreAMC scraps plan to charge more for better seats
AMC Theaters has announced that it’s dropping plans to charge more for preferred seats and less for front-row ones through a tiered pricing system. The plan, called “Sightline,” was being tested in three U.S. markets since March. The company says it saw “little or no increase in patronage of front
Read more