Add fractal tree simulation

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
What problem is this feature trying to solve?
How do we know when the feature is complete?

@Sulagna-Dutta-Roy

this is my project
Kindly assign me this issue

@Sulagna-Dutta-Roy
Kindly assign me this issue


Refactor c++ iterators

For neighborhood iterators:

Made them random access
Move them out from being nested in Neighborhood
Fix warnings generated from empty constructor
Implement operator->()

Also added a new quadratic bias iterator.

Codecov Report

Merging #827 (35d8320) into main (a1a4d86) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #827   +/-   ##
=======================================
  Coverage   92.44%   92.44%
=======================================
  Files          63       63
  Lines        4675     4675
=======================================
  Hits         4322     4322
  Misses        353      353

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a1a4d86...35d8320. Read the comment docs.


^disable is not working for rules outside the current topic

If the rule is not part of the current topic, it doesn't get disabled:
Can be reproduced with the following code:

topic:  ~car[car]
u: CAR (car) i have a car

topic: ~test share keep repeat[ test]

u: (test 1) test 1 ^disable(RULE ~car.CAR)

This test WORKED for me, after I changed the name of the ~car topic, which the script compiler COMPLAINS about because there is already a concept called ~car

Ok, I was using 7.52 and the problem occured even after renaming the topic.
I tried again with 7.54 and it was working. So the issue is fixed, thank you very much Bruce :)


fix(texlab): update to handler signature change

Update the handlers for textDocument/build and textDocument/forwardSearch to the upstream breaking signature change.

We still need to maintain backwards compat/should wrap these: https://github.com/neovim/nvim-lspconfig/pull/1233#issuecomment-914633260

Isn't that a bit tedious to do for every server? Can't we just add a wrapper in lspconfig/util.lua?

Specifically, upstream https://github.com/mfussenegger/nvim-lsp-compl/commit/29a81f3747373f42d002775b1f79dcd19fada2e4 (@mfussenegger)?

Not sure if it is relevant for the handlers here but in nvim-jdtls I discovered that I had some handlers that require a response, so I had to adapt the shim:
@@ -7,19 +7,19 @@ function M.mk_handler(fn)
   return function(...)
     local count = select('#', ...)
     local config_or_client_id = select(4, ...)
     local is_new = type(config_or_client_id) ~= 'number' or count == 4
     if is_new then
-      fn(...)
+      return fn(...)
     else
       local err = select(1, ...)
       local method = select(2, ...)
       local result = select(3, ...)
       local client_id = select(4, ...)
       local bufnr = select(5, ...)
       local config = select(6, ...)
-      fn(err, result, { method = method, client_id = client_id, bufnr = bufnr }, config)
+      return fn(err, result, { method = method, client_id = client_id, bufnr = bufnr }, config)
     end
   end
 end

Any thoughts on moving this to util.lua and using this wherever it's needed? I can do this in a followup PR (tomorrow or this weekend).

Any thoughts on moving this to util.lua and using this wherever it's needed? I can do this in a followup PR (tomorrow or this weekend).

I was just planning on doing the same thing before I saw your comment. It's currently needed/required in clangd, deno and texlab.

Any thoughts on moving this to util.lua and using this wherever it's needed? I can do this in a followup PR (tomorrow or this weekend).
That would make it easier to rip out again once 0.5.1 (or whatever release contains the handler change) is released.

@clason thats what my comment I linked to suggested :)

Ah, didn't notice the "util" there :) Go ahead and merge this; I'll tackle this tomorrow then (unless somebody else wants to do it quicker).


[Code Addition Request]: Adding New Project in webdevelopement

Have you completed your first issue?

[X] I have completed my first issue

Guidelines

[X] I have read the guidelines
[X] I have the link to my latest merged PR

Latest Merged PR Link
N/A
Project Description
Adding Restaurant website
Full Name
Ch.Sai Pradyumna
Participant Role
Hacktoberfest24

@UTSAVS26  please assign me the issue


Edit Modal ignores cancel date

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
In Edit Modal setting status to cancelled and setting canceled date to any non today's date and clicking Apply button should save the task with the input cancelled date.
Example:
today is 2024-09-01
I set status to cancelled, the cancelled date is 2024-09-01, I set the cancelled date to any other date -> the task is saved with 2024-09-01 as cancelled date
Current behaviour
In Edit Modal setting status to cancelled and canceled date to any non today's date and clicking Apply button saves the task with today's cancelled date.
Example:
today is 2024-09-01
I set status to cancelled, the cancelled date is 2024-09-01, I set the cancelled date to 2022-02-02 -> the task is saved with 2022-02-02 as cancelled date
Steps to reproduce

Open Edit Task modal
Set status to Cancelled (THIS IS THE IMPORTANT STEP, IF OMITTED, EVERYTHING WORKS FINE)
Set cancelled date to any date than today's date
Click Apply

Which Operating Systems are you using?

[ ] Android
[ ] iPhone/iPad
[ ] Linux
[X] macOS
[ ] Windows

Obsidian Version
1.7.1
Tasks Plugin Version
7.10.0
Checks

[ ] I have tried it with all other plugins disabled and the error still occurs

The cancelled date is enabled in the settings.
Possible solution
No response

I don't fully understand.
Does it matter whether the Cancelled date is enabled or disabled in settings?
Does the problem occur in 7.9.0?
I wonder whether this is related to either of these:

https://github.com/obsidian-tasks-group/obsidian-tasks/issues/2859
https://github.com/obsidian-tasks-group/obsidian-tasks/issues/2860

I was unclear. There can be a relationship, but this is a different bug/behaviour.
I tried to clarify by adding examples in the description. Let me know if it is still unclear.
The cancelled date is enabled in the settings.

Thanks.
This is odd:

I asked about 7.9.0 in case I broke the code with the addition of the (disabled) date-picker button...

Fixed, thanks.
I will try 7.9.0 and keep you posted.

Edit Modal ignores cancel date

It does edit it under some circumstances.

... such as if I edit a task that is cancelled, and change the Cancelled date, the edit is preserved.

It does edit it under some circumstances.

Right, I found that the thing that exposes the bug is a status change from non-cancelled to cancelled.

That would be good to include in the Steps to Reproduce, ideally by giving a markdown line to edit, to avoid ambiguity when testing.

Done

Steps to reproduce

Open Edit Task modal
Set status to Cancelled (THIS IS THE IMPORTANT STEP, IF OMITTED, EVERYTHING WORKS FINE)
Set cancelled date to any date than today's date
Click Apply

I cannot reproduce the problem with following these steps, because Apply is disabled due to the empty description.
I generally request that users provide a Markdown line in a code-block that can be copied-and-pasted in to a markdown file, so we can edit that line, and know that we are always consistently starting the reproduction from the exact same point.

My bad, added additional info

Perfect. Thanks.

This is the code that enables manual edits to the Done date to be preserved by the Edit Task modal, if the user edits the Done date after changing the status:
https://github.com/obsidian-tasks-group/obsidian-tasks/blob/787f8e0aea264f119acb365100d4115e8ff8ff9e/src/ui/EditableTask.ts#L243-L248
Indeed, the workaround for the bug is to set the required Cancelled date in the modal's Done date field.
So the fix is going to be something like:

If the new status type is DONE, use the Done date for today
If the new status type is CANCELLED, use the Cancelled date for today


Direct Line channel writes out the CardAction value on first interaction

I'm attempting to use the Directline channel to implement a few styling and functionality features I'm unable to implement using the WebChat channel.  When I switch from WebChat to Directline the very first click of a CardAction (Button) displays the CardAction Value immediately after the chatbot's response to the CardAction.  It only happens with the very first CardAction interaction per session.

If you are using Adaptive Card
For the card action, are you using type of Action.Submit?
You can try out our demo of this feature at this link. Then type card inputs, followed by clicking on the "Submit" button.

If you are not using Adaptive Card
If you set the card action type to postBack and use JSON as the value, the response will not be visible to the user. You can see more about the postBack type in this article.
In contrast, if you set it to imBack, it will always be visible on the client side.
Going forward
We are preparing another action type called messageBack, which combined the features of postBack and imBack, e.g. you can submit one thing to the bot, and show the other thing to the user. You can also hide what is sent from the user. The new messageBack feature is being tracked at #1402.

I will try to repro to understand it.
In the meanwhile, can you elaborate more about "switch to Direct Line" vs. "Web Chat IFRAME"? I thought both Web Chat channel and Direct Line channel behave the same.

I would say using the Web Chat via iframe vs. using Direct Line via javascript behaves very differently.  Documentation for Web Chat / iframe mentions that it lags behind the Direct Line at any given point in time.

@corinagum I am experiencing this issue even when using V4 of the bot framework and the latest version for the botchat.js file. "https://cdn.botframework.com/botframework-webchat/latest/botchat.css". I am using a HeroCard with a postBack action that has a string value.
My scenario is as @prejeanb described above :

the very first click of a CardAction (Button) displays the CardAction Value immediately after the chatbot's response to the CardAction. It only happens with the very first CardAction interaction per session.

Any suggestions or did you need more more info/code from my side?

@BeigeBadger This is more of a workaround than a resolution, but I've switched to using a Suggested Action as the first interaction. It still writes out the value, but it doesn't look as odd in my opinion.  Here are some screenshots.  FYI - I find myself using Suggested Actions more often than CardButtons, because they take up less space in a mobile experience.

@prejeanb thanks for the quick reply and solution. Unfortunately I cannot use suggested action due to channel support (I'm looking at you MS Teams). I'm going to have a look at the messageBack action type and see how that plays with waterfall dialogs and getting the submitted value propagating all the way through. Thank again. :-)

@BeigeBadger let's go ahead and open a new issue. This one is stale and our new templates ask for the information we need to help you. First step is letting us know what version of Web Chat you are using (not the SDK, for Web Chat issues the SDK doesn't matter) and we can go from there.
When filing a new bug, please fill out as much of the provided template as you can. Thanks!


Only 7 services?

In homeintegration.c, the following is defined:
#define MAX_HAP_SERVICES 7
However, at the top of the file, MAX_SERVICES is defined as 20.
What’s the difference between these two?

I will check and provide answers in next few days , currently not have access to my PC, as well please describe your wondering an targets
Sent from my iPhone

On 21 Feb 2021, at 06:17, Jude Pereira<EMAIL_ADDRESS>wrote:

In homeintegration.c, the following is defined:
#define MAX_HAP_SERVICES 7
However, at the top of the file, MAX_SERVICES is defined as 20.
What’s the difference between these two?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

My use case is building a hub to which other ESPs will connect to, via ESP NOW. I’ve got it all working (battery powered motion sensors, temp/humidity sensors) to my main hub, but wondering whether I’ll need to use more than one hub to support 10 services (each sensor is one service).
Cheers,
Jude
On 21 Feb 2021, 17:51 +0100, Yurik72<EMAIL_ADDRESS>wrote:

I will check and provide answers in next few days , currently not have access to my PC, as well please describe your wondering an targets
Sent from my iPhone

