Computer

Lenovo's Latest Laptop Has a Rollable OLED Screen

Slashdot - Wed, 2025-01-08 00:20
An anonymous reader quotes a report from Wired: Laptop screens can feel cramped. But what if you could magically get more real estate without having to carry around a portable monitor? That's precisely the purpose of Lenovo's ThinkBook Plus Gen 6 Rollable AI PC -- yes, rollable. It has an OLED display that, with the push of a button, extends the 14-inch screen upward to make for an awkward aspect ratio, but roughly doubles the screen space to 16.7 inches. Two screens are better than one for productivity, but what if one screen could be two but still one? Yes. It plays a fun animation and some music when it does its rolling thing. You can also activate the rolling action with a palm gesture; once it scans your palm, shift it up or down to raise or lower the screen. (Pressing the button on the keyboard is way faster.) You can take advantage of Windows 11 window snapping features to put apps one on top of the other. I stacked two browser windows, but you can put other apps below too. Considering I'm already that guy who brings a spare portable monitor everywhere, this just seems like a more elegant solution that takes up less space in my bag. And of course, anyone can take advantage of the long aspect ratio to get a better look at documents, PDFs, and web pages. Lenovo says it has tested the rolling function 30,000 times, and it has performed without flaws, so you can rest a little easier about reliability, though repairing this machine sounds like it will be a task. The whole laptop doesn't feel significantly different from a normal machine, weighing just 3.7 pounds -- that's 1 pound less than the 16-inch MacBook Pro. However, walking with your laptop open in your hand might be weird, as it feels a little top heavy. When closed, it's 19.9 mm thin -- the 16-inch MacBook Pro is 15.4 mm, so Lenovo's machine is thicker, but not as thick as a gaming laptop. Lenovo published a concept video on YouTube.

Read more of this story at Slashdot.

Categories: Computer, News

Review Roundup: OnePlus 13

Slashdot - Wed, 2025-01-08 00:00
The OnePlus 13 launched in the North American market today, making it the first flagship smartphone of 2025. As the smartphone market continues to consolidate, it has become increasingly difficult for non-Samsung, Google, and Apple devices to gain significant traction in the competitive U.S. market. Nevertheless, OnePlus has continually released premium flagship-tier devices at relatively modest price points, hoping to pry users away from the Big Tech monoliths. The OnePlus 13 features Qualcomm's latest Snapdragon 8 Elite chipset, up to 16GB of RAM, a 6.82" QHD+ OLED display, a triple Hasselblad-branded camera system, a massive 6,000mAh battery, and support for 5G networks across all major carriers in the U.S. and Canada. A full list of specifications can be found here. Based on the early reviews, the OnePlus 13 appears to set the bar high with not a lot of faults to highlight among reviewers. Here are some of our favorite reviews published today: OnePlus 13 review: finally, a flagship that can hang (The Verge) OnePlus 13 review: I'm dumbfounded, I can't find anything wrong with this phone (TechRadar) OnePlus 13 Review: Ship Shape? (Michael Fisher) OnePlus 13 Review: The Bar Has Been Set! (Marques Brownlee) The OnePlus 13 is finally a OnePlus flagship I trust to do it all (Android Authority) OnePlus 13 Review: 2025's First Flagship Finds Success (Forbes) OnePlus 13 review: The complete package (BGR) The OnePlus 13 sets a new bar for smartphone performance (Business Insider) This is not a Slashvertisement. We just like shiny, new tech.

Read more of this story at Slashdot.

Categories: Computer, News

Nvidia Launches RTX 50 Blackwell GPUs: From the $2,000 RTX 5090 To the $549 RTX

