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

Firefox is already fast in a lot of ways. For example, "Recalculate Style" is dead slow on Chrome compared to firefox. I don't know how but it's night and day (over a second difference for 10k+ nodes). Maybe something to do with https://firefox-source-docs.mozilla.org/performance/bestprac...

A better firefox would be a better Chrome that copies optimization technique from firefox. Because "better" means improving the one that 65% of users are already using .. if it's fixable.

Edit: NVM. the tagline is "enhances focus and increases work productivity"

comment 4y ago · link · parent

I guess that's heex. I don't like JSX style but the it's not as crazy as javascript. It's okay. With first-class function, passing a thunk that returns template (not in plain string) around is also extensible. But slot is also okay to me. The trade-off of compile time construct is it's harder to do thing in dynamic way.

comment 4y ago · link · parent

Elixir docs is top-notch, well-organized. Typescript docs is a mess category-wise. Believe it or not Typescript code is going to be buggy than dynamic typed elixir code because it has better defensive mechanism (pattern match + guard + immutability). The only thing I agree is macro, it's designed for human DX .. good though is hard to do interop (programmable).

comment 4y ago · link · parent

Javascript ecosystem from 2013 to today is almost 10 years now, it's a crazy ride. Imagine folks create the whole market out of backbone.js, so much minimalism.

comment 4y ago · link · parent

As a thai whose nation adopted lots of Pali/Sanskrit words, I have to look up the word origin https://www.wisdomlib.org/definition/pracanda because I suddenly understand the meaning of "Prachan", in thai it means "confront". Indian naming always gives sci-fi kind of vibe.

comment 4y ago · link · parent

6. Statistically there's number of data points and there's also weight.

3. Yeah people do that but then the vibe of "language" is gone, just a linter.

5. No jobs.

4. That's why it's not a good idea to coerce dynamic type lang, it barely ends well.

1. Same as 3.

2. Yes

comment 4y ago · link · parent

Yeah likely. My city attracts tourists/backpackers too. As local's perspective, I'm glad they enjoy the difference, but I don't think they have changed at all. It's not like bathing holy water of experience, suddenly you come out pure. No!

comment 4y ago · link · parent

> One of the first steps in learning TS is to change the way you write code to make it easier to type.

I think this is a correct answer. TS is just a different language happened to interop js easier than the others.

comment 4y ago · link · parent

But I'm not speculating ;p I just wonder what arguments could be. "it depends" is generally unuseful for particular context, I interpret it as blank statement.

What I'd expect is .. oh those mostly write libs and frameworks so it's not good fit for that, but then .. well the world of software is compose of libraries.

Public discussion is good! I think that's the point of Ask HN.

460.

Ask HN: Why JavaScript experts tend to not use TypeScript?

9 points · by Existenceblinks · 4y ago · 22 comments

comment 4y ago · link · parent

Yeah. Time travel lesson, as a present self if you see your future self show up, something terrible might already happen! "Why are you here, you did something wrong?"

comment 4y ago · link · parent

Yep, I learnt nothing internally rather than oh nice view, strange place, different way of [people] doing things. It doesn't change me even a bit. People claim that they become a better person. I think at least 50% of them were bullshiting.

comment 4y ago · link · parent

I'm finding ways back but started to realize this .. it's probably one-way ticket. I think we can't fix it but we may be able to put in more good things to have better ratio.

comment 4y ago · link · parent

It's painful. I didn't realize selling apps is very less of building software. Sure market is important, but it's even less than "changing our type of person". If self-promotion or narcissism is not our type, we are doomed.

comment 4y ago · link · parent

> I can survive 4-6 months with no salary

In my experience, how long runway is is not the point. Or, it's not "runway of money", it's a "runway of your soul". Your soul will be eaten alive before running out of money. I hope you will be fine soon.

comment 4y ago · link · parent

Just don't include non-sense jargon in languages we are good to go. Elixir | Elm is dead simple FP you barely care about "FP", it's just module and functions. No monad, typeclass, lens(I still don't know this one, what it is).

comment 4y ago · link · parent

Try finding jobs via non-referrals mode, it's hell on earth. If you disagree that nodejs | reactjs stuff is a good idea, you are doomed!

comment 4y ago · link · parent

I poke around my govt sites .. they are using nextjs mostly now (previously php). New gen developers now got tricked and stuck in this era of poor quality career skills. My firmware friends even write javascript these days .. i'm like .. okay.

comment 4y ago · link · parent

I hear. There's quite many kool-aid words in this area, that keeps coming up. "Island", "partial hydration", "isomorphic", without given context it's just non-sense. Even experienced developers hearing "SSR" would wonder .. wait what, why are you bringing up this obvious "server-sided rendering" .. turns out javascript folks treat it like something no one haven't ever done before. It's all confusing.

comment 4y ago · link · parent

Do more with less. This release already shows well-thought-out design layer shared ABI code for backends .. and optimized generated wasm looks like a killer. Small binary size than Rust, easier to optimize, "proof|correctness" can't help you here!

comment 4y ago · link · parent

Read it through the end, not a single mentioned "javascript" .. and DOM alternatives. I think just don't bother reinventing.

comment 4y ago · link · parent

Remember the whining people don't take action .. but the guys who have been silent all along quit .. suddenly shocking everyone? They will keep saying everything is going great!

comment 4y ago · link · parent

Remix approach which is Shopify is going with is having data loader code separated from client side code. So it could be .. Solid.js or vanilla.js that enables the interaction part. It's always has been this way, this time it's just writing html renderer in js.

comment 4y ago · link · parent

Mix feeling of this Correlation:

React Router -> Remix

Redux -> RSC

Snowpack -> Astro

"This time, we will make it right" kind of feeling.

comment 4y ago · link · parent

I wouldn't be surprised if they swap out liquid and its json based layout config .. despite they keep saying everything is doing great. New gen developer probably got gaslit by React vibe and demands change (admittedly I made this shit up)

comment 4y ago · link · parent

I have strange feeling about these nodejs server based and the direction of the web and the chaotic of Big|VC-backed corps playing chess. And that also causes effect on web job market. .. what's your retirement plan?

comment 4y ago · link · parent

I found most senior tech folks are gone or just tweets non-sense these days. 2012-2017 was a good curve, I think. Like I feel no one is actually give a shit about tech sanity anymore. It's all somewhat identity competition now. Tech brands and business, everyone stopped giving a shit about hacking.

comment 4y ago · link · parent

Basically all on social media, yes, most without business model.

comment 4y ago · link · parent

Until Rust shows me lightweight binary size story.

comment 4y ago · link · parent

> persistent

Question: is it really persisted indefinitely? And will this SQLite file be portable (import and export to somewhere else) ?

1
151617
41