On 21 Feb 2021, at 06:17, Jude Pereira<EMAIL_ADDRESS>wrote:
In homeintegration.c, the following is defined:
#define MAX_HAP_SERVICES 7
However, at the top of the file, MAX_SERVICES is defined as 20.
What’s the difference between these two?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Ok,
MAX_SERVICES is outdated declaration  I will  remove thjem from the code
MAX_HAP_SERVICES  is actual and used, 7 is not limited,  you can change and use 10 as well, nex version i will make it more configurable or dynamic

So on the ESP8266, running over 8 accessories with 4 services in each accessory leads to a mem issue. I'm going to test more than 20 accessories on the ESP32 (it's on its way).

Yes, could be memory issue on ESP8266
Any way you can use latest commits, there are a lot of memory optimization and could be better
On ESP32 I need one commit more after full test within 8266 there are some memory leaks, I know how to fix and will be done in the next few days
However for initial test should be OK, there is impact on the long usage and reliabilty
From: Jude Pereira<EMAIL_ADDRESS>Sent: Saturday, February 27, 2021 5:05 PM
To: Yurik72/ESPHap<EMAIL_ADDRESS>Cc: Yurik72<EMAIL_ADDRESS>State change<EMAIL_ADDRESS>Subject: Re: [Yurik72/ESPHap] Only 7 services? (#56)
So on the ESP8266, running over 8 accessories with 4 services in each accessory leads to a mem issue. I'm going to test more than 20 accessories on the ESP32 (it's on its way).
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/Yurik72/ESPHap/issues/56#issuecomment-787085675 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKDREXIJPCC3FRNOPYHBHG3TBEC2JANCNFSM4X6SFUHA .  https://github.com/notifications/beacon/AKDREXNS4XL4QMBVOJBRKSDTBEC2JA5CNFSM4X6SFUHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF3U7S2Y.gif

Got it. I opened #62 btw. I couldn't find a contribution notes anywhere, so just opened a PR :)


Max lines

Hi guys,
Is there any easy way to limit the number of lines / chars that the user can use in monaco editor? (e.g 1000 lines)
Best regards

@joaopgg You can enforce this in a similar way you would enforce a character limit to a native <textarea>. i.e. you would listen to events and react to them.
You can use editor.onDidChangeModelContent(function(e) { ... }); and then check editor.getModel().getLineCount() and react as you see fit.

Ok. Thanks for the answer.
Best regards


New interface for Topology edit and new form

I'd like to propose a change in the new and edit form of the Topology. I see a lot of Airbrake messages coming from people naively editing the Topology and accidentally destroying their LES. Also the current interface excpects that people know YAML..
Second iteration
I went to the drawing board and showed @ChaelKruip and he and I returned to an idea I had back in november. The idea in a broad sense is to 'draw' the topology:
Draw space:                                  | Info about node:
                                             |
                                             |  | name:       [ HV Network         ]
                   O + - - - - - - - - - - - - <| attribute:  [                    ]
                                             |  | attribute:  [                    ]

One node always remains 'in focus'; meaning the one node which information is shown and can be edited.
Adding a new node
Idea 1
In the example above the user is able to draw a node by dragging a line outward from the first node to a certain position. This is giving the user a lot of freedom. Also by knowing that there will be a map in the nearby future I actually like this 'freedom' a lot. In the example however the nodes are animating all over the place, this is something we should not support.
Pro's

Intuitive
Freedom of drawing for user
Adding one node can be done with precision

Con's

Adding 100 nodes becomes a tedious job compared to the YAML approach

Idea 2
We could also when hovering/focussing over/on a node add another bulb/'add/+' button (like here) to be able to drag a new node out of. This way moving a node can be just done by dragging without having to press Ctrl/Cmd. Also  the 'add/+' button will be able to take two event handlers:
addButton
    .on('click', function () {
        // Move the new node directly under the node
    })
    .on('dragend', function () {
        // Set the node on the position where the user left it.
    })

What if someone clicks the addButton 3x?
First time:       | Second time:    | Third time:
O +                  O +               O +
|                   / \              / | \
O                  O   O            O  O  O

