HNHacker News
TopNewBestAskShowJobs

pkstn

760 karma · joined May 9, 2015

Senior web developer. Creator of RE:DOM, Deck of Cards. https://github.com/pakastin

[ my public key: https://keybase.io/pakastin; my proof: https://keybase.io/pakastin/sigs/Hc6PdXGGGE6Q2wtbt2nqz2s4OyQwuHrpyoRWIlBWraY ]

submissionscomments
pkstn··on Bose Hearphones
> Error messagePDOException: SQLSTATE[HY000] [1040] Too many connections in lock_may_be_available() (line 167 of /var/app/current/hearphones/includes/lock.inc).
pkstn··on Ask HN: What simple tools or products are you most proud of making?
https://redom.js.org
pkstn··on Ask HN: Why so many JavaScript frameworks?
I bet majority of frameworks are built for a certain project/need. At least mine are (RE:DOM for example, https://www.redom.js.org).
pkstn··on Show HN: Sorting 50K Array, HTML5 Web Worker Demo
Check out localStorage: it's change event is shared instantaneously between tabs
pkstn··on RE:DOM – Tiny DOM library
To be honest, I just wanted feedback about the experimental approach.. It's only version 0.0.x
pkstn··on RE:DOM – Tiny DOM library
check out frzr.js.org - I'm using that aproach there..
pkstn··on RE:DOM – Tiny DOM library
Try my other project, FRZR: https://frzr.js.org – RE:DOM is more of an experiment in this point..
pkstn··on RE:DOM – Tiny DOM library
Check out FRZR: https://frzr.js.org – RE:DOM is all about experimenting with ES2015. And actually the whole core of both projects are ES5 – you don't have to use the new syntax.. ;)
pkstn··on RE:DOM – Tiny DOM library
When you're writing a large application, things can get quite complicated with just HTML..
pkstn··on RE:DOM – Tiny DOM library
Vue is great as well! I like to know how things work also under the hood, so debugging/profiling on every level is much easier.
pkstn··on RE:DOM – Tiny DOM library
Check out my other project as well: https://frzr.js.org - it's quite similar but with a bit easier syntax :)
pkstn··on RE:DOM – Tiny DOM library
Yeah, check out my another library FRZR too: https://frzr.js.org

Point is to be able to design: 1) how you create component 2) how you update it Both 1) and 2) are just simple functions.

pkstn··on RE:DOM – Tiny DOM library
Yeah, I'm using similar technique with FRZR as well (https://frzr.js.org), but with RE:DOM I wanted to experiment with ES2015 and also break the API to smaller parts, which you can replace with your own if you like..
pkstn··on RE:DOM – Tiny DOM library
I explain a similar case in my presentation about my another library FRZR: https://youtu.be/0nh2EK1xveg
pkstn··on RE:DOM – Tiny DOM library
Riot is great, I'm one of the contributors also. Just like to experiment with things and created FRZR, RZR and now this. The main issue with Riot is, that it's still rather slow. And complex, if you want to understand 100% how it works under the hood.
pkstn··on RE:DOM – Tiny DOM library
Template libraries are fine, but there are cases where you hope you could just write JavaScript..
pkstn··on RE:DOM – Tiny DOM library
When you build large applications, things are not always that simple.. If you want to be able to init the app and then start to update it with minimal work and maximum performance, HTML itself is not enough.
pkstn··on Reddit for iOS and Android
Not available in my country (Finland) :'(
pkstn··on Barcode attack technique
I wonder would similar technique work with RFID's..?
pkstn··on Cool new JavaScript view library
Example project added: http://pakastin.github.io/frzr-todo/
pkstn··on Cool new JavaScript view library
Fixed now, thanks! https://frzr.js.org/example/index.html
pkstn··on HTML5 Deck of Cards
I don't see any problem using couple of SVG image files for example.. The problem is that I'm not such a great drawer myself. In the first version I just used big J, Q, K like this: http://pakastin.fi/cards_2006
pkstn··on HTML5 Deck of Cards
Open Sans is used everywhere in the page. Also the buttons on top..
pkstn··on HTML5 Deck of Cards
That's already on the "todo" list - check out readme ;)
pkstn··on HTML5 Deck of Cards
:)
pkstn··on HTML5 Deck of Cards
Actually only 52 :D

But yeah, I agree about googling part: I remember having Googled "tilde javascript" and "pipe javascript".. :)

Tilde is useful with indexOf:

if (~array.indexOf(item)) {}

..equals to:

if (array.indexOf(item) > -1) {}

pkstn··on HTML5 Deck of Cards
Thanks! I look forward to seeing what other people make out of it.. :)
pkstn··on HTML5 Deck of Cards
Yeah, translates and transitions.. Both are CSS3
pkstn··on HTML5 Deck of Cards
Maybe you begin to think about gambling, women, fast cars, Vegas.. :)
pkstn··on HTML5 Deck of Cards
:D
← PreviousPage 7 of 8Next →