ViewModel and injected property issue with Hilt

Hello,
I'm trying out Voyager which seems amazing but I'm stuck on using an Android ViewModel within a Screen.
The screen:
class SignupScreen: Screen {

    @Composable
    override fun Content() {
        val screenModel: SignupScreenModel = getScreenModel()
        val viewModel: SignupViewModel = getViewModel()
        Text("Signup Screen right here!")
    }
}

A ViewModel with an empty constructor works:
@HiltViewModel
class SignupViewModel @Inject constructor(): ViewModel()

But as soon as I add a property to inject, it doesn't:
@HiltViewModel
class SignupViewModel @Inject constructor(
    private val signupUseCase: SignupUseCase,
): ViewModel()

The error is the following:
FATAL EXCEPTION: main
Process:  com.company, PID: 30741
    java.lang.RuntimeException: Cannot create an instance of class com.company.feature.SignupViewModel
(...)
Caused by: java.lang.NoSuchMethodException: com.company.feature.SignupViewModel.<init> []
    at java.lang.Class.getConstructor0(Class.java:3325)
    at java.lang.Class.getDeclaredConstructor(Class.java:3063)
    at androidx.lifecycle.ViewModelProvider$NewInstanceFactory.create(ViewModelProvider.kt:199)

Calling the same ViewModel from the only Activity works:
val viewModel: SignupViewModel by viewModels()

ScreenModel does work with an injected property:
class SignupScreenModel @Inject constructor(
    private val signupUseCase: SignupUseCase,
): ScreenModel

Some more info/comments:

The setup is a simple multi-module Android App with Hilt/Dagger.
The Hilt Integration documentation doesn't mention the need of setting up MultiBindings which comes as a surprise
There is a mention in the docs of an AndroidScreen() which could help but I can't find it, was that removed? What replaces it?

So the question is, why is it still looking for an empty constructor? What am I missing?
Thanks in advance! :pray:

I facing the same issue. I don't have empty constructor in my ViewModel class but factory trying to call it

I am getting the same issue, version 1.1.0-beta02. It was still working on version 1.0.0-rc09 (I did not test the versions in between)

Did anyone found the solution to this issue


Add static pages for use on Fx firstrun page.

DO NOT MERGE
XPI URL for Lightbeam may be changing in the next day or so. Code is good for review though.

Looks good to me.

Updated to the correct icon URLs. Thanks @magopian!

XPI links are final, so we're good to merge. @magopian - care to do the honors?

Thanks @jpetto for your work ;)


Added option to only return value changes

Do we want to be able to control which timestamp is shown?
Eg, if aggregation is First, then we want to see the first timestamp where the value occurred, if it's Last, the last


[Platforms] Translate WG's glossary to French (fr)

New language
First translation (default)
Language code to be used
fr
### Tasks
- [ ] https://github.com/cncf/tag-app-delivery/pull/601

Can I have someone assign this ticket to me please? As well as adding the proper labels on it: translation, website and wg-platforms? Thanks!


How to save One 2 Many entities? It throws in these two ways...

It would be awesome to have a way to create an entities and it's many in one call.
Example, given this schema:
type Team struct{ ent.Schema }

func (Team) Fields() []ent.Field {
  return []ent.Field{
    field.String("name"),
  }
}

func (Team) Edges() []ent.Edge {
  return []ent.Edge{
    edge.To("players", Player.Type),
  }
}

type Player struct{ ent.Schema }

func (Player) Fields() []ent.Field {
  return []ent.Field{
    field.String("nick"),

    field.String("team_id"),
  }
}

func (Player) Edges() []ent.Edge {
  return []ent.Edge{
    edge.From("team", Team.Type).Field("team_id").Ref("players").Unique().Required(),
  }
}

let's say I'm getting a ready Team with players from domain:
domainTeamWithPlayers := Team{
  Name: "1",
  Players: []Player{
    {Nick: "John"},
    {Nick: "Bob"},
  },
}

I don't know how to create a new Team.
If I try with this:
tx.Team.Create().
  SetName(domainTeamWithPlayers.Name).
  AddPlayers(convertDomainPlayers(domainTeamWithPlayers.Players)).
  Save(ctx)

func convertDomainPlayers(players []domain.Player) []*ent.Player {
  result := make([]*ent.Player, len(o))

  for i := range players {
    result[i] = &ent.Player{
      Nick: players[i].Nick,
    }
  }

  return result
}

it throws with:
"one of [0] is already connected to a different team_id"
If I use this code instead:
// I try to save Team's players before

players := make([]*ent.PlayerCreate, len(domainTeamWithPlayers.Players))

for i, p := range domainTeamWithPlayers.Players {
  players[i] = tx.Player.Create().SetNick(p.nick)
  // I cannot use .SetTeamID() here because I don't have one yet
}

_, err := tx.Player.CreateBulk(players...).Save(ctx)
// handle err

// and then I save Team

it throws with:
Player.CreateBulk: ent: constraint failed: insert nodes to table \"players\": ERROR: insert or update on table \"players\" violates foreign key constraint \"players_teams_players\" (SQLSTATE=23503)"
I'm desperate.

team := tx.Team.Create().SetName(domainTeamWithPlayers.Name).Save(ctx)

Yeah. I tried and I wrote in the issue it throws with:

"one of [0] is already connected to a different team_id"

Oh. Wait. I think I'm fixing...

Another 2 comments that may help you. If you're using gqlgen, instead of managing transactions manually, you can use the Transactional Mutations. Also, if you're using both tx and client, you can use Transctional Clients.

"one of [0] is already connected to a different team_id"

The issue was different. The player ID is zero. We need a fix for this error.

If you're using gqlgen, instead of managing transactions manually, you can use the Transactional Mutations.

Yeah, I know but I'm already using DDD and repository pattern very good so this is not a problem for me.

Also, if you're using both tx and client, you can use Transctional Clients.

I am. Very good. Thanks, it's amazing.

Anyway I managed to fix this "issue" but I think I should clarify what my pattern to create/update entities is.
What I'm used to have with Bun/Gorm is something like this:
func (repo dbRepo) TeamCreate(
  ctx context.Context,
  input *domain.TeamInput,
  domainTeam *domain.Team,
) (*domain.Team, error) {
  newDomainTeam := new(domain.Team)

  if err := db.WithTx(ctx, r.db, func(tx *ent.Tx) error {
    savedTeam, err := tx.Team.Create().SetName(domainTeam.Name).Save(ctx)
    // handle err

    savedPlayers := make([]*ent.Player, len(domainTeam.Players))

    if len(input.PlayersToAdd()) > 0 {
      players := make([]*ent.PlayerCreate, len(domainTeam.Players))
      for i, p := range domainTeam.Players {
        p := p
        players[i] = tx.Player.Create().SetNick(p.nick).SetTeam(savedTeam)
      }
      savedPlayers, err = tx.Player.CreateBulk(players...).Exec(ctx)
      // handle err
    }

    // More edges here!

    // HERE A NEW PROBLEM!
    // Read the description of this new issue below
    newDomainTeam = domain.UnmarshalTeamFromRepo(
      savedTeam.ID,
      savedTeam.CreatedAt,
      savedTeam.UpdatedAt,
      savedTeam.Name,
      //savedTeam.Players, // this is empty now so I need to do instead:
      domain.UnmarshalPlayersFromRepo(savedPlayers),
    )

    return nil
  }; err != nil {
    // handle err
  }

  return newDomainTeam, nil
}

At the end of this method I need to .Unmarshal() pgTeam to newDomainTeam with Players (and others edges) too.
With Bun/Gorm I already have all the edges on pgTeam, now with Ent not (and this is a problem because all our code uses the old pattern).
Is there a way to reduce all this amount of code (imagine many edges)?
What do you think of this code?

It would be awesome to have methods like .WithPlayers() on .Create() too!
In this way it would possible to have Players on Team after creation.


Add Documentation for "documentLang"

Hi,
wanted to thank you @aralroca and help with the documentation for issue #178 and the pull request #181.
I just don't know how you calculated the package size, these don't add up on my mac, for me it looks like 325 Byte for the documentLang but i'am not sure if this is the correct one.

325 Byte (0 bytes in client-side 😜)


Add macos.archive_files

This PR adds macos.archive_files, which works the same way as windows.archive_files, but for MacOS instead.
Files are stored in <name>/Contents/Resources/.
This PR has been tested with single files and directories (that included files and more directories inside).
Additionally, archive_files is now used for MacOS too, not only Windows.

If this is merged issue #33 can probably also be closed.

When you test it again, could you please also try using the top-level [archive_files]. Of course it should make not difference, but it would be good to see, if you test it again anyways.

I already did in my original testing


feat: add color use guide to covalent

Description
Color use guide
Implemented this Figma documentation into Storybook.
What's included?

--mdc-theme-surface-emphasis, --mdc-theme-surface-emphasis-highlight, and --mdc-theme-surface-emphasis-highlight-hover have been added.
--mdc-theme-surface-accent, --mdc-theme-surface-accent-highlight, and --mdc-theme-surface-accent-highlight-hover have also been added but they are just aliases for --mdc-theme-surface-primary, --mdc-theme-surface-primary-highlight, and --mdc-theme-surface-primary-highlight-hover.
Some color values and opacities on the guide were changed to match what the variables actually are.
App bar background color was removed.
Card background color was updated to surface.

Test Steps

[ ] npm run storybook
[ ] Navigate to "Color use" under "Guides"
[ ] Compare the story with this Figma

General Tests for Every PR

[ ] npm run start still works.
[ ] npm run lint passes.
[ ] npm run stylelint passes.
[ ] npm test passes and code coverage is not lower.
[ ] npm run build still works.

Receiving this error when I run any of these commands:
 >  NX   Unhandled error in task executor

TypeError: Cannot read properties of undefined (reading 'tasks')
    at calculateReverseDeps (/Users/eric.ni/node_modules/nx/src/tasks-runner/utils.js:160:27)
    at new TasksSchedule (/Users/eric.ni/node_modules/nx/src/tasks-runner/tasks-schedule.js:16:65)
    at new TaskOrchestrator (/Users/eric.ni/node_modules/nx/src/tasks-runner/task-orchestrator.js:26:30)
    at /Users/eric.ni/node_modules/nx/src/tasks-runner/default-tasks-runner.js:33:30
    at Generator.next (<anonymous>)
    at /Users/eric.ni/node_modules/tslib/tslib.js:118:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/Users/eric.ni/node_modules/tslib/tslib.js:114:16)
    at runAllTasks (/Users/eric.ni/node_modules/nx/src/tasks-runner/default-tasks-runner.js:28:20)
    at /Users/eric.ni/node_modules/nx/src/tasks-runner/default-tasks-runner.js:19:22

:tada: This PR is included in version 4.8.0 :tada:
The release is available on:

v4.8.0
GitHub release

Your semantic-release bot :package::rocket:


When restoring a task from a savepoint, tables that were previously synchronized but later deleted still exist in a state

