Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: point Clear Filter

A beginner's guide to extending Emacs

With that prelude out of the way, let's begin. Inside of emacs you can call up a list of potential completions by using the keyboard shortcut M-. (that’s "hit the meta key along with period", where "meta" is the Alt key for me). This applies in a wide variety of scenarios, like when completing class names or variables. If we want to ask emacs to hand us a list of potential references, then the system we want to hook into is this completions system. (This is the only time I'll assume we know wh

A Beginner's Guide to Extending Emacs

With that prelude out of the way, let's begin. Inside of emacs you can call up a list of potential completions by using the keyboard shortcut M-. (that’s "hit the meta key along with period", where "meta" is the Alt key for me). This applies in a wide variety of scenarios, like when completing class names or variables. If we want to ask emacs to hand us a list of potential references, then the system we want to hook into is this completions system. (This is the only time I'll assume we know wh

Randomly selecting points inside a triangle

If you have a triangle with vertices A, B, and C, how would you generate random points inside the triangle ABC? Barycentric coordinates One idea would be to use barycentric coordinates. Generate random numbers α, β, and γ from the interval [0, 1]. Normalize the points to have sum 1 by dividing each by their sum. Return αA + βB + γC. This generates points inside the triangle, but not uniformly. Accept-reject Another idea is to use an accept-reject method. Draw a rectangle around the triangl

Linus Torvalds warns Linux devs: Stop cluttering patches with automated, useless links

Leonid Korchenko/Moment/Getty Images Follow ZDNET: Add us as a preferred source on Google. ZDNET's key takeaways Linus Torvalds doesn't like non-informative links in proposed Linux code changes. Useless links are from AI dev programs and automated tools. Torvalds thinks links should lead to useful info about a patch. It all started with a single fix to a resource node rewrite in the Linux kernel. The more Linus Torvalds looked at it, the more puzzled he became. You see, the fix didn't "act

Linus Torvalds is sick and tired of your 'pointless links' - and AI is no excuse

Maximusnd/iStock/Getty Images Plus via Getty Images Follow ZDNET: Add us as a preferred source on Google. ZDNET's key takeaways Linus Torvalds is annoyed by non-informative links in proposed Linux code changes. Many of these useless links come from AI dev programs and other automated tools. Torvalds doesn't want to see links unless they take him to useful info about a patch. It all started with a single fix to a resource node rewrite in the Linux kernel. The more Linus Torvalds looked at

The maths you need to start understanding LLMs

The maths you need to start understanding LLMs Actually coming up with ideas like GPT-based LLMs and doing serious AI research requires serious maths. But the good news is that if you just want to understand how they work, while it does require some maths, if you studied it at high-school at any time since the 1960s, you did all of the groundwork then: vectors, matrices, and so on. One thing to note -- what I'm covering here is what you need to know to understand inference -- that is, using an

Hackers use new HexStrike-AI tool to rapidly exploit n-day flaws

Hackers are increasingly using a new AI-powered offensive security framework called HexStrike-AI in real attacks to exploit newly disclosed n-day flaws. This activity is reported by CheckPoint Research, which observed significant chatter on the dark web around HexStrike-AI, associated with the rapid weaponization of newly disclosed Citrix vulnerabilities, including CVE-2025-7775, CVE-2025-7776, and CVE-2025-8424. According to ShadowServer Foundation's data, nearly 8,000 endpoints remain vulner

Introduction to Ada: a project-based exploration with rosettas

Context This practical walkthrough, designed as a short tutorial, was created upon joining AdaCore as a Field Engineer. In this new role, I’ll be working directly with customers to help them succeed with Ada. Although I was first introduced to the language nearly two decades ago, this new position inspired me to revisit its fundamentals, and I used the excellent https://learn.adacore.com portal as a quick refresher. While that platform takes a concept-based approach, I chose to complement it wit

The Space Shuttle Columbia disaster and the over-reliance on PowerPoint (2019)

We’ve all sat in those presentations. A speaker with a stream of slides full of text, monotonously reading them off as we read along. We’re so used to it we expect it. We accept it. We even consider it ‘learning’. As an educator I push against ‘death by PowerPoint’ and I'm fascinated with how we can improve the way we present and teach. The fact is we know that PowerPoint kills. Most often the only victims are our audience’s inspiration and interest. This, however, is the story of a PowerPoint s

Death by PowerPoint: the slide that killed seven people

