Hacker Newsnew | past | comments | ask | show | jobs | submit | miniBill's commentslogin

As someone who loves rust: this is dumb. They're not even close to ready

> Had DNSSEC been deployed 5 years ago, Muammar Gaddafi would have controlled BIT.LY’s TLS keys. Yupp. Which is why using bit.ly is a terrible idea unless you live in Lybia


I understand that your comment is meant as a joke but... all the people working on iOS use macOS daily. On their Mac. That they work on.


I mean, it's the same for - say - Photoshop?


No, not at least for Photoshop. If you have the subscription version and fail to pay it downgrades you to the free version which has more limited editing capacity but still has read capacities.

More broadly I think the only subscription products most software developers are used to where access to data is revoked is cloud infra. Most software stuff follows models like Jetbrains (where e.g. you pay for updates but keep the oldest version). E.g. this is how things like SQL Server or other paid DB technologies work, where you effectively are subscribing to yearly updates, but get to keep the current version if you stop paying the subscription fee.


Makes me want to build this physically with a color e-ink display + a standardish 24h clock mechanism


go for it - make it a GitHub with a link to the shopping cart etc.


The former


FFI is still mostly done through ports (or web components, for the view part). This is an intentional choice and likely to stay until 1.0 and beyond


And combined with its inability to provide mature native APIs and its hostility towards libraries containing ports, this essentially kills the language.

Elm's current story for interacting with the wider web ecosystem is "reinvent the wheel a dozen times by DIYing your own wrappers around literally everything". Fine for a trivial toy project, not fine for building production software.

I understand why they made those decisions, and each choice on its own is logical, but that doesn't make the combined outcome any better.


You can also do lunatic things like overload the `Object` prototype and get synchronous FFI by encoding then decoding an object. I do this at work to get locale-aware sorting. I know you know this, but it'll be news to others in the thread.


Haha, yeah I didn't realize there would be a monkey patch route to FFI in Elm. Can't control the runtime. Is there a good read up on this technique?


Slightly important point: it's still safe FFI! Everything that crosses the JS/Elm boundary has to be encoded/decoded from serialized JS Objects. So it's hacky BUT it's not actually unsafe, which is kind of funny. I have an example where I use it to effect locale-aware sort. This repo is a benchmark test of that: https://github.com/perkee/elm-js-sort-ffi-speed-test/tree/ma...


Great hack, thanks! And yea I was missing some native string api when I abandoned Elm at 0.19.


DoH and ECH fix that


Any moment now...



The included sample slaps :)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: