update: bump version

bump

Codecov Report
All modified lines are covered by tests :white_check_mark:

Comparison is base (7b74827) 96.58% compared to head (fbf70af) 96.58%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1286   +/-   ##
========================================
  Coverage    96.58%   96.58%
========================================
  Files           23       23
  Lines         1319     1319
========================================
  Hits          1274     1274
  Misses          45       45

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


feat: [#441] Optimize the HTTP testing process [#2]

📑 Description
RelatedTo https://github.com/goravel/goravel/issues/441

@coderabbitai summary

✅ Checks

[ ] Added test cases for my code

@coderabbitai review


Please update to Hapi 17

Hello,
Any future plan to update boilerplate with Hapi 17 and latest Webpack and babel?
Thanks

Unfortunately I don't use hapi anymore, so there is no intention to migrate this project.


fix(entity-generator): use table name instead of class name in EntitySchema

Closes #3915

Codecov Report
Base: 99.80% // Head: 99.80% // No change to project coverage :thumbsup:

Coverage data is based on head (a40b981) compared to base (055913e).
Patch coverage: 100.00% of modified lines in pull request are covered.

:exclamation: Current head a40b981 differs from pull request most recent head c8ea6e6. Consider uploading reports for the commit c8ea6e6 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3916   +/-   ##
=======================================
  Coverage   99.80%   99.80%
=======================================
  Files         214      214
  Lines       13651    13651
  Branches     3189     3189
=======================================
  Hits        13625    13625
  Misses         24       24
  Partials        2        2

Impacted Files
Coverage Δ

...ges/entity-generator/src/EntitySchemaSourceFile.ts
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Thanks!


Git Bash Windows

I'm using my Hyper Terminal to essentially access git bash instead of windows cmd... couldn't get ~ to take me to my user root. Instead had to manually navigate from C:/Users/(my name)/Documents/Workspace.
Just wanted to give you a heads up and hopefully help some others out that may also have faced this headache. Keep up the progress, glad to see a recent commit!

You can create a .bashrc or .bash_profile and add cd $yourPathHere to navigate to your projects root when opening a new console


Concurrent task with shared output

Related to #1028 to bypass it, I re-implemented my workflow as:
[1: shared = {'unit_dataset': 'step_output'}]
max_dist = 999
cwd="/tmp"
y_data= path('/tmp/1.txt.gz')
chroms = [f'chr{x+1}' for x in range(22)]
input: for_each = 'chroms', concurrent = True
output: f'{cwd}/{y_data:bnn}_{int(max_dist/1000)}Kb/{_chroms}/MANIFEST'
bash: workdir = cwd, expand = "${ }"
     stress --cpu 1

Basically instead of using dynamic output I record output files to a text file and save them; I share them with the next step to create input file by:
input: paths([get_output(f'cat {x}').strip().split('\n') for x in unit_dataset]), group_by = 1, concurrent = True

I thought it would work. Unfortunately, it still runs on single process. Of course if shared is removed, it goes back to multiprocessing.
Since this is code in production and due to https://github.com/vatlab/SoS/issues/1024#issuecomment-415159345 the hang I cannot use task either, i'm a bit stuck here. But I can move on to other tasks -- guess these tickets share a lot in common and needs some thoughts on your end to address jointly :)

Sorry posted the wrong ticket earlier: so now a step involving shared for step_output seems to work with concurrent in the current master.

Look at the shared option of tasks, we allow tasks to return variables. The variables exist as individual variables, and we somehow make them a dictionary from multiple substeps.
So logically speaking, tasks belong to substeps, and the variables shared by tasks will appear as themselves in the namespace after task (although no statement is allowed there). For the same reason, variables from substeps (without task) should be shared in the same fashion to be consistent.
That is to say, if we are to implement shared in a consistent way, we will have to follow the model here and return a = {0: 1} from the following step:
[10: shared='a']
a=1

except for step_input and step_output which are designed to be step level variables.
If we really want to return a=1 for the above example, we will have to maintain two sets of variables. A possible implementation is that:

We define a step namespace with variables such as step_output etc. It will also contain substep variables, which should be the variable for the last substep.
We define a special variables that consists of namespaces for each substep, something like _vars. At the end of step, this _vars will contain namespaces from substeps, such as _vars={'0': {'a': 1}}.
It is up to the user how to share variables. In most cases users would simply share step level variables and

[10: shared='seed']
input: for_each={'i': range(10)}
import random
seed=random.randint(0, 10000)

will only return one of the seed. If he wants all the seeds, he can use
[10: shared={'seed': 'x["seed"] for x in _vars.values()'}]
input: for_each={'i': range(10)}
import random
seed=random.randint(0, 10000)

to get them from the _vars namespace. Of course _vars could provide some convenient function such as _vars.get('seed').

The _vars method is easy to explain because logically speaking the substeps can be considered to be executed by a for loop in the step namespace, so variables in the next substep naturally overwrite values from the previous substep (and this is exactly what has been done before concurrent=True and task were introduced). To this end we can even disable sharing variables from substeps for now  and provide _vars in a future release.

To hide _vars, we can define a whole new option shared_all (good name needed), so  that
[10: shared='seed']
input: for_each={'i': range(10)}
import random
seed=random.randint(0, 10000)

returns one of the seeds, and
[10: shared_all='seed']
input: for_each={'i': range(10)}
import random
seed=random.randint(0, 10000)

returns a list of seed for all substeps.

Implemented as
[10: shared='step_seed']
input: for_each={'i': range(10)}
import random
seed=random.randint(0, 10000)

[20]
print(step_seed)

$ sos run test
INFO: Running default_10:
INFO: Running default_20:
[9621, 9994, 8000, 7336, 3599, 7175, 8034, 3211, 4177, 9078]


Replace license crate with askalono

Resolves #147
So askalono seems to use a more complex analysis that relies in a binary cache generated from a json file. For the moment I went for adding the cache directly under resources/. In askalono-cli the json file is checked out as a submodule from this repo and the cache is generated using build.rs.
We could go with a similar approach (maybe using git subtree instead), this way we would get updates of the supported licenses and won't have to update the cache manually. Since the solution is more involved I wanted to ask first what do you think about it.

Just tested it, works like a charm! 💯

We could go with a similar approach (maybe using git subtree instead), this way we would get updates of the supported licenses and won't have to update the cache manually.

Just to be sure I understood correctly, you mean adding spdx as a subtree to onefetch in order to automatically cash the licenses (generate a license-cache.bin.gz) at compile time via a build.rs?
Sounds great @ebroto !

Yep, that's it.
Alright, I will work on it soon!

Hi @ebroto, don't you think it would be better to use spdx as a git submodule instead, so that we only get references and not a full copy of the repo.
The rest is great!!

Yes, I was hesitating about the two options and went for the subtree because it's easier to manage, but indeed it seems overkill for our needs :+1:
I will try with submodules instead. BTW thanks for the invitation to collaborate!

When I build from a fresh repo, I'm getting:
thread 'main' panicked at 'Couldn't create a store from SPDX data. Have submodules been initialized ?: Os { code: 2, kind: NotFound, message: "No such file or directory" }'

This is definitely the most elegant solution, however I don't think the license cache will change that much.
I will create a branch with your PR (to build the a new cache when changes on spdx occur) and use a static cache on master...

You can also use git clone --recurse-submodules $REPO. But yes, that was the kind of extra management I wanted to avoid initially because the user has to do extra steps. Besides of this, I think it was a good call to choose submodules over subtrees because they seem a better fit. From what I've seen, cargo and travis for example should fetch the submodules without extra configuration.
In any case, we can always go back to the first approach and bundle the cache directly in the repository. The main con for this is that we have to remember to regenerate the cache whenever we update askalono as the caches are incompatible between versions.
So what are others doing? Askalono is currently used by two crates:

askalono-cli: the CLI that comes with the library, is using the submodules approach.
cargo-deny: they have a pre-generated cache versioned in the repository.

So there is no "better" option here I think. After having tried all the options (xD), I'm thinking that we can simplify and just bundle the cache directly for now and see if it works for us.
What do you think?

Hey it seems we posted at the same time :) Did not think about the possibility you suggested, works for me!

