'Did not received reply for msg id  within 5 seconds'

Hello
For quite some time now I have had a problem with my execution times.
I run on my notebook a running time csruntime --host <IP_ADDRESS> --name calvin-notebook and another one on my Raspberry (both connected to the same Wi-Fi network) csruntime --host <IP_ADDRESS> --name calvin- raspberry. Clarification: I do not execute other times of execution, only them. But no matter what I always do on both consoles (notebook and raspberry) messages are printed repeatedly and unfinished: 'Did not receive reply for msg id within 5 seconds'.
Discussing with @olaan , he told me to do the following
"Use the proxy registry by starting the execution times in this way:
In your notebook:
CALVIN_STORAGE_TYPE="local" csruntime --host <IP_ADDRESS> --name calvin-2
In the raspberry:
CALVIN_STORAGE_TYPE="proxy" CALVIN_STORAGE_PROXY="calvinip://<IP_ADDRESS>:5000" csruntime --host <IP_ADDRESS> --name calvin-1
https://github.com/EricssonResearch/calvin-base/issues/102
In this case I can see both execution times in the GUI of each one and I can migrate actors between both. However, the message 'Did not receive reply for msg id within 5 seconds' does not stop printing on both consoles.
error-notebook.txt
error-raspberry.txt
It should be noted that the ip changed to <IP_ADDRESS> (notebook) and <IP_ADDRESS> (Raspberry)
Can someone please help me with this? Thank you!

This works well now. The bad thing is that he does not let me migrate actors between calvin-1 and calvin-2. Apparently does not recognize as if both times ran on the same network.
What I did was in addition to these execution times, lift (without configuring proxi) 1 more in my notebook with the ip she and another in the Raspberry. The result of them was the same, 'Did not receive reply for msg id within 5 seconds'. No matter if calvin-1 and calvin-2 were running.

I'm not quite sure what the problem is here. Could you give some more details?
What does the application look like, which actor is it you are migrating, and how are you doing the migration? Also, make sure the runtimes have found each other (if you are using the GUI then there should be two items in the drop-down list to the far right (just above the capability list.)
Cheers.

Sorry maybe I was not very explicit.
I raise a running time on my Raspberry:
CALVIN_GLOBAL_STORAGE_TYPE="local" csruntime --host <IP_ADDRESS> --name calvin-1
In my notebook:
CALVIN_GLOBAL_STORAGE_TYPE="proxy"CALVIN_GLOBAL_STORAGE_PROXY="calvinip://<IP_ADDRESS>:5001" csruntime --host <IP_ADDRESS> --name calvin-2
My runtime calvin-1 in my raspberry does not see the calvin-2 runtime of my notebook

I do not know you cannot use the standard registry (it seems the runtimes cannot message each other) but hopefully the following should make it possible to allow migration using the proxy-registry.
First, the port used for calvinip is the one entered after --port when starting a runtime, and it defaults to 5000. You have entered 5001 here, and I think this is why the runtimes cannot find each other.
Second, in order to simplify your command lines, add the configuration to your ´calvin.conf`.
On your raspberry, add this to your configuration file:
    "global": {
        "storage_type": "local"
    }

and this to the configuration file on your notebook (the address should be the address of your raspberry - if it changes you need to update it.):
    "global": {
        "storage_type": "proxy",
        "storage_proxy": "calvinip://<IP_ADDRESS>:5000"
    }

This way you do not have to enter all this information on the command line every time, and hopefully the runtimes should now find each other.
If you do not have a configuration file, add { and  } before and after the above.
Cheers

In calvin/examples/ui_in_gui modify my calvin.conf exactly as your indications:
" global " : {
" storage_type " : " local "
}
For my Raspberry, And:
" global " : {
     " storage_type " : " proxy " ,
     " storage_proxy " : " calvinip: //ip-raspberry: 5000 "
}

Executed in cd /home/user/calvin-base-develop/calvin/examples/ui_in_gui :
In Raspberry: csruntime --host Ip-raspberry --port 5000 --controlport 5001 --name calvin-1
In Notebook: csruntime --host Ip-notebook --name calvin-2
Now the message 'Did not received reply for msg id within 5 seconds'  does not print. But both execution times still do not meet each other.

Please make sure you don't actually have the extra whitespace in your config file. What you show above:
" global " : {
     " storage_type " : " proxy " ,
     " storage_proxy " : " calvinip: //ip-raspberry: 5000 "
}

is not the same as:
"global" : {
     "storage_type" : "proxy",
     "storage_proxy" : "calvinip://ip-raspberry:5000"
}

Never add whitespace inside the quotation marks.
Hope that helps.

I removed the spaces and both execution times were found as seen in the images below. However, when I try, for example, to migrate a "print" actor from the Raspberry to the Notebook by selecting the actor print and changing the runtime at the bottom of the GUI, the amigration is not performed, since I do not see the print value of the actor print in the runtime console of my Notebook.

Sorry, I do not know if you explain me well. Maybe he did not understand the problem now. And sorry to insist. I just got stuck in this step and I can not advance in my application.

Sorry, I do not know if I express myself correctly. Maybe he did not understand the problem now. And sorry to insist. I just got stuck in this step and I can not advance in my application.

Sorry for the delay, been offline for a week.
Looking at the terminal window in the 3rd screenshot above, it looks like you started the notebook runtime from the ui_in_gui example directory. The config file in that directory will redirect io.Print to the mock gui output, instead of the terminal you are looking at in the screenshot.
Try restarting your setup as before, but this time start the notebook runtime from the top (calvin-base) directory and examine the printout from the notebook runtime. Somewhere in the list you should find
Capability 'io.stdout' registered with module 'term.StandardOut'

instead of
Capability 'io.stdout' registered with module 'ui.StandardOut'

that you are (probably) seeing right now (can't tell from the screenshot)
If it says 'term.StandardOut' the you should get the output from the migrated actor in the (real) console.
Good luck!

Great, that was effectively.
One more question, there is a way for an actor to migrate on his own. Either by the evaluation of an expression. Without having to migrate it myself from the bottom of the GUI?

Glad to hear you got further!
There are a number of ways to make actors migrate, the preferred way is to use "deployment rules", see
https://github.com/EricssonResearch/calvin-base/wiki/Application-Deployment-Requirement#application-deployment-requirements-in-calvinscripts
It does however require that you create a calvinscript file for your application rather than using the GUI. To get you started, use the "Project-->Show" menu to display the calvinscript you have in the GUI, and copy-paste that into a file. It should look something like:
classicdelay1: std.ClassicDelay(delay=1)
constant2: std.Constant(data="Hola mundo!")
print3: io.Print()

constant2.token > classicdelay1.token
classicdelay1.token > print3.token

An example of using rules:
Let's say that you want the print actor to automatically migrate to your notebook (named calvin-2) when the application starts. If you add the following line to your script:
apply print3 : runtime_name(name="calvin-2")
The whole script should look something like:
classicdelay1: std.ClassicDelay(delay=1)
constant2: std.Constant(data="Hola mundo!")
print3: io.Print()

constant2.token > classicdelay1.token
classicdelay1.token > print3.token

apply print3 : runtime_name(name="calvin-2")

Save the script in file, for example my-app.calvin
Now, once you have started your runtimes (calvin-1 and calvin-2), start you script using the following command:
cscontrol http://Ip-raspberry:5001 deploy my-app.calvin
where you must replace Ip-raspberry with the actual ip-number of your raspberryPi.
Good luck!
/Per

Hello!
where should I run "cscontrol http://Ip-raspberry:5001 deploy my-app.calvin", on the notebook or raspberry? And with configuration file?

Just keep the system (config files) as is (you had a working system, right?).
You can run the above command on either one, it doesn't matter. The address after 'cscontrol' determines which of your runtimes will handle the deployment, but the end result should be the same.
Good luck!

@olaan @persquare
I work perfectly! Thank you very much for your help, they always answered my questions and that allowed me to keep moving forward. I was able to finish my final career project. I am very satisfied with Calvin and grateful for his help. THANK YOU!

Thank you and good luck with your future projects.
Cheers


Helper method for parsing the date fields in HTTP response header

Hi. The last-modified field in the object response.header looks like this
 'last-modified': 'Tue, 27 Dec 2011 07:37:03 GMT',

It's a string representing a date and time according to a format defined in RFC 2822. Alas, JavaScript's date object and methods are too weak to parse it. It would be extremely helpful to offer a capable helper method to parse this string to Javascript Date object.

I was wrong. The javascript Date('Tue, 27 Dec 2011 02:12:35 GMT') works. To get a Unix timestamp, which is what I wanted, do Date.parse('Tue, 27 Dec 2011 02:12:35 GMT')/1000


Remove graphiql from cloak dev command.

As agreed on #3188, we're discontinuing graphiql from cloak dev. T
Fixes #3199
Signed-off-by: Marcos Lilljedahl<EMAIL_ADDRESS>

fixes #3188

rebased

@marcosnils @mircubed @shykes thinking we should remove the playground/ directory as well, right?

@marcosnils @mircubed @shykes thinking we should remove the playground/ directory as well, right?

true. I'll rebase once more.


feat: add basic property inspector to create command

This pull request adds a basic property inspector to the create command, allowing the user to determine the increment value on each press, leveraging https://sdpi-components.dev.
It also updates vscode settings to:

Remove subjective settings.
Add automatic schema detection for manifest and layout files.

Super cool!


Braid class is a bit strange

This would be more idiomatic and more generally applicable.
class (Integral b, Monoid ab) => Braid b ab | ab -> b where

    {-# MINIMAL toGens,minIndex,maxIndex,invert #-}

    -- | "Length", number of "steps"/columns/artin generators.
    stepCount :: ab -> Int
    -- | "N", braid group index, number of strands/rows/"i"s.
    strandCount :: ab -> b
    -- | Common format is a series of "steps" of absolute-indexed generators.
    toGens :: ab -> [[Gen b]]
    -- | Minimum index (i) value
    minIndex :: ab -> b
    -- | Maximum index (i) value. Note this means values of (i+1) obtain, per generators.
    maxIndex :: ab -> b
    -- | Invert indices
    invert :: ab -> ab
    -- | convert to single-gen
    toArtin :: ab -> Artin b
    -- | convert to multi-gen
    toMultiGen :: ab -> MultiGen b

    strandCount a = (maxIndex a + 2) - minIndex a

    stepCount = length . toGens -- inefficient

    toArtin = Artin . concat . toGens

    toMultiGen = MultiGen . map gensToStep . toGens

at some level, it looks like this is kinda about "polynomials with integer coefficients", right?
from that perspective, maybe
class (Integral b, Monoid (f b), Functor f) => Braid f b where

could be another approach? Zooming out, what algebraic laws should a good instance have?

Functors should usually be strengthened to Applicative or Alternative, not
Monoid.
On Apr 3, 2016 10:13 PM, "Carter Tazio Schonwald"<EMAIL_ADDRESS>wrote:

at some level, it looks like this is kinda about "polynomials with integer
coefficients", right?
from that perspective, maybe
class (Integral b, Monoid (f b), Functor f) => Braid f b where
could be another approach? Zooming out, what algebraic laws should a good
instance have?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/slpopejoy/fadno-braids/issues/2#issuecomment-205103731

I suspect thats the wrong direction, because thats not recognizing that what braids are (abstractly)
is a space of polynomials generated by some set of Free symbols (X^i .... ) with coefficients in some integral ring
Ed's algebra lib, while not 1-1 with whats going on here, does have some related modelling ideas for this kinda pattern.
https://hackage.haskell.org/package/algebra-4.2/docs/Numeric-Algebra-Class.html#t:Algebra
and the illustrative instance being
Semiring r => Algebra r [a]

where there is no applicative structure for the list/containery thing, or at least theres certainly no strong argument for having a functional dependency between a and r

Got rid of the (* -> *) kind constraint. This cleaned up the instances (don't need the parens anymore).
Didn't do the fundeps, they break the instances over (Integral a)
Left the type argument order the same, to not break my downstream code.
Thanks David!


CUDA: Print format string and warn for > 32 print() args

CUDA vprintf prints garbage for arguments past the 32nd (a similar limitation on printf is outlined in the CUDA C++ Programming Guide at https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#limitations).
This commit matches the C/C++ behavior in Python by emitting the format string when more than 32 arguments are provided, instead of printing garbage results. A warning is also produced to explain the behavior that users will see.

gpuci run tests

BFID numba_smoketest_cuda_yaml_101

build farm passed


Add ability to toggle insecure login

Now insecure login with self-signed certificates is turned on by default and it can be turned off by building plugin from sources. It is inconvenient for users. We should add checkbox to make available turning it off

To be released as 1.1.0


Checkbox for Multiselect not working properly!

Firast of all,your library was good.But i have to faced one issue.i.e. ' If i  used checkbox in childitems,when i was select some items then automatically some items are checked(selected) ' ..please find the issue,plese help me,Thanks in Advance

Hi @HariharanEswaran,
Unfortunately, I can't detect the problem based on your message. Please give me more details on it (share code etc.).
Seems like when the items are reused the checked state is not updated. Are you sure you apply the selected state to each item in onBind?
Can you also check if this problem reproduces without using SectionedRecyclerView library?

Closing as obsolete.


BEV Map Visualization

Hi,
In #21 you give some pointers to the BEV map coordinate, I'm wondering how we can visualize the BEV map processing results made by the vision encoder (like Fig 5 in the paper). Can you give me some brief instructions on how to do that (or pointers)?
Thanks!

Hi!
You can refer to this script: https://github.com/opendilab/InterFuser/blob/main/interfuser/render.py
The usage of the rendering function: https://github.com/opendilab/InterFuser/blob/4145d6ca58c19ce2a29d319c47980cea05586b06/leaderboard/team_code/interfuser_agent.py#L500
The expected visualization should be like:


Effects as independent entities

Would be useful also to have effects simply as
import { css } from 'spect-dom'

css.call(element, '...style')

Ok, core effects are done via symbols mechanism is 6.2.0


raft: reuse slice for truncation

'append' to an empty entry slice will allocate a
new underlying array. Since 'ents' is internal to
MemoryStorage, we can just reuse the existing 'ents'
slice for truncation.

@xiang90 Didn't know that. Closing. Thanks!


Incomplete information on scroll restoration and how it relates to React Router

There are a few things that are not clear in your information about scroll restoration. It would be very helpful if these issues could be addressed in your documentation:
https://stackoverflow.com/questions/58772954/scroll-restoration-in-chrome-broken-for-react-spa
Party on!

Thanks, but a PR is the best form for documentation discussion.


Can't set a filter rule with the ApplicationProperties of a CorrelationRuleFilter() property

It seems the ApplicationProperties can only be 'get' and it is not possible to set user specific rule filter on CorrelationRuleFilter().

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: bde65e2b-a5f5-0c7c-6290-d2be5ae3322e
Version Independent ID: 040613ea-f19e-e174-baac-39c0608efa9f
Content: CorrelationRuleFilter Class (Azure.Messaging.ServiceBus.Administration) - Azure for .NET Developers
Content Source: xml/Azure.Messaging.ServiceBus.Administration/CorrelationRuleFilter.xml
Service: azure
GitHub Login: @CamSoper
Microsoft Alias: casoper

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Hi @olakusibe, even though the property is get-only, you can still add key/value pairs to it. Also if using initializer syntax you can do something like:
var filter = new CorrelationRuleFilter
{
    ApplicationProperties =
    {
        {"propertyName", "value"}
    }
};

Hi @JoshLove-msft , got it now, was doing it wrong, but it would be easy if the documentation included your examples.
Thanks

/cc @ramya-rao-a @lilyjma looks like this is another doc pointing to old library - https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-filter-examples

Thanks @olakusibe and @JoshLove-msft
This is in our list of docs to update for the month.
cc @spelluru, @axisc


1inch MM

Hey Guys,
U did amazing project, but haven't bought MM to pump the coin price? Lol. Come one, what a lame, nice and usable project, but no MM - its BS. If you ain't gonna do something with your coin price (pump, eh?) it will end up somewhere in the garbage...

Nice project


non responsive

website's navbar and other section is non - responsive according to device

i can fix that issue
assign this issue to me   (contributor in Gssoc ' 23)

do a new fetch, the homepage is responsive now.


Style only Card component

It'd be nice to have a Card component that doesn't depend on Context/state.
Right now if I just follow the instructions from the docs I get a warning asking me to add "use client" to my component/page (which is something I don't want).
It'd be nice to have the option to use only the style of the card. I tried this but it doesn't render any style:
import { card } from '@/styled/recipes'

export const Card = styled('div', card)```

Hi @kaumac, thanks for the issue 👍
The problem is that panda currently doesn’t support slot recipes + compound components without using context.
https://panda-css.com/docs/concepts/slot-recipes#styling-jsx-compound-components
I think I should consider using normal config recipes with CSS selectors instead of using slot recipes for these components to avoid the use client directive:

Alert
Card
Form
Table

In the meantime, please consider using the code below for the Card component which doesn’t depend on the context as a workaround(just moved the styles from the slot recipe to styled() 😁):
import { styled } from ‘@shadow-panda/styled-system/jsx’

export const Card = styled(‘div’, {
  base: {
    rounded: ‘lg’,
    border: ‘base’,
    bg: ‘card’,
    color: ‘card.foreground’,
    shadow: ‘sm’,
  },
})
export const CardHeader = styled(‘div’, {
  base: {
    display: ‘flex’,
    flexDirection: ‘column’,
    spaceY: ‘1.5’,
    p: ‘6’,
  },
})
export const CardTitle = styled(‘h3’, {
  base: {
    textStyle: ‘2xl’,
    fontWeight: ‘semibold’,
    leading: ‘none’,
    tracking: ‘tight’,
  },
})
export const CardDescription = styled(‘p’, {
  base: {
    textStyle: ‘sm’,
    color: ‘muted.foreground’,
  },
})
export const CardContent = styled(‘div’, {
  base: {
    p: ‘6’,
    pt: ‘0’,
  },
})
export const CardFooter = styled(‘div’, {
  base: {
    display: ‘flex’,
    alignItems: ‘center’,
    p: ‘6’,
    pt: ‘0’,
  },
})

Thanks for the quick response @nanopx !
I'm still getting the hang of Panda, could you tell me what's the benefit of using slot recipes + compound components vs. using just normal recipes?
I think using "use client" is fine on more complex components where you would have to use state or context anyways (line a drawer or tabs), but for purely "esthetic" components like a card or a button it'd be preferable not to have to use context/state. (unless there's a big tradeoff on using normal recipes of course)

