Better HN
topnewbestaskshowjobs
Log inSign up

ccheever

466 karma · joined Mar 6, 2009 (17y ago) · 114 submissions

Submissions

comment 5d ago · link · parent

Working on it! Sorry

comment 5d ago · link · parent

(I work on this). Probably 2-3 months.

comment 5d ago · link · parent

Yeah I need to write it by hand. Just haven't had time yet.

comment 5d ago · link · parent

Hi - I work on this project.

Yeah, there are a lot of details to get right. James spent hours and hours and hours poring over details on the Duo, for example. And still users keep finding things. Over 3500 commits since the repo was made public 9 days ago and still a lot of things to fix. I think if we get a community going around it, we can make it quite good though. Exciting that people seem to be into it.

comment 5d ago · link · parent

Hi - I work on this project. Yes it is a pre-alpha preview but I'm working hard on it and there are already some apps in the App Store using it.

The UI code you write gets compiled to a "plan" which is sort of like bytecode but constrained and simpler, so a simple Rust state machine (or JS on the web) can execute it (doesn't need a complex virtual machine with a garbage collector, etc.)

The layout is expressed using CSS terms and so the layout engine is just Taffy, a Rust based CSS engine, with a bunch of patches on top of it.

Each host like iOS, web, etc. then draws the UI with native elements (UISwitch, DOM elements, etc.) or by drawing the pixels itself (Linux, etc.)

comment 6d ago · link · parent

Windows support exists now and will keep getting better and is native (not rendered as a web view).

comment 6d ago · link · parent

Android works now but will still take more work to make it mature.

comment 6d ago · link · parent

Windows is supported now. Will take a while to make it mature.

comment 6d ago · link · parent

Thanks!

comment 6d ago · link · parent

Cool project. I hadn't seen it before somehow.

The main differences I see are that Slint does most of its own rendering whereas Exact tries to use the platform's own renderer (native iOS widgets, etc.). And Exact tries to use CSS for describing styles since agents already know it and it makes it easier to target web without a fat runtime that way.

comment 6d ago · link · parent

Hi - I made this project.

Contract actually constrains what it can express rather than having arbitrarily complex expressions. The constraint is actually sort of the point. Because a Contract file is something the compiler fully understands and not arbitrary code it has to run, one source can be type-checked and formally modeled, and behave the same everywhere. For stuff that doesn't fit into these constraints, you use Rust or TypeScript.

In practice, I've found that you do need ways to express stuff like `count > 0 and not loading` and `price.toFixed(2)`, etc., or else you are moving all of that logic into some other programming language which is just worse in terms of being able to express your UI and typically worse in terms of performance.

Contract has literals, templates, field reads, arithmetic, comparison, boolean logic, the conditional, option match, and a set of utility functions like `formatNumber`, `ceil`, `toLowerCase`, etc.

It doesn't have statements, loops, recursion, assignment, first-class closures, reduce and comparator sorts. A fn is a single non-recursive expression.

re: (b). There actually is a formal language specification in EBNF. It's in the repo. And there is a Lean 4 formalization of things.

re: (c) Stdlib across targets. There is a standard lib and it's implemented and tested across all the different targets. Ex. Numbers are IEEE-754 binary64, modeled in Lean, etc.

comment 6d ago · link · parent

Hi - I made this project. Yes, I agree with you. I will write a README by hand soon.

comment 7mo ago · link · parent

4:33

comment 1y ago · link · parent

Very interesting

comment 1y ago · link · parent

This is really cool.

Just had an employee at our company start expensing BoldVoice. Being able to be understood more easily is a big deal for global remote employees.

(Note - I am a small investor in BoldVoice)

comment 1y ago · link · parent

I work at a company whose legal name is Monterey's Coast, Inc.

comment 1y ago · link · parent

Yes they prevent sideloading.

The scare part refers to warning dialogs that iOS would pop up if you used a link to an external web browser to collect payments. It would warn you that Apple wasn't running the payments and use scary language warning you about potential fraud, etc. to try to scare people away. They would also demand a 27% fee from developers for collecting money on the web outside apps if users were paying from following that link.

comment 1y ago · link · parent

I’m on the Expo team that helped build this. Let us know if you have any questions!

comment 1y ago · link · parent

Hi - I'm the CEO of Expo. LMK if you have any questions or feedback about this! We're pretty stoked about it.

comment 2y ago · link · parent

This is worth checking out.

comment 3y ago · link · parent

Max is also working on https://castle.xyz/ now, another creation tool with some similar properties.

comment 4y ago · link · parent

I've been following this project for a while now, and it's incredibly ambitious. It will take a while to reach its full potential but Jarred is doing an extraordinary amount of very good work on it, and I think there is a very good chance this will turn out to be a pretty big deal.

comment 5y ago · link · parent

I made that tool originally! This looks much more modern and polished. Excited to try this.

comment 5y ago · link · parent

Hi - I worked on this and can answer any questions about it!

25.

Expo Application Services (EAS): Build and Submit(blog.expo.io ↗)

20 points · by ccheever · 5y ago · 1 comment

comment 6y ago · link · parent

Since it isn't very anonymous and doesn't likely have any clear tax advantage, I think the mostly likely reason for the trust is just to avoid probate in California if he passes away. https://www.nolo.com/legal-encyclopedia/california-avoiding-....

comment 6y ago · link · parent

I switched to Ubuntu about 6 months ago and have been shocked at how well it works. It's actually good, not just barely-workable-if-you-are-a-zealot.

I keep a Mac around for when I need to run Xcode or Photoshop but that's about it. And I boot into Windows when I want to play games.

28.

Millions of People Are Using Expo (YC S16) Apps for Covid-19 Symptom Tracking(twitter.com ↗)

18 points · by ccheever · 6y ago · discuss

comment 6y ago · link · parent

I think the way to think about this is that there are some people who figure out ways to do things or invent things that just wouldn't be figured out or discovered by other people.

So, it's not 10x or anything-X even, it's just that, if the stuff that can be uniquely provided by "10x" people is important to you, then you need someone like that. 10 1x developers aren't likely to give you that (except to the extent that you have 10 chances to discover that one of them is actually a 10xer on some dimension).

1234