Big Tech Signs EU Pledge to Combat Online Hate Speech

2025-01-21
Big Tech Signs EU Pledge to Combat Online Hate Speech

Meta, Google, TikTok, and X have signed a voluntary EU commitment to combat illegal hate speech on their platforms. The "Code of Conduct on Countering Illegal Hate Speech Online Plus" requires signatories to increase transparency, allow third-party monitoring, and review at least two-thirds of hate speech reports within 24 hours. While not legally binding, the agreement represents a step forward in tech companies' efforts to address online hate speech.

Read more

The Programmer's Pastoral Dream: Escaping Code, Embracing the Soil?

2025-03-24

Many programmers dream of putting down their keyboards and taking up manual labor, such as carpentry or farming. This article explores the reasons behind this phenomenon, suggesting it stems from burnout in modern software work practices and a re-examination of the "self-made man" ideal in American culture. The author, drawing on personal experience, analyzes the complexities of this longing, acknowledging both the romantic idealization of rural life and its harsh realities. Ultimately, the author argues that finding meaning in work lies not solely in economic output but also in community building and a spirit of service.

Read more
Development programmers rural life

Rethinking SQLite: Surprisingly Powerful at Hyper-Scale

2025-03-03
Rethinking SQLite: Surprisingly Powerful at Hyper-Scale

Contrary to popular belief, SQLite isn't just for small applications. This article argues that services like Cloudflare Durable Objects and Turso unlock SQLite's potential at hyper-scale. These platforms assign SQLite databases per entity, replacing the complexities of sharded databases. This approach solves challenges like rigid schemas, difficult schema changes, and complex cross-partition operations. While challenges remain—lack of open-source self-hosting and standardized protocols—SQLite's ACID compliance, efficient I/O, and rich SQL extensions make it a compelling alternative to traditional partitioned databases.

Read more
Development

Building a High-Performance SQLite Edge Replica with Turso and Fly.io

2025-02-13
Building a High-Performance SQLite Edge Replica with Turso and Fly.io

This tutorial demonstrates how to build custom SQLite edge replicas for Turso using Node.js and Fly.io to boost database performance. By deploying proxy servers across multiple global regions and leveraging Fly.io's Anycast network, low-latency data access is achieved. The solution caches data locally in a SQLite file, periodically syncing with the primary database, reducing network latency and data replication costs for a superior user experience. The tutorial covers Dockerfile configuration, Fly.io deployment, proxy server implementation details, and includes a security authentication mechanism.

Read more
Development edge computing

Inside the Ryugyong Hotel: A Rare Glimpse into North Korea's Empty Giant

2025-02-21
Inside the Ryugyong Hotel: A Rare Glimpse into North Korea's Empty Giant

The Ryugyong Hotel in Pyongyang, one of the world's tallest unoccupied buildings, has finally had some of its mystery unveiled by British tour guide Simon Cockerell. After nearly 200 visits to North Korea, Cockerell's connections allowed him access to the peculiar pyramid-shaped structure. His photos reveal a vast emptiness, debunking myths about the building's size and features. Despite its completion, the hotel has never hosted a guest, a testament to North Korea's ambitions and economic struggles, particularly after the fall of the Soviet Union. Today, the Ryugyong's glass facade serves as a nightly LED screen, projecting propaganda and videos, becoming a unique part of Pyongyang's skyline.

Read more

Reverse Engineering a Cheap Indoor Camera: Exploiting Tapo's Security Flaws

2025-09-16

The author bought a cheap Tapo indoor camera to monitor their dog, but this led to an unexpected journey of reverse engineering. To bypass the cumbersome setup process and forced subscription of the Tapo app, the author decompiled the APK, performed a man-in-the-middle (MITM) attack, and wrote cryptographic scripts. This revealed a critical vulnerability: a default password "TPL075526460603". A bash script was created for cloudless onboarding. The process uncovered security flaws in Tapo's firmware, such as inconsistent use of SHA-256 and MD5 encryption and a haphazard password synchronization mechanism. The author successfully configured the camera, only to discover their dog mostly slept.

Read more
Tech

Chinese Hospitals Lead in Retraction Rates: A Shocking Look at Academic Fraud