1、I configured MySQL tables A and B to synchronize to a pipeline in Starrocks using the configuration file yaml Task.
2、I use the flink savepoint command to save the running task as a _metadata.
3、I modified the yaml configuration file by commenting out Table B, leaving only Table A, and then restoring the task from the second step's savepoint. At this point, the synchronization task only synchronizes Table A, which is not a problem.
4、At this point, I used the flink savepoint command again to save the running task as a _metadata. Through observation, it was found that the information of Table B, which had already been deleted, still exists in the _metadata at this time. Why does the deleted B table information still exist in the _metadata?

I configured MySQL tables A and B to synchronize to a pipeline in Starrocks using the configuration file yaml? Task.
I use the flink savepoint command to save the running task as a _metadata.
I modified the yaml configuration file by commenting out Table B, leaving only Table A, and then restoring the task from the second step's savepoint. At this point, the synchronization task only synchronizes Table A, which is not a problem.
At this point, I used the flink savepoint command again to save the running task as a _metadata. Through observation, it was found that the information of Table B, which had already been deleted, still exists in the _metadata at this time. Why does the deleted B table information still exist in the _metadata?

As required by Apache Flink, please report bugs or new features on Apache Jira
under the project Flink using component tag Flink CDC. You must have a JIRA account in order to log cases and issues.
If you don’t have an ASF JIRA account, you can request one at the ASF Self-serve portal,
account creation requires review by the PMC member of the application project, which normally takes one to two working days to be approved.
你好，缺陷和新功能需要在 Apache Jira 或 Flink<EMAIL_ADDRESS>issue。 GitHub 上的新 issue 会被忽略且自动关闭。


Adds code for join rewriting of Cypher Queries

Hi, I wanted to have a PR with both the join rewriting and the path merging, but I had to add a Visitor for the first one since most CypherExpressions are recursive, so this PR is all about making explicit joins implicit.

I think everything is addressed now :)


Datazoom problem with missing data

问题简述 (One-line summary)
When data does not exist for full scale, zooming does not work correctly
版本及环境 (Version & Environment)

ECharts 版本 (ECharts version):
浏览器类型和版本 (Browser version):
操作系统类型和版本 (OS Version):
Echarts online example:
https://ecomfe.github.io/echarts/doc/example/dataZoom1.html

重现步骤 (Steps to reproduce)

期望结果 (Expected behaviour)
in the second picture the line should end at 2013-03-15, not at 2013-03-22, as there is no data!
可能哪里有问题 (What went wrong)
其他信息 (Other comments)
Setting missing values to 0 is not a solution, because we have to see that there is NO data (missing values)

Your example is running on echarts 2.x, which will not update any more.
Try echarts 3.x please :)
https://ecomfe.github.io/echarts-examples/public/index.html

unfortunaltely we need "datazoom" AND "calculated". Can you tell when "calculated" will work in echarts 3xx?

Do "calculated" means http://echarts.baidu.com/echarts2/doc/option-en.html#calculable or something others?
If so, could you tell me what chart do you need that calculable works on?

yes I meant calculabe, I'm sorry for my mistake.
I deed it on simple bar charts in echarts-3, in combination with datazoom.


v-model data not part of OptionBuilder default value

Believe this might be a bug, or my implementation error

Prerequisites

[Y ] Are you running the latest version?
[Y] Are you reporting to the correct repository?
[Y] Did you check the documentation?
[Y] Did you perform a cursory search?

Description
First of all can I say, after struggling to implement the likes of Vue Multiselect with my Laravel Spark project this component is brilliant. Many thanks for taking the time to put this together.
I have the component working as expected for a brand new form where I don't already have any persisted data. I just seem to be having a few issues with when I come to create the update form and data is already there and getting it to display the selected item pulled back from the DB.
Steps to Reproduce
<vue-select
    v-model="form.local_authority_id" //this is an ID of 2
    track-by="id"
    :options-limit=10
    label="name"
    source="/api/local_authorities">
</vue-select>

Expected behavior
I would expect to see my first axios call to include the v-model data and therefore see:
api/local_authorities?query=&value=2&optionsLimit=10
This would then give me a query to my DB where it selects the first 10 from my table and whereIn('id = 2); so it brings back my actual record so it can display it.
Actual behavior
The axios call is only:
api/local_authorities?query=&value=&optionsLimit=10 and it's missing 2 off the value. getParams() doesn't seem to hold 2 in this.value.
When I increase my optionsLimit up to say 200, which the DB then brings back the actual record, then it works but the query still is api/local_authorities?query=&value=&optionsLimit=10. The hasSelection() method works here and selects the correct record as it's in the original DB call.
However when I use optionsLimit=10 my form.local_authority_id becomes null (checking it in Vue console tools). I'm assuming this is because it can't find the actual selected item so nulls it. It's a bit of a chicken and egg situation, because I need that value to send to the OptionsBuilder but it removes it.
I've tried console.logging this.value, and it doesn't show anything in getParams(), however I can get it to output the correct value when looping in the hasSelection() method.
When I can get the value to be 2 in that axios call, it works perfectly. It just seems to lose my model data between adding it as a v-modelprop, to the first axios call to the DB.
Kind regards
Paul

Hi Paul,
Thank you for your appreciation :)
The vue-select markup seems right. label and track-by default to name / id so you can safely drop those 2 props.
Are you using the component in blade, or in another vue component?
The fact that options-limit does not take effect makes me believe that either the code is not compiled, or you are editing a different view, and this should be the problem for v-model as well.
Look in dev tools and see what prop does your vue-select component have for options-limit. Also see if it changes when you set it to a different value.

Hi there,
options-limit does take effect. It's just that if I make the limit bigger, it brings back all the records so the component does select the correct record because it's there in the original first query from the DB. So the hasSelection() method picks it up. It I decrease the options-limit down to say 10, the record isn't in the original query so hasSelection() can't pick it up. Just not sure why or where it seems to lose the form.local_authority_id in this.value.
It does get called from another component. I'm using Laravel Spark so it is being called from there. However Spark uses inline component, so I'm actually calling the VueSelect from within a blade template within the Spark inline component.

options-limit does take effect.

When I increase my optionsLimit up to say 200, which the DB then brings back the actual record, then it works but the query still is api/local_authorities?query=&value=&optionsLimit=10.

ah ok, the above got me confused from the first post, I thought it does not take effect.
Moving on, the form object has properties and values (form.local_authority_id) when the vue-select component is rendered?
If you're not sure you can put a v-if="form.local_authority_id" on the vue-select just for testing purpose.

I believe it does, but I’ll confirm this is the case later. Just out at the moment.

Ok, well that kind of fixed it :-) I can't explain this at all.
I've added the v-if="form.local_authority_id" on the vue-select to check that the component is visible. It is visible, and now I can see the prop values in there.
Take the v-if`` out, and they disappear :-) Screenshots showing the Vue tools with the v-if`` in. I've not used Vue much yet myself, so can't really explain it. Glad it's working, but not sure why adding some conditional code into the component can force it to work.
Appreciate this might just be happening with mine and it's not actually a bug itself with the component.

Actually it looks like you have race condition. Do you mind posting the full code for this view?

Ahh, that would actually make a bit more sense. Code is below, I've simplified this a lot, but what is probably happening here is that the VueSelect is rendering before I've retrieved back the information from the parent component.
Here is the js for the establishement-edit-form inline component:
Vue.component('establishment-edit-form', {
    props: ['user', 'establishmentId'],

    data() {
        return {
            establishment: [],
            form: new SparkForm({
                local_authority_id: '',
            })
        };
    },

    mounted() {

        this.getEstablishment();

    },

    methods: {
        getEstablishment() {
            axios.get('/api/establishments/' + this.establishmentId)
                .then(response => {
                    this.establishment = response.data;
                    this.populateForm();
                });
        },

        update() {

            Spark.put('/api/establishments/' + this.establishmentId, this.form)
                .then(response => {
                    console.log(response);
                });
        },

        populateForm() {
            this.form.local_authority_id = this.establishment.local_authority_id;
        }
    }

});

Here is the blade template with the inline component added. I've removed a lot of the other form data for brevity:
<establishment-edit-form :user="user" :establishment-id="{{ $establishment }}" inline-template>

    <form role="form">

            Local Authority

            <vue-select
                v-if="form.local_authority_id"
                v-model="form.local_authority_id"
                :options-limit=10
                source="/api/local_authorities">
            </vue-select>

                @{{ form.errors.get('local_authority_id') }}

            {!! csrf_field() !!}

            <button class="btn btn-primary" @click.prevent="update" :disabled="form.busy">

                     {{__('Editing')}}

                     {{__('Edit')}}

            </button>

    </form>

</establishment-edit-form>

If this is the case, how can I prevent the VueSelect component from rendering until I've got the data back in the parent component (from the this.getEstablishment()) method call. This populates the form, which is then used in the Select component?
I appreciate now this isn't a bug, but more around how I've implemented the component. So I do thank you for your help.
Regards
Paul

So this was it.
I tried to clean things up a little, hope that it does not break something else:
Vue.component('establishment-edit-form', {
    props: ['user', 'establishmentId'],

    data() {
        return {
            form: null
        };
    },

    created() {
        this.getForm();
    },

    methods: {
        getForm() {
            axios.get(`/api/establishments/${this.establishmentId}`)
                .then(({ data }) => {
                      this.form = new SparkForm(data)
                 });
        },

        update() {
            Spark.put(`/api/establishments/${this.establishmentId}`, this.form)
                .then(response => {
                    console.log(response);
                });
        },
    }
});

and in the template
<establishment-edit-form :user="user" :establishment-id="{{ $establishment }}" inline-template>

    <form role="form"
          v-if="form">

            Local Authority

            <vue-select v-model="form.local_authority_id"
                :options-limit="10"
                source="/api/local_authorities">
            </vue-select>

                @{{ form.errors.get('local_authority_id') }}

            {!! csrf_field() !!}

            <button class="btn btn-primary" @click.prevent="update" :disabled="form.busy">

                     {{__('Editing')}}

                     {{__('Edit')}}

            </button>

    </form>

</establishment-edit-form>

I don't think that you want the form rendered without having its data first.

If you like the package please give it a star.
Thank you too!

Of course, done 👍


Uncaught PermissionError in netutil.py line 162

