Reddit r/webdev
[SHOWOFF SATURDAY] Do you guys there is way too much things / color saturation in this UI? This is my Roguelike Developer game
Last time I posted this game the UI looked totally different and the UX was honestly pretty rough. I'm happy with where it's at now, but the colors keep bugging me and I can't tell if it's just me staring at it too long. Quick context on what you're seeing: it's a roguelike where you pick a few technologies and use them to answer quizzes. Combos, multipliers, mods, the usual. The cards in the middle are Strikes, basically quiz minigames, and each one is tied to a tech like React, Next or Postgres. The card's color is how you tell which tech it is, so the palette is doing actual work, not just decoration. The bar at the bottom is the Mods Bar. Mods are one off modifiers you pick up during a run, like the cards in a deckbuilder. So: does it read as too much, or is the color earning its place? Roast it. submitted by /u/mister_pizza22 [link] [留言]
/u/mister_pizza22
2026-06-06 23:26
👁 5
查看原文 →
The Verge AI
The mayor of Shelbyville, Indiana, says only people who live in ‘shitty houses’ oppose data center
A proposed $2 billion data center has become a political flashpoint in the small city of Shelbyville, Indiana. And the controversy has only grown more intense after the mayor, Scott Furgeson, was caught on camera saying of the "No Data Center" signs going up that, "I've seen a lot of these all over town, but […]
Terrence O’Brien
2026-06-06 23:05
👁 5
查看原文 →
The Verge AI
82-0 is the best basketball game, to hell with NBA 2K
82-0 marries the stat nerd fun of fantasy basketball with instant gratification and a bit of dumb luck. The goal is to draft a team of players that could (theoretically) have a perfect 82-0 season. Obviously, if you just had free rein to pick whoever you wanted from throughout history, there would be little challenge. […]
Terrence O’Brien
2026-06-06 22:30
👁 8
查看原文 →
Reddit r/webdev
A new stack for turning HTML and CSS into an application layer
Hi all, About three years ago I built a small library called Trig.js to expose scroll data to CSS via data‑attributes. It recently got highlighted as one of the “Enterprise Heavyweights” of scroll animation libraries by CSSAuthor, which made me revisit the idea. I’d always planned to make a Cursor.js, so I built it and then I started wondering, what else could be exposed to CSS variables? That question spiralled into something bigger, and I’ve now ended up creating a full stack of small, browser‑native libraries that all share the same philosophy: Once I reached Keys.js, something clicked. Keys aren’t animation, they’re input. That led to the bigger question, could you build full applications or even games this way? The answer turned out to be yes, and that’s when I came up with State.js. For the first time, here’s the full stack together: Trig-js - exposes scroll data to CSS Cursor.js - exposes mouse/touch position Motion.js - a global clock for CSS‑driven animation Keys.js - exposes keyboard input State.js - a reactive state layer for HTML Gravity.js - a DOM‑element physics engine rendered in CSS Together, these for a declarative application/game engine using the native browser without webGL, webGPU or canvas. Your HTML is your state graph, the CSS is your rendering engine and JS becomes the wiring that connects everything up. These libraries all work independently or together. As every one of these open up capabilities that wasn't possible before that's why they are all individual so you can pick or choose or use them altogether for a complete stack. A few months ago I wouldn’t have believed half of this was possible in the browser without heavy abstractions. It’s made me realise how much capability we’ve historically hidden behind frameworks instead of exposing directly. I’m excited to share this approach and would love to hear your thoughts, ideas, or critiques. If you’re curious about browser‑native reactivity or CSS‑driven rendering, I’m happy to dive deeper.
/u/iDev_Games
2026-06-06 21:50
👁 5
查看原文 →
The Verge AI
Kabuto Park captures the fleeting joy of summer vacation
There are a lot of games that remind me of summer - hot days in the backseat with a copy of Dragon Warrior III, cooling off in the basement while grinding Gran Turismo races - but there aren't a lot of games that are actually about summer. That's part of what makes Kabuto Park so […]
Andrew Webster
2026-06-06 21:00
👁 10
查看原文 →
Dev.to
Quark's Outlines: Python User-defined Methods
Quark’s Outlines: Python User-Defined Methods Overview, Historical Timeline, Problems & Solutions An Overview of Python User-Defined Methods What is a Python user-defined method? When you define a function inside a class, Python does not treat it as just a function. When you call it from an instance, Python changes it into a method. This method knows which object it was called from. It adds that object as the first argument when the function runs. A Python user-defined method joins a function, a class, and a class instance (or None ). It is created when you get a function from a class or an instance. Python binds the instance to the function and forms a method. Python lets you bind a class function to an instance as a method. class Box : def show ( self , word ): print ( " Box says: " , word ) x = Box () x . show ( " hi " ) # prints: # Box says: hi The method x.show is bound to the instance x . Python passes x as the first argument. What does "bound method" mean in Python? When a method is bound, it remembers the instance that called it. A bound method is created when you get a method from an object. It holds a reference to both the function and the instance. Python will pass the instance automatically when you call the method. If you get the same method from the class, Python gives you an unbound method. That means the function is not tied to any one object. Python uses bound methods to remember which object to call with. class Lamp : def turn_on ( self ): print ( " The lamp is now on. " ) l = Lamp () m = Lamp () a = l . turn_on b = m . turn_on a () b () # prints: # The lamp is now on. # The lamp is now on. Each bound method remembers which Lamp it came from. A Historical Timeline of Python User-Defined Methods Where do Python user-defined methods come from? Python user-defined methods grew from early ideas in object-oriented design. In many languages, methods are just functions that get special treatment when called from an object. Python made this clear by lettin
Mike Vincent
2026-06-06 20:36
👁 6
查看原文 →
Reddit r/webdev
P2P file sharing app without cloud, free and open-source
Hello reddit! I am P2P engineer so in my free time was working one little side project I'm excited to share, it's called AlterSend. AlterSend is a free, open-source app for sending files directly between your devices, no cloud, no uploads, no size limits. Files transfer peer-to-peer and are end-to-end encrypted, so nothing is ever stored on a server. GitHub: https://github.com/denislupookov/altersend Features: No accounts No servers storing your files End-to-end encrypted No file size limit Cross-platform (desktop + mobile) Open source The idea was to build a good alternative to the established cloud file-transfer apps, without the cloud. How it works, roughly: AlterSend is built on Hyperswarm, which underneath is a Kademlia DHT. For every transfer we generate a random key that acts as a discovery topic, you share that with whoever should receive the files. Each peer announces itself on the DHT under its own node ID, so peers can find each other directly. A handful of public bootstrap nodes serve as the initial entry point and after that peers discover one another through the DHT without relying on any central server. Once two peers connect, the transfer is direct and encrypted end-to-end. Would love to hear your feedback! submitted by /u/AlgoAstronaut [link] [留言]
/u/AlgoAstronaut
2026-06-06 19:51
👁 6
查看原文 →