SShortSingh.
Back to feed

Developer Runs Qwen LLM on Bare Metal Using Assembly-Level Code

0
·3 views

A GitHub project titled llm.asm, posted to Hacker News, describes an effort to run the Qwen large language model directly on bare metal without a conventional operating system. The code lives in a repository subdirectory labeled 02-baremetal-os, suggesting it is part of a multi-stage series. The post gathered 16 points on Hacker News at the time of capture, with no comments yet. The article text provided is limited to the repository link and discussion metadata, so details on performance, hardware targets, or model specifics are not available from this source.

Read the full story at Hacker News

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Keep Email Recovery Blocked for Invalid Recipients Before OTP Fallback in SaaS Login

The article recommends SMS OTP as the primary second factor for construction-site SaaS login, with email OTP recovery allowed only after a durable recipient-suppression check. It argues that verification state and recipient eligibility must be kept separate, so a successful send request never grants access. Suppression should be durable negative evidence about a recipient, independent of short-lived OTP challenges that expire. A recipient classified as definitively invalid must stay ineligible across retries, while transient delivery failures should use a different state to avoid unwarranted access denial. The author also notes that delivery acceptance does not prove the intended person received or verified the code.

0
ProgrammingDEV Community ·

Why IoT Models Fail in Production: Feature Engineering Pitfalls in Sensor Telemetry

A common reason IoT models perform well offline but poorly in deployment is mismatched feature computation between notebooks and gateways, rather than the model itself. The article explains how real telemetry differs from tidy tabular data, with irregular arrival times, data gaps, clock resets, and sensors running at different rates. It compares windowing approaches and recommends sliding windows with a short hop for faster fault detection in alerting. It also presents a gap-aware resampling function that keeps missing intervals as NaN, removes duplicate timestamps, and sorts before resampling. A companion streaming rolling-statistics class is offered so gateway computation matches training-time logic.

0
ProgrammingDEV Community ·

Un bot de cripto necesita 42.7% de aciertos solo para cubrir comisiones en Bitso

Con un take profit de 5% y un stop loss de 1%, la comisión taker de Bitso de 0.78% por operación obliga a que el 42.7% de las operaciones alcancen el objetivo solo para no perder dinero. El cálculo se cobra al comprar y al vender, de modo que con órdenes a mercado el costo ida y vuelta suma 1.56%, y con órdenes límite 1.2%. El autor incluye un código en Python para calcular este punto de equilibrio y una tabla que muestra cómo los objetivos pequeños vuelven imposible la rentabilidad. Su simulador con señales de IA sobre BTC y ETH registró un acierto de dirección cercano al 50%, y con take profit y stop loss el resultado fue negativo, por lo que concluye que no conviene operar.

0
ProgrammingDEV Community ·

Checking Passwords for Breaches in the Browser With Web Crypto and k-Anonymity

A DEV Community author describes a method for checking whether a password appears in data breaches without exposing it. The browser computes a SHA-1 hash of the password locally using the Web Crypto API. Only the first five hash characters are sent to the Pwned Passwords range API, while the remaining suffix is compared on the client side. Because many hashes share each prefix, the server cannot determine which password was checked. The article also recommends keeping password inputs out of analytics and logs, using strict CSP headers, and rotating reused credentials if a match is found.