realharo

joined 1 year ago
[–] realharo@lemm.ee 1 points 11 months ago* (last edited 11 months ago)

Well you don't have to place it in a separate function, nothing stops you from inlining that part and writing li or whatever directly there.

It's up to you how you organize your components.

[–] realharo@lemm.ee 0 points 11 months ago* (last edited 11 months ago) (3 children)

But why bother with creating a new language, and duplicating all the features your language already has, in a weird way?

If I want a list of UI items based on an array of some data, I can just do items.map(item => 〈Item key={item.id} item={item} /〉), using the normal map function that's already part of the language.

Or I can use a function, e.g. items.map(item => renderItem(item, otherData)) etc.

JSX itself is a very thin layer that translates to normal function calls.

[–] realharo@lemm.ee 0 points 11 months ago* (last edited 11 months ago) (5 children)

Still better than whatever the hell this is

https://vuejs.org/guide/essentials/template-syntax

The more you scroll down, the worse it gets.

And this too: https://vuejs.org/guide/essentials/list

A new separate language with features that already existed in the original language (and worked with all its tooling, etc.)

[–] realharo@lemm.ee 3 points 11 months ago* (last edited 11 months ago) (8 children)

Custom template language and custom DOM attributes are way weirder than just using language-native constructs (ternary operator, map/filter, variables, functions, etc.) directly like you can in JSX.

[–] realharo@lemm.ee 11 points 11 months ago* (last edited 11 months ago)

This is a specific case where former immigrants are leaving in supposedly significant numbers.

[–] realharo@lemm.ee 6 points 11 months ago* (last edited 11 months ago) (2 children)

Just get rid of the pretense and make a proper market for delivery orders with bids and asks.

Then you can place a limit order for your pizza, to be delivered whenever there is someone willing to deliver at or below your stated price, and vice versa.

[–] realharo@lemm.ee 22 points 11 months ago

I keep hearing how good AI is at coding these days, why can't they just use it to rewrite all the model and library code up to full AMD support?

/s

[–] realharo@lemm.ee 2 points 11 months ago* (last edited 11 months ago)

Thanks, the second link talks about this in the "data.plist" and Mac serial numbers section.

[–] realharo@lemm.ee 5 points 11 months ago (3 children)

Why would they do that? This thing aligns with their interests (more money in the industry)

[–] realharo@lemm.ee 7 points 11 months ago* (last edited 11 months ago) (4 children)

Doesn't iMessage require some sort of Apple-issued device id? A key, unique to a device, hard-coded in the SoC? (which is easy to block if over-used).

Which is why hackintoshes used to require crazy workarounds to get this working, even with Apple's own software, if I remember correctly (never tried myself, could be wrong).

How did they get around this? (did they?)

[–] realharo@lemm.ee 1 points 11 months ago* (last edited 11 months ago)

Replacing the battery in your light switch is something you do maybe once every 3 years.

And you can still use your phone as a backup remote.

view more: ‹ prev next ›