Urgent.News

What's breaking now, across thousands of outlets.

Tech

Solution by Slot Inc

======================================== SUBNETTING FOR SLOTHS How to be too lazy to do binary math INTRO - The virtue of laziness: Sloth doesn't want to walk to the shop to buy paper and pencil for subnet math. Why do binary AND by hand? Let's make IPcalc and Meta AI do all the work. This is a valid way to use open source + AI. STEP 1 - IPCALC (The Source of Truth): Sloth feeds network and…

The article "Solution by Slot Inc" discusses how to efficiently subnet a large IP range using tools and AI assistance, while ensuring that each department gets its own isolated virtual network with minimal manual calculations.

First, the author explains that sloth does not want to manually perform binary AND operations for subnet math. Instead, they recommend using IPcalc and Meta AI to automate the process. The process involves feeding the network and prefix information into IPcalc, which provides the network, netmask, broadcast, and usable host addresses.

Next, the author describes the problem of needing to separate a single /24 network into several smaller virtual networks for different departments - Sales, Finance, HR, and IT Support. To achieve this, each department needs its own virtual network with a maximum of 10 hosts. The author explains that a /28 subnet (which provides 14 usable hosts) is the appropriate choice for each department's network.

The AI is then used to structure the solution, creating VLANs for each department within IPcalc. The author provides the VLAN configurations, including the IP addresses, netmasks, and gateway for each virtual network. The diagram is generated by AI to help the sloth avoid using Visio.

Finally, the author generates a diagram of the network topology and provides instructions on how to build the lab using ipcalc to verify each VLAN's IP addresses. The author emphasizes the importance of human validation of AI results before implementing the suggested structure, as there is a risk of unintended consequences if sloths rely too heavily on AI. The article concludes with a reminder that even sloths must exercise caution when using AI tools for network configuration.

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

Black Friday 2026 – What's on your wishlist?

Black Friday is about five weeks away, and every year I promise myself I'll stop buying tools on impulse and only pick up the ones I actually need.

  • TablePlus wishlist item due to tab limit restrictions
  • CleanShot X considered for heavy screenshot reliance
  • Swish on list for visually appealing window snapping feature

Our terms notice has no Agree button, because carrying on is the acceptance

Terms change. The question nobody enjoys answering is what should happen to the accounts that are already signed in. The common answers are all a bit wrong.

  • Nakodo presents updated terms and privacy notices without an Agree button.
  • By continuing to use the service, user accepts updated terms automatically.
  • Acceptance recorded through continued service use, not forced interaction.

Graphify: AST-Based Knowledge Graphs for Agent Code Navigation

Agents need to navigate codebases, SQL schemas, and documentation to answer questions like "which functions call this API endpoint?" or "what tables does this migration touch?" Vector embeddings give…

  • Graphify provides AST-based knowledge graphs for agent code navigation.
  • Unlike vector embeddings, Graphify preserves structural relationships through deterministic edges.
  • The system parses code into ASTs, extracts entities, and offers query tools for agents.

What is PHP and how has it raised hacking fears?

Artificial intelligence has found critical security flaws in a major programming language called PHP, with many websites taken offline as organisations worldwide work to fend off would-be hackers, but…

More from Thursday 22 October →