Spastic Hamburger

Forum Replies Created

Viewing 20 posts – 341 through 360 (of 1,246 total)
  • Author
    Posts
  • in reply to: MWEdit #4027

    There are a variety of cases where OnUpdateItem(esmrecinfo_t *pRecInfo) is an empty function, simply returning 0. Not sure how necessary it is for all uses but I suspect that it can either be removed or moved to the base classes, being overridden as needed.

    in reply to: MWEdit #4022

    It appears that GitHub has some sort of CI support for MSBuild. Don’t know if it’s a paid feature or what but I’ll take a closer look at it once I’m done with the whitespace formatting. There’s a chance it won’t work due to the generated code but if we can at least get a Windows build out (there’s currently no build of the program available anywhere except maybe on SourceForge), then that changes the ballgame somewhat and buys us some time with getting the build script together (it’ll be easier to get a build script written once the generated code and DevIL are sorted out).

    Edit:

    Decided to start looking now. It looks like it’s sort of free: https://docs.github.com/en/billing/managing-billing-for-your-products/managing-billing-for-github-actions/about-billing-for-github-actions

    500 MB isn’t a whole lot for regular builds but does give us about 5 – 10 static builds a month, even more for dynamic builds. We won’t be hosting the *nix builds ourselves as library configurations are different for each distro, so more chance of things breaking. For *nix, we’ll simply have the build script and possibly the recipe for package deployment

    Here’s some information regarding set up: https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners

    Edit 2:

    Looks like we can set up custom commands, too. So a build script for the build script? 😛

    Will take a closer look later. It uses YAML for the configuration, which I’ve never used before. However, overall, the syntax looks pretty self explanatory. Not sure of the system, though. When I get there, I may start off by looking at the MSBuild template and going from there. Will also need to see how it stores the builds and if we can access them. Time will tell. Still have a while before I can really look at it detail, though. I’m only about halfway through the project directory

    in reply to: Software: On & Off the Web #4020

    I prefer OpenSUSE’s zypper but, sadly, I’m stuck on a .deb system here. pacman is pretty good, too.

    Yep, I use Synaptic all the time to help fill in the blanks. Use apt for installation and everything but Synaptic has helpful features that I use for querying information. It also has a pretty good categorical view, which is pretty nice.

    Yeah, Audacity has been a bit messy since the new folks took over. Granted, I haven’t needed to use the program since around 2015 or so. There are some pretty good alternatives on the Arch Wiki (it’s really good for finding cross-platform alternatives). A lot of those are for *nix but some of them are also available on Windows.

    Sound in Windows got weird with the changes in Vista. They added an abstraction layer and then removed a ton of features from the audio APIs. Sound cards were broken for years until they finally caught up with the changes. Perhaps the current difficulties are related to the changes?

    in reply to: MWEdit #4016

    The IsModified() function in the GUI classes can be optmized.

    This is an example of what we have currently:

    if (m_IDText.GetModify()) {
    	m_Modified = true;
    }
    
    if (m_NameText.GetModify()) {
    	m_Modified = true;
    }

    Right now, it checks each condition even though m_Modified is already true so we can change it to else-ifs after the initial if with a default return value of false. That will save a lot of checks when the program goes through those functions

    Edit:

    There are also blocks like this:

    if (pInfoData->Disposition < 0) {
    	pInfoData->Disposition = 0;
    }
    
    if (pInfoData->Disposition > 100) {
    	pInfoData->Disposition = 100;
    }

    They can also be optimized into else-ifs. If the first if succeeds, then we already know the second one doesn’t apply.

    Side note: still deleting all of the extra newlines.

    in reply to: Random #4015

    This looks like a handy device to toss in my bag to work as a scratch pad so I don’t need to waste paper on a basic calculation that I don’t need to save. Cheap enough, too. Looks like off-brand ones are even cheaper at around 2 USD each

    in reply to: Sounds and Music #4012

    Here’s another interesting one coming out: https://miniot.com/blogs/wheel-updates/introducing-wheel-3

    Using optics to read the grooves has been done before with mixed success. I wonder how they’re going to factor gunk and grime in the mix?

    Light jazz anyone?

    Need to clean up my YouTube recommendations one of these days. Thanks to the algorithm, they’re a complete mess now 😛

    Haven’t been to the record store in a while. Probably should drop in for a visit soon 🙂

    in reply to: Software: On & Off the Web #4008

    In the past, I’ve mentioned that I dislike the apt package manager. Got an example of a reason!

    1. Installed Code::Blocks
    2. Didn’t like the looks of it, so uninstalled
    3. Realized that APT didn’t uninstall all of the dependencies as they’re suggested packages of other packages even though I didn’t want them in the first place (I’ve never used gdb, for instance)
    4. Spend thirty minutes trying to track down everything since APT doesn’t keep good logs and I had already cleared the terminal window (most package managers have a revert command to easily reverse an install or have better dependency resolution)
    5. Finally hunt them down and remove everything

    This isn’t really an issue with other package managers and APT also doesn’t have settings to display things in a nice manner. Everything is just displayed on a single line instead of a column view, making it hard to look at at a glance. Its settings file is also poorly documented and the package manager itself lacks a lot of handy features. It’s also very cumbersome to query various package information compared to other package managers. Do like PopOS but not their package manager of choice. /sigh

    in reply to: MWEdit #4007

    Still working on the project/ directory. When the newlines were converted to standard \n a few years ago in that directory, a whole bunch of newlines got added for some reason. As a result, I’m adjusting the amount of vertical whitespace meticulously and is taking some time. Fortunately, this should only need to be done once assuming another utility doesn’t barf down the road.

    in reply to: Random #4005

    Cool! Love the design!

    Got plenty of those! I have three in my cupboards and I know she’s got several insulated bottles that she finds on the river. 😛

    Should probably pick up a basic first aid kit as well to keep in the dry bags. Got extra paddles in case the motor dies. Anything else that’s worth picking up?

    Yep! A lot of software is still being updated after launch to fix bugs with the new system and we’ve been getting a flurry of updates leading up to launch day as well. There’s sure to be some breakage involved somewhere and I’ll want to know that there aren’t any serious hardware flaws that will cause a new hardware revision to be released in a few months. 🙂

    Will pick one up, just going to give it at least six months. 🙂

    Edit: most of the good stuff doesn’t hit until Fall anyways, from the looks of it

    Read something similar in Nature a while back. We keep getting bogus superconductor studies and there’s still that Harvard professor saying every space anomaly is caused by aliens. It really builds distrust and you get a crying wolf situation, where people stop taking you seriously

    We could use a central archive of every scientific study with the data and results, as far back as can be found (so Newton’s would be included). Not just for historical purposes but to improve on older studies and find new results in old data. Even better if it was web accessible. Maybe a potential idea for Walrus down the road?

    in reply to: Morrowind #4003

    So Bash does support Morrowind for installing files but doesn’t yet support any of Mash’s other features, such as level list adjusting.

    in reply to: Morrowind #4002

    Looks like the directory feature is a built-in mod manager: https://openmw.readthedocs.io/en/latest/reference/modding/mod-install.html

    Do note that all of that can be done from the OpenMW launcher 🙂

    in reply to: Films & TV Shows #4000

    Haven’t seen either of those yet. Think I can get reruns of Bones, not sure

    Will try to find out about Se7en!

    Finally watched Casino Royale. While it made little sense, it was a lot of fun. It felt more like a sketch show than something with a plot 😛

    in reply to: Samsung Tablets #3999

    Oppo makes good stuff. Really miss their Blu-ray players. Never got around to picking one up before they shut down the department to focus on mobile. 🙁

    Could be a software bug. I’ve always had some weirdness with my A7 Lite and even more since the most recent software update. Apps can change the orientation but I’m not sure how they interact with the orientation lock. I know some apps are landscape only, I suspect those that are portrait only may do that too

    in reply to: MWEdit #3998

    If getting gtkmm built and distributed for Windows becomes overly complicated (it looks a bit daunting at first glance), we could simply wrap the GUI code in conditional compilation blocks to use the native library on Windows and gtkmm on *nix. Won’t be pretty in the code, though.

    in reply to: Random #3986

    The Switch 2 comes out in a few days. I’m going to wait to get mine until next year at the earliest. I want to wait for them to get the kinks worked out and for more games to come out. At the moment, a lot of the early games are just upgrades of the ones on the original Switch. Elden Ring does look compelling but I need to see some gameplay information before I decide on getting for the PC or console. It’s been on my radar since it came out so I’ve been meaning to look for a while

    in reply to: Random #3983

    Sounds like there may have been some structural weakness, that caused part of it to sheer off during the launch. Sometimes, they’ll flood the dock instead. Much safer!

    My mom just got a johnboat. Should be fun to play with along the rivers and lakes. Amazingly, she doesn’t have any dry bags so I’m probably going to pick some up at some point 🙂

    in reply to: MWEdit #3980

    EditViewObj.cpp and EditViewSort.cpp are empty files and can probably be removed. CustRichEdit.cpp has unused if-statements that can be removed to save a few cycles even if they’re probably being optimized out by the compiler

    Edit:

    Looks like the generated code has something to do with the ClassWizard. Still foreign to me but at least it’s more information than we had previously.

    in reply to: Films & TV Shows #3979

    As I recall, Judge Judy is the highest paid television personality thanks to her daytime shows. Still in syndication here, too. Due to her popularity, we now have about ten or so similar shows running during the day, in addition to the couple of soap operas that are still in our area (I think we only have the Young and the Restless here).

    Saw Planet of the Apes yesterday. Finally. Only took me a few decades! It was fun but some of the dialogue was pretty cheesy, even for the time. Going to see if I can get the rest of the series on streaming or if I’m going to need to buy it.

    in reply to: MWEdit #3975

    In other areas of the code, we have lines like these:

    BEGIN_MESSAGE_MAP(CColorStatic, CStatic)
    	//{{AFX_MSG_MAP(CColorStatic)
    	ON_WM_PAINT()
    	//}}AFX_MSG_MAP
    END_MESSAGE_MAP()
    //{{AFX_INSERT_LOCATION}}
    //}}AFX_INSERT_LOCATION

    I’m assuming these are generated by VS but I’ve never seen that sort of thing before. If generated, it should probably be implemented in the actual code instead.

    WinUtil.cpp/WinUtil.h can probably be trimmed down significantly. They appear to be similar to Common in that they contain a lot of stuff that may or may not be useful but time will tell

    The Windows/ directory has had its whitespace reformatted and I just pushed the commit upstream. Just need to do the whitespace in the files in project/ before I can start making other changes. Probably will clean up the excess characters in the return statements and remove the void from parameterless functions

    in reply to: MWEdit #3966

    Yeah, that’s pretty normal. When there’s an error, oftentimes the compilers complain about surrounding lines as well even though there isn’t an error in them. Pretty annoying as it can sometimes be hard to fix a lot of issues all at once but I think it has something to do with how the parsers are designed.

    Getting close to being finished with the File/ directory. Once that’s done, I’ll be able to start working on the IL/ directory. Depending on how extensive the changes are, we may be able to simply delete most of it in favor of the stock version of DevIL, which will make getting a build together much easier, so I’ll keep an eye out while I’m reformatting things.

    May take a break soonish. Haven’t really been getting some good entertainment in due to being hyper-focused on MWEdit 😛

    Edit:

    It’s possible that File/dxffile.h and File/dxffile.cpp can be removed. They don’t do anything but print the data that’s sent to the function and nothing else. The cpp file is actually empty, in fact.

    Edit 2:

    A bit early but I did some looking and getting a cross-build setup on my end running will take a bit. PopOS doesn’t have all of the packages I’m used to such as the configuration files for various build systems and I’d need to build the library packages manually for Windows so there will be a bit of manual setup (they do have MinGW-W64 stack so that helps). I’ll worry about it when we get to that point, though. VS should still work, though, as the project is already set up for that.

    Edit 3:

    Okay, finished up reformatting the whitespace in the File/ directory and pushed it and File/XML/ to the repo

    Edit 4:

    Still looking at the modifications to DevIL and, so far, it looks like it’s simply been changed to force the use of the Windows macros and the DLL support instead of letting that be handled at build time by choosing the options. If that holds, it looks like the modified version can be removed and handled by the stock versions of RevIL or DevIL with the options chosen at build time as designed.

    Edit 5:

    IL/ is done and pushed. After looking it over, I’m pretty sure the analysis in Edit 4 holds but I’ll take another look when I’m not so tired

Viewing 20 posts – 341 through 360 (of 1,246 total)