Venting thread

Topics that can go away
User avatar
alice
Posts: 913
Joined: Mon Jul 09, 2018 11:15 am
Location: 'twixt Survival and Guilt

Re: Venting thread

Post by alice »

WeepingElf wrote: Thu Feb 16, 2023 6:03 am This thing is something I know, too. In my youth, I was skinny; now (at 53) I am not fat, but not particularly thin either (my BMI hovers around 25).
Bizarrely, this is exactly true in every respect about both myself and a good friend, except that I don't know the BMI for either of us.
Self-referential signatures are for people too boring to come up with more interesting alternatives.
User avatar
alice
Posts: 913
Joined: Mon Jul 09, 2018 11:15 am
Location: 'twixt Survival and Guilt

Re: Venting thread

Post by alice »

On a totally different note: does anybody else hate the Rust compiler? It's the least forgiving compiler I've ever met, even more so than the Scala one, and while I know it's for entirely admirable reasons, it's still far from a joy to use.

Alternatively, I've gone soft from doing too much Ruby and Python; YMMV.
Self-referential signatures are for people too boring to come up with more interesting alternatives.
Travis B.
Posts: 6296
Joined: Sun Jul 15, 2018 8:52 pm

Re: Venting thread

Post by Travis B. »

alice wrote: Thu Feb 16, 2023 2:12 pm On a totally different note: does anybody else hate the Rust compiler? It's the least forgiving compiler I've ever met, even more so than the Scala one, and while I know it's for entirely admirable reasons, it's still far from a joy to use.

Alternatively, I've gone soft from doing too much Ruby and Python; YMMV.
I have heard that the whole "borrowing" logic is a major pain in Rust (I have never used Rust by the way), but just because a compiler is not forgiving is not necessarily a problem. Take GHC for instance - getting code to compile under GHC Haskell is a pain, but once it actually compiles there is a good chance that it actually works.
Last edited by Travis B. on Thu Feb 16, 2023 6:50 pm, edited 1 time in total.
Yaaludinuya siima d'at yiseka ha wohadetafa gaare.
Ennadinut'a gaare d'ate ha eetatadi siiman.
T'awraa t'awraa t'awraa t'awraa t'awraa t'awraa t'awraa.
bradrn
Posts: 5723
Joined: Fri Oct 19, 2018 1:25 am

Re: Venting thread

Post by bradrn »

alice wrote: Thu Feb 16, 2023 2:12 pm On a totally different note: does anybody else hate the Rust compiler? It's the least forgiving compiler I've ever met, even more so than the Scala one, and while I know it's for entirely admirable reasons, it's still far from a joy to use.

Alternatively, I've gone soft from doing too much Ruby and Python; YMMV.
I think it all depends on your attitude to programming. If you prize correctness, Rust and Haskell are perfect. If you value dynamicity instead, you’ll hate them.
Conlangs: Scratchpad | Texts | antilanguage
Software: See http://bradrn.com/projects.html
Other: Ergativity for Novices

(Why does phpBB not let me add >5 links here?)
User avatar
alice
Posts: 913
Joined: Mon Jul 09, 2018 11:15 am
Location: 'twixt Survival and Guilt

Re: Venting thread

Post by alice »

bradrn wrote: Thu Feb 16, 2023 5:32 pm
I wrote: Thu Feb 16, 2023 2:12 pm On a totally different note: does anybody else hate the Rust compiler? It's the least forgiving compiler I've ever met, even more so than the Scala one, and while I know it's for entirely admirable reasons, it's still far from a joy to use.

Alternatively, I've gone soft from doing too much Ruby and Python; YMMV.
I think it all depends on your attitude to programming. If you prize correctness, Rust and Haskell are perfect. If you value dynamicity instead, you’ll hate them.
That's a very good observation. In my experience I've encountered numerous situations where there's too much of one and not enough of the other, and I don't think any programming language has yet to strike the best balance. Hence my (futile) attempts at creating my own.
Self-referential signatures are for people too boring to come up with more interesting alternatives.
bradrn
Posts: 5723
Joined: Fri Oct 19, 2018 1:25 am