It should automatically space out the nodes under the 'clicked' node. What if someone accidentally drags his node over his own node? Well, than he can drag it back.
Moving a node
Moving a node I would do by hitting the Ctrl/Cmd button (depending on which idea is suitable for adding a node) + dragging the node. Clicking on a node will put the node in 'focus' in essence giving it a different glow + showing the information form.
Removing a node
First off the most obvious choice here is to be able to click a node and hit the DEL/Backspace key. This is similar to the example above. This removes all nodes and children under that node (I think that when you have children under a node it should alert with "Do you really want to remove your children?" or something a bit more parent-friendly.
Technical
There is one global class called GraphEditor. This serves purely as an interface between the other components. When you're at the new form the GraphEditor will take a default hierarchical data.
var GraphEditor = (function () {
    'use strict';

    function addNode() {
        // Draw a node <circle/>
        this.graphData.add(this, { <Form data/> });
    }

    function removeNode() {
        // Remove a node <circle/>
        this.graphData.delete(this);
    }

    function updateNode() {
        this.graphData.update(this, { <Form data/> });
    }

    function showForm() {
    }

    GraphEditor.prototype = {
        initialize: function (data) {
            // Draw the node structure from data
            // - node (click -> showForm())
            // - addButton (click -> addNode())
        },

        updateHiddenForm: function () {
            $("textarea.graph").text(HierarchyTransfomer.toHierarchy(this.graphData.data));
        }
    }

    function GraphEditor(data) {
        this.flatData  = HierarchyTransfomer.fromHierarch(data);
        this.graphData = new GraphData(this.flatData);
    }

    return GraphEditor;
}());

In the class above there are two components visible the GraphData being one of them. I don't want to flood the DOM with lots of data- elements (like the TechnologiesForm). Instead I want to keep the data in the Javascript window somewhere or as a mere part of the GraphData instance. This is a sort of CRUD like interface:
var GraphData = (function () {
    'use strict';

    GraphData.prototype = {
        add: function (domEl, data) {
            var newId = "N" + new Date().getTime();
            this.data[newId] = $.extend(data, parent_id: domEl.getAttribute('data-id'));
        },

        update: function (domEl) {
        },

        remove: function (domEl) {
        }
    }

    function GraphData(data) {
         this.data = data;
    }

    return GraphData;
}());

This module should be able to take hierarchal data like:
{
   name: "HV",
   children: [ { name: "MV" } ]
}

to:
{
  "<identifier-hv>":   { name: "HV" },
   "<identifier-mv>":  { name: "MV", parent: "<identifier-hv>" }
}

and the other way around.
var HierarchyTransformer = (function () {
    'use strict';

    return {
        fromHierarchy: function (data) {},
        toHierarchy: function (data) {}
    }
} ());

Questions:

Should dragging and clicking be allowed to add a new node?

 Also it should not be possible to edit the name of the nodes. These form elements should be disabled or just displayed as bold pieces of text.

Also see
https://github.com/quintel/etmoses/issues/1192
https://github.com/quintel/etmoses/issues/780
https://github.com/quintel/etmoses/issues/596

I would like some opinions about the Second Iteration from @dennisschoenmakers @antw

I would like some opinions about the Second Iteration from @dennisschoenmakers @antw

I like the direction; a graphical approach would be hugely better than what we have today. I have a slight preference for Adding a new node: idea 2 since explicit (+) buttons are quite intuitive, whereas "click a node and drag" is not obvious and might have to be explained to new visitors.

Moving a node I would do by hitting the Ctrl/Cmd button (depending on which idea is suitable for adding a node) + dragging the node. Clicking on a node will put the node in 'focus' in essence giving it a different glow + showing the information form.

It sounds like you want to allow visitors to position the nodes themselves instead of them being auto-arranged into a tree? I like this too, but I have one concern: for large networks this is going to become a nightmarish mess of nodes and edges all over the screen. If we do this I'd like for there to be an "Auto-arrange" button which automatically moves all the nodes into a tree display like we have now.

This module should be able to take hierarchal data like: [...] to:
{
  "<identifier-hv>":   { name: "HV" },
  "<identifier-mv>":  { name: "MV", parent: "<identifier-hv>" }
}

Might I suggest using UUIDs for the identifiers? Practically no chance of collisions and in the longer-term I'd like to adds UUIDs to technologies as well (since being able to identify individual technologies with a unique ID will make it easier to show inline validation messages).
Anyway, this is a big :+1: from me.

I would like some opinions about the Second Iteration from @dennisschoenmakers @antw

Do I understand correctly, that the first iteration has been surpassed by the second iteration?

I like the direction; a graphical approach would be hugely better than what we have today. I have a slight preference for Adding a new node: idea 2 since explicit (+) buttons are quite intuitive, whereas "click a node and drag" is not obvious and might have to be explained to new visitors.

Agree (how could I not?) with @antw.

[...] but I have one concern: for large networks this is going to become a nightmarish mess of nodes and edges all over the screen.

I was also thinking about this. The current approach works well with small trees, but for large trees this is going to be a disaster.
Perhaps we could keep the visual approach, we're all in favor of that, but steal from the folder and file trees that have been created in various operating systems?

Perhaps we could keep the visual approach, we're all in favor of that, but steal from the folder and file trees that have been created in various operating systems?

👍 Especially if we support the option of hiding/folding parts of the tree (as we currently do) which is the staple of such directory trees as well.

Perhaps we could keep the visual approach, we're all in favor of that, but steal from the folder and file trees that have been created in various operating systems?

Wich parts should we steal? (The collapsing part or the way it's positioned?); considering the point made by anthony was about the 'free' positioning; I guess it's positining. To explain the roots of that idea; the free positioning  came forth from the idea of a map of Holland where you could drag the components to. I think the free positioning idea should be reconsidered once we're actually doing something usefull with the GIS data and maps.
For now automatically positioning the nodes, once added, makes more sense.

I think the free positioning idea should be reconsidered once we're actually doing something useful with the GIS data and maps.

Hopefully this will be quite soon so it would be wise to keep this in mind when designing this.

I moved all details into separate issues. An overview issue has been created here: #1434. Please keep everything on topic. 😄
I'll close this issue.


Per-labelset queues

Clear and concise description of the problem
The endpoint to fetch pipelines queues currently returns all pipelines regardless of their labels.
This is problematic for #999 because I would like to be able to create different auto-scaled agent pools.
Suggested solution
Add filters in queues list endpoint by label set so I get a view of only the pipelines my agent pools can handle.
Alternative
Optional / Nice-to-have: Add an option to label prometheus time series about queues with the same labels.
Additional context
Use cases
Different autoscaler agent pool
Additional Information: #999
A simple use-case is that I would like to have a pool of Instances (Virtual Machines) for Docker backend runners that use a pre-built docker image and just start the agent with the good parameters, the first start would be a cold boot because the volume would need to be initiated etc but the instance would be powered-off and re-spinned when needed with the same volume (hot boot).
Another pool for the Local backend runners would recreate (cold boot) a complete VM at each runs for cases where containers are not fitting and we want to run directly inside a VM.
Finally, I would use Cloud Providers' managed Kubernetes for the Kubernetes backend and fine-tunes the settings for Woodpecker.
If I take @scaleway as an example, we have Kapsule and it would be really easy to auto-scale the cluster horizontally by adding nodes as the number of container / the average per node CPU / memory starts to saturate.
But to make that work well I need to be able to get queues status per label backend so it auto-scales based on the right metrics (the queue length of the respective backends)
Validations

[X] Checked that the feature isn't part of the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Once I finished my current PR on the autoscaler project I will probably give it a try

Sadly we won't be able to take advantage of database indexing feature because from what I see the model is a pure JSON string: https://github.com/woodpecker-ci/woodpecker/blob/main/server/model/task.go#L33 :/
What would you recommend guys?

Making the filter server-side (fetch all Tasks but filter in the server back-end) which means the performance impact is server-side
Rework the Task model so we can off-load  the selection to the database which is good practice but would require a migration of the data base and some rework

Finally had the time to have a look at this one. I currently see to options:

add some filter to the queue endpoint and simply filter by label (the index shouldn't be that much of a problem for the beginning IMO as you would probably only have <100 pending tasks for normal instances)
use the queue tasks list for the autoscaler and interpret the different labels at the autoscaler.

This should now be possible https://github.com/woodpecker-ci/autoscaler/pull/134


deploy pinner

Peer-star-app now has a Pinner service.
We need to deploy this to start testing it.

@VictorBjelkholm I think we need some of your devops magic :)

Latest status is over at: https://github.com/protocol/infra/issues/398
Current status: discussing with infra team about best way to deploy and move forward

With this Pinner, it means that when PeerPad moves to IPLD, there has to be a migration strategy.

Update: The pinner has been deployed!

But Victor, how do we know?!

Glad you asked! If you visit https://dev.peerpad.net and start typing, you'll see a "Saving..." message popping up on the right. After a while (seconds), it'll change to "Saved!" and that's when you know that the pinner has pinned the latest state in your document.


Does lifelines support hierarchical/mixed effect models?

Let's say that some samples are grouped (patients in a hospital, etc.) and that these groupings induce correlations between the samples.
If I'm interested in understanding the effect of treatment using a CoxPH model (or more generally a time-varying CoxPH model), is there a straightforward way for me to include a random effect for the group?

Hi @JamesPHoughton
The only thing I can suggest is to use the cluster_col arg (similar to the cluster in R's survival). https://lifelines.readthedocs.io/en/latest/Examples.html#correlations-between-subjects-in-a-cox-model

Thanks! That's probably enough...

Sorry to reopen - is there a way to pass a cluster_col to the CoxTimeVaryingFitter?  I see that it's not implemented in: https://github.com/CamDavidsonPilon/lifelines/blob/master/lifelines/fitters/cox_time_varying_fitter.py#L92
Would it be an analogous operation to the implementation in https://github.com/CamDavidsonPilon/lifelines/blob/master/lifelines/fitters/coxph_fitter.py#L1208 ?
If you think the method could be ported there easily, I'd be happy to take a crack at it if you'd review for me?

Hi @JamesPHoughton, it's not implemented yet, and IIRC, it's trickier than the non-time-varying model. Sorry if you lost some time here!

hello,
I used the the cluster_col argument and works pretty well, was wondering if there is a way to include a term related with the clustered_col.
Something like a random intercept and a random slope
greetings

@ioannis12 unfortunately, not!


Support NHibernate v5.2

Hi, do You plan to support NHibernate v5.x?
It throws exception:
'Field not found: 'NHibernate.NHibernateUtil.String'.'

Hello I am currently not using NHibernate in any of my projets (most of them migrated to linq2db or EF Core).
But will try to investigate issue during New year holidays.

Actually I managed to port it. It was no big problem. I can send you the code.
Get Outlook for Androidhttps://aka.ms/ghei36

From: Artur Kraev<EMAIL_ADDRESS>Sent: Saturday, December 7, 2019 7:48:09 PM
To: RaveNoX/NHibernate.HierarchyId<EMAIL_ADDRESS>Cc: Luka Cetina - PTA<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [RaveNoX/NHibernate.HierarchyId] Support NHibernate v5.2 (#7)
Hello I am currently not using NHibernate in any of my projets (most of them migrated to linq2db or EF Core).
But will try to investigate issue during New year holidays.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/RaveNoX/NHibernate.HierarchyId/issues/7?email_source=notifications&email_token=ALGSFYH5OKZA2FG2R72THULQXPVWTA5CNFSM4JS5L35KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGGM7UY#issuecomment-562876371, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALGSFYAUXQUSZXWJ2QUWG2TQXPVWTANCNFSM4JS5L35A.

It will be nice If you will submit PR.
вс, 8 дек. 2019 г., 0:22 Luka Cetina<EMAIL_ADDRESS>
Actually I managed to port it. It was no big problem. I can send you the
code.
Get Outlook for Androidhttps://aka.ms/ghei36

From: Artur Kraev<EMAIL_ADDRESS>Sent: Saturday, December 7, 2019 7:48:09 PM
To: RaveNoX/NHibernate.HierarchyId <
<EMAIL_ADDRESS>Cc: Luka Cetina - PTA<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>
Subject: Re: [RaveNoX/NHibernate.HierarchyId] Support NHibernate v5.2 (#7)
Hello I am currently not using NHibernate in any of my projets (most of
them migrated to linq2db or EF Core).
But will try to investigate issue during New year holidays.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<
https://github.com/RaveNoX/NHibernate.HierarchyId/issues/7?email_source=notifications&email_token=ALGSFYH5OKZA2FG2R72THULQXPVWTA5CNFSM4JS5L35KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGGM7UY#issuecomment-562876371>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/ALGSFYAUXQUSZXWJ2QUWG2TQXPVWTANCNFSM4JS5L35A

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/RaveNoX/NHibernate.HierarchyId/issues/7?email_source=notifications&email_token=AAJMI7EY2OH5AKVII7DD4MLQXQHZ7A5CNFSM4JS5L35KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGGPZZY#issuecomment-562887911,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJMI7ETRRHBMTC55FV6TQLQXQHZ7ANCNFSM4JS5L35A
.


Improve autoclicker performance

Allow only one object for each unique autoclicker in the list of active clan members
Associate each unique clan member with the number owned
Set dps to autoclicker.dps * number owned
Add test data for testing autoclicker performance. Currently only includes 100 Bots. We will need to revisit when we have more autoclickers

Noice, I’ll review more thoroughly later but one thing I thought from this is we probably should use the in game update/tick rate instead of the timer that way we can remove the logic that creates and destroys that timer, whatcha think?

Sorry I haven't reviewed yet. I've been quite busy. I should be able to review tomorrow.

Noice, I’ll review more thoroughly later but one thing I thought from this is we probably should use the in game update/tick rate instead of the timer that way we can remove the logic that creates and destroys that timer, whatcha think?

I created a trello task for this :)


GitIgnore files from static analysis checks

PR Summary
The contributing guidelines state instructions on how to run markdown spell and link checking, and the CLIs should not be committed.

PR Context

PR Checklist

[X] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[X] Summarized changes
[X] Change is not breaking
[X] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[X] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

User-facing changes

[X] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[X] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

[X] Add [feature] to your commit messages if the change is significant or affects feature tests

Closed because of global install.


Issue on Windows platform

I try to use it in my project, but I got some issues. Is Windows not supported?

Thanks for reporting this problem! Indeed Windows is not supported at the moment (the scripts I used to install opencv are Linux only). If you have a tutorial (or link to equivalent) that shows how to properly install opencv on Windows, I would be glad do integrate that.

In one of my cross-platform projects, I used your action to install opencv in the linux environment, while in windows and macos, I wrote the installation script process myself. It may not be perfect, but you can refer to it.
install opencv ci

Any update on this? Will Windows/MacOS support be added?

I myself was out of time to work on this issue, so the situation is the same as before. If windows/macos support is to be added, it has to come from as a contribution.

I myself was out of time to work on this issue, so the situation is the same as before. If windows/macos support is to be added, it has to come from as a contribution.

@QQxiaoming has workflows for installing it on Windows and MacOS. You can easily take that and insert it into this script, unless that should be done by someone else, too.


govendor command not found

Hey, I install the go and using  go get -u github.com/kardianos/govendor to get the govendor. But my system cannot find the govendor command.
My go envs are below:
`set GOARCH=amd64
set GOBIN=C:\code\mixer\notifyd\bin
set GOPATH=C:\code\mixer\notifyd
set GOROOT=C:\Go
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set PKG_CONFIG=pkg-config`

go get will install the compiled applications in $GOPATH/bin.  In this case, they'll be found in C:\code\mixer\notifyd\bin (see the other issue for how you should change how you use GOPATH).  This directory needs to be added to your path environment var.

I apparently had %GOPATH%\bin in my path but wasn't getting commands to run, fix was to move it to the front of path and close and restart all my power shell instances, that seems to have done the trick!


"#two" was being hidden. Added another # to unhide

Thanks! But this fix makes it appear as two, when it should be #two I think? I guess it's a peril of trying to display CSS inside Rust inside Markdown...
Who knows, maybe a third #? Or some kind of escape?

That is strange. For some reason when I run mdbook serve, the # is still present

Looking back at this, perhaps you were confused by the 2 pictures I initially added. I was just trying to demonstrate that the line was hidden. I should have clarified that the two pictures were both of the actual book and the hide/unhide feature of mdbook.

My bad! I just looked at your second image and thought it was after the fix, hadn't run mdbook myself. Thanks for this fix, I'll merge it.


chore(ci): speed-up TravisCI builds [#141477825]

Reduces build time by ~175% (from  ~3.5 minutes to ~2 minutes)
Summary of Changes

update Node.js used by Travis to v6.10.0 (Latest LTS)
add caching node_modules
move npm i -g firebase-tools to build/deploy.js (only install it when deploying)

@prescottprue, updated Travis config based on your feedback. I'm not sure how to test it without changing the config, so let me know what you think.

Updated to address feedback. Thanks!

Yes dude, absolutely perfect! Going to merge it for ya.

Thanks @prescottprue!


TypeError: base_scatter() got an unexpected keyword argument 'colors'

How to set the colors in cluster_scatter and is there any methods to set the legend by myself?  thx

It is colors precisely, I think you are using an older version stereopy which caused this error, you can upgrade to latest.
The available values for colors are defined in Colorcet Categorical.


Fix test/recipes/95-test_external_krb5.t

"skip() needs to know $how_many tests are in the block"

Checklist

[ ] documentation is added or updated
[x] tests are added or updated

Merged.  112c4e02680eeb3f9369f270f009a577fdb4019b


ocp_tmp_instance variable

As you know, ansible_ssh_host contains the "ocp-tmp-instance" as value, which is not a valid host. Because you cannot reference the "hostsvars" inside  hosts keyword, the same fix to use the gce_public_ip is not applicable.
So I had to externalise the var ocp_tmp_instance inside gold-image.yaml

Thanks for the PR, I just used slightly different, more robust, approach here - https://github.com/openshift/openshift-ansible-contrib/pull/414/commits/32743e26a4faf22885e3a13cc1b2247f126a39e4

That's great! Thanks


Added Vape CustomColorGui

so i did this cuz am bored vape theme it nothing new so i want custom color gui because we can custom any color we want like white really blue really purple and more so yeah i hope you made it

real

Yeah

could just edit the ui lib to do that

you can choose custom colour + just use rainbow its better

put on todo

put on todo

TY!1!1!1, yay now it gonna have Vape White

Added


test: fix shell test timing out

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Sleep is required to pass tests. See https://github.com/stellar/soroban-cli/pull/1202

What version are you using?

What did you do?

What did you expect to see?
What did you see instead?

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Am a software engineer
How I plan on tackling this issue
I will go through the documentation and implement the all the instruction..

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
My name is Koxy. I'm a blockchain Rust developer and Stellar ecosystem contributor. As an SCF Pathfinder and contributor to Stellar documentation, I have hands-on experience with both Rust and the Stellar platform.
My background in open-source development and familiarity with Stellar's architecture positions me well to address the timing issues in Soroban CLI tests.
I'm eager to implement immediate solutions while collaborating with the team on long-term improvements to enhance Soroban CLI's reliability.
How I plan on tackling this issue
To address the timing issues in the Soroban CLI tests, I would:

Analyze: First, I'd thoroughly review the failing tests and surrounding code to understand the root causes of the timing issues.

Implement Quick Fix: Add strategic sleep statements to stabilize the tests, as a temporary solution to unblock development.

Document: Comment on the added sleep, explaining its purpose and marking it as temporary.

Test Thoroughly: Ensure the modified tests pass consistently across multiple runs and environments.

Propose Long-Term Solutions: Investigate more robust alternatives such as:

Custom wait mechanisms that poll for specific conditions
Refactoring to better handle asynchronous operations
Utilizing Rust's async/await features more effectively

Collaborate: Discuss findings and proposed long-term solutions with the team to align on the best path forward.

Implement & Iterate: Based on team feedback, implement agreed-upon long-term fixes, iterating as necessary.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I have experience in JavaScript and TypeScript, particularly in testing and debugging CLI tools. I understand the intricacies of test environments and the importance of reliable test execution.
How I plan on tackling this issue
I’d investigate the current test setup to identify why a sleep is required for tests to pass. I’d analyze the test timing and dependencies, then implement a solution to ensure the tests run reliably without unnecessary delays, potentially optimizing the test flow.

Yes you need to start a quickstart server.
If you are in the repo you can use cargo s which is an alias for cargo run --quiet --
cargo s network container start --ports-mapping 8889:8000 local

Also this issues likely stems from the fact that multiple tests are trying to upload the same wasm binary at the same time.
A possible solution is to modify the Wasm binary for each test, by adding some random data to a custom  section. This would mean that each test would have a unique wasm file to upload. The sleeps acted as a way for the tests no run sequentially which solved the issue of submitting the same wasm quickly.
Here is an example from loam, which had similar issues with its tests.
https://github.com/loambuild/loam/pull/88/files#diff-0e64c49f07fd665cae565b5863129f04cebefe45e23d9afd9125411cc4dbd08c
Checkout the rest of the PR for more details.

Yes you need to start a quickstart server.
If you are in the repo you can use cargo s which is an alias for cargo run --quiet --
cargo s network container start --ports-mapping 8889:8000 local

are you sure this command is correct?, i tried this but i got this error. `error: the following required arguments were not provided:

Usage: soroban network container start --ports-mapping <PORTS_MAPPING>... `
i also added the network 'testnet' command to  it but it didn't work.

Also this issues likely stems from the fact that multiple tests are trying to upload the same wasm binary at the same time.
A possible solution is to modify the Wasm binary for each test, by adding some random data to a custom section. This would mean that each test would have a unique wasm file to upload. The sleeps acted as a way for the tests no run sequentially which solved the issue of submitting the same wasm quickly.
Here is an example from loam, which had similar issues with its tests.
https://github.com/loambuild/loam/pull/88/files#diff-0e64c49f07fd665cae565b5863129f04cebefe45e23d9afd9125411cc4dbd08c
Checkout the rest of the PR for more details.

okay, on this.

Hi @janewang @willemneal
I have  fixed this issues. This test works fine now, sleep is no longer needed for test to pass. This is my pull request here. Kindly help review https://github.com/stellar/stellar-cli/pull/1651


Shift + Backspace to clear entire input

Just for some convenience, if using shift + backspace in an input box, it will clear the entire input so we don't have to backspace every character

implemented in 39562d83ede7049046dc1a6e7eeb7c27a5fb4619
Due to complications with how ncurses handles modifier keys, this has been changed to Ctrl + R instead


Hide Count hiding wrong object?

Shouldn't Hide Count hide the label and not the badge? (it currently hides the badge and leaves the number)
/// Hide the count (Blank Badge).
/// Remember this only hide count,
/// and not the red dot.
public func hideCount() {
countLabel?.isHidden = true
}

HIi, can you assign me this issue ?


Failed to generate code

Describe the bug
error.rs
use snafu::Snafu;

pub type Result<O, E = Error> = std::result::Result<O, E>;

#[derive(Debug, Snafu)]
#[snafu(module(builder), context(suffix(false)), visibility(pub(crate)))]
pub(crate) enum Error {

    #[snafu(display("Database error: {source}"))]
    DatabaseError {
        backtrace: snafu::Backtrace,
        source: sea_orm::DbErr,
    },

}

profile.rs
#[flutter_rust_bridge::frb(opaque)]
pub struct Database {
}

impl Database {
    pub fn open() {}
}

Steps to reproduce
It is OK to write two pieces of code in the same file, but it is not OK to write them separately.
Logs
[2024-09-16T05:07:40.145Z DEBUG /home/zhou/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.0/src/library/codegen/parser/mir/parser/ty/ty.rs:12] TypeParserWithContext.parse_type ty=PrimaryKey ans=Delegate(PrimitiveEnum(MirTypeDelegatePrimitiveEnum { mir: MirTypeEnumRef { ident: MirEnumIdent(NamespacedName { namespace: Namespace { joined_path: "crate::profile" }, name: "PrimaryKey" }), is_exception: false }, repr: I32 }))
[2024-09-16T05:07:40.145Z DEBUG /home/zhou/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.0/src/library/codegen/parser/mir/parser/ty/ty.rs:12] TypeParserWithContext.parse_type ty=PrimaryKey ans=Delegate(PrimitiveEnum(MirTypeDelegatePrimitiveEnum { mir: MirTypeEnumRef { ident: MirEnumIdent(NamespacedName { namespace: Namespace { joined_path: "crate::profile" }, name: "PrimaryKey" }), is_exception: false }, repr: I32 }))
[2024-09-16T05:07:40.145Z DEBUG /home/zhou/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.0/src/library/codegen/parser/mir/parser/ty/ty.rs:12] TypeParserWithContext.parse_type ty=Relation ans=Delegate(PrimitiveEnum(MirTypeDelegatePrimitiveEnum { mir: MirTypeEnumRef { ident: MirEnumIdent(NamespacedName { namespace: Namespace { joined_path: "crate::profile" }, name: "Relation" }), is_exception: false }, repr: I32 }))
[2024-09-16T05:07:40.145Z DEBUG /home/zhou/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.0/src/library/codegen/parser/mir/parser/ty/ty.rs:12] TypeParserWithContext.parse_type ty=Model ans=StructRef(MirTypeStructRef { ident: MirStructIdent(NamespacedName { namespace: Namespace { joined_path: "crate::profile" }, name: "Model" }), is_exception: false })
[2024-09-16T05:07:40.145Z DEBUG /home/zhou/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.0/src/library/codegen/parser/mir/parser/ty/enum_or_struct.rs:85] Treat ActiveModel as opaque by compute_default_opaque
[2024-09-16T05:07:40.145Z DEBUG /home/zhou/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.0/src/library/codegen/parser/mir/parser/ty/ty.rs:12] TypeParserWithContext.parse_type ty=ActiveModel ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate::profile" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner<ActiveModel>" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "ActiveModel" }, segments: [NameComponent { ident: "ActiveModel", args: [] }] }, reason: Some(StructOrEnumRequireOpaque), ignore: false })
[2024-09-16T05:07:40.145Z DEBUG /home/zhou/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.0/src/library/codegen/parser/mir/parser/ty/enum_or_struct.rs:85] Treat ActiveModel as opaque by compute_default_opaque
[2024-09-16T05:07:40.145Z DEBUG /home/zhou/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.0/src/library/codegen/parser/mir/parser/ty/ty.rs:12] TypeParserWithContext.parse_type ty=ActiveModel ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate::profile" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner<ActiveModel>" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "ActiveModel" }, segments: [NameComponent { ident: "ActiveModel", args: [] }] }, reason: Some(StructOrEnumRequireOpaque), ignore: false })
[2024-09-16T05:07:40.145Z DEBUG /home/zhou/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.0/src/library/codegen/parser/mir/parser/function/real/mod.rs:139] parse_function function name: "open"
[2024-09-16T05:07:40.145Z DEBUG /home/zhou/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.0/src/library/codegen/parser/mir/parser/ty/ty.rs:12] TypeParserWithContext.parse_type ty=Database ans=StructRef(MirTypeStructRef { ident: MirStructIdent(NamespacedName { namespace: Namespace { joined_path: "crate::api::error::builder" }, name: "Database" }), is_exception: false })
[77.1s] Parse ⠄
  └── [77.1s] Cargo expand & syn parse
  └── [0.0s] Parse HIR ⠂                                                                                [2024-09-16T05:07:40.145Z ERROR /home/zhou/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.0/src/library/utils/logs.rs:55] panicked at /home/zhou/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.0/src/library/codegen/ir/mir/ty/structure.rs:36:32:
