re-factored features arg

Standardized feature args to in_features and out_features, since NNX uses both in/out_features and features_in/out, while Linen only uses in/out_features.

Codecov Report
Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (2e51a4e) 56.17% compared to head (aa1703b) 56.17%.
Report is 4 commits behind head on main.

Files
Patch %
Lines

flax/experimental/nnx/nnx/nn/attention.py
83.33%
1 Missing :warning:

flax/linen/attention.py
0.00%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3554   +/-   ##
=======================================
  Coverage   56.17%   56.17%
=======================================
  Files         100      100
  Lines       11890    11890
=======================================
  Hits         6679     6679
  Misses       5211     5211

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

This is great, thanks!


Create custom workflows for two collections: teaching_submissions, clariah_submissions.

Excel Notes: Check PR: https://github.com/ufal/clarin-dspace/commit/ebe982901ba25cd5be468b95dfec8560f694a0ec Note: form-namehas changed tosubmission-name. These two workflow types has a custom configuration, it must be configured properly`
2024/Apr/18:
That two collections were added into submission-forms and I tested it locally.
I discovered that:

FormattedDate is missing (?)
date-picker is missing (?)
type-bind = edm.type - missing (Exists issue)
dropdown with autocomplete  (Exists issue)
twobox with autocomplete (Exists issue)


v3 CommandPalette: Open only content within popper

For what version of Nuxt UI are you suggesting this?
v3.0.0-alpha.x
Description
CommandPalette is great but I wish it could display only an input by default and then open the content in a popper when clicking in the input. I think this is currently not possible but a very common use case.
This is what I would like to archive, screenshots from Shopify:

Additional context
No response

This looks like a job for the InputMenu component: https://ui3.nuxt.dev/components/input-menu

I was considering InputMenu. But as far as I see it has less features, e.g. grouping and kbds are missing. And it should be more a search and select, then the whole thing gets removed and replaced. While InputMenu is more search and autofill the input.

What I also noticed is that when using ignoreFilter on the group that contains the actions, the group goes to the bottom but they should stay at the top:
const groups = ref([
  {
    id: 'actions',
    items: [
      {
        label: 'Add customer',
        icon: 'material-symbols:add-circle-outline',
      },
    ],
    ignoreFilter: true,
  },
  {
    id: 'customers',
    items: [
      // ...
    ],
  },
]);

Grouping is possible: https://ui3.nuxt.dev/components/input-menu#items
You can pass create-item="always"
There is also an ignore-filter prop

If you want to use the CommandPalette in a popper, you can do it in a Popover for example: https://ui3.nuxt.dev/components/command-palette#within-a-popover

The ignoreFilter groups are indeed at the bottom, since other groups are computed based on Fuse score.

If you want to use the CommandPalette in a popper, you can do it in a Popover for example: https://ui3.nuxt.dev/components/command-palette#within-a-popover

I know, but not just for the content :(

The ignoreFilter groups are indeed at the bottom

It would be great if the groups order stay the same IMO

How would that be possible? Take a look at the command palette on the docs: https://ui3.nuxt.dev/getting-started, when you make a search results are sorted based on your search.

Maybe we can save the index of the groups with ignoreFilter and put them back at their place, will think about this!

Shouldnt all groups keep their order? And the search-filter should be applied to each group individually?

I still don't understand why you can't use the InputMenu component, it's made exactly for this. You can open it on focus like described here: https://ui3.nuxt.dev/components/input-menu#control-open-state-on-focus

If you take a look at Raycast or any other command palette, results are sorted based on the relevance of the query.

But for what reason is there a group feature if it gets removed as soon as one searches? :)

To be splitted and have a label?

https://cmdk.paco.me/

I'm sorry I don't want to argue all night 😅 Closing this since the thread has diverged from the original request. I'll think of something to keep the groups fixed with ignoreFilter!

I dont want to argue too :D
It feels a bit weird to me because first the user has groups and as soon as he starts typing the groups are gone. On the other hand that is what I would expect when using a search like Spotlight.
I guess both uses cases are valid. Keeping the groups and filter them separately might be very useful for certain scenarios too.

Here we have groups for the results (I am quite bow)

@MickL Could you try https://github.com/nuxt/ui/pull/2833?

Looks VERY good to me!
Before, group order was random:

Now groups keep their order:


Replace Complement with Shapeless's new RemoveAll

Now that RemoveAll is in the Shapeless 2.3.0 snapshot we can kill Complement and Insert (which were terribly named, anyway).
I do still prefer the approach to Outs here (fewer tuples), but RemoveAll is the way it is for consistency with similar type classes in Shapeless.

Current coverage is 68.64%

Merging #80 into master will decrease coverage by -0.38% as of 3eccacb

Powered by Codecov. Updated on successful CI builds.


Enable ruff isort

I merged the ruff PR too quickly without checking that isort is enabled

It's sort of surprising how a pr that was not marked as ready can be merged without checking back with the author, given that it has a clear todo on the comments..


Is there any way to retrain model with new sentences?

hi, Is there any way to retrain model with new sentences?

Does this idea help you? https://github.com/stanfordnlp/GloVe/issues/62


http error occurs when star a problem

🐛 Bug Report
unable to star and unstar, but submit, test, solution, description works fine

Extension Output
- star
[ERROR] http error [code=400]
- star
(node:2896) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
[ERROR] http error [code=400]
- star
(node:2924) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
[ERROR] http error [code=400]

Your Environment

os: Darwin arm64 21.5.0
extension settings:
nodejs version: Node.js v18.8.0
vscode version:  1.74.2
extension version: v0.18.1

你好，我看了网上说这个报错是node循环依赖，我对node不了解，请问你这个问题解决了吗？


Fix build after ToRESTConfig signature change

Problem
https://github.com/rancher/rancher/pull/44925 broke the build - for some reason it was not caught by CI.
+ go build -tags k8s -gcflags=all= -ldflags '-X github.com/rancher/rancher/pkg/version.Version=6cb38f2fa
   -X github.com/rancher/rancher/pkg/version.GitCommit=6cb38f2fa
   -X github.com/rancher/rancher/pkg/settings.InjectDefaults={"rke-version":"v1.5.3"} -extldflags -static -s' -o bin/rancher
...
...
# github.com/rancher/rancher/pkg/multiclustermanager
pkg/multiclustermanager/routes.go:97:76: cannot use clustermanager.ToRESTConfig (value of type func(cluster *"github.com/rancher/rancher/pkg/apis/management.cattle.io/v3".Cluster, context *"github.com/rancher/rancher/pkg/types/config".ScaledContext, secretLister "github.com/rancher/rancher/pkg/generated/norman/core/v1".SecretLister, reconnect bool) (*"k8s.io/client-go/rest".Config, error)) as requests.restConfigGetter value in argument to requests.NewServiceAccountAuth

Fix is trivial - add a missing parameter.

@pmatseykanets or @crobby can you have a quick look and approve this for merging?


CoreDNS (Forbidden): Forbidden (user=kubernetes, verb=get, resource=nodes, subresource=proxy) ( pods/log coredns-8494f9c688-4mhgx)

After i applied the coredns 1.8 yaml  deployment, the pods are stuck in ContainerCreating
The logs show the following error:
Error from server: Get "https://node.vm-centos-node1:10250/containerLogs/kube-system/coredns-8494f9c688-4mhgx/coredns": dial tcp: lookup node.vm-centos-node1 on <IP_ADDRESS>:53: no such host

I have added the hostnames and their ips in /etc/hosts on master nodes (not sure if this is the correct approach) , and then this error showed up
Error from server (Forbidden): Forbidden (user=kubernetes, verb=get, resource=nodes, subresource=proxy) ( pods/log coredns-8494f9c688-4mhgx)

I am using kube 1.21.0 but i am doing all of the steps in a libvirt virtual machine with 5 nodes (2 worker, 1 master, 3 etcd, 1 loadbalancer)
If somebody could explain why it is not working or what have i missed. Or maybe some ways to debug this problem

have you change the the kube-apiserver startup script to enable RBAC  authorization mode with
“--authorization-mode=Node,RBAC”

I had the RBAC authorization added to the startup script.
I no longer have the setup files but I believe the problem was also related to the specs of the virtual machines being too low (1 cpu , 2gb ram).
I am also gonna close this issue because there's no point in keeping it if I no longer have the files.


Lua: moving some package to the luarocks whitelist

Motivation for this change
Should be easier to maintain in the long run.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

CC @7c6f434c

In my tests 6 months ago with similar packages it worked out fine. I am just worried for mac users but luarocks should adapt its buildprocess accordingly.

regarding the darwin failure, the chmod is done by luarocks so I wonder what's wrong, maybe it gets a wrong shell  sh: sw_vers: command not found.
Is the build flaky https://hydra.nixos.org/job/nixpkgs/gcc8/luaPackages.lgi.x86_64-darwin ?

These are stop signs, not crosses — there are two successful builds and two manually cancelled ones

@GrahamcOfBorg build luaPackages.basexx

@GrahamcOfBorg build luaPackages.basexx luaPackages.mpack neovim

chmod problem is still there…

@GrahamcOfBorg build luaPackages.basexx luaPackages.mpack

@GrahamcOfBorg build luaPackages.basexx luaPackages.mpack

Apparently the patching of sw_vers doesn't happen

Apparently we let some wrong chmod into the build; the chmod command comes from stdenv's unpackPhase (can be turned off via dontMakeSourcesWritable)

Coming from here:
https://github.com/NixOS/nixpkgs/blob/ae8ae1de154b433dcefa3d23aa3905579179b474/pkgs/development/tools/misc/luarocks/setup-hook.sh#L12
${unzip} is expanding to nothing, and so /bin is added to PATH.

@alyssais Thanks for the explanation.

@GrahamcOfBorg build luaPackages.basexx luaPackages.mpack luaPackages.lgi neovim

@GrahamcOfBorg build luaPackages.basexx luaPackages.mpack luaPackages.lgi neovim

@GrahamcOfBorg build luaPackages.basexx luaPackages.mpack luaPackages.lgi neovim
Aarch64 failure seems to be ENOSPC while building LLVM for Mesa for lgi

I asked on nixos-dev for the machine to be fixed so hopefully there should be no space problem anymore. if darwin passes, I may move unzip to nativeBuildInputs. Is it going to be propagated ? in case someone wants to run luarocks unpack <src.rock> (is nativePropagatedBuildInputs a thing  ?)

The manual says yuo spell it wrong. propagatedNativeBuildInputs as per https://nixos.org/nixpkgs/manual/#ssec-stdenv-dependencies


Moving source files between folders in large repo (~8GB) causes Javascript heap out of memory error