Re: Venting thread

Post by bradrn »

alice wrote: Fri Feb 17, 2023 3:44 am
bradrn wrote: Thu Feb 16, 2023 5:32 pm
I wrote: Thu Feb 16, 2023 2:12 pm On a totally different note: does anybody else hate the Rust compiler? It's the least forgiving compiler I've ever met, even more so than the Scala one, and while I know it's for entirely admirable reasons, it's still far from a joy to use.

Alternatively, I've gone soft from doing too much Ruby and Python; YMMV.
I think it all depends on your attitude to programming. If you prize correctness, Rust and Haskell are perfect. If you value dynamicity instead, you’ll hate them.
That's a very good observation. In my experience I've encountered numerous situations where there's too much of one and not enough of the other, and I don't think any programming language has yet to strike the best balance. Hence my (futile) attempts at creating my own.
Problem is, ‘the best balance’ is personal — I feel mildly uncomfortable with anything less safe than Haskell. I do have some ideas as to what might be a sensible middle ground which would satisfy most people, but it’s hard to know whether it would actually work well in practice or not. (And given the history of PL design, then answer is probably ‘not’.)
Conlangs: Scratchpad | Texts | antilanguage
Software: See http://bradrn.com/projects.html
Other: Ergativity for Novices

(Why does phpBB not let me add >5 links here?)
Travis B.
Posts: 6296
Joined: Sun Jul 15, 2018 8:52 pm

Re: Venting thread

Post by Travis B. »