Great, thanks again for your PR @ebroto,
If you have any suggestion/idea to improve the project, don't hesitate to keep contributing :1st_place_medal:


There is a time.sleep inside the ops template

I am unclear what this is doing and if there is a reason the containers need to be staggered by sleeping between them
https://github.com/internetofwater/scheduler/blob/8c4359887272d298ca29eff8ad426c87476aa3ba/templates/implnet_ops_SOURCEVAL.py#L348-L352

this is just to see if the container launch will timeout. not an issue. made this clearer with a comment


Try to fix CI on github action

Change v1 to v2 on GitHub action
closes #212 thanks to @sanders41

I should update all our CIs with the last version of each GHA.
I put it on my TODO.

I should update all our CIs with the last version of each GHA.
I put it on my TODO.

Yes I just wanted to tell you that

@curquiza in case you didn't already know and would find it helpful, dependabot can also keep Actions up to date. It just goes as a second package-ecosystem in your yaml file (example here for reference).
- package-ecosystem: github-actions
    directory: '/'
    schedule:
      interval: daily

Oh my god, I did not know...!!! Thank you so much! I change the task on my TODO 🤓

@eskombro It's just a guess at this point so I'm not 100% sure it will fix it. I figure it's something easy to try and at least rule out since there is a GHA bug report that seems to match this issue.

