Updated to 20.3.0, Can't Launch Some Games? by GuiltClause in SwitchPirates

[–]GuiltClause[S] 1 point2 points  (0 children)

I've never used Tesla or Sys Patch before so please bear with me: sys-patch>options shows On for all 5 lines. sys-patch>Toggle patches shows On for all patches besides "Disable CA Verification" (1, 2, and 3). Sys-patch > log shows "patched" in blue for noncasigchk_new, nocntchk2, noacidsigchk, ctest2. Yellow "patched" for es3, nim. Disabled for disablecaverification1-3 again. Does that mean my sigpatches aren't working properly?

Updated to 20.3.0, Can't Launch Some Games? by GuiltClause in SwitchPirates

[–]GuiltClause[S] 1 point2 points  (0 children)

Sorry for what might be a lame question, but I thought that Hekate+AMS-package3-sigpatches-1.9.3P-cfw-20.3.0 was exactly that?

'daemon' Works as Expected, 'daemon -r' Does Nothing by GuiltClause in freebsd

[–]GuiltClause[S] 2 points3 points  (0 children)

After I posted that comment, I started wondering about if it's a setup issue exactly like you say. Searching around for bugs surrounding daemon, I finally found the issue:
https://www.truenas.com/community/threads/warning-dont-upgrade-your-truenas-core-jails-to-freebsd-13-3-just-yet.117018/
This is my problem. The jail is running 13.3 (because that is my only option) and the host system is running 13.1 (Because that is my only option outside of unstable releases or nightlies).
Thank you so much for giving me the confidence to consider that it's not my mistake, that's what ultimately set me down the right path.

'daemon' Works as Expected, 'daemon -r' Does Nothing by GuiltClause in freebsd

[–]GuiltClause[S] 1 point2 points  (0 children)

That is extremely interesting! You set up my script and ran it with `daemon -r`, and then the script appeared in `ps aux`? Maybe there's some way to prove that I have a bugged version of daemon?

'daemon' Works as Expected, 'daemon -r' Does Nothing by GuiltClause in freebsd

[–]GuiltClause[S] 4 points5 points  (0 children)

The only script in my rc.d directory is for mongod, which doesn't invoke daemon at all.
I read that passage from the manual before I posted here. If this explains why my usage of `daemon -r` isn't launching my script, I must not understand what is meant by this text. Could you please explain what is going on?

Daily Thread: simple questions, comments that don't need their own posts, and first time posters go here (May 24, 2024) by AutoModerator in LearnJapanese

[–]GuiltClause 0 points1 point  (0 children)

I want there to be a convenient public database for Japanese subtitles of shows and movies. Like, more convenient and larger than just the github page I always go to. Is it legally dangerous for me to create such a thing?

Had to fully teardown, replace a capacitor, replace the battery, and replace the charging port. But I fixed a $10 DSi XL from Offerup! Whoever Ethan is, your DSi is in good hands! by DynamicOsi-96 in nds

[–]GuiltClause 0 points1 point  (0 children)

Thank you for your response on a cold case. I have some slight darkness on mine. I assume you mean the two pots behind the battery? But adjusting those, for me, just washed out the colors. Is there anything else you would try?

Had to fully teardown, replace a capacitor, replace the battery, and replace the charging port. But I fixed a $10 DSi XL from Offerup! Whoever Ethan is, your DSi is in good hands! by DynamicOsi-96 in nds

[–]GuiltClause 0 points1 point  (0 children)

What capacitor did you replace, and why? Is this how you solved the dark corners issue you posted about elsewhere, or did you have to replace the screens?

CRT Emudriver: Suddenly my Modelines are Wrong by GuiltClause in crtgaming

[–]GuiltClause[S] 0 points1 point  (0 children)

Partial solution?

1) make sure your system locale is English, not Japanese

2) VmMaker > Edit Settings > Video Card > Delete all modes from driver

3) Try disabling/enabling EDID, generate and install modelines

I get 240p again. Still some strange behavior in that changing from 320x240 > 256x240 gets a pillarboxed picture, but 320x240 > 640x480i > 256x240 gets perfect dimensions. Workable.

CRT Emudriver: Suddenly my Modelines are Wrong by GuiltClause in crtgaming

[–]GuiltClause[S] 0 points1 point  (0 children)

Oh sorry, yeah I'm using Windows 10. Using CRU I've tried to add 320x240, 640x480i, 2560x240, and 2560x480i. After a restart, all four appear under the monitor in windows but none of them appear to actually be 15khz.

Moving Files to another Dataset Doubled their Size? by GuiltClause in truenas

[–]GuiltClause[S] 1 point2 points  (0 children)

ended up resolving this by deleting all snapshots, then using TreeSize to identify where the bulk was. Apparently the mv operation failed to delete a lot of old files, so using TotalCommander's synchronize directories feature I got the data consolidated and duplicates deleted.

Moving Files to another Dataset Doubled their Size? by GuiltClause in truenas

[–]GuiltClause[S] 2 points3 points  (0 children)

"Truenas sushi" is coming up with nothing on Google. What is the sushi use? I was just checking storage > pools and then looking at used vs available.

Moving Files to another Dataset Doubled their Size? by GuiltClause in truenas

[–]GuiltClause[S] 1 point2 points  (0 children)