We’ve all sat in those presentations. A speaker with a stream of slides full of text, monotonously reading them off as we read along. We’re so used to it we expect it. We accept it. We even consider it ‘learning’. As an educator I push against ‘death by PowerPoint’ and I'm fascinated with how we can improve the way we present and teach. The fact is we know that PowerPoint kills. Most often the only victims are our audience’s inspiration and interest. This, however, is the story of a PowerPoint s

Claude Code Checkpoints

🔍 Automatic Change Detection Continuously monitors your entire project for file changes. No setup required - just select your project folder and start coding. 💾 One-Click Checkpoints Create instant snapshots of your project state before making risky changes. Each checkpoint captures all files and their contents. 📊 Visual Diff Viewer See exactly what changed between checkpoints with our built-in diff viewer. Track additions, modifications, and deletions at a glance. ⏰ Time Travel for Code Inst

The physics of parabolic microphones: Frequency dependence of gain (2023)

Introduction Parabolic microphones are known for their extreme sensitivity, and the origin of their acuity isn’t difficult to guess. It is the most obvious thing about them, which can also make them a liability for field use, namely, their considerable size. Just as a large amount of weak light is captured by a telescope’s parabolic mirror and made amenable to viewing with the much smaller human eye, so too are faint sounds harvested with a reflecting dish that far exceeds the dimensions of our

The Physics of Parabolic Microphones: Frequency Dependence of Gain

Introduction Parabolic microphones are known for their extreme sensitivity, and the origin of their acuity isn’t difficult to guess. It is the most obvious thing about them, which can also make them a liability for field use, namely, their considerable size. Just as a large amount of weak light is captured by a telescope’s parabolic mirror and made amenable to viewing with the much smaller human eye, so too are faint sounds harvested with a reflecting dish that far exceeds the dimensions of our

You can't grow cool-climate plants in hot climates

Since moving to Deep South Texas 4 years ago I've come to realize that many plants I used to love growing in the cool mild maritime climate of the SF bay area are impossible to grow where I live. This is not just because of the high daytime heat. It's not as simple as that. Specifically, it is the high heat during the night (and those warm nights are a direct result of the humidity) that causes cool-climate and cool-season plants to eventually die here. That's a bummer for somebody who loves pla

An interactive guide to SVG paths

Introduction The SVG <path> element is notoriously tricky. When I first encountered it, I found it totally inscrutable. Its syntax isn’t quite as bad as Regex, but it has the same sort of “what on earth?” vibes. At the same time, <path> elements are also incredibly useful. They’re the only way to create curved shapes in SVG, beyond full ellipses. And once you get the hang of it, they’re actually quite a lot of fun to use! In this blog post, we’ll cover all of the basic commands, including the

An Interactive Guide to SVG Paths

Introduction The SVG <path> element is notoriously tricky. When I first encountered it, I found it totally inscrutable. Its syntax isn’t quite as bad as Regex, but it has the same sort of “what on earth?” vibes. At the same time, <path> elements are also incredibly useful. They’re the only way to create curved shapes in SVG, beyond full ellipses. And once you get the hang of it, they’re actually quite a lot of fun to use! In this blog post, we’ll cover all of the basic commands, including the

The joy of recursion, immutable data, & pure functions: Making mazes with JS

This post is based on a talk I presented at Web Directions Summit, 2024. Let’s start by addressing the elephant in the room. Why the heck am I talking about making mazes? Normally, I try to be practical when I’m writing or speaking. I want to give people tools they can use to make their coding lives better. So, I try to discuss things like creating DOM elements and processing JSON data. Because those things are practical. I would rather not waste people’s time on things they’re not going to us

A Visual Exploration of Gaussian Processes (2019)

Even if you have spent some time reading about machine learning, chances are that you have never heard of Gaussian processes. And if you have, rehearsing the basics is always a good way to refresh your memory. With this blog post we want to give an introduction to Gaussian processes and make the mathematical intuition behind them more approachable. Gaussian processes are a powerful tool in the machine learning toolbox . They allow us to make predictions about our data by incorporating prior kno

Traps to Developers

NaN. Floating point NaN is not equal to any number including itself. NaN == NaN is always false (even if the bits are same). NaN != NaN is always true. Computing on NaN usually gives NaN (it can "contaminate" computation). There are +Inf and -Inf. They are not NaN. There is a negative zero -0.0 which is different to normal zero. The negative zero equals zero when using floating point comparision. Normal zero is treated as "positive zero". JS use floating point for all numbers. The max accurat

Fairness is what the powerful 'can get away with' study shows