2025-02-20
Chinese Hospitals Lead in Retraction Rates: A Shocking Look at Academic Fraud

A global analysis of institutional retraction rates reveals alarmingly high numbers for certain Chinese hospitals, some exceeding the global average by more than 50 times. This surge is largely attributed to young physicians purchasing fabricated papers to meet job promotion requirements. While the Chinese government has implemented measures to combat academic misconduct, the high retraction rates highlight weaknesses in research integrity and the negative consequences of overemphasizing publication numbers. The study underscores vast disparities in research integrity across countries and institutions, and the potential of data analytics in identifying and addressing academic fraud.

Read more

Using `uv` as Your Shebang for Efficient Python Scripting

2025-01-28
Using `uv` as Your Shebang for Efficient Python Scripting

Rob Allen shares his experience using `#!/usr/bin/env -S uv run --script` as a shebang line for his Python scripts. This approach leverages the `uv` tool to manage script dependencies, allowing direct execution from the command line without needing to set up virtual environments, etc., improving script convenience and executability. The author creates many automation scripts in his ~/bin directory and simplifies their execution using this method.

Read more
Development scripting

Bilinear Up/Downsampling: Pixel Grid Alignment and That Infamous GPU Half-Pixel Offset

2025-01-27
Bilinear Up/Downsampling: Pixel Grid Alignment and That Infamous GPU Half-Pixel Offset

This article delves into the common misconceptions and pitfalls surrounding bilinear up/downsampling techniques. The author points out that bilinear up/downsampling isn't a single concept; its definition and implementation vary, leading to long-standing bugs and confusion, even affecting top libraries like TensorFlow. The article thoroughly explains pixel grid alignment, GPU half-pixel offsets, and the role of odd/even filters. Using a signal processing perspective, it analyzes operations like zero-insertion and post-filtering, ultimately concluding that choosing the right coordinate system and filter is crucial for obtaining correct results.

Read more
Development signal processing

RISC-V Hypervisor in 1,000 Lines of Rust

2025-09-10

This online book teaches you how to build a minimal RISC-V hypervisor capable of booting Linux-based operating systems using Rust. A sequel to 'Operating System in 1,000 Lines', it starts from bare-metal programming and leverages Rust's ecosystem to simplify development, aiming for a type-1 hypervisor in under 1,000 lines of code. Implementation examples are available on GitHub.

Read more
Development Hypervisor

Unicode 17.0 Drops: New Emoji Including a Hairy Creature!

2025-09-10
Unicode 17.0 Drops: New Emoji Including a Hairy Creature!

Unicode 17.0 has arrived, bringing 4,803 new characters, including a host of exciting new emoji! Highlights include a hairy creature emoji, distorted faces, a womp-womp sound emoji, an orca, a treasure chest, rubble, a conflict symbol, and more. A long-awaited fix addresses the inability to change skin tones on some emojis, paving the way for more personalized emoji experiences in the future. While these new additions may take some time to reach your keyboard, it's a significant update to the world of emoji.

Read more
Misc

Hiding Secrets in Emojis: Exploiting Unicode Variation Selectors

2025-02-12
Hiding Secrets in Emojis: Exploiting Unicode Variation Selectors

A Hacker News comment sparked a discussion about hiding information using Unicode variation selectors. This article demonstrates that arbitrary data can be encoded into a single emoji by converting data into a sequence of Unicode variation selectors, remaining invisible after rendering. This method can bypass human content filters or be used for text watermarking, enabling covert information transmission and tracking. While this technique has potential for abuse, it also highlights the complexity and potential security challenges of Unicode.

Read more

Implementing LLaMA3 in 100 Lines of Pure Jax

2025-02-19

This post demonstrates implementing LLaMA3 from scratch using only 100 lines of pure Jax code. The author chose Jax for its clean aesthetics and powerful features like XLA acceleration, JIT compilation, and vmap vectorization. The article details each component of the model, including weight initialization, BPE tokenization, dynamic embeddings, rotary positional encoding, grouped query attention, and the forward pass. Unique Jax features like PRNG key management and JIT compilation are also explained. Finally, the author shows how to train the model on a Shakespeare dataset, providing the training loop code.

