profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/kmxz/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

kmxz/overlayfs-tools 67

Maintenance tools for overlay-filesystem

kmxz/avct2 9

Rewriting of the porn video manager for my own use

kmxz/mae259b 3

Python code for discrete elastic rods

Dmoonleo/Snake 0

Snake

kmxz/99-Problems-OCaml 0

Solving "99 List Problems" using Objective Caml

kmxz/async-debounce-promise 0

Debounce asynchronous functions

kmxz/carehtml 0

Templates with automatic registration of Custom Elements.

kmxz/console-prefix 0

Drop in replacement for console to add a prefix to messages. Adds an ISO timestamp by default.

issue commentmicrosoft/TypeScript

Cannot use `override` keyword to override methods of `Object` without explicitly extending `Object`

FYI, I have a fix for this at https://github.com/kmxz/TypeScript/commit/08ef62d1c1edda8e159e41db38f70afba7bdfc10. I haven't created a pull request as this issue is not yet labelled "help wanted", but I'm happy to create one at any time.


I do realize that there's another issue with overriding a method declared in Object:

// Error "TS2416: Property 'toString' in type 'A' is not assignable to the same property in base type 'Object'. Type '() => number' is not assignable to type '() => string'".
class A extends Object {
  override toString() { return 0; }
}

// No errors!
class B {
  override toString() { return 0; }
}

It makes sense to issue an error in the second case, since TypeScript already treats all classes as subclasses of Object when resolving property accesses. I'm just a bit concerned that it could be a breaking change for some users.

kmxz

comment created time in 2 days

push eventkmxz/TypeScript

kmxz

commit sha 08ef62d1c1edda8e159e41db38f70afba7bdfc10

attempt to retire TS4112 and treat classes as extending Object

view details

push time in 2 days

push eventkmxz/TypeScript

kmxz

commit sha 9f3b836c1e75e873d13a30b148c014b41f4fa13a

attempt to retire TS4112 and treat classes as extending Object

view details

push time in 2 days

create barnchkmxz/TypeScript

branch : 45704

created branch time in 2 days

fork kmxz/TypeScript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

https://www.typescriptlang.org

fork in 2 days

PR opened baileyherbert/utimes

Use native binding on Linux so we can take advantage of UTIME_OMIT

Fixes #10.

+33 -11

0 comment

3 changed files

pr created time in a month

push eventkmxz/utimes

kmxz

commit sha cb6fb68f053bcc371b676aea7aa4f3c988f9175c

use native binding on Linux so we can take advantage of UTIME_OMIT

view details

push time in a month

fork kmxz/utimes

⌚ Cross-platform native addon to change the btime, mtime, and atime of files in Node.js.

https://npmjs.com/utimes

fork in a month

issue openedbaileyherbert/utimes

Set atime without changing mtime under Linux: possible race condition

The current implementation sets atime by doing:

https://github.com/baileyherbert/utimes/blob/de92f021301d878408f5abb01113915ca80b55d0/src/utimes/index.js#L65-L70

This is not ideal, as the actual mtime might have been changed by another process between the stat call and the utimesFs call. We shouldn't be setting the outdated mtime back in such cases.

A better alternative would be to use UTIME_OMIT supported by utimensat(2). By making such changes, we also improve the performance a bit, as we can get rid of the expensive extra stat call.

created time in a month

push eventkmxz/thumbnail-with-cache

kmxz

commit sha 60c903d9548eb42217304022edcd6359aad50804

allow bypassing resizing

view details

push time in a month

issue openedmicrosoft/TypeScript

Cannot use `override` keyword to override methods of `Object` without explicitly extending `Object`

Bug Report

🔎 Search Terms

override, TS4112

🕗 Version & Regression Information

