Searching We.Love.Privacy.Club

Twts matching #maps
Sort by: Newest, Oldest, Most Relevant

New AMD Linux Driver Patches Posted For Batch Userptr Allocation Support
A new feature being worked on recently for the AMDKFD kernel compute driver is batch user pointer “userptr” allocation support. With this new user-space API it will become possible to support allocating multiple non-contiguous CPU virtual address ranges that map to a single contiguous GPU virtual address… ⌘ Read more

⤋ Read More
In-reply-to » On my way to having windows and mouse support:

At around 19 seconds in the video, you can see some minor graphical glitches.

Text mode applications in Unix terminals are such a mess. It’s a miracle that this works at all.

In the old DOS days, you could get text (and colors) on the screen just by writing to memory, because the VGA memory was mapped to a fixed address. We don’t have that model anymore. To write a character to a certain position, you have to send an escape sequence to move the cursor to that position, then more escape sequences to set the color/attributes, then more escape sequences to get the cursor to where you actually want it. And then of course UTF-8 on top, i.e. you have no idea what the terminal will actually do when you send it a “🙂”.

Mouse events work by the terminal sending escape sequences to you (https://www.xfree86.org/current/ctlseqs.html#Mouse%20Tracking).

ncurses does an amazing job here. It’s fast (by having off-screen buffers and tracking changes, so it rarely has to actually send full screen updates to the terminal) and reliable and works across terminals. Without the terminfo database that keeps track of which terminal supports/requires which escape sequences, we’d be lost.

But gosh, what a mess this is under the hood … Makes you really miss memory mapped VGA and mouse drivers.

⤋ Read More

New Linux Patches Improve exFAT Read Performance Via Multi-Cluster Mapping
For those using Microsoft’s exFAT file-system under Linux for the likes of flash drives and SD cards, a new patch series posted today aims to enhance the read performance. The new patches are shown to improve performance by about 10% while also heaving lower overhead… ⌘ Read more

⤋ Read More

AmpereOne M Finally Appears - In The Oracle Cloud With A4
Back in July 2024, Ampere Computing announced AmpereOne M on their road-map for Q4’2024 to provide AmpereOne with 12 channel DDR5 memory compared to eight memory channels with the original AmpereOne processors. Then this past May the AmpereOne M SKUs were announced while Ampere Computing stated these “M” processors had been shipping since Q4 of last year. Since then we haven’t seen or heard anything more about AmpereOne M nor the AmpereOne MX processors … ⌘ Read more

⤋ Read More
In-reply-to » Day 9 also required some optimizations, if you aren't careful, you end up with really inefficient algorithms with time/memory complexity beyond what a typical machine has 🤣

@movq@www.uninformativ.de I shrank Day 9 Part 2 from “cover the whole map” to “only track the interesting lines.” By compressing coordinates to just the unique x/y breakpoints, the grid got tiny. I still flood-fill and do the corner-pair checks, but now on that compact grid with weighted prefix sums for instant rectangle checks. Result: far less RAM, way less CPU, same correct answer.

⤋ Read More

97% of Buildings On Earth 3D-Mapped
Longtime Slashdot reader Gilmoure shares a report from Nature: Scientists have produced the most detailed 3D map of almost all buildings in the world. The map, called GlobalBuildingAtlas, combines satellite imagery and machine learning to generate 3D models for 97% of buildings on Earth. The dataset, published in the open-access journal Earth System Science Data on December 1, covers 2.75 billion buildin … ⌘ Read more

⤋ Read More

ChatGPT Is Apple’s Most Downloaded App of 2025
An anonymous reader quotes a report from TechCrunch: Apple on Wednesday released its annual list of the most downloaded apps and games for the year. For the U.S. market, OpenAI’s ChatGPT topped the ranks of free iPhone apps (not including games) with the most installs in 2025. The AI app was followed by Threads, Google, TikTok, WhatsApp, Instagram, YouTube, Google Maps, Gmail, and … ⌘ Read more

⤋ Read More

Thinking about doing Advent of Code in my own tiny language mu this year.

mu is:

  • Dynamically typed
  • Lexically scoped with closures
  • Has a Go-like curly-brace syntax
  • Built around lists, maps, and first-class functions

Key syntax:

  • Functions use fn and braces:
fn add(a, b) {
    return a + b
}
  • Variables use := for declaration and = for assignment:
x := 10
x = x + 1
  • Control flow includes if / else and while:
if x > 5 {
    println("big")
} else {
    println("small")
}
while x < 10 {
    x = x + 1
}
  • Lists and maps:
nums := [1, 2, 3]
nums[1] = 42
ages := {"alice": 30, "bob": 25}
ages["bob"] = ages["bob"] + 1

Supported types:

  • int
  • bool
  • string
  • list
  • map
  • fn
  • nil

mu feels like a tiny little Go-ish, Python-ish language — curious to see how far I can get with it for Advent of Code this year. 🎄

⤋ Read More

EU To Examine If Apple Ads and Maps Subject To Tough Rules, Apple Says No
EU antitrust regulators will examine whether Apple’s Apple Ads and Apple Maps should be subject to the onerous requirements of the bloc’s digital rules after both services hit key criteria, with the U.S. tech giant saying they should be exempted. From a report: Apple’s App Store, iOS operating system and Safari web browser were d … ⌘ Read more

⤋ Read More

AI Can Technically Perform 12% of US Labor Market’s Wage Value, MIT Simulation Finds
Researchers at MIT and Oak Ridge National Laboratory have built a simulation that models all 151 million American workers and their skills, then maps those skills against the capabilities of over 13,000 AI tools currently in production to see where the two overlap. The answer, according to their analysis: 11.7 … ⌘ Read more

⤋ Read More

Easter Island statues may have been built by small independent groups
Mapping of the main quarry on Easter Island where giant statues were carved has uncovered evidence that the monuments may not have been created under the direction of a single chief ⌘ Read more

⤋ Read More

Google Maps Will Let You Hide Your Identity When Writing Reviews
An anonymous reader quotes a report from PCMag: Four new features are coming to Google Maps, including a way to hide your identity in reviews. Maps will soon let you use a nickname and select an alternative profile picture for online reviews, so you can rate a business without linking it to full name and Google profile photo. Google says it will m … ⌘ Read more

⤋ Read More

Linux 6.19 Slated To Land “mm/cid” Rewrite That Has Very Positive Performance Potential
A set of Linux kernel patches posted back in October for rewriting the kernel’s memory-mapped concurrency ID code for some nice performance wins looks like it will land for Linux 6.19. This is the code that prominent Intel engineer Thomas Gleixner found to yield up to an 18% improvement for the PostgreSQL database. My testing of this “mm/cid” code has also shown some nice performance wins too… ⌘ Read more

⤋ Read More

GNU C Library Adds Linux “mseal” Function For Memory Sealing
Introduced last year in the Linux 6.10 kernel was the mseal system call for memory sealing to protect the memory mapping against modifications to seal non-writable memory segments or better protecting sensitive data structures. The GNU C Library has finally introduced its mseal function making use of this modern Linux kernel functionality… ⌘ Read more

⤋ Read More

Gemini AI To Transform Google Maps Into a More Conversational Experience
An anonymous reader quotes a report from the Associated Press: Google Maps is heading in a new direction with artificial intelligence sitting in the passenger’s seat. Fueled by Google’s Gemini AI technology, the world’s most popular navigation app will become a more conversational companion as part of a redesign announced Wednesda … ⌘ Read more

⤋ Read More

Why CNCF TAGs are the core of cloud native innovation (and where to find them at KubeCon Atlanta)
KubeCon + CloudNativeCon North America 2025 is just around the corner in Atlanta. While you’re mapping out your schedule for co-located events like Observability Day and Platform Engineering Day, don’t forget to connect with the groups… ⌘ Read more

⤋ Read More

Now in 3D, maps begin to bring exoplanets into focus
Astronomers have generated the first three-dimensional map of a planet orbiting another star, revealing an atmosphere with distinct temperature zones—one so scorching that it breaks down water vapor, a team co-led by a Cornell expert reports in new research. ⌘ Read more

⤋ Read More

HackerBox 0119 Geopositioning Explores GPS and Mapping
HackerBox has released Issue 0119, titled “Geopositioning.” This edition marks ten years of the subscription series and focuses on satellite positioning and mapping through the ESP-WROOM-32 system-on-chip and the Thrifty Yeti Locator (TYL) platform. The kit combines hardware assembly with firmware development in the Arduino IDE to demonstrate GNSS and geolocation principles. According to the […] ⌘ Read more

⤋ Read More

World’s largest rays may be diving to extreme depths to build mental maps of vast oceans
Many marine species are no strangers to the depths of the oceans. Some animals, like certain sharks, tuna, or turtles, routinely perform extreme dives, whereas for other species, such behavior has been observed less frequently. ⌘ Read more

⤋ Read More

Wheat diversity discovery could provide an urgently-needed solution to global food security
Wheat has a very large and complex genome. Researchers have found that different varieties can use their genes in different ways. By studying RNA—the molecules that carry out instructions from DNA—researchers can see which genes are active and when. By mapping this gene activity for the first time, researchers are able to accelerate international wheat breeding programs, developing new varieties of … ⌘ Read more

⤋ Read More

Physicists maneuver DNA molecules using electrical fields, offering real-time control
Researchers in McGill’s Department of Physics have developed a new device that can trap and study DNA molecules without touching or damaging them. The device, which uses carefully tuned electric fields, offers scientists unprecedented control over how DNA behaves in real time, creating the opportunity for faster, more precise molecular analysis that could improve diagnostics, genome mapping and the study … ⌘ Read more

⤋ Read More

Here is just a small list of things™ that I’m aware will break, some quite badly, others in minor ways:

  1. Link rot & migrations: domain changes, path reshuffles, CDN/mirror use, or moving from txt → jsonfeed will orphan replies unless every reader implements perfect 301/410 history, which they won’t.
  2. Duplication & forks: mirrors/relays produce multiple valid locations for the same post; readers see several “parents” and split the thread.
  3. Verification & spam-resistance: content addressing lets you dedupe and verify you’re pointing at exactly the post you meant (hash matches bytes). Location anchors can be replayed or spoofed more easily unless you add signing and canonicalization.
  4. Offline/cached reading: without the original URL being reachable, readers can’t resolve anchors; with hashes they can match against local caches/archives.
  5. Ecosystem churn: all existing clients, archives, and tools that assume content-derived IDs need migrations, mapping layers, and fallback logic. Expect long-lived threads to fracture across implementations.

⤋ Read More

PEP 804: An external dependency registry and name mapping mechanism
This PEP specifies a name mapping mechanism that allows packaging tools to map external dependency identifiers (as introduced in PEP 725) to their counterparts in other package repositories. ⌘ Read more

⤋ Read More

The WM_CLASS Property is used on X11 to assign rules to certain windows, e.g. “this is a GIMP window, it should appear on workspace number 16.” It consists of two fields, name and class.

Wayland (or rather, the XDG shell protocol – core Wayland knows nothing about this) only has a single field called app_id.

When you run X11 programs under Wayland, you use XWayland, which is baked into most compositors. Then you have to deal with all three fields.

Some compositors map name to app_id, others map class to app_id, and even others directly expose the original name and class.

Apparently, there is no consensus.

⤋ Read More

Golang 裏普通 map 不用鎖,咋解決協程安全?
在 Go 語言開發中,map 是常用的數據結構,但原生 map 在併發讀寫時會導致 panic。這是因爲 Go 的設計哲學是 “顯式優於隱式”,不自動處理併發安全問題,需要開發者根據場景選擇合適的併發控制策略。本文將深入探討三種主流解決方案,並分析它們的適用場景和性能特點。方案一:官方推薦的 sync.Map基本用法sync.Map是 Go 標準庫提供的線程安全 map 實現,適合讀多寫少的場景: ⌘ Read more

⤋ Read More

Golang 裏普通 map 不用鎖,咋解決協程安全?
在 Go 語言開發中,map 是常用的數據結構,但原生 map 在併發讀寫時會導致 panic。這是因爲 Go 的設計哲學是 “顯式優於隱式”,不自動處理併發安全問題,需要開發者根據場景選擇合適的併發控制策略。本文將深入探討三種主流解決方案,並分析它們的適用場景和性能特點。方案一:官方推薦的 sync.Map基本用法sync.Map是 Go 標準庫提供的線程安全 map 實現,適合讀多寫少的場景: ⌘ Read more

⤋ Read More

What were the MS-DOS programs that the moricons.dll icons were intended for?
Last time, we looked at the legacy icons in progman.exe. But what about moricons.dll? Here’s a table of the icons that were present in the original Windows 3.1 moricons.dll file (in file order) and the programs that Windows used the icons for. As with the icons in progman.exe, these icons are mapped from executables according to the information in the APPS.INF file. ↫ Raymond Chen … ⌘ Read more

⤋ Read More

Go:終於有了處理未定義字段的實用方案
衆所周知,Go 裏沒有 undefined,只有各類型的零值。多年來,Go 開發者一直依賴 JSON 結構標籤 omitempty 來解決 “字段可能缺失” 這一需求。然而omitempty 並不能覆蓋所有場景,而且常常讓人抓狂——到底什麼算 “空”?定義本就含糊不清。在 編碼(marshal) 時:切片和 map 只有在爲 nil 或長度爲 0 時纔算空。 指針只有 nil 時爲空。 ⌘ Read more

⤋ Read More