Pages

sâmbătă, 21 noiembrie 2026

News : Why Linux Is Bringing Rust Into Its Kernel

News : Gemini 4 Neon ski simulator based on real Mont Blanc terrain.

Gemini 4 Neon coded a ski simulator based on real Mont Blanc terrain. Built in @Antigravity with custom shaders and zero pre-made 3D models, it renders carved snow and avalanches live.

Lean 4 : Testing simple FASM assembly with Lean 4.

This Lean 4 program parses, simulates, and formally verifies a simple x86-64 FASM assembly routine. First, it reads the raw assembly text, strips out comments and headers, and extracts 5 executable instructions: loading 10 into rax, adding 25 to rax, moving the result into rdi, setting rax to 60 (the Linux sys_exit syscall number), and triggering syscall. Next, it executes those 5 instructions on a virtual machine model and proves mathematically that adding any two numbers leaves their exact sum in rax. The output confirms the execution succeeded. Parsed ops count: 5 means all 5 instructions were recognized cleanly. The final machine state shows rax holds 60 (the exit syscall code), rdi holds 35 (the result of 10 + 25), and exited is true. Finally, exit code (rdi): 35 confirms the assembly routine computed the right answer and terminated cleanly. Note that the "No connection to Lean" line in your editor simply means the web server briefly timed out after printing the result—your code compiled and evaluated properly.
-- Testing simple program FASM with Lean 4

inductive Reg where
  | RAX
  | RDI
deriving Repr, DecidableEq

inductive FasmOp where
  | movImm (dst : Reg) (val : Int)
  | addImm (dst : Reg) (val : Int)
  | movReg (dst src : Reg)
  | syscallExit
deriving Repr

structure Machine where
  rax    : Int := 0
  rdi    : Int := 0
  exited : Bool := false
deriving Repr

def getReg (m : Machine) : Reg → Int
  | .RAX => m.rax
  | .RDI => m.rdi

def setReg (m : Machine) (r : Reg) (v : Int) : Machine :=
  match r with
  | .RAX => { m with rax := v }
  | .RDI => { m with rdi := v }

def step (m : Machine) : FasmOp → Machine
  | .movImm dst val => setReg m dst val
  | .addImm dst val => setReg m dst (getReg m dst + val)
  | .movReg dst src => setReg m dst (getReg m src)
  | .syscallExit    =>
    if m.rax == 60 then
      { m with exited := true }
    else
      m

def exec (ops : List FasmOp) (init : Machine := {}) : Machine :=
  ops.foldl step init

def trimWs (s : String) : String :=
  let cs := s.toList
  let leftTrimmed := cs.dropWhile Char.isWhitespace
  let rightTrimmed := leftTrimmed.reverse.dropWhile Char.isWhitespace
  String.ofList rightTrimmed.reverse

def normalizeWs (s : String) : String :=
  let cleaned := trimWs s
  let noTabs := cleaned.replace "\t" " "
  let tokens := noTabs.splitOn " " |>.filter (fun p => !p.isEmpty)
  String.intercalate " " tokens

def parseReg? (s : String) : Option Reg :=
  match normalizeWs s |>.toLower with
  | "rax" => some .RAX
  | "rdi" => some .RDI
  | _     => none

def parseLine? (line : String) : Option FasmOp :=
  let rawBeforeComment := (line.splitOn ";").head!
  let codePart := normalizeWs rawBeforeComment
  if codePart.isEmpty || codePart.endsWith ":" || codePart.startsWith "format " ||
     codePart.startsWith "entry " || codePart.startsWith "segment " then
    none
  else if codePart == "syscall" then
    some .syscallExit
  else if codePart.startsWith "mov " then
    let rest := normalizeWs (codePart.drop 4).toString
    let args := rest.splitOn "," |>.map normalizeWs
    match args with
    | [d, s] =>
      match parseReg? d, s.toInt? with
      | some reg, some imm => some (.movImm reg imm)
      | _, _ =>
        match parseReg? d, parseReg? s with
        | some r1, some r2 => some (.movReg r1 r2)
        | _, _             => none
    | _ => none
  else if codePart.startsWith "add " then
    let rest := normalizeWs (codePart.drop 4).toString
    let args := rest.splitOn "," |>.map normalizeWs
    match args with
    | [d, s] =>
      match parseReg? d, s.toInt? with
      | some reg, some imm => some (.addImm reg imm)
      | _, _               => none
    | _ => none
  else
    none

def parseFasm (src : String) : List FasmOp :=
  (src.splitOn "\n").filterMap parseLine?

theorem fasm_add_general (a b : Int) :
    (exec [.movImm .RAX a, .addImm .RAX b]).rax = a + b := by
  simp [exec, step, setReg, getReg]

