Anton Pieper

Results 17 comments of Anton Pieper

This is actually a bug in typescript I think, but nonetheless here is a solution: Solution ```ts type IsMethod< T, Property extends keyof T > = T extends { [P...

Couldn't you have bound the function `countTickPinA` to `this`? ```ts rpio.poll(pinA, this.countTickPinA.bind(this)); ```

Here is a declaration I came up with: ```ts declare interface ReadonlyArray { map< U, A extends readonly unknown[] = this extends readonly [...infer X] ? X : never, I...

I have tried for a few hours now, the challenging part for me is figuring out what each base30 / base16 value actually represents. To me it seems like many...

I completely understand your point 👍. While I’m comfortable with Java, Kotlin’s ability to achieve the same functionality with less syntactical overhead is quite appealing. The language’s concise syntax and...

The Java implementation is flawed IMO, but there also is [android-tree-sitter](https://github.com/AndroidIDEOfficial/android-tree-sitter), which is a simple dependency for Gradle. This is already used in their IDE [AndroidIDE](https://github.com/AndroidIDEOfficial/AndroidIDE) to highlight XML and...

Hello again! I think I have now implemented a syntax highlighting solution that works quite fast. The lag now comes from the EditText and not the (separate) SyntaxEditor View. I...

Of course, I can give an example: It should be: - `vec4` -> `v` -> `vec4` But what happens: - `vec4` -> `v` -> `v` `ec4` This happens at the...

This feature already exists, at the top you select the preview quality of the canvas :) ![Set Preview Quality](https://github.com/user-attachments/assets/c59beba3-9c77-4a17-9448-a6bee4ae86dc)

You are right, keeping it as simple as possible is really important. Adding abstractions just for no reason will only add complexity. I'll try some ideas, but most ideas I...