To me the ideal "big" language would be a strict-evaluated variation upon Haskell - strict-evaluated to avoid many of the memory issues that plague Haskell. (Even Simon Peyton Jones has stated that if he could redesign Haskell from scratch he'd make it strict-evaluated.)
Yaaludinuya siima d'at yiseka ha wohadetafa gaare.
Ennadinut'a gaare d'ate ha eetatadi siiman.
T'awraa t'awraa t'awraa t'awraa t'awraa t'awraa t'awraa.
User avatar
alice
Posts: 913
Joined: Mon Jul 09, 2018 11:15 am
Location: 'twixt Survival and Guilt

Re: Venting thread

Post by alice »

bradrn wrote: Fri Feb 17, 2023 5:38 am Problem is, ‘the best balance’ is personal — I feel mildly uncomfortable with anything less safe than Haskell. I do have some ideas as to what might be a sensible middle ground which would satisfy most people, but it’s hard to know whether it would actually work well in practice or not. (And given the history of PL design, then answer is probably ‘not’.)
And therein lies the nub of the gist, the root of the problem, the heart of the matter, nay, even the crux of the debate. Some programmers feel uncomfortably restricted with anything resembling any hint of type-checking, others consider anything other than the strictest possible type-checking to be akin to a serious and catastrophic moral breakdown. Don't you love humanity?
Self-referential signatures are for people too boring to come up with more interesting alternatives.
User avatar
Raphael
Posts: 4181
Joined: Sun Jul 22, 2018 6:36 am

Re: Venting thread

Post by Raphael »

alice wrote: Fri Feb 17, 2023 2:39 pmSome programmers feel uncomfortably restricted with anything resembling any hint of type-checking, others consider anything other than the strictest possible type-checking to be akin to a serious and catastrophic moral breakdown. Don't you love humanity?
Oh, I suspect that humanity would probably be even worse if everyone always had the same attitudes towards everything.
Zju
Posts: 830
Joined: Fri Aug 03, 2018 4:05 pm

Re: Venting thread

Post by Zju »

alice wrote: Thu Feb 16, 2023 2:12 pm On a totally different note: does anybody else hate the Rust compiler? It's the least forgiving compiler I've ever met, even more so than the Scala one, and while I know it's for entirely admirable reasons, it's still far from a joy to use.

Alternatively, I've gone soft from doing too much Ruby and Python; YMMV.
g++ says hi
/j/ <j>

Ɂaləɂahina asəkipaɂə ileku omkiroro salka.
Loɂ ɂerleku asəɂulŋusikraɂə seləɂahina əɂətlahɂun əiŋɂiɂŋa.
Hərlaɂ. Hərlaɂ. Hərlaɂ. Hərlaɂ. Hərlaɂ. Hərlaɂ. Hərlaɂ.
rotting bones
Posts: 1301
Joined: Tue Dec 04, 2018 5:16 pm

Re: Venting thread

Post by rotting bones »

Currently, the most usable language might be Q. It's multi-paradigm with functional programming and array processing. Its syntax is incredibly compact (a descendant of APL). The only book on Machine Learning with a functional language that I know of uses it: https://www.fun-q.net/ (Let me know if one exists for Haskell. I only know of articles like this: https://mmhaskell.com/machine-learning) Too bad the free license only lasts for 12 months.

My ideal language would of course infer types in a general effect system of stacking linear transformations. All mutations will be encoded as monads. Since I'm not sure how to create this myself, I'm thinking of a sci-fi novel about it.
bradrn
Posts: 5723
Joined: Fri Oct 19, 2018 1:25 am

Re: Venting thread

Post by bradrn »

rotting bones wrote: Mon Feb 20, 2023 10:19 pm Currently, the most usable language might be Q. It's multi-paradigm with functional programming and array processing. Its syntax is incredibly compact (a descendant of APL).
Q compact? It’s the least compact array language I know of. K is better, though personally I prefer J and its rank system.
My ideal language would of course infer types in a general effect system of stacking linear transformations.
Could you elaborate please? I can’t see how linear transformations are related to effect systems.
Conlangs: Scratchpad | Texts | antilanguage
Software: See http://bradrn.com/projects.html
Other: Ergativity for Novices

(Why does phpBB not let me add >5 links here?)
User avatar
foxcatdog
Posts: 1605
Joined: Fri Nov 15, 2019 7:49 pm

Re: Venting thread

Post by foxcatdog »

The pre vomit limbo is the worst the feeling like you are going to vomit plus the anticipation of another night where getting to bed is difficult is extremely annoying. I throught i was past this problem by now but it happened last night and possibly this night.
rotting bones
Posts: 1301
Joined: Tue Dec 04, 2018 5:16 pm

Re: Venting thread

Post by rotting bones »

bradrn wrote: Mon Feb 20, 2023 11:44 pm Q compact? It’s the least compact array language I know of. K is better, though personally I prefer J and its rank system.
"{$[x=0;1;x*.z.s[x-1]]}"

- Wikipedia
bradrn wrote: Mon Feb 20, 2023 11:44 pm Could you elaborate please? I can’t see how linear transformations are related to effect systems.
I once read a paper about demonstrating the correctness of deep learning architectures by proving theorems on its tensor operations. In linear algebra, every tensor is a function, and tensor multiplication is function application. In my fantasy, we'd separate the categories of effects multiplying various classes of tensors can have. The code will refuse to compile if the operation is semantically invalid even if it can be carried out mechanically.
bradrn
Posts: 5723
Joined: Fri Oct 19, 2018 1:25 am

Re: Venting thread

Post by bradrn »

rotting bones wrote: Tue Feb 21, 2023 12:17 am
bradrn wrote: Mon Feb 20, 2023 11:44 pm Q compact? It’s the least compact array language I know of. K is better, though personally I prefer J and its rank system.
"{$[x=0;1;x*.z.s[x-1]]}"

- Wikipedia
OK, so you’re basically talking about the subset of Q which is similar to K.
bradrn wrote: Mon Feb 20, 2023 11:44 pm Could you elaborate please? I can’t see how linear transformations are related to effect systems.
I once read a paper about demonstrating the correctness of deep learning architectures by proving theorems on its tensor operations. In linear algebra, every tensor is a function, and tensor multiplication is function application. In my fantasy, we'd separate the categories of effects multiplying various classes of tensors can have. The code will refuse to compile if the operation is semantically invalid even if it can be carried out mechanically.
That makes more sense, although from the sound of it I doubt that effects per se are the right abstraction here. Don’t know enough about tensor algebra to say anything more, though.
Conlangs: Scratchpad | Texts | antilanguage
Software: See http://bradrn.com/projects.html
Other: Ergativity for Novices

(Why does phpBB not let me add >5 links here?)
User avatar
alice
Posts: 913
Joined: Mon Jul 09, 2018 11:15 am
Location: 'twixt Survival and Guilt

Re: Venting thread

Post by alice »

deleted; it was entirely pointless.
Last edited by alice on Tue Feb 21, 2023 9:52 am, edited 1 time in total.
Self-referential signatures are for people too boring to come up with more interesting alternatives.
bradrn
Posts: 5723
Joined: Fri Oct 19, 2018 1:25 am

Re: Venting thread

Post by bradrn »

alice wrote: Tue Feb 21, 2023 2:54 am Minor rant: I hope you're not saying that computer programming, and software engineering in general, should be inaccessible to those without the proper theoretical mathematical background.
No, we’re saying precisely that it should be accessible to those without a mathematical background.
Conlangs: Scratchpad | Texts | antilanguage
Software: See http://bradrn.com/projects.html
Other: Ergativity for Novices

(Why does phpBB not let me add >5 links here?)
User avatar
alice
Posts: 913
Joined: Mon Jul 09, 2018 11:15 am
Location: 'twixt Survival and Guilt

Re: Venting thread

Post by alice »

bradrn wrote: Tue Feb 21, 2023 3:07 am
I rather foolishly wrote: Tue Feb 21, 2023 2:54 am something I have since deleted, as you can see
No, we’re saying precisely that it should be accessible to those without a mathematical background.
And I have forgotten how to keep several very similar things separate in my mind at the same time. Please ignore my minor rant in future.
Self-referential signatures are for people too boring to come up with more interesting alternatives.
rotting bones
Posts: 1301
Joined: Tue Dec 04, 2018 5:16 pm

Re: Venting thread

Post by rotting bones »

bradrn wrote: Tue Feb 21, 2023 12:26 am OK, so you’re basically talking about the subset of Q which is similar to K.
Q is K with some macros and stuff to make it more readable in certain domains. IIRC in databases, for example. If you don't believe that Q is commonly used with the concise notation, check out this tutorial: https://youtube.com/playlist?list=PLypX ... iTqJZmVsqm
bradrn wrote: Tue Feb 21, 2023 12:26 am That makes more sense, although from the sound of it I doubt that effects per se are the right abstraction here. Don’t know enough about tensor algebra to say anything more, though.
I don't know what your objection is. Eg. There are tensors that select specific elements of other tensors they are applied to: https://youtu.be/1wPEB2XDMJo (this link is an IIRC) Wouldn't it be appropriate to represent these with an effect system?
bradrn
Posts: 5723
Joined: Fri Oct 19, 2018 1:25 am

Re: Venting thread

Post by bradrn »

rotting bones wrote: Sun Feb 26, 2023 8:40 am
bradrn wrote: Tue Feb 21, 2023 12:26 am That makes more sense, although from the sound of it I doubt that effects per se are the right abstraction here. Don’t know enough about tensor algebra to say anything more, though.
I don't know what your objection is.
My objection is simply that from the sound of it, effects feel like the wrong approach to me. It’s little more than an intuition at the moment, based on the fact that tensors don’t in general represent side-effecting computations, which is what effect systems are best for.
Conlangs: Scratchpad | Texts | antilanguage
Software: See http://bradrn.com/projects.html
Other: Ergativity for Novices

(Why does phpBB not let me add >5 links here?)
Post Reply