JS Array From an Array-Like Object

See the original posting on DZone Python

I remember the struggle and the misunderstanding as I was trying to iterate over a NodeListcollection with no success. In this article, you’ll see how to convert an array-like object like NodeList to a real Array using different methods.

Array-Like Objects

Some objects in JavaScript look like an array, but they aren’t one. That usually means that they have indexed access and a length property, but none of the array methods. Examples include the special variable arguments, DOM node lists, and strings. – Axel Rauschmayer on array-like objects.

Google Pixel 3 ‘Lite’ leaks in extensive video

See the original posting on The Verge

At this point it may be a tradition that new Google phones show up in unboxing videos from Eastern Europe before they’ve even been announced. So it is with the so-called “Pixel 3 Lite,” a midrange Pixel phone that’s already leaked extensively but has now shown up in apparently near-final form on video thanks to a new YouTube channel called Andro News.

The phone is supposedly codenamed “Sargo” and runs on a Snapdragon 670 processor and 4GB of RAM. It looks similar to the Pixel 3, with fairly sizable bezels above and below the screen, but there’s no secondary selfie camera on the top or front-facing speaker on either. The chassis is seemingly constructed out of plastic, and unlike on the flagship Pixel models Google has made room for a…

Continue reading…

Breakfast Bot Does Eggs To Perfection

See the original posting on Hackaday

Breakfast is a meal fraught with paradoxes. It’s important to start the day with a hearty meal full of energy and nutrition, but it’s also difficult to cook when you’re still bleary-eyed and half asleep. As with many problems in life, automation is the answer. [James Bruton] has the rig that will boil your egg and get your day off to a good start.

The basic apparatus uses a thermostatically controlled hotplate to heat a pot of water. [James] then employs an encoder-controlled linear actuator from a previous project to raise and lower a mesh colander into the pot, carrying …read more

Slack’s new logo is a penis swastika

See the original posting on Boing Boing

Behold the Brostika! Like the hidden arrow in the FedEx logo, Slack’s new brand has a negative-space surprise in store. The bars point the “lucky” left way, at least, rather than, well, to the right.

Below are Slack’s “Logo explorations for the octothorpe.” Octothorpe is a fancy word for the pound/hash symbol, which they have somehow managed to turn into a contact sheet of procedurally-generated swastikas.

UPDATE: T. Carter Baxter nails it better than I:

Read the rest

Checking out Bexim’s Bazaar, a wonderful new zine for tabletop game crafters

See the original posting on Boing Boing

As we have written about before, the game crafting (or dungeon crafting) scene has exploded over the past few years. There are dozens of websites and YouTube channels devoted to every aspect of making and crafting for the tabletop and RPG gaming hobbies, from building custom gaming tables, to crafting terrain and miniature dungeons, to making DM screens, dice towers, modeling, converting, and painting miniatures, and much more.

One of my maker pals, James Floyd Kelly (a tech book author and long-time Make: contributor), jumped onto the game crafting bandwagon last year when he launched his Game Terrain Engineering YouTube channel. Jim’s channel grew very quickly and he has now become one of the rising stars in that community. And with good reason. Jim is ambitious and clever. And relentless. By the end of the year, he had decided to go into producing game crafting media as a full-time job. He relaunched his YT channel as The Tabletop Engineer and announced that he was launching a new monthly magazine devoted to the gaming hobby, especially focusing on game crafting.

Called Bexim’s Bazaar, the magazine will be monthly. It will mainly exist as a PDF publication, but on-demand print copies will also be available. The PDF version is yours after you become a Patreon sponsor of The Tabletop Engineer for US$2/month. Print copies of the issues (around 90 pages) are available on Blurb for $18.

In this recent video from Jeremy of Black Magic Craft, he discusses the import of this new hobby zine and does a page-by-page flick-through of a print copy of Issue #1. Read the rest

The Embroidered Computer

See the original posting on Hackaday

By now we’ve all seen ways to manufacture your own PCBs. There are board shops who will do small orders for one-off projects, or you can try something like the toner transfer method if you want to get really adventurous. One thing we haven’t seen is a circuit board that’s stitched together, but that’s exactly what a group of people at a Vienna arts exhibition have done.

The circuit is stitched together on a sheet of fabric using traditional gold embroidery methods for the threads, which function as the circuit’s wires. The relays are made out of magnetic beads, and …read more

