I'm 27
Thanks for dropping by!
NOTE: My outbox is full, so I may not be able to reply to PMs directly - might PM a reply via my alt or through comments.
Student
Somewhere
Joined on 8/20/08
Posted by Gimmick - April 29th, 2025
Fuckin' dumbass managed to unite other countries just to counter his demented ass. Case in point, he managed to make the Liberals eke out a victory from what would've been an otherwise guaranteed Conservative victory, LOL.
I'm gonna be eating good tomorrow morning.
Posted by Gimmick - December 31st, 2024
I'll spare you all the details, here's the executive summary:
not looking forward to getting back to work tbh
Posted by Gimmick - June 18th, 2024
一昨日2024年6月15日は僕が日本語を学び始めたから1年が経った。その時から学んだことはたくさんと思うけど、道はまだ長い。下記には理由、歴史(履歴混じってる)、方法など書いてある。
歴史話なんですけど、最初には私は日本語に興味がほとんどいなかった。たまたまアニメを見るときさえ全然気づかなかった。でも、聞いたことは一つだけだった:それは「この言語は超難しい」のだ。ファインマンの自伝、「ご冗談でしょう、ファインマンさん」に書いてあった。その言葉を汲み取るのはまだ子供のころだったーおそらく2009年に。
数年が経った。2015年に大学に入ったばかりか、兄と一緒にもう一度アニメを見ることになった。その時にアニメにも日本語にも興味を持ち始めた。でも、日本語は無理だと思うのは当然だった。なぜなら、それは今無意識な意見だったかもしれない。大学には日本語のコースがあったのに、私はフを選んだ。簡単だし、幼いころから両親はその言語を学ばせていた(その時まったく学べなかったくせに。)その語には興味も持つようになった。
ある日、「妄想代理人」を見始めた。そのOPにはとても感心。
漢字があったときにも、何か「あーこの言語がいつか学びたい」と思った。浅くてくだらない動機なんですけど、過去よりましだったかもしれない。
数年も経った。学士を取り、修士を狙ってカナダに行くことになり、あそこに住む場所は一番安いのを闇雲に選んだ。幸運かどうか、その場所は日本人の年を取った夫婦と一緒に同居だった。けど、私は全然考えなかった、ただ普通の生活を送った。行く前にフランス語には興味深いだったのに、学習に邪魔したからそれを結局やめた。
研究の挙句は修士を得て、すぐ働き始めて社会人になった。それは去年だった。でも、何か不満で物足りない気がした。毎日働き、そして夜までYoutubeで動画を見て繰り返した。楽しかったけど、不満がだんだん溜まっていた。
ー
去年の誕生日のころは多くのことが起こった。要するに、複雑な気持ちが湧いてきた。多分寂しさやら退屈やら感謝やらけど、一瞬決めていた、日本語を学ぶことを。多分時間がたったのをついに気づいたかもしれない。でも、「この都合のいいところは二度とこない」とよく分かるようになった。日本人の同居人の大家さんたちに話せることは幸いなのだ。多分過去の意見はただ思い込みだった。後悔しないように。ああいうことと思って、覚悟ができた:これから日本語をできるだけ学ぶ。
TheMoeWayなどのサイトで資料もガイドも受け取って、一生懸命に勉強していた。まー、そう思うけど、多分現実は違う。ひらがなとカタカナを学び、二週間後Ankiで…もちろん、暗記しはじまり、同時に話を読んだり、アニメを視聴した。けど、こっそりでそうしていた。最初にばれたら多分水泡に帰するかもしれない(だって、お正月の後はみんな運動かどうか始めるのを告げるのに、短期の後は誰も続かないでしょう?)
3~4ヵ月の後でようやく告げられるようになった。その時はお婆さんの大家さんに練習した文。「実は、私は6月に日本語を勉強始めた」ー恥ずかしさのあまりにしどろもどろでもごもごと言ったのに、大家さんは嬉しそうで励ますように「日本語は上手です!」と言った(いや、全然と回答したのに。)
それから続行。毎日アニメを見たり、本や諸説を読んだりーーを繰り返した。大家さんも日本語でしゃべってくれた。だんだん上手ようになると思う。
ー
現在、去年の予感した状況がようやく来てくる。原因も理由も多いけど、大家さんたちは今家を売って新しくて小さな家に引っ越すつもり、ましてや私も家探ししなけりゃ。できることもなくなってしょうがない。でも、言えることは一つ。
上記のサイト、TheMoeWayには資料はたくさんある。僕はその「30DayGuide」をついた。まずはひらがな、そしてカタカナ、そしてAnkiで言葉と漢字を学んだ。月日が経つと別のこともした。例えば、最近ある和英言語交換エベントを毎回出席している。
今まで見たアニメは:
Newgroundsの読書会のおかげで今年6+本を読むようにする!
⁂:この本は英語に翻訳されていない (these books have not been translated into english)
*:ま読書会に投稿していない (haven't yet posted these to the reading club)
一年後のできることは下記です。
今年末、僕は日本語能力試験が受験したい。そこでN4かN3にたどり着いたらいい。N3はちょっとむずかしくなるかもしれないが。
ーーーーーー
ここまで読んでくれてありがとうございます!振り返ると、実際、大家さんたちには本当に感謝してお世話になっておりましたーー最初に私は別の家に引っ越したら、人生はどうなるかも。未だにも、日本語ができる想像できなっかた私はできるのが信じられない。未来はなんなんだ、誰も分からないけど、この1年間のことはとても楽しかった。
お互い頑張りましょう!
Posted by Gimmick - January 12th, 2024
Je suis (un peu) triste de vous tous dire que je n'etudiera pas le francais tant qu'avant. Non, si je precise un peu, c'est que je ne veux pas ameliorer mon francais comme je faisais fin 2018-2019. J'essaiera a rester en forme, mais ca serait un peu difficile parce qu'il n'y a pas beaucoup de choses francaises qui m'interessent ces jours-ci. Alors, il se peut que mon niveau de francais diminue lentement de plus en plus. Ce qui m'a pris, par example, 10 minutes a ecrire peut maintenant prendre 15, ou 20.
I'm a bit sad to say that I won't be studying french as much as I had in the past. Well, to be more specific, I don't want to improve my french like I'd done at the end of 2018-2019. I'll try to keep in touch with the language, but it's gonna be a bit difficult because there aren't too many french(-related) things that interest me these days. So, it's possible that my level of french decreases slowly over time. Something that took me -- for example -- 10 minutes to write might now take 15, or 20.
Mais merde, je n'ai meme plus un clavier francais, donc tout ce que j'ecris c'est sans accents, circonflexes et tout ca. Bon, tout etant dit, je peux au moins dire que j'ai
et peut-etre, a l'avenir il y aurait des opportunites a utiliser la langue plus frequemment ? Maintenant, meme en etant au Canada, je l'utilise presque jamais, parce que je vis dans un cite totalement anglo, donc il n'y a personne qui parle francais au quotidien autours de moi, ni besoin non plus.
Like hell, I don't even have a french keyboard anymore, so everything I'm writing has no accents, circumflexes or what-have-you. Well, all said and done, at least I can say that I've:
and maybe (just maybe) in the future there might be more opportunities to use the language more frequently? Now, even though I'm in Canada, I almost never use it, because I live in a city almost entirely anglophone, so there's almost nobody who speaks french around me in daily life, nor is there any need to speak french either.
Mais ce n'est pas la fin, en revanche, sachez qu'il y a toujours un debut. Mais ca c'est une autre histoire...
Posted by Gimmick - March 11th, 2023
In my previous newsposts I mentioned I'd been working on ASBoxer/HitShaper/name TBD, and, well looks like time can make a codebase degrade even if nothing's been done to it. It's almost a decade since I first started the project (and 4 years since I stopped working on it) and while the code is readable, it's of somewhat suspect quality.
The document class, main.as, has 7724 lines. 7724. While it's no yandere dev nightmare of if-else chains, and most of the code there serves a purpose (...mostly handling UI stuff...) it's still a warning as to why people shouldn't work on projects solo for continuous periods of time - when you get used to the code base, it can sprawl real quick. And sure, it's probably "necessary" in that there's no duplication, but splitting it off into different classes also felt wrong at the time?
In any case, this was my reaction in a nutshell (warning: loud)
I almost want to just open-source this and make this someone else's problem, but then I realize I'd be a) exposing others to my terrible code (and it's coded in AS3, so insert terrible pun about flashing others ahahaha) and b) nobody's gonna work on it.
Funnily enough the application works, it's just a few parts here and there that are borked to the high heavens. Unfortunately those are the core parts to until I fix those, it's just a shiny user interface and not much else.
Posted by Gimmick - August 3rd, 2022
I'm learning Godot 4! Or at least, as much as I can given all the other stuff on my plate, haha.
I'm definitely going about it in a very roundabout way that I don't really recommend for others, given that I've always learnt this way and others may find it better to learn in a systematic manner. So I'm getting started with Godot scripting and coming from an AS2/3 background, I'm finding a lot of similarities between Godot's event system and Flash's event system. It's not surprising since both use a tree-like structure (Flash uses the Display List, whereas Godot uses Nodes, but both are effectively the same as the Document Object Model).
This newspost is an attempt to document the equivalent events / methods when moving from Flash to Godot. It's highly likely that I'll be proven wrong about my initial assumptions as I use the engine more, which is why this isn't a thread in the Game Development Forum yet.
Each bullet point in the sections below shows the event as it is named in Flash (AS3), with the AS2 equivalent (if available) and the Godot equivalent following it. All Godot examples use GDScript.
public function ClassName() { //init }
AS2:
onClipEvent(load) { //init }
Godot:
func _init(): pass
import flash.events.Event; function run_every_frame(evt:Event):void { //run } sprite.addEventListener(Event.ENTER_FRAME, run_every_frame)
AS2:
onClipEvent(enterFrame) { //run }
Godot:
func _process(delta) -> void: pass
(There's also _physics_process(delta) which is independent of frame rate, but the direct equivalent is just _process since almost everything in Flash is dependent on the frame rate)
Triggered whenever a DisplayObject is added as a child of a DisplayObjectContainer, regardless of whether they are on a Stage or not.
import flash.events.Event; function added_to_other_mc(evt:Event):void { //added to other mc } sprite.addEventListener(Event.ADDED, added_to_other_mc)
AS2: N/A
Godot: The direct equivalent appears to be "NOTIFICATION_PARENTED"
func _notification(id) -> void: match id: NOTIFICATION_PARENTED: pass
The counterpart to Event.ADDED. Like ADDED, does not require the DisplayObjectContainer to be on a Stage or not. However, this is -for some reason- triggered before the object is removed, rather than after. This has historically lead to some hacks involving Timers or ENTER_FRAME events when running code after it is removed. A better name would have been "Event.REMOVING" as that could have also allowed it to be cancelable, but...oh well.
import flash.events.Event; function removed_from_other_mc(evt:Event):void { //will be removed } sprite.addEventListener(Event.REMOVED, removed_from_other_mc)
AS2: N/A
Godot: It appears NOTIFICATION_UNPARENTED is the closest equivalent. I'm not sure whether this runs before or after the node is removed from its parent. Looking at the docs, it appears to be run after it is removed, but I haven't run it to verify.
func _notification(id) -> void: match id: NOTIFICATION_UNPARENTED: pass
Triggered when a DisplayObject is added to a Stage (yes, multiple Stages can exist in Adobe AIR, and this triggers whenever it is added to any of them)
import flash.events.Event; function added_to_stage(evt:Event):void { //added to stage } sprite.addEventListener(Event.ADDED_TO_STAGE, added_to_stage)
AS2: I believe onClipEvent(load) does the same thing here, but the reference says onLoad runs whenever a MovieClip is added to the Stage (there's only 1 in AS2).
movieClip.onLoad = function() { //added to stage }
Godot: Looks like _ready is the main equivalent here.
func _ready(): # added to scene pass
I might add more as I work with Godot more. Depends on how much time I can afford to put into this right now.
First impressions: GDScript and Godot seem to be very clean and minimalistic in terms of verbosity. I think the design philosophy of Godot is that each Node has only 1 script and so an event system like Flash's doesn't make much sense in this context, but looking at the _notification function, it seems a bit clunky to have a sort of "master" function that gets an ID and then delegates it to other functions / branches. Of course, I'm biased towards how AS3 does it, but I think something like an
addListener(NOTIFICATION_ID, function)
might have been cleaner here. Looks like time will tell as I get used to GDScript.
Update: So it seems like Signals in GDScript are the equivalent of Listeners in AS3. However, I'm unsure as to why there's both signals and notifications. It sounds like it would be better to have just signals be used, with each Node subscribing to notifications the same way they would signals...but I'm not sure if or why that's not done.