Btw, I don't know if it's possible, but I think another component that would be a great candidate to be stateless/contextless would be the Navigation Menu.
I think Navigation Menu would be perfect for building landing pages where performance is more critical (for SEO purposes) so being able to render a 100% pure server component would be ideal in this case.
Again, not sure if this is technically possible with the Panda implementation 😄

@kaumac

what’s the benefit of using slot recipes + compound components vs. using just normal recipes?

IMO, slot recipes are great when we have a style variant prop(s) on a "root" component, and the children’s styles change by that variant on the root (through context). Also, another benefit for the slot recipe is that we only need 1 recipe to style all the components inside the compound component.
On the other hand, normal recipes are great when styling a single element. Using normal recipes in a compound component will have to use multiple recipes to style each components, and handle the variant from the root component through CSS selectors to apply the styles to the child component.

Card is a compound component but it doesn’t have any variant prop
Button has a variant prop, but is not a compound component

So these components shouldn’t have any downsides on using normal recipes, except that the import statement will be a little bit longer since we need a recipe for each element:
import { styled } from '@shadow-panda/styled-system/jsx'
import {
  card,
  cardHeader,
  cardTitle,
  cardDescription,
  cardContent,
  cardFooter,
} from '@shadow-panda/styled-system/recipes'

export const Card = styled('div', card)
export const CardHeader = styled('div', cardHeader)
export const CardTitle = styled('h3', cardTitle)
export const CardDescription = styled('p', cardDescription)
export const CardContent = styled('div', cardContent)
export const CardFooter = styled('div', cardFooter)

Btw, I don’t know if it’s possible, but I think another component that would be a great candidate to be stateless/contextless would be the Navigation Menu.

We can’t avoid the 'use client' directive from the Navigation Menu, since Radix’s navigation menu depends on the context.

Fixed in #191 😄


lefthook package is missing postinstall  script

Trying to use lefthook package according to this doc via:
yarn add -D lefthook

But pre-commit hooks doesn't work because there is no postinstall script:
https://github.com/evilmartians/lefthook/blob/abf62bc11d95b96c82ad95797b6eda56aaf6bc08/packaging/npm/lefthook/package.json#L1-L30
It exist only for @evilmartians/lefthook package:
https://github.com/evilmartians/lefthook/blob/abf62bc11d95b96c82ad95797b6eda56aaf6bc08/packaging/npm-bundled/package.json#L34
Is it expected?

Hi! It is not expected because lefthook package has optional dependencies which resolve for each OS and arch.

@fantua Did you run yarn run lefthook install after installation?

@fantua Did you run yarn run lefthook install after installation?

No, I didn't. I expected this to be done automatically (using postinstall hook). Same as it’s done in @evilmartians/lefthook


v2<IP_ADDRESS>08 checksum is outdated

Per a recent Disqus comment:

At this moment the package download generates a crc error and installation is impossible.

Need to look into what (if anything else) has changed and update the package accordingly.
This might also be a good opportunity to enhance the update script with support for forced updates and ETag checking, since this is not the first time Foxit has done this...

