Better HN
topnewbestaskshowjobs
Log inSign up

eerimoq

312 karma · joined Sep 19, 2019 (7y ago) · 45 submissions

Submissions

1.

Show HN: Moblin – open-source iOS app for IRL streaming(github.com ↗)

1 points · by eerimoq · 2y ago · discuss

2.

Code search on GitHub now requires login(github.blog ↗)

42 points · by eerimoq · 3y ago · 10 comments

3.

Show HN: GraphQL Client in the Terminal(github.com ↗)

64 points · by eerimoq · 4y ago · 10 comments

comment 5y ago · link · parent

Thanks!

I use a slightly modified version of your beautiful map on my website (https://mys-lang.org/statistics.html). No animations and the green circles are not quite aligned to the hexagons. Works well enough for my use case anyway.

comment 5y ago · link · parent

The CPU usage sky rockets when showing the world SVG in my Chromium browser. Is there any trick to make the animated SVG be less CPU intensive?

6.

Show HN: Bincopy – An alternative to SRecord written in Python(github.com ↗)

2 points · by eerimoq · 5y ago · discuss

comment 6y ago · link · parent

It compiles statically typed Python modules to CPython C extension modules. I do not know the details, but it sounds like that's a major difference to Mys.

comment 6y ago · link · parent

Please do, but I won't promise I will contribute a lot, so don't be disappointed. =)

comment 6y ago · link · parent

This looks promising indeed. Thanks for sharing.

comment 6y ago · link · parent

I'll keep this in mind.

comment 6y ago · link · parent

For me it's pretty simple. I love Python. I like speed. I like embedded. This is an attempt to take advantage of Python's type hints to create fast and hopefully small binaries that can be executed on embedded devices limited amount of resources (both CPU and RAM).

There are probably other languages that would serve the same purpose, but oh well, I can't resist creating another. =)

comment 6y ago · link · parent

I like the idea. If our languages are similar it could even make sense to stop developing one of them and focus on the other, but that's probably far fetched. I'll have a look at yours to get a better understanding of what it looks like and where it shines. Maybe we meet again =)

comment 6y ago · link · parent

Well, probably not. Nim is similar, but I prefer Mys' Python-like syntax. Mys' toolchain will probably be similar to Nim. That is, generating C/C++ code.

Sorry about the confusion. Mys is statically typed. I changed the HN post from strongly to statically to make it clear.

comment 6y ago · link · parent

Nice job.

I don't understand the question. Can you rephrase it? =)

comment 6y ago · link · parent

No, I am not aware of ChocoPy. Thanks for letting me know.

Shedskin uses the Python interpreter if I remember correctly. I aim not to.

comment 6y ago · link · parent

Updated the GitHub repo and the HN post. Thanks.

comment 6y ago · link · parent

It's a wide question, and I don't have a good answer. One obvious difference is the syntax. I prefer Python's syntax over Nim's, but at the same time I find Python slow sometimes and hard to use in embedded systems. I'm aiming to create something similar to Nim's toolchain to address that.

18.

Show HN: Mys – an attempt to create a statically typed Python-like language(github.com ↗)

50 points · by eerimoq · 6y ago · 56 comments

comment 6y ago · link · parent

That's pretty much what I wrote in the first post.

comment 6y ago · link · parent

In my experience most bugs are due to misunderstanding requirements and simply writing faulty logic. Just a few bugs are related to the language itself.

comment 6y ago · link · parent

Of course the language can help the programmer to write better code. High level constructs and easily available libraries that are well tested and widely used helps a lot. However, the biggest problem is not the language, it's that the programmer simply writes faulty code.

comment 6y ago · link · parent

Thank you very much. Very helpful answer. I'll continue to use 52 MHz until I encounter problems (if any).

comment 6y ago · link · parent

Will fix it at some point =)

comment 6y ago · link · parent

I'm just referring to the fec driver kernel module, not the user space software. But I might of course be wrong. I've done lots of iterations trying to optimize the boot time on this tiny embedded system, and it's not always easy to remember all details. It could be that the fec driver is asynchronously probed. I guess I have to try it again at some point. =)

comment 6y ago · link · parent

The goal is to not configure the MMC at all in Linux, but just rely on the bootloader has already configured it.

Btw, where can I find the spec? And where in the spec can I read about this? Is this true even if we know the MMC supports 52 MHz?

comment 6y ago · link · parent

You are right, it probably could. I should try compiling the fec-driver into the kernel and make it asynchronous. Should save a couple of milliseconds, and hopefully not delay entering user space.

comment 6y ago · link · parent

I'm curious as well, and yes, by reboot I mean calling "reboot(RB_AUTOBOOT)". I was under the impression that the ROM code has to start over from the beginning, which I think it does. Maybe it can skip some initialization since the SoC is already up and running. Maybe there is some initial hardware setup that is only done at power on. It's hard to tell as this part of the boot sequence runs closed source NXP code.

28.

Booting embedded Linux in 0.37 seconds on an ARMv7-A CPU at 528 MHz(github.com ↗)

187 points · by eerimoq · 6y ago · 83 comments

29.

Show HN: Messi – Reliable message passing in distributed systems(github.com ↗)

1 points · by eerimoq · 6y ago · discuss

comment 6y ago · link · parent

Amazing!

There are plenty of song on his YouTube channel:

https://www.youtube.com/channel/UCoGRABtFGU7ng79NqF0KuIQ/vid...

12