HackerTrans
トップ新着トレンドコメント過去質問紹介求人

moigagoo

no profile record

投稿

[untitled]

1 ポイント·投稿者 moigagoo·2 か月前·0 コメント

[untitled]

1 ポイント·投稿者 moigagoo·2 か月前·0 コメント

Relays for Nimony's Standard Library

nim-lang.org
3 ポイント·投稿者 moigagoo·3 か月前·0 コメント

NimConf 2026: Dates Announced, Registrations Open

nim-lang.org
109 ポイント·投稿者 moigagoo·3 か月前·32 コメント

The unreasonable effectiveness of S-Expressions

nim-lang.org
16 ポイント·投稿者 moigagoo·5 か月前·0 コメント

Show HN: Anonymous chat service with no registration or installation required

cannon-chat.online
16 ポイント·投稿者 moigagoo·2 年前·9 コメント

Cliar vs. Click vs. Docopt

moigagoo.nim.town
2 ポイント·投稿者 moigagoo·4 年前·0 コメント

コメント

moigagoo
·24 日前·議論
Is slopcoded somehow better?
moigagoo
·27 日前·議論
No it's not. Araq does use LLM to generate code in Nimony but his approach involves very strict control over the produced code, it's nothing like Bun's Zig to Rust endeavor where they just asked it to dk the migration and it produced a million lines of incomprehensible code. Calling it slopcoding is a misnomer.
moigagoo
·27 日前·議論
My love letter video turned out a bit chaotic, I apologize upfront.

But the core points I make there I can get behind any day of a week. I do think Nim is the best language out there and I'm tired of pretending it isn't (insert the DeNiro-Phoenix-Joker meme here :-)
moigagoo
·3 か月前·議論
On the other hand, this format allows people from all around the world to participate.
moigagoo
·3 か月前·議論
We use custom types for that usually, optionally with parametric polymorphism.

But as others said already, Nimony (codename for the next Nim iteration) introduces revamped concepts which should be even more convenient.
moigagoo
·3 か月前·議論
Please do share your progress with FigDraw. Interactive demoes always look great.
moigagoo
·3 か月前·議論
I plan to give a couple of talks this year.

Can't wait for NimConf, it is way overdue.
moigagoo
·2 年前·議論
Thanks! Feel free to ping me: https://app.cannon-chat.online/#/newcontact?deviceId=neatly-...
moigagoo
·2 年前·議論
Thanks for the kind words!

> Presumably, your server stores a registry of Device IDs and IPs to route messages?

Not IPs but Push API registration objects.

> What about replacing this with some sort of partitioned DHT to make it decentralized?

I guess this could be done but it's a task I can't tackle at this point.

> Also, the messages flow through your servers?

Yes but I don't store them. My API just dispatches the message to the recipient's push service. Which means the message exists on my server only in the form of an in-memory variable for several microseconds between being received and sent further.

> Would it be possible to set up WebSocket connections between the users instead, and how would that compare from a security model perspective?

This generally can't be done in a PWA. OS won't allow a persistent WebSocket to run in background.

Also, this would disclose too much information about a client to all the other clients. Currently, all I know about other clients is their Device IDs which are just random strings.
moigagoo
·2 年前·議論
Yeah Apple kinda hates PWA it seems. I honestly tried to make it usable on iOS but it just fails with anything I'm trying to do.
moigagoo
·2 年前·議論
Exactly! Not only that but the entire message delivery routine as well.
moigagoo
·2 年前·議論
It works fairly well on Android but horribly on iOS because PWA support is very limited on iOS.
moigagoo
·3 年前·議論
The biggest challenge with Enu is that kids don't read or write well, so they're basically sitting there telling youbehat to do and you're just coming up with solutions frantically on the spot.

It just occurred to me, that sounds a lot like actual development for a customer :-)
moigagoo
·3 年前·議論
Love this project. My 6 y.o. son and I used to spend hours with it, it's really fun.
moigagoo
·3 年前·議論
Are you hiring Nim devs?
moigagoo
·3 年前·議論
Congratulations to everyone involved and the entire Nim community!

Nim has been my language of choice for the past decade and I'm really happy with the new features in Nim 2.0. Some of them are real gamechangers for my projects. For example, default values for objects theoretically allow me to make Norm[1] work with object types along with object instances. And the new overloadable enums is something Karkas [2] wouldn't be possible at all (it's still WIP though).

[1] https://norm.nim.town

[2] https://karkas.nim.town
moigagoo
·4 年前·議論
I'd just save a snippet to a file and wait a second for nimsuggest to highlight the errors :-)
moigagoo
·4 年前·議論
As a Python user, I had my a-ha moment with Nim when I realized I didn't need a repl.

With Python, I used repl all the time. There's bpython, ptpython, ipython, and probably a couple more great repls because repl is really important for Python development.

Nim's INim is no match for those. But here's the great part: with Nim you don't have to test code snippets all the time. I get all my error messages before they happen. This felt liberating after Python.
moigagoo
·4 年前·議論
AFAIU she said the agreements were never viewed as a solution for the conflict.

The goal was to cool the conflict down to a state that allowed Ukraine to get better at war: collect arms, build defense lines, train soldiers, etc.

So, in other words, she said the war between Russia and Ukraine was inevitable and even expected and the agreements were introduced to give Ukraine advantage.