Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chkas
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
chkas
4y ago
It now also works with "#" parameter code - which is not sent to the server unnecessarily. https://easylang.online/run/#code=%23%20Pendulum%0A%23%20%0A...
92.
▲
by
chkas
4y ago
Or you click on "Code" on the web page.
93.
▲
by
chkas
4y ago
I looked it up: "#" is the location.hash and sets the anchor part of a URL. And is probably perfect for client side parameters, which is what I need. Such a discussion on HN is really often very helpful. There was a comment here t
94.
▲
by
chkas
4y ago
For me the code is more maintainable if the variable names are not too long. (thres = threshold, n_part = number of particles)
95.
▲
by
chkas
4y ago
It runs in the browser using WASM, not on the server. And it is a beginner-friendly programming language.
96.
▲
by
chkas
4y ago
Thanks. The main motivation was to develop a programming language for beginners. The code runner, the web apps, and the various tutorials were created kind of on the side.
97.
▲
by
chkas
4y ago
URL parameters starting with # sound interesting, since they are obviously not sent to the server.
98.
▲
by
chkas
4y ago
Another demo: https://easylang.online/run/?code=%23%20Mastermind%3Aw90%0A%...
99.
▲
Show HN: Particles – the URL contains the whole program code
(easylang.online)
58 points
by
chkas
4y ago
|
21 comments
100.
▲
Show HN: Program a simple game in a simple language and run it on the smartphone
(easylang.online)
1 points
by
chkas
4y ago
|
0 comments
101.
▲
Show HN: Don't use stream cipher if you can't handle Nonce. Interactive tutorial
(easylang.online)
1 points
by
chkas
4y ago
|
0 comments
102.
▲
by
chkas
4y ago
I hope this interactive tutorial on symmetric encryption is useful. The tutorial consists of examples that run in the browser (using my own simple programming language). It uses the Speck cipher because it is easy to implement with little c
103.
▲
Show HN: An interactive tutorial on symmetric encryption
(easylang.online)
5 points
by
chkas
4y ago
|
1 comments
104.
▲
Show HN: A somewhat old-fashioned programming language
(github.com)
2 points
by
chkas
4y ago
|
0 comments
105.
▲
by
chkas
4y ago
The random number generator of my computer is also over 60 years old - just tested it.
106.
▲
by
chkas
4y ago
I have created a browser-based beginner programming language. It is also well suited for self-study and it is open source. https://easylang.online/ide/
107.
▲
by
chkas
4y ago
I don't understand why you would need Timsort. If the pivot element is chosen randomly, Quicksort is always (or with probability bordering on certainty) O(n log n). Update: I confused Timsort with IntroSort. I should have googled befor
108.
▲
by
chkas
5y ago
This moves noon away from the middle of the day, and midnight from the middle of the night.
109.
▲
by
chkas
5y ago
I would like to refer to this great book that taught me programming. [Sinclair ZX81 BASIC Programming]( http://otremolet.free.fr/otnet/otzx/zx81/basic-progr/ )
110.
▲
by
chkas
5y ago
I often played roulette, and the ball came to rest at 28 about every 3rd time. I always won a lot of money. It was toy money and the imperfect roulette wheel was made of plastic and I was about 10. Of course, this effect can also occur in t
111.
▲
Show HN: Easylang Demo – Programming Is Fun
(easylang.online)
2 points
by
chkas
5y ago
|
0 comments
112.
▲
by
chkas
5y ago
My solution is a black box crack. Test with each added input digit whether with a certain value the output "z" becomes smaller. If not, then try the previous digits again. https://easylang.online/apps/show.htm
113.
▲
by
chkas
5y ago
Yes, that would be nice too. Haskel, APL, modern Python written in a way that is easier to understand and easier to use. This has to be done by someone who is "at home" in these languages. I prefer to go the conventional imperati
114.
▲
by
chkas
5y ago
A while ago I was tinkering with Quicksort and avoiding branch mispredictions. https://easylang.online/blog/qsort_c.html My implementation is pretty fast. At a size of 40 or 50, I switch to Insertion sort, and there th
115.
▲
Show HN: Learn Basics of Programming in 40 Minutes
(easylang.online)
13 points
by
chkas
5y ago
|
3 comments
116.
▲
Show HN: Learn programming for everyone, without the hassle of installations
(easylang.online)
2 points
by
chkas
5y ago
|
0 comments
117.
▲
Show HN: An entry into programming – without the typical hassle and complexity
(easylang.online)
1 points
by
chkas
5y ago
|
0 comments
118.
▲
by
chkas
5y ago
I also read the rest. You wrote that this is the main reason people lose at the casino. This hypothetical casino does not exist, and if it did, it would eventually go bankrupt (costs aside) because the players have more money in total. >
119.
▲
by
chkas
5y ago
> Negative expected value Yes. Also briefly addressed in the post. The simulation already comes close to the calculated value. print 10 * 10000 * (18 / 37 - 19 / 37) > Bankroll management and risk of ruin No. The loss re
120.
▲
by
chkas
5y ago
You can make web apps, for that you need a web space. Or you can install the programs locally in the web browser storage with the code runner - that's a PWA (progressive web app).
More ›