Hopefully a good guess! But great to know that Dependabot can keep actions up-to-date, I didn't know this!
Thanks @sanders41 !

bors merge

Bors merge

bors merge-

bors merge


APT whitelist request for gir1.2-networkmanager-1.0

This replaces travis-ci/travis-ci#3895.
The original text by @tomspur follows

It is used to test getting-things-gnome. Or could potentially the network be manipulated and this is a bad idea to whitelist it?

Ran tests and found setuid bits by purely textual search. Further analysis is required.
If these are found to be benign, add:
network-manager network-manager-dev libnm-glib4 libnm-glib-dev libnm-glib-vpn1 libnm-glib-vpn-dev libnm-util2 libnm-util-dev libnm0 libnm-dev network-manager-dbg gir1.2-networkmanager-1.0
See https://travis-ci.org/travis-ci/apt-whitelist-checker/builds/72545360.


setting fillAfter or fill in PathView tag

Hi
First I should say thanks for your awesome library .
If there was a property in PathView tag something like app:fillAfter="true" or app:fill="true" would be very useful , because some times we need to use it as a special SVG image view for just showing whole image without animation , I know there is some libraries for showing SVG images out there , but it would be good to have just one library that can animate SVG images and also showing them statically .
For now I'm doing it by writing PathView.setFillAfter(true); in code and setting animation duration to 1 for showing it immediately , but you know it's a little dirty :P
Also if you like I can help you in making these changes in code to merge with master branch.

Great suggestions.
Please help if you want. This is open source library and with more contributors will become better.
Thanks.

@geftimov Sure , I will try to make changes and upload it

@mobi-life Done for 1.0.9 thanks for the contributions.


fix: MissingPluginException(No implementation found for method flutterRestart on channel flutter_blue_plus/methods)

No description provided.

解决了吗，为什么我这边自动连接蓝牙也是报这个错误


Casting into to cpdef enum

Simplified code:
cpdef enum MyEnum:
    MY_VAL=2

def my_fn():
    return <MyEnum>2

I'd expect my_fn() to return MyEnum.MY_VAL, but just returns the int value.

Encountered the same thing.
FWIW this works:
cpdef enum MyEnum:
    MY_VAL = 2

def my_fn():
    return MyEnum(2)

That said, would not have expected needing the explicit construction of MyEnum.

Guessing there would need to be some alternative handling here to handle cpdef enum types conversion. Noting this in part as that code path seems to be used to generate the int coercion C code seen with this example.

Maybe this could be done by checking if it is an instance of __Pyx_EnumBase.
What do you think @scoder? 🙂

