Category Archives: News

Shared items and notes from my feeds and browsing. Subscribe as feed.

This GCode Post-Processor Squeezes Lines into Arcs

Source: Hack a Day

Article note: It's really unfortunate that the 3D printing world is stuck on polygonal mesh formats and line-segment G-code. I was unaware this monkey-patch gadget to get around it existed, it's at least nice to have the sort-of option.

When the slicer software for a 3D printer model files into GCode, it’s essentially creating a sequential list of connected line segments, organized by layer. But when the features of the original model are dense, or when the model is representing small curves, slicers end up creating a proliferation of teeny segments to represent this information.

This is just the nature of the beast; lots of detail translates into lots of teeny segments. Unfortunately, some printers actually struggle to print these models at the desired speeds, not because of some mechanical limitation, but because the processor cannot recalculate the velocities of these segments fast enough. The result is that some printers simply stutter or slow down the print, resulting in print times that are much higher than they should be.

Enter Arc Welder, a GCode compression tool written by [FormerLurker] that scrutinizes GCode files, hunts for these tiny segments, and attempts to replace contiguous clusters of them with a smaller number of arcs. The result is that the number of GCode commands needed to represent the model drop dramatically as connected clusters of segment commands become single arc commands.

“Now wait”, you might say, “isn’t an arc an approximation of these line segments?” And yes–you’re right! But here lies the magic behind Arc Welder. The program is written such that arcs only replace segments if (1) an arc can completely intersect all the segment-to-segment intersections and (2) the error in distance between segment and arc representation is within a certain threshold. These constraints act such that the resulting post-processing is true to the original to a very high degree of detail.

A concise description of Arc Welder’s main algorithm as pulled from the docs

This whole program operates under the assumption that your 3D printer’s onboard motion controller accepts arc commands, specifically G2 and G3. A few years ago, this would’ve been uncommon since, technically, 3D printing and STL file only requires moving in straight line segments. But with more folks jumping on the bandwagon to use these motion control boards for other non-printing applications, we’re starting to see arc implementations on boards running Marlin, Smoothieware, and the Duet flavor of RepRap Firmware.

For the curious, this program is kindly both well documented on operating principles and open source. And if [FormerLurker] seems like a familiar name before–you’d be right–as they’re also the mind behind Octolapse, the 3D printing timelapse tool that’s a hobbyist crowd favorite. Finally, if you give Arc Welder a spin, why not show us what you get in the comments?

Thanks for the tip [ImpC]!

Posted in News | Leave a comment

What’s Motivating the Matrix Engine Movement in HPC?

Source: Hacker News

Article note: The intersection of not just two but three dumb sets of incentives? The latest cycle of ML/AI BS is all low-precision linear algebra, and everyone wants to ride the hype train before winter arrives again. LINPACK, the stalwart old ruler for the international HPC dick-measuring contest is mostly higher-precision linear algebra, and as always, once a metric becomes a target, you only get what you measure. Packing more compute engines you can't possibly feed with any realistic workload is lower-risk than trying memory architectures, and especially easier to do without a bunch of collaboration between players, so it's what gets done.
Comments
Posted in News | Leave a comment

An ex-ARM engineer critiques RISC-V

Source: Hacker News