Originally posted by @ntaylorcertinia in https://github.com/forcedotcom/cli/discussions/2682#discussioncomment-9497719
Summary
We were testing the new Source Mobility (BETA) feature with one of our larger repos and got a FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory.
The repo we used is ~8GB in size and has enough metadata that it requires breaking the push into multiple stages to completely deploy all source in the project. The push in question, when run without Source Mobility enabled, was pushing ~1700 files.
Steps Followed:

Installed the nightly CLI build
Set SF_BETA_TRACK_FILE_MOVES=true
Merged develop (our main source branch) into my local project.

This merge moved several types of metadata files into new folders (Apex Classes, LWCs, Custom Labels, and more)

Attempt to push source

NOTE: The new source decomposition feature was not used during this test.
Expected Result
The source push succeeds within 5-10 minutes.
Actual Result
The CLI seemed to hang for 10-15 minutes, then terminated with FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
We ran the command again with --max-old-space-size=8000 to give it a bit more memory and see if it could run. It ran for about an hour and then threw the same error.
Additional Tests

Manually moved a single labels file from one package directory to another and tried the push again to see if the issue stemmed from the size of the push or the size of the repo. Unfortunately, we got the same error.
Tested with a smaller repo (fewer files). This worked quite nicely so it seems that primarily it is just large repos that don't work currently.

Note that the push had a noticeable delay before it started, which also happened if a lot of files have changed.
It just looks like it is hanging as there is no visible feedback to the user.
It would be good to put a message like "Scanning changes" here to make it clear to the user something is happening.

Additional Information
<--- Last few GCs --->

[34733:0x140008000]   569555 ms: Scavenge 3989.5 (4132.9) -> 3986.5 (4132.9) MB, 29.42 / 0.00 ms  (average mu = 0.761, current mu = 0.643) allocation failure;
[34733:0x140008000]   569760 ms: Scavenge 3990.8 (4132.9) -> 3988.8 (4132.9) MB, 39.04 / 0.00 ms  (average mu = 0.761, current mu = 0.643) allocation failure;
[34733:0x140008000]   570021 ms: Scavenge 3994.0 (4132.9) -> 3991.3 (4148.9) MB, 71.96 / 0.00 ms  (average mu = 0.761, current mu = 0.643) allocation failure;

<--- JS stacktrace --->

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----

 1: 0x104e5d0ac node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/Users/nicholastaylor/.nvm/versions/node/v20.12.0/bin/node]
 2: 0x104fe2ff4 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/Users/nicholastaylor/.nvm/versions/node/v20.12.0/bin/node]
 3: 0x1051b753c v8::internal::Heap::GarbageCollectionReasonToString(v8::internal::GarbageCollectionReason) [/Users/nicholastaylor/.nvm/versions/node/v20.12.0/bin/node]
 4: 0x1051b6018 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/Users/nicholastaylor/.nvm/versions/node/v20.12.0/bin/node]
 5: 0x1051ac830 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Users/nicholastaylor/.nvm/versions/node/v20.12.0/bin/node]
 6: 0x1051ad090 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Users/nicholastaylor/.nvm/versions/node/v20.12.0/bin/node]
 7: 0x1051919c4 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/Users/nicholastaylor/.nvm/versions/node/v20.12.0/bin/node]
 8: 0x1051889cc v8::internal::FactoryBase<v8::internal::Factory>::NewConsString(v8::internal::Handle<v8::internal::String>, v8::internal::Handle<v8::internal::String>, int, bool, v8::internal::AllocationType) [/Users/nicholastaylor/.nvm/versions/node/v20.12.0/bin/node]
 9: 0x105188498 v8::internal::FactoryBase<v8::internal::Factory>::NewConsString(v8::internal::Handle<v8::internal::String>, v8::internal::Handle<v8::internal::String>, v8::internal::AllocationType) [/Users/nicholastaylor/.nvm/versions/node/v20.12.0/bin/node]
10: 0x1050054ac v8::String::Concat(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>) [/Users/nicholastaylor/.nvm/versions/node/v20.12.0/bin/node]
11: 0x104d87428 node::UVException(v8::Isolate*, int, char const*, char const*, char const*, char const*) [/Users/nicholastaylor/.nvm/versions/node/v20.12.0/bin/node]
12: 0x104e62d34 node::fs::FSReqAfterScope::Reject(uv_fs_s*) [/Users/nicholastaylor/.nvm/versions/node/v20.12.0/bin/node]
13: 0x104e642ec node::fs::AfterScanDir(uv_fs_s*) [/Users/nicholastaylor/.nvm/versions/node/v20.12.0/bin/node]
14: 0x104e4ca9c node::MakeLibuvRequestCallback<uv_fs_s, void (*)(uv_fs_s*)>::Wrapper(uv_fs_s*) [/Users/nicholastaylor/.nvm/versions/node/v20.12.0/bin/node]
15: 0x10582a6f8 uv__work_done [/Users/nicholastaylor/.nvm/versions/node/v20.12.0/bin/node]
16: 0x10582e148 uv__async_io [/Users/nicholastaylor/.nvm/versions/node/v20.12.0/bin/node]
17: 0x105840220 uv__io_poll [/Users/nicholastaylor/.nvm/versions/node/v20.12.0/bin/node]
18: 0x10582e70c uv_run [/Users/nicholastaylor/.nvm/versions/node/v20.12.0/bin/node]
19: 0x104d816f0 node::SpinEventLoopInternal(node::Environment*) [/Users/nicholastaylor/.nvm/versions/node/v20.12.0/bin/node]
20: 0x104e9c918 node::NodeMainInstance::Run(node::ExitCode*, node::Environment*) [/Users/nicholastaylor/.nvm/versions/node/v20.12.0/bin/node]
21: 0x104e9c698 node::NodeMainInstance::Run() [/Users/nicholastaylor/.nvm/versions/node/v20.12.0/bin/node]
22: 0x104e1bd1c node::Start(int, char**) [/Users/nicholastaylor/.nvm/versions/node/v20.12.0/bin/node]
23: 0x1920a20e0 start [/usr/lib/dyld]
[1]    34733 abort      sfdx project deploy start -c

Did a bit of digging into what seems to be consuming the resources here and I suspect that it is the git.walk() found here https://github.com/forcedotcom/source-tracking/blob/bde6cfc2104b22bb8209a93a9dc7aa86af58e9f4/src/shared/localShadowRepo.ts#L399
This is recursively searching the entire repo including all of the non-package related code that is used for tooling, etc. If this could be pared down to only scan the package directories I suspect that would result in a significant reduction in time and heap usage.

@ntaylorcertinia Can you try this with the new nightly release?  I think it's fixed based on local test performance but I don't have your repo to confirm it.

@mshanemc I have given it a simple test moving one file and it looks promising, no heap issue and only a few second hang before it starts pushing. The feature itself seems to work as well.
Will give it more of a full test tomorrow

@mshanemc giving it a bit more of a test today still seem to be running into some issues, the heap problem seems fixed;

Move 1 file and push - hangs for a few seconds the pushes successfully
Move 1600 files and push - hangs for ~2 minutes then pushes successfully (this is where the lack of any logging in the terminal is noticed most as it seems to do nothing before the 2 minutes is up)
Move 1 file, make a change in that file, and push - this has the same hang for a few seconds at the start, the push then begins gets to 2/2 files pushed (the 1 moved/changed class file and the .xml file for that) but then just hangs there forever never seeming to end. I tried this on 3 different orgs and all showed the same result

It's kinda tricky to emit terminal output from inside the library to the CLI plugin (because this same code might be running as part of VSCode extensions, in --json mode, etc).    There's definitely logs happening in there, though.

let me check that out. If the file contents don't match there shouldn't be anything else new happening--all this new logic should exit and move on to the deploy.

Had a bit more of a play for scenario 3 today to make sure it wasn't an org issue on Friday it is definitely a weird one. Left the deploy that wasn't finishing running async over the weekend and it never did finish. Cancelled it this morning and can't push to that org anymore so it is functionally broken as can't interact with it anymore. Tried out a few more combinations to try narrow down what might be happening, didn't get any further but it might help to list out exactly what I am doing

Change a unit test file adding System.debug('Test');, and push. This works and the file pushes successfully.
Move the unit test file from its current folder (called force-app/test/unit/classes) to another folder (force-app/test/unit-other/classes) and push. This works and doesn't actually push to the org as expected, though I do get Warning: Glob alValueSet, Start_End_Time__gvs, returned from org, but not found in the local project in the output and a progress bar which I think is related to https://github.com/forcedotcom/cli/issues/2870
Remove the debug from the file and move it back to its original folder. The deploy never completes and the org is completely unable to be pushed to even if I cancel the deploy from the org. This also happens if the file is moved to another folder than the original one

Turning off the file move tracking and following the same steps

Change a unit test file adding System.debug('Test');, and push. This works and the file pushes successfully.
Move the unit test file from its current folder (called force-app/test/unit/classes) to another folder (force-app/test/unit-other/classes) and push. Deletes the file from the org as expected with the new feature turned off.
Push again, puts the file back in the org
Remove the debug and push again. Finishes successfully

@ntaylorcertinia nightly is ready for you to try the "move, then edit" scenario.
Thanks for trying that...the original design for this on the Discussion (comparing hashes, etc) wasn't going to solve that, and expecting people to run deploy preview in between the move and the edit isn't a good experience.

This issue was fixed in version 2.46.6 (June 19, 2024).


Add an example for using a function as a mappingHint

I wouldn't say this is of the utmost importance, to be sure, but I didn't really understand how to usemappingHint despite the explanation in the docs that seems clear now. I just added another example and an example output for additional clarity.

Great. Thanks!


[Bug] Pickaxes are broke

Seems like pickaxes are just as good as swords. They aren't even good enough to break smooth stone. I think you may have classified them as a Sword or something because they aren't made to break Blocks.
MC Version: 1.16.4
Fabric Version: 0.11.1
Mod Version: 1.2.2

Yeah in the currently released version I accidentally marked all the pickaxes as axes I just haven't had time lately to work on the mod that much this last week. I'm working on fixing right now

Yeah in the currently released version I accidentally marked all the pickaxes as axes I just haven't had time lately to work on the mod that much this last week. I'm working on fixing right now

This bug has been fixed as of version 1.2.4

This bug has been fixed as of version 1.2.4


Refactored the location of package management

Package management was being done before commands were run. I thought it best to condense this within the bug report. I did this by performing the following:

Creating an array of utilities we are installing
Iterating over this array and creating an array of utilities pending install
Install all of the utilities at once as opposed to doing them one a at a time

My aim was to make this easier to read, more modular, and to reduce the time it takes to run the bug report.

