HNHacker News
TopNewBestAskShowJobs

princemaple

202 karma · joined July 22, 2012

https://pochen.me/
submissionscomments
princemaple··on Exposed DeepSeek database leaking sensitive information, including chat history
Kinda. Some of them know all the English words in the programming language they code in, and not much else.
princemaple··on Ask HN: What was an interesting project you started and finished over a weekend?
This is so coooool!
princemaple··on Minesweeper with Phoenix LiveView on free-tier fly.io
Original forum post: https://elixirforum.com/t/minesweeper-built-with-liveview-an...
princemaple··on Advent of Code 2021
queue in erlang is a tuple with 2 lists. it reverses the items in one list and put them in the other, if the second was empty, when you try to access the head of the queue. new items still goes into the first list.
princemaple··on Ask HN: Show me your half baked project
A platform for people to build real-time multiplayer games / multi-user apps with ease.

Developers write JS code to only handle the rendering and interaction. Separate game code written in a DSL will be parsed and run on the server. A SDK is provided to help the client side communicate with the game / app server.

A dirty PONG demo at https://dev.byog.live/games/pong

Very early SDK at https://github.com/byog-live/byog-sdk

The PONG demo with more organized code at https://github.com/byog-live/byog-example-pong

A playground was under development to help devs understand the platform and this is where I burnt out https://play.byog.live/

It's been a few months since I last worked on it. Sigh.

princemaple··on Show HN: Angular module for lazy loading images
http://plnkr.co/edit/jUswgyfUneWdnFVQjo4q?p=preview you can see it working here
princemaple··on Sublime Text 3 Beta
not really, but the man spent all his time on S3 development, I think it's the reason that we haven't seen any progress in vintage mode. With S3 beta released, I guess he doesn't need to stick to it every second any more.
princemaple··on Sublime Text 3 Beta
he will go back to it soon, I think
princemaple··on HTML5 Tetris - Practice Work
http://news.ycombinator.com/item?id=5012549
princemaple··on HTML5 Tetris - Practice Work
sorry for disturbing you :)
princemaple··on HTML5 Tetris - Practice Work
Well, html5 can do music and better graphics. It's just me being a noob and not intending to do so. BTW, it took me about one hour and I was/am new to js. It is already the HTML era. Just the very start of it.
princemaple··on HTML5 Snake Game - Practice Work - Enjoy the good old
Post this because my previous post got lots of clicks.

http://news.ycombinator.com/item?id=5012135

http://pochen.me/tetris

http://pochen.me/

princemaple··on HTML5 Tetris - Practice Work
Glad to remind you about all those old memories. I guess the best thing of js is that it runs in browser. :)
princemaple··on HTML5 Tetris - Practice Work
:) worth it. For FUN.
princemaple··on HTML5 Tetris - Practice Work
I didn't expect so many people really click on my link. In case anyone is interested, there's another game, http://pochen.me/snake

Check out the top level domain to see other few experiment works : snow flakes on christmas tree, floating ball propagating wave.

princemaple··on HTML5 Tetris - Practice Work
Yours is much better :)

I did consider about making my tetris game more beautiful, but my girl friend said it doesn't mean anything. I gave it another thought and indeed, it won't sharpen my skill any further.

Anyway, I like yours, its beautiful and enjoyable.

princemaple··on HTML5 Tetris - Practice Work
since there's a refresh key on every browser, I never thought about setting up a restart function... it would be easy to achieve though.
princemaple··on HTML5 Tetris - Practice Work
I believe many tetris games have their own rotation setting. :) if not, I'm just sorry. lol