urbanists.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
We're a server for people who like bikes, transit, and walkable cities. Let's get to know each other!

Server stats:

530
active users

#visualstudio

0 posts0 participants0 posts today

【ChatGPT-4o】copilotと相談しながらモノ作ったら,3日工数予定が4時間で完成した件

関連記事

謎案件,小難しいWEBAPIの実装
めんどくさい仕様じゃったし,3日ぐらいかかるかねぇ~じゃった

今朝からgithub copilotと相談しながら,モノつくり

さすがのcopilotも難儀するやろなぁと思っておったら
こっちの質問にスラスラ回答を出してくる

その回答のソースコード(PHPやらJavaScript)やらが,ほぼ当たりコードばかり
9割は当たりだったぞ,今日は

結果,オイラが手で実装したら何日かかるかね~?じゃったが
4時間で荒っぽい完成に至ったべ

すげーぞ,copilot feat. ChatGPT-4o
こりゃ,いよいよ城主は失業じゃなドロドロドロ
現役引退して,世界を放浪しようず(爆

まぁ今から全体のテストをやるんで,まだまだかかるけど,なんか肩の荷が降りた感
この小難しい部分,出来るのか?心配してたんじゃが動き出したんで一安心

copilotと相談しながらのモノつくり,捗りすぎやろ
ますます手が離せんはずモルモルモル

once in a while MSVC 2017 seems to miscompile the executable somehow

it seems a rebuild always fixes it

this time it made the tutorial hint text very big and the background incorrectly colored for some reason

it also seemed to break the texture atlas after some window resizing (to see what text was being enlarged), though that may just be a downstream effect of rendering huge letters

once again I've no idea how or why this happened 🤷

Two things I learned this week about #MSVC / #VisualStudio:

1. If vcvars64.bat is not behaving itself for some reason, you can set VSCMD_DEBUG=1 and it will print more diagnostics. 2 and 3 print more still: 3 is an "OMG redirect to a file and sort through it later" level of verbosity.

2. If you do this, the script stops for a noticeable time just after printing "Sending telemetry". One of the reasons it's so slow is that it's phoning home! You can set VSCMD_SKIP_SENDTELEMETRY=1 to turn that off, improving speed as well as privacy.

This is commented in one of the sub-scripts VsDevCmd.bat with the command
REM Send Telemetry if user's VS is opted-in
but, of course, I have no memory of seeing any opt-in box to tick.

oh no

I just spent entirely too long debugging why my calls to `GetCursorPos` were never quite right. It'd always return a position on the primary monitor.

Was it not actually absolute?
Not DPI scaled?
Was I accidentally using uninitialized memory?
It was never _exactly_ the same position, what?

Nope.

The breakpoint was before the actual call to GetCursorPos.
I was getting the position of me clicking "step" in #VisualStudio

gonna go log off for the day now