This Monowheel Is Bright Orange, And We Want One

See the original posting on Hackaday

Monowheels are a singular form of transport. Like electric scooters and the Segway, they are remarkably impractical for getting from point A to point B, are expensive to build or buy, and make you look faintly silly as you ride them down the street. However, we’d be hard pressed to find a member of the Hackaday team that wouldn’t at least want a go on one for half an hour. [MakeItExtreme] felt the same way, and built one of their own.

The build starts with a tube bender, used to form 40mm tubing into a continuous circle to form the …read more

Spotify is testing a simplified Car View for controlling your music while driving

See the original posting on The Verge

Spotify has started rolling out a new Car View mode to let users more easily control their music when behind the wheel. The feature is automatically enabled when the app detects a Bluetooth connection with a vehicle, according to 9to5Google.

Car View basically just supersizes the song info, track controls, and other critical buttons like shuffle. Album art is not displayed in Car View. Spotify has been testing an in-car mode for some time now. In July 2017, the company was toying with an early version that added a microphone icon for voice commands alongside the enlarged playback icons. (There’s no microphone or voice control component to the Car View rolling out now, however.)

Continue reading…

Android Q leak reveals system-wide dark mode and bigger emphasis on privacy

See the original posting on The Verge

If the usual cycle holds, it’s going to be a few months before Google is ready to share anything about Android Q. But XDA Developers apparently managed to spend some time with a very early version of Android’s next big update, and although it doesn’t offer the full view, it does provide a look at some of what Google might have planned.

The biggest visual change (for now) is a system-wide dark mode. Android 9 Pie’s “theme” can be changed from light to dark, but it only really applies to the notification shade and the app launcher. XDA’s screenshots suggest that Q will extend dark mode to more places including the settings menu, and it might have a setting to force dark mode even in apps that lack a built-in version of it.

Continue reading…

Apple’s iPhone XS battery case actually works with the iPhone X

See the original posting on The Verge

It looks like the new $129 Smart Battery Case for the iPhone XS will support last year’s flagship iPhone X after all.

Yesterday, it seemed like Apple was leaving its most dedicated customers out in the cold when the company announced the new battery case for the iPhone XS, XS Max, and XR but not for the iPhone X that early adopters snapped up in late 2017.

Worse, even though the iPhone X and the iPhone XS are practically the exact same size and shape, Apple told us point blank that the XS case wouldn’t be compatible. It even says so on Apple’s support page.

Continue reading…

TSA agents, unpaid for 30 days, are blasting explicit hip-hop in airport terminals

See the original posting on Boing Boing

Say you work at the government agency with the lowest morale of any Fed job and then Cheeto Hitler decides to treat you like a casino contractor and not pay you, for thirty days, and recommends that you do chores for your landlord to stop from getting evicted — what do you do? Get musical: playing Sicko Mode or No Sleep Til Brookly or Misery Business or perhaps the theme from Halloween? (via Reddit)

Read the rest

Brush With The Power Of 3D Printing

See the original posting on Hackaday

When it comes to 3D printing, functional prints are still few and far between. Sure, you can print a mount for anything, a Raspberry Pi case, but there are few prints out there that are truly useful, and even fewer that are useful while taking advantage of the specific capabilities of a 3D printer.

The Bouldering Brush from Turbo SunShine turns this observation on its head. It’s a useful device for getting the grime, sand, and sweat out of handholds while rock climbing, and it’s entirely 3D printed using manufacturing techniques only 3D printers can do.

If you’re thinking you’ve …read more

Mastercard will stop free trials from automatically billing you once they’re over

See the original posting on The Verge

Mastercard announced a new policy today for merchants who retain your card information after you sign up for a free trial. Soon, Mastercard will require those merchants to request an official authorization for any recurring subscriptions.

This is great news for forgetful or busy people who might not want to continue paying for a service or product that they just wanted to test out. For example, if you signed up for a new streaming service with your card info, then forgot you had the subscription, the merchant will send you an email or text notice before the next payment is due.

Once you receive the merchant’s message, you’ll find it includes the transaction amount, payment date, and merchant name, plus explicit instructions on how to…

Continue reading…

The High Life trailer seems awfully deceptive

See the original posting on The Verge