theorem fasm_add_correct :
    (exec [.movImm .RAX 10, .addImm .RAX 25]).rax = 35 := by
  simpa using fasm_add_general 10 25

def sampleFasm : String :=
  "format ELF64 executable 3\n" ++
  "entry _start\n" ++
  "segment readable executable\n" ++
  "_start:\n" ++
  "\tmov rax, 10\n" ++
  "    add  rax,  25\n" ++
  "    mov rdi, rax\n" ++
  "    mov rax, 60\n" ++
  "    syscall\n"

def testFasmInLean : IO Unit := do
  let ops := parseFasm sampleFasm
  let finalState := exec ops {}
  IO.println s!"Parsed ops count: {ops.length}"
  IO.println s!"Final machine state: {repr finalState}"
  IO.println s!"Exit code (rdi): {finalState.rdi}, Exited: {finalState.exited}"

#eval testFasmInLean

Lean 4 : Gordon Growth model example.

Lean 4 is an open-source programming language and interactive proof assistant where mathematics and code become the exact same thing. Unlike traditional languages like Python or C++ that simply run instructions, Lean is built on dependent type theory. This allows you to write mathematical statements as types and construct their proofs as programs. A tiny, strict verification engine checks every single logical step—if you skip a step, miss an edge case, or make a false assumption, the code simply refuses to compile. This makes Lean 4 especially valuable in modern AI research. While an AI can easily generate a plausible-sounding proof in plain English that hides a subtle flaw, Lean acts as an incorruptible referee, forcing the model to prove every deduction down to the foundational axioms. Beyond formal verification, Lean 4 also compiles to fast C code, making it a capable functional programming language for building real-world software, tools, and simulations.
In short: if your code compiles in Lean 4, your logic is 100% bulletproof. See the online tool.
-- Gordon Growth Model (Constant-Growth Dividend Discount Model) in Lean 4
-- Formula: P0 = D1 / (r - g), where D1 = D0 * (1 + g) and r > g

structure GordonParams where
  d0 : Float -- Last annual dividend per share
  g  : Float -- Constant annual dividend growth rate (e.g., 0.04 for 4%)
  r  : Float -- Required annual return / discount rate (e.g., 0.09 for 9%)
deriving Repr

-- Next year's expected dividend: D1 = D0 * (1 + g)
def expectedDividend (p : GordonParams) : Float :=
  p.d0 * (1.0 + p.g)

-- Intrinsic value P0 = D1 / (r - g) when r > g
def gordonFairValue (p : GordonParams) : Option Float :=
  let spread := p.r - p.g
  if spread > 0.0 then
    some (expectedDividend p / spread)
  else
    none

-- Implied required return r = (D1 / P0) + g for a given market price p0 > 0
def impliedReturn (d1 p0 g : Float) : Option Float :=
  if p0 > 0.0 then
    some ((d1 / p0) + g)
  else
    none

-- Formal algebraic proof:
-- (a + b) - (a + c) = b - c (useful for comparing spread changes: r2 - r1)
theorem spread_difference (a b c : Int) : (a + b) - (a + c) = b - c := by
  omega

def runGordonDemo : IO Unit := do
  -- Example: D0 = $2.00, growth g = 5% (0.05), required return r = 9% (0.09)
  -- D1 = 2.00 * 1.05 = 2.10; spread = 0.09 - 0.05 = 0.04 => Fair Value = 2.10 / 0.04 = $52.50
  let p : GordonParams := { d0 := 2.0, g := 0.05, r := 0.09 }
  let d1 := expectedDividend p
  IO.println s!"Expected Dividend D1: {d1}"
  match gordonFairValue p with
  | some fairVal =>
    IO.println s!"Gordon Fair Value P0: {fairVal}"
    match impliedReturn d1 fairVal p.g with
    | some impR => IO.println s!"Implied Return r check: {impR}"
    | none      => IO.println "Invalid price for implied return"
  | none =>
    IO.println "Invalid parameters: require r > g"

#eval runGordonDemo

News : Patch 0.7.6.0 Digital Chemistry "Brief" Explainer

News : November 2026 Update Trailer: Official Sea of Thieves

News : I let Fable 5.2 build 2 games in my game engine

News : Railguns, Heavy Cannons & Brutally Realistic Damage | In The Black

News : Anno 117: Pax Romana - Dawn of the Delta & Update 3.0 Overview

News : 5 Unreal MCP Tips: Cut Tool Calls from 46 Seconds to 1

News : How to ship an in-browser image generator in under 50 MB .

News : Demonstrating quantum contextuality at scale on the Willow processor | Google Quantum AI