Additionally the commands are not the same as the apps that need to be installed so there needs to be an associative array like this:
# Declare an associative array for utilities and their packages
declare -A utilities
utilities=(
    ["smartctl"]="smartmontools"
    ["ibstat"]="infiniband-diags"
    ["ipmitool"]="ipmitool"
    ["sensors"]="lm-sensors"
    ["iostat"]="sysstat"
    ["lshw"]="lshw"
)

pending_install_packages=()

# Iterate through utilities and create an array of packages pending install
for u in "${!utilities[@]}"; do
    if ! command -v $u >/dev/null 2>&1; then
        pending_install_packages+=("${utilities[$u]}")
    fi
done


Decompose_fit outputs entirely different signatures

Hi there,
I've been using the SigProfilerExtractorR tool to perform signature extraction and I'd like to view the signature decomposition results for multiple solutions (not just the suggested solution). I installed the latest version of SigProfilerAssignment with pip in a clean conda environment and run decompose_fit on the SigProfilerExtractorR signature output (SBS96_S7_Signatures.txt) alongside the original sample input .txt file. Both signature extraction and decomposition are done with GRCh38 as reference.
The job runs well and it outputs 2 folders, the de novo solution and the decomposed. The only issue is, the signatures in the de novo solution folder match those from SigProfilerExtractor, but the ones being decomposed in the other folder look nothing alike.
SBS_96_plots_De_Novo.pdf
SBS96_Decomposition_Plots.pdf
The exact command run is:
from SigProfilerAssignment import Analyzer as Analyze
def main():
Analyze.decompose_fit(samples,output,signatures=signatures,genome_build="GRCh38",verbose=True)
if name == 'main':
main()
I also checked the decomposition results from SigProfilerExtractorR (1.1.0) for the suggested solution. Whilst the decomposed version is using the right signatures, the reconstructions are very poor and seem to include mutational classes that were entirely absent in the original.
SBS_96_plots_SBS96_De-Novo.pdf
SBS96_Decomposition_Plots.pdf
For reference, the SigProfilerExtractor commands are:
library(reticulate)
use_python("/home/dnaro/.conda/envs/torchcuda/bin/python")
library(SigProfilerExtractorR)
sigprofilerextractor(input_type = "matrix",
output = output, input_data = samples, reference_genome="GRCh38", opportunity_genome="GRCh38",
minimum_signatures=1, maximum_signatures=15, nmf_replicates=100, cpu=4, gpu=F, batch_size=1)
Do you have any idea what might be causing these issues with the decomposition function?
Thanks in advance,
Maia

Dear @maia-munteanu,
Thanks for reaching out. Could you please try to reproduce this using the latest version of SigProfilerExtractorR? Also, it would be great if you could share the SBS96_S7_Signatures.txt file that you are using as input de novo signatures, and the samples.txt file used as input mutational matrix for the decompose_fit function.
Thanks again for your interest. Best,
Marcos

Dear Marcos,
Thank you for getting back to me so quickly!
I will try to replicate the issue with new newest SigProfilerExtractorR version. In the meantime, I've attached all the files inputted into the decompose_fit function (signatures and samples). I also added the activities file, if it helps in any way.
nmf_248_samples.txt
SBS96_S7_NMF_Activities.txt
SBS96_S7_Signatures.txt
Thanks,
Maia

Dear Maia,
Thanks for sharing! As I suspected, the order of the mutational types in your samples and signatures files differs from the one used in the most recent versions of all SigProfiler tools (you can see an example here). If you use the latest versions, this issue should be solved. But please, feel free to get back to us if this is not the case.

Dear Marcos,
Thank you for help, it seems that updating to the newest version of SigProfilerExtractorR fixed the first issue, not the signatures being decomposed are the same as the original (and you were right, the order of the mutation classes was different between versions). However, I still seem to be getting rather strange decomposition results where some signatures are added which don't make a lot of sense.
I've attached the new files for signatures, activities and the decomposition plots.
SBS96_Decomposition_Plots.pdf
SBS96_S7_Signatures.txt
SBS96_S7_NMF_Activities.txt
Thanks,
Maia

Dear Maia,
It seems that you are still using the same nmf_248_samples.txt input mutational matrix file, and that may be causing your error. You need to modify the order of the rows to be in the same format as expected by the SigProfiler tools, and rerun both SigProfilerExtractor and SigProfilerAssignment.
This is an example of an input mutational matrix with the rows in the required order. Please note that, for example, the first six rows are A[C>A]A, A[C>A]C, A[C>A]G, A[C>A]T, A[C>G]A, A[C>G]C; instead of your file, which has as first six rows A[C>A]A, A[C>A]C, A[C>A]G, A[C>A]T, C[C>A]A, C[C>A]C.
I hope this helps, and please let me know if you have further questions.

Dear Marcos,
Thanks a lot! Sorting both the samples file and the outputted signatures file alphabetically did the trick!
Maia


[Event Change] Database::"Requisition Line" - Function CalcEndingDate - OnBeforeCalcEndingDate

We like to request the following Event:
Object: Database::"Requisition Line"
Function: CalcEndingDate
Publisher Event: OnBeforeCalcEndingDate
Reason: add an extra Parameter
Where is the event placed:
Event Code:
[IntegrationEvent(false, false)]
local procedure OnBeforeCalcEndingDate(var LeadTime: Code[20]; var Rec: Record "Requisition Line")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Add support for Rails 8

Thanks for the bump. v0.1.8 has been released with support for Rails 8.0.


pictures missing after restart

after running restart-containers.sh all pictures in media directory are missing
actually I use SW 5.2.20 with php7 but I had this problem already since 5.2.12

Hello - I guess you need to mount the directories.
In local or production development we always create volumes for certain Shopware directories.
Here are the volumes from a sample docker-file:
volumes:

".log:/shopware/var/log"
".files:/shopware/files"
".media:/shopware/media"
".community-plugins:/shopware/engine/Shopware/Plugins/Community"
".cache/:/shopware/web/cache/"

Then even when you remove the image, you will have the log, the files and media and the downloaded community plugins.

Great Idea to mount the media directory!
I didn't think about that way.
Thank you!

No probs :)
Sometimes, when you use mounted directories, you may have a problem with their rights inside the container.
I.e. if you go into the container shell, they will not be owned by www-data.
If this happens, simply call /swtools/prepare-dirs.sh inside the container.
or docker-compose exec shop /swtools/prepare-dirs.sh


Error: Method 'readState' cannot be called on 'PageStorageBucket?' because it is potentially null

I'm using Flutter 3.3.8v
Full error is:
../../development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_carousel_widget-2.0.2/lib/src/_flutter_carousel_widget.dart:368:22: Error: Method 'readState' cannot be called on 'PageStorageBucket?' because it is potentially null.
 - 'PageStorageBucket' is from 'package:flutter/src/widgets/page_storage.dart' ('../../development/flutter/packages/flutter/lib/src/widgets/page_storage.dart').
Try calling using ?. instead.
                    .readState(storageContext) as double?;
                     ^^^^^^^^^

Looks like the solution is easy, but not sure if compatible with older versions of flutter.

Hi @xAlstrat,
Which package version are you using?
Thanks
Nikhil

I came here for the same problem, since yesterday this issue is happening
using the version 2.0.2

okay, let me check the issue.

Hi there I faced the same issue at  flutter_carousel_widget: ^2.0.2. Kindly tell me the solution

Hey,
Either upgrade Flutter to the latest version or downgrade the package version to 2.0.1
Thanks

Hi there,
Issue still persists with downgrade to 2.0.0 and 2.0.1 Any other ideas?
Regards,

Hi there,
Issue still persists with downgrade to 2.0.0 and 2.0.1 Any other ideas?
Regards,

Hi there,
Solution is to upgrade Flutter, run flutter upgrade in any terminal
Thanks


Add IAsyncDisposable implementation to Timer

Port https://github.com/dotnet/coreclr/pull/20646 to corert

@dotnet-bot test this please

@dotnet-bot test this please

@jkotas, @morganbr, are these WebAssembly legs expected to fail?
No activity in 10 seconds. Quitting web server with return code 99999. (--silence_timeout option)
HelloWasm: fail - 99999

This is know infra issue. You can ignore it.

Ok, thanks.


chore:  add some typing in tests

Pytest fixtures are great but there is no autocompletion / discoverability in IDE.
It's just a suggestion PR to improve DX

👍 thanks.


update subcomand should check if latest version is installed, if not, installs it.

Motivations
At the moment, espup update, does not check if the latest version is updated. It will just uninstall the current toolchain and install the default (hardcoded) version.

We should avoid having the latest version hardcoded at all. Related with https://github.com/esp-rs/rust-build/issues/125

We use update-informer in espflash for checking updates, allows you to specify either crates.io or GitHub as the distribution source, pretty nice.

Thanks for sharing it! It looks really useful, although it won't solve this issue as what we need to check is rust-build/releases. Maybe we could use what you suggested in rust-build#125 but  jq is not always present and, we also have to deal with Windows.
We could also use https://github.com/esp-rs/rust-build/releases/latest but, we still need the version as its in the name of the artifacts. E.g rust-<IP_ADDRESS>-x86_64-apple-darwin.tar.xz

Maybe a bit of an odd approach, but if there are releases on GitHub available those same versions should be available on crates.io. update-informer will give you the version number of the latest version published on crates.io, so you could use that in turn to pull artifacts from GitHub with a known version number.

Actually scratch that, you can specify the repo if using GitHub:
use update_informer::{registry, Check};

let informer = update_informer::new(registry::GitHub, "owner/repo", "0.1.0");
informer.check_version();


loops: repeat and forever

Moves repeat from Seqs to Loops and introduces a new forever method to loop indefinitely.

I'm merging this PR to follow up with a new IOs impl based on Defers. Please feel free to provide feedback here!


CI: Fix sed script

Fix the regex pattern to use [:blank:] instead of \b as word boundary in order to enable BSD sed to interpret.

Codecov Report

Merging #6146 into master will increase coverage by 0.37%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #6146      +/-   ##
==========================================
+ Coverage   86.93%   87.31%   +0.37%
==========================================
  Files         141      141
  Lines      157140   157151      +11
==========================================
+ Hits       136609   137212     +603
+ Misses      20531    19939     -592

Impacted Files
Coverage Δ

src/if_ruby.c
89.55% <ø> (ø)

src/netbeans.c
74.66% <0.00%> (-0.30%)
:arrow_down:

src/drawline.c
84.57% <0.00%> (-0.21%)
:arrow_down:

src/userfunc.c
93.03% <0.00%> (-0.12%)
:arrow_down:

src/channel.c
89.83% <0.00%> (-0.04%)
:arrow_down:

src/eval.c
96.79% <0.00%> (ø)

src/version.c
92.13% <0.00%> (ø)

src/terminal.c
90.97% <0.00%> (+0.03%)
:arrow_up:

src/vim9compile.c
92.98% <0.00%> (+0.04%)
:arrow_up:

src/screen.c
86.01% <0.00%> (+0.04%)
:arrow_up:

... and 39 more

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 45a1508...57db1e5. Read the comment docs.


Update AIESerializer for end-to-end example

With these changes, the pass pipeline for the matmul example (4-core, pack and peel) that was previously defined in the transform dialect can now be run using only C++ passes defined in this repository.
The output TIR is identical to the one obtained before, the commands to use are as follows.
Compilation to mlir:
tools/iree-compile --iree-hal-target-backends=amd-aie --compile-to=executable-sources ../iree-amd-aie/tests/samples/pack_pipeline_funcIR.mlir | tools/iree-opt --pass-pipeline="builtin.module(hal.executable(hal.executable.variant(iree-hal-translate-target-executable-variants{target=amd-aie})))" --iree-amdaie-use-pipeline=pack &> ../incubator-tvm/apps/aie/asr/iree_results_4core.mlir
Translation to TIR:
./tools/iree-aie-translate --serialize-accel --allow-unregistered-dialect ../incubator-tvm/apps/aie/asr/iree_results_4core.mlir -o ../incubator-tvm/apps/aie/asr/matmul_16x256x256_4core.txt
Update: Also the tests are consistent with the recent changes now.

Thanks for making the corresponding changes in translator! Now my PR is merged, please rebase.

Thanks for making the corresponding changes in translator! Now my PR is merged, please rebase.

Great, I just rebased.


Removed a redundand 'resolve' in SimpleFileDialog by reusing the alre…

…ady queried stat data.

This PR fixes #99384
Removed the redundant call to 'resolve' when creating items in the CimpleFileDialog by reusing the stat data already available for each item.

Thank you for the fast review!


Move KryoHelper to use it for different processes communication

Description
KryoHelper was located inside the instrumentation process.
I would like to use this serialization tool for communication with Spring analysis process too, so I moved it to the common project.
How to test
Manual tests
Verify that there is no regressions is serialization in instrumented process.
Self-check list

[x] I've set the proper labels for my PR (at least, for category and component).
[x] PR title and description are clear and intelligible.
[x] I've added enough comments to my code, particularly in hard-to-understand areas.
[ ] The functionality I've repaired, changed or added is covered with automated tests.
[ ] Manual tests have been provided optionally.
[x] The documentation for the functionality I've been working on is up-to-date.

You probably want to move KryoHelper.kt as well


Correcting PactTestFor.port-doc, default is indeed 0

The documentation at PactTestFor.port says, port 8080 would be chosen as default. As can be seen in https://github.com/DiUS/pact-jvm/blob/master/pact-jvm-consumer-junit5/src/main/kotlin/au/com/dius/pact/consumer/junit5/PactConsumerTestExt.kt#L102 , indeed port 0 is chosen, which will cause the MockServer being started at a random, free port.

Good catch!


DF Chat Enhancement: Archive Sort Option

Suggestion
When saving chat archives using a date filename (10-23-21 for example), the oldest entries are at the top. It would be nice to have a way to change sort to Z->A for those of us who use dates for archive names (which I would imagine would be a lot of users?). This would be the same issue for people who use a naming convention like Session # as well.
Describe the solution you'd like
A simple A->Z  //  Z->A  toggle would be great.

Man you've been busy! Thanks for all the updates!


Can you add base91 support to lz-string?

@pieroxy , can you add base91 support to lz-string?
Thank you!

Sure I can. What would be the use-case?

I was using UTF-16 encoding for AJAX POST from Chrome to server previously.
Sometimes it works well, but sometimes the data received by server are unexpectedly damaged which cannot decoded, even if I set HTTP header 'Content-Type' to 'application/octet-stream; charset=binary'.
I think maybe the browser cannot handle some UTF-16 characters correctly in POST request body. And I tried change encoding method from UTF-16 to Base64, then everything is OK.
For less data transferred between server and client, I think Base91 is better than Base64.
Do you think so?

I think there is a bug somewhere in your setup and instead of fixing it you are trying to work around it with a half-assed solution. I'm not opposed to having a base91 encoder but I think the real fix would be to find the bug. Have you tried some content type of the form text/plain; charset=utf-16 ? Because that is what you are transmitting after all.

Yes, I have tried text/plain; charset=utf-16, but Chrome insists on sending HTTP header  text/plain; charset=utf-8.
Since there is a Base64 encoder in lz-string, I think it's not a bad idea to add a Base91 support.
Base91 encoding provides shorter string than Base64 encoding, this might be the good reason to add Base91 support.
Anyway, I'll keep debugging my codes.

Are you submitting a form or using AJAX ?

using AJAX.

I'm trying to add some codes like this, but it looks like not working.
Could you please take a look?
Thank you very much!
...
var keyStrBase91 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!#$%&()*+,./:;<=>?@[]^_`{|}~"';
...
var LZString = {
  compressToBase91 : function (input) {
    if (input == null) return "";
    return LZString._compress(input, 7, function(a){return keyStrBase91.charAt(a);});
  },
  decompressFromBase91 : function (input) {
    if (input == null) return "";
    if (input == "") return null;
    // input = input.replace(/ /g, "+");
    return LZString._decompress(input.length, 64, function(index) { return getBaseValue(keyStrBase91, input.charAt(index)); });
  },
...

I think what @joeshae facing is still exist in LZString side.
Fyi below are the problem I am facing and I am desperate to find the solution.
I have following (ugly)characters. And I am trying to send this from client(Javascript) side to server(Java). Following are the image data as "compressed" I am sending to server.
javascript code :
function callServer() {
debugger;
var compressed = LZString.compress('/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAA0JCgsKCA0LCgsODg0PEyAVExISEyccHhcgLikxMC4pLSwzOko+MzZGNywtQFdBRkxOUlNSMj5aYVpQYEpRUk');
alert('compressed : '+compressed);
var formData = "img="+compressed;
jQuery.ajax({
url : "/RegisterServlet/servlet/Register",
type: "POST",
data : formData,
cache: false,
async:false,
success: function() {
},
error: function (){
}
});
}
Java code
public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {     request.setCharacterEncoding(encoding);     String compressedData = request.getParameter("img");     String decompress = LZString.decompress(compressedData); }
As per above code, I can able to receive the input I sent from script side to java as compressedData as follow : received broken/changes chars
But As you can see the red marked item on above attachment some of the images I sent are broken or become "?" mark or some different looks.
But I require to get the exact image data which sent?
Fyr, the input and output:

Just an idea, I thought encoding was utf-8, utf-16 (requires BOM), utf-16le, utf16-be.
http://unicode.org/faq/utf_bom.html
So, for utf16, what byte order is being used and is it identifying it all correctly.

Also, any font rendering the data may display ? if it doesn't have the glyph for it. The data is still present.

@rquadling , I get it. may be the data is present but doesn't have glyph. Anyway when I sent that input to decompress method, it should work. But due to chars are missing/collapsing, inside decompression algorithm calculation got all wrong!! But in the browser/script is not the same case.. Hence I think we got to make sure chars!!


Add "Abort" button while upload is processing (saving)

Approximately once or twice per week I noticed that an upload couldn't finished for any reason, after pressing the "save"-button.
(I don't know why, maybe it's a bit related to the amount of the changes per changeset.)
Then I try to refresh the entire iD-Editor browser tab, after this app 50% of the cases iD offers to recover my last (not uploaded) changes and for the rest of the other 50% all changes are lost, because there is no data recovering dialog coming up....
Anyway, I don't want to have the need to refresh the endless running upload iD browser tab, I prefer to have an option at least to get back UI-access and stop this action to maybe store the changes as *.osc file. So could you add an ABORT button for this screen/action, see here:

Maybe create a similar option like https://overpass-turbo.eu/ offers for their query process, see here:

:

Thanks, this is a duplicate of #4717


Errors when compile DWX_ZeroMQ_Server_v2.0.1_RC8.mq4

Greetings,
I compiled the DWX_ZeroMQ_Server_v2.0.1_RC8.mq4 and received the following errors:
'create' - function not defined	GlobalVariable.mqh	 200	 48
'::' - unexpected token	GlobalVariable.mqh	211	32
'create' - function not defined	GlobalVariable.mqh	211	34
regards,

Hi,
did you download the latest version and replaced all dependencies with the files from the latest version?

It can be easier to connect to metatrader4 with lot's of features with this framework, goodluck.
https://github.com/TheSnowGuru/PyTrader-python-mt4-mt5-trading-api-connector-drag-n-drop/

Update all dependencies from latest files. It should be good after that


Add support for setting --tests flag

Quick tweak so I can have gotype and others run within test files :)

merged, thank @jimeh!


Email_backend not configured despite environment variable being set

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Steps to Reproduce
0: Deploy CVAT step by step under the guidence of official Docs, with Docker and on Ubuntu;
1: Modify docker-compose.yml, like this:
cvat_server:
    container_name: cvat_server
    image: cvat/server:${CVAT_VERSION:-dev}
    ......
    environment:
      <<: *backend-env
      ......
      # fixme email
      EMAIL_HOST: smtp.qq.com
      EMAIL_PORT: 465
      EMAIL_USE_SSL: True
      EMAIL_HOST_USER<EMAIL_ADDRESS>      EMAIL_HOST_PASSWORD: EMAIL_HOST_PASSWORD
      # EMAIL_BACKEND: 'django.core.mail.backends.smtp.EmailBackend' # Tried but
      EMAIL_BACKEND : 'django.core.mail.backends.console.EmailBackend'
      ......

2: Create an orgnization and invite a guy, try sending an email.
3: Fail to send and get “Email backend is not configured.”
I have confirmed that the environment variable is set correctly inside the Docker container by using the command printenv | grep EMAIL_BACKEND, which returns the expected output: EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend.
However, when I inspect the logs (by using docker logs cvat_server) after a failed email attempt, I see the following error message:
[2024-02-04 18:08:10,859] ERROR django.request: Internal Server Error: /api/invitations/3SGAVXioLEGqTkPZBTyuWi4TkESbJlzTkSWnsSe1MhRDpEyTAzpOXHl4OHUrLnkh/resend
I have tried restarting the CVAT service and the Docker container, but the issue persists. I have also checked the cvat/settings/base.py file inside the container, and it appears that the EMAIL_BACKEND is set to None, which I believe is the default value and should be overridden by the environment variable.
I am using the Docker deployment method and have ensured that all dependencies are installed according to the official CVAT documentation. I have not made any custom modifications to the CVAT codebase.
Expected Behavior
Just send invitation email successfully.
Possible Solution
Tried modifing base.py/email_settings.py/docker-compose.yml (simply adding my email config to it/them), but nothing changed.
Context
No response
Environment
git log -1
commit b7cc5627daa04958ed045e4b3fe9fd68ec3c9e01 (HEAD -> develop, origin/develop, origin/HEAD)
Author: Boris Sekachev<EMAIL_ADDRESS>Date:   Fri Feb 2 00:03:11 2024 +0200

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal

