Posts by yyp@fosstodon.org
 (DIR) Post #AZI0rU6o3IFD5MOLaq by yyp@fosstodon.org
       2023-08-31T11:47:42Z
       
       0 likes, 0 repeats
       
       I wonder if Intellij idea is harder to bootstrap than Rust, it might be even impossible to bootstrap given current tooling
       
 (DIR) Post #AZI0rVL1TvD6tk3DOK by yyp@fosstodon.org
       2023-08-31T11:49:21Z
       
       0 likes, 0 repeats
       
       Their repo is a mess, contains a bunch of prebuilt binaries and .jarsAnd the build instructions are basically "well, just use a prebuilt version because we use ide-specific custom build systemâ„¢"
       
 (DIR) Post #AZI0rXEiQLLyml7Cq0 by yyp@fosstodon.org
       2023-08-31T11:52:49Z
       
       0 likes, 0 repeats
       
       Eclipse at least can be built without eclipse, but that might cost you all free disk space and 5 hours
       
 (DIR) Post #AZI0vQdAvP7JSPPdvE by yyp@fosstodon.org
       2023-08-31T12:14:59Z
       
       0 likes, 0 repeats
       
       @justgui that's literally what intellij does
       
 (DIR) Post #AZI2dZgaifAGEkcnQ0 by yyp@fosstodon.org
       2023-08-31T12:28:47Z
       
       0 likes, 0 repeats
       
       @taylan @justgui By the way, there's absolutely no reason to use Android Studio since the same functionality comes with IntelliJ by default except maybe some google-specific things.If you feel like paying for expensive licenses, JetBrains (the company behind IntelliJ) has IDEs for C/C++, C#, Ruby, PHP?, Go at least, probably much more
       
 (DIR) Post #AZJ5h8Q6WsjLqtGKAK by yyp@fosstodon.org
       2023-08-31T12:41:45Z
       
       0 likes, 0 repeats
       
       @taylan @justgui It does all of that! You just need to specify your Android SDK location in the settings.
       
 (DIR) Post #AZSUatIRYOKCkdzsgq by yyp@fosstodon.org
       2023-09-05T13:26:16Z
       
       0 likes, 0 repeats
       
       what if hardware himitsu
       
 (DIR) Post #AZT3eRpv5X8X8i5SFM by yyp@fosstodon.org
       2023-09-05T13:56:53Z
       
       1 likes, 0 repeats
       
       @lanodan himitsu for Java sounds like a job for me
       
 (DIR) Post #AZarrRvQjJPQrk9An2 by yyp@fosstodon.org
       2023-09-09T14:10:23Z
       
       1 likes, 0 repeats
       
       I love my C++ program*updates the compiler*where's my C++ progSegmentation fault
       
 (DIR) Post #AZarrSxEu4S03e08FU by yyp@fosstodon.org
       2023-09-09T14:14:14Z
       
       0 likes, 0 repeats
       
       Based on a true story ofhttps://git.sr.ht/~yerinalexey/mated/commit/e410480ec59cb2c14be03411b65253a9c6a154f6
       
 (DIR) Post #AdIvzQW05o5MHzRahk by yyp@fosstodon.org
       2023-12-29T14:18:12Z
       
       0 likes, 0 repeats
       
       High quality code right there
       
 (DIR) Post #Ai8pOvRKUvjxxgrr9c by yyp@fosstodon.org
       2024-05-21T19:39:59Z
       
       0 likes, 1 repeats
       
       Does anyone remember Minecraft's April' fools snapshot this year - the Poisonous Potato Update? I certainly do!I've made a mod that adds a handheld cannon that shoots potatoes! I even added two more potato types: Teleportato and PoTNTato which teleport you and explode, respectively.This is by far my biggest mod involving multiplayer sync, models, (admittedly bad) texturing and new entities. I think it turned out pretty cool.Enjoy!Source code: https://git.sr.ht/~yerinalexey/potato-cannon
       
 (DIR) Post #AjnSyNNWU9oNfGkYU4 by yyp@fosstodon.org
       2024-07-10T07:15:28Z
       
       1 likes, 0 repeats
       
       Hardest problems in computer science:1. Caching2. Uh, off-by-one errors3. Getting slicing to work in harec's eval are you kidding me it's still broken I need to rewrite more stuff help
       
 (DIR) Post #Ajs0rJTskfEMcjMrcO by yyp@fosstodon.org
       2024-07-12T21:14:15Z
       
       1 likes, 0 repeats
       
       For quite some time I've been thinking about making a "better Java" so a language that would target JVM and be fully compatible with existing Java code but "better". I envisioned null safety, more consistent pattern matching, maybe more expression-oriented syntax, inverted access flags (everything is private final by default) but now that I think about it, is it even useful? Everything other than null safety is just pointless fluff that's "good to have" but that doesn't warrant a new language
       
 (DIR) Post #AkAOl4IbBBm2AtAfSq by yyp@fosstodon.org
       2024-07-21T20:39:42Z
       
       1 likes, 0 repeats
       
       This was certainly a day.Found two compiler bugs with two silly typos, somehow
       
 (DIR) Post #AlOf33yfTiOXfcPCwC by yyp@fosstodon.org
       2024-08-27T15:09:27Z
       
       0 likes, 0 repeats
       
       Q: What do astronomers and Haskell programmers have in common?A: They both use parsecs
       
 (DIR) Post #AnkDKS8aWXrmv6XFrs by yyp@fosstodon.org
       2024-11-05T20:54:20Z
       
       1 likes, 0 repeats
       
       Tiers of C boolean types:1. bool2. _Bool3. gboolean4. BOOLEAN_T
       
 (DIR) Post #Aobgru9oGY2rcnygi0 by yyp@fosstodon.org
       2024-12-01T16:09:18Z
       
       1 likes, 0 repeats
       
       Oh, looks like there isn't an SQLite library for Java that fits my requirementsFine, I'll do it myself(this already happened with gettext)(it feels like every time I try to work on this project some technical limitation always bites me)
       
 (DIR) Post #AqgGWcqcSCCVhZcfb6 by yyp@fosstodon.org
       2025-02-01T16:08:51Z
       
       1 likes, 0 repeats
       
       Had some nightmares doing bit manipulation in Python. That was fun, for some definition of fun.I accidentally read two bytes as signed instead of unsigned, then bitshifted them to get a relative offset for RLE decoding. This meant that the result was the correct length but completely wrong contents.Also, for some reason it seemed to gravitate towards the octet 0xBA, filling lots of places with it for no apparent reason.That was the entire morning of staring at the code and vbindiff.
       
 (DIR) Post #Aqi9v9GKULceRhh7GC by yyp@fosstodon.org
       2025-02-02T14:45:54Z
       
       0 likes, 0 repeats
       
       @lanodan From my understanding, most RISC-V specifications (including SBI) don't expect any kind of input devices or special shortcuts.So any kind of SysRQ-magic is just using the default input driver from the kernel. This is what Linux does at least.It's possible that a device has an interrupt source for this use-case - check the device tree. Though I'm not very familiar with RV hardware, no idea if there exists a board with such a feature.