It is worth noting that using the construction workaround in comment ( https://github.com/cython/cython/issues/2732#issuecomment-1176893773 ) comes with fairly significant overhead.
cpdef enum MyEnum:
    MY_VAL = 2

def my_fn1():
    return MyEnum.MY_VAL

def my_fn2():
    return MyEnum(MyEnum.MY_VAL)

In [3]: %timeit my_fn1()
27.6 ns ± 0.394 ns per loop (mean ± std. dev. of 7 runs, 10,000,000 loops each)

In [4]: %timeit my_fn2()
398 ns ± 5.33 ns per loop (mean ± std. dev. of 7 runs, 1,000,000 loops each)

A more performant approach might be mapping preexisting MyEnum Python objects to MyEnum C values like so.
cpdef enum MyEnum:
    ZERO = 0
    ONE = 1

cdef inline _convert_MyEnum_c_to_py(MyEnum c_enum):
    if c_enum == MyEnum.ZERO:
        return (<object>MyEnum).ZERO
    elif c_enum == MyEnum.ONE:
        return (<object>MyEnum).ONE
    else:
        raise ValueError(f"Unknown `MyEnum` value: {c_enum}")

def my_fn1():
    cdef MyEnum c_enum = MyEnum.ONE
    cdef object py_enum = <object>c_enum
    return py_enum

def my_fn2():
    cdef MyEnum c_enum = MyEnum.ONE
    cdef object py_enum = _convert_MyEnum_c_to_py(c_enum)
    return py_enum

In [3]: %timeit my_fn1()
28.1 ns ± 1.42 ns per loop (mean ± std. dev. of 7 runs, 10,000,000 loops each)

In [4]: %timeit my_fn2()
79.9 ns ± 0.537 ns per loop (mean ± std. dev. of 7 runs, 10,000,000 loops each)

This still adds some overhead due to the global lookup for MyEnum, but it is unclear how this would be avoided given the nature of the check.

Guessing there would need to be some alternative handling here to handle cpdef enum types conversion. Noting this in part as that code path seems to be used to generate the int coercion C code seen with this example.

Doesn't look to go through there when I set a breakpoint there. (Although I suspect you're broadly right about where to look)

A more performant approach might be mapping preexisting MyEnum Python objects to MyEnum C values like so.

It looks to me like __Pyx_EnumBase tries to do this already so I'm slightly surprised there's so much benefit. Possibly "ordered_dict" is the wrong structure?

I agree that this behaviour should be changed. Returning the corresponding Enum object is the expected result. In the case of an invalid enum integer value, I'd also expect an exception, probably a ValueError as shown in https://github.com/cython/cython/issues/2732#issuecomment-1178383584. Cython can probably do something more efficient internally than the generic attribute lookup in (<object>MyEnum).ZERO.

Guessing there would need to be some alternative handling here to handle cpdef enum types conversion. Noting this in part as that code path seems to be used to generate the int coercion C code seen with this example.

Doesn't look to go through there when I set a breakpoint there. (Although I suspect you're broadly right about where to look)

Interesting came to that conclusion by looking at the generated C code and comparing. In particular was seeing references to that conversion code when doing <object>c_enum
That said, using the debugger seems like the more reliable way to go

A more performant approach might be mapping preexisting MyEnum Python objects to MyEnum C values like so.

It looks to me like __Pyx_EnumBase tries to do this already so I'm slightly surprised there's so much benefit. Possibly "ordered_dict" is the wrong structure?

Yeah was noticing that. Think the tricky thing is we want to lookup by int in this case, but the keys are strs for each value. Wasn't seeing a mapping that went from ints to IntEnum values, but may be overlooking something

it looks to me like __Pyx_EnumBase tries to do this already so I'm slightly surprised there's so much benefit. Possibly "ordered_dict" is the wrong structure?

Yeah was noticing that. Think the tricky thing is we want to lookup by int in this case, but the keys are strs for each value. Wasn't seeing a mapping that went from ints to IntEnum values, but may be overlooking something

So having looked in more detail, it uses Python's IntEnum on most modern versions (not the class that's listed in the utility code). If you look at that's constructor it actually have it's own int -> enum map, but presumably you're just losing time on boxing/unboxing the enum.

I agree that this behaviour should be changed. Returning the corresponding Enum object is the expected result. In the case of an invalid enum integer value, I'd also expect an exception, probably a ValueError as shown in #2732 (comment). Cython can probably do something more efficient internally than the generic attribute lookup in (<object>MyEnum).ZERO.