docker version
Client: Docker Engine - Community
 Version:           25.0.2
 API version:       1.44
 Go version:        go1.21.6
 Git commit:        29cf629
 Built:             Thu Feb  1 00:23:19 2024
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          25.0.2
  API version:      1.44 (minimum version 1.24)
  Go version:       go1.21.6
  Git commit:       fce6e0c
  Built:            Thu Feb  1 00:23:19 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.28
  GitCommit:        ae07eda36dd25f8a1b98dfbf587313b99c0190bb
 runc:
  Version:          1.1.12
  GitCommit:        v1.1.12-0-g51d5e94
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Hello,
Why did you think, that it is configurable via docker compose?
Add your settings to django settings file (e.g. cvat/settings/production.py)
And you will need to rebuild docker images after that.

Thanks a TON buddy, I'm a GREEEEN hand about Docker so I guess something I have tried might be wrong cauz still not very proficient with its usage. Following your advice, I attempted to add the Email_Backend configuration to the cvat/settings/production.py, base.py, and email_settings.py files, like this (in production.py)
# Copyright (C) 2018-2022 Intel Corporation
#
# SPDX-License-Identifier: MIT

from .base import *

DEBUG = False

NUCLIO['HOST'] = os.getenv('CVAT_NUCLIO_HOST', 'nuclio')

# Django-sendfile:
# https://github.com/moggers87/django-sendfile2
SENDFILE_BACKEND = 'django_sendfile.backends.nginx'
SENDFILE_URL = '/'
EMAIL_HOST = 'smtp.qq.com'
EMAIL_PORT = '587'
EMAIL_USE_SSL = True
EMAIL_HOST_USER =<EMAIL_ADDRESS>EMAIL_HOST_PASSWORD = 'xxxx'

and then rebuilt the containers. However, I encountered the same issue and have not been able to successfully configure the email backend.
In an effort to resolve this issue, I've tried all I can do but have not found a suitable solution. Therefore, I would like to humbly request your detailed guidance on how to correctly configure the email backend and rebuild my container. Your generous assistance would be greatly appreciated.
Once again, thank you SOOOO much for your patience and support!

What command did you use to rebuild images?

I added my settings to home/django/cvat/settings/production.py in the running cvat_server container through VSCode, then docker commit -a "myself" -m "add email" bce6d0f40684, and restarted container by docker compose down and docker compose up -d.

I had exactly the same problem last days. It was fixed after editing your email settings into base.py and rebuilding cvat image with this command:
docker compose -f docker-compose.yml -f docker-compose.dev.yml build
Here link to the docs

I hope the suggestion helped you.

docker compose -f docker-compose.yml -f docker-compose.dev.yml build

I am running into the same issue. After trying the above command you shared I get the following error.
Traceback (most recent call last):
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/db/backends/base/base.py", line 289, in ensure_connection
cvat_worker_analytics_reports  |     self.connect()
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/utils/asyncio.py", line 26, in inner
cvat_worker_analytics_reports  |     return func(*args, **kwargs)
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/db/backends/base/base.py", line 270, in connect
cvat_worker_analytics_reports  |     self.connection = self.get_new_connection(conn_params)
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/utils/asyncio.py", line 26, in inner
cvat_worker_analytics_reports  |     return func(*args, **kwargs)
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/db/backends/postgresql/base.py", line 275, in get_new_connection
cvat_worker_analytics_reports  |     connection = self.Database.connect(**conn_params)
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/psycopg2/__init__.py", line 122, in connect
cvat_worker_analytics_reports  |     conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
cvat_worker_analytics_reports  | psycopg2.OperationalError: connection to server at "<IP_ADDRESS>", port 5432 failed: Connection refused
cvat_worker_analytics_reports  |        Is the server running on that host and accepting TCP/IP connections?
cvat_worker_analytics_reports  |
cvat_worker_analytics_reports  |
cvat_worker_analytics_reports  | The above exception was the direct cause of the following exception:
cvat_worker_analytics_reports  |
cvat_worker_analytics_reports  | Traceback (most recent call last):
cvat_worker_analytics_reports  |   File "/home/django/manage.py", line 20, in <module>
cvat_worker_analytics_reports  |     execute_from_command_line(sys.argv)
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
cvat_worker_analytics_reports  |     utility.execute()
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 436, in execute
cvat_worker_analytics_reports  |     self.fetch_command(subcommand).run_from_argv(self.argv)
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/core/management/base.py", line 412, in run_from_argv
cvat_worker_analytics_reports  |     self.execute(*args, **cmd_options)
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/core/management/base.py", line 458, in execute
cvat_worker_analytics_reports  |     output = self.handle(*args, **options)
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/core/management/base.py", line 106, in wrapper
cvat_worker_analytics_reports  |     res = handle_func(*args, **kwargs)
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/core/management/commands/migrate.py", line 117, in handle
cvat_worker_analytics_reports  |     executor = MigrationExecutor(connection, self.migration_progress_callback)
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/db/migrations/executor.py", line 18, in __init__
cvat_worker_analytics_reports  |     self.loader = MigrationLoader(self.connection)
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/db/migrations/loader.py", line 58, in __init__
cvat_worker_analytics_reports  |     self.build_graph()
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/db/migrations/loader.py", line 235, in build_graph
cvat_worker_analytics_reports  |     self.applied_migrations = recorder.applied_migrations()
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/db/migrations/recorder.py", line 81, in applied_migrations
cvat_worker_analytics_reports  |     if self.has_table():
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/db/migrations/recorder.py", line 57, in has_table
cvat_worker_analytics_reports  |     with self.connection.cursor() as cursor:
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/utils/asyncio.py", line 26, in inner
cvat_worker_analytics_reports  |     return func(*args, **kwargs)
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/db/backends/base/base.py", line 330, in cursor
cvat_worker_analytics_reports  |     return self._cursor()
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/db/backends/base/base.py", line 306, in _cursor
cvat_worker_analytics_reports  |     self.ensure_connection()
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/utils/asyncio.py", line 26, in inner
cvat_worker_analytics_reports  |     return func(*args, **kwargs)
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/db/backends/base/base.py", line 288, in ensure_connection
cvat_worker_analytics_reports  |     with self.wrap_database_errors:
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/db/utils.py", line 91, in __exit__
cvat_worker_analytics_reports  |     raise dj_exc_value.with_traceback(traceback) from exc_value
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/db/backends/base/base.py", line 289, in ensure_connection
cvat_worker_analytics_reports  |     self.connect()
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/utils/asyncio.py", line 26, in inner
cvat_worker_analytics_reports  |     return func(*args, **kwargs)
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/db/backends/base/base.py", line 270, in connect
cvat_worker_analytics_reports  |     self.connection = self.get_new_connection(conn_params)
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/utils/asyncio.py", line 26, in inner
cvat_worker_analytics_reports  |     return func(*args, **kwargs)
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/django/db/backends/postgresql/base.py", line 275, in get_new_connection
cvat_worker_analytics_reports  |     connection = self.Database.connect(**conn_params)
cvat_worker_analytics_reports  |   File "/opt/venv/lib/python3.10/site-packages/psycopg2/__init__.py", line 122, in connect
cvat_worker_analytics_reports  |     conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
cvat_worker_analytics_reports  | django.db.utils.OperationalError: connection to server at "<IP_ADDRESS>", port 5432 failed: Connection refused
cvat_worker_analytics_reports  |        Is the server running on that host and accepting TCP/IP connections?

Before running this command I am able to connect to the database properly without any problem, but as soon as I update it with the above command and restart the docker I start seeing this error.

Is the issue fixed?
I configured email configuration in file base.py and changed EMAIL_BACKEND to 'django.core.mail.backends.smtp.EmailBackend' in file email_settings.py.
After inviting a user, got the error hint of "xxx. Email backend is not configured.", but it was solved when I moved configuration item EMAIL_BACKEND  into file  base.py.
It's not clear what the email_settings file means in this case, because email-related configurations don't take effect here.

Hello,
I am facing the same issue .
What if i want to invite 2 users  as worker such as<EMAIL_ADDRESS><EMAIL_ADDRESS>What will be the clear steps to do that ?

Hello,
I am facing the same issue .
What if i want to invite 2 users  as worker such as<EMAIL_ADDRESS><EMAIL_ADDRESS>What will be the clear steps to do that ?

First let those users to register/sign up on the CVAT
Once the do that you (owner of CVAT) can add them in the organization by typing their email address and inviting them

Thanks for answering
Yes i did that but i am facing this error
"xxx. Email backend is not configured."
How to solve it ?

Hello,
I am facing the same issue .
What if i want to invite 2 users  as worker such as<EMAIL_ADDRESS><EMAIL_ADDRESS>What will be the clear steps to do that ?

First let those users to register/sign up on the CVAT
Once the do that you (owner of CVAT) can add them in the organization by typing their email address and inviting them

bump. could someone please explain exactly how to set up the email backend? i've tried all the suggestions mentioned here to no avail. also, does this work with gmail?

There had a example in cvat\tests\docker-compose.email.yml , copy these lines into your yml , and config cvat\settings\email_settings.py

Fixed this issue by configured email_settings.py like :
Email backend settings for Django
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
EMAIL_HOST = 'example.com'
EMAIL_PORT = 587
EMAIL_HOST_USER =<EMAIL_ADDRESS>EMAIL_HOST_PASSWORD = 'your_encryped_code'
EMAIL_USE_TLS = True
then use this command restart docker:
docker compose -f docker-compose.yml -f tests/docker-compose.email.yml up -d
you can send your mail successfully, while don't forget finish some server side settings such as let the port pass through ...

cvat/settings/production.py

@idako2023, after this change I don't see the error anymore. I get a notification message "Invitation was sent successfully". However, emails are not getting delivered.
Do we need to re-build the relevant docker images?
How do I see the relevant logs in this case?
Thanks in advance.

I tried all settings from this ticket. Howver, from the logs, I still see the default values such as example.com webmaster@localhost being used. Am I missing something here?
2024-08-06 15:07:10,025 DEBG 'uvicorn-1' stdout output:
Content-Type: text/html; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [example.com] You're invited to join haidata1 organization in CVAT!
From: webmaster@localhost
To<EMAIL_ADDRESS>Date: Tue, 06 Aug 2024 15:07:10 -0000
Message-ID: <172295683002.53.5947727498718777060@eb2c6fad4e66>