Slashdot - Tue, 2025-01-07 23:40
"Nvidia has officially introduced its highly anticipated GeForce 50 Series graphics cards, accompanied by the debut of DLSS 4 technology," writes Slashdot reader jjslash. "The lineup includes four premium GPUs: the RTX 5080 and RTX 5090 are slated for release on January 30, with the RTX 5070 and RTX 5070 Ti following in February. TechSpot recount of the Jensen Huang keynote tries to differentiate between dubious performance claims and actual expected raw output": The new RTX 5090 flagship comes packing significantly more hardware over its predecessor. Not only does this GPU use Nvidia's new Blackwell architecture, but it also packs significantly more CUDA cores, greater memory bandwidth, and a higher VRAM capacity. The SM count has increased from 128 with the RTX 4090 to a whopping 170 with the RTX 5090 -- a 33% increase in the core size. The memory subsystem is overhauled, now featuring GDDR7 technology on a massive 512-bit bus. With this GDDR7 memory clocked at 28 Gbps, memory bandwidth reaches 1,792 GB/s -- a near 80% increase over the RTX 4090's bandwidth. It also includes 32GB of VRAM, the most Nvidia has ever provided on a consumer GPU. [...] As for the performance claims... Nvidia has - as usual - used its marketing to obscure actual gaming performance. RTX 50 GPUs support DLSS 4 multi-frame generation, which previous-generation GPUs lack. This means RTX 50 series GPUs can generate double the frames of previous-gen models in DLSS-supported games, making them appear up to twice as "fast" as RTX 40 series GPUs. But in reality, while FPS numbers will increase with DLSS 4, latency and gameplay feel may not improve as dramatically. [...] The claim that the RTX 5070 matches the RTX 4090 in performance seems dubious. Perhaps it could match in frame rate with DLSS 4, but certainly not in raw, non-DLSS performance. Based on Nvidia's charts, the RTX 5070 seems 20-30% faster than the RTX 4070 at 1440p. This would place the RTX 5070 slightly ahead of the RTX 4070 Super for about $50 less, or alternatively, 20-30% faster than the RTX 4070 for the same price. These GeForce 50 series wasn't the only announcement Nvidia made at CES 2025. The chipmaker unveiled a $3,000 personal AI supercomputer, capable of running sophisticated AI models with up to 200 billion parameters. It also announced plans to introduce AI-powered autonomous characters in video games this year, starting with a virtual teammate in the battle royale game PUBG.

Read more of this story at Slashdot.

Categories: Computer, News

Big Landlord Settles With US, Will Cooperate In Price-Fixing Investigation

Slashdot - Tue, 2025-01-07 23:00
An anonymous reader quotes a report from Ars Technica: The US Justice Department today announced it filed an antitrust lawsuit against "six of the nation's largest landlords for participating in algorithmic pricing schemes that harmed renters." One of the landlords, Cortland Management, agreed to a settlement "that requires it to cooperate with the government, stop using its competitors' sensitive data to set rents and stop using the same algorithm as its competitors without a corporate monitor," the DOJ said. The pending settlement requires Cortland to "cooperate fully and truthfully... in any civil investigation or civil litigation the United States brings or has brought" on this subject matter. The US previously sued RealPage, a software maker accused of helping landlords collectively set prices by giving them access to competitors' nonpublic pricing and occupancy information. The original version of the lawsuit described actions by landlords but did not name any as defendants. The Justice Department filed an amended complaint (PDF) today in order to add the landlords as defendants. The landlord defendants are Greystar, LivCor, Camden, Cushman, Willow Bridge, and Cortland, which collectively "operate more than 1.3 million units in 43 states and the District of Columbia," the DOJ said. "The amended complaint alleges that the six landlords actively participated in a scheme to set their rents using each other's competitively sensitive information through common pricing algorithms," the DOJ said. The phrase "price fixing" came up in discussions between landlords, the amended complaint said: "For example, in Minnesota, property managers from Cushman & Wakefield, Greystar, and other landlords regularly discussed competitively sensitive topics, including their future pricing. When a property manager from Greystar remarked that another property manager had declined to fully participate due to 'price fixing laws,' the Cushman & Wakefield property manager replied to Greystar, 'Hmm... Price fixing laws huh? That's a new one! Well, I'm happy to keep sharing so ask away. Hoping we can kick these concessions soon or at least only have you guys be the only ones with big concessions! It's so frustrating to have to offer so much.'" The Justice Department is joined in the case by the attorneys general of California, Colorado, Connecticut, Illinois, Massachusetts, Minnesota, North Carolina, Oregon, Tennessee, and Washington. The case is in US District Court for the Middle District of North Carolina. Further reading: Are We Entering an AI Price-Fixing Dystopia?