no entry found for key=MirStructIdent(NamespacedName { namespace: Namespace { joined_path: "crate::api::error::builder" }, name: "Database" })
thread 'main' panicked at /home/zhou/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.0/src/library/codegen/ir/mir/ty/structure.rs:36:32:
no entry found for key=MirStructIdent(NamespacedName { namespace: Namespace { joined_path: "crate::api::error::builder" }, name: "Database" })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Expected behavior
No response
Generated binding code
No response
OS
Linux zhou-ser 6.10.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 12 Sep 2024 17:21:02 +0000 x86_64 GNU/Linux
Version of flutter_rust_bridge_codegen
flutter_rust_bridge_codegen 2.4.0
Flutter info
[✓] Flutter (Channel stable, 3.24.3, on EndeavourOS 6.10.10-arch1-1, locale zh_CN.UTF-8)
    • Flutter version 3.24.3 on channel stable at /home/zhou/.cache/flutter_sdk
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (4 天前), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/to/linux-android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Linux toolchain - develop for Linux desktop
    • clang version 18.1.8
    • cmake version 3.30.3
    • ninja version 1.12.1
    • pkg-config version 2.1.1

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/to/linux-android-setup for detailed instructions).

[✓] Connected device (1 available)
    • Linux (desktop) • linux • linux-x64 • EndeavourOS 6.10.10-arch1-1

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 3 categories.

