Jump to content

Benjamin Kerman

  • Posts

  • Joined

  • Last visited


715 Excellent

Contact Methods

Profile Information

  • About me
    Psychotic Pyromaniac
  • Location
    Trawling the API
  • Interests
    Making rockets with too much dV...

Recent Profile Visitors

5,511 profile views
  1. The Marines have arguably the most difficult fitness test as it requires Marines to run an additional mile and do pull-ups. The USMC physical fitness test (PFT) requirements include crunches for two minutes, pull-ups to the maximum repetition, and a three-mile run. The Marines' fitness testing is undergoing changes and starting to add push-ups as part of the PFT. A Marine can opt out of pull-ups and choose push-ups, but they will only receive 70 percent of the maximum score by doing so. For instance, if a new Marine maxes out the pull-ups (23), they will get 100 points. If the Marine maxes out the push-ups (87), the Marine only gets 70 points. The maximum score for the USMC PFT is 300.
  2. Kerbal Changelog v1.3.0 has been released for KSP 1.9.1. New Features Add change-type grouping (mwerle) Add visit website button (mwerle) Add version date and KSP version fields (zer0Kerbal) Changes High priority changes (indicated by the type field) are now located at the top of the changelog, regardless of their location in the config file.
  3. Do pings switch over when one changes their name on the forum (like would an old ping to @Benjamin Kerman would redirect to a new name?) I've been considering switching over my name to be more consistent with elsewhere online, and to be a little more neutral, and to match my profile picture
  4. Working on a new release of KCL with some changes suggested by @zer0Kerbal and "mwerle" on GitHub (that I accidentally missed for some reason ) These are issues 13-15 on the GitHub page: https://github.com/BenjaminCronin/KerbalChangelog/issues/15 , and I'll probably take a look at implementing some of the other enhancements listed there as well. If anyone else has other suggestions or wants to see some other stuff added, feel free to throw it up on the issues page or drop a note here.
  5. Here's the updated code: static bool ValidateWebsite(string url) { string[] validurls = { "github.com", "forum.kerbalspaceprogram.com" }; Uri siteuri = new Uri("https://" + url); string site = siteuri.Host; if (validurls.Contains(site)) { return true; } return false; } Does anyone have any other websites that they think would should be whitelisted? Perhaps spacedock?
  6. Hi everyone, I've gotten a request for my mod Kerbal Changelog to add a button that will automatically take the user to a mod developer's website/forum page/ect as an easy way for the user to interact with the mod's userbase. In order to do this, I am going to utilize the method Application.OpenUrl, provided by Unity. They also give the warning that input needs to be sanitized before being passed in to prevent malicious URLs from being opened, to keep the users safe. I developed some code to "Validate" the URLs that are given by the mod authors, and I'd just like to have a sanity check before releasing something potentially dangerous to the wider KSP community. bool ValidateWebsite(string url) { string[] validurls = { "github.com", "forums.kerbalspaceprogram.com" }; Regex pattern = new Regex(@"^(\w+\.)+com"); //only works with .com sites right now but can be changed if mod authors have their own custom sites (would still have to match up with the validurls array) //Checks if the url is a valid .com website if(pattern.IsMatch(url)) { Match siteMatch = pattern.Match(url); //Matches the ReGex string site = siteMatch.Groups[1].Value; //Pulls the top level site (whateversite.com) out of the longer string (whateversite.com/mods/mymod.html) if (validurls.Contains(site)) //Checks if the URL is in the list of valid urls (to prevent any sort of malicious activity) { return true; } } return false; } Does anyone have any feedback on whether or not this is safe enough? Thanks.
  7. In order to accurately diagnose a problem, we'd need a full log file and some description as to what was going on when this happened, and what happened because of it.
  8. @moguy16 I don't maintain BDArmory, so I'm not really sure how to help. Asking over on the BDArmory thread would probably yield more fruitful results
  9. There's no effect either with or without ckb-next. I don't believe ckb-next has an sdk, so I'm not sure what to tell you with regards to the linux side of things. They do have an IRC channel on Freenode, #ckb-next, so if you have specific questions about how to interface with keyboards for linux users, you could probably head over there and ask around.
  10. So based on some very limited testing on Ubuntu: I turned off the software that I'm currently using to control key lighting (ckb-next), leaving my keyboard on the default rainbow wave pattern. I don't have Logitech GHub installed, as it is not supported on Linux, so I wasn't able to do any kind of linking of my keyboard to the game. Consequently, there seemed to be no affect to my keyboard from the game (I launched a vessel and EVA'd while watching my keyboard, nothing appeared to change). If the Logitech Hub is required, I don't think this will support Linux users. I'm happy to try anything else you throw my way, or any other specific instructions for installation!
  11. Hi, I'll give that a try. I'm using a 3rd party software to control the lighting currently, so I'll try both with and without that running to see when/if your code works.
  12. Hi, I've got a Corsair K95 Platinum, and I'm running GNU/Linux Ubuntu. Would I be able to help?
  13. Title says it all! I've been working on it for many months, including getting fingerprinted by my county to work in one of their public parks (yeesh!), but it's finally done! What did I do, you may ask? I (re)built an elevated model railway track (G scale) for a local outdoor public train museum! Just a simple square shape, replacing one that was _very_ weather-worn, but it looks pretty nice and I'm really proud of it .
  • Create New...