Better HN
topnewbestaskshowjobs
Log inSign up

chkas

851 karma · joined Apr 7, 2018 (8y ago) · 273 submissions

https://github.com/chkas
Submissions

comment 6mo ago · link · parent

That should give the same result.

comment 6mo ago · link · parent

You can take a look at this - it's fast even without vector operations, as long as you avoid the branches that are often predicted incorrectly.

https://easylang.online/blog/branchless

3.

Learn to code with browser-based Python and simple graphics functions(python-online.ch ↗)

3 points · by chkas · 8mo ago · discuss

comment 8mo ago · link · parent

I made a similar tutorial for RSA and DH in Easylang—a learning and teaching programming language I developed myself. What makes things a bit difficult is that Easylang doesn't support big numbers.

https://easylang.online/apps/tut_publk.html

comment 1y ago · link · parent

This is mine in my programming language: https://easylang.online/apps/mandelbrot.html?v=hn1

comment 1y ago · link · parent

The physics in the simulation was faulty, that should be better now. Of course there are less collisions in 3D than in 2D. And this catapulting of stars is also an artifact in the discrete computer simulation

https://tiki.li/run/#cod=fVPRbuMgEHznK0aqdGodxSW5S0+uSl/zEVF...

7.

Biocubes – A Visualization of Everything on Earth(biocubes.net ↗)

2 points · by chkas · 1y ago · discuss

comment 1y ago · link · parent

Did some experimenting with gravity, not sure how far the physics is correct, but looks okay

https://tiki.li/run/#cod=dVLbbuIwEH33Vxyp0gqKGhIktKVqeO1HIB5...

9.

The IAC discovers a planetary nebula that destroyed its solar system(iac.es ↗)

1 points · by chkas · 1y ago · discuss

comment 1y ago · link · parent

@design choices: The graphic primitives built into the language - this is not useful for a general purpose language - but in beginner language this is an important motivating factor.

comment 1y ago · link · parent

The aim is to offer beginners a simple and interesting entry into programming. IMO there is an unoccupied niche for this between Scratch and Python. In the days of home computer BASIC, it was easier to learn programming - you switched on the computer and with a few lines of BASIC code you could magically create a nice sine wave on the screen. Nowadays, beginners are often overwhelmed by all the complexity.

comment 1y ago · link · parent

It shouldn't be that complicated. I tried it once with gravity and without limits on the edges. The cluster of stars moved around in 2d space and stars were repeatedly catapulted out, which then disappeared. Maybe you need a super gravity (black hole) in the center to keep it stable.

comment 1y ago · link · parent

Another one - small colliding balls

https://tiki.li/run/#cod=jVPBbtswDL3rKx5QYEgd2FWMDliWaIf+RpG...

comment 1y ago · link · parent

https://easylang.online

comment 1y ago · link · parent

Hello author here. I'm a little surprised to see this on the front page of Hacker News. This is just a simple demo for my educational programming language Easylang. You can easily edit the code and increase the particle count for example. In the IDE you can then create a link with the code embedded in the URL.

https://tiki.li/run/#cod=dVLNbsIwDL7nKT5p0gRDdEGMA9PYM+yO0FT...

16.

Biocubes: A visual representation of biomass and technomass(biocubes.net ↗)

2 points · by chkas · 1y ago · discuss

17.

Advent of Code analysis through the years(jvanelteren.github.io ↗)

20 points · by chkas · 1y ago · 4 comments

18.

An ad-free QR code generator and the handy JavaScript library that comes with it(jsqr.de ↗)

2 points · by chkas · 2y ago · discuss

comment 2y ago · link · parent

Another programming environment for kids with its own simple programming language: https://easylang.online/ide/

comment 2y ago · link · parent

I have programmed a small simulation of colliding balls in 2D.

https://easylang.online/show/#cod=jVPbbptAEH3frzhSpMqJFYppI0...

comment 2y ago · link · parent

Not Logo - but BASIC.

comment 2y ago · link · parent

Maybe a help window where you can select commands like "background" would be helpful.

comment 2y ago · link · parent

Thanks for the suggestion - my native language is not English.

comment 2y ago · link · parent

First JavaScript, now WebAssembly - the world keeps on moving.

comment 2y ago · link · parent

Python is very powerful and can therefore be quite complicated and has some pitfalls for beginners.
12345
10