Train example models to show effect of pretraining

maybe have a directory with some toy example cases?

I created a separate repo so we don't touch the code that gets distributed:
https://github.com/BorgwardtLab/ProteinShake_eval
what do you think?

close since in another repo


react-native-modal not always opening

sometimes opens, sometimes even when setting state it doesn't open
apparently I may have to use an object??

#32 relate

Haven't encountered lately?


[build] msbuild and VS build produce different output

The command we use in CI
msbuild PowerToys.sln /p:Configuration=Release /p:Platform=x64

duplicates some resources used by PT Run and ColorPicker, saving them in x64\Release\ instead of just saving them in x64\Release\modules\%module_name%\

This also applies for the commands in the build.cmd file. There are some resources of Settings which also seem to appear in the parent folder, and this causes Keyboard Manager to throw exceptions because of some Xaml Island version conflict (which was why we had moved Settings v2 to a separate folder).


feat(mocha options): Add support for mocha options

Add support for some mocha options to be passed to the mocha instance in the stryker-mocha-runner. The implementation uses a ConfigEditor to edit stryker config on the fly.
You can either pass a mocha.opts file using mochaOptions: { opts: 'mocha.opts' }, or pass values directly using mochaOptions: { ui: 'qunit' }.
Closes #417

I have changed the name of the logger in the MochaConfigEditor because it contained the name of the MochaTestRunner

Cool. That was a mistake indeed. The && was intentional, however.


Why link to OpenID which isn't an Overview item

The page has link to "AD FS OpenID Connect/OAuth flows and Application Scenarios" which is in fact listed under - https://docs.microsoft.com/en-us/windows-server/identity/ad-fs/ad-fs-development

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

ID: 14a12c12-4de3-c180-cffe-8a1e61c49037
Version Independent ID: 3c418504-fd6c-9ace-c6d9-2f59569db329
Content: AD FS 2016 Overview
Content Source: WindowsServerDocs/identity/ad-fs/ad-fs-overview.md
Product: windows-server-threshold
Technology: identity-adfs
GitHub Login: @billmath
Microsoft Alias: billmath

Thanks for your dedication to our documentation. If we have been unable to review your issue in a timely manner, we sincerely apologize for the delayed response. We have captured the informtion you have provided for review. We are closing this issue for now, but if you feel that it's still a concern, please respond and let us know. If you determine another possible update to our documentation, please don't hesitate to reach out again. #please-close

#assign:IngridAtMicrosoft


After upgrade of Spotless, ktlint prints a lot of spam about disabled_rules; migration to ktlint_disabled_rules not possible

> Task :spotlessKotlinGradle
Property 'disabled_rules' is deprecated: Rename property 'disabled_rules' to 'ktlint_disabled_rules' in all '.editorconfig' files.
Property 'disabled_rules' is deprecated: Rename property 'disabled_rules' to 'ktlint_disabled_rules' in all '.editorconfig' files.
Property 'disabled_rules' is deprecated: Rename property 'disabled_rules' to 'ktlint_disabled_rules' in all '.editorconfig' files.
Property 'disabled_rules' is deprecated: Rename property 'disabled_rules' to 'ktlint_disabled_rules' in all '.editorconfig' files.
Property 'disabled_rules' is deprecated: Rename property 'disabled_rules' to 'ktlint_disabled_rules' in all '.editorconfig' files.
Property 'disabled_rules' is deprecated: Rename property 'disabled_rules' to 'ktlint_disabled_rules' in all '.editorconfig' files.
Property 'disabled_rules' is deprecated: Rename property 'disabled_rules' to 'ktlint_disabled_rules' in all '.editorconfig' files.
Property 'disabled_rules' is deprecated: Rename property 'disabled_rules' to 'ktlint_disabled_rules' in all '.editorconfig' files.
Property 'disabled_rules' is deprecated: Rename property 'disabled_rules' to 'ktlint_disabled_rules' in all '.editorconfig' files.
Property 'disabled_rules' is deprecated: Rename property 'disabled_rules' to 'ktlint_disabled_rules' in all '.editorconfig' files.
Property 'disabled_rules' is deprecated: Rename property 'disabled_rules' to 'ktlint_disabled_rules' in all '.editorconfig' files.
Property 'disabled_rules' is deprecated: Rename property 'disabled_rules' to 'ktlint_disabled_rules' in all '.editorconfig' files.
Property 'disabled_rules' is deprecated: Rename property 'disabled_rules' to 'ktlint_disabled_rules' in all '.editorconfig' files.

Update of spotless from 6.10 to 6.11 in https://github.com/VirtusLab/git-machete-intellij-plugin/pull/1122/ also bumped ktlint to 0.47.1; 0.47.0 deprecated disabled_rules.
Unfortunately, ktlint_disabled_rules seem to be ignored in our usage (ktlint().editorConfigOverride(...)), so the migration leads to build failing on the rules being still enabled :/
It's a choice between spam (if disabled_rules present) or outright failure (if absent) :/
I hope it'll get itself sorted with subsequent releases of ktlint/spotless... but let's revisit if it doesn't in a few weeks.

Re-assigning to @LukaszKontowski as well

@PawelLipski how can I reproduce this output spamming? Tried to do some bad style formatting on .kt files, but:
% ./gradlew :spotlessKotlinGradle

BUILD SUCCESSFUL in 2s
17 actionable tasks: 17 up-to-date

no spam was produced

Bump Spotless to 6.11 in version catalog 🤔

I've downgraded to 6.10 to get rid of the spam

Wow okay... and for your local 6.11.1-SNAPSHOT, which version of ktlint has been used, 0.47.x?
Anyway, looks that we can just wait it out until Spotless Gradle plugin 6.11.1 (or 6.12.0, whichever comes first) is published

Wow okay... and for your local 6.11.1-SNAPSHOT, which version of ktlint has been used, 0.47.x?

yes, 0.47.x - properly

Un-assigning from you then, thx

Resolved some time ago with https://github.com/VirtusLab/git-machete-intellij-plugin/pull/1502/


chmod: supress verbose output when not verbose

Closes #4381.  Shows verbose output only when --verbose flag is used instead

Thanks! If you're up for it, you can fix that --verbose --verbose and --quiet --quiet should be allowed.


Boehm GC ProfStats has new additional fields

Available since Boehm GC 8.0.0:
https://github.com/ivmai/bdwgc/blob/v8.0.0/include/gc.h#L726

Something to consider: as I understand, anyone who has libgc < 8 will now experience a crash? Or was it already unsupported?

LibGC 8.0.0 was released in 2018. At least in Linux all precompiled
compilers comes with (a modern) libgc as a static library. In homebrew and
freebsd the LibGC are also modern.
On Thu, 10 Aug 2023, 08:24 Oleh Prypin, @.***> wrote:

Something to consider: as I understand, anyone who has libgc < 8 will now
experience a crash? Or was it already unsupported?
—
Reply to this email directly, view it on GitHub
https://github.com/crystal-lang/crystal/pull/13734#issuecomment-1672627032,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABL6TSUERB6OT5SSN37O2TXUR5CXANCNFSM6AAAAAA3IH3D7U
.
You are receiving this because you authored the thread.Message ID:
@.***>

The function is not supposed to break because it requires passing sizeof(LibGC::ProfStat) as an argument


#526 Fix for Tileset Editor drawing when out of focus

This PR is a fix for issue #526. This issue is caused when the TilesetAutoTileInput instance is no longer in the editor object selection.
When a user uses auto-tile mode, the current layer's TilesetAutoTileInput instance is added to the global object selection. However, if a user then selects something else (such as a tilemap drawing tool), it can no longer retrieve the instance. This means that subsequent UI painting will draw the tile but not apply any darkening/highlighting because TilesetView_PaintTiles first checks if that instance is null.
This commit modifies the auto-tile mode so that it stores a local instance of the input object. It will still add it to the global selection when the layer is selected, but it no longer relies on value itself.
Please let me know if there are any issues with these changes.

Hi, I've made an additional commit to clear the current auto-tile input object when the user deselects the current tileset or tileset layer. I have tested all the cases you provided, and this commit fixes all issues I encountered.
Please let me know if there are any other issues.

Approved and merged. Thanks! 🙂


add access control to service level

Fixes #7
Changes proposed in this PR:

add credentials field in Service
check service credentials in download task
tests

unit tests were already implemented here
new integration test
new util file with ganachePrivateKeys to better understand from where some random strings comes from

Notes

I implemented integration test from already existed /integration/download.test.ts test. There are many bugs in that file resulting in test passing even though they should not. E.g. here it is missing await

@alexcos20 tests are done. Please have a look. I updated the PR description.


Faster hflip with OpenCV

Hi,
A simple replacement with OpenCV seems to give a ~3x acceration:

Numpy: '1.16.1'
OpenCV: 4.0.0

x.shape = (281, 500, 3)

current implementation

%%timeit -r 7 -n 10
for _ in range(1000):
    hflip(x)
> 681 ms ± 3.62 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)

with opencv

%%timeit -r 7 -n 10
for _ in range(1000):
    hflip_fast(x)
> 197 ms ± 77.8 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)

and compare with vflip
%%timeit -r 7 -n 10
for _ in range(1000):
    vflip(x)
> 30.3 ms ± 108 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)

Both hflip* implementations give the same result and C_CONTIGUOUS arrays:
(hflip(x) == hflip_fast(x)).all()
> True
r1 = hflip(x)
r1.flags['C_CONTIGUOUS']
> True
r2 = hflip_fast(x)
r2.flags['C_CONTIGUOUS']
> True

What do you think about such modification ?
EDIT:
on x.shape=(281, 500, 1) this implementation is slower than the original one:
%%timeit -r 7 -n 10
for _ in range(1000):
    hflip(x)
> 48.5 ms ± 2.64 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)

%%timeit -r 7 -n 10
for _ in range(1000):
    hflip_fast(x)
> 62.6 ms ± 177 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)

%%timeit -r 7 -n 10
for _ in range(1000):
    vflip(x)
> 12.6 ms ± 112 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)

For other number of channels, e.g. 2, 3, 5, ... opencv seems to be faster but scales in time, however numpy is not.

@vfdev-5 Could you also test a case with a np.float32 input? On my machine, OpenCV is slower than NumPy:
x = np.random.rand(281, 500, 3).astype(np.float32)

%%timeit -r 7 -n 10
for _ in range(1000):
    hflip(x)
> 509 ms ± 1.64 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)

%%timeit -r 7 -n 10
for _ in range(1000):
    hflip_cv2(x)
> 1.62 s ± 329 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)

@creafz yes, I confirm that opencv is slower on f32 similar to your results (not x3 but ~1x).
Do you have use-cases of images in float32 after reading from disk ? But you're right it make sense to check the performances on int16, int32 input data.

