Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jmmv
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
361.
▲
by
jmmv
4y ago
Correct. They go up to 256. The numbers map to the "typical" X11 colors and the table is here: https://github.com/endbasic/endbasic/blob/ac3eb5622a6db0beb4... I've thought about adding other wa
362.
▲
by
jmmv
4y ago
Thanks for the suggestion. I've never liked keeping some of these settings hardcoded and wanted to provide some kind of configuration file to tune them. Knowing that there is an important usability issue around them helps prioritize. I
363.
▲
by
jmmv
4y ago
But why do you think the lack of GC is a showstopper for using the language for learning purposes? Or am I misunderstanding your comment?
364.
▲
by
jmmv
4y ago
That’s a very interesting idea! But note that EndBASIC runs on the desktop just fine compiled to native code; no WASM involved. And it will not become an Electron app :P
365.
▲
by
jmmv
4y ago
Hadn’t thought about it at all, so no plans. But maybe? First I have to get to records and then we will see :)
366.
▲
by
jmmv
4y ago
Ok ok, it's probably not thaaaat hard technically, but it's a fair amount of work :) I haven't looked into it at all yet. Once I start doing so, I will probably reach out to you. Need a few days off before taking this on thou
367.
▲
by
jmmv
4y ago
Not yet. I'm tempted to add custom functions first for which the AST evaluator should be sufficient. And anyway, even though not as retro, named functions are better than a mess of numbered GOSUBS... Which means that if I even get to G
368.
▲
by
jmmv
4y ago
EndBASIC has graphics support. Not with that syntax, but hopefully similar enough. You can try things like this: GFX_LINE 100, 100, 200, 200 GFX_RECTF 300, 300, 400, 500
369.
▲
by
jmmv
4y ago
It's all client-side, unless you use the cloud service to fetch the tiny programs that are shared, like this one: https://repl.endbasic.dev/?run=jmmv/bounce.bas -- and those requests are cheap and infrequent right
370.
▲
by
jmmv
4y ago
This is what's coming next. I've so far been carried away building the environment around the tiny language, but it's time to start making the language usable -- and user supplied functions are the very next work item to comp
371.
▲
by
jmmv
4y ago
Indeed. The difficulty in manipulating graphics is what most puzzles me these days. We have these amazing graphics cards and screens, but all we can do is output text by default in most languages, and drawing anything requires large librari
372.
▲
by
jmmv
4y ago
I was mostly targeting the ability to write some simple games that combine graphics, some peripheral input, and sound. Mostly a toy though, but who knows: the future is unchartered :)
373.
▲
by
jmmv
4y ago
Try typing EDIT.
374.
▲
by
jmmv
4y ago
Oh really? That must have been too advanced for when I played with it back in the day :) I'm looking at the CPC6128 manual right now and cannot find "shadow" in it though; what are the right keywords to find this?
375.
▲
by
jmmv
4y ago
The console is hand-crafted and implemented as an HTML or SDL canvas to support rendering text and graphics at the same time. I haven't implemented text selection nor copy/paste on top of that yet (and it isn't in my list of
376.
▲
by
jmmv
4y ago
Yeah, there are no line numbers (although 0.3 had them!) nor GOTO. I think this is the main thing I'll add in the upcoming 0.10 because it's what everyone asks for :) https://www.endbasic.dev/docs.html#lang-goto
377.
▲
by
jmmv
4y ago
Use a colon to separate statements. LOCATE 5, 5: PRINT "Hi" should do the trick.
378.
▲
by
jmmv
4y ago
Take a look at the docs page in the website ( https://www.endbasic.dev/docs.html ) and the demos at the top of the gallery ( https://www.endbasic.dev/gallery.html ).
379.
▲
by
jmmv
4y ago
Author of EndBASIC here. Surprised to see this show up on the front page today. AMA!
380.
▲
by
jmmv
4y ago
Nice article, and happy to see it on the front page! QBasic was very impressive for its time. It feels as if we lost that kind of integrated editor sometime in the 90s and are now only coming up to a similar level of integration... at a muc
381.
▲
by
jmmv
4y ago
What happens when your financial institution or your doctor, whose IT departments run Linux on their servers to handle your personal data, install such insecure software?
382.
▲
by
jmmv
4y ago
> Why do people spend so much energy shooting down a language nobody uses? If you don’t like it you don’t have to use it. Because this language isn't made by a nobody. It's made by a popular person with a following, so the lang
383.
▲
by
jmmv
5y ago
What I've been doing in some of my recent projects is to support both SQlite and PostgreSQL. I do this via an abstraction layer that hides the two databases behind it, and I run the exact same set of unit tests against the two implem
384.
▲
by
jmmv
5y ago
Debian doesn’t work any more on PPC Macs, nor does any other Linux distro I’m afraid. At least I couldn’t find one when I was looking into this recently that was actively maintained. Of course you can go with an older version of Debian. Or
385.
▲
by
jmmv
5y ago
Yes, many. The problem I have is that I always feel the urge to "clean them up" and post them as open source with corresponding blog posts and all, which ends up being a time sink (and limits what I do because I have to "pick
386.
▲
by
jmmv
5y ago
I noticed that as well, and also saw a similar "blackout" a few days ago that lasted longer. First time ever in years... so wondering if something has changed / is changing on their side.
387.
▲
Errors are constructed, not discovered
(ferd.ca)
2 points
by
jmmv
5y ago
|
0 comments
388.
▲
by
jmmv
5y ago
Does it count if we host on GitHub Pages but use a custom domain? I do that to have the freedom to move out, which is what I’m about to do to gain some features elsewhere.
389.
▲
by
jmmv
5y ago
Same here. Impressive to see this referral making a dent on my site stats considering that, in theory, my pages were surfaced randomly among many, many others.
390.
▲
by
jmmv
5y ago
> To know the offset of each line, you'll need to load the entire file from disk. No. You will need to read the file, not load it all at once in memory. And for a sequential scan, you need very little memory at any one time. And i
More ›