Similar to last time, it looks like this is primarily adding new localization resources for the hk and pt_pt locales. No major impact to the package is expected, although I was surprised to see this updated weeks later.
Going forward, the update script improvements should help me catch when this happens, which should help keep the downtime to a minimum.


Unexpected behavior when getting length of ExperimentDatapipe

I am using the experiment data pipe in conjunction with the experiment_dataloader and noticed that len() on an ExperimentDatapipe returns the total number of samples and does not take in account batch size. I feed the results of the len() to the random_split as the documentation says this is best practice. I believe the random_split expects the total iterations not total number of samples. I could divide this number by the batch size but I feel this may cause issues if there are left over samples.
To Reproduce
import tiledbsoma as soma
import cellxgene_census as cell_census
import cellxgene_census.experimental.ml as census_ml

census = cell_census.open_soma(census_version="2023-12-15")

obs_query_value_filter='is_primary_data == True and assay in ["microwell-seq", "10x 3\' v1", "10x 3\' v2", "10x 3\' v3", "10x 3\' transcription profiling", "10x 5\' transcription profiling", "10x 5\' v1", "10x 5\' v2"]'

obs_col_names = (
    "dataset_id",
    "assay",
    "donor_id",
)

def create_experiment_dp(batch_size):
   return census_ml.ExperimentDataPipe(
              experiment=census["census_data"]["homo_sapiens"],
              measurement_name="RNA",
              X_name="normalized",
              obs_query=soma.AxisQuery(value_filter=obs_query_value_filter),
              obs_column_names= obs_col_names,
              shuffle=True,
              batch_size=batch_size,
              seed=42,
              soma_chunk_size=None)

print(len(create_experiment_dp(64))) # 31293506
print(len(create_experiment_dp(128))) # 31293506

Is this expected behavior? If so how would you go about dropping the last batch if it doesn't align with batch_size. You cannot pass this to the Dataloader ask kwarg because batch_size=None is mutually exclusive with drop_last. Would it also cause problems passing this as total_samples to the random_split?

 Does that align with your expectation?

Yes that is what I was expecting when calling len() on the experiment_datapipe.

Sounds good, I'll push a fix for this. I'll let you know when it's released.

@jdenhof The latest release has the change you requested.


ANDI Validates Existence of Users

Andi should validate the existence of users in user-organization associations
ACs:

Andi rejects requests PUT to /organizations/:id/users/add for users who have never logged into the system with a 400 (bad request) and some kind of helpful message.  Something like: {:error, %{:unknown_users: ["o8a4wiuelryawoeriulwer", "3aweriluakhresdfaoilwkuehrls"]}}

Tech notes

Discovery API should send an event when a new user is created (after POSTing the /loggedIn endpoint)
Andi should listen for these events, store them in view state, and use them for later validation of user:organization:associate events
Consider also exposing an endpoint that returns all users in the view state?  Otherwise we will still need to go look at internal databases to find out which users we can use.

@JarredOlson Please verify this card is clear and ready for the larger team


Upgrade Postcss

Hello!
I'm using FuseBox 2.0.0-beta20 and I'm loving it so far.
However, I have some problems with postcss because versions in fuse-box's package.json do not match latest version available on github.
I'm getting this error:
Your current PostCSS version is 5.2.17, but postcss-nested uses 6.0.1. Perhaps this is the source of the error below.

Workaround is to downgrade postcss and related plugins, for now.
I guess postcss should be a peer dependency of fuse-box with a large version range to let the user install whichever version he wants?
AFAIK, latest release of postcss should not be breaking for fuse-box.

@geowarin welcome to the party :)
we don't include plugins deps so we won't bloat the source, you should be fine installing them on your own.
let us know :)

oh, after checking this one slipt the radar! we shall remove it

@devmondo we can't remove it. We are using it internally. We just need to upgrade it. Thanks @geowarin

This should


FormBuilderSearchableDropdown doesn't clear error text after select or set value

Environment
Package version:
flutter_form_builder: ^7.7.0
form_builder_extra_fields: ^8.3.0
form_builder_validators: ^8.4.0
Describe your question
hi , i got problem with FormBuilderSearchableDropdown it doesn't clear error text after i selected or set value, any idea about this problem, thank in advance.
Simple code
 FormBuilderSearchableDropdown<OptionModel>(
                      popupProps: PopupProps.dialog(
                          showSelectedItems: true,
                          showSearchBox: true,
                          isFilterOnline: true,
                          searchFieldProps: TextFieldProps(
                            decoration: fbSearchTextFieldStyle(
                                hintText: 'Search', theme: theme),
                          )),
                      compareFn: (OptionModel i, OptionModel s) =>
                          i.value == s.value,
                      showClearButton: true,
                      name: "customerId",
                      decoration: fbSelectOptionFieldStyle(
                          label: 'Customer', theme: theme),
                      autoValidateMode: AutovalidateMode.onUserInteraction,
                      validator: FormBuilderValidators.compose([
                        FormBuilderValidators.required(),
                      ]),
                      valueTransformer: (OptionModel? item) {
                        if (item != null) {
                          return item.value;
                        }
                      },
                      asyncItems: (String? filter) =>
                          _readProvider.getCustomers(
                              searchText:
                                  StringConverter.escapeSepcailCharacter(
                                      value: filter!)),
                      itemAsString: ((OptionModel? item) {
                        return "${item!.label}";
                      }),
                      onChanged: (OptionModel? item) async {
                        _readProvider.setCustomerType(
                            value: item?.secondValue ?? '');
                        if (item != null) {
                          String _employeeId = item.thirdValue;
                          if (_employeeId.isNotEmpty) {
                            // selected employee by customer
                            OptionModel _selectedEmployee = await _readProvider
                                .getEmployeeByCustomer(employeeId: _employeeId);
                            FormBuilder.of(context)!
                                .fields['employeeId']!
                                .didChange(_selectedEmployee);
                          }
                        }
                      },
                    ),

More Detail
https://user-images.githubusercontent.com/9318106/200212864-49e92d6a-3c0c-4c77-a9af-0295f2c75110.mp4

Hi @YouSour
I tried reproduce this bug with example but I couldn't.
Please, try reproduce this bug with example code and share in this issue. Thanks
Screencast from 22-01-23 00:59:18.webm

@deandreamatias hi, what i did it filter or search from backend DB not on client. for my option list  it is a List Model Class not List String.
here what my option class model look like :
import 'package:flutter/material.dart';
import 'package:json_annotation/json_annotation.dart';
import '../utils/icon_model_converter.dart';
part 'option_model.g.dart';

@JsonSerializable()
class OptionModel {
  @JsonKey(
      disallowNullValue: true,
      fromJson: IconModelConverter.fromJson,
      toJson: IconModelConverter.toJson)
  final IconData? icon;
  final String label;
  late dynamic value;

  OptionModel(
      {this.icon,
      required this.label,
      required this.value,
    });

  factory OptionModel.fromJson(Map<String, dynamic> json) =>
      _$OptionModelFromJson(json);
  Map<String, dynamic> toJson() => _$OptionModelToJson(this);
}

So, you can try to reproduce with this model and my example. Maybe complex model can't reset the error field, I don't known

@deandreamatias  i already did it an example i posted, i think maybe complex model too.

With my example I refer to this line and use a complex model instead String

@deandreamatias i found the problem now, i use autoValidateMode it doesn't work and then i use autovalidateMode it works.

Perfect! I will close this issue

@deandreamatias thank you for your time 👍


Vertical scroll bar jumps around position in list when left mouse click and drag.

Description
Vertical scroll bar jumps around position in list when left mouse click and drag.
I click and drag on the vertical scroll bar and, if dragged slowly, the viewed position in the directory will jump to a much lower position then (usually) back up again, multiple times. Very disorientating, as I am dragging slowly to precisely locate a particular file. I've tried is details, tiles and grid views and this behaviour is the same.
Steps To Reproduce

enter a directory with many files
left click and drag the vertical scroll bar down and up slowly.
observe the described behaviour!

Steps to fix
ensure vertical scrollbar works correctly when left click and drag (rather than scrollwheel action) is used.
Files Version
<IP_ADDRESS>
Windows Version
10.0.19045.2604
Log file
debug.log

Can you share a screen recording? You can upload directly to GitHub.

@neakmenter

Sorry for the delay - busy life! Today I set up for screen recording... and I can't get this to happen again! I guess we can close this? Very sorry to have wasted your time. If it happens again I'll try to get the exact circumstances...

Please let us know if it happenes again.


fix: readArray function -> TypeMismatch "array" should be `TypeMism…

…atch "Array"` because all other error messages start with capital letter

Attempt to coerce a foreign value to an array.

This is consistent to the documentation though, so perhaps it was done on purpose?


[Question] View in folder greyed out

Is it normal that for removed items in Maestral activity, "View in folder" and "View on dropbox" are greyed out?

Yes, that is expected. The local item cannot be displayed since it no longer exists. The remote item is currently not displayed either, though it is in principle possible to view deleted items on Dropbox.


het_white, public schema

Hello,
method het_white create temporary view in public schema, but we don't have access to this schema.
can you add parameter schema for this method to write temporary object?
Regards,
Alexandre

Hi Alexandr,
The vdf used as input can include the "writing schema".
vdf.set_schema_writing("my_schema")
het_white(vdf)

I think, we should add a general variable to solve this problem. We will add an extra parameter to the "set_option" function for v0.9.0.
Badr

Hello,
We could consider the following scenario:
• By default, the function looks at the vDataFrame passed as a parameter, and retrieves:
o The schema of the associated table OR the schema of the set_schema_writing parameter
o They can be potentially different: if the set_schema_writing is specified, it is priority
o Problem, this is not enough here, because on some functions you can directly pass a table and not a vDataFrame, you would then have to retrieve the schema linked to the table in question
• Then, if set_option is defined, then it takes the given schema
o This is then applied to all the functions, and replaces/overwrites the other possibilities
It's ok for you?
Alexandre


Unable to find gem on remote

