qwertyasdef

joined 1 year ago
[–] qwertyasdef@programming.dev 2 points 11 months ago (1 children)

Going by the example in the Github, it looks like a right-to-left Lisp with Arabic keywords. Does that fully describe the language or is there more to it than that?

I'd be interested in hearing about the parts that are more influenced by Arabic than Scheme. Are there any beyond the keyword language and writing direction? Like a new keyword that does something useful but has no equivalent in Scheme because the concept isn't easily expressed by an English keyword?

[–] qwertyasdef@programming.dev 4 points 11 months ago (3 children)

As someone who knows very little about Scheme or Arabic, what are some aspects of this language that might be novel or interesting to someone with a background in mainstream languages?

[–] qwertyasdef@programming.dev 8 points 11 months ago

Hey, I like checked exceptions too! I honestly think it's one of Javas's best features but it's hindered by the fact that try-catch is so verbose, libraries aren't always sensible about what exceptions they throw, and methods aren't exception-polymorphic for stuff like the Stream API. Which is to say, checked exceptions are a pain but that's the fault of the rest of the language around them and not the checked exceptions per se.

[–] qwertyasdef@programming.dev 19 points 1 year ago (8 children)

That texture healing looks super nice. Is that something fonts can just do or does it require special editor support?

[–] qwertyasdef@programming.dev 1 points 1 year ago (1 children)

Seconding this request, this is the number one thing that has me keep going back to other apps.

[–] qwertyasdef@programming.dev 8 points 1 year ago

If you don't need to reuse the collection or access its items out of order, you can also use Iterable which accepts even more inputs like generators.

[–] qwertyasdef@programming.dev 2 points 1 year ago (1 children)

Out of curiosity, what is that spoilered book?

[–] qwertyasdef@programming.dev 86 points 1 year ago (8 children)

...What are they actually launching though? I mean I love the payment scheme but I can't get excited over this without an actual good product being sold.

[–] qwertyasdef@programming.dev 0 points 1 year ago

Really? I would argue that pocket calculators are AI

[–] qwertyasdef@programming.dev 4 points 1 year ago* (last edited 1 year ago)

Do you care about modeling the cells? If not, you could represent each row with just a number. When X plays, add 1 to all the rows that include the position they played, and when O plays, subtract 1. If any row reaches +3 or -3, that player wins.

As for rotation/reflection invariance, that seems more like a math problem than a Rust problem.

[–] qwertyasdef@programming.dev 1 points 1 year ago (1 children)

Oh shit that sounds useful. I just did a project where I implemented a custom stream class to chain together calls to requests and beautifulsoup.

[–] qwertyasdef@programming.dev 2 points 1 year ago

This book has been on my reading list for a long time, I really have to get around to it sometime.

view more: next ›