Article note: This is a good critique. RISC-V has always had some design decisions that seemed questionable to me, and this pins them down nicely. It is a noticibly and admittedly acclimated-to-ARM perspective, and ARM (especially
Comments
Posted in News | Leave a comment

Sierra Was Captured, Then Killed, by an Accounting Fraud

Source: Hacker News

Article note: That's a bit of history I didn't know but am totally unsurprised by. This sounds like the usual tale of sociopaths responding to perverse incentives and winning out to ruin all that is good, beautiful, or valuable. Just a little bigger than usual in the computer world.
Comments
Posted in News | Leave a comment

Hackers steal $2.3 million from Trump’s Wisconsin re-election fund

Source: Ars Technica

Article note: I'd bet that this is really a "The wrong grifters noticed they could submit bogus invoices and get them paid" scenario, or some manner of financial conduct cover-up.
Hackers steal $2.3 million from Trump’s Wisconsin re-election fund

Enlarge (credit: Aurich Lawson / Getty Images)

Hackers have stolen $2.3 million from the Wisconsin Republican Party that was intended for use in the president's re-election campaign, officials told the Associated Press on Thursday. The state party says it noticed suspicious activity a week ago and contacted the FBI last Friday.

Andrew Hitt, the chairman of the Wisconsin Republican Party, says the theft puts Trump at a disadvantage in the state. He told the AP the party planned to use the money for last-minute needs in the final days of the race.

The theft was accomplished by tampering with invoices submitted to the party from four vendors. The modified invoices directed the state GOP to send money to accounts controlled by the hackers. The hack apparently began as a phishing attempt, Hitt told the AP.

Read 3 remaining paragraphs | Comments

Posted in News | Leave a comment

Amazon Argues Users Don’t Own Purchased Prime Video Content

Source: Hacker News

Article note: We really need to, at least, redefine the legal definition of "buy" so "revocable license" isn't included. ...or make larger structural changes to IP law to aim it back at the public interest, instead of a pure rent-seeking machine.
Comments
Posted in News | Leave a comment

RIP Google Play Music, 2011 – 2020

Source: Ars Technica

Article note: I still haven't found an alternative I like as well, nothing else has the "local content first-class mixed with streaming library" behavior that GPM had. YT music, especially on mobile, is a shitshow. At least they fixed the commingled history issue, but the UI is unusably sparse, everything is slow, getting basic "play album" "play artist" gets interrupted by random youtube bootleg trash...
  • Goodbye, Google Music. Flower emojis are welcome and may be placed in the comment section below. [credit: Ron Amadeo ]

Google Play Music died last week. We've known this was coming for some time, and nothing ever happens across the entire Google user base all at once, but many bereaved Google customers are reporting a total loss of life for Google Music. For me the store is gone, speakers no longer work, the app is dead, and the website is dead. It's all gone.

The shutdown wave seems to be rolling across the Google Music userbase as you read this, and even if you still personally have access to some parts of the service, you probably won't have much time left to say your goodbyes. Google Music, born May 10, 2011, will leave us after nine wonderful years.

The service will now join Reader, Google+, and countless other products in the great Google graveyard in the sky. Covering the Google news beat in this day and age basically means running a full-time funeral parlor, and just as we did for the death of Google Inbox, we're here to peacefully guide Google Music into the afterlife with a proper send-off. Thank you for being here today as we celebrate the life of Google's trailblazing music service.

Read 39 remaining paragraphs | Comments

Posted in News | Leave a comment

On Abandoning the X Server

Source: Hacker News

Article note: Early on I was pretty excited about Wayland, but it's become clear that they "solved" the problems with X being largely supplanted by a morass of largely-incompatible extensions only semi-standardized by community agreement by designing a protocol that declares all kinds of necessary-but-difficult features "out of scope" and consigns them to ... a morass of largely-incompatible extensions that aren't even semi-standardized by community agreement, which are now full of non-portable bodges. Unless and until there is a strong agreement among major players (right now, specifically between Gnome, KDE, and the wlroots libraries) around a single protocol for screen capture (for capture, for color pickers, for screen sharing...), a single protocol for the desktop inter-op stuff that used to be covered by ICCM, a single protocol for remoting, a single protocol for input interception and injection, etc. Wayland is somewhere between "not ready" and "actively a problem".
Comments
Posted in News | Leave a comment

SparkFun À La Carte

Source: Hacker News

Article note: That's an interesting offering. It's basically board-integration-as-a-service for anything built from SparkFun parts (including whole assemblies), for about $1k. They also offer a basic board foundry and population from their stocked components for your own design files starting at about $150. I'm not sure how big the market between "I can just do it and send it to a small run board house like OSHPark or PCBWay" and "I don't know what these words mean" is, but it's the only offering I know of in that space.
Comments
Posted in News | Leave a comment

Google’s new logos are bad

Source: Hacker News

Article note: They really are. The grey scale M that shows up as a notification icon on android, replacing the envelope icon, is especially shit.
Comments
Posted in News | Leave a comment