Version of clang++
clang version 18.1.8
Additional context
No response

Wild guess: is it possible snafu somehow notice DatabaseError and generate some code with name Database, which then confuses frb since there is another "Database" struct there?
To avoid this, try to firstly rename everything into unrelated names, such as "DatabaseError -> OneError", "Database -> Two", etc

Wild guess: is it possible snafu somehow notice DatabaseError and generate some code with name Database, which then confuses frb since there is another "Database" struct there?
To check this, try to firstly rename everything into unrelated names, such as "DatabaseError -> OneError", "Database -> Two", etc

Yeah,  DatabaseError -> MyDatabaseError is ok. snafu do generate a struct named Database, but I think they are different and should be recognized. Their full names are pub(crate) crate::api::error::builder::Database and  pub crate::api::profile::Database.
Another solution is to putting the snafu's Error and my Database declaration in the same mod
my example: https://github.com/Zhou-Pixel/test_error.git

Wild guess: is it possible snafu somehow notice DatabaseError and generate some code with name Database, which then confuses frb since there is another "Database" struct there?
To check this, try to firstly rename everything into unrelated names, such as "DatabaseError -> OneError", "Database -> Two", etc

One thing that confuses me is that when I write them in the same file, it works, but when I separate them, it doesn't work

I think they are different and should be recognized.

Currently this is not implemented, because it is nontrivial to correctly understand all those prefixes. For example, you need to understand use a::b::C, use a::*, pub use a::b::* (which then exports everything inside b into its current mod), etc.

he snafu's Error and my Database declaration in the same mod

But the Database snafu generated is pub(crate), it means I don't want to expose it to dart. Only one struct named Database is pub. is that implemented?

Due to compatibility reasons, first-party pub(crate) structs are also scanned and considered. Therefore, before we release 3.x version, maybe it is good to keep it unchanged...


Deprecate fastapi_server project

Because I use supabase as a globally hosted database, and discord bot to access the database, I may as well use it to frequently run checks on the database data?
Alternatively: Find a cheap domain host to host the backend again. This requires me to update the certs every year though

A new service was found. Using traefik allows me to pull certs automatically.


feat(design-land):added qty-dropdown component to design-land

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Fixes: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

@Nolan-Arnold there's a merge conflcit left in one of the files. Otherwise, this PR lgtm.

@Nolan-Arnold this has navbar code in it.


XYZ ZoomLevel doesn't work and displays wrong tiles on zoom

I'm trying to make a map using a bigger picture, I've resized it and cut it using powers of 2 ( I have resized it from 1024 to 8192 [ 8 zoom levels] ). I'm trying to use the basic template maptiler gives off.
By keeping the default minZoom(0) and maxZoom(4) it displays the entire image, but when zooming in, after 2 zooms it starts calling for the wrong tiles : As if the map would move to the left by 1 tile or something.
When changing the maxZoom to 7, it only displays 1/4 of the image: the top left corner.
I've tried setting the extent to 8192, to the full res or to some big numbers, also tried using all the params in the extent but nothing seems to work.
What should I do to make this work? I see that maptiler even uses non-square images well, but all only on 4 levels of zoom ...

You will need to configure a tileGrid with the correct resolutions. If your images are oversampled, you also need to configure the correct tilePixelRatio on the source.