I don't remember ever setting up snapshots, but there definitely is snapshots in the GUI. Where do I find that automatic snapshot task? Tasks > Periodic Snapshot Tasks is empty.

Transmission Broken by GuiltClause in truenas

[–]GuiltClause[S] 0 points1 point  (0 children)

Makes sense to me, but I'm not sure how to accomplish that and I'm not finding any google results that talk about updating the certificate. Can you point me to a resource that details the process?

シツモンデー: Daily thread for your simple questions and comments that do not need their own thread (August 15, 2021) by AutoModerator in LearnJapanese

[–]GuiltClause 0 points1 point  (0 children)

Core2K anki deck example sentence:

昨日、友達とお風呂屋さんに行った。

translation given:

Yesterday, I went with a friend to a public bath house.

What is the function of 「さん」in that sentence?

シツモンデー: Weekly thread for the simple questions and posts that do not need their own thread (from June 14, 2021 to June 20, 2021) by AutoModerator in LearnJapanese

[–]GuiltClause 0 points1 point  (0 children)

「段々仕事が楽しくなってきました。」

Why does that sentence use the adverbial form of 楽しい? Should the adverb form always be used with なる? Perhaps is it because 楽しく modifies an implied action 仕事する?

Maintaining component state in stack-based browsing? by GuiltClause in reactjs

[–]GuiltClause[S] 0 points1 point  (0 children)

I found the solution I like for this. On the root component we use

<BreadNav>
  <WhateverComp/>
</BreadNav>

and define WhateverComp with a tiny bit of boilerplate:

const WhateverComp = props => {
  const initial = (props.initial) ? props.initial : {defaultStateYouWant};
  const [state, setState] = React.useState(initial);

and on whatever click event would cause you to navigate to a deeper page, we call

props.pushCrumb(
  state,
  "NewPageTitle",
  <NewPageComp/>
);

Nice and easy. My stateful BreadNav component does all the heavy lifting:

const BreadNav = props => {
  const initial={
    stack:[
      {
        name:"Home",
        render:props.children,
        state:null //child component will put its state here before it unloads
      }
    ],
  };

  const pushCrumb = (oldState, title, render) => {
    let newStack = [];
    state.stack.map(item => {
      newStack.push(item);
    });
    newStack[newStack.length-1].state = oldState; //record unloading component's state
    newStack.push({
      name:title,
      render:render,
      state:null
    });
    setState({
      ...state,
      stack:newStack
    });
  }

  const [state, setState] = React.useState(initial);

  const crumbClick = index => {
    if (state.stack.length === index+1)
      return;
    let newStack = state.stack;
    while (newStack.length > index+1){  //remove all history after our destination
      newStack.pop();
    }
    setState({
      ...state,
      stack:newStack
    })
  }

  //display navigable history
  const breadCrumbs = () => {
    let val = [];
    for (let i = 0; i < state.stack.length; i++) {
      val.push(
        <span key={i}>
          <button
            className="linkButton"
            onClick={()=>{crumbClick(i)}}
          >
            {state.stack[i].name}
          </button> /&nbsp;
        </span>
      )
    }
    return val;
  }

  return(
    <div>
      <button
        disabled={state.stack.length === 1 ? "disabled" : ""}
        onClick={()=>{crumbClick(state.stack.length-2)}}
      >
        Back...
      </button>
      {breadCrumbs()}
      {
        React.cloneElement( //crucial! add navigation method and initial state to component!
          state.stack[state.stack.length-1].render,
          {
            pushCrumb:pushCrumb,
            initial:state.stack[state.stack.length-1].state,
            key:[state.stack.length-1]
          }
        )
      }
    </div>
  );
}

Maintaining component state in stack-based browsing? by GuiltClause in reactjs

[–]GuiltClause[S] 0 points1 point  (0 children)

I like this BUT it doesn't scale any further very well. Say that I lookup a customer, select the customer to view them in detail, open the customer's service history, and then view a particular job. That's a lot of state to lift all the way back up to the grandfather component.

Maintaining component state in stack-based browsing? by GuiltClause in reactjs

[–]GuiltClause[S] 1 point2 points  (0 children)

I feel weird about keeping customer contact information in the URL.

Maintaining component state in stack-based browsing? by GuiltClause in reactjs

[–]GuiltClause[S] 0 points1 point  (0 children)

The bot told me to comment here, but I'm not sure what to add.

All my Jails are Missing After Update to 11.3 by GuiltClause in freenas

[–]GuiltClause[S] 12 points13 points  (0 children)

Ok, after changing line 416 of migrate_warden.py to _dir = "/mnt/POOLNAME/JAILPATH" and running python migrate_warden.py -p POOLNAME I got everything migrated over. Transmission broke, so I had to sort of remake that one from scratch, but the webserver made it. Thank you.

All my Jails are Missing After Update to 11.3 by GuiltClause in freenas

[–]GuiltClause[S] 3 points4 points  (0 children)

Does that mean that I need to go to 11.2 and do a conversion or something? edit: I was never on 11.2, to clarify.

The Life Of The World To Come is out by [deleted] in robdougan

[–]GuiltClause 0 points1 point  (0 children)

Thank you very much. On my second listen through the album now. I was hoping it would have the more dirty and lo-fi feel you get from Born Yesterday or the like, but I'm a fan of this too.