Read more
Development

Intel Adjusts Ohio Chip Plant Timeline

2025-03-04
Intel Adjusts Ohio Chip Plant Timeline

Intel announced a revised timeline for its Ohio One chip manufacturing facility. Mod 1 is now slated for completion in 2030, with operations beginning between 2030 and 2031. Mod 2 completion is projected for 2031, commencing operations in 2032. The adjustment, Intel explains, prioritizes financial responsibility and allows for flexibility based on market demand. Despite the revised timeline, Intel reaffirms its long-term commitment to Ohio, continuing investments and hiring efforts in the state.

Read more
Tech Ohio

Uppercut: One-Click Access to Xbox Homebrew's Xbins in OS X Tiger

2025-01-26

Uppercut is a nostalgic throwback to the early 2000s, offering one-click access to the Xbins Xbox homebrew FTP server, specifically designed for OS X Tiger (10.4). This eliminates the cumbersome IRC and FTP configurations of the past. Inspired by the modern Xbins connector Pandora, Uppercut recreates the experience of accessing homebrew resources as it might have been in 2005. For modern OS users, Pandora is recommended. The developer also live streams the development process on Twitch.

Read more

Windows 7/Server 2008 R2: 30-Second Welcome Screen Delay with Solid Color Backgrounds

2025-01-28

Setting a solid color as your desktop background in Windows 7 or Windows Server 2008 R2 can cause a 30-second delay displaying the Welcome screen during logon. Microsoft acknowledges this issue and provides an update to resolve it. The issue doesn't occur when using Remote Desktop Connection, or if the Desktop Window Manager Session Manager service is stopped or disabled, or if an image file is used as the background. Workarounds include using an image with a solid color or adjusting the DelayedDesktopSwitchTimeout registry entry.

Read more
Development System Issue

Txeo: A Modern C++ Wrapper for TensorFlow Achieving Near-Native Performance

2025-02-21
Txeo: A Modern C++ Wrapper for TensorFlow Achieving Near-Native Performance

Txeo is a lightweight and intuitive C++ wrapper for TensorFlow designed to simplify TensorFlow C++ development while maintaining high performance and flexibility. Built entirely with Modern C++, Txeo enables developers to use TensorFlow with the ease of a high-level API, eliminating the complexity of its low-level C++ interface. Benchmarks show negligible performance overhead compared to native TensorFlow, ranging from 0.65% to 1.21%. Currently supports Linux, with Windows and macOS support planned.

Read more
Development

Lox: A Modern Astrodynamics Library for Space Missions

2025-02-20
Lox: A Modern Astrodynamics Library for Space Missions

Lox is a safe and ergonomic astrodynamics library for the modern space industry. It offers a comprehensive API, ranging from high-level mission planning and analysis tools to lower-level utilities. Supporting various coordinate frames, it includes ephemeris data for major celestial bodies and readily handles Earth orientation parameters. Lox also provides Python bindings for interactive use and is extensible, allowing users to add custom time scales, transformation algorithms, and data sources. Commissioned by the European Space Agency, it's a next-generation, open-source space mission simulator.

Read more

Clang Optimization Regression: Inlining Backfires in C++ Benchmark

2025-02-19

A C++ benchmark revealed a performance regression in Clang's optimization of inline functions. When the `increment` function was inlined, branch prediction failures resulted in roughly a 5x slowdown compared to the non-inlined version. `perf stat` confirmed branch mispredictions as the culprit. Interestingly, compiling with the Zig toolchain significantly improved performance, suggesting a potential regression in Clang 19. The issue has been reported on the Clang/LLVM repository, with initial investigation pointing to a trade-off between SROA and SimplifyCFG optimization passes.

Read more
Development

Redis UNLINK vs DEL: A Deep Dive into Internal Mechanics

2025-01-21
Redis UNLINK vs DEL: A Deep Dive into Internal Mechanics

Both Redis' UNLINK and DEL commands remove keys, but their internal implementations differ. DEL synchronously deletes keys and frees memory, while UNLINK asynchronously queues the deletion for background processing. UNLINK's 'non-blocking' nature isn't absolute; it calculates the cost of deleting an object: if the cost is less than 64, it deletes synchronously; otherwise, asynchronously. The article delves into the Redis source code, explaining the implementation details of UNLINK and DEL, including key slot calculation, two-phase unlinking, and asynchronous deletion, and discusses the role of LAZYFREE_THRESHOLD.

