@porglezomp@mastodon.social avatar

porglezomp

@porglezomp@mastodon.social

computers dragon, trans lesbian, probably reading books or playing video games. she/they

This profile is from a federated server and may be incomplete. Browse more on the original instance.

mcc, to random
@mcc@mastodon.social avatar

Okay. Lately I've been asking some cursed MSBuild questions. I now ask the cursedestest. I could ask this question to ways:

  • In MSBuild, how do I split a string into a list?

Or, in more detail:

  • I want to put a newline-separated list of filenames into a text file, and then have both CMake and MSBuild (vcxproj) interpret the text file as a list of files to compile. How can I do this on the MSBuild side?

(Things I've tried, which didn't work, below:)

porglezomp,
@porglezomp@mastodon.social avatar

@mcc oh wow it’s Perl (it’s not Perl)

mcc, to random
@mcc@mastodon.social avatar

Incidentally I'm thankfully still not seeing any of this Google "AI results" stuff. It sounds like nearly everyone else is. I don't know if the difference is because I'm on a Canadian IP, or because my feedback when they briefly opted me into the early beta tests was so aggressively negative they put some kind of "AI Hater" flag on my account

porglezomp,
@porglezomp@mastodon.social avatar

@mcc the first time I got it on one of my queries I instantly switched my default search engine

whitequark, to random
@whitequark@mastodon.social avatar

today's helldivers 2 discovery: it has an unlockable revolver. makes sense, right? lots of games do.

you fire six out of six shots and reload. your character uses a speedloader. makes sense!

you fire two shots and reload.

  • if you're in a fight, your character uses a speedloader, and you lose four
  • if you're not, they reload it round by round, and you lose none

this is an incredible level of attention to detail holy shit. nobody does this!!

porglezomp,
@porglezomp@mastodon.social avatar

@whitequark I think this part at least is common to model, even though the other things aren’t. Apex has this (with the same 3 steps you mentioned here, I believe) and that’s really not about crunchy weapons.

mcc, to random
@mcc@mastodon.social avatar

Cursed??? C# question:

We have a ProjectName.csproj with a <PropertyGroup><OutputType>Exe</OutputType></PropertyGroup>. Running at the command line, we can successfully run it with dotnet run on Mac, Linux and Windows. On Mac, we can open it in VS Code, hit "Run", and it runs.

On Windows in VS Code only, if we open it and click the run button, it builds a .DLL instead of a .EXE as its final build output and then fails with a message that you cannot run a .DLL.

Why, and how do we not?

porglezomp,
@porglezomp@mastodon.social avatar

@whitequark @mcc I wrote an in-process test runner for all the llvm lit tests on iOS that worked by bundling all the executables, dlopening them, and calling main()

aeva, (edited ) to random
@aeva@mastodon.gamedev.place avatar

what does the word "procgen" mean to you

porglezomp,
@porglezomp@mastodon.social avatar

@aeva @Smoljaguar type of robot furry

mcc, to random
@mcc@mastodon.social avatar

I miss "progressive JPEG"

porglezomp,
@porglezomp@mastodon.social avatar

@mcc JXL has progressive decode, it could come back

mcc, to random
@mcc@mastodon.social avatar

My account on "framagit" has just been disabled because I have not used it in one year. I do not even remember what that is. It sounds like something Yosemite Sam would say.

porglezomp,
@porglezomp@mastodon.social avatar

@mcc I think I vaguely remember you saying this phase sounded like Yosemite Sam a bit over a year ago

mcc, to random
@mcc@mastodon.social avatar

Question for Rust programmers:

When you see this sequence of characters in a Rust program:

|_|

Never mind whether you would ever say it out loud— in your head, what do you think of the name of this sequence of symbols being? Do you have a name for it at all?

I have an answer but I am curious about yours.

porglezomp,
@porglezomp@mastodon.social avatar

@mcc I can say that |_| () is the toilet operator and I think of it that way

aeva, to random
@aeva@mastodon.gamedev.place avatar

The Leaving Rust Gamedev article resonates with most of the frustrations I've had working on the internals of Tangerine (C++) since I converted it from being largely single threaded spaghetti to aggressively concurrent spaghetti, and that's making me think maybe I'd have a better time if I picked a different language for the hot paths, because necessary non-compulsory refactoring also kills iteration time.

