Developer Proposes New (and Compatible) ‘Extended Flavor’ of Go

While listening to a podcast about the Go programming language, backend architect Aviv Carmi heard some loose talk about forking the language to keep its original design while also allowing the evolution of an “extended flavor.”
If such a fork takes place, Carmi writes on Medium, he hopes the two languages could interact and share the same runtime environment, libraries, and ecosystem — citing lessons learned from the popularity of other language forks:
There are well-known, hugely successful precedents for such a move. Unarguably, the JVM ecosystem will last longer and keep on gaining popularity thanks to Scala and Kotlin (a decrease in Java’s popularity is overtaken by an increase in Scala’s, during the previous decade, and in Kotlin’s, during this one). All three languages contribute to a stronger, single community and gain stronger libraries and integrations. JavaScript has undoubtedly become stronger thanks to Typescript, which quickly became one of the world’s most popular languages itself. I also believe this is the right move for us Gophers…

Carmi applauds Go’s readability-over-writability culture, its consistent concurrency model (with lightweight threading), and its broad ecosystem of tools. But in a second essay Carmi lists his complaints — about Go’s lack of keyword-based visibility modifiers (like “public” and “private”), how any symbol declared in a file “is automatically visible to the entire package,” and Go’s abundance of global built-in symbols (which complicate the choice of possible variable names, but which can still be overriden, since they aren’t actually keywords). After a longer wishlist — including null-pointer safety features and improvements to error handling — Carmi introduces a third article with “A Proposition for a Better Future.”
I would have loved to see a compile time environment that mostly looks like Go, but allows developers to be a bit more expressive to gain maintainability and runtime safety. But at the same time, allow the Go language itself to largely remain the same and not evolve into something new, as a lot of us Gophers fear. As Gophers, why not have two tools in our tool set?

The essay proposes a new extended flavor of Go called Goat — a “new compile-time environment that will produce standard, compatible, and performant Go files that are fully compatible with any other Go project. This means they can import regular Go files but also be safely imported from any other Go file.”

“Goat implementation will most likely be delivered as a code generation tool or as a transpiler producing regular go files,” explains a page created for the project on GitHub. “However, full implementation details should be designed once the specification provided in this document is finalized.”

Carmi’s essay concludes, “I want to ignite a thorough discussion around the design and specification of Goat…. This project will allow Go to remain simple and efficient while allowing the community to experiment with an extended flavor. Goat spec should be driven by the community and so it needs the opinion and contribution of any Gopher and non-Gopher out there.”

“Come join the discussion, we need your input.”

Related link: Go principal engineer Russ Cox gave a talk at GopherCon 2022 that was all about compatibility and “the strategies Go uses to continue to evolve without breaking your programs.”

Read more of this story at Slashdot.

A Space Rock Smashed Into Mars’ Equator – and Revealed Chunks of Ice

The mission of NASA’s robotic lander InSight “is nearing an end as dust obscures its solar panels,” reports CNN. “In a matter of weeks, the lander won’t be able to send a beep to show it’s OK anymore.”

“Before it bids farewell, though, the spacecraft still has some surprises in store.”
When Mars rumbled beneath InSight’s feet on December 24, NASA scientists thought it was just another marsquake. The magnitude 4 quake was actually caused by a space rock slamming into the Martian surface a couple thousand miles away. The meteoroid left quite a crater on the red planet, and it revealed glimmering chunks of ice in an entirely unexpected place — near the warm Martian equator.
The chunks of ice — the size of boulders — “were found buried closer to the warm Martian equator than any ice that has ever been detected on the planet,” CNN explained earlier this week. The article also adds that ice below the surface of Mars “could be used for drinking water, rocket propellant and even growing crops and plants by future astronauts. And the fact that the ice was found so near the equator, the warmest region on Mars, might make it an ideal place to land crewed missions to the red planet.”

Interestingly, they note that scientists only realized it was a meteoroid strike (and not an earthquake) when “Before and after photos captured from above by the Mars Reconnaissance Orbiter, which has been circling Mars since 2006, spotted a new crater this past February.” A crater that was 492 feet (150 meters) across and 70 feet (21 meters) deep…

