5 ms·
Show HN: Programming is easier than you think
- chrisjj 3y agoCute! "A little game - number guessing" fails to process input on latest Android Chrome.
- chkas 3y agoAre you sure? On a mobile device, it's easy to overlook pressing the enter key. Unfortunately, I can't do it much differently because, as far as I know, you can't reliably detect when the on-screen keyboard is closed.
- chrisjj 3y agoI don't get an Enter key. I get Next which scrolls to next section.
- chkas 3y agoThank you very much for this feedback. On the desktop and under IOS there is the Enter key, on Android there is really only this Next key - weird. I'll have to sort it out. Update: Now there should be an Enter key instead of the Next key.
- chrisjj 3y agoI still get Next.
- chkas 3y agoI suspect that the browser still has the old page saved in the cache. Can you please check this again? The browser should load the current version with this link. https://easylang.dev/apps/tut_learn.html?v2 https://easylang.dev/apps/tut_learn.html?v2
- chrisjj 3y agoNo change. So I deleted site cookies and data. No change. So I emptied browser cache and retried. Now the button label is Done and press works as expected.
- chkas 3y agoThank you for your time and effort. The browser cache can really drive one nuts. I assumed that the URL parameter would force a new request.
- chrisjj 3y agoSuggestion: option to auto-Run upon 1s past each edit.
- chrisjj 3y agoQuestion: why is rect not centered on pen, as is circle?
- chkas 3y agoBecause it has a width and height.
- chrisjj 3y agoSo does circle shape. Yet it is centred on both, whereas rect shape is centred on neither.
- chkas 3y agoI think it's more intuitive this way. When you draw a rectangle, you start with a corner point and then draw the width and height. With a circle, you go to the center and then draw it with a radius.
- chrisjj 3y agoI think that's true only if one uses a compasses for circle. And that circle does not start with pen at centre. In easylang, it does. In my opinion, the easylang positioning shoud not be based on any off-computer drawing process specific to the shape type, but on the result, consistently for all shape types. Only this meets e.g. the expectation that change to shape type retains position. I wish your project every success.
- chrisjj 3y agoIn Piano, quavers are written as crotchets.
- chkas 3y agoThanks, you're great. I wouldn't have noticed that in a hundred years.