We try to make all transformations compatible with a np.float32 input, so they can work not only with a np.uint8 input but with other data types as well. Here is an example notebook that shows how to work with 16-bit tiff images by converting them to float32 using ToFloat transformation (and since we can use ToFloat to convert any datatype to float32 we don't need to support all the datatypes in our transformations, we just need to support np.uint8 and np.float32 inputs).

@vfdev-5 If you will modify PR so that the implementation of the transform numpy vs cv2 was chosen based on the type of the data it would be really cool.
HorizontalFlip is the most widely used transform and the fact that we are lacking in the performance is not good. Hence, your PR is highly appreciated.

@ternaus I did not have time to write the message to ask whether it is something like that you would like to have and you already merge it :)
Anyway it would be cool to see the benchmark on HorizontalFlip with this add


Factory with explicitly specified parent has broken associations

Description
When we explicitly assign the factory parent, its associations lose the anchor to the instance.
I know that I can just do
FactoryBot.define do
  factory :post do
    user

    factory :approved_post
  end
end

But I prefer to keep my factories in separated files for different models.
I think this feature might not work with associations as expected.
Reproduction Steps
class Post < ApplicationRecord
end

class ApprovedPost < Post
  self.table_name = 'approved_posts'
end

FactoryBot.define do
  factory :post do
    user
  end
end

FactoryBot.define do
  factory :approved_post, parent: :post
end

>> include FactoryBot::Syntax::Methods
>> post = create(:post)
>> approved_post = create(:approved_post)

Expected behavior
>> post.user.post == post
=> true
>> approved_post.user.approved_post == post
=> true

Actual behavior
>> post.user.post == post
=> true
>> approved_post.user.approved_post == post
=> false

System configuration
factory_bot (6.2.0):
rails (<IP_ADDRESS>):
ruby '2.7.5':

It inherits the parent class, so I just defined it and it solves the problem.


Investigate support for coinductive types

Ryan said some mumbo jumbo once about general-purpose support for coinductive types, as in Coq and Charity. Look into this. Hydra has some superficial support for stream types, but this support has not made its way into the Lambda Graph spec, nor are streams currently being used for any applications of Hydra. It would be nice to fold support for streams and other coinductive types into the data model at a fundamental level. It is acceptable that terms of these types may not translate easily and automatically into the host languages (Haskell and Java), so long as they are useful for applications.

Possibly related musings from @wisnesky :
something i've been wondering about for a while is if there is a connection between your graphs and the fact that a parametric model of system F is a reflexive graph
Image
Image
joshsh — Today at 10:18 AM
Bunch of unfamiliar terms there. What are reflexive graphs?
wisnesky — Today at 10:18 AM
graphs with self edges
https://ncatlab.org/nlab/show/reflexive+graph
joshsh — Today at 10:20 AM
Self-edges are allowed, but it is not the case that every vertex has a self-edge
wisnesky — Today at 10:21 AM
right, i doubt your idea is exactly the same thing
joshsh — Today at 10:23 AM
If you can illustrate what consequences your idea would have, there is always space for another GitHub issue
wisnesky — Today at 10:24 AM
these graph models of system F prove more equations than just the axioms of system F
joshsh — Today at 10:24 AM
I see (sorta)
wisnesky — Today at 10:24 AM
for example, plain F can't prove that /\x \y:x x is the only inhabitant of "forall x, x->x", but the graph models do
anyway, for that reason, actual implementations of F will sometimes be based on the more specific models
like, HoTT Coq works that way
https://bentnib.org/dtt-parametricity.html
so if you had a system F implementation based on reflexive graph models, it would already have e.g. inductive types.  where plain F only has weak inductive types (see here https://homepages.inf.ed.ac.uk/wadler/papers/free-rectypes/free-rectypes.txt)

Here you go, System F with existential types gets you coinduction: https://www.andrew.cmu.edu/course/15-312/recitations/rec6-notes.pdf

On Jun 12, 2023, at 10:28 AM, Joshua Shinavier @.***> wrote:
Possibly related musings from @wisnesky https://github.com/wisnesky :
something i've been wondering about for a while is if there is a connection between your graphs and the fact that a parametric model of system F is a reflexive graph
Image
Image
joshsh — Today at 10:18 AM
Bunch of unfamiliar terms there. What are reflexive graphs?
wisnesky — Today at 10:18 AM
graphs with self edges
https://ncatlab.org/nlab/show/reflexive+graph
joshsh — Today at 10:20 AM
Self-edges are allowed, but it is not the case that every vertex has a self-edge
wisnesky — Today at 10:21 AM
right, i doubt your idea is exactly the same thing
joshsh — Today at 10:23 AM
If you can illustrate what consequences your idea would have, there is always space for another GitHub issue
wisnesky — Today at 10:24 AM
these graph models of system F prove more equations than just the axioms of system F
joshsh — Today at 10:24 AM
I see (sorta)
wisnesky — Today at 10:24 AM
for example, plain F can't prove that /\x \y:x x is the only inhabitant of "forall x, x->x", but the graph models do
anyway, for that reason, actual implementations of F will sometimes be based on the more specific models
like, HoTT Coq works that way
https://bentnib.org/dtt-parametricity.html
so if you had a system F implementation based on reflexive graph models, it would already have e.g. inductive types. where plain F only has weak inductive types (see here https://homepages.inf.ed.ac.uk/wadler/papers/free-rectypes/free-rectypes.txt)
—
Reply to this email directly, view it on GitHub https://github.com/CategoricalData/hydra/issues/88#issuecomment-1587760611, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2QKN7M7UBG6Q2PIB7R24TXK5GVPANCNFSM6AAAAAAZDT4LA4.
You are receiving this because you were mentioned.

Note: we probably won't do this in the near term. I will probably even remove the token level of support we have for stream types. Guiding principle now is to minimize features which cannot be translated into a variety of target programming languages. Sure, many languages have some sort of support for data streams, but usually not deeply integrated into the type system, and the translation is likely to be very idiosyncratic and un-straightforward in each case. Something for Hydra 2.0, perhaps.

To elaborate on why not: Hydra currently applies a number of closed-world operations on terms, including gathering and transforming subterms, gathering free variables, performing inference, transforming annotations, etc. etc. -- none of which are well-defined over streams or other, future coinductive terms. You can see this in the code base wherever we are matching a term, and come to the stream constructor. Adding proper support for streams might be possible with suitable adjustments to the LambdaGraph data model and the code base, but this is far down the list of priorities. Will close but retaining this ticket for future reference.


[DOC] Added example for plotting on fsaverage surface

I also added some notes for fsaverage plotting.
Btw, do we have a solution (other than re-installing graphics card drivers 🤯) for the surface mosaics?

Codecov Report

Merging #98 (e413aa9) into master (79936ea) will increase coverage by 0.52%.
The diff coverage is n/a.

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

@@            Coverage Diff             @@
##           master      #98      +/-   ##
==========================================
+ Coverage   73.17%   73.70%   +0.52%
==========================================
  Files          26       24       -2
  Lines        1838     1681     -157
==========================================
- Hits         1345     1239     -106
+ Misses        493      442      -51

Impacted Files
Coverage Δ

netneurotools/plotting.py
66.41% <ø> (ø)

netneurotools/tests/test_datasets.py
98.71% <0.00%> (-0.19%)
:arrow_down:

netneurotools/datasets/__init__.py
100.00% <0.00%> (ø)

netneurotools/civet.py

netneurotools/tests/test_civet.py

netneurotools/datasets/fetchers.py
89.44% <0.00%> (+0.15%)
:arrow_up:

netneurotools/stats.py
78.10% <0.00%> (+14.22%)
:arrow_up:

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 79936ea...2e6185d.  I was just putting them here just as my notes at the time. Thank you so much for the review!

seems need to add # doctest: +ELLIPSIS for the line with downloading (?) but i don't know how to nicely break the long lines to follow width limit. 🤦♂

Let's try this :crossed_fingers: Hopefully this should suppress and output from the fetchers...

ahhh nice save! Thank you Ross!

Woohoo! Looks like it all passed. Merging now!! Thank you again @liuzhenqi77 :pray: :raised_hands:


full risk acceptance via API

Hello Team,
how can I add full risk acceptance via API ? If it can't be done, can you implement such feature ?
Best,
Sal

You cannot at the moment, the feature is only present in the UI.

You cannot at the moment, the feature is only present in the UI.

Will you implement this feature ?

Will you implement this feature ?

News ?

@saldam72 don't know well this part, will relay your request to the mods


Regression issue when paring address with "cnr"

Hi Awesome libpostal!
I noticed there was a regression when parsing an address with "cnr" as the first word.
I am not sure exactly when the regression happened, but it was correct before.
For example,

Cnr Miriam Makeba St Johannesburg Gauteng 2107 ZA
Result:
{
"house_number": "cnr",        //"cnr" should be part of road
"road": "miriam makeba st",
"city": "johannesburg",
"state": "gauteng",
"postcode": "2107",
"country": "za"
}

Shop 3 Cnr Rodger Shishi Rd Durban KwaZulu-Natal 3629 ZA
Result:
{
"unit": "shop 3",
"house_number": "cnr",       //"cnr" should be part of road
"road": "miriam makeba st",
"road": "rodger shishi rd",
"city": "durban",
"state": "kwazulu-natal",
"postcode": "3629",
"country": "za"
}

Hi @liufang94, a regression as in this worked in a previous version and doesn't now?
We don't currently have training examples from OSM that use the "cnr" expression, so the model's probably relying on structural features (house number comes before road most of the time in English). That should be easy enough to add though for the next version.

Thanks very much for your quick response! It would be great if you could
fix it in next version.
Yes, I can't remember when I cloned libpostal last time, but it can parse
"cnr" + other road name to "road" correctly.
Tomorrow I am going to try install a few previous commit and find a working
one.
On Tue, Feb 20, 2018 at 6:49 PM, Al Barrentine<EMAIL_ADDRESS>wrote:

Hi @liufang94 https://github.com/liufang94, a regression as in this
worked in a previous version and doesn't now?
We don't currently have training examples from OSM that use the "cnr"
expression, so the model's probably relying on structural features (house
number comes before road most of the time in English). That should be easy
enough to add though for the next version.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openvenues/libpostal/issues/320#issuecomment-367196672,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZU2fit7IX6sEQa_sJsdb0Ml9PzFhFDZks5tW4RUgaJpZM4SM6fr
.

Hm, if a previous version (probably v0.3) did get that right, it was probably by accident i.e. the previous model was not using structural features to deal with words where it was uncertain, so it may have simply relied on an unknown word feature, for which the most likely tag was road. I wouldn't roll back to that version based on one test case, as there are many other improvements in v1.0 like secondary units (the previous parser for instance didn't have a unit tag, so "Shop 3" would not be handled correctly). For machine learning models, it's usually best to evaluate the accuracy by averaging over many test cases and look for material improvements in this average performance rather than only evaluate on individual test cases as we would do in rule-based programs.