Read more of this story at Slashdot.

Categories: Computer, News

Thailand Bans Imports of Plastic Waste To Curb Toxic Pollution

Slashdot - Tue, 2025-01-07 22:20
Thailand has banned plastic waste imports over concerns about toxic pollution, as experts warn that failure to agree a global treaty to cut plastic waste will harm human health. From a report: A law banning imports of plastic waste came into force this month in Thailand, after years of campaigning by activists. Thailand is one of several south-east Asian countries that has historically been paid to receive plastic waste from developed nations. The country became a leading destination for exports of plastic waste from Europe, the US, the UK and Japan in 2018 after China, the world's biggest market for household waste, imposed a ban. Japan is one of the biggest exporters of waste plastic to Thailand, with about 50m kg exported in 2023. Thai customs officials said more than 1.1m tonnes of plastic scraps were imported between 2018 and 2021. Imports of plastic were often mismanaged in Thailand, with many factories burning the waste rather than recycling it, leading to damage to human health and the environment.

Read more of this story at Slashdot.

Categories: Computer, News

Hackers Claim Massive Breach of Location Data Giant, Threaten To Leak Data

Slashdot - Tue, 2025-01-07 21:40
Hackers claim to have compromised Gravy Analytics, the parent company of Venntel which has sold masses of smartphone location data to the U.S. government. 404 Media: The hackers said they have stolen a massive amount of data, including customer lists, information on the broader industry, and even location data harvested from smartphones which show peoples' precise movements, and they are threatening to publish the data publicly. The news is a crystalizing moment for the location data industry. For years, companies have harvested location information from smartphones, either through ordinary apps or the advertising ecosystem, and then built products based on that data or sold it to others. In many cases, those customers include the U.S. government, with arms of the military, DHS, the IRS, and FBI using it for various purposes. But collecting that data presents an attractive target to hackers.

Read more of this story at Slashdot.

Categories: Computer, News

Crunchyroll Is Getting (Back) Into the Manga App Game

Slashdot - Tue, 2025-01-07 21:00
Sony-owned anime streaming service Crunchyroll plans to launch a manga reading app in 2025, its second attempt at entering the digital manga market after shuttering a similar service in 2023. The new app, Crunchyroll Manga, will be available initially in the United States and Canada in English, as a premium add-on for subscribers. The move comes amid broader changes at Crunchyroll, including its recent decision to put popular anime series "One Piece" behind a paywall and Sony's pending merger with publisher Kadokawa.

Read more of this story at Slashdot.

Categories: Computer, News

Chinese Venture Capitalists Force Failed Founders On To Debtor Blacklist

Slashdot - Tue, 2025-01-07 20:24
An anonymous reader shares a report: Chinese venture capitalists are hounding failed founders [non-paywalled source], pursuing personal assets and adding the individuals to a national debtor blacklist when they fail to pay up, in moves that are throwing the country's startup funding ecosystem into crisis. The hard-nosed tactics by risk capital providers have been facilitated by clauses known as redemption rights, included in nearly all the financing deals struck during China's boom times. "My investors verbally promised they wouldn't enforce them, that they had never enforced them before -- and in '17 and '18 that was true -- no one was enforcing them," said Neuroo Education founder Wang Ronghui, who now owes investors millions of dollars after her childcare chain stumbled during the pandemic. While they are relatively rare in US venture investing, more than 80% of venture and private equity deals in China contain redemption provisions, according to Shanghai-based law firm Lifeng Partners estimates. They typically require companies, and often their founders as well, to buy back investors' shares plus interest if certain targets such as an initial public offering timeline, valuation goals or revenue metrics are not met.