It happens in 4.4.2 and has been there since the introduction of override keyword (#39669).

⏯ Playground Link

https://www.typescriptlang.org/play?#code/MYGwhgzhAECC0G8BQ1oHsBuBTATjglgCZbQAuaAyqQQHYDmAFAJSKo5akCuON0A5ADM0aPgG5oAXyQSgA

💻 Code

class A {
  override toString() { return 'foo'; }
}

🙁 Actual behavior

TS4112: This member cannot have an 'override' modifier because its containing class 'A' does not extend another class.

🙂 Expected behavior

It should be allowed, since the method overrides Object.prototype.toString.

Per ECMAScript spec §15.7.12.7, a class without an explicit extends clause would be implicitly inheriting from Object. Therefore, such classes should be allowed to explicitly override methods declared in Object.

created time in 2 months

push eventkmxz/Discord-History-Tracker

chylex

commit sha 9739ceb529652c17c6fb4b3f22bcb6db9716a765

Fix not finding messages & broken autoscroll after Discord update Closes #90

view details

chylex

commit sha d6450bd0794bc292429dac79c34fd5aa38458517

Release BETA v.18

view details

chylex

commit sha 5664e7e91714455337a2aeeb62f393a96ebeba7a

Fix channel/message finding after Discord update & improve error handling Closes #94

view details

chylex

commit sha e9827d6adc6f50eb2dd16708d8ab038765984dcb

Fix userscript DHT button

view details

chylex

commit sha f575c759b244d2b20275a78e430afabd6e39762c

Release BETA v.19

view details

chylex

commit sha ce5b73a9dbb1c14e9b5bcf766ee8eec1606b1d83

Fix autoscroll after a Discord update Closes #98

view details

chylex

commit sha 3ee8d6514d2841321f9e2a667dd6f72899b5f109

Release BETA v.20

view details

chylex

commit sha 016adadd3e5e9784bf1fc0e9b1e0acb58f4d710d

Replace YUI with custom CSS minifier

view details

chylex

commit sha ce958d63acd196e2b7901695d96108ffd15395de

Rename 'renderer' folder to 'viewer' and move JS/CSS files into separate folders

view details

chylex

commit sha 9a6b6683eb5201263110116cceffc675408222b0

Do not track server status messages See #87

view details

chylex

commit sha a79769001b4b8f116820fa789dc0fb3ff9f48a61

Improve contrast and separation between username & info texts

view details

chylex

commit sha 198cccd9b30fbef81cfd246744b8744a8101f606

Add 'Jump to message' button when viewing filtered messages Closes #93

view details

chylex

commit sha 856093dbf739fa6e7db5aa6e3ae1680c1b9bf745

Add button to save filtered archive in the viewer

view details

chylex

commit sha 123d41b793b7795c4db15a911043345ae05c2957

Release v.21

view details

chylex

commit sha 678bd358ba502e7cc9ad8ebe5da7025a467f41a8

Update discordapp.com to discord.com Closes #99

view details

chylex

commit sha 849e0c798a6b07df6ae3c3f4e3f475239ba2073d

Release v.22

view details

Daniel Chýlek

commit sha 9a4d71597838d6a1b2aa3d0d9d36bec97ad3de26

Create FUNDING.yml

view details

chylex

commit sha a48c3fef131da892b65ba370ba5e339ab5b12f6f

Fix group DMs without changed icon getting categorized as non-group DMs

view details

chylex

commit sha e4f05cdb327155bf0a4161ed6ff8f0886aec6e75

Fix not detecting messages after a recent Discord update Closes #100

view details

chylex

commit sha 98a67ca57e4e6549e8fe48ff4d56641f87a39f37

Merge branch 'master' of https://github.com/chylex/Discord-History-Tracker

view details

push time in 2 months

PR merged kmxz/Discord-History-Tracker

Try to keep up with upstream
+36739 -13931

0 comment

211 changed files

kmxz

pr closed time in 2 months

PR opened kmxz/Discord-History-Tracker

Try to keep up with upstream
+36739 -13931

0 comment

211 changed files

pr created time in 2 months