When scientists connected the dots from both missions, they realized it was one of the largest meteoroid strikes on Mars since NASA began studying the red planet…. The journal Science published two new studies describing the impact and its effects on Thursday….

“The image of the impact was unlike any I had seen before, with the massive crater, the exposed ice, and the dramatic blast zone preserved in the Martian dust,” said Liliya Posiolova, orbital science operations lead for the orbiter at Malin Space Science Systems in San Diego, in a statement….

Researchers estimated the meteoroid, the name for a space rock before it hits the ground, was about 16 to 39 feet (5 to 12 meters). While this would have been small enough to burn up in Earth’s atmosphere, the same can’t be said for Mars, which has a thin atmosphere only 1% as dense as Earth’s…. Some of the material blasted out of the crater landed as far as 23 miles (37 kilometers) away.

Teams at NASA also captured sound from the impact, so you can listen to what it sounds like when a space rock hits Mars. The images captured by the orbiter, along with seismic data recorded by InSight, make the impact one of the largest craters in our solar system ever observed as it was created.

Read more of this story at Slashdot.

Pebble, the OG Smartwatch That May Never Die, Updated To Work With Pixel 7

Nearly six years after the Pebble smartwatch was purchased by Fitbit and discontinued, a new Pebble app for Android has been released by the Rebble Alliance, a group that has kept Pebble viable for its users since Fitbit shut down Pebble’s servers in mid-2018,” writes Ars Technica’s Kevin Purdy. “Pebble version 4.4.3 makes the app 64-bit so it can work on the mostly 64-bit Pixel 7 and similar Android phones into the future. It also restores a caller ID function that was hampered on recent Android versions.” From the report: Most notably, the app is “signed using the official Pebble keys,” with Google Fit integration maintained, but isn’t available through Google’s Play Store. Google acquired Fitbit for $2.1 billion, making it the steward of Pebble’s remaining IP and software pieces. Katharine Berry, a key Rebble coder and leader, works on Wear OS at Google and was one of the first to tweet news of the new update, “four years after 4.4.2.” That was the last Play Store update to the Pebble app from Pebble developers, one that freed up many of the app’s functions to be replaced by independent servers.

That’s exactly where Rebble picked up, providing web services to Pebble watches, including (for paying subscribers) voice dictation. But those services still relied on the core Pebble app to connect the watch and smartphone. If Android did make the leap to a 64-bit-only OS, it could have left Pebble/Rebble users in the lurch. Berry’s post on r/pebble offers “thanks to Google for providing us with one last update!” This is, to be sure, not the typical outcome of products that have been acquired by Google, even if second-hand.

Read more of this story at Slashdot.

Teleport Creators Raise $9 Million To Build Decentralized Uber Rival On Solana

The Decentralized Engineering Corporation (DEC) has raised $9 million in seed funding to create a decentralized ridesharing service on Solana — a concept that’s been theorized by Ethereum co-creator Vitalik Buterin and attempted by various startups over the years. Decrypt reports: DEC announced today that it has raised $9 million in seed funding to build out The Rideshare Protocol, or TRIP, which is designed to power ridesharing apps from a variety of future companies. They’ll all share the same core technology to connect drivers with riders, and DEC is building Teleport as the first application to prove out the framework. The seed round was co-led by Foundation Capital and Road Capital, with participation from Thursday Ventures, 6th Man Ventures, 305 Ventures, and Common Metal. Individual strategic investors include Uber’s third-ever employee, engineer Ryan McKillen, as well as social media influencer Jake Paul, Flexport founder Ryan Petersen, and Farcaster co-founder Dan Romero.

