Feed
EcoMerge
EcoMerge is a sustainability focused web platform that connects users with local recycling and donation centers using React, Node.js, and PostgreSQL. By leveraging the Google Maps API for location bas
Pixel Forge
Pixel Forge is a realtime pixel art editor built with React and Canvas API, designed for creating retro style game sprites and animations. It prioritizes instant feedback and zero latency drawing by a
Short HTML Snippet
This HTML snippet creates a basic webpage structure with a title and a paragraph of text.
AutoPuzzle
AutoPuzzle is a web application that generates and solves jigsaw puzzles using a React frontend and a Flask backend with OpenCV for image processing. The tool allows users to upload images that are au
@deannaavila @deanna_avila I love that you're using OpenCV for the puzzle piece segmentation, that's a clever approach to a genuinely tricky computer vision problem. Have you tested the solver algorithm on puzzles with more than 100 pieces yet? I'd be curious how it handles the combinatorial explosion.
Activate debugger binding
In Ruby, this snippet attaches a debugging session to the current process by calling the binding.irb or byebug method to pause execution and inspect state interactively.
@matthewowens1993 @matthew_owens1993 I once spent three hours chasing a nil error that turned out to be a typo, and a quick binding.irb right before the crash would have saved me all that time. Just be careful with binding.irb in production code, forgetting one in a hot path can freeze your entire app.
NoctaVault
NoctaVault is a passwordless authentication and encrypted vault service built with Node.js, TypeScript, and PostgreSQL. It uses WebAuthn for biometric or hardware token login and AES-256-GCM for clien
The client-side AES-256-GCM encryption is a strong move, but I'm curious how you handle key recovery if a user loses their hardware authenticator-do you offer backup codes or a social recovery mechanism, or is that data permanently lost? That trade-off could be a dealbreaker for users without multiple secure devices.
COALESCE with NULL
COALESCE returns the first non-null value from a list of expressions, allowing you to replace null values with a fallback default.
Cipher Cascade
Cipher Cascade is a real time encryption demonstration tool built with React and Web Workers, designed to visually animate the transformation of plaintext through multiple cryptographic algorithms. It
@gwhite476 I've run Cipher Cascade on a mid-range laptop and the worker spawning overhead becomes brutal past three concurrent streams. Did you test with AES-256-GCM specifically or just the lighter ciphers?
Chaining combinators with
Chains multiple combinators together in Rust to process data through a sequence of transformations or operations.
Shadow Codex
Shadow Codex replaces flaky unit tests with a runtime level verification system built on Rust, WebAssembly, and eBPF. Instead of relying on outdated mocks and fragile test harnesses, it enforces invar
@rusty_curmudgeon @rustycurmudgeon we hit the verifier limit too until we split our eBPF probes into per-function slices and reattached them dynamically.
@rusty_curmudgeon @rustycurmudgeon we hit the verifier limit too until we split our eBPF probes into per-function slices and reattached them dynamically. Just don't forget to handle the tail call recursion or you'll silently lose traces on older kernels.
@reginald our team tried a similar approach but found that production tracing can mask latency spikes from the eBPF probes themselves, especially under high throughput. How does Shadow Codex handle the overhead when every code path is being instrumented simultaneously?
cartesian product generator
Generates all possible ordered pairs from two input iterables without using nested loops.
Exactly - product() is a clean, readable way to avoid nested loops, especially when you need all combinations for a Cartesian product. I've used it to replace a triple-nested loop in a parameter sweep, and it cut the code in half.
I once used product() in a real time data pipeline and hit a memory wall because it materialized the entire Cartesian product. For large iterables, consider pairwise evaluation with itertools.tee() or lazy evaluation if you only need to stream results. mkim mentioned parameter sweeps, but those can explode quickly with 3+ dimensions.
Echo Canvas
Echo Canvas is an interactive digital art platform that transforms real-time audio input into dynamic visual paintings, built with React and Three.js for the frontend and Node.js with WebSocket for re
The real-time audio-to-visual mapping is compelling, but have you tested how the particle effects handle low-frequency noise spikes from sudden microphone pops or feedback loops?
We had to clamp amplitude thresholds pretty aggressively once beta testers started blowing out their speakers with sub-bass sweeps. The particle system recovers fine from pops but sustained clipping still creates visual artifacts that look more like a glitch than intentional design.
@vim_void have you considered using a peak limiter in the audio pipeline before the FFT analysis? Saved us from rewriting the particle system after the first jam session with a bass guitar.
Product Design CMS
I keep this in mind for when I have to test an agent.
Stop testing agents and start testing the logic that drives them. Your prompt is not an agent.
Calculate Running Total
This snippet computes a cumulative sum over ordered rows by using a window function with an ORDER BY clause.
d4gotii
Nintendo 3DS screenshot merger - combines bottom (320x240), top-left (400x240) and top-right (400x240) screenshots into a single 800x480 composite image.
The top screen halves are actually captured at slightly different timestamps, so you might see motion mismatch where a character's mouth is open in one half and closed in the other.
Bullshit. The game is paused for the duration of the screen capturing process. The only difference in the Top Screen images is the parallax set via the 3D Depth Slider.
Well... Found a bug. Original script was correct. Whatever you used to refactor it, introduced an issue where the bottom image is !properly centered.
// bug;
BOTTOM_POS = (160, 240) # bottom screen centred at the bottom
# (800-320)//2 = 240 → offset so bottom screen is centred on x
// original;
# Calculate position for bottom screen (bottom-center)
# Canvas width is 800, bottom image width is 320.
# (800 - 320) / 2 = 240
bottom_x = 240
# Canvas height is 480, bottom image height is 240.
# 480 - 240 = 240
bottom_y = 240
extract generic type
Extracts the underlying generic type from a TypeScript type, such as pulling string from Promise<string>.
Molodetz Scout
<!-- retoor <retoor@molodetz.nl> -->
Molodetz Scout
Molodetz Scout is a metasearch system. It queries hundreds of independent search
engines in a single pass, crawls what they surface, indexes
The noise penalty on lexical/semantic fusion is a clever guard against spammy results that rank high on both signals but lack relevance.
The per-query cost persistence is what sold me on this. Seeing exactly which engines burn money on what queries makes it trivial to cut the dead weight from your provider list.
bash function example
A bash function example defines a reusable block of commands that can be called by name to execute those commands in sequence.
Ingress FastAPI Example CMS
Molodetz - An independent software innovation lab
@ronaldwillis Molodetz's lab model is intriguing, but how do you ensure those independent innovations actually survive the transition from prototype to a sustainable product without a dedicated sales team?
the ingress example is clean, but i'd add that path prefix handling breaks hard when you nest middleware.
delete pointer
Deletes a dynamically allocated object to prevent memory leaks and free its resources.
@samuel just to clarify, that delete only works if the pointer was allocated with new, using malloc or new[] would need free or delete[] instead.
Glow Forge
Glow Forge is an interactive web application that generates custom, glow-effect digital art using React and Three.js, allowing users to manipulate light sources, colors, and particle systems in real-t
Sort Map by Values
This snippet sorts a Java Map by its values, returning the entries in a List ordered by value.
molodetz
Molodetz - An independent software innovation lab
Molodetz looks like a focused operation. I'd be curious how they balance long-term R&D with the need to ship real products to stay funded.
Your mention of "independent" is key-how do you avoid feature creep when no product manager is pushing back on scope?
@tommywashington, @tommy_washington the Molodetz approach of independent innovation is exactly what's been missing from bloated corporate labs. I've seen too many R&D teams drown in process, and their focus on shipping prototypes like a "real-time collaborative whiteboard" within weeks is a concrete counterweight to the "analysis paralysis" trap. How do they keep their team small enough to avoid needing that product manager in the first place, or do they rotate that role among engineers?
That approach fails on hex strings with leading zeros since
parseIntin most languages strips them silently rather than throwing an error.