I do have a tilegrid ... also not exactly sure about the tilePixelRatio ( can't find anything about that ) but my tiles are 256x256 and that's default as far as I know.

See http://openlayers.org/en/v3.11.2/apidoc/ol.source.XYZ.html for tilePixelRatio.

As mentioned earlier, I'm using 256pxx256px images so the ratio is set correctly. I know it's ugly but here's the code I'm using : http://paste.isomorphis.me/Dk6. I have tried to use different extents, make my own projection and so on as described in the first post.


scan and query always return AsyncIterators

Fixes #4
@chiefbiiko This also makes the DynamoDBClient interface more explicit... This would be a breaking change, but IMO it's a more user-friendly API.

If you wanted convenience functions for scan+query that return Promise we can special case i.e.
  dyno.queryOnce = async (params: Doc, options?: Doc): Promise<Doc> => {
   // TODO handle options === undefined
    options.iteratePages = false;
    for await (page of dyno.query(params, options)) {
      return page
    }
  }

  dyno.scanOnce = async (params: Doc, options?: Doc): Promise<Doc> => {
    options.iteratePages = false;
    for await (page of dyno.scan(params, options)) {
      return page
    }
  }

(save for a future PR - naming is discussion worthy).

@hayd thanks for ur input, let me try to paper my thoughts:
i want dynamodb to reflect the aws api amap - ideally no additional brain-drain layer
my concern regarding always-ait is that counting like
const { Count } = await dyno.scan({ TableName: "Tisch", Select: "COUNT" });

wouldnt work -
would have to be
const { Count } = await dyno.scan({ TableName: "Tisch", Select: "COUNT" }, { iteratePages: false });

too unintuitive
solution could be to point users to dyno.scanOnce or intro dyno.count
but then thats dominos and bloat
also the scan op is expensive and sth to avoid by db design
i dont necessarily want to "optimize" this part of the client with custom logic
but need some more thought on this..

also the scan op is expensive and sth to avoid by db design

Whilst it is expensive it's often the case you need more that one page worth. 🤷♂
It would be:
const { Count } = await dyno.scan({ TableName: "Tisch", Select: "COUNT" }, { iteratePages: false });
// wouldn't work either, it would be:
const { Count } = await dyno.scanOnce({ TableName: "Tisch", Select: "COUNT" })

I don't think it's dominoes as these are the only two ops that have pagification.
You could also do it the other way scanMany or scanIter (or something). At the moment using it as asyncIterable is the more painful thing to use, so if you think scanIter is used less often maybe it makes sense to have it being the different name.

leanin towards preserving scan but exposing scanIter to get an ait with guarantee

Is a trick to define a new class that is both awaitable and async iterable?
i.e. await scan() returns :Doc and for await (const foo:Doc) {}  also works.


Existing Stemcells don't get uploaded to new CPIs added to a director

Sometimes a stemcell may be uploaded to a director but not to all of the CPI AZs of that director.  It would be nice if it were possible to force and upload of the stemcell so that the director will make sure it is on all of the CPIs.

I'm not sure I fully understand the issue here. When does this issue occur? Is this only in a multi-cpi setup? How have you resolved this situation in the past?

@drich10 I'm sorry my issue wasn't more clear.  Here are steps to reproduce the issue hopefully this will help.

Execute deployment that uploads a stemcell using bosh-deployment-resource
Update director cpi config with a new CPI to the director.
Execute a deployment that attempts to use the new CPI you will get an error stating the stemcell doesn't exist on that cpi.

To manually fix this situation I can run bosh upload-stemcell again and bosh will detect which cpis the stemcell doesn't exist in and it will upload it into those.
So, this could be fixed in bosh-deployment-resource by either.  Allowing bosh to upload the stemcell everytime allowing it to detect if the stemcell is there or not or enhancing the stemcell detection to determine if the stemcell is in every cpi uploading it if it is not.
I hope that helps clarify the issue.  Sorry for not being more clear before.  Thanks!

Thanks for the detailed explanation 👍 . In your manual fix did you run upload-stemcell without any additional flags? Currently the resource will essentially attempt a bosh upload-stemcell for each stemcell in the stemcells array, so it would be interesting if a vanilla upload-stemcell command works where the resource failed. I'll definitely look into this!

@drich10 Hmm.....looking at the error we saw it looked as though bosh-release detected that the stemcell was already uploaded (which it was to one cpi) prompting it to skip uploading it again.  However, perusing through the code I don't see any place where bosh-deployment-resource might have any of that logic.  Let me try to duplicate what I thought the issue was again and I'll do a little more investigation and report back.

Closing for now till I have time to try and dupe.


Pure AIR SDK friendly build

I noticed that you don't use much Flex itself. It would be nice to get rid of few incompatible lines and enable pure AIR SDK support. Logger from mx.** namespace is the only thing which should be remove as far as I see it.

Needed this as well so I made a pull request: #66


feat(behavior_path_planner): all modules publish modified goal

Signed-off-by: kosuke55<EMAIL_ADDRESS>PR Type

Improvement

Related Links

https://github.com/autowarefoundation/autoware.universe/pull/2094
Description

launcher update of https://github.com/autowarefoundation/autoware.universe/pull/2094
Review Procedure

Remarks

Pre-Review Checklist for the PR Author
PR Author should check the checkboxes below when creating the PR.

[x] Code follows coding guidelines
[x] Assign PR to reviewer

Checklist for the PR Reviewer
Reviewers should check the checkboxes below before approval.

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code follows coding guidelines
[ ] (Optional) Unit tests have been written for new behavior
[ ] PR title describes the changes

Post-Review Checklist for the PR Author
PR Author should check the checkboxes below before merging.

[ ] All open points are addressed and tracked via issues or tickets
[ ] Write release notes

CI Checks

Build and test for PR: Required to pass before the merge.
Check spelling: NOT required to pass before the merge. It is up to the reviewer(s). See here if you want to add some words to the spell check dictionary.

@kosuke55
Should this PR be merged? Or, Is it okay to close it?

@tkimura4
sorry to be late.
This PR needs to be merged after modifying https://github.com/autowarefoundation/autoware.universe/pull/2094.
But currently, I am not working on that ...:bow:


slight typo/bug in execution?

Context: https://tour.golang.org/moretypes/5
If vertex p printing as &{1 2} is intententional, close this. However, the previous page was about pointers and how to interact with them, so it seems odd to print a pointer instead of the value pointed to by said pointer in the context of the tour.
Code, as is current.
package main

import "fmt"

type Vertex struct {
	X, Y int
}

var (
	v1 = Vertex{1, 2}  // has type Vertex
	v2 = Vertex{X: 1}  // Y:0 is implicit
	v3 = Vertex{}      // X:0 and Y:0
	p  = &Vertex{1, 2} // has type *Vertex
)

func main() {
	fmt.Println(v1, p, v2, v3)
}

output:
{1 2} &{1 2} {1 0} {0 0}

Program exited.

I'm not sure if the Vertex p printing as a reference value is intentional, but if not the edited code at line 17 should be fmt.Println(v1, *p, v2, v3)

@ALTree word, thx


Add myself to contributors in README

Could you change the commit message? Add 'myself' doesn't sound informative

Also, you shouldn't be putting both of these commits on the same PR.

What this may cause is the following: looking for PRs that address a particular issue becomes difficult, especially since the PR doesn't indicate the addition of the parser

Also, you shouldn't be putting both of these commits on the same PR.  What this may cause is the following: looking for PRs that address a particular issue becomes difficult, especially since the PR doesn't indicate the addition of the parser

My bad, I just committed and pushed the parser code without realizing it will be added to the same PR.


Get Assignee Details

Created Get Assignee Details method to get assignee based information for a predefined period

Need to flatten the repo


Project Week 2

Slay

Final Score = 2.4 + 0.5 = 2.9/3
Expected
.1 - Frontend UI demo. -  UI is very user-friendly, and well constructed. +0.1
.1 - Postman API Demo. - Postman working well with deployed version. +0.1
.1 - Java Demo - Tester method in the class file for POJO +0.1
Extra for now, required at end of project
.1 - Java Demo - Model Init.  - Contains local initializing data. +0.1
.1 - Java Demo with Postman or UI - Can perform all the CRUD functions, with the initialized data. +0.1
.1 - JWT Demo - Create user is working, and users can authenticate. Endpoint security done as well. However, it works through postman, and isn't completely connected to the frontend. -0.1


WMS item support

WMS
Done
CatalogMember
Copied

description
info
{ v7: "isShown", v8: "show" }
splitDirection

Ignored

name
type
isEnabled
parents

WMS
(bold = some transformation)
Copied

url
layers
opacity
linkedWcsUrl
linkedWcsCoverage
chartColor
featureTimesProperty
chartType
featureInfoTemplate

Removed
...
TODO
Bold = requires transformation
If no transformation is required, you should be able to copy the property over as is (with same property key)
+ = serialized in v7
Catalog member (Catalog member or catalog Item)

[x] infoSectionOrder
[x] shortReportSections
[x] shortReport
[x] legendUrl
[x] legendUrls
[x] chartDisclaimer (add support in catalog converter)
[x] rectangle +
[x] isLegendVisible +
[x] currentTime
[x] dateFormat
[x] disablePreview
[x] ~isUserSupplied~ Not required as far as I can tell
[x] cacheDuration
[x] forceProxy
[x] id
[x] hideSource
[x] isLoading

ImageryLayer

[x] keepOnTop +
[x] initialTimeSource +

WMS

[x] dataCustodian (this exists in DataCustodianTraits)
[x] leafletUpdateInterval (#9)
[x] styles
[x] dimensions (may need transformation depending if _dim is included in name - in v8 we drop _dim)
[x] availableStyles
[x] availableDimensions
[x] getCapabilitiesUrl
[x] parameters
[x] isGeoServer
[x] minScaleDenominator
[x] hideLayerAfterMinScaleDenominator
[x] maxRefreshIntervals
[ ] supportsDeltaComparison - Not sure how to handle this... v7 doesn't have any of the other DiffableTraits

Not in V8 (may need to be ported)
CatalogMember

[ ] isPromoted
[ ] isHidden
[ ] initialMessage
[ ] customProperties
[ ] shareKeys
[ ] isWaitingForDisclaimer

Catalog item

[ ] nowViewingCatalogItem +
[ ] creatorCatalogItem
[ ] nowViewingIndex +
[ ] zoomOnEnable
[ ] attribution +
[ ] metadataUrl
[ ] dataUr +
[ ] dataUrlType +
[ ] displayChoicesBeforeLegend
[ ] clock
[ ] isLoading
[ ] isEnableable
[ ] isMappable
[ ] showsInfo
[ ] nowViewingMessage
[ ] maximumShownFeatureInfos
[ ] useOwnClock +
[x] featureInfoTemplate.formats (https://github.com/TerriaJS/terriajs/pull/4829)

ImageryLayer

[x] tileErrorThresholdBeforeDisabling (https://github.com/TerriaJS/terriajs/pull/4730)
[x] ignoreUnknownTileErrors (https://github.com/TerriaJS/terriajs/pull/4730)
[x] treat404AsError (https://github.com/TerriaJS/terriajs/pull/4730)
[x] treat403AsError (https://github.com/TerriaJS/terriajs/pull/4730)
[x] clipToRectangle (https://github.com/TerriaJS/terriajs/pull/4827)
[ ] isRequiredForRendering
[ ] showOnChart +
[ ] dontChartAlone
[ ] featureTimesProperty
[ ] intervalFilterFeature +
[ ] intervals +

WMS

[x] isNcWMS (https://github.com/TerriaJS/terriajs/pull/4724)
[x] isEsri (https://github.com/TerriaJS/terriajs/pull/4724)
[ ] tilingScheme +
[ ] getFeatureInfoFormats
[ ] populateIntervalsFromTimeDimension
[x] supportsColorScaleRange (https://github.com/TerriaJS/terriajs/pull/4724)
[x] colorScaleMinimum +  (https://github.com/TerriaJS/terriajs/pull/4724)
[x] colorScaleMaximum + (https://github.com/TerriaJS/terriajs/pull/4724)
[ ] tokenUrl
[ ] tokenParameterName
[ ] tokenInvalidHttpCodes
[ ] disableUserChanges
[ ] displayDuration

*Bold = serialized
WMS
parameters
styles
tilingScheme
getFeatureInfoFormats
populateIntervalsFromTimeDimension
minScaleDenominator
hideLayerAfterMinScaleDenominator
maxRefreshIntervals
isEsri
isGeoServer
isNcWMS
supportsColorScaleRange
displayDuration
disableUserChanges
availableStyles
colorScaleMinimum
colorScaleMaximum
availableDimensions
dimensions
tokenUrl
tokenParameterName
tokenInvalidHttpCodes
getCapabilitiesUrl
dataUrl
dataUrlType
ImageryLayer
opacity
treat404AsError
treat403AsError
ignoreUnknownTileErrors
keepOnTop
clipToRectangle
isRequiredForRendering
initialTimeSource
splitDirection
showOnChart
dontChartAlone
chartColor
chartType
featureTimesProperty
intervalFilterFeature
supportsDeltaComparison
leafletUpdateInterval
tileErrorThresholdBeforeDisabling
intervals
clock
CatalogItem
nowViewingCatalogItem
creatorCatalogItem
nowViewingIndex
rectangle
url
legendUrl
dataCustodian
attribution
metadataUrl
isEnabled
isShown
isLegendVisible
displayChoicesBeforeLegend
clock
currentTime
isLoading
isEnableable
isMappable
showsInfo
nowViewingMessage
featureInfoTemplatemaximumShownFeatureInfos
zoomOnEnable
dateFormat
useOwnClock
disablePreview
CatalogMember
name
description
info
infoSectionOrder
isUserSupplied
isPromoted
isHidden
initialMessage
cacheDuration
forceProxy
customProperties
id
shareKeys
parent
shortReport
shortReportSections
isLoading
isWaitingForDisclaimer
hideSource

supportsColorScaleRange, colorScaleMinimum and colorScaleMaximum are included in https://github.com/TerriaJS/terriajs/pull/4724

Questions
initialTimeSource
V7
/**
   * Options for the value of the animation timeline at start. Valid options in config file are:
   *     initialTimeSource: "present"                            // closest to today's date
   *     initialTimeSource: "start"                              // start of time range of animation
   *     initialTimeSource: "end"                                // end of time range of animation
   *     initialTimeSource: An ISO8601 date e.g. "2015-08-08"    // specified date or nearest if date is outside range
   * @type {String}
   */

V8
"The initial time to use if `Current Time` is not specified. Valid values are:\n\n" +
      "  * `start` - the dataset's start time\n" +
      "  * `stop` - the dataset's stop time\n" +
      "  * `now` - the current system time. If the system time is after `Stop Time`, `Stop Time` is used. If the system time is before `Start Time`, `Start Time` is used.\n\n" +
      "  * `none` - do not automatically set an initial time\n" +
      "This value is ignored if `Current Time` is specified",

What I have done
Map the following:

present -> now
start -> start
stop -> end

Opacity needs to be transformed from string to float


more context for pyro modules

Why did you decide in favour of pyro_guide(*args, **kwargs) over pl_module.differentiable_loss_fn(pyro_model, pyro_guide, *args, **kwargs)? @adamgayoso

Running the guide runs the model. I figured it's no worse and potentially cheaper computationally (no elbo computation)

Is this true for the Messenger guides? I guess yes because the test doesn't fail.


Broken Binary Search 0.9.4

use proptest;
use proptest::strategy::ValueTree;
fn main() {
    let mut s = proptest::num::usize::BinarySearch::new(1);
    s.complicate();
}

$ cargo rustc -- --version run
   Compiling repr v0.1.0 (/home/name/proj/repr)
rustc 1.35.0 (3c235d560 2019-05-20)
    Finished dev [unoptimized + debuginfo] target(s) in 0.22s

 cargo run -v
       Fresh spin v0.5.0
       Fresh autocfg v0.1.4
       Fresh ppv-lite86 v0.2.5
       Fresh rand_core v0.4.0
       Fresh cfg-if v0.1.9
       Fresh remove_dir_all v0.5.2
       Fresh bit-vec v0.5.1
       Fresh quick-error v1.2.2
       Fresh ucd-util v0.1.3
       Fresh fnv v1.0.6
       Fresh libc v0.2.60
       Fresh lazy_static v1.3.0
       Fresh rand_core v0.3.1
       Fresh rand_jitter v0.1.4
       Fresh regex-syntax v0.6.8
       Fresh bit-set v0.5.1
       Fresh getrandom v0.1.6
       Fresh c2-chacha v0.2.2
       Fresh rand_os v0.1.3
       Fresh wait-timeout v0.2.0
       Fresh rand_core v0.5.0
       Fresh rand_hc v0.1.0
       Fresh rand_xorshift v0.1.1
       Fresh rand_isaac v0.1.1
       Fresh byteorder v1.3.2
       Fresh bitflags v1.1.0
       Fresh rand_chacha v0.2.0
       Fresh rand v0.7.0
       Fresh rand_pcg v0.1.2
       Fresh rand_chacha v0.1.1
       Fresh num-traits v0.2.8
       Fresh tempfile v3.1.0
       Fresh rusty-fork v0.2.2
       Fresh rand v0.6.5
       Fresh proptest v0.9.4
       Fresh repr v0.1.0 (/home/name/proj/repr)
    Finished dev [unoptimized + debuginfo] target(s) in 0.30s
     Running `target/debug/repr`
thread 'main' panicked at 'attempt to subtract with overflow', /home/name/.cargo/registry/src/github.com-1ecc6299db9ec823/proptest-0.9.4/src/num.rs:288:36
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

    /// Attempts to partially undo the last simplification. Notionally, this
    /// ...
    /// This call does not need to gracefully handle being called before
    /// `simplify()` was ever called, but does need to correctly handle being

Calling complicate() on a value tree that has never been simplify()ed is not valid.


[libjpeg-turbo] Build error on x64-windows

Package<EMAIL_ADDRESS>Host Environment

Host: x64-windows
Compiler: MSVC 19.33.31629.0
vcpkg-tool version: 2024-04-23-d6945642ee5c3076addd1a42c331bbf4cfc97457
vcpkg-scripts version: eb0f108eb 2024-06-11 (16 hours ago)

To Reproduce
vcpkg install opencv
Failure logs
-- Using cached libjpeg-turbo-libjpeg-turbo-3.0.2.tar.gz.
-- Cleaning sources at D:/vcpkg/buildtrees/libjpeg-turbo/src/3.0.2-c04fb0ca25.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/vcpkg/downloads/libjpeg-turbo-libjpeg-turbo-3.0.2.tar.gz
-- Applying patch add-options-for-exes-docs-headers.patch
-- Applying patch workaround_cmake_system_processor.patch
-- Using source at D:/vcpkg/buildtrees/libjpeg-turbo/src/3.0.2-c04fb0ca25.clean
-- Downloading https://www.nasm.us/pub/nasm/releasebuilds/2.16.01/win64/nasm-2.16.01-win64.zip;https://gstreamer.freedesktop.org/src/mirror/nasm-2.16.01-win64.zip;https://vcpkg.github.io/assets/nasm/nasm-2.16.01-win64.zip -> nasm-2.16.01-win64.zip...
CMake Error at scripts/cmake/vcpkg_extract_archive.cmake:19 (message):
  D:/vcpkg/downloads/tools/nasm was an extraction target, but it already
  exists.
Call Stack (most recent call first):
  scripts/cmake/vcpkg_find_acquire_program.cmake:203 (vcpkg_extract_archive)
  ports/libjpeg-turbo/portfile.cmake:23 (vcpkg_find_acquire_program)
  scripts/ports.cmake:175 (include)

Sorry, I can't reproduce this issue locally.


Client.DownloadFile() fails with FtpVerify.Retry with a path with spaces

FTP Server OS: Unix / Windows / Embedded
Windows
FTP Server Type: Vsftpd / glFTPd / BFTPd / ProFTPD / Pure-FTPd / IBM CS FTP (z/OS, OS/400) / Windows CE / Windows Server IIS / Vax / VMS / OpenVMS / Tandem / HP NonStop
Windows Server IIS
Client Computer OS: Windows / Ubuntu / Debian / Linux Mint / Arch Linux
Windows
FluentFTP Version: ?
50.0.1
Framework: .NET 2 / 3.5 / 4 / 5 / 6 / 7 / 8 / UWP / Xamarin / Mono
.NET 6.0
<write details about your bug report / feature request here>
When using client.DownloadFile() with FtpVerify.Retry and a path that has spaces. It successfully downloads the file. But afterwards throws an error "Code: 550 Message: /PropertyRecordCards/PRC_11/1101_PRC: No such file."
The ftp folder path is "/PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip"
Logs :

# AutoConnect()

# AutoDetect(CloneConnection = False, FirstOnly = True, IncludeImplicit = True, AbortOnTimeout = True, RequireEncryption = False, ProtocolPriority = [Tls11, Tls12])
Status:   Auto-Detect trying encryption mode "Auto" with "Tls11, Tls12"

# Connect(False)
Status:   FluentFTP <IP_ADDRESS>(.NET 6.0) FtpClient
Status:   Connecting to IP #1= ***:21
Status:   Waiting for a response
Response: 220 Serv-U FTP Server v15.4.1 ready... [739042.692d]
Status:   Detected FTP server: ServU
Command:  AUTH TLS
Status:   Waiting for response to: AUTH TLS
Response: 234 AUTH command OK. Initializing SSL connection. [7ms]
Status:   FTPS authentication successful, lib = .NET SslStream, cipher suite = Tls12 (Aes256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, 44550, 256) [172ms]
Command:  USER ***
Status:   Waiting for response to: USER ***
Response: 331 User name okay, need password. [6ms]
Command:  PASS ***
Status:   Waiting for response to: PASS ***
Response: 230 User logged in, proceed. [82ms]
Command:  PBSZ 0
Status:   Waiting for response to: PBSZ 0
Response: 200 PBSZ command OK. Protection buffer size set to 0. [61ms]
Command:  PROT P
Status:   Waiting for response to: PROT P
Response: 200 PROT command OK. Using private data connection. [28ms]
Command:  FEAT
Status:   Waiting for response to: FEAT
Response: 211-Extensions supported
Response: UTF8
Response: OPTS MODE;MLST;UTF8
Response: CLNT
Response: CSID Name; Version;
Response: HOST domain
Response: SITE PSWD;SET;ZONE;CHMOD;MSG;EXEC;HELP
Response: AUTH TLS;SSL;TLS-C;TLS-P;
Response: PBSZ
Response: PROT
Response: CCC
Response: SSCN
Response: RMDA directoryname
Response: DSIZ
Response: AVBL
Response: EPRT
Response: EPSV
Response: MODE Z
Response: THMB BMP|JPEG|GIF|TIFF|PNG max_width max_height pathname
Response: REST STREAM
Response: SIZE
Response: MDTM
Response: MDTM YYYYMMDDHHMMSS[+-TZ];filename
Response: MFMT
Response: MFCT
Response: MFF Create;Modify;
Response: XCRC filename;start;end
Response: XMD5 filename;start;end
Response: XSHA1 filename;start;end
Response: XSHA256 filename;start;end
Response: XSHA512 filename;start;end
Response: COMB target;source_list
Response: MLST Type*;Size*;Create;Modify*;Perm;Win32.ea;Win32.dt;Win32.dl
Response: 211 End (for details use "HELP commmand" where command is the command of interest) [96ms]
Status:   Text encoding: System.Text.UTF8Encoding+UTF8EncodingSealed
Command:  OPTS UTF8 ON
Status:   Waiting for response to: OPTS UTF8 ON
Response: 200 OPTS UTF8 is set to ON. [35ms]
Command:  SYST
Status:   Waiting for response to: SYST
Response: 215 UNIX Type: L8 [24ms]
Status:   Active ServerHandler is: ServU
Status:   Listing parser set to: Machine
Command:  PWD
Status:   Waiting for response to: PWD
Response: 257 "/" is current directory. [15ms]

# GetListing("/PropertyRecordCards/PRC_11", Auto)
Command:  TYPE I
Status:   Waiting for response to: TYPE I
Response: 200 Type set to I. [6ms]

# OpenDataStream("MLSD /PropertyRecordCards/PRC_11", 0)

# OpenPassiveDataStream(PASV, "MLSD /PropertyRecordCards/PRC_11", 0)
Command:  PASV
Status:   Waiting for response to: PASV
Response: 227 Entering Passive Mode (172,20,200,14,199,86) [1ms]
Status:   PASV advertised a non-routable IPAD. Using original connect dnsname/IPAD
Status:   Connecting to IP #1= ***:51030
Command:  MLSD /PropertyRecordCards/PRC_11
Status:   Waiting for response to: MLSD /PropertyRecordCards/PRC_11
Response: 150 Opening BINARY mode data connection for MLSD. [4ms]
Warning:  SSL Buffering disabled because of .NET 5.0 and later
Status:   FTPS authentication successful, lib = .NET SslStream, cipher suite = Tls12 (Aes256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, 44550, 256) [4ms]
+---------------------------------------+
Listing:  Type=cdir;Modify=20240414201045.570; .
Listing:  Type=file;Size=110889185;Modify=20240410222627.000; 1101_PRC for East Windsor Twp (Singles).zip
Listing:  Type=file;Size=163315229;Modify=20240414195038.000; 1102_PIP.zip
Listing:  Type=file;Size=436790693;Modify=20240414195152.000; 1103_PIP.zip
Listing:  Type=file;Size=22011787;Modify=20240414195211.000; 1104_PIP.zip
Listing:  Type=file;Size=10791451;Modify=20240414195224.000; 1105_PIP.zip
Listing:  Type=file;Size=123061031;Modify=20240414195305.000; 1106_PIP.zip
Listing:  Type=file;Size=152349151;Modify=20240414195337.000; 1107_PIP.zip
Listing:  Type=file;Size=14997131;Modify=20240414195352.000; 1108_PIP.zip
Listing:  Type=file;Size=294150105;Modify=20240414195538.000; 1111_PIP.zip
Listing:  Type=file;Size=81250640;Modify=20240414195605.000; 1112_PIP.zip
Listing:  Type=file;Size=136170343;Modify=20240414195632.000; 1113_PIP.zip
Listing:  Type=file;Size=135106545;Modify=20240414195719.000; 1114_PIP.zip
-----------------------------------------
Status:   Disposing(sync) FtpSocketStream(data connection of FtpClient)

# CloseDataStream()
Status:   Waiting for response to: MLSD /PropertyRecordCards/PRC_11
Response: 226 Transfer complete. 859 bytes transferred. 0.84 KB/sec. [50ms]

# DownloadFile("C:\Users\dvela\source\repos\MLRPortal\MLRPortal.CLI.PropertyCards\bin\Debug\net6.0\AppData\temp\1101_PRC for East Windsor Twp (Singles).zip", "/PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip", Overwrite, Retry)

# OpenRead("/PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip", Binary, 0, 0, False)

# GetFileSize("/PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip")
Command:  SIZE /PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip
Status:   Waiting for response to: SIZE /PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip
Response:<PHONE_NUMBER>85 [2ms]

# OpenDataStream("RETR /PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip", 0)

# OpenPassiveDataStream(PASV, "RETR /PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip", 0)
Command:  PASV
Status:   Waiting for response to: PASV
Response: 227 Entering Passive Mode (172,20,200,14,199,87) [67ms]
Status:   PASV advertised a non-routable IPAD. Using original connect dnsname/IPAD
Status:   Connecting to IP #1= ***:51031
Command:  RETR /PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip
Status:   Waiting for response to: RETR /PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip
Response: 150 Opening BINARY mode data connection for 1101_PRC for East Windsor Twp (Singles).zip (110889185 Bytes). [56ms]
Warning:  SSL Buffering disabled because of .NET 5.0 and later
Status:   FTPS authentication successful, lib = .NET SslStream, cipher suite = Tls12 (Aes256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, 44550, 256) [9ms]

It successfully downloads the file. But afterwards throws an error

I don't see that in the log. Your log seems to end quite a bit before that. I don't see the "550...." either.

# AutoConnect()

# AutoDetect(CloneConnection = False, FirstOnly = True, IncludeImplicit = True, AbortOnTimeout = True, RequireEncryption = False, ProtocolPriority = [Tls11, Tls12])
Status:   Auto-Detect trying encryption mode "Auto" with "Tls11, Tls12"

# Connect(False)
Status:   FluentFTP <IP_ADDRESS>(.NET 6.0) FtpClient
Status:   Connecting to IP #1= ***:21
Status:   Waiting for a response
Response: 220 Serv-U FTP Server v15.4.1 ready... [739042.834d]
Status:   Detected FTP server: ServU
Command:  AUTH TLS
Status:   Waiting for response to: AUTH TLS
Response: 234 AUTH command OK. Initializing SSL connection. [2ms]
Status:   FTPS authentication successful, lib = .NET SslStream, cipher suite = Tls12 (Aes256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, 44550, 256) [173ms]
Command:  USER ***
Status:   Waiting for response to: USER ***
Response: 331 User name okay, need password. [7ms]
Command:  PASS ***
Status:   Waiting for response to: PASS ***
Response: 230 User logged in, proceed. [80ms]
Command:  PBSZ 0
Status:   Waiting for response to: PBSZ 0
Response: 200 PBSZ command OK. Protection buffer size set to 0. [<1ms]
Command:  PROT P
Status:   Waiting for response to: PROT P
Response: 200 PROT command OK. Using private data connection. [<1ms]
Command:  FEAT
Status:   Waiting for response to: FEAT
Response: 211-Extensions supported
Response: UTF8
Response: OPTS MODE;MLST;UTF8
Response: CLNT
Response: CSID Name; Version;
Response: HOST domain
Response: SITE PSWD;SET;ZONE;CHMOD;MSG;EXEC;HELP
Response: AUTH TLS;SSL;TLS-C;TLS-P;
Response: PBSZ
Response: PROT
Response: CCC
Response: SSCN
Response: RMDA directoryname
Response: DSIZ
Response: AVBL
Response: EPRT
Response: EPSV
Response: MODE Z
Response: THMB BMP|JPEG|GIF|TIFF|PNG max_width max_height pathname
Response: REST STREAM
Response: SIZE
Response: MDTM
Response: MDTM YYYYMMDDHHMMSS[+-TZ];filename
Response: MFMT
Response: MFCT
Response: MFF Create;Modify;
Response: XCRC filename;start;end
Response: XMD5 filename;start;end
Response: XSHA1 filename;start;end
Response: XSHA256 filename;start;end
Response: XSHA512 filename;start;end
Response: COMB target;source_list
Response: MLST Type*;Size*;Create;Modify*;Perm;Win32.ea;Win32.dt;Win32.dl
Response: 211 End (for details use "HELP commmand" where command is the command of interest) [5ms]
Status:   Text encoding: System.Text.UTF8Encoding+UTF8EncodingSealed
Command:  OPTS UTF8 ON
Status:   Waiting for response to: OPTS UTF8 ON
Response: 200 OPTS UTF8 is set to ON. [<1ms]
Command:  SYST
Status:   Waiting for response to: SYST
Response: 215 UNIX Type: L8 [1ms]
Status:   Active ServerHandler is: ServU
Status:   Listing parser set to: Machine
Command:  PWD
Status:   Waiting for response to: PWD
Response: 257 "/" is current directory. [2ms]

# GetListing("/PropertyRecordCards/PRC_11", Auto)
Command:  TYPE I
Status:   Waiting for response to: TYPE I
Response: 200 Type set to I. [<1ms]

# OpenDataStream("MLSD /PropertyRecordCards/PRC_11", 0)

# OpenPassiveDataStream(PASV, "MLSD /PropertyRecordCards/PRC_11", 0)
Command:  PASV
Status:   Waiting for response to: PASV
Response: 227 Entering Passive Mode (172,20,200,14,199,58) [<1ms]
Status:   PASV advertised a non-routable IPAD. Using original connect dnsname/IPAD
Status:   Connecting to IP #1= ***:51002
Command:  MLSD /PropertyRecordCards/PRC_11
Status:   Waiting for response to: MLSD /PropertyRecordCards/PRC_11
Response: 150 Opening BINARY mode data connection for MLSD. [4ms]
Warning:  SSL Buffering disabled because of .NET 5.0 and later
Status:   FTPS authentication successful, lib = .NET SslStream, cipher suite = Tls12 (Aes256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, 44550, 256) [7ms]
+---------------------------------------+
Listing:  Type=cdir;Modify=20240414201045.570; .
Listing:  Type=file;Size=110889185;Modify=20240410222627.000; 1101_PRC for East Windsor Twp (Singles).zip
Listing:  Type=file;Size=163315229;Modify=20240414195038.000; 1102_PIP.zip
Listing:  Type=file;Size=436790693;Modify=20240414195152.000; 1103_PIP.zip
Listing:  Type=file;Size=22011787;Modify=20240414195211.000; 1104_PIP.zip
Listing:  Type=file;Size=10791451;Modify=20240414195224.000; 1105_PIP.zip
Listing:  Type=file;Size=123061031;Modify=20240414195305.000; 1106_PIP.zip
Listing:  Type=file;Size=152349151;Modify=20240414195337.000; 1107_PIP.zip
Listing:  Type=file;Size=14997131;Modify=20240414195352.000; 1108_PIP.zip
Listing:  Type=file;Size=294150105;Modify=20240414195538.000; 1111_PIP.zip
Listing:  Type=file;Size=81250640;Modify=20240414195605.000; 1112_PIP.zip
Listing:  Type=file;Size=136170343;Modify=20240414195632.000; 1113_PIP.zip
Listing:  Type=file;Size=135106545;Modify=20240414195719.000; 1114_PIP.zip
-----------------------------------------
Status:   Disposing(sync) FtpSocketStream(data connection of FtpClient)

# CloseDataStream()
Status:   Waiting for response to: MLSD /PropertyRecordCards/PRC_11
Response: 226 Transfer complete. 859 bytes transferred. 0.84 KB/sec. [56ms]

# DownloadFile("C:\Users\dvela\source\repos\MLRPortal\MLRPortal.CLI.PropertyCards\bin\Debug\net6.0\AppData\temp\1101_PRC for East Windsor Twp (Singles).zip", "/PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip", Overwrite, Retry)

# OpenRead("/PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip", Binary, 0, 0, False)

# GetFileSize("/PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip")
Command:  SIZE /PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip
Status:   Waiting for response to: SIZE /PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip
Response:<PHONE_NUMBER>85 [2ms]

# OpenDataStream("RETR /PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip", 0)

# OpenPassiveDataStream(PASV, "RETR /PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip", 0)
Command:  PASV
Status:   Waiting for response to: PASV
Response: 227 Entering Passive Mode (172,20,200,14,199,59) [<1ms]
Status:   PASV advertised a non-routable IPAD. Using original connect dnsname/IPAD
Status:   Connecting to IP #1= ***:51003
Command:  RETR /PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip
Status:   Waiting for response to: RETR /PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip
Response: 150 Opening BINARY mode data connection for 1101_PRC for East Windsor Twp (Singles).zip (110889185 Bytes). [19ms]
Warning:  SSL Buffering disabled because of .NET 5.0 and later
Status:   FTPS authentication successful, lib = .NET SslStream, cipher suite = Tls12 (Aes256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, 44550, 256) [4ms]
Status:   Downloaded 110889185 bytes
Status:   Disposing(sync) FtpSocketStream(data connection of FtpClient)
Status:   Waiting for response to: RETR /PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip
Response: 226 Transfer complete. 110,889,185 bytes transferred. 13,227.09 KB/sec. [8.201s]

# GetChecksum("/PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip")
Command:  XMD5 /PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip
Status:   Waiting for response to: XMD5 /PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip
Response: 550 /PropertyRecordCards/PRC_11/1101_PRC: No such file. [1ms]

# Disconnect()
Command:  QUIT
Status:   Waiting for response to: QUIT
Response: 221 Goodbye, closing session. [<1ms]
Status:   Disposing(sync) FtpSocketStream(control connection of FtpClient)

Looks like on this server, looks like SERV-U, the XMD5 command does not support blanks in the file name.
As you can see from the log.
RETR /PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip
XMD5 /PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip

One works. The other does not.
Buy another, sensible server.
The FEAT command supplies:
XMD5 filename;start;end

Perhaps SERV-U wants a specific syntax, look the the ";start;end". Not RFC compliant. Perhaps you might want to code a specific server handler.

Looks like on this server, looks like SERV-U, the XMD5 command does not support blanks in the file name.
As you can see from the log.
RETR /PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip
XMD5 /PropertyRecordCards/PRC_11/1101_PRC for East Windsor Twp (Singles).zip

One works. The other does not.
Buy another, sensible server.
The FEAT command supplies:
XMD5 filename;start;end

Perhaps SERV-U wants a specific syntax, look the the ";start;end". Not RFC compliant. Perhaps you might want to code a specific server handler.

I have no control over this. I guess I just have to go with no retries. Thanks!

f.y.i. WinSCP doesn't seem to have a problem downloading the same file.

f.y.i. WinSCP doesn't seem to have a problem downloading the same file.

Duh. That's a no brainer if it doesn't verify the download by using XMD5.
You could set to retry and change the method:
	/// <summary>
	/// Defines which verification types should be performed when
	/// uploading/downloading files using the high-level APIs.
	/// Multiple verification types can be combined.
	/// </summary>
	[Flags]
	public enum FtpVerifyMethod {
		/// <summary>
		/// Compares the file size.
		/// Both file sizes should exactly match for the file to be considered equal.
		/// </summary>
		Size = 1,

		/// <summary>
		/// Compares the date modified of the file.
		/// Both dates should exactly match for the file to be considered equal.
		/// </summary>
		Date = 2,

		/// <summary>
		/// Compares the checksum or hash of the file using the first supported hash algorithm.
		/// Both checksums should exactly match for the file to be considered equal.
		/// </summary>
		Checksum = 4,
	}

Just set it to Size and Date, and not to use Checksum, and Bingo, it will work. No need to turn of "Retry".


adapt to JuliaLang/julia#42125

Codecov Report

Merging #49 (9709486) into main (2059a35) will not change coverage.
The diff coverage is 84.09%.

@@           Coverage Diff           @@
##             main      #49   +/-   ##
=======================================
  Coverage   55.80%   55.80%
=======================================
  Files          21       21
  Lines        2100     2100
=======================================
  Hits         1172     1172
  Misses        928      928

Impacted Files
Coverage Δ

src/stage1/forward.jl
88.05% <33.33%> (ø)

src/runtime.jl
54.54% <85.71%> (ø)

src/stage1/generated.jl
76.07% <93.54%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2059a35...9709486. Read the comment docs.


Undefined method ticket for #<Array...> while trying to open a RHEV console

The provider_object called here is an array instead of the given object.

cc @blomquisg

somewhere provider_object is returning an Array.
@skateman Do you have the stacktrace?

@Fryguy nope, it's happening inside the worker, but there is only one place where .ticket is called in the whole codebase: https://github.com/ManageIQ/manageiq/blob/master/app/models/manageiq/providers/redhat/infra_manager/vm/remote_console.rb#L26

It looks like the problem tracks back to here:
https://github.com/ManageIQ/ovirt/commit/7ddcf4e07fe30383ce7f2ea6ef3adc4b0bbe0a86#diff-9be2dde14cfe2ea852f52a1c2bc13398R106

Fixed in https://github.com/ManageIQ/manageiq/pull/8483