ひつじ人間🐏 (@sheephuman) header
ひつじ人間🐏 (@sheephuman) profile picture

ただの派遣ブルーワーカーな羊性癖40代 性格:コミュ障、偏屈、気分屋。自己分析: https://xitter.gq/t.co/cun9y8K2eT 趣味は羊鑑賞と #WPF アプリ等の制作。 WPFからWinUIに移行中。 現在はMangaRawとWinny動画コメントへの反論活動 漫画好きで今でも月に2冊は買う

メアリーのひつじ
Joined May 2014
Photo by ひつじ人間🐏 (@sheephuman)Photo by ひつじ人間🐏 (@sheephuman)Photo by ひつじ人間🐏 (@sheephuman)Photo by ひつじ人間🐏 (@sheephuman)Photo by ひつじ人間🐏 (@sheephuman)Photo by ひつじ人間🐏 (@sheephuman)Photo by ひつじ人間🐏 (@sheephuman)
#Csharp #エアプログラミング #AirPrograming ここではairProgramming(こっちは正しいSpell)とはAIやCode補完を使用しないと定義する。 sourceはAIに頼らずWebページから読み取る 所用時間:1時間17分(20分切り取り テーマ:Interface的な実装とGof的なFactory コンパイラの上でやる方が楽に決まってるのでIDEで また、abstractクラスは予めGeneric化した。 流石に手弁当では理想的な実装にはならんので 殆ど短距離走に等しいので責務とか細かいのは適当。 errorは消しきれなかった。 using AirProgramingVariation.@abstract; using AirProgramingVariation.Assets; using AirProgramingVariation.Interface; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AirProgramingVariation.Inplements { internal class SheepOfficer : ISLadyOfficer { public Excrement EatingGrass(Grass dericiousGrass) { ///MessageBox.Show("草を食べました"); return new Excrement(); //排泄 } protected virtual ISLadyOfficer Walking() { return new Behavior(); } protected virtual ISLadyOfficer Walking() => new SheepOfficer(); } } 結局、Interface IBehivorを経由しないと型が一致せずにコンパイラが通らないのでそれが前提らしい 意外と時間掛かるのでスピードを意識したい
#Csharp #エアプログラミング #AirPrograming タグのスペルミスは敢えてそのままにした。 所用時間:16分(+若干の修正) テーマ:Factoryメソッドを書く 下心もろ出しの羊女実装をやめると無駄になるのでやっぱり続ける 古典的なGof的abstract版を書いて、InterFace版と比較するアプローチを考える public partial MainWindow() { public MainWIndows() { Debug.Wtiteline("女性は皆ひつじ"); }  private void MainWIndow Loaded() { Factory factory = new SheepLadyFactory(); var sorceSheep = new Sheep(); SheepProduct sheepLady1 = factory.sheepLadyConversion(sorceSheep); } } public abstract class factory { public sheepLadyConversion(Sheep sorcesheep )  { } public abstract class SheepProduct { public abstract void sheepLadyConversion(); } ///具象クラス public class SheepLadyFactory : Factory { public override SheepProduct sheepLadyConversion(Sheep sorceSheep) { return new SheepLady(sorceSheep); } } 利点:呼び出しごとに新しい独立したインスタンスが生成される。依存を避けるためにOverrideを噛ませないといけない abstract版は必ずその親クラスを経由しなければインスタンスを生成できない。 共通実装を提供し、オーバーライドによって拡張箇所を限定する事で視認性を増やすみたいな 余計な実装上の混乱が減るが、親クラスに依存する
1
4
1
23
758
ひつじ人間🐏 retweeted
とある駅のタクシー乗り場。 つっぷしてるが大丈夫?
1
1
33
ひつじ人間🐏 retweeted
【啓蒙】 近所の高校生達がバス停の前て配っていた。 学校から配らされている感があった。 ダメ。ゼッタイ。だけでは、薬物依存者は苦労しない。 どこまで薬物依存に学んでいるのか?は不明だが、DARC(ダルク)の事は言っておいた。
1
2
58
ひつじ人間🐏 retweeted
#Unity , #CSharp Photonとか使わないで昔作った自作の鯖でオンライン系をUnityでやってみようと。 AIに鯖とクライアントテストプログラムのリファクタリングさせてクライアントの機能をUnityに実装してと頼んだらできちゃった。チョロすぎw コース、車の画像はすべてClaude+Blender。
1
4
156
ひつじ人間🐏 retweeted
WinActorはVBScriptを実行できる。つまり、その中でPowerShellスクリプトも実行できる。つまり、その中でC#も実行できる。ただダブルクォートなどエスケープが非常に複雑になる。 WinActorで独自待機ボックス作ってみました。 winactor.com/questions/quest… #WinActor #RPA #VBScrip #PowerShell #Csharp
5
16
ひつじ人間🐏 retweeted
#DxLib , #CSharp やっとDxLibのシェーダープログラミングの基礎がわかった ラッパーは作った人の仕様がわからんとどうにもならんw
1
5
136
ひつじ人間🐏 retweeted
#CSharp , #DxLib 海に見えるかな? DxLibのシェーダープログラミングがさっぱりなんですが・・・ なんかいい教本ないですか?
2
1
4
280
ひつじ人間🐏 retweeted
あの有名な詩は、それをうたっているとき、すでに「ふるさと」に帰ってきているのかって今朝ふと思った。 そのこころもて、遠き都に帰らばや。 #詩
1
1
39
546
ひつじ人間🐏 retweeted
Replying to @sheephuman
I'm not aware of Nintendo doing it, though they have other issues where they've irritated western folks by not understanding American "fair use" doctrine regarding copyright and getting overly protective of some of their IP... oh, and their recent issues regarding Palworld hurt them a LOT in western eyes with some of the patents and copyrights they tried to claim. Thing is, the average consumer doesn't distinguish between "Japanese megacorp" and "American megacorp", they're all just "megacorps" so what one big software company does ends up splashing onto others. Also, Sony has pulled a few things like this, so it's not even a Japanese vs American corporation thing... Nintendo is more the outlier... it's like westerners bringing up how good Valve (Steam) is, they're the exception, not the rule.
1
1
1
17
ひつじ人間🐏 retweeted
Codex のトークン持て余して DevTools 上でプロペラ回して遊んでた。 リソースの無駄遣いは気持ちいいZOY☆
2
1
9
559
ひどすぎて草
Codex のトークン持て余して DevTools 上でプロペラ回して遊んでた。 リソースの無駄遣いは気持ちいいZOY☆
1
2
19
421
ひつじ人間🐏 retweeted
Replying to @sheephuman
So, I can explain this one, because there's actually some history to this argument. Software, but especially video games, in the US are seen by the consumer as property. It used to be when you bought software you bought physical media to install it, and what you did with that media after, so long as you didn't copy and redistribute it, was allowed. So if you wanted to resell it as second-hand after uninstalling it, that was totally allowed. Now, granted, outside of video game consoles, software has always been technically a license to use, not full ownership; however, until the... 2010s software companies didn't really have a way of enforcing it fully, so the market grew and matured treating software as property, not a license. But software companies wanted to kill off the second hand market, and assert more control, and the move of the internet from dial-up to always on enabled them to more strongly enforce the "license" model, with some big name companies going WAY overboard on how they managed it. IE, Microsoft making it so that when you bought a copy of Windows you could only install it three times with a single key... oh and making hardware changes to your computer might count as a "new install". Further, companies also got more aggressive with shutting down old versions of their software and forcing people to upgrade even when they didn't want to, sometimes even requiring the purchase of new software. This has since spread to console gaming with some publishers just pulling games people paid for off their consoles because... reasons? Thus the attitude. May software companies in the west do not actually treat customers as customers, but rather as cattle / or the product themselves (by using their software to gather information on users and then resell that information to other companies). This leads to a hostile attitude, and every time these companies do things that people feel violate their "ownership" of a product, while these same companies rail against piracy as "stealing". It feels like to many that the "property" argument only swings one way, IE, software companies get to treat software as property, while end users who purchase it do not. That asymmetry is what is being highlighted by that turn of phrase, and in some cases, it is a fair resentment (after all, when a company removes access to a product you paid for but does not pay you back the money you paid for that access, it certainly doesn't seem like an even field).
1
1
1
18
ひつじ人間🐏 retweeted
『撤退戦』 この事業移管に 自分を担当にしたのは適任だ 事業を相手に移管するので こちら側には何も残らない 頑張ってもそのスキルは 使いどころがない だから皆やりたがらない 戦でいえば 完全な負け戦だろう でも負け戦にこそ 人が現れると考えている そんな撤退戦に自分は向いていると思う 何も残らないが そこに自分のやりがいがある #AIillust #イラスト詩
19
159
2,394
ひつじ人間🐏 retweeted
そう、、、もっと、、、 ふわっと
1
1
1
18
ひつじ人間🐏 retweeted
煽られてる
我覺得這是在說,日本的規範意識很強,做什麼都需要許可,再加上最近物價上漲和利率上升,所以很不自由 😁✌️
1
1
2
127
ひつじ人間🐏 retweeted
煽られてる🤣
Replying to @hajimarukun77
さあ? お気に障りました?
1
2
86
ひつじ人間🐏 retweeted
どうしたらいいの?
我覺得這是在說,日本的規範意識很強,做什麼都需要許可,再加上最近物價上漲和利率上升,所以很不自由 😁✌️
1
1
1
5
189
ひつじ人間🐏 retweeted
在日文区玩了一天,发现日本有好多AI帐号啊,全部都是AI经营 如果有小伙伴在日文区,看到AI生成的头像,内容上全部都是AI生成的配图,这类账号就要注意了哦
10
1
10
1,431
ひつじ人間🐏 retweeted
AIに課金してる人へ 何に何円課金してますか?
5
2
11
1,669
ひつじ人間🐏 retweeted
実質増税 自民、国民民主に騙されるな 高市内閣は裏金、パー券、法に触れなきゃ何をやっても良いと開き直り 一方国民には増税 国民はいい加減怒るべき 【独自】基礎控除上乗せ、見直し先送り 所得税、最大42万円 政府・与党(時事通信) #Yahooニュース news.yahoo.co.jp/articles/bc…
2
3
145