HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ivanceras

no profile record

Submissions

[untitled]

1 points·by ivanceras·2 वर्ष पहले·0 comments

Show HN: Bob-editor – create and edit ASCII art graphically

ivanceras.github.io
6 points·by ivanceras·2 वर्ष पहले·2 comments

Show HN: Bob-Editor

ivanceras.github.io
2 points·by ivanceras·4 वर्ष पहले·0 comments

An Intro to the Sauron Web Framework

blog.chainsafe.io
1 points·by ivanceras·4 वर्ष पहले·0 comments

Show HN: A snappy and resilient Hacker News clone in ~1k lines of rust

github.com
27 points·by ivanceras·5 वर्ष पहले·0 comments

comments

ivanceras
·3 वर्ष पहले·discuss
I'm working on it. I'm the author of svgbob, but it will take me awhile to polish this. https://ivanceras.github.io/bob-editor/
ivanceras
·4 वर्ष पहले·discuss
Rust has macro which allows you to write domain specific language if you want. The examples right now, is written in rust as they are still developing it. You need to have a solid core before building a domain specific language on top it.
ivanceras
·4 वर्ष पहले·discuss
I made something[0] similar, with a few more bugs that are yet to be solved [0]: https://ivanceras.github.io/svgbob-webview/
ivanceras
·5 वर्ष पहले·discuss
I've been using it in production for svgbob. There have been a lot of breaking changes for the past month, but things are starting to stabilize[0] in the 0.43.x release. Hopefully the version stays at 0.43.x and no more breaking changes, due to using better, appropriate or more descriptive names in Struct and functions.

[0]: https://github.com/ivanceras/sauron/blob/master/Changelog.md
ivanceras
·5 वर्ष पहले·discuss
I used both yew and seed, but the svg support is lacking. Both framework don't render svg elements correctly. As I'm the author of svgbob[0], which heavily uses svg. I wasn't satisfied with both of the frameworks, So I created sauron web framework and I was quite happy with the result. Not only I can do an server side rendering for svgbob[0], I can also write a text-editor[1] with it and achieve a ~15ms typing latency.

[0]: https://ivanceras.github.io/svgbob-editor/ [1]: https://ivanceras.github.io/ultron/
ivanceras
·5 वर्ष पहले·discuss
I just `log` and `console_log` crate for showing values in the browser console. It's good enough for most cases.
ivanceras
·5 वर्ष पहले·discuss
Author of sauron here, Yes sauron[0] is very much elm-like than any of the other rust framework, and it's very fast. How fast? Fast enough to be used in a text-editor[1] at ~15ms typing latency. It also suited application that has recurring events such as animation[2]

It also supports server-side rendering, and is used in one of my other opensource project svgbob[3]

[0]: https://github.com/ivanceras/sauron

[1]: https://ivanceras.github.io/ultron/

[2]: https://ivanceras.github.io/futuristic-ui/

[3]: https://ivanceras.github.io/svgbob-editor/
ivanceras
·5 वर्ष पहले·discuss
The js-framework-benchmark used here is really hard to run. I'm not a javascript programmer, I'm always baffled that any of the command listed in the README page always end up in error. I even re-install a new version nodejs but can't make the benchmark run.
ivanceras
·5 वर्ष पहले·discuss
This is some weird bug. I tested it in chrome for android and it doesn't load successfully, but using firefox for android works fine. In the desktop both firefox and chrome works properly. It seems chrome is not consistent in their implementation on other platforms.
ivanceras
·5 वर्ष पहले·discuss
It is because `+` is programmed to have a strong signal to a character than can connect to it from any of the 8 direction, while `.` is only programmed to have a strong signal only to 4 directions (top, left, right, bottom)
ivanceras
·5 वर्ष पहले·discuss
Author of svgbob here, I'm happy to answer any question.