Paul Bohm, CEO of DEC and founder of Teleport, told Decrypt that ridesharing giant Uber “essentially runs a monopoly — it’s very centralized.” Uber provides the platform that connects drivers to riders and takes a significant cut of the fee, commanding an estimated 72% of the U.S. ride-sharing market as of June, per data from Bloomberg. TRIP is designed as a decentralized protocol that various app makers can plug into as a marketplace that connects drivers and passengers, all without a centralized force at the heart. Bohm believes this will spur both cooperation and competition, encouraging participants to buck the model of giants like Uber and Lyft while also pushing companies to innovate to create the best app around a shared marketplace. A token will be used for decentralized governance of the protocol too, Bohm said.

Teleport is designed to look and act much like an Uber or Lyft app for seamless onboarding of riders and drivers alike with no crypto required. Riders can pay with either a credit card or the USDC stablecoin, while drivers are paid via USDC or a direct payment to a standard bank account. “We keep it very, very close,” Bohm said of the app experience. “We don’t want any extra steps on either the driver or rider side. But the difference is, you’re no longer part of a monopoly.” DEC will use the seed funding to fuel its rollout in the months ahead, with Teleport and TRIP holding demonstrations during Solana’s Breakpoint conference in Lisbon in November and Art Basel Miami in December.

Read more of this story at Slashdot.

Hong Kong Plans To Legalize Retail Crypto Trading To Become Hub

An anonymous reader quotes a report from Bloomberg: Hong Kong is pivoting toward a friendlier regulatory regime for cryptocurrencies with a plan to legalize retail trading, contrasting with the city’s skeptical stance of recent years and the ban in place in mainland China. A planned mandatory licensing program for crypto platforms set to be enforced in March next year will allow retail trading, according to people familiar with the matter, who asked not to be named because the information isn’t public. Regulators are seeking to allow listings of bigger tokens but won’t endorse specific coins like Bitcoin or Ether, the people said, adding the details and timetable have yet to be finalized as a public consultation is due first.

The government is expected to flesh out its recently stated goal of creating a top crypto hub at a fintech conference starting Monday. The push comes amid a broader drive to restore Hong Kong’s credentials as a finance center after years of political turmoil and Covid curbs sparked a talent exodus. […] The upcoming regime for listing tokens on retail exchanges is likely to include criteria such as their market value, liquidity and membership of third-party crypto indexes, the people familiar said. That’s similar to the approach for structured products such as warrants, they added. “Introducing mandatory licensing in Hong Kong is just one of the important things regulators have to do,” said Gary Tiu, executive director at crypto firm BC Technology Group Ltd. “They can’t forever effectively close the needs of retail investors.”

Read more of this story at Slashdot.

Twitter Is Now an Elon Musk Company

Elon Musk has “added [Twitter] to his business empire after months of legal skirmishes,” writes The Verge’s Elizabeth Lopatto, citing reports from CNBC, The Washington Post and Insider. From the report: Musk’s first move on Thursday was to oust Parag Agrawal, who was Twitter’s last CEO as a public company. Chief financial officer Ned Segal and Vijaya Gadde, the company’s policy chief whom Musk had publicly criticized have also reportedly left the building. Sean Edgett, the general counsel, is also gone, The New York Times reports, adding that at least one of these executives was walked out by security. Chief customer officer Sarah Personette was also fired, Insider reports. The execs received handsome payouts for their trouble, Insider reports: Agrawal got $38.7 million, Segal got $25.4 million, Gadde got $12.5 million, and Personette, who tweeted yesterday about how excited she was for Musk’s takeover, got $11.2 million

Questions still remain about what Musk plans to do with Twitter now that he owns it, though he’s made a number of public comments. The Washington Post reported that Musk planned to cull 75 percent of Twitter’s employees, citing estimates given to prospective Twitter investors. Musk told Twitter staffers that the 75 percent figure was inaccurate, Bloomberg reported. In Musk’s text messages, provided during discovery to Twitter’s lawyers, he and entrepreneur Jason Calacanis, a friend of his, discussed cutting staff by requiring a return to office. “Day zero,” Calacanis texted Musk. “Sharpen your blades boys.” Requiring Twitter employees to return to offices would mean 20 percent of the staff would leave voluntarily, Calacanis wrote. Also, Calacanis told Musk, “Twitter CEO is my dream job.”

