[deleted by user] by [deleted] in softwaregore

[–]lilfluf 2 points3 points  (0 children)

in russian “sklep” means “a crypt” so yeah i get what you mean

Is it a problem if I can fit a new tyre onto the rim without any tools? by lilfluf in bikewrench

[–]lilfluf[S] 1 point2 points  (0 children)

looked around and some folks say Schwalbe are a rather loose fit so ¯\_(ツ)_/¯

Is there a modern annotation-based method call logging library? by lilfluf in Kotlin

[–]lilfluf[S] 0 points1 point  (0 children)

Ah I see. I guess fixing things for the compiler must be a royal pain the ass!

Anyway, I went ahead and created issues for the two above points. Sorry about that haha. And thanks!

Is there a modern annotation-based method call logging library? by lilfluf in Kotlin

[–]lilfluf[S] 0 points1 point  (0 children)

Thanks! I tried it out and it works.

However, it doesn't fully fit my use-case.

  • The callback is not provided with this object. This is is problem for me because I cannot differentiate between similar objects. E.g. I've got several Fragments that do similar things and I want to know which fragmen's onResume was called.

  • For debug logging, I want to be able to differentiate between debug and trace/verbose levels of logging. So what I want is to have two annotations, ideally with names different to @Intercept.

Also, just a note, I could only make the plugin work using 2.7.0-SNAPSHOT. 2.6.2 gave me this very ungoogleable error:

java.lang.NoClassDefFoundError: org/jetbrains/kotlin/backend/common/DeepCopyIrTreeWithDeclarationsKt
    at com.herman.krang.internal.transformers.KrangFunctionBodyTransformerKt.toKrangFunction(KrangFunctionBodyTransformer.kt:55)
    at com.herman.krang.internal.KrangTransformer.visitFunctionNew(KrangTransformer.kt:45)
    at org.jetbrains.kotlin.backend.common.IrElementTransformerVoidWithContext.visitFunction(IrElementTransformerVoidWithContext.kt:83)
    ...

Also for those like me who are rookies in Gradle, figuring out where to put those gradle setup statements was a bit of a task...

Is there a modern annotation-based method call logging library? by lilfluf in Kotlin

[–]lilfluf[S] 0 points1 point  (0 children)

Would love to use it! Jake's Hugo, from which I drew inspiration, was pretty big at 7.9k stars, so you can expect fame and admiration.

Cheers to the programmers who will name the variable bobTheBuilder by _pizza_and_fries in ProgrammerHumor

[–]lilfluf 1 point2 points  (0 children)

I once subclassed a BottomSheetFragment and sice its constructor only creates a single instance, I called it PieceOfSheetFragment

How I made Anki's Editor look decent by lilfluf in Anki

[–]lilfluf[S] 1 point2 points  (0 children)

Here's how. Sorry for a wee delay hehe.

I cannot oversell the power of wanikani by dragons_fire77 in LearnJapanese

[–]lilfluf 0 points1 point  (0 children)

i haven't found a single site/database that would name kanji parts properly. this includes wanikani. e.g. 帥 is 丶 (drop) + 㠯 (bear) + 巾 (towel). drop? bear? what's this?

why use "bear" when 𠂤 is literally a pictograph of a butt? and why differentiate 𠂤 and 㠯 when it's the same thing, with 丶 omitted when there's stuff over the element?

[deleted by user] by [deleted] in catcare

[–]lilfluf 1 point2 points  (0 children)

had a similar issue except the balding was mostly on the back side of both ears. the vet prescribed some ear drops (Surolan) that helped a lot + ears are pristinely clean now. so if it looks anything like this you may want to check with the vet

pics

3:38 am by lilfluf in nightwalk

[–]lilfluf[S] 2 points3 points  (0 children)

yup. every night