Read more of this story at Slashdot.

Categories: Computer, News

AI Startup Anthropic Raising Funding Valuing it at $60 Billion

Slashdot - Tue, 2025-01-07 19:50
Anthropic is in advanced talks to raise $2 billion dollars in a deal that would value it at $60 billion, making it the latest artificial-intelligence startup to seize upon investor euphoria for the technology. WSJ: The funding round is being led by the venture firm Lightspeed Venture Partners, people familiar with the matter said. The $60 billion valuation includes the money Anthropic plans to raise in the round. The deal would make Anthropic the fifth-most valuable U.S. startup after SpaceX, OpenAI, Stripe and Databricks, according to data provider CB Insights. It was valued last year at $18 billion in a round led by Menlo Ventures. There has been a dealmaking frenzy among AI companies since OpenAI raised $6.6 billion in an October round that nearly doubled its value to $157 billion. Two other startups, Elon Musk's xAI and Perplexity, subsequently raised money at substantially increased valuations.

Read more of this story at Slashdot.

Categories: Computer, News

Meta Ends Fact-Checking on Facebook, Instagram in Free-Speech Pitch

Slashdot - Tue, 2025-01-07 19:10
An anonymous reader shares a report: Mark Zuckerberg built up Facebook's content-policing efforts in the wake of Donald Trump's first presidential election. Now the Meta Platforms CEO is reversing course as he embraces a second Trump presidency. Meta is ending fact-checking and removing restrictions on speech across Facebook and Instagram, Zuckerberg said in a video Tuesday, a move he described as an attempt to restore free expression on its platforms. "We're going to get back to our roots and focus on reducing mistakes, simplifying our policies and restoring free expression on our platforms," Zuckerberg said in the video. He said Meta is getting rid of fact-checkers and, starting in the U.S., replacing them with a so-called Community Notes system similar to that on Elon Musk's X platform in which users flag posts they think need more context. While Meta will continue to target illegal behavior, Zuckerberg wrote in a separate post on Threads, it will stop enforcing content rules about immigration and gender that are "out of touch with mainstream discourse." Zuckerberg's plan is likely to reshape the experience of billions of people who use Meta's platforms. It steers sharply away from efforts started years ago in response to complaints from users, advertisers and politicians that abusive and deceptive content had run amok on Meta's suite of apps. The effort to rein in such speech sparked its own backlash from people -- especially on the political right -- who said it often strayed into censorship.

Read more of this story at Slashdot.

Categories: Computer, News

Popular DNA Sequencer Left Vulnerable By 7-Year-Old Firmware, Unfixed Security Flaws

Slashdot - Tue, 2025-01-07 18:28
A widely used DNA sequencer lacks crucial firmware security protections, potentially exposing genetic research facilities to cyberattacks, security researchers said on Tuesday. The Illumina iSeq 100, deployed at 23andMe and thousands of laboratories worldwide, runs on outdated BIOS firmware from 2018 that doesn't enforce Secure Boot protection against malware infections, ArsTechnica reported today, citing researchers from Eclypsium. The device's manufacturer, IEI Integration Corp, supplies motherboards to numerous medical equipment makers, suggesting similar vulnerabilities could affect other devices, Eclypsium said. Illumina said the issues were "not high-risk" and would notify customers if mitigations were needed.

Read more of this story at Slashdot.

Categories: Computer, News

Apple's AI Is Proving It's Anything But Intelligent

