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 Would you prefer solid price vs. freemium model for vector maps?
Good question! Answer is yes, and the difference is solid unmetered pricing! ;) Hosting the whole planet by yourself is not cheap either...

Will start by offering nice and easily-stylable tiles, then search etc... And probably will have a free plan as well, let’s see.

I have custom-styled tiles running here if you want to preview: https://aviamaps.com/map

pkstn··on RE:DOM – Tiny turboboosted JavaScript library for creating user interfaces
Check out my talk if you're interested in internals: https://www.youtube.com/watch?v=0nh2EK1xveg&t=410s ;)
pkstn··on RE:DOM – Tiny turboboosted JavaScript library for creating user interfaces
It actually wasn’t, they didn’t use key with ng-repeat in benchmarks. Even Angular 1 was actually faster back then when used correctly:

https://500tech.com/blog/all/is-reactjs-fast

pkstn··on RE:DOM – Tiny turboboosted JavaScript library for creating user interfaces
Agreed!
pkstn··on RE:DOM – Tiny turboboosted JavaScript library for creating user interfaces
But when I wrote that text, React used to be way slower than RE:DOM. It’s gotten faster since that (still slower though).

I could probably update that ”marketing” text.

pkstn··on RE:DOM – Tiny turboboosted JavaScript library for creating user interfaces
The beauty is that you know exactly what’s happening and when.

Debugging is also way easier without long stack traces.

There’s pros and cons in everything.

pkstn··on RE:DOM – Tiny turboboosted JavaScript library for creating user interfaces
Not much, really..
pkstn··on RE:DOM – Tiny turboboosted JavaScript library for creating user interfaces
You can make pure updates in RE:DOM. It’s developed for our digital signage system, and it’s really performant in a real world situations.

It’s different than React though, that’s by design, since we needed more precise DOM handling.

pkstn··on RE:DOM – Tiny turboboosted JavaScript library for creating user interfaces
Fair enough, of course it’s marketing as well. But it’s so common to say ”blazing fast”. Even FB developers argued React being fast even though it used to be really slow.
pkstn··on RE:DOM – Tiny turboboosted JavaScript library for creating user interfaces
Believe me, I wrote the library ;)
pkstn··on RE:DOM – Tiny turboboosted JavaScript library for creating user interfaces
Yeah it’s become way faster that’s true! The thing I have with React (and similar) still is that there’s so much black magic happening. I like to be more in control what’s happening and when.

But usually the bottleneck with React apps are state managing libraries, like Redux etc plus all the other bells and whistles.

pkstn··on RE:DOM – Tiny turboboosted JavaScript library for creating user interfaces
That’s not the case with RE:DOM, since you have a single update function to make pure updates.

I usually create a requestAnimationFrame debounce to have just a single render per animation frame.

pkstn··on RE:DOM – Tiny turboboosted JavaScript library for creating user interfaces
With more complex project there’s benefits of having purely updatable components, the support of just native JS without quirks and knowing exactly what’s happening and when without black magic.

But if course it always depends on the project which way is better.

pkstn··on RE:DOM – Tiny turboboosted JavaScript library for creating user interfaces
It’s a bit of a joke.. ;)
pkstn··on RE:DOM – Tiny turboboosted JavaScript library for creating user interfaces
It’s a bit of a joke, really ;)

As well as ”turboboosted”. Don’t take them too seriously :D

pkstn··on Show HN: Skit – minimal presentation slides for the CLI
I just leave this here:

https://translate.google.fi/?#view=home&op=translate&sl=sv&t...

:D

pkstn··on Modern real-time aviation map of Finland
The map updates automatically every 5 minutes showing in real-time all permanent and temporary danger-, restricted- and prohibited areas, military reservations, restricted areas for aerial photography, obstacles, airfields, aerodromes, VFR waypoints, drone rules, heliports, ...

I'm happy to answer any questions about the map!

pkstn··on Avain.app – secure one-time password manager
I’m working on bringing Avain open source! If you have any questions, I’m happy to share code and ideas behind Avain.
pkstn··on Why Are Newspaper Websites So Horrible?
https://twitter.com/pakastin/status/1039020252791795712
pkstn··on Google internal server error (?)
What the..?
pkstn··on Ask HN: Which stack do you use at your startup?
Ubuntu, node.js, MongoDB, Mongoose, express, RE:DOM, stylus, nib, pug, ...
pkstn··on Nginx Unit
What is this? I've tried to read blog post, product site, these comments and still having really hard time figuring out what is Unit and why?
pkstn··on Show HN: Moon – fast 7k Vue alternative
I believe so too!
pkstn··on Show HN: Moon – fast 7k Vue alternative
:)
pkstn··on Show HN: Moon – fast 7k Vue alternative
There's no keyed benchmark for Moon, that's more difficult to optimize.
pkstn··on Show HN: Moon – fast 7k Vue alternative
yup, and non-keyed is the easiest part :)
pkstn··on Marko – An isomorphic UI framework similar to Vue
Try RE:DOM: https://redom.js.org ;)
pkstn··on Petition to open source Flash
Changed it, thanks for the comment!
pkstn··on Petition to open source Flash
The idea is not to preserve Flash player as is, but to open source Flash spec to make it possible to archive all the good stuff out there!
pkstn··on Penna – Vintage Typewriter-Inspired Bluetooth Keyboard
I haven't seen that many typos for a long time. Wonder if the website is written with that keyboard :D
← PreviousPage 6 of 8Next →