@sol_hsa@mastodon.online
@sol_hsa@mastodon.online avatar

sol_hsa

@sol_hsa@mastodon.online

Author of SoLoud, Galaxql, Atanua, Sassy audio spreadsheet, and tons of other projects. I like zx spectrum next. Any opinions I post are mine, not my employers. https://ko-fi.com/sol_hsa

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

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

Third party library, C++ using STL containers, suddenly starts to crash on initialization for no apparent reason.

I love writing software.

sol_hsa,
@sol_hsa@mastodon.online avatar

@code_disaster
Royer's law: third party source never compiles on the first try.

sol_hsa,
@sol_hsa@mastodon.online avatar

@code_disaster When you did build the library, how many warnings did you get?

I find it odd that people release code that triggers tons of warnings..

sol_hsa, to random
@sol_hsa@mastodon.online avatar

During the past 10 years or so, while working on various c++ projects, I have reiterated the following way too many times:

If this was c, it would already have been done.

sol_hsa,
@sol_hsa@mastodon.online avatar

@floooh
That I'm not sure about, these are quite complex projects.

Tijn, to random
@Tijn@dosgame.club avatar

Can't believe I'm a Windows guy now

sol_hsa,
@sol_hsa@mastodon.online avatar

@Tijn you're a windows guy huh? Name five releases of windows then.

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

Breakable barrels was fun. I'm spending too much time adding systems and not enough time building out quests. I'm reluctant to do too much map work since it will all be redone when I find an artist. Excuses, excuses. Those quests aren't going to design themselves... unless I use AI... then its easy street.

sol_hsa,
@sol_hsa@mastodon.online avatar

@grumpygamer
What's your 2 cents about wave function collapse? (I wouldn't use it as a complete random map generator but it could speed up map design a lot)

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

Added benefit is I can have barrels that chase you with no extra work.

sol_hsa,
@sol_hsa@mastodon.online avatar

@grumpygamer or just move around when you're not looking.

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

For some recent work, I wrote a bunch of code which needs to deal with a whole lot of error conditions.

I've ended up typing this "fall-through" pattern a lot:

bool canErrorALot()  
{  
 bool ok = func1();

 ok = ok && func2();

 if (ok && (mayReturnErrorCode() != ErrorCode::None)) {  
 ok = false;  
 }

 ok = ok && func3();

 return ok;  
}  

I quite like this actually. Is this readable to you?

sol_hsa,
@sol_hsa@mastodon.online avatar

@code_disaster It's readable to me, probably because I've read (and written) similar code before.

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

Working in C#, have to watch out for accidental boxing

sol_hsa,
@sol_hsa@mastodon.online avatar

@aras Don't get the joke, but that's pretty.

TechConnectify, to random
@TechConnectify@mas.to avatar

Genuinely fascinated by the number of people who didn't notice the Williams logo and are commenting on the "Motorola-branded" relays throughout the machine.

Like, yeah, those logos are really similar... but the text on the relays is also upside down.

Four relays within the machine with their paper wrappers featuring an upside-down Williams. The numbers on the relays are also upside down.

sol_hsa,
@sol_hsa@mastodon.online avatar

@TechConnectify I was more fascinated by the fact that it was mostly ac.

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

I think my plan is to put together a resume and mail it in on a 3.5 floppy.

sol_hsa,
@sol_hsa@mastodon.online avatar

@grumpygamer That would be amazing.

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

I saw this very interesting job opening that was tempted to apply, but then I realized I don't have a resume and I haven't applied for or interviewed for a job since LucasArts in 1986. I'm assuming I can still FAX my cover letter?

sol_hsa,
@sol_hsa@mastodon.online avatar

@grumpygamer I'm pretty sure a phone call should suffice in your case. Unless it's in an unrelated field.

sol_hsa,
@sol_hsa@mastodon.online avatar

@grumpygamer then walk straight to HR and complain why you haven't been paid

grumpygamer, to gamedev
@grumpygamer@mastodon.gamedev.place avatar

Been a while since I did a TODO list. I got sidetracked with "life". I've been working on the game, finding an artist, and what-not but I need to get back to my daily TODO list. Posting it helps me keep focused and oddly enough it makes me feel accountable. Staying motivated is hard when you're working on a game alone.

sol_hsa,
@sol_hsa@mastodon.online avatar

@grumpygamer
"executive producer: mastodon"

Tijn, to random
@Tijn@dosgame.club avatar

Is there a conventional name in programming for an algorithm that's either in a "seek" or a "collect" phase?

Is there standard terminology for this?

Because I just called it "hunt" and "gather" in my code and I might keep it this way 😎

sol_hsa,
@sol_hsa@mastodon.online avatar

@Tijn mark and sweep is one..

sol_hsa, to unity
@sol_hsa@mastodon.online avatar

My 2 cents on situation. If they can attract a rockstar gamer CEO (say, Carmack) who would open source unity, change licensing to be more in line with unreal, focus development efforts etc, I'm sure unity would have a great future.

What I fear is that they will hire some careful guy with a long career at IBM or Microsoft who won't take any risks and unity will slowly fade into obsolescence.

sol_hsa, to random
@sol_hsa@mastodon.online avatar

am I the only one who sometimes hears a notification bell and doesn't have any idea what application did that, or even which device made the noise..

emmxyzzy, to VintageOSes
@emmxyzzy@mas.to avatar

Hello! I made a lil' YouTube video about my favourite MS-DOS Multiplayer Games!

(The games are as good as my audio is bad. 😎)

Here's a link: https://youtu.be/L-a3J47HeyM

sol_hsa,
@sol_hsa@mastodon.online avatar

@emmxyzzy The biggest fantasy in this game is when you made money with your computer over the weekend.

mike, to unity
@mike@jammer.social avatar
sol_hsa,
@sol_hsa@mastodon.online avatar

@mike he'll likely retire with several millions of severance bonus..

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

Dear ImGui: Toyed with a proof of concept for angled tab headers, I'll see if I can nail some of the remaining design/api issues by next version..

sol_hsa,
@sol_hsa@mastodon.online avatar

@ocornut half expected the tabs to be different drum samples.. ;)

sol_hsa,
@sol_hsa@mastodon.online avatar

@ocornut
cabasa, ride, crash, tom-hi, tom-mid, tom-low, hihat-o, hihat-c, snare-s, snare-c, clap, rim, kick

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

F**k! I really didn't see it.

Skynet is evolving.

(This, or I am a robot.)

sol_hsa,
@sol_hsa@mastodon.online avatar

@code_disaster These are getting ridiculous.

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

Is there a portable low-level trick way for callbacks in my C++ codebase to support capturing lambdas, without relying on std::function/<functional>, or with less overhead?

Merely wrapping a function pointer in std::function<> makes the call jumps through unacceptable hoops (gave up stepping after 400+ instructions, that's without capturing anything).

I don't mind capturing users paying the cost, but I don't want raw function pointers users to be paying so much. Is there a way?

sol_hsa,
@sol_hsa@mastodon.online avatar

@ocornut
As a little bit safer alternative to pure function pointers, just provide an interface class with a single pure virtual function to be overriden.. sure it's not cool and modern but it works.

sol_hsa,
@sol_hsa@mastodon.online avatar

@floooh @ocornut @pervognsen
Mm.. queries would fit imgur better, but I do see how callbacks can be useful.

sol_hsa,
@sol_hsa@mastodon.online avatar

@floooh @ocornut @pervognsen ...imgui.. autocorrect apparently prefers cat pictures

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