If you try what I wrote it will throw a NaN. I was asking about the first part of the proposal.
- 0 Posts
- 9 Comments
- should also do some string action
Like what kind of string action?
“Hello” + " world" is what everyone can understand. Switch with “-” and it becomes pointless.
rdri@lemmy.worldto Technology@lemmy.world•Discord unveils Discord Orbs, a new in-app currency that users can earn by completing Quests, which reward participants who interact with adsEnglish3·11 days agoI only mean that the requirements are high enough for someone to stop using it at some point, losing users of that server in the process. It might be different if it didn’t require running a server. Or they could choose to host their rooms on some existing server, I guess.
rdri@lemmy.worldto Technology@lemmy.world•Telegram and xAI agreed a one-year deal to integrate Grok into the chat app; Telegram will get $300M in cash and equity from xAI and 50% of subscription revenue.English2·11 days agoI’ll think about if they also somehow prohibit 3rd party clients from removing that AI garbage.
rdri@lemmy.worldto Technology@lemmy.world•Telegram and xAI agreed a one-year deal to integrate Grok into the chat app; Telegram will get $300M in cash and equity from xAI and 50% of subscription revenue.English1·11 days agoI really need some free time in my life to try those arrs with unraid, and telegram bots too…
rdri@lemmy.worldto Technology@lemmy.world•Telegram and xAI agreed a one-year deal to integrate Grok into the chat app; Telegram will get $300M in cash and equity from xAI and 50% of subscription revenue.English6·11 days agoPretty much yes. It has channels so there are news channels, personal channels etc. At some point when I discovered Twitter for myself I hated it so much for not being able to simply read subscribed accounts just like telegram does it. It’s too convenient as a feeds app.
rdri@lemmy.worldto Technology@lemmy.world•Telegram and xAI agreed a one-year deal to integrate Grok into the chat app; Telegram will get $300M in cash and equity from xAI and 50% of subscription revenue.English22·11 days agoMy biggest gripe with it is about electron. I refuse to keep it running on my PC. Even the damned Whatsapp converted to something better.
rdri@lemmy.worldto Technology@lemmy.world•Discord unveils Discord Orbs, a new in-app currency that users can earn by completing Quests, which reward participants who interact with adsEnglish2·11 days agoSeems like you have to keep something running for it to work. Some obscure service relied on it as a support channel and last thing I remember is that matrix server stopped working. Though it would help so much if it would be p2p.
You basically defied the whole NaN thing. I may even agree that it should always throw an error instead, but… Found a good explanation by someone:
And the above example fits that.
Yeah but actually there can be many interpretations of what someone would mean by that. Increase the bytecode of the last symbol, or search for “1” and wipe it from string. The important thing is that it’s not obvious what a person who wrote that wants really, without additional input.
Anyway, your original suggestion was about discrepancy between + and - functionality. I only pointed out that it’s natural when dealing with various data types.
Maybe it is one of the reasons why some languages use . instead of + for strings.