Twitter also faces challenges to its free speech stance in court, as the Supreme Court agreed to take up two cases that will determine its liability for illegal content. Musk, who is also CEO of Tesla and SpaceX, has suggested he’ll change the way Twitter’s moderation works, potentially relaxing the kinds of policies that saw former President Donald Trump permanently banned from the platform. Although Musk has said that his Twitter acquisition is “not a way to make money,” he’s reportedly raised ideas for cost cutting and increasing revenue. Governments and corporations could be charged a “slight cost” to use Twitter, and there could be job cuts on the table to improve the company’s bottom line. Some of Twitter’s current employees have criticized Musk’s plans for the platform as “incoherent” and lacking in detail. More broadly, Musk has talked about using Twitter to create “X, the everything app.” This is a reference to China’s WeChat app, which started life as a messaging platform, but has since grown to encompass multiple businesses, from shopping to payments to gaming. “You basically live on WeChat in China,” Musk told Twitter employees in June. “If we can recreate that with Twitter, we’ll be a great success.”

Read more of this story at Slashdot.

Swarming Bees May Potentially Change the Weather

fahrbot-bot shares a report from Live Science: Swarming bees produce so much electricity that they may affect local weather, new research suggests. The finding, which researchers made by measuring the electrical fields around honeybee (apis mellifera) hives, reveals that bees can produce as much atmospheric electricity as a thunderstorm. This can play an important role in steering dust to shape unpredictable weather patterns; and their impact may even need to be included in future climate models.

Insects’ tiny bodies can pick up positive charge while they forage — either from the friction of air molecules against their rapidly beating wings (honeybees can flap their wings more than 230 times a second) or from landing onto electrically charged surfaces. But the effects of these tiny charges were previously assumed to be on a small scale. Now, a new study, published Oct. 24 in the journal iScience, shows that insects can generate a shocking amount of electricity.

To test whether honeybees produce sizable changes in the electric field of our atmosphere, the researchers placed an electric field monitor and a camera near the site of several honeybee colonies. In the 3 minutes that the insects flooded into the air, the researchers found that the potential gradient above the hives increased to 100 volts per meter. In other swarming events, the scientists measured the effect as high as 1,000 volts per meter, making the charge density of a large honeybee swarm roughly six times greater than electrified dust storms and eight times greater than a stormcloud. The scientists also found that denser insect clouds meant bigger electrical fields — an observation that enabled them to model other swarming insects such as locusts and butterflies.

Read more of this story at Slashdot.

Meta’s Profit Slides by More Than 50 Percent as Challenges Mount

The social networking company, which is trying to shift into the so-called metaverse, posted falling sales and said it was “making significant changes” to operate more efficiently. The New York Times reports: This year, Meta’s earnings have been hit hard by its spending on the metaverse and its slowing growth in social networking and digital advertising. In July, the Silicon Valley company posted its first sales decline as a public company. Its stock has plunged more than 60 percent this year. On Wednesday, Meta continued that trajectory and indicated that the decline would not end anytime soon. It said it would be “making significant changes across the board to operate more efficiently,” including by shrinking some teams and by hiring only in its areas of highest priority.

The company reported a 4 percent drop in revenue for its third quarter — to $27.7 billion, down from $29 billion a year earlier. Net income was $4.4 billion, down 52 percent from a year earlier. Spending soared by 19 percent from a year earlier. The company’s metaverse investments remained troubled. Meta said its Reality Labs division, which is responsible for the virtual reality and augmented reality efforts that are central to the metaverse, had lost $3.7 billion compared with $2.6 billion a year earlier. It said operating losses for the division would grow “significantly” next year. For the current quarter, Meta forecast revenue of between $30 billion and $32.5 billion, which would be down from a year ago. The company’s shares fell more than 11 percent in after-hours trading. In a statement, Mr. Zuckerberg, Meta’s founder and chief executive, acknowledged “near-term challenges on revenue.” But he added that “the fundamentals are there for a return to stronger revenue growth” and that he was “approaching 2023 with a focus on prioritization and efficiency.”

Read more of this story at Slashdot.