Slashdot - Tue, 2025-01-07 17:50
Complaints and ridicule have been mounting about mistakes by the iPhone maker's hyped feature, and its flaws risk a serious setback. Bloomberg: If you've seen any of Apple's marketing lately, you'll know the latest iPhone is billed as the first "built for Apple Intelligence." The "for" in that sentence is doing a great deal of work. It couldn't be "with" because Apple's AI features weren't ready when the device came out, and some are still yet to be released. The first were added to devices in iOS version 18.1, which came out in October. These AI bells and whistles require users to physically opt in, and Apple has deemed the product in "beta" despite marketing it as the main reason to buy its latest device. "Hello, Apple Intelligence" is the message greeting visitors to Apple.com today. If you go into a store, it's what the sales representatives push most excitedly. But just like the Maps fiasco, Apple's AI isn't ready for the real world. Complaints and ridicule have been mounting. In December, a BBC notification was rewritten by Apple Intelligence to state falsely that Luigi Mangione, who has been charged in the killing of United Healthcare CEO Brian Thompson, had turned a gun on himself. Last week, a summary crowned a darts champion before the match had started. Later the same evening, an alert falsely stated that Rafael Nadal had come out as gay. It's not just the BBC that's experiencing this issue. A New York Times headline was rewritten to suggest Israeli Prime Minister Benjamin Netanyahu had been arrested. "Nikki Glaser killed at Golden Globes," read another false summary. The mistakes have prompted the nonprofit Reporters Without Borders to call for Apple to "act responsibly" and remove the feature.

Read more of this story at Slashdot.

Categories: Computer, News

Nvidia Unveils $3,000 Personal AI Supercomputer

Slashdot - Tue, 2025-01-07 17:02
Nvidia will begin selling a personal AI supercomputer in May that can run sophisticated AI models with up to 200 billion parameters, the chipmaker has announced. The $3,000 Project Digits system is powered by the new GB10 Grace Blackwell Superchip and can operate from a standard power outlet. The device delivers 1 petaflop of AI performance and includes 128GB of memory and up to 4TB of storage. Two units can be linked to handle models with 405 billion parameters. "AI will be mainstream in every application for every industry," Nvidia CEO Jensen Huang said. The system runs on Linux-based Nvidia DGX OS and supports PyTorch, Python, and Jupyter notebooks.

Read more of this story at Slashdot.

Categories: Computer, News

Nvidia To Deploy AI Teammates in Video Games this Year

Slashdot - Tue, 2025-01-07 16:27
Nvidia has unveiled plans to introduce AI-powered autonomous characters in video games this year, starting with a virtual teammate in the battle royale game PUBG, the chip maker said at CES 2025 in Las Vegas. The technology, called ACE, enables in-game characters to communicate, make decisions and interact with players using small language models. The AI companions will also feature in Naraka: Bladepoint Mobile PC Version in March 2025 and other upcoming titles including inZOI and MIR5, Nvidia said.

Read more of this story at Slashdot.

Categories: Computer, News

Getty Images and Shutterstock Agree To Merge

Slashdot - Tue, 2025-01-07 15:40
Getty Images and Shutterstock have agreed to combine in a deal that creates a $3.7 billion visual content company. From a report: The deal underscores the soaring demand for images and related content from content creators and platforms. Getty CEO Craig Peters will remain chief executive of the combined business, which will trade under the GETY ticker symbol.

Read more of this story at Slashdot.

Categories: Computer, News

Instagram Begins Randomly Showing Users AI-Generated Images of Themselves

