HNHacker News
TopNewBestAskShowJobs

kentor

466 karma · joined June 8, 2013

https://kentor.me/ https://github.com/kentor
submissionscomments
kentor··on Deno 2
The logo is not as cute, sad :(
kentor··on Show HN: InstantDB – A Modern Firebase
Just replaced Firebase with this in my personal notes app. Also removed redux along the way :) This is great!!
kentor··on The most incriminating evidence against Hans Niemann
chess.com's 72-page report[0] alluded to this video, and I'm glad this is what they had to say: "We have concluded that the methodology and the underlying tools used in those analyses do not meet our standard."

[0] https://www.chess.com/blog/CHESScom/hans-niemann-report

kentor··on The Full Chess Cheating Report of Hans Neiman
He's a native speaker, just spent too much time around people with broken English recently.
kentor··on Fresh is a new full stack web framework for Deno
I was pleasantly surprised to find that they finally dogfood Fresh for https://deno.land/

Source can be found here https://github.com/denoland/dotland

kentor··on Use fzf for tmux session switching
Video is cut off on mobile
kentor··on Deno in 2021
I've recently used Deno to implement a couple of bots for a small discord channel, namely webhook handlers for Discord Slash Commands and Twitch's EventSub. It's honestly been amazing. Next to no configuration and deployments are dead simple. Just set up some env vars and push to github to deploy.
kentor··on Exploring Deno Land with Ryan Dahl [audio]
Is there a way to play at 2x speed?

Edit: Oh they're on the overcast app, which allows playing faster.

kentor··on An Interactive Guide to the Fourier Transform (2012)
The 3b1b video was mind blowing. Link: https://www.youtube.com/watch?v=spUNpyF58BY
kentor··on Modern Javascript: Everything you missed over the last 10 years (2020)
Why hate JSX? There are lots of benefits to it, like debuggability and variable scoping rules are exactly those of javascript. Templating languages, on the otherhand, are not debuggable and have awkward scoping rules. And, they always feel broken in one way or another.

JSX is not magical which is what I appreciate the most about it.

kentor··on Modern Javascript: Everything you missed over the last 10 years (2020)
That is just javascript trivia that one rarely encounters in real code, and shouldn't be used to dismiss the entire language.
kentor··on Open-sourcing Sorbet: a fast, powerful type checker for Ruby
My view is you define methods with parameters, you call methods with arguments.

`ArgumentError` is consistent with an error during call time.

kentor··on Weird Ruby: Positive and Negative Strings
Mutable strings was a mistake.
kentor··on TypeScript 3.4
"const a = {}" disallows reassignment to "a" but still allows you to mutate the object e.g. "a.b = 1". The const context does not allow you to mutate the object.
kentor··on Ask HN: What is setup for your static blog generator?
I wrote one for node: https://github.com/kentor/tiny-ssg

No "configuration". All code. You have to assemble the libraries from npm to make anything useful out of it though. Good luck.

kentor··on MyRocks – A RocksDB storage engine with MySQL
Maybe if it weren't plural. You're way over thinking things.
kentor··on Visual Studio Code July 2017 Update
Still no support for 4 column panes :\
kentor··on Netlify Raises $12M from A16Z
Even a thin doctor who stays thin with a terrible diet?
kentor··on Atom 1.19 – Improved Responsiveness and Memory Usage
VSCodeVim is atrocious in handling multiple cursors

amVim does it better, but is missing ; for repeating the last t or f command

kentor··on Malicious crossenv package on npm
if you have yarn run

    yarn why crossenv
to see if you have it in your dependency tree
kentor··on GitHub was down
Why would it?
kentor··on Firefox marketshare revisited
Graceful degradation working though.
kentor··on Functional programming in JavaScript is an antipattern
I have a few large React apps that have been using mostly Immutable.JS from the very beginning, so I rarely run into issues where I need to think whether what I'm dealing with is an Immutable.JS object or plain JS objects. I can see an issue if you are incrementally converting an app to Immutable.JS and dealing with a mix of plain JS objects though.

I have heard criticisms of lisp macros as making it a write-once language. If you're not working on a team then maybe it's fine, but other people aren't gonna want to figure out how your macros work.

kentor··on Top Static Site Generators of 2017
Indeed! It also isn't for people who have "javascript fatigue." And they can use any of the 10 in the list by the OP.
kentor··on Top Static Site Generators of 2017
I wrote my own because I don't like magic, reading a lot of documentation, and I hate templates. Using server side rendering with React is great! https://github.com/kentor/tiny-ssg
kentor··on Node v8.0.0 Released
It would be weird for async functions to be synchronous wouldn't it?

Also the consumer is not required to use await with a called async function. They can use .then on it, or pass it around to other functions that consumes promises. Or, you could pass the async function to decorators that consume promise returning functions. Using experimental decorator syntax:

    @debouncePromise
    async function() {
       ...
    }
Yes it is a trade off of performance for convenience and consistency.

Also... the right side of await will effectively be wrapped in a simple Promise.resolve() if it is not a promise. Proof: http://babeljs.io/repl/#?babili=false&evaluate=true&lineWrap...

kentor··on V8, Advanced JavaScript, and the Next Performance Frontier [video]
There is another talk on that: https://www.youtube.com/watch?v=6v4E6oksar
kentor··on Optimizing React Rendering
Nope. For dom elemenets I have been using `data-{name}` attributes, and pulling them out from the handler using `e.currentTarget.dataset.{name}`
kentor··on APFS filesystem format
I heard there will be copy-on-write for files. For web devs this would save a lot of space and time when copying files from yarn cache to node_modules.
kentor··on Ask HN: Did GitHub just change the default link color?
You're not crazy. I think the people who want such colors (which I'm guessing is a very small minority) should use a custom css, instead of straining the eyes of the majority of users.
Page 1 of 4Next →