Better HN
topnewbestaskshowjobs
Log inSign up

crimeacs

4 karma · joined Sep 7, 2022 (4y ago) · 10 submissions

Submissions

comment 2w ago · link · parent

Hi! I am maintainer of OpenPetCam - open-source self-hosted Pet Camera and I wanted to share how i used the camera and it's speaker to 3D map the room from a single vantage point.

First, I applied reflection laws to calculate the time it takes for an echo from the floor to reach the camera’s microphone. Then, I used a neural network to generate depth maps and create an initial draft of the 3D space. By scaling this using the echo-location data, I was able to produce a solid 3D representation of my room.

I also experimented with IR (infrared), which turned out to be useful for mapping the materials present in the room—a feature that could prove helpful during the modeling phase. Additionally, I managed to use Wi-Fi signals as a motion sensor.

Curious if you, guys, could suggest where to take it further in terms of physics and whats possible.

2.

Show HN: OpenPetCam – a self-hosted pet camera that goes looking for your dog(github.com ↗)

1 points · by crimeacs · 3w ago · discuss

comment 1mo ago · link · parent

Author here. The films started as a side experiment: could two coding agents (Claude Code and Codex) run an entire short-video pipeline, from script and narration to images, animation, edit, QA and upload, with me only reviewing? Happy to answer anything about the pipeline or the costs.

4.

Twelve AI clay films for $184: The agents cost more than the video model(getsweat.ai ↗)

1 points · by crimeacs · 1mo ago · 1 comment

comment 5mo ago · link · parent

Thanks, paul_knoxops! We will work on that

6.

Show HN: Funnel – Find a convesion leak on any landing page in 30 seconds(funnel.fyi ↗)

5 points · by crimeacs · 5mo ago · 2 comments

comment 6mo ago · link · parent

Author here - quick context so this doesn’t read like a hot take.

Dataset: 148,421 public HN stories from Algolia since 2007, filtered to score ≥5. Split is strictly chronological: train < Jul 2025, val Aug–Dec 2025, holdout Jan 2026+. Random splits are misleading here because kNN features leak future neighbors.

Model: LightGBM with 4 heads: median, p10, p90, and score ≥100 classifier with isotonic calibration. Compiled to plain JS via m2cgen and runs inside a Vercel function — no Python/ONNX/runtime. ~10 MB bundle, sub-ms inference.

Holdout:

* Spearman ρ = 0.33 on log_score

* MAE log = 1.65, roughly ~5x off in raw points

* AUC for score ≥100 = 0.67

* Precision@30 = 0.83

So: not magic. About one-third of the signal seems recoverable from title/context. AUC is below ontology2’s 2014 title-only baseline, around/above recent BERT fine-tunes I found.

Two things I haven’t seen elsewhere:

1. Comment simulator grounds every fake comment in a real top comment from a kNN neighbor, with `[src]`. 2. `/predictions` runs a live calibration ledger against actual HN top 30 every 10 min, so the model can’t hide behind a static benchmark.

Open source, MIT, training scripts included: https://github.com/crimeacs/foresyn-hackernews

I ran the submitted title through the model first. It predicted 32/99 virality and ~12 points. The ledger will soon tell us whether it was calibrated.

Roast away.

8.

148,421 posts later: A model to predict the Hacker News front page(hackernews.foresyn.ai ↗)

15 points · by crimeacs · 6mo ago · 3 comments