Better HN
topnewbestaskshowjobs
Log inSign up

Existenceblinks

1,102 karma · joined Jun 12, 2015 (11y ago) · 1,205 submissions

Submissions

comment 4y ago · link · parent

I heard the word "hydration" so many times, I sort of get it, but always have question mark in mind that what's different between hydration and jquery approach?

comment 4y ago · link · parent

> Do NOT jump ahead

True, that's the gist. Though the problem I built the app to solve is quite more complex. It's a rebase all opened pull requests altogether with fresh master every time, every branch is done in immutable way (each branch has a shadow branch of itself). And the bundled branch gets shipped to staging server. Each PR can be marked/remarked as included/excluded for each build (akin to CI).

What I mean by "again and again" is for a full cycle again, not "again" in next commit while rebasing. For example, if you already fixed things while rebase, and you abort in the middle, and you start rebase again, now you start at where you aborted.

comment 4y ago · link · parent

Off-topic: scroll down to their site footer, it is a full page size. I've seen many adopt this pseudo professional look, marketing feeling, like *we have a ton of thing* or *we are really big*. I found it's uncomfortable.

comment 4y ago · link · parent

The truth about web design is there's only a few things that repeat in semantics, that's why lowest level token works. At the end of the day, web design is mostly color, space, font, barely things that are higher. If you have some buttons and form inputs pattern, your design is almost done (excluding non-ui state/behavior).

comment 4y ago · link · parent

Nice landing page. I built git-rerere as a service for a company, they only use it internally. The most annoying part of rebase is resolving the same conflict again and again.

.git/rr-cache is the recorded resolutions that help auto resolve the same conflict by matching "preimage" and re-apply "postimage". You could add this feature, it's a killer even github doesn't have a way to feed in rr-cache.

comment 4y ago · link · parent

Because value / cost is lower, it's much simpler, yet powerful. However, it's unfortunate that its social cost is higher.

comment 4y ago · link · parent

It's great for keeping status quo, anything is great if it's already there. Community and tooling is the result of that, things that exist for a while. But if we want to move forward, advancing tech, TS is just ok-ish (at some point it's not though)

comment 4y ago · link · parent

What I learn from coding for a decade is mistake never makes perfect!

comment 4y ago · link · parent

Would be cool if it replaces javascript. It seems they have knowledge of almost all things needed.

comment 4y ago · link · parent

Could be done with Erlang hot code reload with pull request in between.

comment 4y ago · link · parent

Or make Webassembly text extensible then we could have something like https://github.com/carp-lang/Carp/blob/master/docs/LanguageG...

comment 4y ago · link · parent

I can't come up with reason why you got downvote. This is a fundamental and basic thing on designing type. I'm afraid to comment "merge what?" (genuine question)

comment 4y ago · link · parent

Yeah I also have another comment https://news.ycombinator.com/item?id=31673288 about chance to do something different.

comment 4y ago · link · parent

Same. This proposal could be a chance to gradually move away from insane javascript typing. I think the first thing is to make effect manager and separate DOM API from anything else, and introduce sound typing language on pure side. This way is not messing with any underline engine but API. Webassembly text is a whole new language that can be compiled and interact with javascript. Why can't we have to new sound type language, it doesn't have to have many features since DOM API is still there.

comment 4y ago · link · parent

I think the first thing in design to have sane (sound) type is to separate effects from pure stuff. Browser engine is complex but API shouldn't be, right? It would be great if those compile-to-js lang authors folks also get involved. (those ML based and some others)

comment 4y ago · link · parent

Yep, at the end of the day it's just text editor. I hope UX people with coding skills would re-visiting Paredit and make it mainstream. Designing keystroke for the mass is hard, especially for text heavy (e.g. docs) content.

comment 4y ago · link · parent

The best editor will have no syntax. I'm more into re-visiting structure editor to finally skip lexer and parser altogether.

comment 4y ago · link · parent

No, I'm comparing apple to apple because I didn't say anything about import. Just like comparing 5% and 10%, it's just an opaque unit comparison.

comment 4y ago · link · parent

Typescript people pretend to love type system and its benefits while ignoring languages like this which has type designed from ground up. If Elm had some ways to easily preserve object reference (something like `mut` something or reference type like in Webassembly), that would unlock a lot of js interop stories rather than just `port`.

comment 4y ago · link · parent

codemirror@5.65.5:

  169.3 kB Minified 
  55.8 kB Minified + Gzipped
codemirror@6.0.0:

  310.9 kB Minified 
  98 kB Minified + Gzipped
source: https://bundlephobia.com/package/codemirror@6.0.0

comment 4y ago · link · parent

I don't hate js, I hate bloat, unnecessary dependencies, and unnecessary build tools. All I want to do to be able to use a html view lib is `import`.

comment 4y ago · link · parent

Bloat and slow is really a problem when it comes to GUI app. Slowness means less responsive ui, longer to load is also negative in human's perception. Things get in a way of solving business problem.

comment 4y ago · link · parent

I was trying to compile my internal data and encounter "what's the right way to represent string in Webassembly" so that's why I came up with the demand for tutorial from a toy language because it has less features to worry about.

I don't understand why I got downvoted, it seems HN users with power to downvote just see everything is a nail they wanted to exercise their power.

Anyway, I'd probably write one when I actually implement it. I know linear memory is available but not sure whether or not having GC or mechanism that make memory safe.

comment 4y ago · link · parent

Sadly true, tons of people wouldn't care less if it isn't opportunity involves. Because social animal is mostly passive. You don't show up? We don't look for you even if you have some potentials.

comment 4y ago · link · parent

<form> is very generic construct, it's a constructor the same way programming language constructing data of type. Form is also a function call with inputs as parameters. It's inevitable IMHO.

comment 4y ago · link · parent

Hmm bookmarked. I'm making an structure editor, yeah it never get old! This is quite details and helpful. Lisp and Standard ML are two languages worth learning the basic. Currently I use Webassembly spec as reference for design decision.

comment 4y ago · link · parent

Don't know who to follow now honestly, it's all boring. My followings are pretty diverse.

comment 4y ago · link · parent

I hope someone would create a tutorial which is using a toy programming language to compile to webassembly from scratch. Using existing language is too opaque to understand anything.

comment 4y ago · link · parent

There are also twitter extension apps coming up that helps flooding twitter. And tech twitter is not moving on yet on meme and drama.

comment 4y ago · link · parent

I really hate this building audience things in the past couple years. It makes me want to quit twitter.
1
242526
41