ondras
Re:Deno Deploy Demo: a multi-datacenter chat, client+server in 23 line...
on Saturday November 06, 2021 @04:26PM (#29133534)
Right, as jitl suggested. The BroadcastChannel is used to allow cross-datacenter messaging. So every script instance has its own set of clients and forwards incoming client messages to other script/datacenter instances.
I suppose this is not limited to multiple datacenters, but to multiple script instances in one datacenter as well.
Re:Deno Deploy Demo: a multi-datacenter chat, client+server in 23 line...
on Saturday November 06, 2021 @04:24PM (#29133520)
TypeScript...
Deno Deploy Demo: a multi-datacenter chat, client+server in 23 lines of TS
Show HN: Cookie Roller, a tool to create STL models of cylinder-mapped images
Show HN: Dobble / Spot it online Emoji card generator
Show HN: New in Railroad Ink: Offline PWA, Lakes Expansion, Multiplayer
Show HN: Railroad Ink Game Implemented in TypeScript
Show HN: Cyp, a modern web-based client for the Music Player Daemon
Show HN: Browsershot, a tiny NPM module for in-browser screenshots
Show HN: 7DRL Challenge 2019, my CSS-only roguelike browser game (no JavaScript)
Re:Ask HN: What's your favorite elegant/beautiful algorithm?
on Wednesday October 17, 2018 @02:05PM (#18241761)
For me, that would be Eller's algorithm: http://www.neocomputer.org/projects/eller.html
It generates perfect mazes of arbitrary size M*N, using only O(max(M, N)) memory.
Show HN: My quick'n'dirty implementation of 6/6 Time by xkcd
Re:Blocked by JSConf.eu Twitter account
on Monday July 02, 2018 @03:35AM (#17439889)
The "Brendan Eich club" is actually a small inside joke, as the sign was one of the official "features" of JSConf.eu 2011, where Brendan was an invited speaker :)
Re:Blocked by JSConf.eu Twitter account
on Monday July 02, 2018 @03:32AM (#17439875)
Yes, I asked for explanation of rejected proposals in 2017 and 2018. And I received it (they even officially encouraged failed proposers to ask for an explanation).
Re:Blocked by JSConf.eu Twitter account
on Monday July 02, 2018 @03:18AM (#17439838)
Right, the ban only covers following the conference online. Which is why I mentioned the verb in the title.
But it also might be their way of saying "also pls do not attend again, we do not want ya".
Re:Blocked by JSConf.eu Twitter account
on Monday July 02, 2018 @03:15AM (#17439831)
Author here. To clarify: as far as the organizational aspect is considered, those people are competent and top-notch. All the confs were highly professional, their experience with managing this stuff cannot be overlooked. But the social/communication layer is a bit nontransparent, in my opinion.
Blocked by JSConf.eu Twitter account
Show HN: Twenty generations of dragons โ Web edition
Re:Using SVG as image placeholders
on Wednesday November 15, 2017 @02:17AM (#15702029)
I have a JS "port" (not a 1:1 reimpl): https://github.com/ondras/primitive.js
ES2015 remake of the popular 25-line JavaScript Excel-like demo
Re:Show HN: Sleeping Beauty, a 7-day roguelike game
on Friday March 10, 2017 @03:06PM (#13841635)
Yeah, the author is aware. The game is rather easy.
HP regen was added as a fast&hacky way to make the game less difficult (non-regen versions were hard to beat).
(Also, you can F12 your JS console and hack the game's internals to your likings, adjusting your HP as necessary.)
For a non-PoC game, this would need to be more balanced.
Re:Show HN: Sleeping Beauty, a 7-day roguelike game
on Friday March 10, 2017 @02:53PM (#13841528)
Never got around, right. Most of the levels/rooms are okay-ish with respect to doors. What would you expect of a ruined tower hundreds of years old, filled with brambles and fallen plaster...
Re:Show HN: Sleeping Beauty, a 7-day roguelike game
on Friday March 10, 2017 @02:51PM (#13841517)
"Enter" activates a staircase.
Re:Show HN: Sleeping Beauty, a 7-day roguelike game
on Friday March 10, 2017 @02:31PM (#13841337)
Agreed. The overal design direction (have those glyphs "#" as it resembles thorns for a Game of Thorns inside a tower filled with brambles) won over usability in certain cases.
If this was a full-blown game (and not a 7-day proof of concept), I would try to make the combat UI more robust.
Re:Show HN: Sleeping Beauty, a 7-day roguelike game
on Friday March 10, 2017 @02:29PM (#13841315)
Re:Show HN: Sleeping Beauty, a 7-day roguelike game
on Friday March 10, 2017 @01:14PM (#13840697)
Sorry for that. Apparently, that can happen from time to time. Re-loading will give you a fresh dungeon, if you have enough patience for that.
Re:Show HN: Sleeping Beauty, a 7-day roguelike game
on Friday March 10, 2017 @12:42PM (#13840411)
Yes, the game uses some (few) components from the rot.js toolkit.
Re:Show HN: Sleeping Beauty, a 7-day roguelike game
on Friday March 10, 2017 @11:57AM (#13839976)
What about http://www.roguebasin.com/index.php?title=Main_Page ?
Re:Show HN: Sleeping Beauty, a 7-day roguelike game
on Friday March 10, 2017 @11:56AM (#13839969)
Right, there is a line. The game is over, no more content :)