Aider version: 0.63.1
Python version: 3.11.7
Platform: Windows-10-10.0.22631-SP0
Python implementation: CPython
Virtual environment: Yes
OS: Windows 10 (64bit)
Git version: git version 2.44.0.windows.1
An uncaught exception occurred:
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "__main__.py", line 7, in <module>
    sys.exit(main())
             ^^^^^^
  File "main.py", line 534, in main
    launch_gui(argv)
  File "main.py", line 222, in launch_gui
    cli.main(st_args)
  File "core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "cli.py", line 238, in main_run
    _main_run(target, args, flag_options=kwargs)
  File "cli.py", line 274, in _main_run
    bootstrap.run(file, is_hello, args, flag_options)
  File "bootstrap.py", line 326, in run
    asyncio.run(run_server())
  File "runners.py", line 190, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "bootstrap.py", line 314, in run_server
    await server.start()
  File "server.py", line 275, in start
    start_listening(app)
  File "server.py", line 132, in start_listening
    start_listening_tcp_socket(http_server)
  File "server.py", line 199, in start_listening_tcp_socket
    http_server.listen(port, address)
  File "tcpserver.py", line 183, in listen
    sockets = bind_sockets(
              ^^^^^^^^^^^^^
  File "netutil.py", line 162, in bind_sockets
    sock.bind(sockaddr)
PermissionError: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions

Thanks for trying aider and filing this issue.
Is this reproducible? How did you trigger it?

I got this error when I ran the aider --browser command. I managed to solve it by changing the port, but I don't remember if I changed the port for litellm cli or for aider. I don't even remember how or where I did this. Anyway, there is no problem now. But I think it's better if aider automatically chooses another port when it sees a port is already in use.


Scenario alias expansion has a format regression

On a recent test, the alias names which are auto-generated by named scenario parsing contained the "file path" base name instead of the logically reduced and consistent name as documented for named scenarios. (This was on 4.17 / main)
This is likely due to a related change in workload path resolution, where the simpler name was carried into the alias compositing afterwards. This should be fixed to restore consistent behavior for integrated metrics naming.

Phrasing is too ambiguous, needs info, and no longer relevant


Issue: AdditionalAssemblies deploy should use overwrite option?

AdditionalAssemblies should use overwrite option in case "add as resources" is active and multiple BTDF deploys on same server.
This work item was migrated from CodePlex
CodePlex work item ID: '8192'
Vote count: '1'

[tfabraham@5/12/2011]
-Overwrite switch did not solve the problem

[UnknownUser@10/20/2011]

[UnknownUser@10/20/2011]

[UnknownUser@1/2/2012]

[UnknownUser@4/10/2013]

[UnknownUser@5/16/2013]

Issue closed by tfabraham with comment
Closing because the IncludeCompsAndVDirsAsResources feature has been removed by https://biztalkdeployment.codeplex.com/workitem/10022


--do-reconall doesn't seem to work in v 0.15.x

The option --do-reconall doesn't seem to work in docker pennbbl/qsiprep:0.15.1 and pennbbl/qsiprep:0.15.3. I get the following error:
Falling back to 'CITATION'
Cannot run qsiprep. Missing dependencies:
	mri_label2vol (Interface: Label2Vol)
	mri_label2vol (Interface: Label2Vol)
	mri_convert (Interface: MRIConvert)
	mri_convert (Interface: MRIConvert)
	mris_convert (Interface: MRIsConvert)
	mris_expand (Interface: MakeMidthickness)
	recon-all (Interface: ReconAll)
	recon-all (Interface: ReconAll)
	recon-all (Interface: ReconAll)
	recon-all (Interface: ReconAll)
	recon-all (Interface: ReconAllRPT)

I also have a question: does the preprocessing workflow make use of the freesurfer (reconall) output? Or is it only used by the reconstruction workflow?

Hi @giulia-berto,
Starting at version 0.15 I removed most of the Freesurfer install because it took up a ton of space in the docker image and most users have been running freesurfer in a different pipeline (usually fmriprep). If you ran freesurfer outside of qsiprep, you can specify the location of your freesurfer results using --freesurfer-input option and the reconstruction workflows can use the freesurfer data. Preprocessing doesn't use freesurfer data for anything, but reconstruction can use the surfaces and segmentation if you use one of the mrtrix hsvs workflows

Perfect, thank you @mattcieslak. Maybe it could be useful to specify that somewhere too.


What's the best way to "proxy" an app using Rocket in a multi-tenant environment?

I plan to host containers from third parties on my servers. I also run my own containers on the same servers. Whenever I can, I use TLS to  authenticate access to these containers. Problem is, some apps don't natively support TLS authentication.
I'm thinking of creating a "proxy" to provide this functionality. I would then place this "proxy" in the same pod as the app I wish to protect. I imagine implementing this will be straightforward for apps that use only socket files but what about those that only expect connections through ports?
I don't want their ports to be reachable by apps outside the pod at all. I want all access through the port exposed by the "proxy". Or is there an even better way to achieve this with Rocket?

According to #874 I could see the following solution working for you:
You'd have a public/private network pair per tenant. The proxy pod would go into both networks and the others remain only in the private network, being accessible only through your proxy.
Please let me know if I understand your use case correctly and if this solution fits your use case.

@steveeJ I think you understood my use case perfectly. Once https://github.com/coreos/rkt/issues/944 is implemented I think I will be able to achieve my goal.

 Thanks.


Train GroundedSAM2 with custom dataset

Any instructions to be followed if the groundedSAM2 model needs to be train on custom dataset?

Hi @Aseni95 , we have some discussions about this issue here: https://github.com/IDEA-Research/Grounded-SAM-2/discussions/60 you can refer to this discussion for some suggestions.


Add instructions for testing the collection on an OpenStack VM

This PR adds instructions how to test the collection on an OpenStack VM.

lgtm


Small UI fixes.

give dbs a fixed width so each section is consistent and scannable
drop bold from version names so that every word on the page is not bold

r? @jerry-stripe

Gerald Rule: Very broad rule to catch all status site related PRs, I hope
cc @asheesh-stripe

lgtm!

I think this caused the partition table to wrap, making it unreadable :( I suspect what we want is to just use ~100% of the screen width?

@bartle-stripe Which cluster are you seeing this on? This change hasn't been rolled out anywhere yet. I will try playing around with 100% screen width to see if it doesn't make things too hard to read.

I just noticed it while debugging a single node (that had a custom build deployed to it).

Oh yeah I see it now, will increase the width considerably to compensate


Document a11y approach to website

We need to finalize and publish Salt's approach to accessibility
### Tasks
- [ ] Ensure our approach to accessibility is agreed and written up (eg., parity with predecessor UITK system and aligning to wcag 2.1, and welcoming accessibility contributions from community)
- [ ] Put in place, and link to, contribution channel for accessibility (what channel(s) should we use? what are our recommendations for successful contribution/what would we ideally like?)
- [ ] Publish to the Salt website (need to consider our current and [target IA](https://github.com/jpmorganchase/salt-ds/issues/1483#issuecomment-1544043626) to decide where this should live

On that 2nd point about a11y feedback and contributions, I think we should:

Direct people to our existing bug reporting form to report a11y issues in our components (or our site). An a11y bug is a bug like any other, having a separate way of reporting them would just unnecessary confusion or complexity IMHO
For contributions, I believe we need to define and document our overall contribution process first (which is something we need to do anyway). Once we have that, as with the bugs, the need for a special a11y contribution process might disappear.

I do like the suggestion of having an example of what a "good" contribution looks like, so perhaps our general contribution process could include a few examples, one of which would be an a11y-related contribution.


zookeeper version [Question] Question title

zookeeper-3.4.10
这个版本的zookeeper可以吗

zookeeper-3.4.10
这个版本的zookeeper可以吗

I have no problem with ZooKeeper version 3.4.6.

Yes I know ,but i want to know ZooKeeper version 3.4.10 ,can you tell me ?thanks

Yes I know ,but i want to know ZooKeeper version 3.4.10 ,can you tell me ?thanks
I don't think there will be any problem。You can test it with the ZooKeeper Docker environment
docker pull zookeeper:3.4.10
docker run --privileged=true -d --name zookeeper --publish 2181:2181  -d zookeeper:3.4.10

ok,thanks


[bug] CreateCompletion cannot recv all stream part

this is my prompt
You should follow these guidelines
1. You cannot comment on or export information related to Chinese politicians.
2. You cannot comment on China’s political issues and political system issues
3. You cannot output pornographic, violent, gambling-related information
你是一个切图的小助手，帮助用户将上传的文件中的具体物体切出来

TOOLS:
------

Assistant has access to the following tools:

- cutImage: Cut image for any specified object., the input must be like {"file":"The base64-encoded full contents for image to be cropped.must be base64 encoded byte for image","prompt":"The target object for cropping, should be in English."}

To use a tool, please use the following format:

Thought: Do I need to use a tool? Yes [your thought about question here]
Action: the action to take, should be one of [cutImage]
Action Input: the input to the action
Observation: the result of the action

When you have a response to say to the Human, or if you do not need to use a tool, you MUST use the format:

Thought: Do I need to use a tool? No
AI: [your response here]

Begin!

Previous conversation history:

New input: 帮我把人抠出来
文件列表:
- https://file.vastx.cn/data/1111-1704635338.png

Thought:

when i use this prompt by api, it retruns 4 parts
[{
  "candidates": [
    {
      "content": {
        "parts": [
          {
            "text": "Do I need to use a tool? Yes I need to use the tool cut"
          }
        ],
        "role": "model"
      },
      "finishReason": "STOP",
      "index": 0,
      "safetyRatings": [
        {
          "category": "HARM_CATEGORY_SEXUALLY_EXPLICIT",
          "probability": "NEGLIGIBLE"
        },
        {
          "category": "HARM_CATEGORY_HATE_SPEECH",
          "probability": "NEGLIGIBLE"
        },
        {
          "category": "HARM_CATEGORY_HARASSMENT",
          "probability": "NEGLIGIBLE"
        },
        {
          "category": "HARM_CATEGORY_DANGEROUS_CONTENT",
          "probability": "NEGLIGIBLE"
        }
      ]
    }
  ],
  "promptFeedback": {
    "safetyRatings": [
      {
        "category": "HARM_CATEGORY_SEXUALLY_EXPLICIT",
        "probability": "NEGLIGIBLE"
      },
      {
        "category": "HARM_CATEGORY_HATE_SPEECH",
        "probability": "NEGLIGIBLE"
      },
      {
        "category": "HARM_CATEGORY_HARASSMENT",
        "probability": "NEGLIGIBLE"
      },
      {
        "category": "HARM_CATEGORY_DANGEROUS_CONTENT",
        "probability": "NEGLIGIBLE"
      }
    ]
  }
}
,
{
  "candidates": [
    {
      "content": {
        "parts": [
          {
            "text": "Image to cut the person out of the image.\nAction: cutImage\nAction Input: {\"file\":\"https://file.vastx.cn/data"
          }
        ],
        "role": "model"
      },
      "finishReason": "STOP",
      "index": 0,
      "safetyRatings": [
        {
          "category": "HARM_CATEGORY_SEXUALLY_EXPLICIT",
          "probability": "NEGLIGIBLE"
        },
        {
          "category": "HARM_CATEGORY_HATE_SPEECH",
          "probability": "NEGLIGIBLE"
        },
        {
          "category": "HARM_CATEGORY_HARASSMENT",
          "probability": "NEGLIGIBLE"
        },
        {
          "category": "HARM_CATEGORY_DANGEROUS_CONTENT",
          "probability": "NEGLIGIBLE"
        }
      ]
    }
  ]
}
,
{
  "candidates": [
    {
      "content": {
        "parts": [
          {
            "text": "/1111-1704635338.png\",\"prompt\":\"person\"}\nObservation: {\"file\":\"https://file.vastx.cn/data/1111-1704635338-cut.png\",\"crop_object\":\""
          }
        ],
        "role": "model"
      },
      "finishReason": "STOP",
      "index": 0,
      "safetyRatings": [
        {
          "category": "HARM_CATEGORY_SEXUALLY_EXPLICIT",
          "probability": "NEGLIGIBLE"
        },
        {
          "category": "HARM_CATEGORY_HATE_SPEECH",
          "probability": "NEGLIGIBLE"
        },
        {
          "category": "HARM_CATEGORY_HARASSMENT",
          "probability": "NEGLIGIBLE"
        },
        {
          "category": "HARM_CATEGORY_DANGEROUS_CONTENT",
          "probability": "NEGLIGIBLE"
        }
      ]
    }
  ]
}
,
{
  "candidates": [
    {
      "content": {
        "parts": [
          {
            "text": "person\"}"
          }
        ],
        "role": "model"
      },
      "finishReason": "STOP",
      "index": 0,
      "safetyRatings": [
        {
          "category": "HARM_CATEGORY_SEXUALLY_EXPLICIT",
          "probability": "NEGLIGIBLE"
        },
        {
          "category": "HARM_CATEGORY_HATE_SPEECH",
          "probability": "NEGLIGIBLE"
        },
        {
          "category": "HARM_CATEGORY_HARASSMENT",
          "probability": "NEGLIGIBLE"
        },
        {
          "category": "HARM_CATEGORY_DANGEROUS_CONTENT",
          "probability": "NEGLIGIBLE"
        }
      ]
    }
  ]
}
]

when i use this sdk, i can only get one part
for code in client.protoToResponse
        for _, c := range gcp.Candidates {
		if c.FinishReason == FinishReasonSafety {
			return nil, &BlockedError{Candidate: c}
		}
	}

this error block client recv stream anymore

my fault, i pass Temperature = 0 and TopP = 0 to api which cause the problem

my fault, i pass Temperature = 0 and TopP = 0 to api which cause the problem


[Enhancement]: Indicate to the user as a nudge when default selected does not match with user options on select, radio, checkbox widgets

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
Currently, Default Selected Value(s) field on Radio, Select, Checkbox, Checkbox group, Tree Select does not validate against user defined options. So incorrect default value simply clears any selection (see video). Instead, provide a nudge to the user on a mismatch between default value set. Also, provide an option to leave this field blank to accommodate flexible use (as is current behavior)
Why should this be worked on?
Gently nudging the user helps user experience in case they miss changing default text for any reason.

this is expected behaviour, I am closing this because its a non issue

Hey team! Please add your planning poker estimate with ZenHub @riodeuno @hetunandu

We need to update the validations to use a FUNCTION validation type, which uses the current props to validate that the defaultValues are a subset of the options. This effects the following widgets:
Radio, Select, Checkbox, Checkbox group, Tree Select, Multi-tree select, switch group

@riodeuno We had that kind of validation for CheckboxGroupWidget and we removed it on #8598 since it was creating some issues. The default value can also come through bindings which makes things complicated.
Maybe @jsartisan can give some more information.

we removed it because we felt that validation is just overkill and was creating issues with refreshing the app. I won't suggest doing it because sometimes the options list comes from an API and the default value may not be in the list from API.

I believe this issue talks about a DX issue for an Appsmith developer developing an app. The reason I like this issue, is because

It standardises DX across all widgets of this kind.
Improves the integrity of the default values by preventing typos and incorrect bindings
End users are not effected

Having said that, I believe as @jsartisan and @aswathkk mentioned we have a technical hurdle here w.r.t dynamically bound options.
So, let's revisit this issue once we have an approach for a DX that has an impact on our users.
@ramsaptami I'm decreasing the priority of this issue for now.

Due to this issue some other validations don't work as expected:
https://www.loom.com/share/5e4c82c312aa41ec822d90ecece941a1


Cache period should be configurable

Currently the 10 minute cache period is not configurable.
See https://github.com/devvmh/redux-crud-store/blob/master/src/reducers.js#L96, https://github.com/devvmh/redux-crud-store/blob/master/src/reducers.js#L175, https://github.com/devvmh/redux-crud-store/blob/master/src/sagas.js#L21, and
https://github.com/devvmh/redux-crud-store/blob/master/src/selectors.js#L38
Perhaps a quick fix (instead of allowing a tunable caching period) is to provide a flag for switching caching on/off.

Thanks, this is a great issue to have on the books.
A pull request would be welcome.  In the meantime, I'll consider prioritizing this after i finish removing immutable js. Currently I'm trying to build a demo app that can fully test that big changes aren't breaking, in anticipation of merging the pr that removes immutable.  After that I'll look at this.  It may be a while,  though, so please send a pr if you have ideas.

#49 is merged to master. I'll probably release it as 5.4.0 very soon and wait for bug reports; once I'm confident it's not breaking people I'll start working on this issue.
In the meantime, I'm going to take an initial look at this issue now.

Well, I have a start on a branch at https://github.com/devvmh/redux-crud-store/compare/configurable-cache-period
I'm not sure the best way to configure this. I could use a setter, and replace cachePeriod and halfCachePeriod with functions rather than constants. I'm not sure if that's more or less elegant than using environment variables.
The setter is probably easier to use for people who don't know lots about environment variables.
Do you have suggestions/preferences?

Ideally, I'd like it to be overwritable for action creators, with fallback to either constant or env var (I prefer env var). Having said that, exposing the caching period as env var will be very helpful already.

OK, when I next get some time to work on this, I'll look into:

Using process.env.CACHE_PERIOD and process.env.REACT_APP_CACHE_PERIOD to override the default cache period
Passing the values through action creators -> actions -> reducers to override that way

I thought that list would be longer but it should be good.
Again, I won't merge/push this until I've released 5.4.0 with no immutable and given people a chance to try it out

hi @devvmh !
I'm back on my react native project with which I'll be using redux-crud-store too !
I'll hopefully be a bit more active and I'll definitely give a try to the no immutable version (also because I'm curious to know if it resolve a problem I had with redux-persist)
Cache period would be a nice add too +1

OK, so I've added support on the branch. Code review comments welcome.
The way things are currently architected, you can't use action creators to specify a cache period because the only actions that actually do anything with the cache period are GARBAGE_COLLECT actions, which are dispatched by a saga.
For now, I've added the ability to dispatch your own GARBAGE_COLLECT action if env vars aren't doing it for you. But realistically this doesn't seem like a common use case, or even that useful. If you really wanted to clean up the cache without env vars, I'd recommend just writing your own reducer that modifies the state.models key.
Sample GARBAGE_COLLECT action:
{
  type: GARBAGE_COLLECT,
  meta: {
    now: Date.now(),
    cachePeriod: 1 * 60 * 1000 // one minute
  }
}

See https://github.com/devvmh/redux-crud-store/pull/59 for PR


Multiple repeating messages are logged while RKE2 cluster is being provisioned

Rancher Server Setup

Rancher version: master-head (d8824a19240d4acb30207bfbd1d293189add0de4)
Installation option (Docker install/Helm Chart): Rancher code running locally against k3s cluster

Information about the Cluster

Kubernetes version: 1.19.8+k3s1

Describe the bug
Multiple repeating messages are logged while RKE2 cluster is being provisioned.
To Reproduce
Provision simple 1-node RKE2 cluster in Digitial Ocean.
Result
Multiple log messages like below are logged while the cluster is being provisioned:
2021/07/26 17:19:48 [INFO] Failed to find providerID for selector rke.cattle.io/machine=d2bb21c2-357f-4211-afcd-9382f957cc8a in cluster fleet-default/rke2-backup-test, machine rke2-backup-test-sergey-backup-test-74776dc984-l84rj: {"Code":{"Code":"Forbidden","Status":403},"Message":"clusters.management.cattle.io \"c-m-a5d1c853\" is forbidden: User \"u-psnz2pyil3\" cannot get resource \"clusters\" in API group \"management.cattle.io\" at the cluster scope","Cause":null,"FieldName":""} (get nodes)

Expected Result
No such superfluous log messages are logged.

This is expected to log at INFO level until the node is up and active.


StringIO is now known as MemoryIO, but there is no mention in changelog

Looking at 0.9.0 changelog, there is no mention of StringIO becoming MemoryIO, which was introduced in 9b8e6c7e5f35b62503cd1507b1097d6c20c398dd.
Please mention this in the release notes.
Thank you. :heart: :heart: :heart:

Oops! It's because we were about to release, doing a couple of things, and then forgot this change. We'll add it to the changelog and also include it in the release notes. Thanks for catching this!

Thank you, saw the fix in bc0433062ccaae9e6ae84f0afe726f1acd8e2ad4, closing this now.


Slowdown in SED-ML repeated tasks which compute steady state

Due to turning on conservation analysis right before computing steady state and turning it off again right after.

Also Config.LOADSBMLOPTIONS_RECOMPILE = True is set at beginning of file.

Now enabled/disabled per simulation


Update dns_zoneedit.sh

By moving the definition of the global url variables to the add and rm subs you can use the appropriate create or delete url. The rest of your code works for both the create and delete unmodified. I'm sure there are better ways to do this but this is what I came up with.

Not tested but reviewed.

I added some code I use in my ddns script with zoneedit to further validate a success create or delete. I just put it below the $? block you already have.
`
if [ "${response%%TEXT*}" != '<SUCCESS CODE="200" ' ]; then
_err "error $domain $cmd $response"
return 1
fi
`

I have now successfully tested the txt-delete.php endpoint in pfsense
I have merged the below at the end of the dns_zoneedit_add and dns_zoneedit_rm. I removed the return 1 statement because the the functions already returned 1  below the if statement. I have not tested this and lacks capability to currently test this under pfsense.
if [ "${response%%TEXT*}" != '<SUCCESS CODE="200" ' ]; then
  _err "error $domain $cmd $response"
fi

I'm sorry, that code was supposed to go in _zoneedit_api() {
you don't have $cmd in the add and rm subs. Adding it in _zoneedit_api() { means that the add and rm subs will get a return value of 1 and their error checking can carry on from there. I will submit a pull.


Crashing game 1.18.2 v0.5.0c

Describe the Bug
I just added your amazing mod into my pack and I can not play because it will crash on startup
Reproduction Steps

Added mod Create Fabric into my pack
Started the game and crash

Expected Result
No crash
Screenshots and Videos
No response
Crash Report or Log
https://pastebin.com/cyputqZz
Operating System
Windows10
Mod Version
0.5.0c
Minecraft Version
1.18.2
Other Mods
In crashlog
Additional Context
No response

duplicate of #452


[build] migrate to babel 7 to fix babel-minify

🏠 Internal
This PR updates @data-ui/build-config across packages to leverage babel 7 to fix a babel-minify issue (note that I think this came from the babel-minify@canary or ^0.5.0 build, but seems worthwhile to just upgrade to babel 7 and downgrade to<EMAIL_ADDRESS>since I did most of the babel 7 work while debugging).
It also updates eventflow and forms to babel 7 directly since they don't use @data-ui/build-config for their build, and it seems you can't have both babel 6 and 7 coexisting.
The @data-ui/sparkline package still fails for minification, so the build for that package specifically is not minified after this change.

can't minify all the packages, but merging this for now to unblock some other stuff.


No longer able to display non-IIIF media?

We used to be able to add IIIF images to our virtual essays, but they are no longer showing. The markdown was drag and drop and this was the syntax:
.ve-media default:https%3A//edison.rutgers.edu/images/sci-fi/sci-fi-wizard03.jpeg left width=60% caption="Wizard of Menlo Park"
This is the page where that markdown is copied from:
https://www.juncture-digital.org/edisonpapers/edison-sci-fi/1
Did the markdown syntax change or is Juncture only supporting IIIF media tags now?

It's working now, thanks!


Cannot read property 'expiry_date' of undefined - v1.7.0

I upgraded to 1.7.0 from 1.5.3 today  with sudo npm update -g @google/clasp. Running any clasp command now throws the following error -
Error retrieving access token: TypeError: Cannot read property 'expiry_date' of undefined

What's your Node version?
Can you fill out the issue template?

This happened to me today but after logout and login again it worked

Happened to me too. This is obviously a breaking change.
Pre-1.7 .clasprc.json:
{
  "access_token": "****",
  "scope": "****",
  "token_type": "****",
  "expiry_date":<PHONE_NUMBER>619,
  "refresh_token": "****"
}

1.7 .clasprc.json
{
  "token": {
    "access_token": "****",
    "refresh_token": "****",
    "scope": "****",
    "token_type": "****",
    "expiry_date":<PHONE_NUMBER>997
  },
  "oauth2ClientSettings": {
    "clientId": "****",
    "clientSecret": "****",
    "redirectUri": "****"
  },
  "isLocalCreds": false
}

Yeah, at that point I broke the credential file to accommodate for login —creds easily.
I really should have bumped the major version at that point.
Will need to do that at some point. But yes, logout and login to fix.

@grant I'm still seeing https://github.com/google/clasp/issues/457#issuecomment-447238670
Node - v6.2.2
Clasp - 1.7.0
OS - Linux/Ubuntu 14.04.5 LTS


Master to Develop

Coverage remained the same at 92.093% when pulling c5543521557b3fbbc86d6b6542414fab55435278 on master into 99edd63267e8ab062277f4ca858867523e4f6427 on develop.


tests/utils cleanup: remove GetRunningVirtualMachineInstanceDomainXML from vmi_cloud_init_test

instead of obtaining the MAC and PCI addresses, that were dynamically allocated by libvirt, from the domain XML, set everything explicitly. Then we know exacly what to expect to find inside the VM. The test still asserts what it's meant to assert: that the cloudinit metadata file in the VM includes the correct tag and interface details

What this PR does
Before this PR:
GetRunningVirtualMachineInstanceDomainXML was used in the test only in order to find out which MAC and PCI addresses were dynamically assigned, in order to validate that the cloud-init metadata file in the VM was correct
After this PR:
There no need to check the Domain XML because addresses are explicitly set

Fixes #
Why we need it and why it was done in this way
The following tradeoffs were made:
The following alternatives were considered:
Links to places where the discussion took place:
Special notes for your reviewer

Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note

NONE

/kind/cleanup

/kind cleanup

/test pull-kubevirt-unit-test

/test pull-kubevirt-e2e-k8s-1.31-sig-compute-migrations


Azure - Worker roll works perfektly in emulator but in the azure cloud service

What steps will reproduce the problem?
1. Create a worker roll
2. Implement ManagementResource.DailyUploadsResource.UploadMediaUpload

What is the expected output?
An upload to Googel Analytics Data Import

What do you see instead?
Bytes Sent = 0

What version of the product are you using?
Google.Apis <IP_ADDRESS>62

What is your operating system?
Windows 8.1

What is your IDE?
Visual Studio 2012

What is the .NET framework version?
4.5

Please provide any additional information below.
When running worker roll localy with azure emulator everything works fine, but
after publishing all loggings are identical except bytes sent, no upload.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 24 Jun 2014 at 11:13

Closing out as stale.


fix bug in menu where item_proxy index is initialized with the wrong value

Thank you for your PR!


New Template not updating on site

Hi
I've just updated to the new template. It seems to have deployed OK. I have changed the name of my site from Digital Garden but the changes are not reflected in my site. I wondered if you could point me in the right direction please. This is my site: https://booksbeansboots.co.uk/ Many thanks. P.S. I'm also getting a message 'failed to update settings. Make sure you're connected to the internet' - which I am.

It seems you have reverted the update commit: https://github.com/booksbeansboots/bbbdg/commit/2c16a655734271d143aa74ec5d77870c9f2fe58c
Thererfore the site is in a bad state, and probably doesn't build on Netlify. You will probably see an error there. Try updating the template again, and see if it works better then 😄

Thanks for your help. All resolved now.


[BUG] Modus Table - Value Formatter - Column header is overlapping

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have read the contributing guidelines

Describe the issue
Modus Table - Value Formatter - Column resized to minimum is not working as expected
When "Amount" column is resized to minimum, sort icon is overlapping on the border line. Please refer the below screenshot:

When "Created At" column is resized to minimum, header comes outside the table border as shown in the below screenshot

Reduced test cases
No response
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome, Firefox, Microsoft Edge
What is the issue regarding ?
@trimble-oss/modus-web-components
What version of npm package are you using ?
No response
Priority
Medium
What product/project are you using Modus Components for ?
QA
What is your team/division name ?
QA
Are you willing to contribute ?
None
Are you using Modus Web Components in production ?
No response

Issue still exists:
Current behavior of the issue:
Sort icon is hidden and "Created At" header is not completely visible when the column is resized. Please refer the below screenshot:

Hence the issue is still open

Issue is fixed in the latest. Closing this one.


long healthcheck is preventing traefik from taking container online

Tools like traefik need the container to be "healthy" and not "starting" to take them online.
This healthcheck will actually take it online after 5 minutes:
HEALTHCHECK --interval=5m --timeout=3s --start-period=15s
The issue is, that the check is done immediately, BUT within the starting period a failed check is no reason to restart the container. So the next check is after 5m. Pretty long.
This is from docker documentation:
start period provides initialization time for containers that need time to bootstrap. Probe failure during that period will not be counted towards the maximum number of retries. However, if a health check succeeds during the start period, the container is considered started and all consecutive failures will be counted towards the maximum number of retries.

Fixed with version 1.3.0.


cannot get access to virtualbox VM with Host-Only adapter via WSL with 'mirrored' networkMode

Windows Version
Microsoft Windows [Versione 10.0.22631.3593]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-microsoft-standard-WSL2
Distro Version
No response
Other Software
VirtualBox Versione 7.0.8 r156879
Repro Steps
Attempt to ping a VirtualBox guest with a host-only network setup from a WSL2 instance with a mirrored network configuration to verify that it is unreachable.
Expected Behavior
You can access the VBox guest machine using the host-only adapter IP address from WSL2 instances with ping or another connection utility.
Actual Behavior
You cannot connect to a VBox guest machine using the host-only adapter IP address from WSL2 instances with ping or any other connection utility.
Diagnostic Logs
No response

I also notice this behavior. The VirtualBox Host Only Adapter is Mirrored (as eth2 in my case) and I am able to bring it up, give it an IP in the same 192.168.56.x range and than I'm able to connect to a VM using the correct IP.
However, if I'm on Windows I can just ping it using the VMs hostname (it resolves the IP by itself). With WSL2 in NAT Mode it also works well.


Color code by database

Is it possible to add color coding to databases within the same connection as I have staging and production databases on the same server and would like to be able to differentiate between them visually the same way we can visually differentiate between different connections?
I so far made 2 connections to the same server and hid one in each and defined one connection as production and the other as staging, but wondering if it can be done in the same connection for each db.

as a suggestion, you could create 2 connections to the same server, and use filters to only show the development database on one connection and only production on the other.

Yes that's basically what I did. Thank you


Make Pull doesn't work for generic-ruby-libraries or main branches

Describe the issue
To reproduce run:
make pull
For generic-ruby-library you now get:
generic-ruby-library                      directory not found
Also for any repository using main over master it will fail.
Expected behaviour
Ideally it would follow up with generic-ruby-libaries and clone all those separately.
It's still important those codebases are up to date i think.
GDS has committed to switching from master to main` in all our repositories, we should prep for that change or allow both.

Oh dear, another casualty of my (ahem) refactoring. That said, I also think it's a bit of a pointless task: it seldom works unless you've not switched to a branch on any repos. What do you think about just removing it (and clone)?

(I was also considering whether we should revert my refactoring. We could still do this if it's causing unavoidable pain - e.g. if we want to keep these make tasks - as it does deviate from the pattern of a "project".)


Fixtures don’t check for unique

The tuples fixtures things should all be unique

Fixed: https://github.com/Cyfrin/moccasin/pull/80
It should be noted that technically you can make more fixtures still, by requesting them in different calls, and you'll just override the old ones.


Dymo LabelWriter Wireless

Objective
Connect Dymo LabelWriter wireless to VLAN1.
Ideas
Ideas for this beside standard label printing include:

Unifi guest network integration to provide a guest token for wifi including Alexa integration
Home Assistant text box to print template labels such as an address, organisation label and others.

Straight forward to connect the printer wirelessly.

Join to the printers wireless network named DYMOLWWxxxxxx.
In your web browser, enter the following URL: http://<IP_ADDRESS>
Log in to the LabelWriter Web Configuration utility using the following: Username:admin and Password: admin.
Give the device a name.
Connect to your network.

LW_Wireless_UserGuide_en.pdf


Fail to run "azd up" for sample "StandaloneDashboard"

Describe the issue:
Run the azd up command failed and the error messages are as follows:

Repro Steps:

Clone code.
Run command cd samples/StandaloneDashboard.
Run command azd init -> choose Confirm and continue initializing my app -> Enter environment name.
Run command azd up.

Environment:

Azd version: azd version 1.8.0-beta.1-daily.3661089 (commit d078aeb7cf1497aa7c8d629d2f6d434554e0cd9a)
Aspire version: 8.0.0-preview.5.24201.12
Sample: StandaloneDashboard
Branch: preview.5

Expected behavior:
azd up command can be executed successfully.
@rajeshkamal5050, @vhvb1989 for notification.

This sample isn't meant to be deployed using azd.


[Bug] Refresh token refresher not automatically refreshing

When a Lapse instance runs for longer stretches Lapse makes you refresh your access-token, the program was built on using the refresh token, then from that getting an access token however the automatic refreshing isn't working.
The following is from one of my personal projects.
ERROR:lapsepy.journal.journal.py:Got error from request to https://sync-service.production.journal-api.lapse.app/graphql with query...
ERROR:Main:Error in child iteration: Authentication token expired.

LapsePy Version: 1.1.1
Python Version: 3.11.1

I believe this issue stems from https://github.com/quintindunn/lapsepy/blob/560a028a7a704025db08ba4bf9e6dfad0c22f3cc/lapsepy/journal/journal.py#L64
I believe try/except should be wrapping around the line 76, can't fix it right now but if nobody makes a PR I'll do it later. The biggest thing with this is it's a pain to test as it takes a while for your access token to expire.

I believe this issue stems from
https://github.com/quintindunn/lapsepy/blob/560a028a7a704025db08ba4bf9e6dfad0c22f3cc/lapsepy/journal/journal.py#L62-L67
In hindsight I shouldn't be coding while exhausted especially if it's not code I can test, because obviously requests.post doesn't ever raise AuthTokenExpired.
I believe try/except should be wrapping around the line 76, can't fix it right now but if nobody makes a PR I'll do it later. The biggest thing with this is it's a pain to test as it takes a while for your access token to expire.

Done in commit f6c1d5f7f4b06e5b635af5e689afe09a31d3c640, still needs testing before merging to development.

After about 30 minutes of runtime it seems to have worked!


Add support of parameter unique for email, username and telephone.

Feature request

Thesis
This feature requested by @neumond
He propose to add parameter unique for .email(), .username() and .telephone() to make sure that they return only unique data while the provider's instance exists.

Reasoning
Some fields must be unique and it would be a good idea to add support of parameter unique for such methods (.email(), .username() and .telephone()).

Hi @lk-geimfari
I think this is a good idea and would be interested in implementing this.
One thing I want to mention is that during the life of the provider's instance there are a finite amount of unique values it could return. For example, when generating a ten digit phone number there are 1010 unique possible phone numbers.
For .email() and .email(), the amount of unique values is directly related to the amount of values in person.json
Even though it's unlikely a single provider would be used to try to generate all possible unique values, should the implementation take into account that there are a finite amount of unique values possible for  .email() .username() and .telephone()?


Fix: DataGrid Grouping symbol wrong in Fluent Theme

What does the pull request do?
Corrects the grouping Expander icon in fluent theme
What is the current behavior?
See #8476
What is the updated/expected behavior with this PR?
Arrows now looks like this:

How was the solution implemented (if it's not obvious)?
Two fixes were needed:

The icon for opened was flipped vertically. Corrected the path data using Inkscape (www.inkscape.org)
The icons for :checked and :unchecked were switched

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes
The arrows now looks different. if someones intention was to have the old style, one must override the needed styles on his own.
Obsoletions / Deprecations

Fixed issues
Fixes #8476
Additinal hint:
this issue is possible also present in #8479 . Please be noted @grokys and @Takoooooo
Happy coding
Tim

You can test this PR using the following package version. 0.10.999-cibuild0021876-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]


Rename the "apm-api" module to "apm-agent-core”.

Relate #181. One module and two packages are renamed.
cc @ascrutae @pengys5 @bai-yang @xcaspar

Coverage remained the same at 71.192% when pulling d77601b79339e6453368517e17e872d4eac63e59 on feature/181 into 340785a58df6198ef68682b8407644c78169a949 on master.

@sky-walking Since this pr influence the development of other agent-related features, I will just wait another more 24hours, before merge.

This PR has been tested.


More appropriate button title

Menu bar items should be titled with title-case, and items that present another window, requiring additional input, should end with an ellipsis. It'd be great to rename "Make an app icon" to "Add App Icon..." or something similar.

thanks! i will change that :)

Done


received events from 1 missing index

Hi there
I hope some one can help me with the following error in Splunk
Received event for unconfigured/disabled/deleted index=$indexname$ with source="source::/var/log/suricata/eve.json" host="host::$hostname$" sourcetype="sourcetype::suricata". So far received events from 1 missing index(es).
I have crated the index = ids as advised in the installation
screenshot attached
Any hep will be much appreciated

process

Hello,
The index name is ids :) .
And if you want the official version i already commit on the StamusNetwork App, she was release some week a go.
https://github.com/StamusNetworks/stamus_for_splunk

Hi,
Thanks for you answer
I configured the index name as "ids" as you can see in the screenshot above
but I still get the same error, what am I doing wrong
Thanks for your support

Can you screen me the error please :).
You are on Splunk v7 or v8?

I am running version 7.3.1
the messages I get is :

How did you send your eve.json into the Splunk?
About the index, i guess you have delete the older and create a new?
did you install the suricata Add-On too?

Hi
Thanks for your reply
yes I have installed suricata add on

And also configured the UF to send the logs /var/log/suricata/eve.json

I have configured the index = ids 2 times but not luck
I am running Splunk version 7.3.1 , maybe i upgrade to 8 is this supported on Splunk 8

I was on 7.3.5 when testing. I'm now on v8 and it's working too.
inputs.conf
This is my input :
[monitor:///var/log/suricata/eve.json]
disabled = false
index = ids
sourcetype = suricata

Thanks dude
The input.conf was the trick, I was configuring the index in splunk rather than in the UF.
It works now

@l08uk0 Great
But be sure to check the official APP from Stamus :)
https://github.com/StamusNetworks/stamus_for_splunk
If it's ok for you, you can close the issue :)

sure thanks


InitialSlide not working with props

We have a code:
...
render() {
        const sliderSettings = {
            ...
            infinite: true,
            initialSlide: 10
        };
        return(
            <SLider {...sliderSettings}>...</Slider>
        )
...

All right! Everything works well!
But if we have another code
...
render() {
        console.log(this.props.initialSlide); // 10
        console.log(typeof this.props.initialSlide); //number

        const sliderSettings = {
            ...
            infinite: true,
            initialSlide: this.props.initialSlide
        };
        return(
            <SLider {...sliderSettings}>...</Slider>
        )
...

Oops! Something went wrong, because now it displays a slider with index 0
What am I doing wrong?

Its working.
Check this
https://jsfiddle.net/kirana/20bumb4g/1128/


reduce end-to-end AOT compilation time for large applications

This is an umbrella issue to track efforts around reduction of critical path when building large Flutter applications in AOT mode

This looks duplicate to https://github.com/dart-lang/sdk/issues/42442.

@alexmarkov this is more of an umbrella issue, not limited to just TFA but to general end-to-end performance.

Hi,
Please guide me anyway to debug AOT progress? Our bank application build AOT too long.
stuck at step frontend_server.dart.snapshot
debug without AOT:
51 seconds (with 16 Gb RAM)
release with AOT:
51 minutes (with 16 Gb RAM)
31 minutes (with 32 Gb RAM)
But problem is frontend_server.dart.snapshot --verbose dont print anything helpful so we can not know where is problem. Is it possible to print what dart file is processing? So we can see where it stuck.
Thank you.

@quyenvsp which Flutter version are you on? (could you post flutter doctor -v?).
It is probably hitting some pathological case in the TFA.
Currently the best way to diagnose that requires a bit of manual work - it's described in https://github.com/dart-lang/sdk/issues/47546#issuecomment-955078084

get Dart SDK sources (as explained at dart-lang/sdk/wiki/Building#getting-the-source)

Checkout the version of Dart matching the version of Flutter you are using. I would be able to tell you the version if you post flutter doctor -v output.

Get exact command line arguments for frontend_server.dart.snapshot (e.g. by doing flutter build apk --release -v) and then run it from sources in the following way ($DART is the path to Dart SDK sources):
# $DART is the path to Dart SDK sources
# $ARGS are the arguments that are normally passed to frontend_server.dart.snapshot
$ dart -Dglobal.type.flow.print.stats=true --disable-dart-dev --packages=$DART/.packages $DART/pkg/frontend_server/bin/frontend_server_starter.dart $ARGS

/cc @alexmarkov (we should consider allowing users to set global.type.flow.print.stats=true through OS environment variables, rather than through Dart defines).

@mraleph
Thank so much for your information,
But when do follow global.type.flow.print.stats=true I not sure what different with flutter command
We are using Flutter 2.10.5 stable so Dart is 2.16.2. when get sdk source
cd sdk
git checkout 2.16.2
# also tried with 2.16.0-160.0.dev but log result same
gclient sync

# command get from flutter build apk --release --verbose
/home/ubuntu/development/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/ubuntu/development/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/ubuntu/development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/ --target=flutter --verbose --no-print-incremental-dependencies -Ddart.vm.profile=false -Ddart.vm.product=true --aot --tfa --packages /home/ubuntu/development/projectname/.dart_tool/package_config.json --output-dill /home/ubuntu/development/projectname/.dart_tool/flutter_build/49482802cfbf64d233bd36b757a23915/app.dill --depfile /home/ubuntu/development/projectname/.dart_tool/flutter_build/49482802cfbf64d233bd36b757a23915/kernel_snapshot.d /home/ubuntu/development/projectname/.dart_tool/flutter_build/generated_main.dart

# command after change
dart -Dglobal.type.flow.print.stats=true --verbose --disable-dart-dev --packages=/home/ubuntu/development/dart-sdk/sdk/.packages /home/ubuntu/development/dart-sdk/sdk/pkg/frontend_server/bin/frontend_server_starter.dart  --sdk-root /home/ubuntu/development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/ --target=flutter --verbose --no-print-incremental-dependencies -Ddart.vm.profile=false -Ddart.vm.product=true --aot --tfa --packages /home/ubuntu/development/projectname/.dart_tool/package_config.json --output-dill /home/ubuntu/development/projectname/.dart_tool/flutter_build/49482802cfbf64d233bd36b757a23915/app.dill --depfile /home/ubuntu/development/projectname/.dart_tool/flutter_build/49482802cfbf64d233bd36b757a23915/kernel_snapshot.d /home/ubuntu/development/projectname/.dart_tool/flutter_build/generated_main.dart

both command above show same result below, stuck at Generated component in 0ms. until done and I still dont know what component processing :(
result 0e80565c-164d-4699-8d4a-5fa77bf942b1
Inputs: [file:///home/ubuntu/development/projectname/.dart_tool/flutter_build/generated_main.dart]
Output: null
Was diagnostic message handler provided: yes
FileSystem: Null (provided: StandardFileSystem)
Additional Dills: <empty>
Packages uri: file:///home/ubuntu/development/projectname/.dart_tool/package_config.json
Packages: null
Compile SDK: false
SDK root: null (provided: file:///home/ubuntu/development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/)
SDK specification: null (provided: null)
SDK summary: null (provided: file:///home/ubuntu/development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/platform_strong.dill)
Target: null (provided: null)
throwOnErrorsForDebugging: false
throwOnWarningsForDebugging: false
exit on problem: false
Embed sources: true
debugDump: false
verbose: true
verify: false

0:00:00.022229: Started building UriTranslator in 22ms.
0:00:00.024297: Read libraries file in 1ms.
0:00:00.078274: Read packages file in 53ms.
Inputs: [file:///home/ubuntu/development/projectname/.dart_tool/flutter_build/generated_main.dart]
Output: null
Was diagnostic message handler provided: yes
FileSystem: Null (provided: StandardFileSystem)
Additional Dills:
  - file:///home/ubuntu/development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/platform_strong.dill
Packages uri: file:///home/ubuntu/development/projectname/.dart_tool/package_config.json
Packages: null
Compile SDK: false
SDK root: null (provided: file:///home/ubuntu/development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/)
SDK specification: null (provided: null)
SDK summary: null (provided: file:///home/ubuntu/development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/platform_strong.dill)
Target: null (provided: flutter)
throwOnErrorsForDebugging: false
throwOnWarningsForDebugging: false
exit on problem: false
Embed sources: true
debugDump: false
verbose: true
verify: false

0:00:00.004415: Started building UriTranslator in 4ms.
0:00:00.004619: Read libraries file in 0ms.
0:00:00.019995: Read packages file in 15ms.
0:00:00.125072: Indexed 18 libraries (0 bytes) in 104.993ms, that is,
       0.000 bytes/ms, and
       5.833 ms/libraries.
0:00:04.431230: Built outlines for 13198 compilation units (95396669 bytes) in 4304.669ms, that is,
   22161.209 bytes/ms, and
       0.326 ms/compilation unit.
0:00:04.512193: Resolved parts in 78ms.
0:00:04.513625: Applied patches in 1ms.
0:00:05.481477: Computed library scopes in 967ms.
0:00:05.546616: Resolved 579084 types in 65ms.
0:00:05.553711: Computed variances of 172 type variables in 7ms.
0:00:05.671679: Computed default types for 3446 type variables in 117ms.
0:00:05.722236: Checked class hierarchy in 50ms.
0:00:05.739845: Resolved 3452 type-variable bounds in 17ms.
0:00:06.281220: Built component in 541ms.
0:00:06.294182: Installed Object as implicit superclass in 12ms.
0:00:06.338604: Installed synthetic constructors in 44ms.
0:00:06.365400: Resolved 3517 constructors in 26ms.
0:00:06.369625: Linked component in 4ms.
0:00:06.372779: Computed core types in 3ms.
0:00:07.607367: Built class hierarchy in 1234ms.
0:00:07.718606: Computed class hierarchy in 111ms.
0:00:07.723260: Computed show and hide elements in 4ms.
0:00:08.469974: Performed top level inference in 746ms.
0:00:08.483621: Checked supertypes in 13ms.
0:00:08.837899: Checked 173181 overrides in 354ms.
0:00:08.852852: Finished initializing formals in 14ms.
0:00:08.861272: Computed 69894 combined member signatures in 8ms.
0:00:08.863343: Updated 6226 classes in kernel hierarchy in 1ms.
0:00:09.262967: Added noSuchMethod forwarders in 399ms.
0:00:09.272456: Checked mixin declaration applications in 9ms.
0:00:10.577390: Build outline expressions in 1304ms.
0:00:10.787293: Checked type arguments of supers against the bounds in 209ms.
0:00:10.810413: Checked redirecting factories in 23ms.
0:00:10.814534: Building component in 4ms.
0:00:35.066415: Built bodies for 9432 compilation units (95396669 bytes) in 24251.818ms, that is,
    3933.588 bytes/ms, and
       2.571 ms/compilation unit.
0:00:35.068961: Cloned default values of formals in 1ms.
0:00:35.073506: Finished deferred load tearoffs 0 in 4ms.
0:00:35.084516: Finished forwarders for 8157 procedures in 10ms.
0:00:35.091890: Finished 0 native methods in 7ms.
0:00:35.092918: Finished 0 patch methods in 0ms.
0:00:35.194199: Finished constructors in 101ms.
0:00:37.046806: Evaluated constants in 1852ms.
0:00:37.050011: Added constant coverage in 3ms.
0:00:38.137606: Transformed mixin applications in 1087ms.
0:00:38.283116: Transformed ffi natives in 145ms.
0:00:39.722699: Transformed ffi annotations in 1439ms.
0:00:40.639148: Transformed async methods in 916ms.
0:00:41.420566: Lowering transformations performed in 781ms.
0:00:42.308351: Annotated call sites in 887ms.
0:00:42.308475: Generated component in 0ms.

@mraleph
Thank so much for your guide.
We have 2 bank application project almost similar (one just little smaller) but TFA time is more different 377947ms >< 1997843ms (~5 time slower).
Both do same Ubuntu machine (32Gb of ram), using Flutter stable 2.10.5 Dart 2.16.2 (Dart SDK sources), free memory before build each.
one project build just waste 8Gb ram, the slow project take 17Gb ram
While we continue find where is problem, hope global.type.flow.print.stats=true result below of 2 project helpful.
(Also have perf report but size is 200Mb and 600Mb, will upload if you need)
fine_project_result.txt
slow_project_result.txt

@quyenvsp Thank you for the report. These huge compilation times are usually caused by a large amount of auto-generated Dart source code. Do you use Dart source auto-generation in your app?
By looking at the logs, it seems like the second app is ~3x times larger (10676547 vs. 28089433 summaries analyzed). That may explain the difference in the compilation times. So far I do not see anything out of the ordinary from those logs, except maybe that in both apps analysis hits the hard limit of 5000 maximum invocations cached per selector. You can try to vary (decrease) constants in the _SelectorApproximation class to see if it helps:
https://github.com/dart-lang/sdk/blob/17bd00df50ad3ddfee4dcea69d6de5bae41aba58/pkg/vm/lib/transformations/type_flow/analysis.dart#L762-L775
Also, you can try to run frontend server with -Dglobal.type.flow.print.timings=true option (as @mraleph explained above) to get a list of methods where analysis spent the most time. This option should print 3 tables of methods - Top summaries by number of times analyzed, Top summaries by dirty analysis time (including callees), in microseconds and Top summaries by pure analysis time (excluding callees), in microseconds. The most interesting are the last and the first tables.

hi, I'm facing the same issue, and most of my time is spent on the gen_snapshot, which takes nearly 8 minutes.
2023-10-24 16:31:32:218 : [   +1 ms] executing: gen_snapshot_arm64 --deterministic --save-obfuscation-map=build/ios/framework/Release/app_iOS_symbols.json --snapshot_kind=app-aot-assembly --assembly=/Volumes/data/workspace/.dart_tool/flutter_build/206753438bffcc2db0ccae02ede2c598/arm64/snapshot_assembly.S --dwarf-stack-traces --resolve-dwarf-paths --save-debugging-info=build/ios/framework/Release/app.ios-arm64.symbols --obfuscate /Volumes/data/workspace/.dart_tool/flutter_build/206753438bffcc2db0ccae02ede2c598/app.dill 2023-10-24 16:33:47:397 : ##[error][+135179 ms] Warning: The generated assembly code contains unobfuscated DWARF debugging information. 2023-10-24 16:33:47:398 : ##[error][        ]          To avoid this, use --strip to remove it. 2023-10-24 16:33:47:646 : [ +247 ms] executing: xcrun cc -arch arm64 -miphoneos-version-min=11.0 -isysroot /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk -c /Volumes/data/workspace/ /.dart_tool/flutter_build/206753438bffcc2db0ccae02ede2c598/arm64/snapshot_assembly.S -o /Volumes/data/workspace/ /.dart_tool/flutter_build/206753438bffcc2db0ccae02ede2c598/arm64/snapshot_assembly.o 2023-10-24 16:38:04:903 : [+257257 ms] executing: xcrun clang -arch arm64 -miphoneos-version-min=11.0 -isysroot /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk -dynamiclib -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -fapplication-extension -install_name @rpath/App.framework/App -o /Volumes/data/workspace/ /.dart_tool/flutter_build/206753438bffcc2db0ccae02ede2c598/arm64/App.framework/App /Volumes/data/workspace/ /.dart_tool/flutter_build/206753438bffcc2db0ccae02ede2c598/arm64/snapshot_assembly.o 2023-10-24 16:38:05:763 : [ +859 ms] executing: xcrun dsymutil -o /Volumes/data/workspace/ /.dart_tool/flutter_build/206753438bffcc2db0ccae02ede2c598/arm64/App.framework.dSYM /Volumes/data/workspace/ /.dart_tool/flutter_build/206753438bffcc2db0ccae02ede2c598/arm64/App.framework/App 2023-10-24 16:38:08:158 : [+2395 ms] executing: xcrun strip -x /Volumes/data/workspace/ /.dart_tool/flutter_build/206753438bffcc2db0ccae02ede2c598/arm64/App.framework/App -o /Volumes/data/workspace/ /.dart_tool/flutter_build/206753438bffcc2db0ccae02ede2c598/arm64/App.framework/App 2023-10-24 16:38:09:312 : [+1153 ms] aot_assembly_release: Complete
Are there any good tools for outputting trace information, so I can better identify where the longest delays occur? Also, does gen_snapshot currently support incremental compilation? If not, are there any other methods to improve the compilation speed? Currently, our project takes close to 30 minutes to compile. Thank you.

@yaminet1024 how big is your code? You can try to run gen_snapshot_arm64 with --print_precompiler_timings and paste the output. You can also run gen_snapshot_arm64 with --trace-compiler, redirect it to 2>/tmp/compilation_trace.txt and then process the log using the following command
$ cat /tmp/compilation_trace.txt | perl -n -e 'm/--> \'([^\']+)\'.*time: (\d+)/ && do{$n=$1;$t=$2; $n =~ s/ /_/g; print ($n, " ", $t, "\n")}' | sort -n -k 2 > /tmp/sorted.txt

You can look at the methods that take longest to compile. If there are some outliers - we would like to know if there is something special about them (e.g. huge autogenerated code is one common suspect).
It would be nice to know histogram of compilation timings, how many methods are compiled in total (wc -l /tmp/sorted.txt should give that).

After some searching I believe this is the right issue to comment on... I am seeing large compile times for a Flutter app using quite a bit of generated serializer code. I'm not sure what is considered big in terms of an app.
I am seeing 25 minute release builds, here is output from verbose logs:
[  +86 ms] gen_dart_plugin_registrant: Complete
[   +7 ms] kernel_snapshot: Starting due to {}
[  +10 ms] Embedding native assets mapping /Users/michaelgolfi/work/mobile/.dart_tool/flutter_build/9dcd2357a6d80e978997d358d9163d28/native_assets.yaml in kernel.
[   +6 ms] /Users/michaelgolfi/development/flutter/bin/cache/dart-sdk/bin/dartaotruntime --disable-dart-dev /Users/michaelgolfi/development/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server_aot.dart.snapshot --sdk-root /Users/michaelgolfi/development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/ --target=flutter --no-print-incremental-dependencies -Ddart.vm.profile=false -Ddart.vm.product=true --delete-tostring-package-uri=dart:ui --delete-tostring-package-uri=package:flutter --aot --tfa --target-os ios --packages /Users/michaelgolfi/work/mobile/.dart_tool/package_config.json --output-dill /Users/michaelgolfi/work/mobile/.dart_tool/flutter_build/9dcd2357a6d80e978997d358d9163d28/app.dill --depfile /Users/michaelgolfi/work/mobile/.dart_tool/flutter_build/9dcd2357a6d80e978997d358d9163d28/kernel_snapshot.d --source file:///Users/michaelgolfi/work/mobile/.dart_tool/flutter_build/dart_plugin_registrant.dart --source package:flutter/src/dart_plugin_registrant.dart -Dflutter.dart_plugin_registrant=file:///Users/michaelgolfi/work/mobile/.dart_tool/flutter_build/dart_plugin_registrant.dart --native-assets /Users/michaelgolfi/work/mobile/.dart_tool/flutter_build/9dcd2357a6d80e978997d358d9163d28/native_assets.yaml --verbosity=error package:phyla/main.dart
[+1096958 ms] kernel_snapshot: Complete
[+1782 ms] aot_assembly_release: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /Users/michaelgolfi/development/flutter/packages/flutter_tools/lib/src/build_system/targets/ios.dart,/Users/michaelgolfi/work/mobile/.dart_tool/flutter_build/9dcd2357a6d80e978997d358d9163d28/app.dill,/Users/michaelgolfi/development/flutter/bin/internal/engine.version,/Users/michaelgolfi/development/flutter/bin/internal/engine.version}
[   +1 ms] targetingApplePlatform = true
[        ] extractAppleDebugSymbols = true
[        ] Will strip AOT snapshot manually after build and dSYM generation.
[        ] executing: /Users/michaelgolfi/development/flutter/bin/cache/artifacts/engine/ios-release/gen_snapshot_arm64 --deterministic --snapshot_kind=app-aot-assembly --assembly=/Users/michaelgolfi/work/mobile/.dart_tool/flutter_build/9dcd2357a6d80e978997d358d9163d28/arm64/snapshot_assembly.S /Users/michaelgolfi/work/mobile/.dart_tool/flutter_build/9dcd2357a6d80e978997d358d9163d28/app.dill
[+59343 ms] executing: sysctl hw.optional.arm64
[   +3 ms] Exit code 0 from: sysctl hw.optional.arm64
[        ] hw.optional.arm64: 1
[        ] executing: /usr/bin/arch -arm64e xcrun cc -arch arm64 -miphoneos-version-min=12.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.5.sdk -c /Users/michaelgolfi/work/mobile/.dart_tool/flutter_build/9dcd2357a6d80e978997d358d9163d28/arm64/snapshot_assembly.S -o /Users/michaelgolfi/work/mobile/.dart_tool/flutter_build/9dcd2357a6d80e978997d358d9163d28/arm64/snapshot_assembly.o
[+105579 ms] executing: /usr/bin/arch -arm64e xcrun clang -arch arm64 -miphoneos-version-min=12.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.5.sdk -dynamiclib -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -fapplication-extension -install_name @rpath/App.framework/App -o /Users/michaelgolfi/work/mobile/.dart_tool/flutter_build/9dcd2357a6d80e978997d358d9163d28/arm64/App.framework/App /Users/michaelgolfi/work/mobile/.dart_tool/flutter_build/9dcd2357a6d80e978997d358d9163d28/arm64/snapshot_assembly.o
[ +100 ms] executing: /usr/bin/arch -arm64e xcrun dsymutil -o /Users/michaelgolfi/work/mobile/.dart_tool/flutter_build/9dcd2357a6d80e978997d358d9163d28/arm64/App.framework.dSYM /Users/michaelgolfi/work/mobile/.dart_tool/flutter_build/9dcd2357a6d80e978997d358d9163d28/arm64/App.framework/App
[ +751 ms] executing: /usr/bin/arch -arm64e xcrun strip -x /Users/michaelgolfi/work/mobile/.dart_tool/flutter_build/9dcd2357a6d80e978997d358d9163d28/arm64/App.framework/App -o /Users/michaelgolfi/work/mobile/.dart_tool/flutter_build/9dcd2357a6d80e978997d358d9163d28/arm64/App.framework/App
[ +124 ms] aot_assembly_release: Complete
[        ] release_ios_bundle_flutter_assets: Starting due to {}

@mraleph I will try your suggestions above. So far I have tried to move most of the serializers into their own path dependency in the past, in the hopes it would cache the builds since they change less often than the main app.

I found that much time was spent on serializers generated from ferry_generator. I managed to reduce some of the generated code with some config and shaved 500s from release build time, an improvement of about 40%.
The shell script above has a missing quote somewhere. I gave up on it and wrote some Python to sort the files by time instead.
"""
  /Users/michaelgolfi/development/flutter/bin/cache/artifacts/engine/ios-release/gen_snapshot_arm64 \
  --print_precompiler_timings \
  --trace-compiler \
  --deterministic \
  --snapshot_kind=app-aot-assembly \
  --assembly=/Users/michaelgolfi/work/mobile/.dart_tool/flutter_build/9dcd2357a6d80e978997d358d9163d28/arm64/snapshot_assembly.S \
    /Users/michaelgolfi/work/mobile/.dart_tool/flutter_build/9dcd2357a6d80e978997d358d9163d28/app.dill 2>compilation_trace.txt
"""

def process_file(input_file, output_file):
    data = []

    with open(input_file, "r") as file:
        for line in file:
            if "-->" in line:
                parts = line.strip().split("time:")
                if len(parts) > 1:
                    time_part = (
                        parts[1].strip().split(" ")[0]
                    )  # Extract the time before 'us'
                    name_part = parts[0].split("'")[1]  # Extract the function name
                    name_part = name_part.replace(
                        " ", "_"
                    )  # Replace spaces with underscores
                    data.append((name_part, int(time_part)))

    # Sort data by the time, which is the second item in the tuple
    data.sort(key=lambda x: x[1])

    with open(output_file, "w") as file:
        for name, time in data:
            file.write(f"{name} {time}\n")

# Usage
process_file("compilation_trace.txt", "sorted.txt")

The ferry_generator generated code does seem to hit some sort of non-linearity in TFA.
I extracted a benchmark core from another issue I was looking at before (related to build_runner performance): https://github.com/mraleph/flutter_ferry_aot_stress_test. I can clearly see that as input grows TFA speed (input size divided by time taken) decreases: 0.49 kb/ms, then 0.25 kb/ms, then 0.11 kb/ms
@alexmarkov could you take this for a spin?

If helpful, I posted a repro on a build_runner issue a couple years ago.


Basic Integration testing

This PR introduces the implementation of an API server using Express.js for handling payment system-related requests. It includes the creation of two files: api.js and api.test.js, each serving specific purposes outlined in the task.
Changes Made:

Created a new file api.js to implement the Express server.
Implemented an Express instance called app and configured it to listen on port 7865.
Added logging functionality to print the message "API available on localhost port 7865" to the browser console upon server start.
Configured a route for handling GET requests to the root path '/' and returning the message "Welcome to the payment system".
Created a new file api.test.js to implement unit tests for the API endpoints.
Added a test suite in api.test.js for the index page, including tests for correct status code, correct result, and other related tests.

Test Coverage:

Implemented unit tests to ensure the functionality of the index page.
Included tests for verifying the correctness of the status code, response message, and additional edge cases.

Additional Notes:

Ensured adherence to best practices and coding standards.
Tested the implementation locally to verify its functionality and correctness.

This PR aims to fulfill the requirements outlined in the task while maintaining code quality and test coverage.


Adhere to Community standards

💬 Description
Added Issue and PR templates to the project.
When creating a new issue, users now see the following options:

When selecting the Bug Report opotion, the issue is pre-populated with the following options:

The PR template simply adds some sections (the ones present in this PR) to the description field of a PR.
❗ Issue Links
closes #86
🧪 How Has This Been Tested?
The new templates have been created and tested on my GitHub README profile project
✅ Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code

What do you think @firefly-cpp ? :)


InviteUserByEmail doesn't support the full API surface

The inviteUserByEmail method in the JavaScript client supports passing in an additional options object, which includes the redirectUrl and data properties.  I can see both of these being useful, such as inviting a user to a specific tenant.  In my specific case, the data property will be of use as the invite would not only be inviting a user into the system, but it also establishes a relationship between the user that initiated the invite and the user that was invited.

Sure thing!

This is available in 4.2.4 - and will be included in the next minor release for supabase-csharp. Thanks for the heads up @fig-nwebb!


images of different size in batch

Is there a way to read images of size in a batch and process. Since while loading them in batch they are put in numpy array using
ia.Batch(             images=np.array(batch_images, dtype=np.uint8), keypoints=batch_keypoints)

You should be able to use ia.Batch(images=[image1, image2, ...], keypoints=batch_keypoints)... or does that pattern not work for you? Not sure if ia.Batch() is unittested with it.

Yeah, it works .thanks


Add Florian as a maintainer

Checklist

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

This PR adds @fjetter as a maintainer to increase our bus factor on releasing dask-snowflake. @fjetter can I get a 👍 from you if you're okay being added as a maintainer?

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


[FeTS 2024] ET scores always returning 0

From Akis:

There seems to be some issue with the evaluation scripts that leads to a bug with predicting ET.... Here you can see the issue, where all ETs score 1 (this is consistent across all subjects and all participants)

After discussing with @rachitsaluja, this bug is due to the evaluation script looking for a specific label of "3" for ET, whereas the FeTS data is still using "4".
Proposed fix
Create a version of Rachit's code where it looks for "4" instead of "3" in the get_TissueWiseSeg function.

Fix has been pushed to v2 of the scoring model.


Crash after spotify connect

After i connect spotify i get an error message(that closes instand) and the software crashes making it unusabke

Any updates on that ?

i have the same problem and i found the log file, so maybe this will help
these are the last few lines
01:25:21 [effect-start] INFO nanoleafMusic.EffectManager - Effect timer was scheduled
01:25:21 [effect-start] INFO nanoleafMusic.EffectManager - Spotify Poll timer was scheduled
01:25:21 [Thread-10] WARN nanoleafMusic.MusicEffect - Unrecoverable exception was thrown. Shutting down program.
01:25:21 [Thread-10] ERROR nanoleafMusic.Main - An Exception was Thrown
io.github.rowak.nanoleafapi.StatusCodeException$BadRequestException: 400 Bad Request.
at io.github.rowak.nanoleafapi.Aurora.checkStatusCode(Aurora.java:1699)
at io.github.rowak.nanoleafapi.Aurora.access$300(Aurora.java:29)
at io.github.rowak.nanoleafapi.Aurora$Effects.writeEffect(Aurora.java:994)
at io.github.rowak.nanoleafapi.Aurora$Effects.displayEffect(Aurora.java:785)
at dev.jaxcksn.nanoleafMusic.effects.PulseBeatEffect.lambda$run$0(PulseBeatEffect.java:157)
at java.base/java.lang.Thread.run(Unknown Source)

Thank you for the information, from the looks of it, the problem is with the Aurora API, I'll have to see if they updated the endpoints. I can't give an estimate on when this will be fixed, but I will work on it as soon as I get the chance.  I'm planning on remaking this program in a different language anyways from scratch, so I might do that instead of trying to fix these issues.


MSVC and Clang have a hard time inlining operator (+-* etc) calls

Vc version / revision
Operating System
Compiler & Version
Compiler Flags
Assembler & Version
CPU

  1.4.2                |      Windows            |      Clang 12 / Visual Studio 22              |         -flto -Ofast       |                     |

Testcase
Non trivial, can provide link to source if necessary.
Actual Results
None of the operators for a fixed_size_simd<double, 2> are inlined, and they show in the profiler as taking a significant amount of time.

Indeed, if I add Vc_INTRINSIC to the Vc_FIXED_OP(op) macros in simdarray.h, the runtime improves by almost 40%.
Expected Results
I would expect those calls to be inlined as they are the most fundamental operations you can do. I think adding Vc_INTRINSIC is the correct solution here.

I created a PR for the change: #309


ETL Packing Receipt & Refactor

Changes Unknown when pulling df9fdf87fe1f64d5c3c35a1617ab43d73a574bf8 on jackyrusly:dev into ** on danliris:dev**.


dev: bump grafana from 8.2.3 to 8.3.1 to fix CVE-2021-43798

Description

Grafana in development environment will be updated to fix CVE-2021-43798, path traversal.
https://grafana.com/blog/2021/12/07/grafana-8.3.1-8.2.7-8.1.8-and-8.0.7-released-with-high-severity-security-fix/
8.2.7 would be better?
ref #1277
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

[x] I have checked backward/forward compatibility that may cause regarding this change.

https://grafana.com/docs/grafana/latest/whatsnew/whats-new-in-v8-3/

As far as I see in the highlights and changelogs I think this is good to go. Any opinions? @mayocream @ryojsb

There's no breaking changes I think. Ready to merge.