I just don't know what though, because nothing ever seems to fit the bill of what I need.

porglezomp,
@porglezomp@mastodon.social avatar

@aeva what if we invented a distinction between C♯ and C#

shanecelis, to rust
@shanecelis@mastodon.gamedev.place avatar

Leaving Rust gamedev after 3 years

This is one of those scary articles because it’s hard to find fault with it and the author’s experience beats my own in terms of time with rust and breadth in gamedev. https://news.ycombinator.com/item?id=40172033

porglezomp,
@porglezomp@mastodon.social avatar

@aeva @shanecelis my experience with Lua bindings in Rust (via mlua https://github.com/mlua-rs/mlua) was that it was pretty nice and lower boilerplate than back when I used it in C++.

Private
porglezomp,
@porglezomp@mastodon.social avatar

@jenn the modern version is Moment Magnitude, I think it lines up with the Richter scale for a lot of small earthquakes but it’s much more representative for large and unusual earthquakes

eniko, to random
@eniko@peoplemaking.games avatar

"If you make your own engine you'll never ship a game"

I'm here to tell you this is BS. Kitsune Tails uses a custom engine built on a custom framework all made from the ground up by yours truly. Neither of these were even remotely the bottleneck for development duration. Turns out that the thing that takes the most time when you're developing a game is all the stuff that is hyper specific to that game and can't be generalized anyway

Not to mention all the, you know, actual content that sits on top of the engine. I can write a json parser and serializer from the ground up in a day or two, but all the cutscenes I had to script for KT took many weeks

Then there's the fact that if I'd used an out of the box physics solution for Kitsune Tails I'm fairly certain I'd never have been able to nail the game feel it has, which is the most core thing to the whole experience

You don't have to make an engine but quit pretending doing it is the hard part of making a game. It fucking ain't

porglezomp,
@porglezomp@mastodon.social avatar

@eniko the examples you mention here are all 2D games—do you have any experience with how true this is for 3D?

I haven’t shipped finished games regardless of method so I’m not the best reference but when I’ve built engines I ran into dramatically more complexity with 3D ones than with 2D, and there weren’t as many good resources on solutions to the problems I ran into.

mjg59, to random
@mjg59@nondeterministic.computer avatar

Being less flippant about this - the xz backdoor relied on a line that was present in the tarball release, but not in the git repo. Do we have any infrastructure for validating this kind of thing? (It's expected that the tarball would contain things that aren't in git - for example, the configure script doesn't exist in git, but is expected to be in the release. The problem is that extra code was injected into the configure script after it was generated)

porglezomp,
@porglezomp@mastodon.social avatar

@mcc @erincandescent @mjg59 this isn’t the fault of CMake, this one is the fault of the concept of a compile check for feature detection being so easy to circumvent.

Also the bigger issue is still with people needing packaged sources to build and not being able to build from version control.

tef, to random
@tef@mastodon.social avatar

thinking about the game “stray” and how disappointing i found it

it was the moment where the cat was given a flashlight to see in the dark, then typing in a key code, that’s when i gave up

yes, the player character is a cat, but like a fortnite skin, with no impact on gameplay or mechanics

again they gave the cat a flashlight

porglezomp,
@porglezomp@mastodon.social avatar

@whitequark @tef biggest difference I would expect would be how quickly they can adjust to low lighting—human eyes take like 30 minutes to ramp up to full sensitivity. I imagine greater dynamic range in the pupil can give you less dependence on the chemical adaptation? I can’t find actual numbers for cats adaptation time though.

mcc, to random
@mcc@mastodon.social avatar

Note: In addition to the "fuck you!" to the audience of putting no war in his war show, Tomino supposedly did a "fuck you!" to the suits who financed the show, by— after being denied his request to make a female protagonist— making the protagonist male, then putting him through a long, complex forcefemme storyline that lasts much of the show's arc. I am not joking. It's wonderful.

"Loran! We need you to wear this frilly dress and take feminine posture/voice lessons! World peace depends on it!"

porglezomp,
@porglezomp@mastodon.social avatar

@ebassi @mcc imo all the Turn A designs are some of the best in the whole franchise. Especially the weird ones.

mcc, (edited ) to random
@mcc@mastodon.social avatar

Thirty minutes into my coding work being blocked on picking over documentation trying to figure out how to use my package manager, I realize I have a second problem because the installed version of my package manager is too old for a feature I need. Now I must (a) determine which package manager I used to install the package manager [Debian? The other, older Python package manager I used to install the newer Python package manager?] (b) figure how to use that other package manager

porglezomp,
@porglezomp@mastodon.social avatar

@mcc .local is an XDG standard “this is my own personal bin” folder. It’s recommended as the standard place to install stuff that’s not global to the system instead of every app inventing their own folder.

whitequark, to random
@whitequark@mastodon.social avatar

Q: how can you tell if a developer has been working on the C++ standard library?
__A: __broken "_" __key

porglezomp,
@porglezomp@mastodon.social avatar

@whitequark I always feel like… we’ve got compilers for a reason couldn’t we just not write like that and say we did

porglezomp,
@porglezomp@mastodon.social avatar

@whitequark yeah I mean that the underscores should be in the shipped headers but not the thing people are writing

mcc, to random
@mcc@mastodon.social avatar

Today is my birthday!

If you'd like to do something for me for my birthday, would you please reply to this with—or by other means send me— something with colors you liked? Like an image or a video or a link. Music would also be acceptable if it gives you a strong synesthesiac association with color.

If this request confuses you, here are some examples of images with colors I found striking [Artists: Laurie Barmore, Vian Borchert, Erica Aurahack]. But your reply can be whatever colors you like.

Abstract art by Vian Borchert
Abstract art by Vian Borchert

porglezomp,
@porglezomp@mastodon.social avatar

@mcc I’ve had it as my phone background for years, I love all the shades of blue and green in the Galaxy Warp.

mcc, to random
@mcc@mastodon.social avatar

I am in a terrible mood and I will tell you why: C++

porglezomp,
@porglezomp@mastodon.social avatar

@mcc (reading your double square bracket parenthetical as attribute syntax)

whitequark, (edited ) to random
@whitequark@mastodon.social avatar

my most petty trait is that if you get the capitalization and spelling of a programming language's name consistently wrong I'm going to assume you're laughably incorrect in whatever you say about Ocaml or RUST

(FORTRAN and Fortran are both right)

porglezomp,
@porglezomp@mastodon.social avatar

@whitequark I run into so many embedded developers asking for help with CLANG

mcc, to random
@mcc@mastodon.social avatar

Say I'm in C# and I want to have a type that acts like a OCaml ADT or a Rust Enum— it can be either CONST1, or CONST2, or an object of a particular type I specify.

Is there a C#-idiomatic way to do this?

porglezomp,
@porglezomp@mastodon.social avatar

@mcc record with subclasses and a private constructor seems like an okay solution. I don’t think you get exhaustivity checking though https://stackoverflow.com/a/72441984/3507731

whitequark, to random
@whitequark@mastodon.social avatar

when we say "the impedance of X is lower" (where X is something that isn't intended for transmitting RF energy, e.g. an underground cable), considering that impedance is a complex number, are we talking about the magnitude, or the real part? is talking about the magnitude even a useful thing to do in this context?

porglezomp,
@porglezomp@mastodon.social avatar

@whitequark from my not-recently-refreshed understanding of impedance: you will never care about the real part, just the magnitude and the phase.

mcc, to random
@mcc@mastodon.social avatar

What kind of album cover did I just create. Like what genre of music is this

porglezomp,
@porglezomp@mastodon.social avatar

@mcc super. pentagon.

mcc, to random
@mcc@mastodon.social avatar

People who design APIs. I am begging you. It doesn't matter how "simple" or "intuitive" or "elegant" your API is. You need to include sample code.

porglezomp,
@porglezomp@mastodon.social avatar

@mcc yes, I would assume that all graphics/simulation stuff used meters as their units unless explicitly specified otherwise

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • DreamBathrooms
  • modclub
  • normalnudes
  • ngwrru68w68
  • magazineikmin
  • Durango
  • ethstaker
  • Youngstown
  • rosin
  • slotface
  • InstantRegret
  • everett
  • JUstTest
  • thenastyranch
  • osvaldo12
  • Leos
  • cubers
  • tacticalgear
  • khanakhh
  • mdbf
  • GTA5RPClips
  • anitta
  • provamag3
  • cisconetworking
  • tester
  • lostlight
  • All magazines