nixos-rebuild: fix issues when using --target-host

Description of changes
This PR fixes deploying to hosts that require entering a password for sudo using --target-host.
This PR changes --use-remote-sudo (when used with --target-host) to use sudo as little as possible. A new flag --use-remote-sudo-always to maintain the legacy behaviour has been added.
This PR also fixes systemd-run hanging when used with --target-host.
Replaces #109046
Fixes #262686
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

cc @FRidh @zimbatm @oxalica @bjornfor

Add a :+1: reaction to pull requests you find important.

cc @thiagokokada @duament @roberth

I tried this pr. But it didn't fix #262686.
My first switch (https://github.com/duament/flakes/actions/runs/7363818666/job/20043632674) succeeded, although there's a warning Pseudo-terminal will not be allocated because stdin is not a terminal. and the output of switch-to-configuration was not printed.
My second switch (https://github.com/duament/flakes/actions/runs/7363898397/job/20043786127) failed, but the exit code was 0 and github treated it as a success. Here's the error message: Failed to start transient service unit: Unit nixos-rebuild-switch-to-configuration.service was already loaded or has a fragment file.

@duament could you test this PR again? I've changed the flag from -t to -tt which should hopefully fix it

-tt breaks the tests so I'm going to switch back to using -t, my last commit only fixes a systemd-run hang regression that was introduced by adding -t, I don't think it fixes #262686

Hi @Enzime, Hi @roberth
I just tested the change with my nixos server and I observed a regression. When using --build-host and flakes, nixos-rebuild fails with a weird error. I added +x logging to bash and found that pathToConfig ( here ) is set to the tty output of ssh which is in my case:
'warning: you did not specify '\''--add-root'\''; the result might be removed by the garbage collector
'nix/store/ph132c4ihigcfyi86pwlmn4q12qmwyz7-nixos-system-granogayo-24.05.20240113.e0d20bf

All subsequent commands then fail with weird errors. Reverting https://github.com/NixOS/nixpkgs/pull/277642/commits/09fd207cb8a6a1e654cdc9dc49610ebd456fe05d fixes the issue.

Found an even worse problem as well, which was already caught by the tests, but not reported well by ofborg. I did check the list, but missed the single grey status this time.
Fixes available in #277642; will merge as soon as tests pass locally.
If any other issues come up, consider reverting both PRs unless trivially fixable.
TODO:

[ ] Add regression test for --build-host. I suggest extending the target host test for this; seems more efficient that way. Maybe rename it to -remote-hosts? Keep the existing test case in the testScript as is.

Made a start here. Would appreciate some help.

#281130


Fix typo and comment in balance_strategy.go

This fixes the comment for the Plan function in balanceStrategy. There was also another typo in a comment.

Great catch, thanks!


Cross reference jpmml-sparkml-lightgbm plugin

JPMML-SparkML-LightGBM plugin is now open-sourced. Here we cross reference each other.

@mhamilton723 can you merge this?  Thanks!


FieldArray sub fields not rerendered on FieldArray elements insert/remove

I'm seeing an issue where other Fields within a FieldArray aren't re-rendered when the field array has new elements inserted/removed.
Here is a contrived example of what is happening:
<FieldArray name='sequences' component={function (seqs) {
  return

    <button onClick={function () {
      seqs.push('')
    }}> Add another field</button>
    {seqs.map(function (seq) {
      <Field name={seq} component={function (sequence) {
          if (seqs.length > 1) {
            return
more than 1

          }
          return
less than 1

        }}/>
      }) }

}}/>

When I add fields, the first field is stuck at "less than 1"
Hopefully this makes sense.
Cheers,
Thomas

Yep, I understand the problem exactly. You cannot rely on closures (e.g. seqs) in your components. See #985 and the explanation I gave today on v6.0.0-alpha.14's release.
If you could give a less contrived example about what you want to accomplish, perhaps I could suggest a solution.

Hey @erikras , thanks for the explanation. I'm still struggling to figure out how to allow my subFields to rerender when their neighbors change, as well as remove themselves from and shuffle their order within the array. It seems like you touched on it here, but I still have a few questions about it:

How would we write stuff with FieldArray if we're no longer allowed to use arrow functions?

Sure, you will.

const renderMembers = array =>
(

{array.map(name => )}
<button type="button" onClick={() => array.push()}>Add Member

)

@reduxForm({ form: 'myForm' })
class MyForm extends Component {
render() {
const { handleSubmit } = this.props
return (

)
}
}

Imagine now that the Field within render members needs to do things like remove itself from the array or update its state based on the number of items within the array. How would we go about that in this case?

Here is my actual code (sorry it's quite messy. I'm in the middle of refactoring it to use v6). AddInserts gets its inserts array from the :
```js
//Design.js
...
function renderInserts (inserts) {
      return <AddInserts
        runj5={runj5}
        j5Running={j5Running}
        changePage={changePage}
        //disabled={destinationVector.error || assembly_methodType.error || !(caretPosition > -1 || selectionLayer.start > -1) }
        inserts={inserts}
        />
    }
...
render() {
          <FieldArray
            name="inserts"
            component={renderInserts}/>
}
...

//AddInserts.js
export default class AddInserts extends React.Component {
  render () {
    var {disabled, inserts, runj5, j5Running} = this.props;
    console.log('rerendering!:')

    function renderInsert (_insert) {
      var insert = {
        ..._insert,
        onChange: function(event) {
          _insert.onChange({sequence: event.target.value})
        },
        onDrop: function(files) {
          //tnr: we'll want to do basic checking here
          files.forEach(function(file, index) {
            var fileReader = new FileReader() //tnr it might not be the most effecient to instantiate multiple file readers
            fileReader.onload = function(event) {
              anyToJson(event.target.result, function(result) {
                if (index === 0) {
                  _insert.onChange({...result[0].parsedSequence, fromFileUpload: true
                  })
                } else {
                  //add all the inserts up to 8 total..
                  inserts.push({...result[0].parsedSequence, fromFileUpload: true})
                }
              })
            }
            fileReader.onerror = function(err) {
              console.error(err)
            }
            fileReader.readAsText(file)
          });
        }
      }
      return

         Insert #{index + 1}

            <SequenceInput placeholder="Input insert sequence" input={insert}/>

            <SortUp className={"moveUpButton" + (index === 0 ? ' disabled' : '')} type="button" onClick={() => {
                if (index !== 0) {
                  inserts.swap(index, index - 1);  // swap field with it's predecessor
                }
              }}/>

            <Close className={"removeInsertButton " + (inserts.length === 1 ? ' disabled' : '')} type="button" onClick={() => {
                  if (inserts.length !== 1) {
                    inserts.remove(index);
                    var clicked = false;
                    var msg = "Undo insert deletion"
                    alertify
                    .closeLogOnClick(true)
                    .log(msg, function(ev) {
                      ev.preventDefault();
                      if (!clicked) {
                        inserts.insert(insert.value, index);
                        clicked=true;
                      }
                    })
                  }
                }}> Remove insert
              </Close>
              <SortDown className={"moveDownButton " + ((index === inserts.length - 1) ? ' disabled' : '')} type="button" onClick={() => {
                  if (index !== inserts.length - 1) {
                    inserts.swap(index, index + 1); // swap field with it's successor
                  }
                }}
                />

    }
    return (

        <Card disabled={disabled} number={3} title='Add Inserts' className='AddInserts'>

  	      	{inserts.map((insert, index) => {
              return <Field name={insert} component={renderInsert}/>
            }
  	      	)}
  	      	<button className="addInsertButton" type="button" onClick={() => {
  	      		inserts.push('')
  	      	}}> + Add an additional insert
  	      	</button>

              <button className="computeButton" type="button" onClick={() => {
                runj5()
              }}> Run inFusion designer
              </button>
              <ReactCSSTransitionGroup transitionName="taSpinner" transitionEnterTimeout={500} transitionLeaveTimeout={500}>
              {
                j5Running &&
                  <Spinner key='spinner'/>
              }
              </ReactCSSTransitionGroup>

        </Card>

    )
  }
}

Thanks for the help and I hope the example makes sense. It has some deliberate errors in it currently because I'm not sure how to solve the inserts passing problem...

From what @ooflorent said earlier, it looks like I'll need to do this:

Whenever component changes, Field does not re-render.
You must add extra props to your Field element if you want them to update:

render() {
  const {isLoading} = this.props
  return (
    <Field
      name="fieldName"
      isLoading={isLoading}
      component={field =>

        <input
          type="text"
          disabled={field.isLoading}
          {...field}  />

    }/>
  )
}

@erikras is the above pattern still the recommended approach for getting the field's component to update?
Thanks again!

@tnrich You should avoid the closure. But the pattern is the same. See https://github.com/erikras/redux-form/issues/976#issuecomment-220016992

@ooflorent and @erikras, thanks for the help. I still have a couple questions though.
First off is the following code "correct"?
If so, this pattern seems a little funky when dealing with field arrays..
...
function renderInserts (fields) {
//How should we destructure off the fields here, like this?
var {disabled, ...inserts} = fields
  return <AddInserts
    inserts={inserts}
    />
}
...
<FieldArray
  name="inserts"
  disabled={disabled}
  component={renderInserts}/>

It seems strange to me to pass the props down on the "fields" object.
Could there be a second argument perhaps?
function renderInserts (inserts, props) {
var {disabled} = props
  return <AddInserts
    inserts={inserts}
    />
}

Or maybe give the fields a named key..?
function renderInserts ({fields, disabled}) {
  return <AddInserts
    inserts={inserts}
    />
}

What do you all think? Thanks again!

Any thoughts @erikras and @ooflorent. Does this question make sense?

It seems strange to me to pass the props down on the "fields" object.  Could there be a second argument perhaps?

It makes perfect sense on <Field>, but you might have a good argument for separating it for <FieldArray>, as the pseudo-array object, which you are calling fields, perhaps should be its own thing. I normally just call it array, but fields might be a better term. Your last example ({ fields, disabled }) makes a lot of sense.
Any others want to weigh in on this?

I'm a fan of ({ fields, disabled }) as well

Go vote over on #1063.

Hi , i am using FieldArray and i want my fieldArray to have one default element. and then user can add more. Can any one please help me how to insert an default element in default fields Array?

I have an issue with the boolean values with checkBox components.
If i want to push a checkbox value (true or false) to the fields, the checkbox with the "true" value gets merged in the field store but not with the "false".
    onCheckboxChange(e) {
          const { fields } = this.props;
          const value = e.target.checked;
          const name = e.target.name;
          const updatedField = Object.assign({}, fields.pop(), { [name]: value });
         // updatedField contains the new value with false or true value.
          fields.push(updatedField);
        // but after pushing the store does not contain the field with the false value.
}

note: the initialvalues for the fields contains false values.

Closing this out on general expiry grounds, not sure there is a specific purpose this issue is serving at this point. Feel free to bring new evidence to light!
@satyaki20 initialValues can be used on e.g. fieldName[0] to provide a default value.


[flash_ctrl/dv] Fixes for Xcelium and flash_ctrl_phy_cov_if

I split these out from #21226 to ease review and separate their potential impact on CI / regressions.

util/dvsim/dvsim.py hw/ip/flash_ctrl/dv/flash_ctrl_sim_cfg.hjson -i all_once -t vcs

### Test Results
|  Stage  |                   Name                    | Tests                                    |  Max Job Runtime  |  Simulated Time  |  Passing  |  Total  |  Pass Rate  |
|:-------:|:-----------------------------------------:|:-----------------------------------------|:-----------------:|:----------------:|:---------:|:-------:|:-----------:|
|   V1    |                   smoke                   | flash_ctrl_smoke                         |      1.347m       |     22.284us     |     1     |    1    |  100.00 %   |
|   V1    |                 smoke_hw                  | flash_ctrl_smoke_hw                      |      20.550s      |     23.804us     |     1     |    1    |  100.00 %   |
|   V1    |               csr_hw_reset                | flash_ctrl_csr_hw_reset                  |      32.480s      |    166.860us     |     1     |    1    |  100.00 %   |
|   V1    |                  csr_rw                   | flash_ctrl_csr_rw                        |      10.940s      |    125.250us     |     1     |    1    |  100.00 %   |
|   V1    |               csr_bit_bash                | flash_ctrl_csr_bit_bash                  |      38.250s      |     1.271ms      |     1     |    1    |  100.00 %   |
|   V1    |               csr_aliasing                | flash_ctrl_csr_aliasing                  |      22.740s      |    879.559us     |     1     |    1    |  100.00 %   |
|   V1    |        csr_mem_rw_with_rand_reset         | flash_ctrl_csr_mem_rw_with_rand_reset    |      11.330s      |     88.893us     |     1     |    1    |  100.00 %   |
|   V1    | regwen_csr_and_corresponding_lockable_csr | flash_ctrl_csr_rw                        |      10.940s      |    125.250us     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_csr_aliasing                  |      22.740s      |    879.559us     |     1     |    1    |  100.00 %   |
|   V1    |                 mem_walk                  | flash_ctrl_mem_walk                      |      8.890s       |     40.049us     |     1     |    1    |  100.00 %   |
|   V1    |            mem_partial_access             | flash_ctrl_mem_partial_access            |      9.420s       |     37.992us     |     1     |    1    |  100.00 %   |
|   V1    |                                           | **TOTAL**                                |                   |                  |     9     |    9    |  100.00 %   |
|   V2    |                   sw_op                   | flash_ctrl_sw_op                         |      23.210s      |     23.911us     |     1     |    1    |  100.00 %   |
|   V2    |             host_read_direct              | flash_ctrl_host_dir_rd                   |      1.593m       |    533.210us     |     1     |    1    |  100.00 %   |
|   V2    |                 rma_hw_if                 | flash_ctrl_hw_rma                        |      14.567m      |    337.786ms     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_hw_rma_reset                  |      7.104m       |    120.166ms     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_lcmgr_intg                    |      10.580s      |     16.836us     |     1     |    1    |  100.00 %   |
|   V2    |            host_controller_arb            | flash_ctrl_host_ctrl_arb                 |      19.811m      |    269.530ms     |     1     |    1    |  100.00 %   |
|   V2    |               erase_suspend               | flash_ctrl_erase_suspend                 |      4.401m       |     5.790ms      |     1     |    1    |  100.00 %   |
|   V2    |               program_reset               | flash_ctrl_prog_reset                    |      10.800s      |     55.031us     |     1     |    1    |  100.00 %   |
|   V2    |            full_memory_access             | flash_ctrl_full_mem_access               |      16.476m      |    172.924ms     |     1     |    1    |  100.00 %   |
|   V2    |             rd_buff_eviction              | flash_ctrl_rd_buff_evict                 |      1.523m       |     2.584ms      |     1     |    1    |  100.00 %   |
|   V2    |          rd_buff_eviction_w_ecc           | flash_ctrl_rw_evict                      |      25.080s      |     59.361us     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_rw_evict_all_en               |      21.110s      |     47.183us     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_re_evict                      |      21.190s      |    360.902us     |     1     |    1    |  100.00 %   |
|   V2    |                 host_arb                  | flash_ctrl_phy_arb                       |      2.994m       |     40.591us     |     1     |    1    |  100.00 %   |
|   V2    |              host_interleave              | flash_ctrl_phy_arb                       |      2.994m       |     40.591us     |     1     |    1    |  100.00 %   |
|   V2    |             memory_protection             | flash_ctrl_mp_regions                    |      6.275m       |     23.655ms     |     1     |    1    |  100.00 %   |
|   V2    |                fetch_code                 | flash_ctrl_fetch_code                    |      15.450s      |     1.503ms      |     1     |    1    |  100.00 %   |
|   V2    |              all_partitions               | flash_ctrl_rand_ops                      |      12.686m      |     1.005ms      |     1     |    1    |  100.00 %   |
|   V2    |                 error_mp                  | flash_ctrl_error_mp                      |      20.691m      |     46.240ms     |     1     |    1    |  100.00 %   |
|   V2    |              error_prog_win               | flash_ctrl_error_prog_win                |      11.388m      |     3.274ms      |     1     |    1    |  100.00 %   |
|   V2    |              error_prog_type              | flash_ctrl_error_prog_type               |      20.196m      |     1.320ms      |     1     |    1    |  100.00 %   |
|   V2    |              error_read_seed              | flash_ctrl_hw_read_seed_err              |      10.260s      |     51.154us     |     1     |    1    |  100.00 %   |
|   V2    |            read_write_overflow            | flash_ctrl_oversize_error                |      1.462m       |    993.220us     |     1     |    1    |  100.00 %   |
|   V2    |            flash_ctrl_disable             | flash_ctrl_disable                       |      18.970s      |     14.049us     |     0     |    1    |   0.00 %    |
|   V2    |            flash_ctrl_connect             | flash_ctrl_connect                       |      10.600s      |     81.369us     |     1     |    1    |  100.00 %   |
|   V2    |                stress_all                 | flash_ctrl_stress_all                    |      11.050m      |    928.883us     |     1     |    1    |  100.00 %   |
|   V2    |             secret_partition              | flash_ctrl_hw_sec_otp                    |      1.805m       |     10.938ms     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_otp_reset                     |      2.092m       |     75.510us     |     1     |    1    |  100.00 %   |
|   V2    |            isolation_partition            | flash_ctrl_hw_rma                        |      14.567m      |    337.786ms     |     1     |    1    |  100.00 %   |
|   V2    |                interrupts                 | flash_ctrl_intr_rd                       |      1.638m       |     1.242ms      |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_intr_wr                       |      1.725m       |     46.683ms     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_intr_rd_slow_flash            |      2.388m       |     12.339ms     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_intr_wr_slow_flash            |      5.042m       |     87.845ms     |     1     |    1    |  100.00 %   |
|   V2    |                invalid_op                 | flash_ctrl_invalid_op                    |      37.030s      |     2.198ms      |     1     |    1    |  100.00 %   |
|   V2    |                mid_op_rst                 | flash_ctrl_mid_op_rst                    |      56.120s      |     3.805ms      |     1     |    1    |  100.00 %   |
|   V2    |              double_bit_err               | flash_ctrl_read_word_sweep_derr          |      17.160s      |    198.404us     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_ro_derr                       |      1.243m       |     1.176ms      |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_rw_derr                       |      5.158m       |     9.282ms      |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_derr_detect                   |      1.360m       |    506.854us     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_integrity                     |      5.111m       |     24.036ms     |     1     |    1    |  100.00 %   |
|   V2    |              single_bit_err               | flash_ctrl_read_word_sweep_serr          |      16.690s      |     25.785us     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_ro_serr                       |      1.158m       |    507.539us     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_rw_serr                       |      5.481m       |     22.319ms     |     1     |    1    |  100.00 %   |
|   V2    |           singlebit_err_counter           | flash_ctrl_serr_counter                  |      25.970s      |    235.185us     |     1     |    1    |  100.00 %   |
|   V2    |           singlebit_err_address           | flash_ctrl_serr_address                  |      39.370s      |     2.923ms      |     1     |    1    |  100.00 %   |
|   V2    |                 scramble                  | flash_ctrl_wo                            |      56.800s      |     2.421ms      |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_write_word_sweep              |      13.690s      |    326.443us     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_read_word_sweep               |      10.600s      |     15.694us     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_ro                            |      1.049m       |     5.039ms      |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_rw                            |      4.116m       |     20.262ms     |     1     |    1    |  100.00 %   |
|   V2    |            filesystem_support             | flash_ctrl_fs_sup                        |      21.330s      |     1.120ms      |     1     |    1    |  100.00 %   |
|   V2    |          rma_write_process_error          | flash_ctrl_rma_err                       |      5.407m       |     46.187ms     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_hw_prog_rma_wipe_err          |      1.217m       |     10.017ms     |     1     |    1    |  100.00 %   |
|   V2    |                alert_test                 | flash_ctrl_alert_test                    |      9.340s       |     67.231us     |     1     |    1    |  100.00 %   |
|   V2    |                 intr_test                 | flash_ctrl_intr_test                     |      9.670s       |     53.718us     |     1     |    1    |  100.00 %   |
|   V2    |           tl_d_oob_addr_access            | flash_ctrl_tl_errors                     |      12.360s      |     62.073us     |     1     |    1    |  100.00 %   |
|   V2    |            tl_d_illegal_access            | flash_ctrl_tl_errors                     |      12.360s      |     62.073us     |     1     |    1    |  100.00 %   |
|   V2    |          tl_d_outstanding_access          | flash_ctrl_csr_hw_reset                  |      32.480s      |    166.860us     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_csr_rw                        |      10.940s      |    125.250us     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_csr_aliasing                  |      22.740s      |    879.559us     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_same_csr_outstanding          |      28.830s      |    211.045us     |     1     |    1    |  100.00 %   |
|   V2    |            tl_d_partial_access            | flash_ctrl_csr_hw_reset                  |      32.480s      |    166.860us     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_csr_rw                        |      10.940s      |    125.250us     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_csr_aliasing                  |      22.740s      |    879.559us     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_same_csr_outstanding          |      28.830s      |    211.045us     |     1     |    1    |  100.00 %   |
|   V2    |                                           | **TOTAL**                                |                   |                  |    54     |   55    |   98.18 %   |
|   V2S   |          shadow_reg_update_error          | flash_ctrl_shadow_reg_errors             |      10.580s      |    119.988us     |     1     |    1    |  100.00 %   |
|   V2S   |    shadow_reg_read_clear_staged_value     | flash_ctrl_shadow_reg_errors             |      10.580s      |    119.988us     |     1     |    1    |  100.00 %   |
|   V2S   |         shadow_reg_storage_error          | flash_ctrl_shadow_reg_errors             |      10.580s      |    119.988us     |     1     |    1    |  100.00 %   |
|   V2S   |           shadowed_reset_glitch           | flash_ctrl_shadow_reg_errors             |      10.580s      |    119.988us     |     1     |    1    |  100.00 %   |
|   V2S   |    shadow_reg_update_error_with_csr_rw    | flash_ctrl_shadow_reg_errors_with_csr_rw |      10.280s      |     32.762us     |     1     |    1    |  100.00 %   |
|   V2S   |                tl_intg_err                | flash_ctrl_sec_cm                        |      31.583m      |     8.014ms      |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_tl_intg_err                   |      7.286m       |    822.680us     |     1     |    1    |  100.00 %   |
|   V2S   |         sec_cm_reg_bus_integrity          | flash_ctrl_tl_intg_err                   |      7.286m       |    822.680us     |     1     |    1    |  100.00 %   |
|   V2S   |         sec_cm_host_bus_integrity         | flash_ctrl_tl_intg_err                   |      7.286m       |    822.680us     |     1     |    1    |  100.00 %   |
|   V2S   |         sec_cm_mem_bus_integrity          | flash_ctrl_rd_intg                       |      21.690s      |     70.818us     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_wr_intg                       |      11.540s      |     51.739us     |     1     |    1    |  100.00 %   |
|   V2S   |       sec_cm_scramble_key_sideload        | flash_ctrl_smoke                         |      1.347m       |     22.284us     |     1     |    1    |  100.00 %   |
|   V2S   |       sec_cm_lc_ctrl_intersig_mubi        | flash_ctrl_otp_reset                     |      2.092m       |     75.510us     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_disable                       |      18.970s      |     14.049us     |     0     |    1    |   0.00 %    |
|         |                                           | flash_ctrl_sec_info_access               |      43.900s      |     1.611ms      |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_connect                       |      10.600s      |     81.369us     |     1     |    1    |  100.00 %   |
|   V2S   |         sec_cm_ctrl_config_regwen         | flash_ctrl_config_regwen                 |      10.880s      |     19.873us     |     1     |    1    |  100.00 %   |
|   V2S   |     sec_cm_data_regions_config_regwen     | flash_ctrl_csr_rw                        |      10.940s      |    125.250us     |     1     |    1    |  100.00 %   |
|   V2S   |     sec_cm_data_regions_config_shadow     | flash_ctrl_shadow_reg_errors             |      10.580s      |    119.988us     |     1     |    1    |  100.00 %   |
|   V2S   |     sec_cm_info_regions_config_regwen     | flash_ctrl_csr_rw                        |      10.940s      |    125.250us     |     1     |    1    |  100.00 %   |
|   V2S   |     sec_cm_info_regions_config_shadow     | flash_ctrl_shadow_reg_errors             |      10.580s      |    119.988us     |     1     |    1    |  100.00 %   |
|   V2S   |         sec_cm_bank_config_regwen         | flash_ctrl_csr_rw                        |      10.940s      |    125.250us     |     1     |    1    |  100.00 %   |
|   V2S   |         sec_cm_bank_config_shadow         | flash_ctrl_shadow_reg_errors             |      10.580s      |    119.988us     |     1     |    1    |  100.00 %   |
|   V2S   |        sec_cm_mem_ctrl_global_esc         | flash_ctrl_disable                       |      18.970s      |     14.049us     |     0     |    1    |   0.00 %    |
|   V2S   |         sec_cm_mem_ctrl_local_esc         | flash_ctrl_rd_intg                       |      21.690s      |     70.818us     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_access_after_disable          |      10.760s      |     21.079us     |     1     |    1    |  100.00 %   |
|   V2S   |      sec_cm_mem_disable_config_mubi       | flash_ctrl_disable                       |      18.970s      |     14.049us     |     0     |    1    |   0.00 %    |
|   V2S   |         sec_cm_exec_config_redun          | flash_ctrl_fetch_code                    |      15.450s      |     1.503ms      |     1     |    1    |  100.00 %   |
|   V2S   |            sec_cm_mem_scramble            | flash_ctrl_rw                            |      4.116m       |     20.262ms     |     1     |    1    |  100.00 %   |
|   V2S   |           sec_cm_mem_integrity            | flash_ctrl_rw_serr                       |      5.481m       |     22.319ms     |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_rw_derr                       |      5.158m       |     9.282ms      |     1     |    1    |  100.00 %   |
|         |                                           | flash_ctrl_integrity                     |      5.111m       |     24.036ms     |     1     |    1    |  100.00 %   |
|   V2S   |       sec_cm_rma_entry_mem_sec_wipe       | flash_ctrl_hw_rma                        |      14.567m      |    337.786ms     |     1     |    1    |  100.00 %   |
|   V2S   |          sec_cm_ctrl_fsm_sparse           | flash_ctrl_sec_cm                        |      31.583m      |     8.014ms      |     1     |    1    |  100.00 %   |
|   V2S   |           sec_cm_phy_fsm_sparse           | flash_ctrl_sec_cm                        |      31.583m      |     8.014ms      |     1     |    1    |  100.00 %   |
|   V2S   |        sec_cm_phy_prog_fsm_sparse         | flash_ctrl_sec_cm                        |      31.583m      |     8.014ms      |     1     |    1    |  100.00 %   |
|   V2S   |             sec_cm_ctr_redun              | flash_ctrl_sec_cm                        |      31.583m      |     8.014ms      |     1     |    1    |  100.00 %   |
|   V2S   |       sec_cm_phy_arbiter_ctrl_redun       | flash_ctrl_phy_arb_redun                 |      11.540s      |     64.897us     |     1     |    1    |  100.00 %   |
|   V2S   |  sec_cm_phy_host_grant_ctrl_consistency   | flash_ctrl_phy_host_grant_err            |      10.820s      |     18.978us     |     1     |    1    |  100.00 %   |
|   V2S   |      sec_cm_phy_ack_ctrl_consistency      | flash_ctrl_phy_ack_consistency           |      11.220s      |     16.402us     |     1     |    1    |  100.00 %   |
|   V2S   |           sec_cm_fifo_ctr_redun           | flash_ctrl_sec_cm                        |      31.583m      |     8.014ms      |     1     |    1    |  100.00 %   |
|   V2S   |     sec_cm_mem_tl_lc_gate_fsm_sparse      | flash_ctrl_sec_cm                        |      31.583m      |     8.014ms      |     1     |    1    |  100.00 %   |
|   V2S   |     sec_cm_prog_tl_lc_gate_fsm_sparse     | flash_ctrl_sec_cm                        |      31.583m      |     8.014ms      |     1     |    1    |  100.00 %   |
|   V2S   |                                           | **TOTAL**                                |                   |                  |    12     |   12    |  100.00 %   |
|   V3    |           asymmetric_read_path            | flash_ctrl_rd_ooo                        |      32.840s      |    148.856us     |     1     |    1    |  100.00 %   |
|   V3    |                                           | **TOTAL**                                |                   |                  |     1     |    1    |  100.00 %   |
|         |                                           | **TOTAL**                                |                   |                  |    76     |   77    |   98.70 %   |

## Failure Buckets

* `UVM_WARNING (uvm_reg_field.svh:1191) [RegModel] Trying to predict value of field 'val' while register 'flash_ctrl_core_reg_block.dis' is being accessed` has 1 failures:
    * Test flash_ctrl_disable has 1 failures.
        * 0.flash_ctrl_disable.62325473941799724888435818386207009495810856156581212507848076777978482849301\
          Line 75, in log /home/msf/Projects/opentitan/scratch/flash-ctrl-dv-fixes/flash_ctrl-sim-vcs/0.flash_ctrl_disable/latest/run.log

                UVM_WARNING @ 8801.2 ns: (uvm_reg_field.svh:1191) [RegModel] Trying to predict value of field 'val' while register 'flash_ctrl_core_reg_block.dis' is being accessed
                UVM_INFO @ 14049.0 ns: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]
                --- UVM Report catcher Summary ---

@matutem I replicated the changes in the ip_templates area as well in the latest force push.


Basic operations (+, -, *, /) between uint64 and int32 not working

Hello,
When I execute following expression, I have exception with message: "Invalid Operation".
"10ul + 20"
(default numeric type is int32)
Normally, uint64 and int32 types should work together. The result should be 30ul in normal conditions.

This is an interesting scenario where the compiler gives results that seem conflicting to me.
var result = 10ul + 5;
works exactly as stated in original comment.
However,
var l = 10ul;
var r = 5;
var result = l + r;

results in a compiler error saying the 'Operator "+" is ambiguous on operators of type 'ulong' and 'int''
Anybody have any insight on that?

This is actually quite strange. I suppose that in the first case the compiler is able to infer the type based on the previous number, probably this is some kind of compiler optimization where at the end only 15ul is generated.
What is your use case? Why you need to work with ul numbers? Just to understand if there can be alternatives ...

There are some custom functions I've included:
CustomFuncReturnsUint64() + CustomFuncReturnsInt32()
User is able to freely type a formula in my application. This is a possible case.


Add onnxruntime-cpp dependency and verify that required Python modules are installed

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

🤔 It's not able to load onnxruntime in the tests https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=861052&view=logs&j=656edd35-690f-5c53-9ba3-09c10d0bea97&t=986b1512-c876-5f92-0d81-ba851554a0a3&l=8909

🤔 It's not able to load onnxruntime in the tests https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=861052&view=logs&j=656edd35-690f-5c53-9ba3-09c10d0bea97&t=986b1512-c876-5f92-0d81-ba851554a0a3&l=8909

Ah, I think it is the problem described in https://github.com/conda-forge/onnxruntime-feedstock/pull/78 . The discussion there kind of went stale, but I think for now we can just pin onnxruntime-cpp and manually add a run exports.

🤔 It's not able to load onnxruntime in the tests https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=861052&view=logs&j=656edd35-690f-5c53-9ba3-09c10d0bea97&t=986b1512-c876-5f92-0d81-ba851554a0a3&l=8909

Ah, I think it is the problem described in conda-forge/onnxruntime-feedstock#78 . The discussion there kind of went stale, but I think for now we can just pin onnxruntime-cpp and manually add a run exports.

Ok, I proposed the proper fix in https://github.com/conda-forge/onnxruntime-feedstock/pull/102 .

Interestingly, the Windows failure is:
-------------------------------------------------------------------------------
QP-IK [Distance and Gravity tasks Unconstrained]
-------------------------------------------------------------------------------
D:\bld\bipedal-locomotion-framework_1705663992921\work\src\IK\tests\QPInverseKinematicsTest.cpp(858)
...............................................................................

D:\bld\bipedal-locomotion-framework_1705663992921\work\src\IK\tests\QPInverseKinematicsTest.cpp(979): FAILED:
  REQUIRE( toManifPose(kinDyn->getWorldTransform(desiredSetPoints.targetFrameDistance)) .translation() .norm() == Catch::Approx(desiredSetPoints.targetDistance).epsilon(tolerance) )
with expansion:
  76.8941567337 == Approx( 1.3854129089 )

===============================================================================
test cases:   5 |   4 passed | 1 failed
assertions: 661 | 660 passed | 1 failed

the same of https://github.com/ami-iit/bipedal-locomotion-framework/issues/799 .

Thanks to @traversaro https://github.com/ami-iit/bipedal-locomotion-framework/issues/800 fixes the issue, I can release a new version of the project and generate a new package from it so we don't need to add any patch

Thanks to @traversaro ami-iit/bipedal-locomotion-framework#800 fixes the issue, I can release a new version of the project and generate a new package from it so we don't need to add any patch

We can also just skip the test in the build script by passing -E to ctest.

Done in https://github.com/conda-forge/bipedal-locomotion-framework-feedstock/pull/52/commits/448dd32683bdb85123784526fd34ce5b7cd21369 .

Superseded by https://github.com/conda-forge/bipedal-locomotion-framework-feedstock/pull/53 .


Add default extension to Right click export from Preview2D window, I beg thee.

First of all - absolutely amazing app. Ease of use and possibilities in a perfect mix. I tried many and this one easily smashed the competition.
Now onto the wish:
Please add an option to have an extension by default when Right click exporting from the Preview2D window.
My use case scenario is a bit different from the target audience. I only export  grayscale 2D textures for use as transparency maps in a vector editing application. Having to add ".png" every single time is getting really annoying over time.
Thanks in advance!

Why do you export by right clicking Preview2D instead of using export node? :)

Why do you export by right clicking Preview2D instead of using export node? :)

Why do you export by right clicking Preview2D instead of using export node? :)

Feels like it's easier to just quickly export at a resolution I'd like to use with a single drag and click... :) Once again, a 2D usage thing.

Why do you export by right clicking Preview2D instead of using export node? :)

Feels like it's easier to just quickly export at a resolution I'd like to use with a single drag and click... :) Once again, a 2D usage thing.

This has been beautifully improved with ability to automatically save multiple images if their name ends with a number. Awesome!


MRG, FIX: Fix encoding bug

Closes #7313
No need for latest.inc update because read_raw_nirx is a new function in 0.20

Why codecs.open and not just plain old open(..., encoding='latin1')?

https://docs.python.org/3.8/library/codecs.html says that open is recommended: "While the builtin open() and the associated io module are the recommended approach for working with encoded text files, this module provides additional utility functions and classes that allow the use of a wider range of codecs when working with binary files."

Just how I did it last time I had this problem, probably because of Python 2.7 or something. I'll switch to open

TBH I wouldn't define a new function just for setting this one arg (mode='r' is the default).

TBH I wouldn't define a new function just for setting this one arg (mode='r' is the default).

There is some uncertainty about whether or not latin-1 is actually correct, so it is a bit of future proofing in the sense that if we need to use chardet or something similar to figure out the encoding we can do it in hopefully one place instead of many. But even without it this seems like a six of one half dozen of the other situation...

tx @larsoner


TypeScript definitions for system-components

I'm trying to use styled-system and system-components in a strict TypeScript project, but there are no available definitions for system-components. I've spent a few hours trying to write my own definitions for the module, but I am a beginner at TypeScript and struggling.
I noticed @phobon worked on the definitions for styled-system, maybe he is willing to help.
I do apologize for not being able to do this myself. I would have preferred to just submit a PR instead of filing an issue, but I am just not quite there yet with TypeScript.

styled-components is under @types/styled-components.

styled-components is under @types/styled-components.

I'm talking about system-components, which is in this repo: https://github.com/jxnblk/styled-system/tree/master/system-components

Ah! misread that completely 👍

system-components is deprecated in favor of @rebass/components, so I'd suggest adding definitely typed definitions for that package instead of the one here


Add revive linter and enable indent-error-flow rule

Summary

Add revive linter to .golangci.yml
Enable indent-error-flow rule only for revive
Address related issues.

How was it tested?
Linter.

@ipince

@savil Please take a look.

@hezhizhen thanks! lgtm. Would you mind reverting the svg change?

@hezhizhen thanks! lgtm. Would you mind reverting the svg change?

Okay. And skip checking svg files?

@hezhizhen I think that would make sense, unless there's some good reason you feel we should be checking svg files?

@hezhizhen I think that would make sense, unless there's some good reason you feel we should be checking svg files?

I have no idea about how svg files are generated... I'll skip them.

@savil I rebased main and reverted changes in svg files. PTAL


fdfd

Thanks for contributing to cloud_controller_ng. To speed up the process of reviewing your pull request please provide us with:

A short explanation of the proposed change:

An explanation of the use cases your change solves

Links to any other associated PRs

[ ] I have reviewed the contributing guide

[ ] I have viewed, signed, and submitted the Contributor License Agreement

[ ] I have made this pull request to the main branch

[ ] I have run all the unit tests using bundle exec rake

[ ] I have run CF Acceptance Tests

@vlast3k can you mark this as a draft?  Or otherwise can you clean up the commit messages and add something about what this change is intended to introduce?

Closing this due to inactivity.  Please reopen if work picks up on this again


[backport] Fix cupy.repeat error message about repeats argument type

Backport of #2400

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit e72f2e0867ac317c51386908487da73be3bafba4, target branch v6) failed with status FAILURE.

Failures are unrelated.


Q: How to build the extension for development?

I'm having a look at the various pull requests for fixing the Freon/Keyboard issues. However they require a new build of the extension to test. There don't seem to be any instructions for how to build a development version of the extension. I tried running the gencrx.sh shell script but that fails pretty quick even with the nacl_tools installed.

Of course now I realise it's just:
make extension

And now it's documented in the issue tracker.  Thanks! :)


Problem installing a package in Visual Studio 2019

Hello!
I tried to install a package in Visual Studio 2019. All the necessary and listed packages were installed successfully. The installation of ElectricPy failed (see below).
Thank you.
----- Installing 'electricpy==0.1.4' -----
Collecting electricpy==0.1.4
Using cached electricpy-0.1.4.tar.gz (71 kB)
ERROR: Command errored out with exit status 1:
command: 'C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\dmitr\AppData\Local\Temp\pip-install-enrxccjp\electricpy\setup.py'"'"'; file='"'"'C:\Users\dmitr\AppData\Local\Temp\pip-install-enrxccjp\electricpy\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\dmitr\AppData\Local\Temp\pip-install-enrxccjp\electricpy\pip-egg-info'
cwd: C:\Users\dmitr\AppData\Local\Temp\pip-install-enrxccjp\electricpy
Complete output (7 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\dmitr\AppData\Local\Temp\pip-install-enrxccjp\electricpy\setup.py", line 11, in
file_str = fh.read()
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\encodings\cp1251.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position 43488: character maps to
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
----- Failed to install 'electricpy==0.1.4' -----

Hi @DmitryPetrichenko !
Thanks for posting the issue! From the traceback, it looks like VS 2019 is having trouble with the egg for some reason... Have you tried installing from source (i.e. clone/download source code and use python setup.py install)?
To confirm, you're using Visual Studio 2019, not Visual Studio Code? Are you using pip or something built into VS? I'm not familiar with Visual Studio integration with Python, unfortunately...
Let me know what you're using, and I'll try to replicate here. Also, if you can, please try installing from source if you haven't already.

Hello, @engineerjoe440 !
Thank you for the prompt reply! also I thought it might have been a problem with VS2019, so I installed a separate latest version of python 3.8. Then I tried cloning and installing electricpy using the command that you provided. The problem still exists:
d:\SoftProjects\Python\ElectricPy>python setup.py install Traceback (most recent call last):   File "setup.py", line 11, in <module>     file_str = fh.read()   File "C:\Python\Python38-32\lib\encodings\cp1251.py", line 23, in decode     return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position 43817: character maps to <undefined>
I suppose it concerns the encoding and codepage CP1251 (cyrillic) that is used on my computer. Maybe that information would help.
Kind regards!

Hi @DmitryPetrichenko! That gives us something!
If you feel comfortable, go ahead and pop the setup.py file open in and editor and change line 10 to specify the encoding as "utf-8".
# Gather Version Information from Python File
with open("electricpy/__init__.py", encoding="utf-8") as fh:
    file_str = fh.read()

Then try running that setup file again. This is a pretty common issue that I overlooked (and didn't see due to my own negligence), and there's some documentation on StackOverflow on it: https://stackoverflow.com/questions/9233027/unicodedecodeerror-charmap-codec-cant-decode-byte-x-in-position-y-character
Let me know if that change works to solves that latest issue you're running into.
Thanks again!

Hello @engineerjoe440 ,
Thank you! It worked pretty well with direct encoding specification and manual installation into environment.
Kind regards!

Glad that worked! Best wishes!


小程序等调用系统摄像头无法替换

在使用微信小程序以及qq小程序中，需要调用系统相机拍照，此时无法替换系统相机。

Have you checked this video?

Yes, I watched the video, but the video only showed the effect of the program. Currently, I am trying to use Tencent’s QQ applet to make the camera call unable to be replaced.


pyproject.toml based install

I know we're all used to the familiar requirements.txt format, but since we've been cleaning up installations and building, I thought to myself "why not switch to the currently suggested approach". Setting stuff in setup.py is discouraged unless really necessary, and setup.cfg is yet another file, so I skipped straight ahead into pyproject.toml based builds.
Since we no longer have a setup.py we need to build via the build package (it's ungooglable, horrible name choice). The backend is hatchling because setuptools don't let me exclude tests without a MANIFEST.in.

Tried it in a fresh env and seems to work. I have to say I'm not a hater of the requirements file, but I do dislike it when there are multiple requirements files, so this is a nice solution to the problem.
tests work also locally with a fresh install!

I feel like the requirements.txt list the packages a bit more neatly (no quotes and indentations etc.)
But from what i gather, dependencies should be soft locked (lower bounds) while requirements.txt should have hard locks, and you are encouraged to have both. Dependencies make sure that installation goes through, but if some package wrecks your environement, one can install it with requirements.txt and be sure it will work. But i dont think we need that just yet


Loot Goblin gets some Real Loot!

Hey! So @ramirezmike (winner of Bevy Jam 2) already has some Bevy Merch and has generously decided to "pass down" their winnings (any two items from the Bevy Merch store) to the second place team (you!).
Would you all like to accept the merch? If so, can you discuss amongst yourselves how you would like to split up the loot (two items)?
https://merch.bevyengine.org/
Anyone accepting some (or all) of the loot has a few options:

Send me your address (which I will take no record of and promptly forget) and the two items you want and I'll take care of the rest.
Order the item(s) you want yourself and I'll send a reimbursement via some reasonable means (negotiable: paypal, venmo, etc)
Pass on free stuff :open_mouth:

I wish spring would let me do "full" vouchers / coupons, but thats not an option sadly

Hi @cart, thanks so much we are absolutely stoked to hear that and really appreciate it. We are discussing amongst ourselves how to divide it up. We would like for two people to each get one item. Our team is also very international with members in the US, Europe, and Japan, are there any shipping restrictions we should be aware of?
Thanks again and also thanks to the other team for passing the loot along. We had a really great experience with the Bevy game jam and can't wait for the next one.

Spring supports shipping to pretty much everywhere. Glad you enjoyed yourselves!


Support raw SQL projections in Select and OrderBy statements.

Fixes bug #1926
Added for Select and OrderBy. It's a bit hacky but works and 2 passing unit tests enclosed.
From what I see, the LINQ parsing code and visitors need a general refactor.

@rwasef1830 Acknowledge your comment regarding refactoring and structuring the LINQ provider code base. Possibly this would be part of 4.1.0 milestone.
Are you going to make some further refactoring on this PR before we review?

@mysticmind I can't find a way to make this better without a big surgery inside Marten. You can review it as-is and see what you think.

@mysticmind I can't find a way to make this better without a big surgery inside Marten. You can review it as-is and see what you think.

Your prior comment "I will re-review my code again to fit in better with the existing pattern and make it less of a hack", nudged me to think that you would review and do some additional refactoring. As you indicated, will review the PR in the current form and keep you posted.

@rwasef1830 Just seeing this: "The linq provider code really needs a big refactoring"
Dude, the Linq support just got a massive restructuring in V4. Not gonna disagree that it could be cleaner, but I'll strongly disagree with you that it should be one giant visitor.

@jeremydmiller Even it's not going to be a big giant visitor, there's a very big part that needs to be a common base class of most visitors since any kind of expression can occur anywhere (in select or where or other clauses). At the moment, every clause has a separate visitor, some of which are aware of certain kinds of expressions that others are not even though these expressions can occur in all.
I'm not free now to take on this work these days, but it's an interesting challenge. I might take it on in the future.

@rwasef1830 I'll agree with your last comment, and the newer parts would be using RelinqExpressionVisitor as a base for that very reason. The Select() transform parsing is Marten <V1 code that hasn't been touched much.
"I'm not free now to take on this work these days, but it's an interesting challenge. I might take it on in the future." -- and I was going to ask if you'd be interested in helping with that. You've done some pretty significant PRs already, and it sounds like you'd be able to. I'd like to grow the Marten core team next year if you'd ever be interested in that.


[Question] Newcomer's questions about Kontena

Hello,
I just learned about Kontena (very exciting) but could not find answers to my questions in the FAQ on the web site. Here are my questions:

Kontena is written in Ruby, where most other container frameworsk - in Go. Ruby is notoriously slow and under performing language. How does that impact Kontena?

WireGuard is a new and fast VPN solution that is built because OpenVPN is too slow and IPSec - too complicated. I see Kontena uses both OpenVPN and IPSec! Again, what is the performance impact, especially because how bad th performance of OpenVPN is?

I am getting the impression that somehow Kontena slips in MongoDB in my system? I would prefer to have nothing to do with MongoDB for any reason...

I really like Kontena, but would be hesitant to use it if it slower than K8S and/or Docker Swarm due to Ruby and OpenVPN.
Thanks
P.S: Sorry, I just saw that there is a Kontena forum. However, it does not allow for social login, which is why decided to leave the question here.

Hi! Good questions!

Short story: It does not impact Kontena. Long Story: Yes. Kontena is written in Ruby. Not going to start comparing different programming languages here since each of them have their own pros/cons. However, the choice of programming language has very limited impact on performance. The reason is that K8S, Kontena, Swarm (=the orchestrator) is mostly dealing with state of the system, providing management APIs and interacting with underlying components (these underlying components are affecting performance, but they are more or less the same, no matter which container platform you choose). The only advantage you might get with super powerful state machine optimized programming language is the time from issuing command via CLI tool and actually seeing something happening in the platform. My guess is that we are talking about few ms difference in here.

Short Story: No impact. Long Story: Kontena overlay network is not based on OpenVPN. The overlay network technology is Weave with fast data path. It is super fast. Therefore, OpenVPN has nothing to do with performance of Kontena. Since Kontena network is overlay, it is isolated from outside. If you want to access the Kontena Platform, you can use OpenVPN (or any other technology you want). The OpenVPN access is built-in so people who don't want to tinker can use it.

Kontena Master (that is the brain of operations) is using a database to store the state of the system. This database is MongoDB. Unfortunately, (today) it is not possible to use any other technology in here... But if you don't like Mongo, you can get Kontena Master as hosted solution from Kontena via Kontena Cloud.

Summary: Kontena is not slow. It's blazing fast and easy to use! I'd recommend you to join our Slack channel at https://slack.kontena.io to talk with Kontena devs and other users. Please close this issue if you are satisfied with my answer :)

@miskun
I am  happy with the well thought out answers! I am closing the issue, but please update the FAQ so newcomers like me do not hit you with similar questions again :-)


Updates README.md to add Greenfoot as a project that uses RichTextFX

Adds Greenfoot as a project that uses RichTextFX

Thanks for the PR!
To be honest, I find it somewhat ironic that you're using a library that utilizes a lot of functional programming to teach the object-oriented paradigm via Java.


python 3.6 support

Any chance of adding support for py3.6?

Hi @Mikaayenson, what do you mean?
Normally, pyvim should run on any Python 3 version.

I tried to install via pip on python3.6 in a virtualenv and it appears that it didn't install. I noticed the home page says python2.6-python3.4 is supported.

Please merge this issue with #99
They both relate to the same thing.


How to create multiple bundles inside prod app?

Hi all,
Lets say I have an app with this format:

Login module
Home module
About module

Is there a way to split the login module and the "main" modules (Home/about) in two files, to reduce the app.js final size of the app?
Are there any other alternatives?
Thanks

Hi,
Yes, you can split the in two files, but you need export de modules,
filename : mainModules.ts
export class AboutModule {
}
export class HomeModule {
}
When you want use, you need import
import {AboutModule, HomeModule} from './mainModules'

You want that the compilation of tsconfig generate the two files .js, but you have 3 files typescript?


[usbdev] Stall IN/OUT transactions of unimplemented endpoints

This is mandated by the spec. Previously, they were ignored just like SETUP transactions for unimplemented endpoints.

Sorry Pirmin, I am not familiar with USB spec. But could you please add description of what "stall in/out transactions" means vs previous implementation (treat them as SETUP?) Based on the code, looks like (correct me if I am wrong) the code now tries to keep the output but removing the guard if inputs?

Thanks @mdhayter and @eunchan for your feedback.
In general, stalling is used to signal that the host should not retry a particular transaction or to signal certain error conditions.
Previously we ignored all IN, OUT and SETUP transactions of unimplemented endpoints. However, the spec mandates that for unimplemented endpoints:

IN/OUT transactions are stalled, and
SETUP transactions are ignored.

This is what this PR does.
When studying the implementation to understand how to best change the behaviour for IN/OUT transactions of unimplemented endpoints, I noted that our module already supports a feature to stall IN/OUT transactions on a per-endpoint basis (software can switch a bit in a config register). Thus, I simply adapted the FSMs for IN/OUT transactions to behave the same if

the specified endpoint is configured to stall IN/OUT transactions (existing feature)
the specified endpoint is not implemented (new)

In both cases, the transaction is now stalled.

Update: rebased on top of master, added a function to the DPI model to send SETUP, OUT and IN transactions to an unimplemented endpoint.
At the moment, the DPI model cannot react on responses from the device but we have some basic observability via monitor_usb() which logs all packets sent between host and device. Successful stalling of OUT, IN transactions and ignoring of SETUP transactions to unimplemented endpoints can be observed in the log file.

Thanks @tomroberts-lowrisc for your review and approval. I am merging this now.


Package this up as a lambda function

Eh, lambda doesn't have a good configuration mechanism. Closing until this is practical.


Pick a better port for syslog server

We probably should make this configurable. It looks like 4500 is commonly used for IPSec NAT traversal, so this might break some VPNs.
Originally posted by @kendru in https://github.com/deref/exo/pull/23#r677047390

assigning to @kendru to address as part of the configuration changes he's making in support of dogfooding.

This is now configurable per #76


how to swap two grid items?

swap the dragged and hovered positions.

 But it is in TODO list...

Thanks! This is a great library you have

+1

:+1:

+1

+1

+2

Duplicate of #149 .


Modified document structure in order to reflect the nesting of pages, subpages, chapters, paragraphs. etc

This PR aims to fix the issue #37.
The generated PDF structure reflects 1:1 the structure of the original wiki at all levels of nesting/grouping

thanks for the PR - I will look at this later and get it merged.

thanks for the PR - I will look at this later and get it merged.


How to setup Terrain system ?

Thank you for your work, Craig.
But your project has no setup.py, and there is no apparent way to make the project
available to programs via import.
I'm fairly new to Python, and I've not seen a project like this, without a 'src' directory, or
a setup.py.
How would I include this in a ShowBase module ?
Thanks again...

See https://github.com/Craig-Macomber/infiniteRalph for an example.

You likely did not initialize the git sub-module. See https://git-scm.com/book/en/v2/Git-Tools-Submodules

Thanks, Craig.  I'll try it.
Sent from Yahoo Mail on Android
On Sat, Nov 10, 2018 at 3:50 PM<EMAIL_ADDRESS>wrote:
You likely did not initialize the git sub-module. See https://git-scm.com/book/en/v2/Git-Tools-Submodules
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Enhancement: Separation of User Functionality

Description
Currently, the Bharat Seva+ project has both healthcare and user functionalities tightly coupled in the same service. To improve modularity, maintainability, and scalability, we need to decouple the user functionality and build it as a separate service. This will allow independent development, deployment, and scaling of the user and healthcare functionalities.
Proposal

Move all user-related code and logic (authentication, user profile management, etc.) from the current service into a new microservice dedicated to handling user-related functionality.

Key Benefits

Improved Scalability: User and healthcare functionalities can be scaled independently.
Better Maintainability: Code for each functionality is isolated, making it easier to modify or enhance without impacting the other.
Clear Separation of Concerns: The healthcare and user management services will be more focused, leading to a more organized codebase.

Tasks

Refactor and remove user-related logic from the current healthcare service.
Set up a new server that manages user (Patient) request only, microservice for user-related functionality.
Build in Golang (Preferable) or JavaScript.
Test the service.

Additional Notes

We do not need to make separate APIs endpoints for user just use the current API endpoints.
If written in Golang, use frameworks like Echo (Preferable) or Gin for the user API.
Make Documentation.

Expected Outcome
By the end of this task, the BharatSeva+ platform should have a decoupled architecture with a separate service for user management.

hii @vaibhavyadav-dev i would like to take upon it could you please assign it to me

Hello @ApurvaBasule Thank you for your interest in taking on this issue. Before you proceed, could you please share your plan on how you intend to approach this task?
Let’s align on the approach before you begin working.

I apologize for the late response @vaibhavyadav-dev I've been busy with my college submission...I'm planning to proceed with setting up the user microservice as discussed..My approach will involve creating a new Express server,Once I have everything set up and verified that it works smoothly, I will document the microservice architecture and deployment steps to provide a clear overview of the changes made and I'll keep you updated on my progress!

@ApurvaBasule are you still working on this issue ? It's been a week now and task is not that level.
All you've to do is just use the user functionality and remove the healthcare care one
Healthcare has been created and there's no reply from your side

User Server Completed


Electron problem with MacOS Catalina

MacOS Catalina prevent the electron app to run. Please fix the configuration so we can run it in MacOS or at least give us some pointers (what should be done) to make it run in MacOS. Thanks

Hi @archansel
I believe the root cause is related to Catalina's unzipping tool. The default tool (Archive Utility) seems to incorrectly unzip, changing the executable to a text file and a few other changes that seem to break opening the application.
I was able to open the application on Catalina by...

Downloading an alternative zipping tool (I used "The Unarchiver")
Right click on the zip file > Open with > The Unarchiver
Try opening the application. If you get some kind of "unidentified developer" message, you'll need to go into your Security & Privacy settings and allow the application to be opened

See this thread for more information

Closing, feel free to close if necessary


Should this work with Expo?

Should the slider work with Expo? It seems to work fine on iOS simulator but running with Expo Go on an android I get requireNativeComponent: "RNCSlider" was not found in the UIManager which I can see happens for other too.

Same here with versions of;
Expo SDK 47.0.8
@react-native-community/slider 4.2.4
I also tried in development client build.

I have Expo 46.0.16 and @react-native-community/slider 4.2.3, it works in android simulator though, and iOS simulator. Not on an actual Samsung though

Rebuilding the dev client build as mentioned in #362 worked for me.

@VeroLeia Can you check whether rebuilding fixes the issue you observe?

Closing as this issue is most likely resolved on author's side. Please let me know in case of noticing issue again.

@kaioduarte when you say rebuild the dev client do mean re-launch metro or create a new dev client build?

@pjsandwich recreate the dev client

@pjsandwich recreate the dev client

Can confirm that creating a new dev client build after adding the package to project works for me, simply restarting the bundler as it appears some were able to do did not, hope this helps clarify options for solving this.


will you add proxy-protocol support?

in order to be able to get normal IP addresses to the minecraft server.
in order for the server to be able to receive external IP addresses of players.
by the way, nginx supports proxy_protocol (https://imgbb.com/FnpFhPk), will you introduce such functionality in Envoy?

You may refer to proxy protocol.

I don't know how to program so your option is not suitable for me

Envoy does support proxy protocol. You just need to configure them.

how to include it in Envoy?

I hope you have discovered Proxy Protocol Filter (proto). Is there something that can be enhanced on this doc? Were you looking for an example?


safe_config_val failures need to be propagated

$(safe_config_val ...) calls run inside a subshell, so the exit 1 does not apply to the calling script
do the var assignment in the function instead, without a subshell

Sureeeee


Next/prev support

Please add support for Next/Prev commands to play the next result in the list.
Thanks!

Unfortunately, I dont have enough bandwidth to work on new features for this skill currently. If anyone can raise a PR for the same, I will be happy to review.


cmd/peer tests fail due to port conflict

The PluginLoadingFailure test starts the peer without overriding the chaincode listen address. This results in a port conflict when running tests in parallel.
This change extends the pattern in the test that attempts to reserve an ephemeral port and then configures the peer to use it.

Opened FAB-17535 for the integration test flake.


Jekyll sites don't produce usable branch URLs in editorial workflow

Describe the bug
Using Jekyll to build a site using the editorial workflow creates branch subdomains that are not valid and lead to nowhere. This is a problem for Slack notifications as the branch URL is posted, meaning that non-technical users of NetlifyCMS cannot see previews for new content.
To Reproduce

Create a Jekyll blog
NetlifyCMS to it
Enable branch-based deploys
Enable Slack notifications
Create a post

Expected behavior
The Slack notification contains a link which can be followed to preview content changes
Applicable Versions:

Netlify CMS version: 2.10.47
Git provider: BitBucket

CMS configuration
backend:
  name: bitbucket
  repo: *redacted*
  auth_type: implicit
  app_id: *redacted*
publish_mode: editorial_workflow
media_folder: 'jekyll/images/blog'
public_folder: '/images/blog'
collections:
  - name: 'blog'
    label: 'Blog'
    folder: 'jekyll/_posts/'
    create: true
    slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
    editor:
      preview: false
    fields:
      - { label: 'Layout', name: 'layout', widget: 'hidden', default: 'post' }
      - { label: 'Title', name: 'title', widget: 'string' }
      - { label: 'Publish Date', name: 'date', widget: 'datetime' }
      - { label: 'Excerpt', name: 'excerpt', widget: 'string' }
      - { label: 'Body', name: 'body', widget: 'markdown' }
      - { label: 'Author', name: 'author', widget: 'string' }
      - { label: 'Image', name: 'image', widget: 'image' }
      - { label: 'Category', name: 'category', widget: 'select', options: ['Announcements', 'Clients', 'Development', 'Discussion Point', 'Events', 'Productivity', 'Reviews', 'Security', 'Work Experience'] }

Additional context
Discussion of the problem here. I'm not interested in PR deploys, I'm interested in getting a URL in Slack when an editorial branch is created.

Closing as stale and/or outdated.


[ko] Probabilities and Statistics

I am working in progress!

Thank you for your awesome work @WooilJeong! Now, let's start the review process.

Perfect!


RoSE Feature Updates

[Please DO NOT merge this PR until everything's done]
This branch contains:

Adding Dataflow class and supporting dataflow module elaboration for crossing FireSim serialization barriers.
Adding support to multiple firesim nodes within the same rose simulation.
Adding scripts for easier Perf & Area exploration.
Adding captures in rose bridge driver.
Adding standard RISC-V interrupt routine support
Adding CDC and cleaning up the latency injection logic in bridge + driver.

This PR is closed because the latest branch is asplos-artifact and see PR#9 for more.


[CI] Merge provider-upgrade with some other provider test

currently provider-upgrade test only checks if the /system/providers/agent-provider-kairos agent.available_releases event returns a proper list.
It creates a whole VM just for this.
This test should be merged into another provider test before the install is done to validate it, as its minimal and fast. Doesnt make sense to block a whole worker just for that test.

This was done by Dimitris on https://github.com/kairos-io/kairos/pull/2368


wildcard on ignored players

ImpulsiveMind on Nexus

Could it be possible to add wild cards to Ignored Players.
For example if User Admin Rooney says something
the Wildcard is set to Admin*
then it will ignore that?

Use the "Ignored Players (Regex)" in the main config file


Update proposal.md using pyquil quilt-demo branch changes

TODO:

[x] Include the updated Quil.g4
[x] Get feedback

@kalzoo Shall we merge this, and move over any comments into the main PR?

@kalzoo Shall we merge this, and move over any comments into the main PR? Then onto addressing #45 and merging in spec_changes.md.

Sure, sounds good


Won't recognize local plugin

I'm trying to make vim-plug recognize a local plugin.
Directory structure:
~/.vim/plugged/local-plugin/autoload/local_plugin.vim

The plugin is loaded from .vimrc as explained in the README.md at the root of this (junegunn/vim-plug) directory:
call plug#begin('~/.vim/plugged')
Plug '~/.vim/plugged/local-plugin'
call plug#end()

Content of local_plugin.vim:
if exists("g:loaded_hello_world")
  finish
endif
let g:loaded_hello_world=1

fun! SayHello()
    echom "Hello world!"
endfun

echom "Loaded!"

command! SayHello call SayHello()

This does not work.
Any tips on how to resolve the issue would be much appreciated.
Perhaps some more information on how local plugins interface with vim-plug and how to load them should be included in the wiki to reduce friction on the user side?

It's not an issue of vim-plug. Your code is not loaded because it's in autoload directory. You might want to read through Learn Vimscript the Hard Way by Steve Losh, especially this chapter: http://learnvimscriptthehardway.stevelosh.com/chapters/53.html


Reduce code duplication in SSLv2 handshake handling

Problem:
Code duplication leads to bugs when one place is updated and another overlooked.
Proposed Solution:
Refactor such that the state machine error checking is common to both the s2n_negotiate and s2n_handshake_handle_sslv2 functions.

Not just the error checking: we also duplicate cleaning up the input stuffers, advancing the message, and maybe updating the hashes? We need to identify exactly what needs to be different about sslv2 and make that very clear from the code.


As a user, I want to be able to see images.

Render posts marked as the image types as images.

See branch FRNT/110_markdown


Gazebo Server on Docker Container in EC2 instance & Gazebo Client on MacOS

Hello,
I have Gazebo Harmonic installed on both my Mac and my AWS EC2 instance Docker container. I am trying to run Gazebo on that EC2 instance, but unfortunately it is headless. I first tried setting up X11 forwarding, but this fails because of a wrong OpenGL version on my Mac.
I then tried instead to make the EC2 instance run only the server of Gazebo, and on my Mac run the client only. However, these two programs are running on different networks. I hence tried using VSCode TCP forwarding to forward all ports from the server to my Mac's localhost, but still encountered an issue with discovery.
I ran the following on my Mac Terminal:
GZ_IP=<IP_ADDRESS> GZ_PARTITION=<IP_ADDRESS>:ros GZ_VERBOSE=1 gz sim -v 4 -g

and the following on a VSCode Terminal (so that TCP port forwarding happens automatically) on my EC2 instance within the Docker container:
GZ_IP=<IP_ADDRESS> GZ_PARTITION=<IP_ADDRESS>:ros GZ_VERBOSE=1 gz sim shapes.sdf -s -v

The problem is that the UDP discovery process doesn't happen properly, since VSCode only forwards TCP, and hence the client keeps printing:
[GUI] [Dbg] [Gui.cc:343] GUI requesting list of world names. The server may be busy downloading resources. Please be patient

I could not find any straightforward way to get around the UDP discovery. UDP forwarding does not seem to be trivial? Do you know how to fix this? What is the recommended way to have a Gazebo server and client running on two different networks?
Thank you for your help,
Scott

Hi,
I am also trying to run the gazebo client and server on aws and a real computer and here is what can help to solve this problem:
If multicast traffic does not pass between the client and the server, then it is worth using a vpn that handle udp multicast to let server and client talk with each other.
If you dont want to use vpn, try the GZ_RELAY variable on each client pointed to server ip.
Please, let me know if this helps,
Roman

Thanks for the issue, but this is a type of question that is best asked on https://robotics.stackexchange.com/. I encourage you to post your question there and if you find that there's a specific bug or feature request, come back and create a new issue here. In the mean time, I'll go ahead and close this.


Add CadenceChangeVersion as default valid search attribute

Newest workflow.GetVersion now will upsert CadenceChangeVersion to visibility, and if user didn't start Cadence with ES, it will error out because of missing allowlist. This PR fix this issue.

Coverage increased (+0.1%) to 66.706% when pulling 73fdcd587241aa0f62b8621202c07de03102e8e1 on fixchangev into b9fdaa10f3165dfd8084571022137f162f622cf5 on master.


error when importing convlab2

This may be a silly issue, but when trying to run the tutorial notebook on Colab, convlab2 doesn't get imported after cloning the repo and installing. This is a sample notebook with the two lines involved:
https://colab.research.google.com/drive/1B6p8_GXoPUau9AaZUnKmCm3hQX8BcsIv?usp=sharing
Thanks!
Nick

This is caused by the directory level.
you can try
cd Convlab-2
and process

You should re-start the notebook after installing

Actually the best way I found is cloning it locally and importing from there, but thanks anyway! :)


files not the same in local and remote

That main.tsx, unkown origin for me,  and one point "blinked" in browser but this is what I am facing now, PodCreatedByBrowser shows thumbnails of lifePod's files, but cannot download or preview ..

Most likely this is related to fairdrive web app,
On Mon, Dec 12, 2022 at 6:46 PM Crt Ahlin @.***> wrote:

Assigned #94 https://github.com/datafund/fairos-fuse/issues/94 to
@asabya https://github.com/asabya.
—
Reply to this email directly, view it on GitHub
https://github.com/datafund/fairos-fuse/issues/94#event-8014127436, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADULYIMTL5RCBGQBOFOW3G3WM4QRXANCNFSM6AAAAAAS3YF6R4
.
You are receiving this because you were assigned.Message ID:
@.***>


Will Grobid be able to process PDFs with Tables and understand the table data?

Will Grobid be able to process PDFs with Tables and understand the table data?

Hello !
It's a mid term goal yes, we explore already a couple of approaches to integrate other tools, but not easy. See issues #340
Creating a new model specialized to table content/data would be another option.

Hi @kermitt2,
I'm thinking about enhancements for table parsing. Basically, it would be great to have rows and cells to be recognized. Have you got any progress on this matter?
Exploring this topic personally I like your idea about using machine learning for this, although, I haven't explored how wapiti, which according to comments is used for full-text and segmentation (or your new tool - DeLFT), interacts with Grobid. Can you show me example of classes that are responsible for this? I mean your comment regarding tabula-java.
Another option, I guess, may be implemetation of some simple algorithm to process data obtained from PDFAlto. E.g., when parse with this converter, the representation of one row with 5 cells looks:
<TextBlock ID="p5_b3" HPOS="41.7831" VPOS="92.7755" HEIGHT="16.267" WIDTH="57.7721">
    <TextLine WIDTH="57.7721" HEIGHT="6.79991" ID="p5_t26" HPOS="41.7831" VPOS="92.7755">
        <String ID="p5_w357" CONTENT="Aerial" HPOS="41.7831" VPOS="92.7755" WIDTH="20.7277"
                HEIGHT="6.79991" STYLEREFS="font24"/>
        <SP WIDTH="1.77918" VPOS="92.7755" HPOS="62.5108"/>
        <String ID="p5_w358" CONTENT="count" HPOS="64.29" VPOS="92.7755" WIDTH="19.2318"
                HEIGHT="6.79991" STYLEREFS="font24"/>
        <SP WIDTH="1.80158" VPOS="92.7755" HPOS="83.5218"/>
        <String ID="p5_w359" CONTENT="year" HPOS="85.3234" VPOS="92.7755" WIDTH="14.2318"
                HEIGHT="6.79991" STYLEREFS="font24"/>
    </TextLine>
    <TextLine WIDTH="22.8957" HEIGHT="6.79991" ID="p5_t27" HPOS="117.412" VPOS="102.243">
        <String ID="p5_w360" CONTENT="Month" HPOS="117.412" VPOS="102.243" WIDTH="22.8957"
                HEIGHT="6.79991" STYLEREFS="font24"/>
    </TextLine>
</TextBlock>
<TextBlock ID="p5_b4" HPOS="151.54" VPOS="92.7755" HEIGHT="16.267" WIDTH="57.2369">
    <TextLine WIDTH="57.2369" HEIGHT="6.79991" ID="p5_t28" HPOS="151.54" VPOS="92.7755">
        <String ID="p5_w361" CONTENT="Type" HPOS="151.54" VPOS="92.7755" WIDTH="16.8158"
                HEIGHT="6.79991" STYLEREFS="font24"/>
        <SP WIDTH="1.77998" VPOS="92.7755" HPOS="168.356"/>
        <String ID="p5_w362" CONTENT="of" HPOS="170.136" VPOS="92.7755" WIDTH="6.82391" HEIGHT="6.79991"
                STYLEREFS="font24"/>
        <SP WIDTH="1.84958" VPOS="92.7755" HPOS="176.96"/>
        <String ID="p5_w363" CONTENT="platform" HPOS="178.809" VPOS="92.7755" WIDTH="29.9676"
                HEIGHT="6.79991" STYLEREFS="font24"/>
    </TextLine>
    <TextLine WIDTH="46.5002" HEIGHT="6.79991" ID="p5_t29" HPOS="266.229" VPOS="92.7755">
        <String ID="p5_w364" CONTENT="Type" HPOS="266.229" VPOS="92.7755" WIDTH="16.8158"
                HEIGHT="6.79991" STYLEREFS="font24"/>
        <SP WIDTH="1.83598" VPOS="92.7755" HPOS="283.045"/>
        <String ID="p5_w365" CONTENT="of" HPOS="284.881" VPOS="92.7755" WIDTH="6.82391" HEIGHT="6.79991"
                STYLEREFS="font24"/>
        <SP WIDTH="1.79278" VPOS="92.7755" HPOS="291.705"/>
        <String ID="p5_w366" CONTENT="count" HPOS="293.498" VPOS="92.7755" WIDTH="19.2318"
                HEIGHT="6.79991" STYLEREFS="font24"/>
    </TextLine>
    <TextLine WIDTH="37.9379" HEIGHT="6.79991" ID="p5_t30" HPOS="377.063" VPOS="92.7755">
        <String ID="p5_w367" CONTENT="Strip" HPOS="377.063" VPOS="92.7755" WIDTH="16.7358"
                HEIGHT="6.79991" STYLEREFS="font24"/>
        <SP WIDTH="1.80238" VPOS="92.7755" HPOS="393.799"/>
        <String ID="p5_w368" CONTENT="width" HPOS="395.601" VPOS="92.7755" WIDTH="19.3998"
                HEIGHT="6.79991" STYLEREFS="font24"/>
    </TextLine>
    <TextLine WIDTH="12.4078" HEIGHT="6.79991" ID="p5_t31" HPOS="389.819" VPOS="102.243">
        <String ID="p5_w369" CONTENT="(m)" HPOS="389.819" VPOS="102.243" WIDTH="12.4078"
                HEIGHT="6.79991" STYLEREFS="font24"/>
    </TextLine>
</TextBlock>

On the top of my head, the only that is needed to break table's content into row and cells is vertical and horizontal positioning for the token, height and relation to the TextLine. E.g., VPOS +- HIEGHT can be used for descriminating rows. Cells can be distinguished by the relation to the TextLine; tokens in the every next TextLine in this case should have additional check for their position if they can be included to this cell. The drawback here is that it couldn't be trained and there is not enough data to check if the cell is merged (in a row or column).
As I see all this data from PDFAlto is represented in the LayoutToken class, so can be manipulated inside Table representation, although I'm not sure about relation to the TextLine. What do you think about this?

Regarding lines, they can be easily retrieved from LayoutToken. Actually we have an end of line when we reach a LayoutToken containing a (normalized) EOL character as text... Or we can simply check the vertical position of the base (y+height) when iterating on LayoutToken.
One thing which is missing from pdfalto are the (SVG) line information. Intuitively they could be useful for GROBID models as features to help detect tables "blocks" and the table content, and further to detect rows/columns. Another simpler idea is simply to use the alignment you are mentioning of the layout tokens to add new features.


Train with Extra Features

I dint get the desired results when using aT.featureAndTrain() with 2 classes to identify if an audio can be classified as upset or happy.
I am trying to use more features like duration of speech vs silence and couldn't figure how to add those features to the other features being extracted, while building the model.
Any help would be appreciated.
I did figure out that I could use mtFeatureExtractionToFile to get 34 feature columns. I was wondering how to aggregate them, and how to add 2 more before training my own models.

Nope.
I know that the solution isn't too complicated, but I was unable to figure it out.


zef: 0.14.6 -> 0.15.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/ugexe/zef/releases.
meta.description for zef is: Raku / Perl6 Module Management
meta.homepage for zef is: https://github.com/ugexe/zef
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.15.0 with grep in /nix/store/qi6i3yc6jdc1a9d0nz957k4jp6b46804-zef-0.15.0
found 0.15.0 in filename of file in /nix/store/qi6i3yc6jdc1a9d0nz957k4jp6b46804-zef-0.15.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
zef

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/qi6i3yc6jdc1a9d0nz957k4jp6b46804-zef-0.15.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A zef https://github.com/r-ryantm/nixpkgs/archive/d32f1286ce974eec0e65b5fd51a2017ff072d47c.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/qi6i3yc6jdc1a9d0nz957k4jp6b46804-zef-0.15.0
ls -la /nix/store/qi6i3yc6jdc1a9d0nz957k4jp6b46804-zef-0.15.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

zef

Maintainer pings
cc @stigtsp for testing.

@ofborg build zef

Result of nixpkgs-review pr 215212 run on aarch64-darwin 1

1 package built:

zef


Sign up your work

[x] Assigned to @xavierVG
[x] Make a signed commit to branch 14-byte-pair-encoding-on-mwt-14-en2de

Refferences:

Signing commits
About commit signature verification
Git Tools - Signing Your Work
What is a signed commit?

@xavierVG  when you start working on this issue please set up the task to In progress state and set up a start date.
:) uwu

I did the commit since Github kraken and i looked it at github

@xavierVG did you signed your 7e7bbd8fe8621650f31e0a6fe11331645b67a14a commit?
If yes may be wee need to add your GPG key to this repo.
We can review this on a meeting.
uwu


Prepare hsts config for preload

This enforces https on ipfs.io and all subdomains. After that, the site qualifies for inclusion in the preload list: https://hstspreload.appspot.com/

This would break https://h.ipfs.io/

Thank you, this is a useful addition to the SSL setup. :+1: We'll have to hold off on it for a bit, because there is also *.i.ipfs.io, and I don't want to introduce SSL to non-public facing things. We also don't have a wildcard cert at the moment (only [gateway.]ipfs.io).
@jbenet we should get a separate domain for infrastructure, e.g. ipfs.zone

Yeah, this should definitely wait until we get a wildcard cert (http://chat.ipfs.io/ would also break)

There is also chat.ipfs.io, and soon others -- we really should get a wildcard cert. In addition we should move infrastructure to a separate domain.

[ ] wildcard cert
[ ] domain for infrastructure

@lgierth hehe, beat you by like 10 seconds :p

Regarding h.ipfs.io, we can sacrifice that and come up with something better. ICANN domains for fc00::/8 are not a good solution anyhow.

@davidar :):)

Applied as 22d711075c46af9b9861da5b4adaca9fbd6db691, thanks!
Next steps:

[ ] move i.ipfs.io domain names to ipfs.team
[ ] redirect all http to https, i.e. be https-only
[ ] submit ipfs.io for inclusion in https://hstspreload.appspot.com/

I added the always parameter and the missing semicolon in 35ba393a15eb0e3e3e9cf3a65b9a973a29d22205


External dependencies upgrade - Spring Boot 3.2.5 and Spring Cloud 2023.0.1

Updates external dependencies to align with Spring Boot version 3.2.5 from 3.2.4 and Spring Cloud version 2023.0.1 from 2023.0.0.
Release notesSourced from spring-boot releases.🐞 Bug Fixes BindValidationFailureAnalyzer uses wrong target #40364 Log4j2LoggingSystem pollutes Log4j2's environment with a SpringEnvironmentPropertySource that is never removed #40326 When using Maven, configuring the spring-boot.excludes or spring-boot-includes user properties causes the build to fail with "Cannot find default setter" #40323 @ServletComponentScan does not register servlet components in a mock web environment #40321 Loading of custom deny-all filter can cause a StackOverflowError when deploying to Tomcat with Log4j2 configured to use a single JVM-wide logger context #40312 Jetty support doesn't set virtual thread name #40152 Executable JAR application startup is slower after 3.2.0 when Hibernate scanner is not disabled #40125 NoClassDefFoundError can be thrown from LaunchedClassLoader when threads are interrupted #40096📔 Documentation Producible's javadoc has the wrong link text for @WriteOperation and @DeleteOperation #40386 Clarify requirements for -parameters and constructor binding #40157🔨 Dependency Upgrades Upgrade to ActiveMQ 5.18.4 #40394 Upgrade to AspectJ 1.9.22 #40293 Upgrade to Awaitility 4.2.1 #40294 Upgrade to Byte Buddy 1.14.13 #40295 Upgrade to Groovy 4.0.21 #40296 Upgrade to Hazelcast 5.3.7 #40297 Upgrade to Jakarta Json Bind 3.0.1 #40298 Upgrade to Jersey 3.1.6 #40299 Upgrade to Jetty 12.0.8 #40300 Upgrade to jOOQ 3.18.14 #40301 Upgrade to Json-smart 2.5.1 #40302 Upgrade to Kafka 3.6.2 #40303 Upgrade to Lombok 1.18.32 #40304 Upgrade to Maven Invoker Plugin 3.6.1 #40305 Upgrade to Maven Source Plugin 3.3.1 #40306 Upgrade to Micrometer 1.12.5 #40207 Upgrade to Micrometer Tracing 1.2.5 #40208 Upgrade to MongoDB 4.11.2 #40307 Upgrade to Neo4j Java Driver 5.19.0 #40218 Upgrade to Netty 4.1.109.Final #40395 Upgrade to Pulsar Reactive 0.5.4 #40396 Upgrade to R2DBC Postgresql 1.0.5.RELEASE #40309 Upgrade to Reactor Bom 2023.0.5 #40209 Upgrade to SLF4J 2.0.13 #40397 Upgrade to Spring AMQP 3.1.4 #40210 Upgrade to Spring Authorization Server 1.2.4 #40211 Upgrade to Spring Data Bom 2023.1.5 #40212 Upgrade to Spring Framework 6.1.6 #40213 Upgrade to Spring GraphQL 1.2.6 #40310 Upgrade to Spring HATEOAS 2.2.2 #40376 Upgrade to Spring Integration 6.2.4 #40214 Upgrade to Spring Kafka 3.1.4 #40377 Upgrade to Spring LDAP 3.2.3 #40215 Upgrade to Spring Pulsar 1.0.5 #40216 Upgrade to Spring Security 6.2.4 #40217 Upgrade to Tomcat 10.1.20 #40311❤ ContributorsThank you to all the contributors who worked on this release:@FelixDes, @dependabot[bot], @izeye, @mstahv, @ppkarwasz, @snicoll, and @spencergibb
This PR is created by GitHub Actions: https://github.com/Azure/spring-cloud-azure-tools/actions/runs/8746282994

/azp run java - spring - tests


Azure Assistants API - Multi-Agent Example

Description

Checklist

[x] I have read the contribution guidelines
[x] I have coordinated with the docs team<EMAIL_ADDRESS>if this PR deletes files or changes any file names or file extensions.
[x] This notebook or file is added to the CODEOWNERS file, pointing to the author or the author's team.

Consider renaming:

scenarios/Assistants/multi-agent_example to scenarios/Assistants/multi-agent
AssistantAPI_MultiAgent_Example_v1.1.ipynb to multi-agent.ipynb

To reduce redundancy and keep the paths shorter.

All changes have been addressed. Pre-commit was changing certain code formatting that was important for the teaching purposes of the sample, so wer e overridden.

All changes have been addressed. Pre-commit was changing certain code formatting that was important for the teaching purposes of the sample, so wer e overridden.

@Simon514771 If it's imperative that some of the python code in the sample is not reformatted by the code formatter, you can refer to this documentation for how to disable formatting for the relevant section of code.


position to mouse ?

existe a easy way to set toast for follow mouse position ?
i hacked my self with this code, but do you have native code ?
i also hack balloons positions because it seem to have only one side.
const rightMode = event.x>window.innerWidth/2;
            iziToast.info({
                id:'infoBox',
                icon:'ico-info2',
                transitionIn: 'bounceInDown',
                iconColor: '#000',
                maxWidth: '350px',
                timeout:false,
                theme: 'dark',
                titleColor: '#000',
                title: title,
                messageColor: '#2a465b',
                message: message,
                position: 'topLeft', // bottomRight, bottomLeft, topRight, topLeft, topCenter, bottomCenter
                backgroundColor: 'rgba(200, 200, 240, 0.9)',
                balloon: true,
                balloonPos: rightMode && 'right' || 'left', // position balloons
                close: false,
                progressBar: false,

            });
            let infoToast = document.getElementById("infoBox");
            var toastWidth = infoToast.offsetWidth;
            var toastHeight = infoToast.offsetHeight;
            infoToast.style.left = `${event.x-(rightMode&&toastWidth||20)}px`;
            infoToast.style.top = `${event.y-50-toastHeight}px`;

thank

@dolce
I write my code to clean and I wanted to know if I should keep my hack, or if it was possible to have a native function of your plugin.
sorry for poor english, i hope you can understand well, what am try to do.


Add show_unreads management command.

This should help us troubleshoot anomalies with old unread
messages.

Automated message from Dropbox CLA bot
@showell, it looks like you've already signed the Dropbox CLA. Thanks!

Merged after some small tweaks, thanks @showell!


Conventional jar layout is not required for JDK9+

As of #5646  (22.10) specifying  allowConventionalDistJar is not necessary for the newer JDK's sake. The only legitimate use case is if the user does not want side-effects of dealing with a multi-shim jar
JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 mvn clean install  -Dbuildver=341 -DskipTests

JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 TEST_PARALLEL=0 SPARK_HOME=~/dist/spark-3.4.1-bin-hadoop3 ./integration_tests/run_pyspark_from_build.sh -s -k array_exists

Signed-off-by: Gera Shegalov<EMAIL_ADDRESS>

build


Drag and Drop functionality

This contains the changes from #130 plus

It's rebased on top of the current master branch to pick up changes like the DSL code being moved into the main lib and the Elmish v4 updates
There's an extra commit to update it to deal with a couple of Avalonia 11 changes

LGTM, should I merge?

The demo in the control catalog does seem to be working ok with the latest code.
(I was previously intending to try adding drop-drop file opening to a tool I was working on that would use this, but I've been snowed under with other things and haven't got to it yet :-( )

I tried plugging it into a test app and it works sufficiently to open a file via drag and drop, so the base functionality looks good :-)