Readit News logoReadit News
jasone commented on The R47: A new physical RPN calculator   swissmicros.com/product/m... · Posted by u/dm319
pavon · 3 months ago
Ooh, I'm going to have to download the emulator tonight and try this out. The swiss micro and 47calc sites both say "display with 4 stack levels", but I can't figure out if that is also the size of the logical stack.

The shift key on my HP28C died last year. I never used the advanced features (eg the entire left-hand keypad), but loved its effectively infinite stack, and haven't been able to go back to an HP42, HP35s or the like since.

I'm now using Plus42 on my phone with the big stack option, but would love to have a physical calculator again.

jasone · 3 months ago
The C47/R47 appears to use the 4-level XYZT stack design by default, but it has an option to use an 8-level stack (XYZTABCD). I really like the unlimited stack option that can be enabled in Free42, but 8 levels might be enough to keep from feeling cramped in practice.
jasone commented on PHP compile time generics: yay or nay?   thephp.foundation/blog/20... · Posted by u/moebrowne
twiss · 6 months ago
I may be missing something about how the PHP compiler/interpreter works, but I don't quite understand why this is apparently feasible to implement:

    class BlogPostRepository extends BaseRepository<BlogPost> { ... }
    $repo = new BlogPostRepository();
but the following would be very hard:

    $repo = new Repository<BlogPost>();
They write that the latter would need runtime support, instead of only compile time support. But why couldn't the latter be (compile time) syntactic sugar for the former, so to speak?

(As long as you don't allow the generic parameter to be dynamic / unknown at compile time, of course.)

jasone · 6 months ago
The former merely exposes a `BlogPostRepository` class. The latter requires some mechanism for creating a generic object of concrete type, which is a lot bigger change to the implementation. Does each parametrized generic type have its own implementation? Or does each object have sufficient RTTI to dynamically dispatch? And what are the implications for module API data structures? Etc. In other words, this limitation avoids tremendously disruptive implementation impacts. Not pretty, but we're talking PHP here anyway. ;-)
jasone commented on ReMarkable Paper Pro   remarkable.com/... · Posted by u/buro9
regularfry · a year ago
The things I don't like about my rm2 are:

- how fast the nibs wear out

- how inaccurate the screen is

- the screen update rate

- infinite pages

It sounds like they might have fixed the nibs. The rest of it is up in the air. I think infinite pages might be workable if the update rate is better, but it's also got bad ergonomics. It's far too easy to accidentally trigger a scroll. It was bad enough when all you could do was accidentally zoom, but the infinite pages update really messed with it.

jasone · a year ago
The addition of infinite pages made my RM2 unusable. It's far too easy to accidentally scroll, and hugely disruptive. I checked for tuning improvements for a couple of software updates, then set it aside permanently. That such a "simple" change could doom the device made me decide to go back to real paper, in all likelihood forever.
jasone commented on Parsing Awk Is Tricky   raygard.net/awkdoc/pages/... · Posted by u/oliverkwebb
RodgerTheGreat · a year ago
I think this is a good illustration of why parser-generator middleware like yacc is fundamentally misguided; they create totally unnecessary gaps between design intent and the action of the parser. In a hand-rolled recursive descent parser, or even a set of PEG productions, ambiguities and complex lookahead or backtracking leap out at the programmer immediately.
jasone · a year ago
Hard disagree. Yacc has unnecessary footguns, in particular the fallout from using LALR(1), but more modern parser generators like bison provide LR(1) and IELR(1). Hand-rolled recursive descent parsers as well as parser combinators can easily obscure implicit resolution of grammar ambiguities. A good LR(1) parser generator enables a level of grammar consistency that is very difficult to achieve otherwise.
jasone commented on Writing a Unix clone in about a month   drewdevault.com/2024/05/2... · Posted by u/drewdevault
laxd · 2 years ago
I think you mean Ken Thompson. I can't be bothered searching through youtube interviews but I'm pretty shure that on more than one occasion, he tells a story something along the lines of having a disk driver, some programs, and maybe some other components. His wife went on a trip and he figured it would be enough time to fill in the gaps and make a complete OS.
jasone · 2 years ago
I'm pretty sure that is mentioned in this interview:

https://www.youtube.com/watch?v=wqI7MrtxPnk

By the way the CHM oral history video series is full of gems.

jasone commented on Scrabble, Anonymous   theparisreview.org/blog/2... · Posted by u/crescit_eundo
jasone · 2 years ago
This is an interesting read. As a software engineer who accidentally discovered the depth of Scrabble in middle age, I fell down a slightly different Scrabble rabbit hole. The probabilities behind the imperfect bag/rack state knowledge fascinate me, and I spent most of a year writing a strong Scrabble engine to explore the problem. I've put that aside for now, but it remains a background pressure on the computing problems I tackle.

u/jasone

KarmaCake day613January 4, 2011View Original