This article has been reviewed according to Science X's editorial process and policies . Editors have highlighted the following attributes while ensuring the content's credibility: Credit: Mikhail Nilov from Pexels The willingness of those in power to act fairly depends on how easily others can collectively push back against unfair treatment, psychologists have found. A newly published study by Dr. David Gordon at University of Staffordshire (UK) and Dr. Mikael Puurtinen at the University of

Myths About Floating-Point Numbers (2021)

Floating-point numbers are a great invention in computer science, but they can also be tricky and troublesome to use correctly. I’ve written about them already by publishing Floating-Point Formats Cheatsheet and presentation “Pitfalls of floating-point numbers” (“Pułapki liczb zmiennoprzecinkowych” – the slides are in Polish). Last year I was preparing for a more extensive talk about this topic, but it got cancelled, like pretty much everything in these hard times of the COVID-19 pandemic. So in

The Missing Protocol: Let Me Know

The Missing Protocol: Let Me Know I want a new protocol, tentatively called “Let Me Know” (LMK). The purpose is to provide someone an anonymous way to get notified when a singular, specific event occurs. Here’s a basic use case: Some random blog author has published Parts 1 and 2 of a series. You enjoyed it, and you want to know when Part 3 is published. You don’t want to give away any personal information, you don’t want to subscribe to an RSS feed of other content, you don’t want to follow

CarPlay connection issues? This might explain why

If your Apple CarPlay connection randomly drops out while driving, the cause might not be your iPhone, cable, or car. Radio interference, of all things, could be the cause of your troubles. An Axios report from this year details a peculiar phenomenon in Boston, where drivers lose their CarPlay or Android Auto connection at the exact same spots. Similar “dead zones” are likely in other cities, though they may go unreported. CarPlay units don’t handle GPS navigation on their own. Instead, they

9 Best Hotel Rewards Programs for Elevating Your Next Stay

Joining a hotel’s rewards program can feel like being admitted to an exclusive club. By frequently staying at a particular brand’s hotels, you can accrue points that are redeemable for all kinds of perks, including free or low-cost room upgrades, a meal on the house, and even a free night's stay. Choosing the best hotel rewards program for you depends on a variety of factors, most importantly, where and how often you travel. But just as crucial is your travel style: Are you content with small c

The Internet’s Biggest Travel Nerd Shares Pointers on Points

In an ever-expanding internet kingdom of travel-reward nerds, Gary Leff reigns supreme. He has penned the blog View from the Wing for 23 years while maintaining a full-time career as a chief financial officer at a university research center. But miles, points, and rewards are not merely a side hustle or a second job; they’re a lifestyle. “I couldn't tell you how long I spend on the blog, because I’m doing the things that I enjoy anyway,” says Leff. “I’m enough on the spectrum that I forget anyo

Totem Compass Review: Find Your Friends, No Reception Required

I attend a minimum of 3 EDM festivals every year, and they all have one thing in common: There’s no phone service anywhere. It’s almost a meme at this point. Trying to send a text message at a festival will have you walking around with your phone in the air, praying that it’ll send. Don’t even think about trying a phone call—it’ll fail every time. It’s gotten to the point where my friends and I started time-stamping our text messages: “I’m at the Forest Stage, 2:42 pm.” The Totem Compass is the

So you want to parse a PDF?

Suppose you have an appetite for tilting at windmills. Let's say you love pain. Well then why not write a PDF parser today? The ideal world: how the specification should work Conceptually parsing a PDF is fairly simple: First, locate the version header comment at the start of the file Next you need to locate the pointer to the cross-reference Then you can find all object offsets Finally you locate and build the trailer dictionary which points to the catalog dicitionary Introduction to PDF

ThinkPad designer David Hill on unreleased models

Interview Launched in 1992, the boxy black ThinkPad with its little red nub remains the quintessential business productivity notebook. Unlike commercial offerings from competitors such as Dell and HP, Lenovo's laptop has a following of people who collect old models and celebrate each new innovation. If you bought a ThinkPad between 1995 and 2017, it was probably designed under the oversight of David W. Hill, who served as lead designer under both IBM and Lenovo for those 22 years. We caught up

ThinkPad designer David Hill spills secrets, designs that never made it

Interview Launched in 1992, the boxy black ThinkPad with its little red nub remains the quintessential business productivity notebook. Unlike commercial offerings from competitors such as Dell and HP, Lenovo's laptop has a following of people who collect old models and celebrate each new innovation. If you bought a ThinkPad between 1995 and 2017, it was probably designed under the oversight of David W. Hill, who served as lead designer under both IBM and Lenovo for those 22 years. We caught up