This is a kind of weird and specific situation:
If, and only if, some version of a gem is installed into system gems
(e.g. rack 1.0), then trying to resolve a different version of that gem
from a specific remote source (e.g. rack <IP_ADDRESS>.forked) will fail, even
though that gem is in fact available from that soure. Uninstalling the
unrelated version of rack from system gems completely solves this
problem. Alternately, running bundle update rack instead of bundle install also completely solves this problem.
From this I speculate that we are unfairly withholding the rack
<IP_ADDRESS>.forked spec from the resolver, even though it was provided by
the source.
I have written a failing spec, available in the branch named aa-missing-specs.
Update: after looking in to the problem at a bit more length, it seems that we are in fact supplying the relevant specs to the resolver. Here's some debug output that might help point to the problem. Maybe.
Failing case debug output
```
Resolver#start `requirements` ["rack (= <IP_ADDRESS>.forked)", "thor (= <IP_ADDRESS>.forked)", "rack-obama", "ruby\u0000", "rubygems\u0000 (= 2.6.7)"]
Resolver#start index.search('rack') ["rack-0.9.1", "rack-1.0.0", "rack-<IP_ADDRESS>.forked"]
Resolver#start @base_dg Bundler::Molinillo::DependencyGraph:[Bundler::Molinillo::DependencyGraph::Vertex:rack(#<Bundler::DepProxy:0x007ff6a7913e80 @dep=<Bundler::Dependency type=:runtime name="rack" requirements="= <IP_ADDRESS>.forked" prerelease=ok>, @__platform="ruby">), Bundler::Molinillo::DependencyGraph::Vertex:rack-obama(#<Bundler::DepProxy:0x007ff6a7913778 @dep=<Bundler::Dependency type=:runtime name="rack-obama" requirements="= 1.0">, @__platform="ruby">), Bundler::Molinillo::DependencyGraph::Vertex:thor(#<Bundler::DepProxy:0x007ff6a7913228 @dep=<Bundler::Dependency type=:runtime name="thor" requirements="= <IP_ADDRESS>.forked" prerelease=ok>, @__platform="ruby">)]
Resolving dependencies...
Starting resolution (2016-10-13 20:42:53 -0700)
Resolving dependencies...Creating possibility state for rack (= <IP_ADDRESS>.forked) (1 remaining)
Attempting to activate rack (<IP_ADDRESS>.forked)
Activated rack at rack (<IP_ADDRESS>.forked)
Requiring nested dependencies ()
Creating possibility state for thor (= <IP_ADDRESS>.forked) (1 remaining)
Attempting to activate thor (<IP_ADDRESS>.forked)
Activated thor at thor (<IP_ADDRESS>.forked)
Requiring nested dependencies ()
Creating possibility state for rack-obama (1 remaining)
Attempting to activate rack-obama (1.0)
Activated rack-obama at rack-obama (1.0)
Requiring nested dependencies (rack)
Creating possibility state for rack (0 remaining)
Unwinding for conflict: rack
Finished resolution (4 steps) (Took 0.003739 seconds) (2016-10-13 20:42:53 -0700)
#<Bundler::Molinillo::VersionConflict: Unable to satisfy the following requirements:

rack (= <IP_ADDRESS>.forked) required by Gemfile
rack (= <IP_ADDRESS>.forked) required by Gemfile.lock
rack required by rack-obama (1.0)>

Success case debug output

Resolver#start requirements ["rack (= <IP_ADDRESS>.forked)", "thor (= <IP_ADDRESS>.forked)", "rack-obama", "ruby\u0000", "rubygems\u0000 (= 2.6.7)"]
Resolver#start index.search('rack') ["rack-0.9.1", "rack-1.0.0", "rack-<IP_ADDRESS>.forked"]
Resolver#start @base_dg Bundler::Molinillo::DependencyGraph:[Bundler::Molinillo::DependencyGraph::Vertex:rack(#<Bundler::DepProxy:0x007f848b15f448 @dep=<Bundler::Dependency type=:runtime name="rack" requirements="= <IP_ADDRESS>.forked" prerelease=ok>, @__platform="ruby">), Bundler::Molinillo::DependencyGraph::Vertex:rack-obama(#<Bundler::DepProxy:0x007f848b15ec50 @dep=<Bundler::Dependency type=:runtime name="rack-obama" requirements="= 1.0">, @__platform="ruby">), Bundler::Molinillo::DependencyGraph::Vertex:thor(#<Bundler::DepProxy:0x007f848b15e2f0 @dep=<Bundler::Dependency type=:runtime name="thor" requirements="= <IP_ADDRESS>.forked" prerelease=ok>, @__platform="ruby">)]
Starting resolution (2016-10-13 20:44:51 -0700)
Creating possibility state for rack (= <IP_ADDRESS>.forked) (1 remaining)
Attempting to activate rack (<IP_ADDRESS>.forked)
Activated rack at rack (<IP_ADDRESS>.forked)
Requiring nested dependencies ()
Creating possibility state for thor (= <IP_ADDRESS>.forked) (1 remaining)
Attempting to activate thor (<IP_ADDRESS>.forked)
Activated thor at thor (<IP_ADDRESS>.forked)
Requiring nested dependencies ()
Creating possibility state for rack-obama (1 remaining)
Attempting to activate rack-obama (1.0)
Activated rack-obama at rack-obama (1.0)
Requiring nested dependencies (rack)
Creating possibility state for rack (1 remaining)
Attempting to activate rack (<IP_ADDRESS>.forked)
Found existing spec (rack (<IP_ADDRESS>.forked))
Creating possibility state for ruby (1 remaining)
Attempting to activate ruby (<IP_ADDRESS>)
Activated ruby at ruby (<IP_ADDRESS>)
Requiring nested dependencies ()
Creating possibility state for rubygems (= 2.6.7) (1 remaining)
Attempting to activate rubygems (2.6.7)
Activated rubygems at rubygems (2.6.7)
Requiring nested dependencies ()
Finished resolution (6 steps) (Took 0.001092 seconds) (2016-10-13 20:44:51 -0700)
Unactivated:
Activated: rack, thor, rack-obama, ruby, rubygems

/cc @segiddins here is the ticket that goes with the branch with the failing spec 👍

is this the one you mentioned where the GEM_PATH plays a role in the problem?

@chrismo yup! as shown in the test, if rack is installed in system gems, this fails. if rack is not installed in system gems, this succeeds. I think maybe this means there is a bug either in Index.search or in the way that Molinillo looks inside the Index object for specs.

(The reason that setting GEM_PATH "fixed" the bug is that it meant Bundler could no longer see the already-installed copy of rack, and so the problem went away.)

and this is broken on master? do you know what released versions this works with / fails with?
and ... double-checking ... yeah, this code is put back the way it was: https://github.com/bundler/bundler/blob/aa-missing-specs/lib/bundler.rb#L496 - so probably not that.

According to git bisect, this commit (1.8.5) is the first failing commit: 85719633f39a33c04e303cb5f9341881e20e6d8f.

So somehow... all 1.8.x releases, and the 1-8-stable branch, do not have this bug. But this bug arrived on master when the tag v1.8.5 was merged in. 😬

Ahh, crap, I copied and pasted the wrong SHA.

I have a one-line fix for this that proves my suspicion about this being pre-release related 😝


Weird output

Any idea why it does this? 1.3.0-dev

Hi @gprime31,
This is a breakline.. FFUF output is a bit more large than your terminal screen size, you need a wider one.
Happy hunting.

Ah, makes sense, thanks.


Every keystroke causes new tmp file to be created

As I type I can see new temp files appearing in Sublime's sidebar:

The temp files contain copy of the currently edited file.

Are you sure this is caused by sublime-rust?

Oops, I'm not :)
It happens only with .rs files, but I forgot I've got another plugin, which is the culprit.


EIP7251: Revamp process_effective_balance_updates

Use get_max_effective_balance in process_effective_balance_updates since the logic is the same.

almost 24 hour..download, do you anther way? or recommemd me the way how to do


Improve bitcode check

Description
Previously, we were checking that the Xcode versions matched exactly and printing a warning. We should be throwing if the user's Xcode version is < the engine's Xcode version, and allowing older versions to go through.  This is based on feedback from multiple maintainers of bitcode enabled frameworks internally.
Related Issues
Addresses https://github.com/flutter/flutter/issues/15288
We want a check like this before we start turning on bitcode on CI.
Tests
I added the following tests:
Updated some existing tests for the strict-er checks, added a new test for acceptable version mismatch.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[x] Yes, this is a breaking change but only for an experimental feature that isn't yet supported, so I'm skipping announcing it.
[ ] No, this is not a breaking change.

@cbracken  - LMK if you want that message updated, I'll be happy to open a new PR to do so.


Kafka-js - daily test are failing

Needs to investigate why daily tests are failing
https://github.com/aspecto-io/opentelemetry-ext-js/actions/runs/1470162456

Looks like upgrading to v0.27.0 fixed the issue. now tests are green again


mqtt_access_control error

2016-08-25 14:26:45 =ERROR REPORT====
** Generic server <0.884.0> terminating
** Last message in was {inet_async,#Port<0.8228>,2177,{ok,<<16,24,0,4,77,81,84,84,4,0,0,90,0,12,115,105,109,112,108,101,67,108,105,101,110,116>>}}
** When Server state == {client_state,{esockd_connection,[#Port<0.8228>,#Fun<esockd_transport.2.94509882>,[]]},["<IP_ADDRESS>",58,"51114"],{{127,0,0,1},51114},{127,0,0,1},51114,true,running,undefined,#Fun<emqttd_parser.0.95008164>,{proto_state,{{127,0,0,1},51114},#Fun<emqttd_client.0.30030373>,false,undefined,<0.884.0>,undefined,undefined,undefined,undefined,undefined,undefined,512,undefined,undefined,undefined},[{max_clientid_len,512},{max_packet_size,65536}],undefined}
** Reason for termination ==
** {badarg,[{ets,lookup,[mqtt_access_control,auth_modules],[]},{emqttd_access_control,lookup_mods,1,[{file,"src/emqttd_access_control.erl"},{line,113}]},{emqttd_access_control,auth,2,[{file,"src/emqttd_access_control.erl"},{line,60}]},{emqttd_protocol,process,2,[{file,"src/emqttd_protocol.erl"},{line,143}]},{emqttd_client,received,2,[{file,"src/emqttd_client.erl"},{line,252}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,615}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,681}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}
2016-08-25 14:26:45 =CRASH REPORT====
crasher:
initial call: emqttd_client:init/1
pid: <0.884.0>
registered_name: []
exception exit: {{badarg,[{ets,lookup,[mqtt_access_control,auth_modules],[]},{emqttd_access_control,lookup_mods,1,[{file,"src/emqttd_access_control.erl"},{line,113}]},{emqttd_access_control,auth,2,[{file,"src/emqttd_access_control.erl"},{line,60}]},{emqttd_protocol,process,2,[{file,"src/emqttd_protocol.erl"},{line,143}]},{emqttd_client,received,2,[{file,"src/emqttd_client.erl"},{line,252}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,615}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,681}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]},[{gen_server,terminate,7,[{file,"gen_server.erl"},{line,826}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}
ancestors: [<0.312.0>,<0.311.0>,esockd_sup,<0.125.0>]
messages: [{inet_async,#Port<0.8228>,2178,{error,closed}}]
links: [<0.312.0>]
dictionary: []
trap_exit: false
status: running
heap_size: 987
stack_size: 27
reductions: 488
neighbours:
2016-08-25 14:26:45 =SUPERVISOR REPORT====
Supervisor: 'esockd_connection_sup - <0.312.0>'
Context:    connection_crashed
Reason:     {badarg,[{ets,lookup,[mqtt_access_control,auth_modules],[]},{emqttd_access_control,lookup_mods,1,[{file,"src/emqttd_access_control.erl"},{line,113}]},{emqttd_access_control,auth,2,[{file,"src/emqttd_access_control.erl"},{line,60}]},{emqttd_protocol,process,2,[{file,"src/emqttd_protocol.erl"},{line,143}]},{emqttd_client,received,2,[{file,"src/emqttd_client.erl"},{line,252}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,615}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,681}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}
Offender:   [{pid,<0.884.0>},{name,connection},{mfargs,{emqttd_client,start_link,[[{packet,[{max_clientid_len,512},{max_packet_size,65536}]},{client,[{idle_timeout,30}]},{session,[{max_inflight,100},{unack_retry_interval,60},{await_rel_timeout,20},{max_awaiting_rel,0},{collect_interval,0},{expired_after,2880}]},{queue,[{type,simple},{max_length,infinity},{low_watermark,0.2},{high_watermark,0.6},{queue_qos0,true}]}]]}}]

It seem ets:new/2 failed, maybe restart it would resolved.

@freecnpro Thank you very much!But, it is only after running for a period of time appear the error, and the more frequently these days.

you can check(ex: observer) mqtt_access_control table if exist when appear the error

@freecnpro tks! emqttd running in the background on the centos, the process was killed when appear the error. but I change machine to running, it didn't appear this problem, unfortunately, I didn't find the cause of the problem.

observer can connect to remote node

@freecnpro I have been used the observer app, waiting for it to appear the error.

@GIHOLee, which release you deployed? It seems the emqttd_access_control process crashed.

@emqplus  1.0.2 and 1.1.3, until use 1.0.2, but nearly time appeared the problem, then upgrade to 1.1.3.

@GIHOLee, did you load any modules or plugins? The emqttd_access_control process should not be crashed in 1.x release.

@emqplus,  Thank you! Did't load any other modules or plugins. At present, I have deployed emqttd on other servers, have not yet found the problem, I am not sure whether the client's problem.

@GIHOLee Did you have received a disk_almost_full warning?

@freecnpro , no warning.
df -h :
/dev/mapper/centos-root     50G  9.2G   41G   19% /
devtmpfs                               32G     0   32G    0% /dev
tmpfs                                     32G  176K   32G    1% /dev/shm
tmpfs                                     32G   58M   32G    1% /run
tmpfs                                     32G     0   32G    0% /sys/fs/cgroup
/dev/mapper/centos-home  130G   38M  130G    1% /home
/dev/sda1                              497M  206M  292M   42% /boot
tmpfs                                     6.3G   12K  6.3G    1% /run/user/0
tmpfs                                     6.3G   16K  6.3G    1% /run/user/42


ListView renders after navigating back

@HansMuller :I have created a dashboard where my bluetooth devices list added through api request are shown.On this list there is each card for each device where I can connect and check signal strength .But as after connecting my device , if I navigate to other screen and move back , on UI my device is shown disconnected.How I can resolve my issue.In background my bluetooth stream works only my UI renders when I add or remove device.

@HansMuller :I have created a dashboard where my bluetooth devices list added through api request are shown.On this list there is each card for each device where I can connect and check signal strength .But as after connecting my device , if I navigate to other screen and move back , on UI my device is shown disconnected.How I can resolve my issue.In background my bluetooth stream works only my UI renders when I add or remove device.

Hi @SS-23
the issue might depend from your implementation,
my guess is that is specific to the state management implementation or the lack if it.
This platform is not meant for assistance on personal code.
Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments
providing your flutter doctor -v and a minimal complete reproducible code sample
(not a snippet from production code and that does not include 3rd party plugins)
and I will reopen it.
Thank you


keypoints padding

isnt it a problem that you set the padding for the keypoints to 0 here? This alters the shape of the output, and therefore the position of the keypoints by 1/100 or so, which shouldnt effect the results, but I was wondering

Yes. This is a problem, but it does not affect results that much. Because I found this problem after I trained all the models, I decide not to retrain and just add additional parameter pad. So if you training from scratch you should use pad=3.


Highlight for switch case not displaying properly

Consider the following code:
const value = 'a'
switch (value) {
    case 'a':
        console.log('a')
        var c = 4
        break
    case 'b':
        console.log('b')
        break
    default:
        return `Value ${value} not supported`
}

The image bellow shows case 'b': not properly highlighted.

The Syntax Theme is Monokai, but even with other themes the same happens.
Hint: if I remove the declaration var c = 4 the problem does not appear.

Try 2.57.6

Works great!
Thanks for taking your time to work on this package.


Missing indicators of what to learn from output to improve results.

I have now tried for weeks to get a binder to stick. I am using the hints that I could gather:

truncate target as much as possible
remove disordered parts
update local repo to keep up with commits
try different weights and filters
different hot spots

This led me to exactly 1 design accepted so far. Better than nothing :-) However, how to build on this lone success to improve outcome?
Logically, you would think that looking at the good design, I would be able to figure out what target residues ended up in the interface and use those in the next run. I could also look at the good trajectories and infer the common residues that are present in all interfaces. I tested both of these strategies, and I got 0 designs passing.
Please can you give me a hint on how to use the results of failed runs to try to increase the number of passing designs? How do I infer from the logs and heaps of output WHY the second stage keeps failing (No accepted MPNN designs found for this trajectory)?

I have the same question. From  my last job there are some reasonable relaxed binders, but the job stopped (see below).
How do I continue this job with a lower acceptance rate? And/or, as bifxcore asked, how to I optimize the settings based on the results from the first job?
This could be a great tool, but I would like to be able to use it efficiently.
 Consider changing your design settings!

Generally, the thing that affects designs success the most is the target and choice of hotspots. It could be that your target is simply too hard for the pipeline to do. However, if you got one, there is hope! How many trajectories (based on entries in trajectory_stats.csv) did you have to do to get the 1?

However, if you got one, there is hope! How many trajectories (based on entries in trajectory_stats.csv) did you have to do to get the 1?

So I think I may have found a lead. I'm testing an 'obvious' system with 2 quasi-identical models of the same sequence, one produced by AF3 and one by RoseTTAFold. Guess which one produces 'Base AF2 filters not passed ...No accepted MPNN designs found for this trajectory' despite successful Stage 4 trajectories with  final pLDDT > 0.9 ?
That's right: BindCraft appears to choke on targets modelled by RoseTTAFold. For me that's bad news: the RoseTTAFold models have better geometry in this particular case.
How do I get BindCraft to treat RoseTTAFold models like AF3 models? Is there maybe some simple PDB processing I could do?

That's probably very little! For hard targets one might need to sample up to 3000.

one might need to sample up to 3000

The run died with "The ratio of successful designs is lower than defined acceptance rate". Current acceptance_rate=0.01. I suppose I could set it to zero and let it run for a while.

You can set enable_rejection_check to false


Empty string JSON key

Description

null key in the JSON output with "message": "You have unmanaged security group rules that could be false positives, find out more at https://docs.driftctl.com/limitations"

Environment

OS: Windows 10
driftctl version: v0.9.1
terraform version: v0.15.4
terraform providers versions<EMAIL_ADDRESS>How to reproduce

driftctlbeta scan --from tfstate+s3://BUCKET/TERRAFORM.TFSTATE --output json://driftctl.json
$driftObject = Get-Content "driftctl.json"  | ConvertFrom-Json

Error:
ConvertFrom-Json : Cannot process argument because the value of argument "name" is not valid. Change the value of the "name" argument and run the operation again.

This is caused as powershell ConvertFrom-JSON  (v5.1.1) can not parse null keys. https://stackoverflow.com/questions/62191676/convertfrom-json-returns-cannot-process-argument-because-the-value-of-argument
specifically, there is a null key in driftctl.json for
"alerts": {
		"": [
			{
				"message": "You have unmanaged security group rules that could be false positives, find out more at https://docs.driftctl.com/limitations"
			}
		],

Possible Solution

not make the key empty string like by having "unmanaged_false_positives" or something more descriptive than ""

Additional context
Even though, this is a problem specifically with ConvertFrom-JSON, the root cause lies with an non-descriptive key ""

it should be easy fix one line. I couldn't find yall are outputing the "alerts" key in the json, but i was able to find this.
https://github.com/cloudskiff/driftctl/blob/7bcbe0bf93f5ba72a2cc5b05820187d373dbfa88/pkg/analyser/analyzer.go#L18

@OrenLeung I need to check why we have empty keys there, if it's an issue on our side I will fix it but if it is a normal behavior this issue will be a wontfix since it is a bug in Powershell.

Ok I can confirm that the empty string is a normal behavior and may append, so I'm closing this one as we output a valid JSON.


how to use fake server for image load?

hi,
I'm successfully use sinon fake server for mocking xhr requests.
But also I need to mock image load requests e.g. image.src = 'http://example.com/img.jpg'
Is it possible somehow?

No, this is not possible. But why not fetch the image(s) from the DOM and assert the src property?

hi @mantoni
thanks for the reply!
Could you show example what do you mean under "But why not fetch the image(s) from the DOM and assert the src property" ?

@vitalets do you need to verify that the image is requested on the network by the browser, or that it is correctly inserted into some html, like verifying template output?
If the latter is the case, you can use data-uri as the src attribute on the image, and detect the string in the HTML. I've done this in a few projects now, it's a technique that works well, and doesn't generate network requests.

We are trying to keep the GitHub issues list tidy and focused on bugs and feature discussions. This ticket looks like a usage question, please post it to the Sinon.JS mailinglist, so the bigger community can help answer your questions.
If you feel that your topic is an issue with Sinon.JS, please open a new ticket and follow the guidelines for reporting an issue.


DRILL-6918: Skip ensureAtLeastOneField when there are no records

If none of the project / filter columns, exist in the records, ensureAtLeastOneField (or the Scan operator) adds at least one field as nullable integer (or nullable varchar if allTextmode is enabled).
The downstream Filter operator would then go on to fail with NumberFormatException because it tries to convert empty fields to integers.
Since ensureAtLeastOneField is called after reading all the messages in a batch, it can be skipped if the batch is empty.

@aravi5  do you have a reviewer in mind?

Yes, @sohami and @HanumathRao, can you please review the change?


Can we have a homebrew tap for the latest mitmproxy

Problem Description
From @mhils's Homebrew/homebrew-core#145547, I know that mitmproxy will be migrating from formula to cask in order to provide the latest version. But I do not want a cask because it needs to package with all dependencies in it. This increases disk space usage significantly and will not benefit from upgrading some Python dependencies packaged in formula.
Proposal
Please provide a mitmproxy maintained homebrew tap. It would be nice to include the bottle you built, but it doesn't matter.
Alternatives
For now, I just copied the code from Homebrew/homebrew-core#145547 to my own tap moonfruit/homebrew-tap with some updated resources. It worked fine. I can maintain this myself for simple version upgrades. But I was worried that if something like mitmproxy-macos was introduced, I wouldn't be able to handle it. So a tap maintained by mitmproxy would be nice.

Thank you for the feedback, that's immensely useful! Is ~40mb an issue for you in practice?

I have a 256GB MacBook, but I don't think it's enough. Every byte counts. I use python frequently for coding and also utilize various third-party python development tools. The 40mb space difference can be used for other formulas.

We've shipped an app bundle with the latest patch release now, which is the basis for the Cask. We unfortunately don't want to maintain a separate formula going forward. If you have space constraints, I recommend pip installing into your Homebrew Python env. :)


Bucket name validation

I would like the bucket name to be validated (src/bucket.js) and some meaningful error shown. A common error may be including "gs://" in the beginning.
Not validating the bucket name can lead to cryptic errors down the line like:

Error: Not Found
at Request._callback ([....]/node_modules/gcs-resumable-upload/index.js:283:25)
at Request.self.callback ([....]/node_modules/request/request.js:186:22)

I am not a great js dev, but this at the minimum (and it works, inserted at line 91) :
if (name.indexOf("gs://") > -1){          throw new TypeError("don't include gs:// in the bucket name");  }

Thanks for the suggestion. I think we should just handle gs://{bucketName} input correctly, and strip the leading gs://.


Implement JSON marshalling/unmarshalling for Configuration.

Description
Reference issue
Fixes #1616

Merged with 921608c26b93fdc72ef34c59c1df1916d1d2a565
I just added doc comments and fixed WASM


chore: Build aws-sdk-swift as downstream with dynamic manifest

Description of changes
No code change in this branch.  This PR is opened for the purpose of testing downstream build of the changes in https://github.com/awslabs/aws-sdk-swift/pull/664 . (this PR & that PR share branch names, so they build together on CI.)
This PR may be closed without merge when testing is complete.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Testing complete, closing this PR & deleting the branch.


[BEAM-9959] Root Transform fixes

Correctly handle Output PCollections being used outside of a composite.

Previously Composites that used an output pcollection wouldn't include that pcollection as an output even if that pcollection was an input to a transform outside the composite.

Make TopologicalSort deterministic (to simplify debugging in the future).
Tests for the above.
Minor: Use pipepb as the package shortname for the pipeline proto package

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

R: @youngoli


MQTT fan does not work in optimistic mode

Home Assistant release with the issue:
0.91.2
Operating environment (Hass.io/Docker/Windows/etc.):
pip installed;  Python 3.7.3rc1
Component/platform:
MQTT Fan
Description of problem:
MQTT fan does not work in optimistic mode. When discovered without  state_topic and/or
with "optimistic":"true" the fan behaves in non-optimistic mode: setting up manually to ON and it will turn back to OFF by itself.
Steps to reproduce:

With mqtt discovery configured:

mqtt:
    broker: localhost
    discovery: true
    discovery_prefix: "homeassistant"

run the following command:
mosquitto_pub -t 'homeassistant/fan/underground/config' -m '{"name":"fanUnderground","cmd_t":"homeassistant/fanUnderground/set"}'
Add the fan in the UI (lovelace).
Click on the switch to set it on.

2 sec later the fans turns back to off by itself.
Same behaviour when I set a state_topic and/or "optimistic":"true" in the mqtt configuration message.

Optimistic mode is simply not implemented in MQTT Fan even though the configuration option is there, I'll fix that + add tests soon.
Out of curiousity: Why doesn't your fan send  a state message back?

Thanks for the feedbacl @emontnemery. It's also described in the documentation.
My 'fan' is actually an esp8266 controlling a powerful server fan.
I'll probably drop the 'fan' component for a number input slider to mqtt as my 'fan' can get control the power from 0-1024 and I couldn't find any MQTT component that could receive a numeric value (like a MQTT binarynumeric sensor). Maybe I'll code one...?

I couldn't find any MQTT component that could receive a numeric value

I guess you mean you want the MQTT component to SEND a numeric value, not receive one?
If so, you could perhaps use MQTT light, with brightness support + custom icon.

Correct. I needed an HA MQTT component to SEND to my esp8266 in mqtt.
Thanks for the excellent suggestion @emontnemery I now have a nice fan ui controller :)

BTW the MQTT light was not optimistic until I forced it to true despite not having a state topic... Should I open a new bug?

Yes, that's an undocumented "feature" of MQTT discovery. Are you using that?

Yes, I'm using MQTT discovery. It just that in the documentation of (all?) MQTT components, it says that

When a state topic is not available, the light will work in optimistic mode.

If MQTT forces one, then this is not true anymore.

Yes, it's not intuitive. I opened PR #22998 to deprecate the implicit setting of state_topic. Can you verify optimistic mode works for you with that change?

Hi @emontnemery , I did test #22998 . Now the light has no implicite state and operates with implicit optimism :) thanks and good job!
The fan still doesn't work on optimistic mode, so I keep the bug open for now.

Fan optimistic mode should be fixed with #22998 (which is now merged to dev) + #22976, did you try that?

I did test #22976. The fan is not optimistic.
What I did:

Get the PR: (is it enough?)
python3 -m pip install git+https://github.com/home-assistant/home-assistant.git@refs/pull/22976/merge

(restart) Version is 0.92.0.dev0

Declare a mqtt fan:
mosquitto_pub -t 'homeassistant/fan/underground4/config' -m '{"name":"fanUnderground4","cmd_t":"homeassistant/fanUnderground/set"}'

Add fan.underground4 to the UI

Click on the ⚡icon; a ON message is published to homeassistant/fanUnderground/set
2 secs later, the state is back to OFF (no OFF message is published)

Aha, I think step 1 is not correct because it will remove #22998.

I rebased #22976 so #22998 is included, can you try again with same steps as before?

I tested again #22976 and it works. MQTT fans with no state_topic are optimistic and when declared with a state_topic, they are not. All works as expected.
Thanks @emontnemery, good job!


getMessagesFromDatafeed(datafeed) should return List or List

The function call
symClient.getDataFeedClient().getMessagesFromDatafeed(datafeed);
will return an object of type List.  This should be changed to return an object of either List type or List type to encapsulate the message object in a type that is non-endpoint specific.

Just realized getMessagesFromDatafeed is deprecated and so should not be updated.


Update dotnet sample with Entra ID

Purpose

...

Pull Request Type
What kind of change does this Pull Request introduce?

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

Other Information

@philon-msft @yugangw-msft can one of you please review and approve the PR? This is for Entra ID update

@yugangw-msft  @philon-msft @stanleysmall-microsoft can one of you please approve? I fixed all the comments you had.

@yugangw-msft @philon-msft fixed everything. please approve.


HDDS-10547. Fix the buffer for the datanode checksum calculation

What changes were proposed in this pull request?
HDDS-10547. Fix the buffer for the datanode checksum calculation
Datanode chunk checksum validation was broken.
computeChecksum code and chunkWrite code shared the same byte buffer, hence the first one to read from the buffer succeeds and the second attempt to read fails as the buffer position is at the end.
Apparently there are no tests to check that. I returned back the previous code to make it work.
There are three places where validateChunkChecksumData is called. I added a unit test to check all three. Also I had to change handlePutSmallFile method as it didn't work correctly even with the checksum buffer fix.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-10547
How was this patch tested?
Unit tests.

Thanks @Cyrill for the patch, @szetszwo for the review.


Feat: integrate flow

What:
A feature PR for jntegrating flow-type with the website.
Why:
Fix issue #65.
To leverage static type checking with flow.
How:

Added .flowconfig as well as a flow-typed directory for existing packages.
Haven't changed any of the .js files yet. This PR only caters to handling flow integration.
.eslintignore flow-typed directories to prevent rewrite with prettier-eslint as the flow-typed files are auto-generated.

Codecov Report

Merging #132 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #132   +/-   ##
=======================================
  Coverage   96.19%   96.19%
=======================================
  Files          57       57
  Lines         210      210
  Branches       20       20
=======================================
  Hits          202      202
  Misses          7        7
  Partials        1        1

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 e1320d3...739c432. Read the comment docs.

@kentcdodds  I forgot to include the flow as npm script. When you run flow, it exits without errors. However, when you start adding the flow annotation to the js files, it works as expected, throws errors as expected. I think the config went alright.

@kentcdodds Haven't actually added flow annotations to the js files yet because that would be a different feature request( which would mean a fix on potentially every js file in there). However, flow annotations do work if they are added to any of the js files. This PR only covers the setup for flow. Is that good enough ?

Yep! That's great! Thank you!

If you'd like to add flow to a file or two that would be cool!

Alright. Will do that.


Prefered place to contribute new example code

In my opinion, it would be nice to have a single goto place to see working examples of ROS2 code, similar to ros_tutorials, and I want to try to help with that. Given that there are 3 different places for ROS2 example code (demos, examples, and this repo):

which repo is the best target for new tutorial writing/addition of example code?
is there any interest in accepting PRs that port code from the examples or demo repo to this repo, with additional comments to make them tutorial like?
this comment states that this repo won't be released/worked on until a documentation platform was up and running. Is https://index.ros.org/doc/ros2/Tutorials/ that documentation platform? And should some of these examples be better integrated there?

Possibly related to #7.

it would be nice to have a single goto place to see working examples of ROS2 code, similar to ros_tutorials

There are multiple repositories in ROS 1 containing different tutorials: ros_tutorials, common_tutorials, visualization_tutorials. That allows independent people to maintain them and release them on their own schedule.

which repo is the best target for new tutorial writing/addition of example code?

demos contains for each feature the recommended way how it can be used and is covered by unit tests.
examples contains for each feature multiple ways it can be used to show the variety (e.g. callback via instance method, global function or lambda, or e.g. using a timer vs. using a while loop in the main).

So depending on what kind you are interested to write one location will be more appropriate than the other.

is there any interest in accepting PRs that port code from the examples or demo repo to this repo, with additional comments to make them tutorial like?

Instead of duplicating the code from demos here I would rather suggest contributing additional comments there.

this comment states that this repo won't be released/worked on until a documentation platform was up and running. Is https://index.ros.org/doc/ros2/Tutorials/ that documentation platform?

While index.ros.org provides one platforms for some documentatio it is not the needed platform for that context. In ROS 1 there are repository / package specific doc jobs on Jenkins which generate e.g. API docs or any other kind of documentation from the sources of a repository containing ROS packages. These kind of jobs do not exist for ROS 2 yet. The idea is that once those become available that this repository contains the code used in the tutorials as well as the tutorial text itself which then references the code lines. Without this you need to duplicate the code snippets in the text-only tutorial written somewhere else (like index.ros.org) which is likely diverting quickly.

I want to try to help with that

Any help - especially for writing documentation and tutorials - is greatly appreciated. Please consider to contribute to either of the currently used locations (index.ros.org and demos / example). If you have larger additions in mind also consider to create a ticket about it first to allow early feedback and avoid that others are working on something similar.

Thanks for the clarifications.

There are multiple repositories in ROS 1 containing different tutorials

I think I misstated my desire; essentially I think the index.ros.org tutorials should be more similar to the ros_tutorials wiki, in that you can follow each tutorial sequentially and have each part of the ROS ecosystem introduced to you as you need it, as opposed to have a separate page for building with colcon, one for rosidl, etc. However, I think this vision requires the doc jobs you mentioned, as you mentioned, any tutorial written without it will quickly be out of date with how fast ROS 2 is changing.

These kind of jobs do not exist for ROS 2 yet.

Is there anywhere I can follow updates for doc jobs for ROS 2?

Is there anywhere I can follow updates for doc jobs for ROS 2?

This work has not been scheduled yet, so there is neither a meta ticket nor a timeline for it atm.


Added support for named data streams

Codecov Report

Merging #13 (b6b403a) into main (caaeef9) will decrease coverage by 3.55%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main      #13      +/-   ##
==========================================
- Coverage   77.60%   74.04%   -3.56%
==========================================
  Files           2        2
  Lines         125      131       +6
==========================================
  Hits           97       97
- Misses         28       34       +6

Impacted Files
Coverage Δ

imagetools/helpers.py
0.00% <ø> (-25.00%)
:arrow_down:

imagetools/file_entry_lister.py
84.34% <66.66%> (-5.76%)
:arrow_down:

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 caaeef9...b6b403a. Read the comment docs.


Rosetta: return zero balance for missing vaults

Goal of this PR
Apparently Rosetta checks balances for random accounts sometimes. A missing vault can not be an error, so we just consider accounts without vault to have a zero balance.
Checklist

[x] Is on the right branch
[ ] ~Documentation is up-to-date~
[ ] ~Tests are up-to-date~

Also as the CI indicates, the integration tests for the balance endpoint need an update.


New article: Rust for Linux Brief Introduction

Thanks for the contribution from @rogercloud .

Could do with a bit more clarity


Erase base URL parts if their preceding parts have overwritten by relative URL and prevent URL fragment destructing

Method \Curl\Url::parseUrl encoded fragment # delimiter in URLs. It's kept now.
Method \Curl\Url::absolutizeUrl did not reset base URL components if some preceding component had changed by relative URL. E.g., for the base URL http://example.com/?a=1 and the relative URL http:://another.website/ method returned  http:://another.website/?a=1. A similar situation existed with fragment, port, user, pass components. It's fixed (using RFC3986).
Test URL pairs (tests/PHPCurlClass/urls.csv) had generated as Cartesian product of different URL components.

Generating test URLs in Python3
from urllib.parse import urljoin, urlparse
from itertools import product
import csv
import posixpath

def resolveComponents(url):
    """
    >>> resolveComponents('http://www.example.com/foo/bar/../../baz/bux/')
    'http://www.example.com/baz/bux/'
    >>> resolveComponents('http://www.example.com/some/path/../file.ext')
    'http://www.example.com/some/file.ext'
    """

    parsed = urlparse(url)
    new_path = posixpath.normpath(parsed.path)
    if parsed.path.endswith('/'):
        # Compensate for issue1707768
        new_path += '/'
    if new_path.startswith('//'):
        new_path = new_path[1:]
    cleaned = parsed._replace(path=new_path)
    return cleaned.geturl()

first_authorities = ['http://example.com@user:pass:7152', 'https://example.com']
second_authorities = ['', 'https://www.example.org', 'http://example.com@user:pass:1111',
                      'file://example.com', 'file://']
first_paths = ['', '/', '/foobar/bazz', 'foobar/bazz/']
second_paths = ['', '/', '/foo/bar', 'foo/bar/', './foo/../bar', 'foo/./.././bar']
first_queries = ['', '?a=1', '?a=647&b=s564']
second_queries = ['', '?a=sdf', '?a=cvb&b=987']
fragments = ['', '#foo', '#bar']

with open('urls.csv', 'wt') as f:
    csvwriter = csv.writer(f, quotechar='"', quoting=csv.QUOTE_ALL)
    csvwriter.writerow(['first_url', 'second_url', 'expected'])
    counter = 1
    for first_domain, second_domain in product(first_authorities, second_authorities):
        for first_path, second_path in product(first_paths, second_paths):
            for first_query, second_query in product(first_queries, second_queries):
                for first_fragment, second_fragment in product(fragments, fragments):
                    if not first_path.startswith('/'):
                        first_path = '/' + first_path
                    first_url = first_domain + first_path + first_query + first_fragment
                    if second_domain and not second_path.startswith('/'):
                        second_path = '/' + second_path
                    second_url = second_domain + second_path + second_query + second_fragment
                    if first_url != second_url:
                        csvwriter.writerow([first_url, second_url, resolveComponents(urljoin(first_url, second_url))])

Great work. Thank you!


"Dragomirești" is listed in the drop-down menu

Description:
"Dragomirești" is listed in the drop-down menu alongside its corresponding county according to the law
Precondition:
The website is up an running.

Step 1
Type "Dragomirești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Dragomirești, DÂMBOVIȚA".


Conflict in Flutter Latest Version

Hi,
Thanks for the wonderful package! I am trying to install the package but throws below error
Because every version of flutter from sdk depends on meta 1.8.0 and every version of replicate depends on meta ^1.9.0, flutter from sdk is incompatible with replicate.
So, because replicate_api depends on both flutter from sdk and replicate any, version solving failed.

I faced the some error. You should ovverride meta and collection as well.
dependency_overrides:
meta: 1.9.1
collection: ^1.17.1


Error when build model

Thanks for the great code, I got the following error message when doing the training:
`vit_base_patch16_224_in21k
=> base model: vit_base_patch16_224_in21k
default cfg {'url': 'https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-vitjx/jx_vit_base_patch16_224_in21k-e5005f0a.pth', 'num_classes': 21843, 'input_size': (3, 224, 224), 'pool_size': None, 'crop_pct': 0.9, 'interpolation': 'bicubic', 'mean': (0.5, 0.5, 0.5), 'std': (0.5, 0.5, 0.5), 'first_conv': 'patch_embed.proj', 'classifier': 'head'}
Traceback (most recent call last):
File "tools/run_net.py", line 45, in
main()
File "tools/run_net.py", line 30, in main
launch_job(cfg=cfg, init_method=args.init_method, func=train)
File "/mnt/lustre/sunweixuan/video-transformers/./slowfast/utils/misc.py", line 259, in launch_job
torch.multiprocessing.spawn(
File "/mnt/lustre/sunweixuan/anaconda3/envs/video/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 230, in spawn
return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
File "/mnt/lustre/sunweixuan/anaconda3/envs/video/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 188, in start_processes
while not context.join():
File "/mnt/lustre/sunweixuan/anaconda3/envs/video/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 150, in join
raise ProcessRaisedException(msg, error_index, failed_process.pid)
torch.multiprocessing.spawn.ProcessRaisedException:
-- Process 0 terminated with the following error:
Traceback (most recent call last):
File "/mnt/lustre/sunweixuan/anaconda3/envs/video/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 59, in _wrap
fn(i, *args)
File "/mnt/lustre/sunweixuan/video-transformers/./slowfast/utils/multiprocessing.py", line 63, in run
ret = func(cfg)
File "/mnt/lustre/sunweixuan/video-transformers/tools/train_net.py", line 361, in train
model = build_model(cfg)
File "/mnt/lustre/sunweixuan/video-transformers/./slowfast/models/build.py", line 38, in build_model
model = MODEL_REGISTRY.get(name)(cfg)
File "/mnt/lustre/sunweixuan/video-transformers/./slowfast/models/video_model_builder.py", line 42, in init
self._prepare_base_model(self.cfg.XVIT.BASE_MODEL)
File "/mnt/lustre/sunweixuan/video-transformers/./slowfast/models/video_model_builder.py", line 107, in _prepare_base_model
self.base_model = create_model(
File "/mnt/lustre/sunweixuan/anaconda3/envs/video/lib/python3.8/site-packages/timm/models/factory.py", line 71, in create_model
model = create_fn(pretrained=pretrained, pretrained_cfg=pretrained_cfg, **kwargs)
File "/mnt/lustre/sunweixuan/video-transformers/./slowfast/models/transformers/vit.py", line 469, in vit_base_patch16_224_in21k
model = _create_vision_transformer(
File "/mnt/lustre/sunweixuan/video-transformers/./slowfast/models/transformers/vit.py", line 425, in _create_vision_transformer
model = build_model_with_cfg(
File "/mnt/lustre/sunweixuan/anaconda3/envs/video/lib/python3.8/site-packages/timm/models/helpers.py", line 523, in build_model_with_cfg
model = model_cls(**kwargs) if model_cfg is None else model_cls(cfg=model_cfg, **kwargs)
TypeError: init() got an unexpected keyword argument 'default_cfg'`
My guess is it is a timm version problem, I wonder what is your timm version?

I also encountered this error
I tried a few versions and found that timm = 0.4.12 worked


Support Markdown and JSON files?

Thanks for this tool!
Currently JSON looks like supported, input a json file will got this:
Traceback (most recent call last):
  File "/x/./ChatGPT-for-Translation/ChatGPT-translate.py", line 359, in <module>
    main()
  File "/x/./ChatGPT-for-Translation/ChatGPT-translate.py", line 355, in main
    process_file(input_path, options)
  File "/x/./ChatGPT-for-Translation/ChatGPT-translate.py", line 319, in process_file
    if not check_file_path(file_path, options):
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/x/./ChatGPT-for-Translation/ChatGPT-translate.py", line 288, in check_file_path
    raise Exception("Please use a txt file or URL")
Exception: Please use a txt file or URL

Though Markdown won't have the same error, but the Markdown format will be missing after the translation.
Is that something you'd like to support? Many thanks again!

The first feature request appears to be a relatively simple task. I will add that to the list. I am not certain if the GPT API will keep the raw markdown format, which will determine whether this feature can be supported. I will have a look at this over the weekend.

Thanks @Raychanan, maybe it's up to the prompt we use to decide if the format can be preserved? Like using a code block and ask GPT to keep it.

Don't worry 😄 Thanks for your update 😃

right now, translate markdown have syntax error, for example, [title](link) translate to 标题（链接） which obviously not a valid markdown syntax

Changes were made for the GPT prompt. Try again and let me know if the issue persists.

Just test it and it looks like the format will brake, and the keys will also be translated, which isn't support to be 😅

Here's the prompt for the model. If it still doesn't maintain the format, I apologize as I'm currently out of ideas for improvements. Please let me know if you can suggest a better prompt for this specific situation.
Translate the following text into {target_language}. Retain the original format. Return only the translation and nothing else:\n{text}


Support for custom canonical URLs

Hi!
I'm adding AstroPaper to my personal blog and I came across the need for custom canonical URLs.
Looking at the code, I think that it can be added as an optional attribute to the posts' frontmatter and pass it forward through the Layout template.
What do you think? I'm happy to work on this improvement

Sounds good!
You can contribute to this one if you wish.


fix(datatable): move minwidth of datatable to table element

Since overflow is on the container, it doesn't make sense to put the min-width on it as well. Move it to the table element itself.
An example of the issue can be found here: https://codesandbox.io/s/mzkl5mlz3y
Note that the width of the wrapper element should cause a scroll bar on the container.
Changelog
Changed

Moved min-width to table element instead of container

Thanks @psachs21 for jumping in! The change basically looks good. I'm thinking of potential impact to existing applications, though. CC @IBM/carbon-developers to see anybody has any thoughts. One possible way to mitigate the risk is roping of the change with feature-flag-enabled().

I agree with the change, but am also worried this may be potentially breaking for a current user.

A feature flag feels a little... forced. I would hesitate to use feature flags to gate bugs. Instead, i would suggest it be released as a version change, following semver, if it changes behavior. Semver is a little weird though, when it comes to CSS, due to it's unavoidably global nature. I dunno, however ya'll want to handle.

We've committed to only releasing breaking changes twice a year, so would need to wait until later this year for our v10 release planned for December.

Guess i'll just introduce some overriding CSS for now. If anyone is reading this looking for the solution, the following will fix it:
.bx--data-table-v2-container {
  min-width: 100% !important;
}

.bx--data-table-v2 {
  min-width: 31.25rem !important;
}

@asudoh we could wrap this behind our breaking-changes-x flag now, right?

Just pushed change guarding it with breaking-changes-x so we could merge in! cc @asudoh


Add support for text promo display in doc pages

This looks good and I did verify that the hidden image actually does get loaded. One thing to note is that the ad must have a link in it or it is just displaying text without anything clickable.

👍

Could do a bit of validation on the text ad to confirm it has an image, I guess.


Error appears after running npm run build

An error appears during the initial installation at the npm run build stage.
I use Windows 10 PC with Nodejs v14.21.3
Steps I do :

git clone https://github.com/canove/whaticket-community.git
cd whaticket-community\backend
copy .env.example .env
Modify .env file like below :

NODE_ENV=
BACKEND_URL=http://localhost
FRONTEND_URL=http://localhost:3000
PROXY_PORT=8080
PORT=8080

DB_DIALECT=
DB_HOST=localhost
DB_USER=root
DB_PASS=
DB_NAME=whaticket

JWT_SECRET=54616516516516851751651
JWT_REFRESH_SECRET=56126168175165161564165

npm install
npm run build
After running npm run build i got error below :

E:\Programming\Javascript\whaticket-community\backend>npm run build

><EMAIL_ADDRESS>build E:\Programming\Javascript\whaticket-community\backend
> tsc

node_modules/@types/lodash/common/object.d.ts:1026:46 - error TS1005: '?' expected.
1026         : K extends `${infer N extends number}` ? T[N]
                                                  ~
node_modules/@types/lodash/common/object.d.ts:1031:46 - error TS1005: '?' expected.
1031         : K extends `${infer N extends number}` ? T[N]
                                                  ~
node_modules/@types/lodash/common/object.d.ts:1041:46 - error TS1005: '?' expected.
1041         : K extends `${infer N extends number}`
                                                  ~
Found 3 errors.

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR<EMAIL_ADDRESS>build: `tsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\ras\AppData\Roaming\npm-cache\_logs\2024-06-27T22_47_56_412Z-debug.log

How to fix this error?

looks like lodash updated and it doesnt support the version on package.json anymore.
https://github.com/DefinitelyTyped/DefinitelyTyped/issues/69932

looks like it doesnt support the typescript version on package.json anymore. DefinitelyTyped/DefinitelyTyped#69932

Getting back to previous version solved for me

How can i back to previous version?

How can i back to previous version?

In my case, i solved it by bumping typescript version to "typescript": "4.7.3" in the package.json file


Read-Only file system error whistle downloading image

Expected behavior
to download ide50-offline image
Actual behavior
donwloads, and spews an error at 43% download progress
Information about the Issue
write /mnt/sda1/var/lib/docker/tmp/GetImageBlob193812294: read-only file system
Steps to reproduce the behavior

...donwload ide50-offline image
...monitor download progress

Can you provide a link to the actual hub image? I would recommend having a solid connection if the image is large.

Closing this issue due to lack of update/activity - Feel free to re-open if appropriate.


Move migrations under the Phinx\Migration namespace

In order to stop polluting the global namespace we will move migration classes under the Phinx\Migration namespace. This also conforms to PSR-2.

If you go as @cyrusboadway  suggests and allow a namespace to be specified in the config, then that will allow each project to put the migrations in their own vendor namespace and still preserve existing projects using the global namespace. New projects could default to Phinx\Migration . It would then become a backwards-compatible change.
Basically:

If the configuration value is defined, put/find migrations in the specified namespace.

The the configuration value does not exist, use the global namespace (current, backwards-compatible behavior).

When a new project is created (or transitions to phinx), have "phinx init" set the configuration value to Phinx\Migration in the generated phinx.yml. The user will have the opportunity to edit the value if desired.

That's exactly what I'm looking for. Any update on the issue?

I switched to Phinx from native framework migrations (I'm using Yii2) just to give it a try and see it in action. But this is for now is one of the biggest disadvantages for me. Any update on this?

Some random thoughts.
The namespace will have to be added as a PSR-4 surely?
'Phinx\\Migration' => '%%PHINX_CONFIG_DIR%%/migrations'
The namespace will also need to be injected into the template so that custom templates and custom template generators will have the option of using the default namespace or not.

@rquadling +1

Would be great to do the same for Seeds :)

Also namespaces should be different per path.
Currently we have single path and it's possible to use single namespace per this path in future.
But if we will use glob in path then we force to use same namespace everywhere.
May be implement class loading in another way? Let it parse migration and use class name from parsed file. I think https://github.com/nikic/PHP-Parser will do the job easily. And it will not be backward breaker.

https://github.com/robmorgan/phinx/issues/168#issuecomment-69807486 makes most sense,
https://github.com/robmorgan/phinx/issues/168#issuecomment-242325250 the parser solution is way overkill, it's like using tank to kill a fly.

Is this ticket still valid?
What is the plan of attack?

Looks like this has been done.

@dereuromark to me it seems it was commited and then reverted:

https://github.com/cakephp/phinx/commit/b141439c00e75549c7a0ed4bfe42b6fcd11f4fa8
https://github.com/cakephp/phinx/commit/c95aacc16a956786ba3cb9e1980004f2712c503c

so what exactly is done? please point to pull-request or commit.

Please allow custom namespaces like Vendor\Migrations and use class names like in doctrine migrations: class Version20180202110355 extends AbstractMigration with the corresponding filename Version20180202110355.php
Everything should be fine then. Even a migration suffix should be possible then - like @dereuromark suggested.

We should check this for next major - 0.13 release.


Expose the Import Folder Path (from the Importer Dialog) for use in templates.

Similar to @SourceFilename, can the Import Folder Path be exposed or passed along to templates & helpers to be used for further manipulation?

With version 0.33.0, you can use @importSourceFile.path to get the full path (including filename).
See the README for other new fields.


Undeclared dependency: Numpy

Hi! I've installed latest version from pip, and get a ModuleNotFoundError:
  File "/home/keddad/Documents/thevyshka-news-fetcher/cacher.py", line 6, in <module>
    from strsimpy.ngram import NGram
  File "/home/keddad/.local/share/virtualenvs/thevyshka-news-fetcher-8gFlsF9b/lib/python3.8/site-packages/strsimpy/__init__.py", line 30, in <module>
    from .optimal_string_alignment import OptimalStringAlignment
  File "/home/keddad/.local/share/virtualenvs/thevyshka-news-fetcher-8gFlsF9b/lib/python3.8/site-packages/strsimpy/optimal_string_alignment.py", line 21, in <module>
    import numpy as np
ModuleNotFoundError: No module named 'numpy'

There already was #12 about this error, and it was said that latest version doesn't need numpy, but, apparently, it does:
https://github.com/luozhouyang/python-string-similarity/blob/6b8fbd68a535bf92f849bc624d58fd99ef8f46b1/strsimpy/optimal_string_alignment.py

Hi, @keddad
I can reproduce this bug! I will fixed it soon!


Add a type of TIMESTAMP to affected ranges

Fixes #25
Fixes #62
Fixes #129

This change is fully backward compatible, as it is adding a new type, not modifying, removing, or requiring an existing type.


Is it possible to dynamically change a bezier curve?

I have created a bezier curve using the PIXI.Graphics function bezierCurveTo()
The bezier curve end points are attached (or at least look like they are attached) to other sprites that can be dragged around the root container. When these sprites are dragged, the bezier curve remains in place.
Is it possible to dynamically change/update the points of a bezier curve, including the control points?

Hi @KosGrillis , this should be possible by calling, clearing the graphics object and redrawing the bezier curve each frame with the new control points.
render()
{
    myCurve.clear();
    myCurve.moveTo(x, y);
    myCurve. bezierCurveTo(cx, cy, cx2, cy2, newX, newY);

    renderer.render(scene)
}

@GoodBoyDigital Why does PIXI not do this automatically? It looks like a bug, or just illogical behavior.


CRA updates ESLint 6 -> 7

https://github.com/facebook/create-react-app/releases/tag/v4.0.0

Thanks!


The solution to support cmake/makefile users

We have a document that describes how to deploy the Arm-2D library, but it currently only contains guidance for using cmsis-pack in MDK. For cmake and makefile users, we should provide some basic information so they can write the necessary script to deploy arm-2d.
We also want help from open-source community to contribute support for cmake and/or makefile. For example, creating a cmake/make file project for project template
You can add a folder like cmake and/or makefile here:

For any PR, please commit to the developing branch. Thanks.

[template][pc][vscode] provides a makefile for arm-2d.

Cmake support is added


Remove unreferenced value rule variables | rename has_rule to has_bottom_rule_line

I couldn't find any references to has_top_border and has_bottom_border outside of the template. Since they're both set on value, that means they should be safe to remove, yea?
Removals

Remove unreferenced value rule variables has_top_border and has_bottom_border.

Changes

Rename has_rule to has_bottom_rule_line.

How to test this PR

Run migrations and visit page http://localhost:8000/admin/pages/630/edit/ and see that you can still add/remove the bottom rule line from the text introduction.

Turns out this needs a data migration and that's difficult. Closing this for now in favor of https://github.com/cfpb/consumerfinance.gov/pull/7729 that just removes the unreferenced variables and adds a TODO