Read more
Development

Trump's Tariffs Crash US Postal Traffic: An 80% Plunge

2025-09-07
Trump's Tariffs Crash US Postal Traffic: An 80% Plunge

The Trump administration's abolishment of the de minimis exemption on small packages entering the US, effective August 29th, has caused a dramatic 80%+ drop in postal traffic. This policy change, eliminating duty-free entry for items under $800, left 88 global postal operators partially or fully suspending parcel shipments to the US. The Universal Postal Union (UPU) cites insufficient preparation time for operators to adapt to the new rules and collect duties, leading to major operational disruptions. The UPU is working on a technical solution to restore mail flow to the US.

Read more

The Graphics Codex: Your Ultimate Guide to Computer Graphics

2025-01-26

The Graphics Codex is an interactive learning resource for computer graphics, featuring 400+ cross-referenced equations and diagrams, 14 chapters on physically-based shading and rendering, and multi-platform programming projects with links to external API documentation. It serves as a reference, textbook supplement, or standalone learning guide, updated monthly. Topics range from ray tracing and shadow map shaders to the rendering equation and Fresnel equations, making it ideal for students and professionals alike.

Read more

Schrödinger: The Biotech Firm Trying to Crack the AI Drug Discovery Code

2025-01-25
Schrödinger: The Biotech Firm Trying to Crack the AI Drug Discovery Code

Schrödinger, a biotech company using quantum mechanics to design new medicines and materials, boasts all top 20 pharmaceutical companies as clients. Despite this, five years post-IPO, its stock price languishes near all-time lows. This article explores Schrödinger's unique business model—part biotech, part software—and its struggles with valuation. A pivotal dinner between Nvidia's Jensen Huang and Schrödinger's CEO highlighted a crucial turning point: embracing AI more fully. While initially hesitant, Schrödinger now leverages AI's power, particularly AlphaFold's protein structure predictions, and is preparing for crucial clinical data releases in 2025. The company's future hinges on successfully navigating the complex interplay of software sales, biotech pipeline development, and clear investor communication.

Read more

Obsidian Goes Freemium: Commercial License No Longer Required for Work Use

2025-02-20
Obsidian Goes Freemium: Commercial License No Longer Required for Work Use

Note-taking app Obsidian has eliminated its commercial license, making it free for all workplace use! Over 10,000 organizations, including giants like Amazon and Google, already utilize Obsidian. This change simplifies pricing and aligns with Obsidian's manifesto: "everyone should have the tools to think clearly and organize ideas effectively." While no longer mandatory, organizations can still purchase commercial licenses to support development and gain showcase opportunities on the Obsidian Enterprise page.

Read more
Development Note-taking Freemium

The Death of Authenticity: How 'Authenticity' Became a Commodity

2025-01-20
The Death of Authenticity: How 'Authenticity' Became a Commodity

This essay traces the evolution of 'authenticity' in contemporary culture. From the early hipster obsession with independent, non-commodified goods to the current prevalence of marketing terms like 'handmade' and 'small-batch,' authenticity has shifted from a scarce commodity to a ubiquitous one. The author argues that the rise of the internet and social media has lowered the cost of information dissemination, leading to shared value replacing scarcity and ushering in a 'post-authenticity' era. Brands are no longer simply commodities but active participants in shaping culture, demanding a more nuanced approach to critique.

Read more

The Holy Grail of 70s Radios: The Sony FX-300

2025-02-18
The Holy Grail of 70s Radios: The Sony FX-300

A child of the 1970s reminisces about the elusive Sony FX-300 "Jackal 300" radio, a dream machine he never owned. Primarily sold in Japan, this radio boasts a mini CRT television screen, precise analog tuning, a top-mounted cassette player/recorder, AM/FM reception, and a killer retro design. The author praises its unique aesthetics and seeks readers' experiences with this 'holy grail' device.

Read more
1 2 589 590 591 592 594 596 597