Thanks Stefan 🙏
Do you have a sense of where it would make sense to add conversion code like this?
Agree there is likely a better way to handle accessing the right IntEnum value. Do you have thoughts on what would be the best way to approach this?
Also guessing we can do some templating to simplify the branch logic (if that is the right way to go).

Do you have a sense of where it would make sense to add conversion code like this?

(Not Stefan but) I have a 50% written change with the conversion code in as a cdef __Pyx_Enum_{{name}}_to_py(int c_val) in CpdefEnum.pyx (and called from the PyrexTypes.CEnumType.create_to_py_utility_code function).

Agree there is likely a better way to handle accessing the right IntEnum value. Do you have thoughts on what would be the best way to approach this?

I'm not sure there's a better way to approach this - Cython doesn't look to have much special knowledge of the Python enum

Also guessing we can do some templating to simplify the branch logic (if that is the right way to go).

yes


Error: "Uncaught ReferenceError: exports is not defined"

Using Storybook with Vite (and storybook-builder-vite) I get the following error when running Storybook after installing storybook-addon-launchdarkly and adding it to the addons:
Uncaught ReferenceError: exports is not defined

storybook-addon-launchdarkly: 1.0.2
storybook: 6.4.19
vite: 2.6.10
storybook-builder-vite: 0.1.18

Add a type field with a value of module to the package.json file fixes this for me.
"type": "module"

By itself I think this will break for others. Should we look into adding conditional exports so the package works with both CommonJS and ESModules?


Feature Request: Add Option to Squash Selected Contiguous Commits

Hi there!
First of all, I want to express my appreciation for the incredible work you've done with this project! I've been searching for a well-designed, open-source Git client across Windows, macOS, and Linux for years. This tool is a breath of fresh air compared to others like SmartGit, Sublime Merge, SourceTree, LazyGit, GitHub Desktop, Gitkraken, ...
I was wondering if there's any plan to add an option to squash selected contiguous commits via a right-click menu? This feature is available in several other clients like SmartGit, GitHub Desktop, LazyGit, and Fork (if I recall correctly).
Example:
Here's a quick example of the usage from GitHub Desktop:

This feature would be incredibly useful for streamlining commit history and making the tool even more powerful.
Thanks again for your amazing work, and I look forward to hearing your thoughts on this feature request!
Best regards,
Thomas

There are several ways to do that.

You can use Interactive Rebase context menu item of selected commit. For example:

You can use Squash context menu item of commit if the target commits are starts with HEAD.
You can use Reset context menu item of the selected commit with soft mode. The re-commit the contents

BTW, you can enable Amend option while committing if you want amend your HEAD commit

@love-linger Thanks for your response. I had tested interactive rebase before posting this issue :).
My main concern is actually to find a way to quickly squash multiple consecutive commits without the need to manually select each one or figure out the right parent commit to start an interactive rebase for this purpose. The current method requires squashing manually each commit individually except for the last one which is the direct child of parent commit selected for interactive rebase (the one we have to figure out).
The feature can essentially be summed up as: "A convenient way to squash/fixup a large selection of commits."
Thanks again for your amazing work !
Thomas

But usually, the historical commit view is very complex, such as:

it mixes the commits both in current branch and other branches. It need more options to select the commits you want to squash via Ctrl+Click.

I'd like add a context menu item - Squash Commits Since This Into Parent, for the commit
that meets the following conditions:

Contains in current branch
Not the current HEAD commit

You can try it from https://github.com/sourcegit-scm/sourcegit/actions/runs/10547463901

I tested ! It's a nice quick win !! THANKS !!!
About formulation what about:

"Squash child commits into this one" ?
"Squash child commits into to here"?

