Urgent.News

What's breaking now, across thousands of outlets.

Tech

I built a free online protractor that works on phones and photos

A few weeks ago I shared CollateKit , my collection of free browser tools. I've since added a new one that's quite different from the text tools: an online protractor . 👉 Try it here What it does Drag to measure: grab the arm and move it. It works with mouse and touch. Type an exact angle: enter a number and the protractor jumps to it. 180° and 360° modes: switch between a half-circle and a…

I recently introduced a new addition to my selection of browser-based utilities: an online protractor available for free. You can access it using the link provided. This tool allows users to measure angles on their devices, whether using a mouse or touch interface. Users can also input exact angle measurements for the protractor to adjust accordingly.

The tool offers 180° and 360° modes, providing a half-circle or full-circle protractor, respectively. It displays complementary, supplementary angles, and categorizes the angle as acute, right, obtuse, straight, or reflex. Users can also input images, clicking three points to calculate the angle between them. The protractor operates solely within your browser without any data upload or account creation requirement.

The motivation behind this tool is to cater to users who require a straightforward solution to angle measurement, as such functionality is typically absent from AI chatbots. Existing tools were either ad-laden or inconvenient on mobile devices. The protractor is constructed using plain JavaScript, devoid of external libraries. It leverages Math.atan2 for calculations and handles both mouse and touch inputs consistently.

In image mode, pixel conversion ensures accurate angle measurement regardless of photo scaling. Future enhancements include a camera overlay for real-world object measurement and a tilt mode for smartphones. Additionally, the creator is open to suggestions for other browser-based tools that require device functionality or file input rather than just text. Feedback is welcome, particularly regarding any usability issues encountered on mobile devices.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Every answer shows its source

An agent that answers questions is only as useful as people's confidence in its answers. The most reliable way to earn that confidence is to make every answer traceable. Cite, then show.

  • Every answer must link to an approved document's specific passage.
  • Update policy documents before using them in responses.
  • Decline answers for unaddressed questions, redirect to appropriate team.

Serving a heavy model without blowing up the server bill

An AI model is heavy and demanding. If served without precaution, it blows up response times and server costs. On a SaaS audio analysis that I designed and put online alone, it was necessary to keep…

  • Le modèle IA est hébergé sur un serveur propre pour contrôler les coûts.
  • Le modèle est chargé une seule fois au démarrage via loadmodel() en FastAPI.
  • Les calculs sont effectués de manière asynchrone pour éviter les blocages du serveur.

Your MCP Server Burns Tokens Before It Does Anything: How to Measure and Trim It

TL;DR: Every tool your MCP server exposes has a name, a description and a JSON Schema, and most clients send all of them to the model on every request, before the user's question is even read.

  • MCP server includes tool definitions in each request, increasing token usage
  • Script measures real token cost of tool definitions to optimize MCP server performance

More from Tuesday 10 November →