Thanks for the explanation. Sorry for some confusion, when I said previous
version, I didn't mean v0.3 or 1.0, I just cloned from master, so I should
have said last "commit". It was definitely some commit after 1.0, the last
time I cloned from github should be either Dec 2017 or Jan 2018. It could
parse secondary unit correctly. thanks.
On Tue, Feb 20, 2018 at 8:52 PM, Al Barrentine<EMAIL_ADDRESS>wrote:

Hm, if a previous version (probably v0.3) did get that right, it was
probably by accident i.e. the previous model was not using structural
features to deal with words where it was uncertain, so it may have simply
relied on an unknown word feature, for which the most likely tag was road.
I wouldn't roll back to that version based on one test case, as there are
many other improvements in v1.0 like secondary units (the previous parser
for instance didn't have a unit tag, so "Shop 3" would not be handled
correctly). For machine learning models, it's usually best to evaluate the
accuracy by averaging over many test cases and look for material
improvements in this average performance rather than only evaluate on
individual test cases as we would do in rule-based programs.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openvenues/libpostal/issues/320#issuecomment-367213053,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZU2fkruh9yxsEXR-NfNcFhLbhoIbBcVks5tW6D5gaJpZM4SM6fr
.

Hi AI,
My colleague's machine installed libpostal commit:
94a0e842e74598c6d52a4809ea4604b4be25ca60
AuthorDate: Wed Aug 16 15:04:15 2017 -0400
His address_parser can parse "cnr" correctly.

Shop 3 Cnr Rodger Shishi Rd Durban KwaZulu-Natal 3629 ZA
Result:
{
"unit": "shop 3",
"road": "cnr rodger shishi rd",
"city": "durban",
"state": "kwazulu-natal",
"postcode": "3629",
"country": "za"
}

Then I just git clone master and reset --hard to this commit, but my
address_parser can NOT parse it correctly.

Shop 3 Cnr Rodger Shishi Rd Durban KwaZulu-Natal 3629 ZA
Result:
{
"unit": "shop 3",
"house_number": "cnr",
"road": "rodger shishi rd",
"city": "durban",
"state": "kwazulu-natal",
"postcode": "3629",
"country": "za"
}

So the problem seems not in github code. It might be something else used by
the code, which might have been updated after my colleague's installation.
Do you have any idea what that might be?
Thanks!
On Wed, Feb 21, 2018 at 10:09 AM, Tracy Liu<EMAIL_ADDRESS>wrote:

Thanks for the explanation. Sorry for some confusion, when I said previous
version, I didn't mean v0.3 or 1.0, I just cloned from master, so I should
have said last "commit". It was definitely some commit after 1.0, the last
time I cloned from github should be either Dec 2017 or Jan 2018. It could
parse secondary unit correctly. thanks.
On Tue, Feb 20, 2018 at 8:52 PM, Al Barrentine<EMAIL_ADDRESS>wrote:

Hm, if a previous version (probably v0.3) did get that right, it was
probably by accident i.e. the previous model was not using structural
features to deal with words where it was uncertain, so it may have simply
relied on an unknown word feature, for which the most likely tag was road.
I wouldn't roll back to that version based on one test case, as there are
many other improvements in v1.0 like secondary units (the previous parser
for instance didn't have a unit tag, so "Shop 3" would not be handled
correctly). For machine learning models, it's usually best to evaluate the
accuracy by averaging over many test cases and look for material
improvements in this average performance rather than only evaluate on
individual test cases as we would do in rule-based programs.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openvenues/libpostal/issues/320#issuecomment-367213053,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZU2fkruh9yxsEXR-NfNcFhLbhoIbBcVks5tW6D5gaJpZM4SM6fr
.

Ah, it might have to do with the deduping release and the new root expansion functionality. For root expansions (where we strip something like "N Spring St" down to just "Spring") used in address deduping/matching, this commit
dealt with the ambiguity between rare street types like "Spring" that can also be part of core street names e.g. "Spring St" and added a few of the street types to synonyms.txt so that they could be treated as known core words e.g. in a case like "Spring St" where "Spring" can also be a rare street type, so anything that's rare/could be a street type was added. When that happens, the dictionaries get rebuilt, and there's a binary that gets built and pushed along with them. If your colleague ran make again, he would get the updated file as well. The parser uses those dictionaries as features in the model, so some changes to the dictionaries can cause the runtime parser to have to lose or substitute a variable it used in training, which is the case here.
What I'll do for the moment is remove the entry for "Corner" from the synonyms dictionary, since it's not that common to see something like "Corner St," and then rebuild the dictionaries, which fixes this example. I can't promise there are no other differences though, and I need the majority of that commit to stay intact for the project I'm currently working on. If you need to replicate your colleague's machine exactly, ask him to scp the datadir over to your machine so you have the exact same binary. in future versions of the parser we'll embed the dictionaries it was trained on as part of the model, so adding abbreviations, changing dictionaries, etc. doesn't affect parsing at all until the next training (though people usually want an immediate fix, it usually requires rebuilding the training data).

Confirmed fixed. Moving that phrase back to synonyms for the next training.

Scratch that, moved the entries from synonyms.txt to a new street_names.txt dictionary that was planned for originally but wasn't being used. That makes space for a dictionary of words/phrases/abbreviations that occur in street names but are also often part of the core street name. That way it can be handled in the expand module only without affecting the parser.

Thanks very much AI. Confirmed fixed. Sorry for the late confirmation. I had a new phone and got issue to sign in my account. Now I am back.


Package request: violet

Project description
Violet is a lightweight STUN/TURN server (RFC8489 and RFC8656) written in C without dependencies, based on libjuice.
Metadata

homepage URL:
source URL: https://github.com/paullouisageneau/violet
license: gpl2
platforms: unix, linux, darwin, ...

Add a :+1: reaction to issues you find important.

Shouldn't this issue be closed?

Yes sorry I forgot


sorting

.#### ℹ Repository information
The repository has:

[ ] At least three issues with the good first issue label.
[ ] At least 10 contributors.
[ ] Detailed setup instructions for the project.
[ ] CONTRIBUTING.md
[ ] Actively maintained.

@aadeshkulkarni can you please check ?

This is not the right way to contribute.
You should first fork the repository
Then, create a feature branch on your forked repository
Then, make changes and push to feature branch
Then, create a Pull Request with source:feature-branch destination:first-issues:main
Closing this ticket since it's invalid.


Camera caliberation

No new work, just what you've been doing before. Post updates here as always.

Tested, but distance estimate was still inaccurate


I got a error from husky when I commit message.

Describe the bug
I can't commit my files.
To Reproduce
I staged work files.
after, I commit and I got error.
SyntaxError: Unexpected token '??='
    at Loader.moduleStrategy (internal/modules/esm/translators.js:145:18)
husky - pre-commit hook exited with code 1 (error)

Expected behavior
Commit success
Screenshots

Desktop (please complete the following information):

OS:  mac
Browser : chrome
Node Version:  18.12.0, 18.19.0, 20.10.0

Additional context
Add any other context about the problem here.

@youngrove Are you trying to delete node_modules and reinstall?

@youngrove Are you trying to delete node_modules and reinstall?

yes i did

@youngrove try to run prettier and eslint standalone, and give me info, if it's work properly each one

@youngrove try to run prettier and eslint standalone, and give me info, if it's work properly each one

I installed pnpm and then run lint, prettier. and same as above error.

npm run lint, npm run prettier command is Ok.
But npm run commitlint is failed. is it problem?

npm run lint, npm run prettier command is Ok.
But npm run commitlint is failed. is it problem?

Did you editting .husky?
It looks like sth is wrong with that files

@youngrove solved?

I got this Unexpected token '??=' error when the linter was being run with the wrong version of node (v14.17.0).  This was due to my editor having the wrong node version on $PATH.


Feature request: Multiple sets of control buttons

Someone asked me if it could be possible to add two sets of buttons for controlling the form process (next/prev buttons)
After a quick look I wondered if it could be done simply by removing the ".first()" call here
What do you think?

Just tested it and it works fine.

so just for my own understanding...a form could have 2 "next" buttons that act identically (for instance one on the top of the form one on the bottom)?

Exactly, for cases when the form is long enough to have scrolling required in a single step.

Okay so the problem is obviously caused by the fact that my first attempt (removing the .first()) call when finding the navigation, did register both and hence there are two handlers created.

Okay found a workaround, by only using the first registered button when using the key '13' (enter). Don't know if that's optimal though...
Do you think that would be useful/ a potential use case worthy of PR?

can i please get a sample on how to use this


Increase lease time of controller and webhook

Changes
Knative increased their default lease duration. Tekton can also do it
and be less aggressive with the k8s API.
In case of reboot/restart, the controller will take more time to
recover.
Related to https://github.com/knative/pkg/issues/2383
Tekton controller is also issuing 2 calls per second to the apiserver. Webhook and even triggers components are impacted.
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Docs included if any changes are user facing
[ ] Tests included if any functionality added or changed
[ ] Follows the commit message standard
[ ] Meets the Tekton contributor standards (including
functionality, content, code)
[ ] Release notes block below has been filled in or deleted (only if no user facing changes)

Release Notes

Increase lease duration of Tekton components in order to be more gentle with the k8s apiserver.

/retest

Is this CI error real?

Is this CI error real?

test TestHermeticTaskRun is not one that I've seen flake out regularly, so this might very well be real. I'll try and reproduce locally.  Let's see if the issue repeats on another run:
/test pull-tekton-pipeline-alpha-integration-tests

/retest

/lgtm


Sor10874/readmes/56 58

only three in this one.
picture-marker-symbol
play-a-kml-tour (not in the Sample Viewer?)
portal-user-info

@Rachael-E if you are happy with the code sample in Play KML Tour and the other change, can you ping and assign to Hudson please?

Over to you @hud10837

I added portal-user-info for kotlin. Do you mind giving that a look as well @hud10837 , it is the same as java , except for getters and setters have been kotlinified.


Feature: Live Reload Dev Server

Provides a live-reloading dev script (npm run dev) that allows user to edit the EJS view partials and have the presentation reload on file save event; courtesy of browser-sync's file watch task.

Current coverage is 100% (diff: 100%)

Merging #3 into master will not change coverage

@@           master    #3   diff @@
===================================
  Files           1     1
  Lines          47    47
  Methods         5     5
  Messages        0     0
  Branches        6     6
===================================
  Hits           47    47
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update fbba174...48c5dae