Skip to main content

Astronomers Discover Mystery Cosmic Body Bursting With X-Rays

3 months 2 weeks ago
Astronomers have discovered a mysterious cosmic object, ASKAP J1832-0911, that emits both radio waves and X-rays in precise 44-minute cycles, making it unlike anything observed before. Space.com reports: This is the first time an object like this, a so-called "long-period transient" or "LPT," has been seen in high-energy X-ray light as well as low-energy radio wave light. The team behind this discovery hopes the finding could help reveal what these flashing objects actually are and how they launch their mystery signals. However, not only is there no explanation for how the signals from LPTs are generated yet, but astronomers also don't know why these signals "switch on" and "switch off" at long, regular and unusual intervals. "This object is unlike anything we have seen before," team leader and Curtin University researcher Zieng (Andy) Wang said in a statement. [...] The team believes the true nature of ASKAP J1832-0911 is a dead star, they just don't quite know what form that star takes. A highly magnetic neutron star, or "magnetar," is one option, and a a white dwarf -- the kind of stellar remnant the sun will leave behind when it dies in over 5 billion years -- is another. "ASKAP J1831- 0911 could be a magnetar, the core of a dead star with powerful magnetic fields, or it could be a pair of stars in a binary system where one of the two is a highly magnetized white dwarf, a low-mass star at the end of its evolution," Wang said. "However, even those theories do not fully explain what we are observing. "This discovery could indicate a new type of physics or new models of stellar evolution." The research has been published in the journal Nature.

Read more of this story at Slashdot.

BeauHD

CodeSOD: Recasting the Team

3 months 2 weeks ago

Nina's team has a new developer on the team. They're not a junior developer, though Nina wishes they could replace this developer with a junior. Inexperience is better than whatever this Java code is.

Object[] test = (Object[]) options; List<SchedulePlatform> schedulePlatformList = (List<SchedulePlatform>)((Object[])options)[0]; List<TableColumn> visibleTableCols = (List<TableColumn>)((Object[])options)[1];

We start by casting options into an array of Objects. That's already a code stench, but we actually don't even use the test variable and instead just redo the cast multiple times.

But worse than that, we cast to an array of object, access an element, and then cast that element to a collection type. I do not know what is in the options variable, but based on how it gets used, I don't like it. What it seems to be is a class (holding different options as fields) rendered as an array (holding different options as elements).

The new developer (ab)uses this pattern everywhere.

[Advertisement] ProGet’s got you covered with security and access controls on your NuGet feeds. Learn more.
Remy Porter

India none-too-subtly reminds Big Tech that local laws prohibit dark patterns

3 months 2 weeks ago
‘Consumers will not tolerate deceit’ Minister tells Amazon, Apple, Samsung and Uber

India’s government has reminded big tech companies that it has rules that prohibit the use of dark patterns – deceptive design practices that deliberately mislead and confuse customers of online services and apps – and called for an end to their use.…

Simon Sharwood