Slashdot - Tue, 2025-01-07 14:00
An anonymous reader quotes a report from 404 Media: Instagram has begun testing a feature in which Meta's AI will automatically generate images of users in various situations and put them into that user's feed. One Redditor posted over the weekend that they were scrolling through Instagram and were presented an AI-generated slideshow of themselves standing in front of "an endless maze of mirrors," for example. "Used Meta AI to edit a selfie, now Instagram is using my face on ads targeted at me," the person posted. The user was shown a slideshow of AI-generated images in which an AI version of himself is standing in front of an endless "mirror maze." "Imagined for you: Mirror maze," the "location of the post reads." "Imagine yourself reflecting on life in an endless maze of mirrors where you're the main focus," the caption of the AI images say. The Reddit user told 404 Media that at one point he had uploaded selfies of himself into Instagram's "Imagine" feature, which is Meta's AI image generation feature. People on Reddit initially did not even believe that these were real, with people posting things like "it's a fake story," and "I doubt that this is true," "this is a straight up lie lol," and "why would they do this?" The Redditor has repeatedly had to explain that, yes, this did happen. "I don't really have a reason to fake this, I posted screenshots on another thread," he said. 404 Media sent the link to the Reddit post directly to Meta who confirmed that it is real, but not an "ad." "Once you access that feature and upload a selfie to edit, you'll start seeing these ads pop up with auto-generated images with your likeness," the Redditor told 404 Media. A Meta spokesperson told 404 Media that the images are not "ads," but are a new feature that Meta announced in September and has begun testing live. Meta AI has an "Imagine Yourself" feature in which you upload several selfies and take photos of yourself from different angles. You can then ask the AI to do things like "imagine me as an astronaut." Once this feature is enabled, Meta's AI will in some cases begin to automatically generate images of you in random scenarios that it thinks are aligned with your interests.

Read more of this story at Slashdot.

Categories: Computer, News

America Is Stuck With an Elevator Crisis

Slashdot - Tue, 2025-01-07 11:00
America's aging elevators are facing significant repair delays and rising costs, creating accessibility challenges and leaving vulnerable populations stranded. Experts argue that implementing federal standards and modernizing systems could address these issues. However, fixing the nation's approximately one million elevators is "becoming a heavy lift," reports Axios. From the report: America's aging elevators are time-consuming and costly to fix. The workforce of technicians who know how to fix them is aging. And buildings with elevators in need of repair often need to wait ages for replacement parts due to arcane supply-chain issues. [...] Elevator parts shortages appear to stem largely from two issues: Parts suppliers often prioritize their biggest customers, which in this case happens to be builders in China, where the vast majority of the world's new elevators are installed, according to [Stephen Smith, executive director of the Center for Building in North America]. And parts are often no longer available for aging -- and often obsolete -- elevators, meaning they often have to be custom made. "In some cases, the entire elevator system may need to be modernized or replaced, leading to substantial costs and potential disruptions to building operations," an advisory called The Elevator Consultants reports. A patchwork of state regulations and union rules make it laborious for building owners and contractors to comply with current standards, according to Smith. who said the U.S. would benefit from federal elevator standards. "The feds have not involved themselves in regulations of the construction industry since Reagan took an axe to it in the 1980s," Smith said. The good news is that "about 80 percent of reliability issues can be solved by replacing the doors," Joseph Bera, at VP at Schindler Elevators, tells commercial real estate publication Propmodo.

Read more of this story at Slashdot.

Categories: Computer, News

Microsoft Plans $3 Billion AI, Cloud Investment in India

Slashdot - Tue, 2025-01-07 10:52
Microsoft plans to invest $3 billion to expand its artificial intelligence and cloud Azure services in India, turning to the world's most populous nation to fuel its revenue growth engine. From a report: The firm, which has been operating in India for more than two decades, will also train an additional 10 million people in the country with AI, Microsoft CEO Satya Nadella said at an event in Bengaluru Tuesday. "The investments in infrastructure and skilling we are announcing today reaffirm our commitment to making India AI-first, and will help ensure people and organizations across the country benefit broadly," said Nadella. "The diffusion rate of AI in India is exciting." India is a key overseas market for American tech giants that have poured tens of billions of dollars in building and scaling their operations in the South Asian market over the past two decades as they work to court businesses serving hundreds of millions of users.

Read more of this story at Slashdot.

Categories: Computer, News