Looking at the first trailer for High Life, the upcoming space thriller from A24 and director Claire Denis, it’s understandable if viewers have no idea what to suspect. There’s some frantic cutting and screaming and bellowing and blood that makes it look like a space-madness movie along the lines of Event Horizon. There are quiet images of Twilight star Robert Pattinson playing with a baby, which feel more like they belong to a quiet, internal science fiction story like Moon. There are moments of EVA dread that feel like outtakes from Gravity. And there are snippets of highfalutin, poetic, opaque voiceover that put the whole thing into a more Annihilation-esque light.

It’s a lot for one trailer. And yet in terms of telling viewers what…

Continue reading…

SanDisk’s 400GB microSD card is $84 today at Amazon

See the original posting on The Verge

SanDisk’s 400GB microSD card is $83.98 on Amazon today, which is just a few dollars over its lowest price ($80) that popped up around Black Friday a few months ago. If you are thinking about buying some extra storage for your smartphone, or Nintendo Switch, this is a good opportunity to buy a high-capacity card that will take you a long while to fill up.

Storage is one of the many tech products that you should avoid buying at full price. Seeing as how this 400GB microSD card started at $249 when it debuted, buying now is wise. We expect to see it fall even more, especially as models with even larger capacities hit the market. Lexar, for example, will soon launch a 1TB SD card for $399, though it’s currently far cheaper to buy two 512GB…

Continue reading…

New Ted Bundy documentary based on deeply creepy unheard jailhouse recordings

See the original posting on Boing Boing

If you’re into the dark fringes of true crime media… The forthcoming documentary “Conversations With A Killer,” about serial killer Ted Bundy, is based on 100 hours of two journalists’ unheard audio interviews conducted on death row before Bundy was executed in 1989. From Rolling Stone:

The series also explores how Bundy was able to avert capture as he didn’t adhere to the serial killer stereotype; women flocked to Bundy’s trial despite the serial killer’s gruesome “sex crime slayings of more than 30 women.” “He was charming, good-looking, smart… Are you sure you got the right guy,” one woman says of Bundy in voiceover.

“I’m not an animal, I’m not crazy, I don’t have a split personality,” Bundy said in one recording. “I mean I’m just a normal individual.”

Conversations With a Killer: The Ted Bundy Tapes” premieres on Netflix on January 24, the anniversary of Bundy’s execution.
Read the rest

Plastics: Acrylic

See the original posting on Hackaday

If anything ends up on the beds of hobbyist-grade laser cutters more often than birch plywood, it’s probably sheets of acrylic. There’s something strangely satisfying about watching a laser beam trace over a sheet of the crystal-clear stuff, vaporizing a hairs-breadth line while it goes, and (hopefully) leaving a flame-polished cut in its wake.

Acrylic, more properly known as poly(methyl methacrylate) or PMMA, is a wonder material that helped win a war before being developed for peacetime use. It has some interesting chemistry and properties that position it well for use in the home shop as everything from simple enclosures …read more

A sequel to the original Ghostbusters is being planned for 2020

See the original posting on The Verge

The Ghostbusters franchise is coming back again. Entertainment Weekly reports that Sony Pictures has tapped Jason Reitman (the son of Ivan Reitman, who directed the original 1984 film) to direct a sequel set in the world of the original Ghostbusters. It’s planned for a summer 2020 release.

Reitman is coming off his own string of well-received films, including Juno, Up in the Air, Tully, and last year’s The Front Runner. He tells EW, “This is the next chapter in the original franchise. It is not a reboot. What happened in the ‘80s happened in the ‘80s, and this is set in the present day.” It’s not clear whether the franchise’s original surviving leads — Dan Aykroyd, Ernie Hudson, and Bill Murray — will return to reprise their roles. (The…

Continue reading…

The human body is “full of evolutionary leftovers that no longer serve a purpose”

See the original posting on Boing Boing

People have a little pink band in the inside corner of their eye. “This is the plica semilunaris,” says Dorsa Amir, an evolutionary anthropologist. “It used to be a third eyelid that would blink horizontally.” Amir posted a fascinating Twitter thread of other ” evolutionary leftovers that no longer serve a purpose” in the human body.

Image: By ExordiumOwn work, CC BY-SA 3.0, Link Read the rest

1 2 3 4,654