Vista de Lectura

Hay nuevos artículos disponibles. Pincha para refrescar la página.

Torque Testing 3D Printed Screws

Unless you’ve got a shop with a well-stocked hardware bin, it’s a trip to the hardware store when you need a special screw. But [Sanford Prime] has a different approach: he prints his hardware, at least for non-critical applications. Just how much abuse these plastic screws can withstand was an open question, though, until he did a little torque testing to find out.

To run the experiments, [Sanford]’s first stop was Harbor Freight, where he procured their cheapest digital torque adapter. The test fixture was similarly expedient — just a piece of wood with a hole drilled in it and a wrench holding a nut. The screws were FDM printed in PLA, ten in total, each identical in diameter, length, and thread pitch, but with differing wall thicknesses and gyroid infill percentages. Each was threaded into the captive nut and torqued with a 3/8″ ratchet wrench, with indicated torque at fastener failure recorded.

Perhaps unsurprisingly, overall strength was pretty low, amounting to only 11 inch-pounds (1.24 Nm) at the low end. The thicker the walls and the greater the infill percentage, the stronger the screws tended to be. The failures were almost universally in the threaded part of the fastener, with the exception being at the junction between the head and the shank of one screw. Since the screws were all printed vertically with their heads down on the print bed, all the failures were along the plane of printing. This prompted a separate test with a screw printed horizontally, which survived to a relatively whopping 145 in-lb, which is twice what the best of the other test group could manage.

[Sanford Prime] is careful to note that this is a rough experiment, and the results need to be taken with a large pinch of salt. There are plenty of sources of variability, not least of which is the fact that most of the measured torques were below the specified lower calibrated range for the torque tester used. Still, it’s a useful demonstration of the capabilities of 3D-printed threaded fasteners, and their limitations.

Nix + Automated Fuzz Testing Finds Bug in PDF Parser

[Michael Lynch]’s adventures in configuring Nix to automate fuzz testing is a lot of things all rolled into one. It’s not only a primer on fuzz testing (a method of finding bugs) but it’s also a how-to on automating the setup using Nix (which is a lot of things, including a kind of package manager) as well as useful info on effectively automating software processes.

[Michael] not only walks through how he got it all up and running in a simplified and usefully-portable way, but he actually found a buffer overflow in pdftotext in the process! (Turns out someone else had reported the same bug a few weeks before he found it, but it demonstrates everything regardless.)

[Michael] chose fuzz testing because using it to find security vulnerabilities is conceptually simple, actually doing it tends to require setting up a test environment with a complex workflow and a lot of dependencies. The result has a high degree of task specificity, and isn’t very portable or reusable. Nix allowed him to really simplify the process while also making it more adaptable. Be sure to check out part two, which goes into detail about how exactly one goes from discovering an input that crashes a program to tracking down (and patching) the reason it happened.

Making fuzz testing easier (and in a sense, cheaper) is something people have been interested in for a long time, even going so far as to see whether pressing a stack of single-board computers into service as dedicated fuzz testers made economic sense.

CodiumAI

CodiumAI is an AI code testing tool that supports Python, JavaScript, and TypeScript in VScode & JetBrains IDEs, and can tackle big and complicated code. It generates non-trivial tests (and trivial, too!) that help you understand how your code behaves and find edge cases and suspicious behaviors. It also provides explanations of the tests generated, […]

Source

Openlayer

Openlayer is an AI evaluation platform that helps developers and data scientists maintain high-quality, trustworthy machine learning models. Its key features include automatic testing, real-time monitoring, version control, and secure data storage. With just a few lines of code, you can connect your AI models to Openlayer for continuous testing. It will run data quality, […]

Source

KaneAI

KaneAI by LambdaTest is a first of its kind AI Test Assistant with industry-first AI features like test authoring, management and debugging capabilities built from the ground up for high-speed quality engineering teams. KaneAI enables you to create and evolve complex test cases using natural language, significantly reducing the time and expertise required to get […]

Source

APIScout.AI

APIScout.AI lets you compare APIs of ChatGPT and Bard with a side by side response review, token and quota information, detailed API parameters for non developers and developers alike, and batch processing of large sets of prompts.

Source

Octomind

Octomind is an AI-powered end-to-end testing tool that automatically discovers, generates, executes, and fixes tests for your web application using Playwright. Just paste your URL and Octomind will analyze your app’s UI to create meaningful test cases that simulate user behavior. The tool integrates with your CI/CD pipeline to run tests on pull requests and […]

Source

❌