Better HN
topnewbestaskshowjobs
Log inSign up

Existenceblinks

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

Submissions

comment 5y ago · link · parent

With draft 2020-12, you can even have module-like based on [Compound Document spec](https://json-schema.org/draft/2020-12/json-schema-core.html#...)

Now you have tables and relation. Only few people understand the usefulness of Compound Document, currently.

comment 5y ago · link · parent

I had a problem with perf optimization on Html.Lazy long time ago that I can't solved before I moved on.

Since Elm is immutable and lazy render, most of the time, compare underline object reference (referential equality check), the reference (memory location) almost always changes on every update cycle because it needs to update model, thus, a new reference as a result. And that makes Html.Lazy worthless. I had some kind of 1000 html tree nodes, and it rendered every branch every time. I probably did something not right, but I already tried solving that for a few days, no success.

If you have the Elm in Action book, that memory location pitfall is explained on the very last page about when memory location of a object changes.

comment 5y ago · link · parent

That's literally my question too, sorry!

comment 5y ago · link · parent

Yeah, problem spaces of those tools left for indie SaaS to solve is pretty small.

comment 5y ago · link · parent

They bought crap many times, fortunately there's not much of million dollars damage like the old day, they can cancel $50/mo SaaS any time.

comment 5y ago · link · parent

This industry needs some ways to wire up, at least correlation between profitable business that imply some usefulness people willing to pay for, and tech stack they are using. Like real engineering cost/benefit calculation.

"server-side rendering" nowadays only means "Nodejs server", there's nothing conceptually server-side paradigm.

comment 5y ago · link · parent

Developers barely buy things. Excluding infrastructure, You can count with one hand fingers. Be it IDE, Password Manager, Note Talking, .. well I can't come up with things that they aren't already using FREE tools.

comment 5y ago · link · parent

Sounds good in theory. Remember this industry is full of hype and fad. Software developers like brand name like everyone else in other industry. Inferior tech coming from FAANG is going to be adopted faster than superior tech coming from a genius developer, with a lot of excuse e.g. "backed by big corp"

I would say these claimed nerds are very irrational especially those who only consume and barely create and sell software.

comment 5y ago · link · parent

All Indie developers or 1-3 person team need is a Merchant of Record, or simply a SaaS app store without index page like Apple Store. I don't even want to have a /billings page. Please also provide full feature customer portal (refund / cancel / pause / coupon / etc.)

And I want that store to have only literally "one" page for API documentation. All I want to check on my app is `authorized?(user.subscription)`

comment 5y ago · link · parent

It's like a big university sign in front of campus. I never took photo with it from first to last day. It's for outsiders!

comment 5y ago · link · parent

This problem has been said again and again for almost a decade. Are we still "studying" it? I guess it's more obvious than studying criminal thinking. Not more complicated than Mindhunter sort of thing, yet there's no feasible action?

comment 5y ago · link · parent

High level language should have worry-free memory management or memory safety built-in. Javascript does not have this characteristic. If we ever have to removeEventListener anywhere, it's worrisome in general.

comment 5y ago · link · parent

It sounds like a good idea, but is very bad one. I worked on a git deploy product and dogfood was very appealing, turned out it's confusing as fuck. And When things get wrong it's even more confusing, it's like horror time travel movie when you can't find origin to fix consequences.

comment 5y ago · link · parent

My ex-company has similar flow, but fix the terrifying part by (off-git-hosting, i.e. in-memory) merging ALL opened PRs to master and deploying straight to staging server. Any PR can be marked as excluded from a deploy. All PRs are ALWAYS based off master. tldr; master based pull requests as source of release.

comment 5y ago · link · parent

Because:

- No one cares there. There are many elites in Thailand that don't like him. Thai elites only like his father! The current king's behaviour does not spark joy (does not serve their cultural value whatever). I'm quite sure there are more people in Thailand than in Germany who like to criticize the king (and they've been gossiping for many decades!, he does not like these gossip .. he can't throw these elites in jail easily, too much damange)

- Bavaria is nicer than Bangkok apparently since he like riding bikes .. nicer nature than bangkok.

- He likes power, money, women, but he does not like anything that interfere his private life! In thailand, he has to do lots of ceremonies, it's annoying.

comment 5y ago · link · parent

Those 80 years of brainwashing is not working for majority of kids today anymore. 2020 turned out as a year of mass awakening. I have some hope for gen Z teenageers, though uncertainty is very uncertain .. how would they be able to dismantle these network monarchy.

comment 5y ago · link · parent

Thai tech people have different problematic mindset. They do not support lèse-majesté law, but most of them (in my observation) are not progressive either. These coming up gen Z are chasing their pro-capitalism ass (But these tech ppl hide those mindset really well .. not getting caught so easily!)

918.

Jtml – Tagged Template Function(github.com ↗)

2 points · by Existenceblinks · 5y ago · discuss

comment 5y ago · link · parent

Yeah, am silently on your side on this point everywhere you go! Because I already said once and done a good fight.

Stateful (I mean really keep things in assigns) sounds like an inefficient caching. Not all assigns are per user, caching the same things on each process is redundant. And to share these things as one set of data is to put them somewhere else, most likely in a process under the root supervision tree. And there's less point for using LV.

Folks forgot how fast Phoenix.View rendered from controller was (a hello page is microsecond!) it's pretty damn good.

comment 5y ago · link · parent

Synergy looks like "uce" here https://gist.github.com/WebReflection/761052d6dae7c8207d2fcb... But I can see you use "Template Parts" syntax.

Can you explain, what technique you use to update DOM (I'm lazy to walk through code base), is it proxy object like Solidjs, or something like "uhtml". How do you manage to dispose event listener internally (is memory leak possible around that?)

---

Just read some docs it seems like using Proxy!

comment 5y ago · link · parent

I do not see this happens with https://github.com/WebReflection/uhtml/blob/master/DOCUMENTA... family. They are around for quite awhile, and their philosophy is clear from start, do one thing well, small and no tooling.

comment 5y ago · link · parent

> Your browser won't repaint

This is true for DocumentFragment as well.

But I can see objects are lighter. One of my app is tree based .. so DFlex looks interesting to me, but would love to see Svelte style examples to see how easy to build things with it.

Syncing store between collaborative session via backend would be interesting.

comment 5y ago · link · parent

Interesting, first things first, pK and sK naming are conflicts with Primary Key and Surrogate Key, they make me quite confused occasionally.

The data structure looks like it's well-designed for wide range of application.

How is performance compared to DocumentFragment[1], and how DFlex is nicer than Node api[2] that also work with DocumentFragment out of the box?

[1]: https://developer.mozilla.org/en-US/docs/Web/API/DocumentFra... [2]: https://developer.mozilla.org/en-US/docs/Web/API/Node

comment 5y ago · link · parent

Same, I switched 3-4 years ago. My mistake was using LR and never tried something else for long time and wonder why my color grading skill wasn't improved that much. Once I import the same photo to Capture One and grading color the same way I do in LR, I was having a stupid face because it's so much better in anyway in Capture One. It's amazing.

It's wise that they added the heal and clone tools, many people only use those two in PS.

comment 5y ago · link · parent

<I'm not using it> but I tried inspect this page https://www.notion.so/Notion-Template-Gallery-181e961aeb5c4e... in firefox console, the memory tab shows 160MB .. super crazy.

comment 5y ago · link · parent

Hey approach needs server on at least 2 regions to cover 90% of worldwide usage. I guess they only have server in the U.S. and some users may experience some lacking. I'd say having SFO3,FRA and NRT are pretty much enough for global customer.

comment 5y ago · link · parent

> but India is an extremely competitive

This is awful alternative to saying "extremely cheap labour"

comment 5y ago · link · parent

  Jump or not jump
    Jump or not jump
      Jump or not jump
:out_of_range

:the_end

1
303132
41