News : Chasing Kaleidorider | A Romance You Can Reach Out and Touch

Tool : Spck Editor / Git Client ... android editor

• Remote Terminal: touch scrolling in full-screen apps, an Enter button for confirmations, and typing fixes.
• Remote CLI: PIN-protected connections, color-coded ping, better reconnection and status warnings.
• Premium Fast Lane: direct WebRTC connections, 2× faster than relay on average.
• Git: fix incorrect status for local projects.
• UI: fix the Translucent Background setting
Official documentation for Spck Editor — a mobile-first code editor with project management, Git integration, syntax highlighting, and a remote CLI for local development. Drive local AI coding agents (Claude Code, Codex, Gemini CLI) from your phone over the Agent Client Protocol (ACP). ...

joi, 19 noiembrie 2026

Tool : SolidCraft - the online open-source parametric 3D CAD application.

SolidCraft is an open-source parametric 3D CAD application written in pure Rust. Sketch on a plane, constrain and dimension the sketch, turn profiles into solids with features on a timeline, and change a parameter to watch the whole timeline rebuild.

News : Meet the New Docker: Built to Run on Trust

News : Godot’s Controversial AI Sponsor Explained from Gamefromscratch.

Google Apps Script : simple processing for pdf files type ...

How to simple processing data from the pdf file type from the XTB website ...
function prelucrareXTBpdf() {
  var ss = SpreadsheetApp.getActiveSpreadsheet();
  var ssFile = DriveApp.getFileById(ss.getId());
  var parents = ssFile.getParents();
  var targetFolder = parents.hasNext() ? parents.next() : DriveApp.getRootFolder();
  
  var sheetName = "XTB_Date";
  var sheet = ss.getSheetByName(sheetName);
  if (!sheet) {
    sheet = ss.insertSheet(sheetName);
    sheet.appendRow(["Nume Fişier", "Data Extragere", "Conţinut Complet Extras"]);
    sheet.getRange("A1:C1").setFontWeight("bold");
  }

  var files = targetFolder.getFiles();
  var countProcessed = 0;

  while (files.hasNext()) {
    var file = files.next();
    var fileName = file.getName();
    
    if (fileName.indexOf("XTB_Document") === 0 && file.getMimeType() === MimeType.PDF) {
      
      // Verificăm dacă fișierul a fost deja adăugat în Sheet
      var dataColA = sheet.getRange("A:A").getValues();
      var alreadyProcessed = false;
      for (var r = 0; r < dataColA.length; r++) {
        if (dataColA[r][0] === fileName) {
          alreadyProcessed = true;
          break;
        }
      }

      if (!alreadyProcessed) {
        Logger.log("Procesez fișierul (conținut complet): " + fileName);
        
        try {
          var blob = file.getBlob();
          var tempFileResource = {
            title: fileName + "_temp",
            mimeType: MimeType.GOOGLE_DOCS,
            parents: [{id: targetFolder.getId()}]
          };
          
          var tempFile = Drive.Files.create(tempFileResource, blob, {convert: true});
          var doc = DocumentApp.openById(tempFile.id);
          var textExtras = doc.getBody().getText();
          
          DriveApp.getFileById(tempFile.id).setTrashed(true);
          
          // Păstrăm textul complet (fără trunchiere la 300 de caractere)
          // Înlocuim doar spațiile multiple excesive, dar păstrăm întreg conținutul
          var textComplet = textExtras.trim();
          
          var dataCurenta = Utilities.formatDate(new Date(), Session.getScriptTimeZone(), "yyyy-MM-dd HH:mm");
          sheet.appendRow([fileName, dataCurenta, textComplet]);
          
          countProcessed++;
          Logger.log("Adăugat complet în Sheet: " + fileName);
          
        } catch (e) {
          Logger.log("Eroare la procesarea fișierului " + fileName + ": " + e.toString());
        }
      }
    }
  }
  
  Logger.log("Prelucrare finalizată. Fișiere noi adăugate în Sheet: " + countProcessed);
}

News : Introducing the new Project Genie, powered by Genie 4

News : Farever | The Obral Ascent - Release Date Trailer

News : Godot Engine – 2026 Showreel.

miercuri, 18 noiembrie 2026

News : How nearly-perfect compression is possible | Information theory, part 3

News : Is Lua too slow for games? We timed it against C++

News : Penny AI.

Say hi to Penny, the friendly face of CodePen AI. Prompt anything you need, like coding help, debugging advice, or using CodePen itself, and you shall receive.

duminică, 15 noiembrie 2026

News : RustGIS v0.7.0 demo

FASM : fractal ascii - 001