Adding "child" word helps to refer to "Contains in current branch"  & "Not the current HEAD commit" IMO.
To thanks you, I can provide you a fr_FR.axaml file if you want (I seen that french translations are missing, and I'm french)
Thanks again for your work !

thanks very much.
there is already a French translation in 'develop' branch.

there is already a French translation in 'develop' branch.

Do you need a review?

I think they have done this job. See #405.

I think they have done this job. See #405.

It's not completely translated. Many values remains in full english. I will give a look ;)


Provide an example command-line app

We should provide an example command-line tool that demonstrates using yamux.  The first one that comes to mind is a socket forwarder: it listens on a socket (AF_UNIX or TCP) on one side, and multiplexes connections over stdio to its peer, which connects to a socket passed as a command-line argument.

I would propose as first example the same as in the initial Go version library from Hashicorp (https://github.com/hashicorp/yamux#usage).
The example in the README runs in less than 5 minutes and it would be nice to have a similar and compatible example in this repo.

I would propose as first example the same as in the initial Go version library from Hashicorp (https://github.com/hashicorp/yamux#usage).

Example looks like a good first start to me. @hilt0n would you like to create a pull request?

I just discovered Yamux, started diving into your lib and async Rust at the same time but once I'm more in confidence, I will try to create that.

Cool. Let us know whenever you have questions @hilt0n!

Thank you so much for creating yamux in Rust implementation.
I need yamux CLI and made it.
Repository: https://github.com/nwtgck/yamux-cli-rust/
See some examples in REAME to know how it behave and src/main.rs for the implementation. The CLI is designed like netcat for combining commands with Unix pipes beautifully.


fix duplication of class names

I have fixed the duplication issue buy adding unique = True property to the classroom model's  classname entity.

Also I have updated the views file and upload.html template to give the message info stating "classname already exists" if classname is duplicated.

Varun, we have bit of confusion on this issue, we'll reach out to you soon.

Thanks @varunmamtora06 , actually we're confused with some changes we decided before and thinking those might not needed to us aanymore. The decision is still pending but your contributions are merged in a different branch.
Thanks, Happy Hacking! :+1:

Thanks @varunmamtora06 , actually we're confused with some changes we decided before and thinking those might not needed to us aanymore. The decision is still pending but your contributions are merged in a different branch.
Thanks, Happy Hacking! 👍

ThankYou @parthpandyappp


NUnit3: Make FixedNameTestMethodBuilder the default strategy

Currently we have the known issue about manual actions for full NUnit integration support with VS and NCrunch runners. We should make the FixedNameTestMethodBuilder strategy the default one in v4, so everything works out-of-the-box.
If later user find that it needs volatile names for better diagnostic, they could change the default strategy in the way described in the known issue.

Done! Strategy will be default in v4.


update swagger spec

What
Update swagger spec to include cantabular_blob
How to review
Confirm changes are correct
Who can review
Anyone

On line 345 the values cantabular_blob and cantabular_table should be added to the enum array.


Applicable Tiltle

Why you used Applies to Dynamics 365 for Customer Engagement apps version 9.x (on-premises) this?
Is it means this page describe only on-premises functionality? How can we find knowledge about online version?

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

ID: 520667c6-a94e-2a26-1ca5-0185bafd4cc0
Version Independent ID: 086f9f42-a803-b024-3c48-66839236fa9d
Content: Make grids (lists) editable by using the editable grid custom control
Content Source: ce/customize/make-grids-lists-editable-custom-control.md
Service: crm-online
GitHub Login: @Mattp123
Microsoft Alias: matp

@AbdulWahabWarind Because of the recent changes in Dynamics 365 (online) apps with PowerApps, the associated customization content is now located in the PowerApps Docs maker sections, such as https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/make-grids-lists-editable-custom-control for the referenced topic in this issue. This is mostly due to significant changes in features and UI since the move to PowerApps. Subsequenly, the Dynamics 365 customization guide is now an on-premises only doc set, however, many topics are still relevant to online versions and will be in some cases for some time. Closing issue.


Replace magic "preview" literals with a constant

Converts all instances of "preview" to DEFAULT_NAMESPACE which is defined in typst-kit/src/package.rs.

I went around and around on the name.
I also considered PUBLIC_NAMESPACE but landed on using default as it matches the const you have for the public repository.
Please let me know your preference. I'll update the PR once I hear back.

@PgBiel, please let me know if you want something other than DEFAULT_NAMESPACE.

I'm fine with DEFAULT_NAMESPACE. Thanks!


#Overall coarse accuracy 0.9819, fine accuracy 0.5280

The model I use is /fine-cls/checkpoints/best.pth, and the dataset is dataset/2015-11-13-10-28-08;
When I run the code :"python3 visualize_and_save_data.py", I get the high coarse accuracy and low fine accuracy, I wander if I run the wrong operation.

hallo

我使用的模型是 /fine-cls/checkpoints/best.pth，数据集是 dataset/2015-11-13-10-28-08;当我运行代码 ：“python3 visualize_and_save_data.py” 时，我得到的是高粗略准确率和低精细准确率，如果我运行错误的操作，我会走神。

hello，when I use the model which is  /fine-cls/checkpoints/best.pth,it tell me that the size of the model is error ,could you tell me how to salve this problem,I would be very grateful to you


feat(VENLY-4554) EmailHint passing/handling functionality added for login flows

Needs to be merged after https://github.com/ArkaneNetwork/arkane-connect-web-java/pull/172 is deployed


Make PacketBufferHandle::Get private again.

People who need a raw buffer that they own should be calling
UnsafeRelease.  Get() should not have been made public.
Problem
The API that was made public in #17512 is too easy to misuse.
Change overview
Make it private again.
Testing
No behavior changes.

/rebase


Strict mode does not allow function declarations in a lexically nested statement

Strict mode does not allow function declarations in a lexically nested statement.
Got this error on react-native, typescript and android.

This was released as v3.0.3. Let me know how that works for you, @karpov-dn !

@jamesplease Thanks! Everything works now.

Great, I'm glad. Thanks again for the PR!


[BUG] rattling sound when connecting windows to android

Describe the bug
When I connect to 5.8GHz WiFi on my laptop, my Android is making a rattling sound.
To Reproduce
Steps to reproduce the behavior:

Go to 'your PC/laptop and connect wirelessly with your router using the 5.8Ghz band frequency. Then, start the server on your PC/laptop.
Click on 'The start icon on the app, you will hear a rattling sound.'

Expected behavior
A clear sound comes out of your Android phone, without any rattling sound.
Server (please complete the following information):

OS: [e.g. Windows 10 22H2 19045.3570]
GUI or CMD: [e.g. GUI]
Version [e.g. v0.0.14]

Android (please complete the following information):

Device: [Realme X2 Pro]
OS: [Android 11]
Version [e.g. v0.0.14]

Additional information
But when connecting to a 2.4GHz band, there is no rattling sound.

Take your phone connected with 5GHz and walk close to the WiFi router. If you can hear a clear sound, then it's a signal reason. 5GHz signal is not better than 2.4GHz when your device is far from router.

Take your phone connected with 5GHz and walk close to the WiFi router. If you can hear a clear sound, then it's a signal reason. 5GHz signal is not better than 2.4GHz when your device is far from router.

I change my router, and now there is no rattling sound. Even on the 5Ghz band


Move readme_images folder out of usempl_npp package

This PR moves the readme_images folder out of the usempl_npp package folder and updates the references in README.md to the files in the readme_images folder.

Codecov Report

Merging #39 (5538ef1) into master (2f057a4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #39   +/-   ##
=======================================
  Coverage   94.44%   94.44%
=======================================
  Files           3        3
  Lines         180      180
=======================================
  Hits          170      170
  Misses         10       10

Flag
Coverage Δ

unittests
94.44% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Updating branding to 2.1.6-servicing

Per discussion with our team, we want to make the following changes to versioning during servicing updates:

The versioning on packages with ship with ASP.NET Core should be consistent
(No change) on packages with changes in them ship during servicing updates
Version caps are okay. For example, this repo is producing a patch for 2.1.6, so packages will be 2.1.6. It did not patch for 2.1.4 or 2.1.3 so those versions will be skipped.

This also includes another minor change: for consistency with the rest of the .NET Core teams, pre-release servicing builds will be 2.1.x-servicing-buildnumber.

Thanks @natemcmaster


Model publication states with their descriptions

https://trello.com/c/7XfrouK7/90-allow-content-designers-to-edit-the-application-microcopy-m
After having this discussion for document types and supertypes, we
concluded the copy related to an item should be co-located with the
definition of the item, so that they can both change together. This also
has the advantage of better documenting what each state means.
This also solves a hierarchy issue with the previous translations for
publication states: the convention so far has been to place each
translation in a file based on the page it's being displayed on; states
buck this trend, as they're dynamic and displayed on multiple pages.
By making this change, we're treating the definition of domain concepts
(document types, supertypes, publication states) consistently.

Replaced with https://github.com/alphagov/content-publisher/pull/145.


add Debian based installation

@ThomasWollmann this is a first attempt to use the debian package. This does not include the /web folder as far as I can see ... so maybe we can get this from somewhere else and just copy it in?
If this does not work, I will try to build paraview as conda package, in bioconda we have a build-time for 2h and than we do a conda-install here.

Nice idea, but the official package has no Mesa support.

Maybe a paraview-osmesa superbuild package would be a nice contribution to the imaging community.

@ThomasWollmann the above modification will not work as you need to adjust the pathes in your configs but it outlines how I would do it.

base this image ontop of the nginx official one, maybe pinning the version
installation via conda

Hope it works!

@ThomasWollmann the rest is nginx configuration I hope.


How to add automatically an email to a group?

How to add automatically an email to a group?
I've tryed with MergeVars
var group = new Grouping()
{
Name = "Male",
GroupNames=new List(){"Gender"}
};
var merge_var = new CustomMergeVars
{
...
Groupings = new List() { group }
};
but i get this error
"0" is not a valid Interest Grouping id for the list: "list_name"
Thanks

Hi, did you ever find the way to get the id?


Num arithmetic appears to be losing precision

I've noticed recently that 'Num' arithmetic in Wren can lose precision compared to 64 bit floating point arithmetic in other languages.  Take a look, for instance, at this (rather extreme) example .
One thing that's always worried me is that System.print never displays a number with more than 14 significant digits even though, on the face of it, 15 should be safe for doubles.
This makes me wonder whether calculations are being carried out internally to a lower precision than would normally be the case for double arithmetic in C. Does anyone know whether this is in fact so and, if it is, what the reason for it is?
I'm using nowadays an x64 Linux box though I doubt whether this is a platform specific issue or, for that matter, a display issue because (as the example shows) inaccuracies can creep in well below the 15/16 digit threshold.

Considering how it rapidly converge there is obviously a bug somewhere...

Found the chosen algorithm has a bug where the precision is dependent of the order of operation. Tweaking the algorithm a little to:
import "./math" for Int
import "./fmt" for Fmt

var euler = 0.57721566490153286
var primes = Int.primeSieve(2.pow(31))
var pc = primes.count
var sum = 0
var c = 0
System.print("Primes added         M")
System.print("------------  --------------")
for (p in primes) {
    var rp = 1/p
    sum = (1-rp).log + rp + sum
    c = c + 1
    if ((c % 1e7) == 0 || c == pc) Fmt.print("$,11d   $0.12f", c, sum + euler)
}

produce the expected output (identical to the Go reference implementation):
Primes added         M
------------  --------------
 10,000,000   0.261497212987
 20,000,000   0.261497212912
 30,000,000   0.261497212889
 40,000,000   0.261497212878
 50,000,000   0.261497212871
 60,000,000   0.261497212867
 70,000,000   0.261497212864
 80,000,000   0.261497212862
 90,000,000   0.261497212861
100,000,000   0.261497212859
105,097,565   0.261497212858

Wow, thank you - that's a relief :)
I actually tried changing the order of the operations in that line but I didn't think to put 'sum' at the end.
I guess the next question is why does changing the order make a difference.  Could be due to the fact that Go is using a compound operator (+=) which we don't (yet) have but that's a question for another day.
Closing the issue now.

Yeah,  the defence against this (which frankly I should have remembered) is to sum the 'smallest'  numbers first and then add the result to the 'biggest' number.
In this example, after a lot of iterations, log(1 - 1/p) was very close to 1/p apart from the sign, so adding those two first maximized precision.
Go etc. were using  += and so would have done this automatically.
Anyway, the important thing is that this was just an issue with my code and not a bug or restriction in Wren itself.
So thanks again for figuring it out :)

No problem, it was quite trivial. It took e more time to setup the test
case, than find the issue.


Speed up image loading

The images are loading slowly on the app. Some ideas could be:

optimize images/file size to speed things up
figure out alternative image hosting/storage idea

Can I try this one @jischr ?

Sure thing!

@jischr I searched for some methods on google and found that ImageKit.io can be used to optimize images in realtime.

this has been completed.