Outgoing NASA Administrator Urges Incoming Leaders To Stick With Artemis Plan

Slashdot - Tue, 2025-01-07 08:00
Before NASA Administrator Bill Nelson retires in a couple of weeks, he has one final message for the next administration: Don't give up on the agency's Artemis Program to return humans to the Moon. In an interview with Ars Technica's Eric Berger, Nelson discussed his time in office, the major decisions he made, and his concerns for the space agency's future under the Trump administration. Here's an excerpt from the interview: Ars: I wanted to start with the state of Artemis. You all had an event a few weeks ago where you talked about Artemis II and Artemis III delays. And you know, both those missions have slipped a couple of years now since you've been administrator. So I'm just wondering, do you know how confident we should be in the current timeline? Bill Nelson: Well, I am very confident because this most recent [delay] was occasioned by virtue of the heat shield, and it has been unanimous after all of the testing that they understand what happened to Orion's heat shield. The chunks came off in an irregular pattern from the Artemis I heat shield. With the change in the re-entry profile, they are unanimous in their recommendation that we can go with the Artemis II heat shield as it is. And I must say that of the major decisions that I've made, that was an easy one for me because it was unanimous. When I say it was unanimous, it was unanimous in the IRT, the independent review team, headed by Paul Hill. It wasn't to begin with, but after all the extensive testing, everybody was on board. It was unanimous in the deputy's committee. It was unanimous in the agency committee, and that brought it to me then in the Executive Council, and it was unanimous there. So I'm very confident that you're going to see Artemis II fly on or around April of 2026, and then if the SpaceX lander is ready, and that, of course, is a big if -- but they have met all of their milestones, and we'll see what happens on this next test... If they are ready, I think it is very probable that we will see the lunar landing in the summer of 2027. Ars: Do you think it's appropriate for the next administration to review the Artemis Program? Bill Nelson: Are you implying that Artemis should be canceled? Ars: No. I don't think Artemis will be canceled in the main. But I do think they're going to take a look at the way the missions are done at the architecture. I know NASA just went through that process with Orion's heat shield. Bill Nelson: Well, I think questioning what you're doing clearly is always an issue that ought to be on the table. But do I think that they are going to cancel, as some of the chatter out there suggests, and replace SLS with Starship? The answer is no. Ars: Why? Bill Nelson: Put yourself in the place of President Trump. Do you think President Trump would like to have a conversation with American astronauts on the surface of the Moon during his tenure? Ars: Of course. Bill Nelson: OK, let me ask you another question. Do you think that President Trump would rather have a conversation with American astronauts during his tenure rather than listening to the comments of Chinese astronauts on the Moon during his tenure? My case is closed, your Honor, I submit it to the jury. Further reading: Elon Musk: 'We're Going Straight to Mars. The Moon is a Distraction.'

Read more of this story at Slashdot.

Categories: Computer, News

Representative Line: Generate JSON

The Daily WTF - Tue, 2025-01-07 07:30

Today's anonymous submission is a delightfully simple line of JavaScript which really is an archetype of a representative line.

$json = "{";

Now, I know you're thinking, "I see a '$' sigil, this must be PHP or maybe Perl!" No, this is JavaScript. And as you might be gathering from the code, this is the first line in a long block that constructs JSON through string concatenation.

And yes, JavaScript has built in functions for this, which work better than this. While it's possible that they need to generate custom JSON to support a misbehaving parser on the other side, that's it's own WTF- and it isn't the case here. The developers responsible simply didn't know how to handle JSON in JavaScript.

Do you know what else they couldn't understand? Source control and collaboration tools, so all of the JavaScript files were named things like david.js and lisa.js- each developer got their own JS file to work on, so they didn't conflict with anyone else.

[Advertisement] Picking up NuGet is easy. Getting good at it takes time. Download our guide to learn the best practice of NuGet for the Enterprise.
Categories: Computer

Pages