Simple fractal ascii with FASM assembly programming.
format ELF64 executable 3

N = 32

segment readable executable

entry main

main:
    lea  rdi, [buf]                ; rdi = output write pointer
    xor  r8, r8                    ; r8 = row y
.row:
    cmp  r8, N
    jge  .done
    mov  rcx, N-1                  ; leading spaces = N-1-y
    sub  rcx, r8
.lead:
    test rcx, rcx
    jz   .cells
    mov  byte [rdi], ' '
    inc  rdi
    dec  rcx
    jmp  .lead
.cells:
    xor  r9, r9                    ; r9 = col x
.col:
    cmp  r9, r8
    jg   .eol                      ; past the diagonal -> end of row
    mov  rax, r9
    and  rax, r8                   ; (x AND y) == x  -> C(y,x) is odd
    cmp  rax, r9
    jne  .blank
    mov  byte [rdi], '*'
    jmp  .adv
.blank:
    mov  byte [rdi], ' '
.adv:
    inc  rdi
    mov  byte [rdi], ' '
    inc  rdi
    inc  r9
    jmp  .col
.eol:
    mov  byte [rdi], 10
    inc  rdi
    inc  r8
    jmp  .row
.done:
    mov  rdx, rdi
    lea  rax, [buf]
    sub  rdx, rax                  ; rdx = number of bytes to write
    mov  rsi, rax                  ; rsi = buffer
    mov  rdi, 1                    ; stdout
    mov  rax, 1                    ; sys_write
    syscall
    xor  rdi, rdi
    mov  rax, 60                   ; sys_exit
    syscall

segment readable writable

buf  rb 8192

News : BitCraft Online – Official 1.0 Launch Gameplay Trailer 4K

miercuri, 11 noiembrie 2026

News : codevember 2026

Daily creative agentic coding experiments for November 2026.
We are organizing a yearly hackathon called Codevember and have also founded the Codevember e.V. club in Tübingen. We like to do some creative things like games, art or fun (software) projects and provide them to the people for free without any advertisement.
The Codevember event (and the core team) exists since 2014, while the club was founded in summer 2021. In the future we plan to provide access to workshops and talks.
We published three Android and one iOS game as well as a telegram bot up to now. Currently we’re working on a bunch of side projects with no specific schedule: Ember and God Hands. If you have any questions, don’t hesitate to drop us and email.

News : WINTERMUTE | Ep One: Do Not Go Gentle | Part 03 | The Long Dark `no commentary'

News : Becoming the captain | The Expanse: Osiris Reborn

News : The Outer Worlds 2: Side Effects Guaranteed - Official Announce Trailer

News : Brand Dossier: VERSATILE | Farming Simulator 25

News : The Dominion War Starship Bundle!

News : S1E1 - Outbreak: Battlelines Teaser

News : Ashes of the Singularity II - Gameplay Trailer | Out Now on Steam

News : DAWN AEROWAR | Launch Trailer.

News : Wish Upon A Llama Trailer | Release Date Announcement.

News : Castlebound – Launch Trailer – Nintendo Switch 2

marți, 10 noiembrie 2026

News : Protocol Explorer vercel website with more protocols!

New: VPNs (WireGuard, IPsec), WebSockets, WebRTC, SMB, BGP, IPv6, Wi-Fi & WPA3, DNS over HTTPS, proxies, and more.
Plus search, keyboard shortcuts, a diagram-only view, and support for 21 languages.

News : The Dominion War Starship Bundle!

luni, 9 noiembrie 2026

sâmbătă, 7 noiembrie 2026

Tools : ProtoFlow: AI PCB Design, from Prompt to Routed Board and SPICE Simulation

News : Mod Spotlight - October 2026 | Farming Simulator 25.

News : Star Trek retro console ...

Look at this retro console Star Trek application with calendar and many features ...
See this on the App Store

Tool : security sshhole website

so openssh on musl linux (alpine, openwrt, buildroot, yocto, and a lot of the docker images you've pulled) has had a little problem since 2016.
accounts that should never take a password at all (root, your key-only deploy user, ldap users, the default user on alpine's aws and azure images) take any password longer than 256 characters.
See the

marți, 3 noiembrie 2026

News : OpenShot 4.1

OpenShot 4.1 is here! Text comes to life directly on your video, heavy 4K+ footage gets automatically optimized for high-performance editing, and our new command-line interface (CLI) lets you or an AI agent like Claude Code or Codex build entire videos. From the first title to the final export, you’re in control.

News : GIMP 3.2.8 release

We’re glad to announce the release of GIMP 3.2.8! This new stable release contains a number of bugfixes and security updates from new and long-time contributors.