Better geo handling in Druid

Currently Druid geographic/spatial index handling and filtering assumes completely Euclidian coordinates in only one coordinate projection. This means that the coordinates have to essentially already be in a rectangular space in order to have a completely expected behavior.
This feature request is to add better Geo support in the following manner:

Allow the use of wgs84 or rectangular coordinates when specifying data
Allow the use of WKT (or WKB) or a limited subset

Fwiw, the integration of the geospatial indices is also quite clunk-clunk, to use the technical term.
It would be great to see about extending the types of things that columns can do to support a GeoSpatial index or figure out a way to make the geo spatial indexing fit the current set of things that columns can do a little better...

Hi,
Is there in work in progress regard geo index and queries ?
for wgs84 coordinates, the euclidian distance is indeed the wrong one to use.
Some workaround that I thought about could be to reprocess the data before indexing to druid by
projecting wgs84 coordinates (latitude, longitude) to a cartesian coordinates system (x, y, z)
Then the euclidian distance can give good enough estimation to the distance between 2 points (especially important for the radius filter), however I was not able to index spatialDimensions using 3 points (x,y,z), I did managed to index only using 2 points (x,y), however using only 2 points with the  euclidian distance give wrong results. (https://math.stackexchange.com/questions/636993/different-ways-for-calculating-distance-between-two-geodetic-points-give-me-diff)
Not sure also why using more then 2 points for the spatialDimensions should fail, as calculating euclidian distance can be done based on an arbitrary number of points in any N-dimensional space.

@mazorigal  i don't think there is ongoing effort to fix this any contribution is welcome.

I would be happy to contribute, but unfortunately I am not a java developer, hence would not know even where to start.
But as a staring point, how hard would it be to allow the spatialDimensions accept cartesian geo points with 3 dimensions (x,y,z) so the euclidian distance which druid is using would be much more accurate than the current status ?

I've recently been working with measuring the distances between simple lat, lon, and alt coordinates rather than wgs84 but am interested in working on contributing some functions for doing these calculations, potentially something like ST_Distance_Sphere? I've been using variations on the formula ACOS((SIN(RADIANS(Lat1)) * SIN(RADIANS(Lat2))) + (COS(RADIANS(Lat1)) * COS(RADIANS(Lat2))) * (COS(RADIANS(Lon2) - RADIANS(Lon1)))) * 6371 which could potentially be an improvement on Euclidean distance?


Error while reading configspace for BOHB

Hi,
I have configspace.json in the same directory as the configs.json and results.json outputs from BOHB. However, on running CAVE from CLI, it seemingly tries to use ConfigSpace's read_and_write.pcs_new.py file to read the configspace.json and not read_and_write.json.write from ConfigSpace.
ConfigSpace seemingly has issues with the pcs_new read, write: https://github.com/automl/ConfigSpace/issues/110
However, my directory only contains configspace.json and not configspace.pcs, yet error trace shows:

File "/usr/local/lib/python3.6/dist-packages/ConfigSpace/read_and_write/pcs_new.py", line 145, in build_condition
", ".join(condition.values))
TypeError: sequence item 0: expected str instance, int found

As per load_configspace() in hpbandster2smac.py, shouldn't having a configspace.json instead of configspace.pcs suffice?
Thanks.

Actually I don't think it hast anything to do with the float-in-categorical-problem. So the stacktrace would be really helpful (or maybe even the debug-log, which you can find under CAVE-output-dir/debug/debug.log.

The debug file:
debug.log
The stack trace:

INFO:cave.cavefacade.CAVE:Saving results to 'bohb/test/cave/'
INFO:smac.scenario.scenario.Scenario:Output to /tmp/tmp6_7ermk4
Traceback (most recent call last):
File "/usr/local/bin/cave", line 11, in
load_entry_point('cave==1.1.3', 'console_scripts', 'cave')()
File "/usr/local/lib/python3.6/dist-packages/cave/cave_cli.py", line 312, in entry_point
cave.main_cli()
File "/usr/local/lib/python3.6/dist-packages/cave/cave_cli.py", line 292, in main_cli
verbose_level=verbose_level)
File "/usr/local/lib/python3.6/dist-packages/cave/cavefacade.py", line 229, in init
self.bohb_result, folders = HpBandSter2SMAC().convert(folders[0])
File "/usr/local/lib/python3.6/dist-packages/cave/utils/hpbandster2smac.py", line 37, in convert
paths = list(self.hpbandster2smac(result, cs, backup_cs, tmp_dir).values())
File "/usr/local/lib/python3.6/dist-packages/cave/utils/hpbandster2smac.py", line 156, in hpbandster2smac
scenario.write()
File "/usr/local/lib/python3.6/dist-packages/smac/scenario/scenario.py", line 462, in write
self.out_writer.write_scenario_file(self)
File "/usr/local/lib/python3.6/dist-packages/smac/utils/io/output_writer.py", line 55, in write_scenario_file
new_value = self._parse_argument(scenario, key, getattr(scenario, key))
File "/usr/local/lib/python3.6/dist-packages/smac/utils/io/output_writer.py", line 93, in _parse_argument
self.write_pcs_file(scenario.cs, new_path)
File "/usr/local/lib/python3.6/dist-packages/smac/utils/io/output_writer.py", line 160, in write_pcs_file
fh.write(pcs.write(cs))
File "/usr/local/lib/python3.6/dist-packages/ConfigSpace/read_and_write/pcs_new.py", line 462, in write
condition_lines.write(build_condition(condition))
File "/usr/local/lib/python3.6/dist-packages/ConfigSpace/read_and_write/pcs_new.py", line 145, in build_condition
", ".join(condition.values))
TypeError: sequence item 0: expected str instance, int found

Package versions:
> cave.__version__
> '1.1.3'
> smac.__version__
> '0.8.0'
> ConfigSpace.__version__
> '0.4.8'

Hope that helps!
Thanks.

Thanks a lot. There has been changes in the processing of pcs-files in the newer versions of SMAC and CAVE. The SMAC 0.8.0 saved the pcs-file in the new-pcs format. That should be fixed in version 0.10.0. Also, CAVE version 1.1.4 resolved some bugs in the interpretation, though that might even be unnecessary when upgrading SMAC to version 0.10.0.

I had to install SMAC 0.80 because of the following:

Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/pkg_resources/init.py", line 583, in _build_master
ws.require(requires)
File "/usr/local/lib/python3.6/dist-packages/pkg_resources/init.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/local/lib/python3.6/dist-packages/pkg_resources/init.py", line 791, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (smac 0.10.0 (/usr/local/lib/python3.6/dist-packages), Requirement.parse('smac==0.8.0'), {'cave'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/cave", line 6, in
from pkg_resources import load_entry_point
File "/usr/local/lib/python3.6/dist-packages/pkg_resources/init.py", line 3191, in
@_call_aside
File "/usr/local/lib/python3.6/dist-packages/pkg_resources/init.py", line 3175, in _call_aside
f(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/pkg_resources/init.py", line 3204, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/local/lib/python3.6/dist-packages/pkg_resources/init.py", line 585, in _build_master
return cls._build_from_requirements(requires)
File "/usr/local/lib/python3.6/dist-packages/pkg_resources/init.py", line 598, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/local/lib/python3.6/dist-packages/pkg_resources/init.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'smac==0.8.0' distribution was not found and is required by cave

Oh you are right - CAVE ver 1.1.3 was not compatible to SMAC >= 0.8.0.
However, CAVE ver 1.1.4 is compatible to (and even requires) SMAC 0.10.0. So I'd encourage you to just update CAVE to version 1.1.4 and see if you can reproduce the error.

Upgrading CAVE made it finally work. Thanks!
However, it threw this error:

File "ConfigSpace/util.py", line 73, in ConfigSpace.util.impute_inactive_values
File "ConfigSpace/configuration_space.py", line 1035, in ConfigSpace.configuration_space.Configuration.init
File "ConfigSpace/configuration_space.py", line 1061, in ConfigSpace.configuration_space.Configuration.is_valid_configuration
File "ConfigSpace/c_util.pyx", line 38, in ConfigSpace.c_util.check_configuration
File "ConfigSpace/c_util.pyx", line 138, in ConfigSpace.c_util.check_configuration
File "ConfigSpace/configuration_space.py", line 815, in ConfigSpace.configuration_space.ConfigurationSpace._check_forbidden
File "ConfigSpace/c_util.pyx", line 28, in ConfigSpace.c_util.check_forbidden
File "ConfigSpace/c_util.pyx", line 35, in ConfigSpace.c_util.check_forbidden
ConfigSpace.exceptions.ForbiddenValueError: Given vector violates forbidden clause (Forbidden: maxpool_kernel_1 in {5, 6} && Forbidden: kernel_2 in {'5', '7'})

Is it because the EPM samples values that are forbidden?
These forbidden clauses so far haven't thrown any issues while running BOHB and seem to be working fine.
debug.log

Mh - ok so this is very interesting, thanks for bringing that up. The problem is not the epm sampling illegal values. For the ConfiguratorFootprint CAVE projects configurations into a two-dimensional plane, for which inactive values (which are None in ConfigSpace) are imputed by their default-value. However, in your case the default value is illegal at that point, s.t. an Error is raised when using the method ConfigSpace provides. The solution will be to adapt the impute-method to accept forbidden values in CAVE for the given purpose.
This will be fixed, but it might take a couple of days. I will ask you to check again at some point. Thanks.

Alright. Thanks for the clarification!

Ok, actually this might be solved quicker than expected. Can you please install cave from the issue-related branch using e.g.  pip install git+https://github.com/automl/CAVE.git@issue-225-forbidden-clauses-cfp and check if it's solved? There will still be an error for the LPI-parameter-importance, but that's to be fixed here.
Just run cave with the option --parameter_importance fanova until it's fixed.

The branch linked definitely worked better. Gave a CAVE report with more sections than before. Definitely helped. Thanks!
However, the forbidden clause error reappears in the fanova part.
Attaching the debug logs.
debug.log

Oh dear. So I believe, this might better be fixed at ConfigSpace-level. Can you please pip install git+https://github.com/automl/ParameterImportance.git@issue/98-lpi-error-on-forbidden-conditional to see if it fixes all the errors? Since I cannot reproduce the error on fanova, I depend on your feedback here. Thanks a lot for bearing with me :)

Got the following error now.
debug.log
Well, I wasn't able to run CAVE at all earlier and with your help, I can get some report out. Which works for me for now! Thanks a lot.
I think I have enough going for my current work at hand :)

Glad to hear that, thanks a lot for the detailed feedback and feel free to open issues if you run into any other problems. I'll leave this issue open until it's fixed.


Crop image functionality

Make a crop image function, that can take an imageData, and return a chunk of it.

There now exists function 'cropGet', but it cant help in all use cases, highlighting a concern to tackle in the future. The limitation of cropGet is that it only gets from an existing canvas. What if I want to crop a body of imageData that isnt yet pasted into a canvas? I need a separate function then, and what do I call it? Just crop? There would be, get, cropGet, and crop, but the difference between these functions would be obscured. The different would not be just that getCrop gets and crops, but that get and getCrop get from a canvas, and crop crops from an imageData. Unclear!


Update clap to v3.1

This updates the addr2line example to clap v3.1.6. clap does have an MSRV of 1.54.0 on any v3 version, but this is unlikely to matter much in this case since it is just used as a dev dependency
The changes were pretty straightforward (and made the example more succinct), and everything seems to match the old behavior
Just a basic test
     Running `target/debug/examples/addr2line -e /tmp/a.out -f 0x1139`
main
/tmp/test.c:3

Old --help
hardliner 0.1
A fast addr2line clone

USAGE:
    addr2line [FLAGS] [OPTIONS] --exe <filename> [addrs]...

FLAGS:
    -a, --addresses       Display the address before the function name, file and line number information.
    -s, --basenames       Display only the base of each file name.
    -C, --demangle        Demangle function names. Specifying a specific demangling style (like GNU addr2line) is not
                          supported. (TODO)
    -f, --functions       Display function names as well as file and line number information.
    -h, --help            Prints help information
    -i, --inlines         If the address belongs to a function that was inlined, the source information for all
                          enclosing scopes back to the first non-inlined function will also be printed.
        --llvm            Display output in the same format as llvm-symbolizer.
    -p, --pretty-print    Make the output more human friendly: each location are printed on one line.
    -V, --version         Prints version information

OPTIONS:
    -e, --exe <filename>    Specify the name of the executable for which addresses should be translated.
        --sup <filename>    Path to supplementary object file.

ARGS:
    <addrs>...    Addresses to use instead of reading from stdin.

New --help
hardliner 0.1
A fast addr2line clone

USAGE:
    hardliner [OPTIONS] --exe <FILENAME> [ADDRS]...

ARGS:
    <ADDRS>...    Addresses to use instead of reading from stdin

OPTIONS:
    -a, --addresses         Display the address before the function name, file and line number
                            information
    -C, --demangle          Demangle function names. Specifying a specific demangling style (like
                            GNU addr2line) is not supported. (TODO)
    -e, --exe <FILENAME>    Specify the name of the executable for which addresses should be
                            translated
    -f, --functions         Display function names as well as file and line number information
    -h, --help              Print help information
    -i, --inlines           If the address belongs to a function that was inlined, the source
                            information for all enclosing scopes back to the first non-inlined
                            function will be printed
        --llvm              Display output in the same format as llvm-symbolizer
    -p, --pretty-print      Make the output more human friendly: each location is printed on one
                            line
    -s, --basenames         Display only the base of each file name
        --sup <FILENAME>    Path to supplementary object file
    -V, --version           Print version information

It looks like the CI failure is from unrelated changes with a more recent rust update since stable passed, but beta and nightly both failed

Thanks for the feedback! 039be6e56befa301d2ccebec1dd19ef3d40d880a switched back to the builder API, switched the name fully over to addr2line (and changed the about to make it's distinction clear), switched to using .args, and normalized the help help lines for all the args.
Let me know if there is anything you want changed


Deprecation torchsde version

DEPRECATION: torchsde 0.2.5 has a non-standard dependency specifier numpy>=1.19.*; python_version >= "3.7". pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of torchsde or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at

I'm getting this too, very annoying.

I fixed mine by doing:
pip install numpy==1.23.0
pip install protobuf==3.20.3
pip install trainer --upgrade
pip install tts --upgrade

not sure if this will help anyone but that’s what worked for me

Quick Fix: For an immediate resolution to this issue, find the METADATA file in the package's dist-info folder (e.g., torchsde-0.2.5.dist-info), and edit the numpy version number on line 18, removing the trailing .*. It should be modified from 1.19.* to 1.19.

Now, for those interested in the whole process:
Use pip show torchsde to find out where the package is. You'll see a path next to Location:; that's where your package is. Be aware, this path might be different if you're using a virtual environment.
(comfy) c:\ComfyUI_windows_portable\update>pip show torchsde
Name: torchsde
Version: 0.2.5
Summary: SDE solvers and stochastic adjoint sensitivity analysis in PyTorch.
Home-page: https://github.com/google-research/torchsde
Author: Xuechen Li
Author-email<EMAIL_ADDRESS>License: UNKNOWN
**Location: c:\users\mikej\appdata\roaming\python\python310\site-packages**
Requires: boltons, numpy, scipy, torch, trampoline
Required-by:

I tried changing something in the appdata folder but ran into the same problem. Trying to make ComfyUI work, I noticed when running their updater that packages were located in c:\comfyui_windows_portable\python_embeded\lib\site-packages. I found the torchsde-0.2.5.dist-info folder there, and updated the METADATA file by removing the .* from the end of the numpy version. Changed it from 1.19.* to 1.19.
The updated METADATA File:
Metadata-Version: 2.1
Name: torchsde
Version: 0.2.5
Summary: SDE solvers and stochastic adjoint sensitivity analysis in PyTorch.
Home-page: https://github.com/google-research/torchsde
Author: Xuechen Li
Author-email<EMAIL_ADDRESS>License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Requires-Python: ~=3.6
Requires-Dist: boltons (>=20.2.1)
Requires-Dist: torch (>=1.6.0)
Requires-Dist: trampoline (>=0.1.2)
Requires-Dist: numpy (==1.19.*) ; python_version < "3.7"
Requires-Dist: scipy (==1.5.*) ; python_version < "3.7"
Requires-Dist: numpy (>=1.19) ; python_version >= "3.7"
Requires-Dist: scipy (>=1.5) ; python_version >= "3.7"

UNKNOWN

I commented out the two lines showing NumPy Requirements, and my problems seems to have gone away for now.

This issue has been resolved and merged in PR #133.


Ultimate skills stretches move durations

https://www.dustloop.com/w/GBVSR/Mechanics#Ultimate_Skill_Slowdown

Ultimate skills end up with inflated frame counts
Moves by the opponent used during ultimate skill startup also end up with inflated frame counts

Fixed in 5809f1b1ab9c4db77c48463bcee0bc2e289a96ae


mikro-orm migrations: Fix detection of .ts files when .snapshot-main.json exists

TODO: evaluate if we should use the snapshot feature (if yes: add snapshot to git, if no: disable snapshot generation)

In our customer projects we decided to disable the snapshot feature as pending migrations would not be executed by our migrate console job. We could look into that, however.

so we should also disable for demo?
(I would keep this change though)

so we should also disable for demo?

Yes. Either that, or fix the migrate console job.

(I would keep this change though)

Yes

@johnnyomair done (in this PR)


api: uart: Revert to using bitmasks for errors.

Revert to using bitmasks for errors.
Signed-off-by: Mierunski, Mieszko<EMAIL_ADDRESS>Fixes #13256

Codecov Report

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

@@           Coverage Diff           @@
##           master   #13362   +/-   ##
=======================================
  Coverage   48.64%   48.64%
=======================================
  Files         319      319
  Lines       46537    46537
  Branches    10756    10756
=======================================
  Hits        22638    22638
  Misses      19313    19313
  Partials     4586     4586

Impacted Files
Coverage Δ

subsys/bluetooth/controller/ll_sw/ull.c
63.26% <0%> (ø)
:arrow_up:

subsys/bluetooth/controller/ll_sw/ull_conn.c
16.85% <0%> (ø)
:arrow_up:

...s/bluetooth/controller/ll_sw/nordic/lll/lll_conn.c
60.06% <0%> (ø)
:arrow_up:

...oth/controller/ll_sw/nordic/lll/lll_tim_internal.h
60% <0%> (ø)
: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 72bef65...c60cbad. Read the comment docs.


Package request: lakectl

Project description
The lakectl command line tool for use with lakeFS
Metadata

homepage URL: https://lakefs.io/
source URL: https://github.com/treeverse/lakeFS
license: apache
platforms: linux, darwin

I took a crack at this with
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "lakectl";
  version = "1.11.0";

  src = fetchFromGitHub {
    owner = "treeverse";
    repo = "lakeFS";
    rev = "v${version}";
    hash = "sha256-ft1a2MbF9i4gZLnRBU+rPdllt0Y2OOPKDXJbsdBgb3c=";
  };

  ldflags = [ "-X github.com/treeverse/lakefs/pkg/version.Version=${version}" ];

  preBuild = ''
    go generate ./pkg/api/apigen ./pkg/auth
  '';

  subPackages = [ "cmd/lakectl" ];

  vendorHash = "sha256-DEPK7SQsZ/ebDZXLOVbseW3BWPbns3THljrGTHIQ96w=";

  meta = with lib; {
    description = "Git for data";
    homepage = "https://lakefs.io/";
    license = licenses.asl20;
    maintainers = with maintainers; [ lunik1 ];
  };
}

but this errors with
       last 10 log lines:
       > source root is source
       > patching sources
       > updateAutotoolsGnuConfigScriptsPhase
       > configuring
       > building
       > go<EMAIL_ADDRESS>cannot query module due to -mod=vendor
       > pkg/api/apigen/doc.go:4: running "go": exit status 1
       > go<EMAIL_ADDRESS>cannot query module due to -mod=vendor
       > pkg/auth/service.go:3: running "go": exit status 1
       > /nix/store/wr08yanv2bjrphhi5aai12hf2qz5kvic-stdenv-linux/setup: line 131: pop_var_context: head of shell_variables not a function context

Maybe somebody who knows more about go packaging knows what's up?
Add a :+1: reaction to issues you find important.

The error is coming from here: https://github.com/treeverse/lakeFS/blob/master/pkg/api/apigen/doc.go
It looks as if it's trying to do some code generation

Yeah it does, that's why I needed the preBuild step.

I've not done much Nix stuff, but I'm a maintainer on oapi-codegen.
 But looking at the project's Makefile there's a few other things that may need to be made alongside it :thinking:


diffArrays will not compare the empty string in array?

ex:
a1 = [1,2,3]
a2= [1,2,3,'']
diffArrays will think these two array has no difference
even with options of ignoreWhitespace: false

Fixed by #197


Add an extension method for the OperationId and httpPaths path templates in the WebApiOpenApiDocumentGeneratorSettings class

Add an extension method for the OperationId and httpPaths path templates in the WebApiOpenApiDocumentGeneratorSettings class

Can't you just implement an operation processor which updates the operation id based on the context (instead of adding more extension points)?


add 	Georgian lari('GEL') and  Kazakhstan tenge('KZT')

Thanks! Published<EMAIL_ADDRESS>

Wow, great! Thank you


Debugging from Safari Web Inspector not working

Bug Report
Problem
With UIWebView I could debug from from Safari (see console outputs etc).  I just installed cordova-plugin-wkwebview-engine and now debugging from Safari (12.0.3) is not available.
What is expected to happen?
I expected to be able to debug from Safari.
Environment, Platform, Device
iPad Pro 9.7in
iOS 12.4
Version information

[x] I searched for existing GitHub issues
[x] I updated all Cordova tooling to most recent version
[x] I included all the necessary information above

FYI - I did a mac upgrade and now on Safari 12.1.2.  Web Inspector is now working with this plugin.

I had the same problem

I had the same problem

+1

To extend on what Homer said, you have to make sure you're using a version of Safari for Mac that is compatible with Safari for iOS to do remote debugging.
I suggest ensuring that you're mac is completely up to date (including OS upgrades). Sometimes if you're testing with the most recent iOS version, you have to use the Safari Tech Preview instead of the stable production version of Safari.

If you still have issues, close applications on your mac to free up memory. If that didn't work, close applications on your phone. and the last resort is to turn off bluetooth and wifi on your phone. I don't know why but it works.


Tree Traversal in Ruby

[lang: ruby]

@Amaras @lazyprop I've rebased with the latest master

The reason these PR's take so long is that we don't have people who know the language (in this case ruby). On my end, it looks clean, so maybe I can just merge it as is?


idris: fix modules

Motivation for this change
Some Idris modules (eg. lightyear, the non-builtin ones) were broken because they tried to use the meta.platforms attribute from the idris they were called with, but that was changed to a wrapper that didn't include the meta attribute, so the modules would not build with a missing attribute error.
This PR reuses Idris' meta.platforms variable in the wrapper, so the modules build successfully.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-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/)
[x] Fits CONTRIBUTING.md.

@brainrape It worked properly last time I tried it? In what sense do you mean it is stalled?

@mpickering I support #31327, appreciate the work done there, and would like to see it merged. However, I got the impression that it is not making progress towards being merged (changes requested, possibly further review required, conflict with master). In the mean time we could have working Idris modules in master with this small, easy to review PR.

OK, I can't merge this but #31327 is finished from my perspective. I'll try to rebase it now.

Thank you! Here's hoping it will make it all the way in this time. I'll close this when it does.

Your change was already merged.
https://github.com/NixOS/nixpkgs/commit/69d4adee1f8b6278a19708a9051f3290f8f13e04

@mpickering I'm not sure what you mean, but eg. lightyear and other idris libraries are broken in current master and need this PR to be fixed. Build output below:
└──> git show-ref HEAD
cff5eec3825f6158f8296eb194c2b1d53d36cad8 refs/remotes/origin/HEAD
└──> nix-shell -f . --attr idrisPackages.lightyear
error: attribute ‘platforms’ missing, at /home/ssdd/dev/nixpkgs/pkgs/development/idris-modules/lightyear.nix:25:11
(use ‘--show-trace’ to show detailed location information)

Yes sorry, my comment was wrong.

I rebased my other branch now if you want to try that for your use case.

I checked out your branch and the Idris modules are still broken, and fixed by this PR in the same way. In conclusion, the two PRs are separate and this should definitely be merged in any case.
@shlevy could you do the honors? Thanks!

How are you building the packages? Are you using with-packages?

I included the build command and output, two comments up.

Yes, eventually, I would use that derivation as an argument to with-packages in my project. But evaluating the derivation fails before that.

Your command doesn't work for me.
I then tried nix-shell -p idrisPackages.lightyear which works fine for me locally.
87636ac3115920c71415f47ba6390031b01884d8git

To actually try to build the lightyear package (and not just start a shell in the build env as above), I'd use nix-build /path/to/nixpkgs --attr idrisPackages.lightyear

yes, that works fine for me.
nix-shell -p does build idrisPackage.lightyear, it creates a shell with idrisPackage.lightyear available.
You can see the platforms attribute is set in the lightyear deviation?

You have to add -f /path/to/nixpkgs, otherwise nix-shell will use NIX_PATH which is usually managed by nix-channel, possibly nixos-17.10 when it still worked, instead of your local checkout of nixpkgs.

My NIX_PATH points to my local nixpkgs.
[root@nixos:~/devel/nixpkgs]# echo $NIX_PATH
nixpkgs=/root/devel/nixpkgs:nixos-config=/etc/nixos/configuration.nix

@mpickering yes, lightyear.nix sets platforms, but by inheriting from idris.meta, which doesn't have a platforms attribute, which is exactly what this PR fixes!

Not sure why you can't reproduce.

Which platform are you on?

I can't find anther use of symlinkJoin which sets any meta attribute.

My platform is NixOS, as stated in the PR description. x86_64. I don't get it.. that attribute is really missing, and any package that uses idris-wrapper.nix and tries to inherit its platforms will surely fail, plain as day.
Not sure how symlinkJoin fits in the picture... I read the source at https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/trivial-builders.nix#L76 and it just passes on the args you give it, more or less.
Here's the story again, if it wasn't clear from the description. There's an idris package that has a platforms attribute. Lightyear inherited the platforms attribute from it. But then idris-wrapper was created to address  #10450 and replaced idris in lightyear etc. It did not define a platforms attribute. So the the packages that tried to inherit it, like lightyear, failed with attribute not found. So I added the attribute.
I suspect you're somehow not building the right nixpkgs. I don't see how anything else (eg. sandbox) could affect this, I traced the evaluation and couldn't find any way to divine platforms.
This discussion is getting a bit out of hand for a straightforward one-line change, and I'm sorry to mention this but a lot of the above comments didn't check out. I'm convinced though that we're both acting in good faith and want the same thing (working nixpkgs) so maybe we need a fresh perspective. Let's let someone else take a look. @joachifm could you check this out please?
Basically:
nix-build /path/to/nixpkgs --attr idrisPackages.lightyear

It should fail with error: attribute ‘platforms’ missing, and this PR will fix it so should be merged. If not, I missed something weird, but it still fails for me, and we should find out why.

@Infinisil tried it on IRC and got the same error message as you. I really wish I could reproduce this.. I have tried on master and my branch.

@GrahamcOfBorg build idrisPackages.lightyear

I am worried we're having some problems with non-reproducibility, reported by @FRidh earlier today: https://github.com/NixOS/nixpkgs/issues/33362#issuecomment-362820639

@GrahamcOfBorg build idrisPackages.lightyear

Failure on aarch64-linux (full log)
Partial log (click to expand)
Package ‘jailbreak-cabal-1.3.2’ in /var/lib/gc-of-borg/nix-test-rs-3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-3/pkgs/development/haskell-modules/hackage-packages.nix:118872 is not supported on ‘aarch64-linux’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Ok that's weird. Maybe try breaking it and see what happens. Change smth and see if it has an effect. Add debug output. (lib.trace or similar iirc)
Anyway, it's a minority report and you have a telepathic nix :)
So this PR is good to merge.

Success on x86_64-linux (full log)
Partial log (click to expand)
Installing Lightyear/Char.ibc to /nix/store/cgn32wwnynwjnrkfj60jcx1chf9bn24z-lightyear-2017-09-10/lib/idris-1.2.0/lightyear/Lightyear
Installing Lightyear/Testing.ibc to /nix/store/cgn32wwnynwjnrkfj60jcx1chf9bn24z-lightyear-2017-09-10/lib/idris-1.2.0/lightyear/Lightyear
Installing 00lightyear-idx.ibc to /nix/store/cgn32wwnynwjnrkfj60jcx1chf9bn24z-lightyear-2017-09-10/lib/idris-1.2.0/lightyear
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/cgn32wwnynwjnrkfj60jcx1chf9bn24z-lightyear-2017-09-10
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/cgn32wwnynwjnrkfj60jcx1chf9bn24z-lightyear-2017-09-10/lib
patching script interpreter paths in /nix/store/cgn32wwnynwjnrkfj60jcx1chf9bn24z-lightyear-2017-09-10
checking for references to /tmp/nix-build-lightyear-2017-09-10.drv-0 in /nix/store/cgn32wwnynwjnrkfj60jcx1chf9bn24z-lightyear-2017-09-10...
/nix/store/cgn32wwnynwjnrkfj60jcx1chf9bn24z-lightyear-2017-09-10

^ is this on this branch or master?

Failure on x86_64-darwin (full log)
Partial log (click to expand)
patching script interpreter paths in /nix/store/iy8qq9y5shs7gnmyw1k9ia15jighag3x-aeson-<IP_ADDRESS>
strip is /nix/store/5a88zk3jgimdmzg8rfhvm93kxib3njf9-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/10nmnly3n0xq9jjh6y899r7v62naxn0f-aeson-<IP_ADDRESS>-doc
cannot build derivation '/nix/store/yf8vmbxsqvq8d1r8kh77lylm15whzn5f-idris-1.2.0.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/7h423jq9nivjl9zarv5fpzc82jp5i9yq-idris-1.2.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/8jk0fhzjv7rxv41qvclq70rqvyd0i3hg-prelude-1.2.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/c4ibh1g19di1myyvnmx3sbq0xspxfp3g-base-1.2.0.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/vcbpbw968r9ad3rm4wyh0pix75ffwk5g-effects-1.2.0.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/nclf56w330vg70rvqpb0cfvycmda5hzp-lightyear-2017-09-10.drv': 4 dependencies couldn't be built
error: build of '/nix/store/nclf56w330vg70rvqpb0cfvycmda5hzp-lightyear-2017-09-10.drv' failed

On this branch

@brainrape on this branch.
I think I can't reproduce this because I have "allowBroken" in my config but I can't work out how to properly disable it.

Interesting… I don't know enough about Idris to understand why the error from Darwin failure doesn't occur on Linux.

@brainrape Thank you very much for your patience. I can now reproduce this after unsetting allowBroken.
@7c6f434c I think the failure is not to do with this patch but an already existing issue.

Yes, but you may want to set a more narrow meta.platforms

The right place would be on the haskell packages which are failing to build. I can't work out why they are though. Merging this is the right thing to do for now I think, however in future I think it would be better to set meta.platforms on a per idris module level as idris modules can call C FFI like haskell modules.

Thank you for all your help in elucidating this issue.


feat: add drag and drop event handlers to TableBodyRow

📑 Description
Add Drag and Drop event handlers to TableBodyRow.svel to allow drag and dropping rows in a Table.
You can use it like:
{#each items as item, index}
    <TableBodyRow
        draggable="true"
        on:dragstart={(event) => handleDragStart(event, index)}
        on:drop={(event) => handleDrop(event, index)}
        on:dragover={handleDragOver}
    >
        ...
    </TableBodyRow>
{/each}

Status

[x] Not Completed
[ ] Completed

✅ Checks

[x] My pull request adheres to the code style of this project
[x] My code requires changes to the documentation
[ ] I have updated the documentation as required
[x] I have checked the page with https://validator.unl.edu/
[ ] All the tests have passed
[x] My pull request is based on the latest commit (not the npm version).

ℹ Additional Information

@shinokada On second thought, I wonder if this is not the best way to go about it.
If you make a  draggable, what ends up happening is that as soon as you click on the row, the dragging takes over. While this may be what you want, it will prevent you from highlighting text in a cell.
If the web developer is Ok with that, then this PR would work.
If that is not acceptable, a workaround to this is to wrap the cell contents in a  with on:mousedown handler that will set a draggable variable to false, and an on:mouseup handler that will set draggable to true. This does work, but it's a lot of repetition to add that to every cell. In addition, this gives an a11y warning. The only way to fix that is by adding a role="button" and tabindex="0". This isn't great because screen readers will read out "button" for every value in the cell.

A different approach I'm seeing is to create a dedicated column just for drag and drop.
<TableBodyCell>
  <div
    draggable="true"
    on:dragstart={(event) => handleDragStart(event, i)}
    on:drop={(event) => handleDrop(event, i)}
    on:dragover={handleDragOver}
    role="cell"
    tabindex="-1"
  >
     ⠿
  </div>
</TableBodyCell>

This works fine, except for the slight annoyance of having to declare a role and tabindex="-1", which wouldn't be necessary on a  component. So TableBodyCell could be modified to allow these drag and drop handlers which would let us do:

    draggable="true"
    on:dragstart={(event) => handleDragStart(event, i)}
    on:drop={(event) => handleDrop(event, i)}
    on:dragover={handleDragOver}
  >
     ⠿

What do you think?
A third option is for both TableBodyRow and TableBodyCell to support these handlers.


Options on the config yaml file

Hi,
We want to start using the pluggable metrics on our Cassandra DB and I saw that they are using your Components.
Where can I get an explanation of the options in your config metric file? so I can know how to use it, I've tried to search and didn't find any, except sample files.
Thanks

Hi @orshemesh ,
The options in the yaml file correspond to the properties in the various reporter config classes (subclasses of AbstractMetricReporterConfig). For example, yaml options for CSV reporter config can be found in CsvReporterConfig and all its super classes.
HTH,
Yuesong


Remapping an already created virtual output device

Hi. Would it be possible to remap (assign keyboard buttons) to an already created virtual output device?
I do not want to create a new virtual output device , i would like to add keyboard inputs to thos already existe t virtual outpud device. How can i do that ?
Thanks!

Not sure why you used a Pull Request for this...
Please be more specific.
What kind of  device?
What do you mean by "remap"? Do you mean alter how the OS sees the device, or do you simply mean taking some actions in response to the device (Whilst still allowing the OS to see the unchanged state of the device)? The latter is no problem, but the former potentially is.

Where can i contact you directly please?

Hi!
What I am trying to do is this.
Virtual desktop or other programs , create a xbox 360 virtual controller in windows, to send inputs to steamvr, from buttoms clicked on a controller.
What i am trying to figure out is if i can get into this xbox 360 virtual controller created and add to it keyboard inputs.
So for example i hope i can send to steamvr not only the thumbstick input of the quest controller but also the wasd keystrokes that could be associated/mapped to the thumbstic.
Usually we can create our own virtual controller that to any button of a controller we can associate keystrokes of the keyboard (for example using ucr - universal control remapper- ).
How can i edit/add inputs to an already existing virtual controller?
Thanks!
Il giovedì 11 luglio 2019, 05:28:58 GMT-4, Clive Galway<EMAIL_ADDRESS>ha scritto:
Not sure why you used a Pull Request for this...
Please be more specific.
What kind of device?
What do you mean by "remap"? Do you mean alter how the OS sees the device, or do you simply mean taking some actions in response to the device (Whilst still allowing the OS to see the unchanged state of the device)? The latter is no problem, but the former potentially is.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Virtual desktop or other programs , create a xbox 360 virtual controller in windows
Never heard of virtual desktop. The only app I know of which does this is Parsec
Really not understanding the use-case here, steamvr = virtual reality? What would be the point in sending remote input to a VR app?

Where can i contact you directly please?

The Discord channel is linked in the docs.  https://github.com/Snoothy/UCR#support--discussion--feedback

Please use Discord for questions


Google keep clone

Google keep clone:-is a a clone of google keep which is used as to-do list .
basically it is Google Keep, which is a popular to-do list application developed by Google, would involve building a full-fledged web application clone

pls assign me with this issue to add this project

please assign me this issue. i want to fix it .

please assign me this issue under GSSoC'23.

hi @pranjay-poddar , Please assign this issue to me , under GSSoC'23


Update upstream nx-remotecache-custom dep to > v5

See this issue: https://github.com/NiklasPor/nx-remotecache-custom/issues/26
Fixes: The local cache artifact in "*" was not been generated on this machine.
Currently fixable by adding a manual dependency override in package.json:
"overrides": {
    "nx-remotecache-gcp": {
      "nx-remotecache-custom": "^5.0.0"
    }
  },

Fairly trivial update, but wasn't sure if that means this package should update major version too? Might make sense to version it to v5 just to be in sync with the -custom upstream.

Appears this has been completed and nx-remotecache-gcp now depends on "nx-remotecache-custom": "^5.0.1".
However, now this package needs to depend on nx-remotecache-custom@17 per https://github.com/NiklasPor/nx-remotecache-custom/pull/28

Oh I'll updated the package :)

Done

I have added dependabot and subscribed to the repository to get notified next time


Incorrect path only after uploading bundle

Problem description
I am the host of a competition. Before we published our competition, we ran the test locally and it ran well. However, after uploading it online, it never finds the correct path to the reference data, output, and user input folders, though it can run the scoring script. I wonder whether anyone could tell me what is the correct way to specify the input data path, given the folder structure below? Or could anyone provide a feasible bundle with a similar structure so that we can refer to it? Thanks in advance!
Setting and environment
Our codabench structure is as follows.
\ bundle.zip
| - generative_phase       // utils for one task, the generative task. All the subfolders are not zipped
|     | - reference_data
|          | - gold_gen.json  // gold label for generative task
| - multichoice_phase     // utils for another task, the multichoice task
|     | - reference_data
|          | - gold_mc.json    // gold label for mutichoice task
| - scoring_program
|     | - metadata.yaml       // the yaml setting
|     | - score.py                 // the scoring program
| - competition.yaml

And our uploaded zip for testing is structured as follows.
\ test.zip
| - res_gen
|    | - res_gen.json
| - res_mc

A top .zip folder means that all the subfolders are selected and compressed, instead of a top folder of the subfolders is compressed.
Our scoring_program/metadata.yaml is as command: python3 $program/score.py $input $output. The relevant paths specified in our scoring program are as either ../path/to/data (e.g. generative_phase/reference_data/gold_gen.json) or 'path/to/data' (e.g.../generative_phase/reference_data/gold_gen.json ). However, neither works. Our scoring program keeps printing the warning that the input files are not found.

(As shown in the screenshot, we output the args that the script receives)
Specific competition
Our competition is currently uploaded as NovelQA. You might upload any submission and see the specific warning in the terminal.

Do you upload your scoring program and ingestion program later or you upload them once as part of the bundle?
When you upload your submission, make sure to zip the file without the parent directory. I suspect this is the problem you have.

If you want to check a similar bundle, you can take a look here

Hi Ihsann, thanks for your answering.

I upload them together as one bundle, with all subfolders unzipped. Actually, no ingestion program is involved, so we just have paths of the scoring program and reference data.
Yes, I made sure of that. If uploading with the parent directory, the competition will not be successfully created with error competition.yaml not found. So we are pretty sure that our parent folder is not uploaded.
We just tried the way to write the path provided in your link (to change all the paths as /app/path/to/data) but seems the same error still occurs. I will keep double-checking my bundle.

Have you checked that the submission itself is zipped without its parent directory?

Yes

Can you check if your paths are set correctly like this
https://github.com/ihsaan-ullah/create_a_codabench_challenge/blob/cfff1a0f6851ccfb9aebbf6a971919aa3e87c075/result_submission_bundle/scoring_program/score.py#L83

Hi all! We fixed our competition through printing all the paths within the docker created, and find out that the uploaded files were actually not at the paths as in the original bundle. Previously, we mistakenly take the original paths as the correct ones.
For those upcoming hosts who meet the similar problem about paths, during debugging in the docker, you might also try to print all the paths under /app/ to find out the correct paths of your data.
Thank you all for your patience!


Update Jenkinsfile

Updated the JenkinsFile to exclude files for unit testing

Can one of the admins verify this patch?

ok to test


Fixes and speed

These patches optimize some parts of Batik, largely by replacing outdated classes (e.g. Batik HashTable) with faster JDK classes (e.g. HashMap) that maybe didn't exist yet at the time that code was written. In some cases, this also now uses Generics, rather than casts.
In particular, I also optimized the EventListener code.
The patch also avoids calling "String.intern" on a string that frequently will be already our known constant; in particular when cloning or importing subtrees, e.g., when handling <svg:use>.
namespaceURI == SVG_NAMESPACE_URI ? SVG_NAMESPACE_URI : namespaceURI.intern()
is trivial, but makes a noticeable difference for me, as it avoids a very common roundtrip through a large hashmap (although in hotspot itself, so you don't easily see this in the profiler).

See BATIK-1204

@simonsteiner1984 for the hash table, I also had added generics, which makes the code simpler in many cases because you can remove casts.
For performance, the other fixes are even more important. The String.intern() roundtrip seems to be noticeable. And in particular when cloning subtrees (e.g. <svg:use>) we do know they are already interned, and usually our known constant SVG namespace string. Event handling can be simplified a lot, too.

I need to apply the rest of your changes at some point, I was just doing the simple change of remove hashtable first

It would be better if you could add replication steps for a performance issue to we can verify fix

The imageio issue should be seperate from this bug with replication steps

I didn't see any obvious way of scripted performance benchmarking with Batik, sorry.
Yes, my branch has two purposes fixesSpeed patches. As they are separate commits, they are trivial to cherry pick, and I don't see much use in breaking them into separate branches just because. There already is a separate issue for the register() bug, and whether or not to allow the additional codecs is largely a matter of whether they are still available in the JDK. I didn't check if any of them got eventually removed in Java 8 or 9. With Java 7+ the newer (and higher-priority) codecs should be used anyway. But unfortunately, one of the Maven central packages had been built with Java 6, and thus could not compile these codecs, and then the fallback codecs were not enabled either - worst combination. The registry is supposed to allow multiple codecs for the same file type, with priorities (but as mentioned, adding a higher-priority codec later on does not work, because it does not invalidate the registry cache correctly).


Integration tests for D3FC

This PR adds simple smoke/integration tests to perspective-viewer-d3fc, using the same puppeteer/record matching approach used by perspective-viewer and friends, details of which can be found in the perspective documentation.  These tests are designed to prevent us from merging changes which "obviously" break the plugin, rather than provide fine-grained feedback as to what failed;  as such, they are really meant to be run mostly by travis, and before opening a PR, rather than iteratively during development.
The tests also assert that the Chrome console logs no errors while running - and one fix for tooltips was needed to achieve this, checking that the SVG tree itself is still attached to the DOM.

Discussed offline


Need add webp spi

https://github.com/JetBrains/intellij-community/tree/master/plugins/webp

https://github.com/haraldk/TwelveMonkeys


Alphabetically sorted secrets

Since the only way to enter secrets is linearly, keeping secrets in alphabetical order is a big pain the in butt. If ya'll wouldn't mind adding a sorting function to the secrets page it would be SUPER helpful. Thanks!

Thanks for the suggestion. I'll create an internal improvement proposal based on your comment. :)


Putting data in tensors stops midway, but loops without errors

Steps to reproduce: $> bash make_data.sh
Snippet of terminal output:
Putting data in tensors stops about halfway, but no errors and continues looping.

mkdir: cannot create directory ‘processed’: File exists
mkdir: cannot create directory ‘processed/emotion’: File exists
mkdir: cannot create directory ‘processed/motivation’: File exists
Making emotion labels for plutchik data for memory class of models
emotion      data/vocabs/emotion.vocab
motivation   data/vocabs/motivation.vocab
plutchik     data/vocabs/plutchik8.vocab
sentence     data/vocabs/tokens.vocab
entity   data/vocabs/entities.vocab
maslow   data/vocabs/maslow.vocab
plutchik16   data/vocabs/plutchik16.vocab
reiss    data/vocabs/reiss.vocab
Reading from Data File
Reading data from data/dev/emotion/allcharlinepairs_noids.csv
Reading entity identities from data/dev/entity_lines_fast.pickle
Reading entity frequencies from data/dev/num_entities.pickle
Reading entity mentions from data/dev/entity_mentions.pickle
Done reading data
Putting Data in Tensors
Doing dev
 47% (25287 of 53256) |#########          | Elapsed Time: 0:04:55 ETA:   0:05:44Reading from Data File
Reading data from data/test/emotion/allcharlinepairs_noids.csv
Reading entity identities from data/test/entity_lines_fast.pickle
Reading entity frequencies from data/test/num_entities.pickle
Reading entity mentions from data/test/entity_mentions.pickle
Done reading data
Putting Data in Tensors
Doing test
 43% (22764 of 51952) |########           | Elapsed Time: 0:04:21 ETA:   0:05:54Making motivation labels for maslow data for memory class of models
emotion      data/vocabs/emotion.vocab
motivation   data/vocabs/motivation.vocab
plutchik     data/vocabs/plutchik8.vocab
sentence     data/vocabs/tokens.vocab
entity   data/vocabs/entities.vocab
maslow   data/vocabs/maslow.vocab
plutchik16   data/vocabs/plutchik16.vocab
reiss    data/vocabs/reiss.vocab
Reading from Data File
Reading data from data/dev/motivation/allcharlinepairs_noids.csv
Reading entity identities from data/dev/entity_lines_fast.pickle
Reading entity frequencies from data/dev/num_entities.pickle
Reading entity mentions from data/dev/entity_mentions.pickle
Done reading data
Putting Data in Tensors
Doing dev
 53% (25287 of 47555) |##########         | Elapsed Time: 0:04:31 ETA:   0:04:12Reading from Data File
Reading data from data/test/motivation/allcharlinepairs_noids.csv
Reading entity identities from data/test/entity_lines_fast.pickle
Reading entity frequencies from data/test/num_entities.pickle
Reading entity mentions from data/test/entity_mentions.pickle
Done reading data
Putting Data in Tensors
Doing test
 57% (22761 of 39409) |##########         | Elapsed Time: 0:03:34 ETA:   0:02:48Making motivation labels for reiss data for memory class of models
emotion      data/vocabs/emotion.vocab
motivation   data/vocabs/motivation.vocab
plutchik     data/vocabs/plutchik8.vocab
sentence     data/vocabs/tokens.vocab
entity   data/vocabs/entities.vocab
maslow   data/vocabs/maslow.vocab
plutchik16   data/vocabs/plutchik16.vocab
reiss    data/vocabs/reiss.vocab
Reading from Data File
Reading data from data/dev/motivation/allcharlinepairs_noids.csv
Reading entity identities from data/dev/entity_lines_fast.pickle
Reading entity frequencies from data/dev/num_entities.pickle
Reading entity mentions from data/dev/entity_mentions.pickle
Done reading data
Putting Data in Tensors
Doing dev
 53% (25287 of 47555) |##########         | Elapsed Time: 0:04:32 ETA:   0:04:17Reading from Data File
Reading data from data/test/motivation/allcharlinepairs_noids.csv
Reading entity identities from data/test/entity_lines_fast.pickle
Reading entity frequencies from data/test/num_entities.pickle
Reading entity mentions from data/test/entity_mentions.pickle
Done reading data
Putting Data in Tensors
Doing test
 57% (22764 of 39409) |##########         | Elapsed Time: 0:03:35 ETA:   0:02:43Making emotion labels for plutchik data for neural class of models
emotion      data/vocabs/emotion.vocab
motivation   data/vocabs/motivation.vocab
plutchik     data/vocabs/plutchik8.vocab
sentence     data/vocabs/tokens.vocab
entity   data/vocabs/entities.vocab
maslow   data/vocabs/maslow.vocab
plutchik16   data/vocabs/plutchik16.vocab
reiss    data/vocabs/reiss.vocab
Reading from Data File
Reading data from data/dev/emotion/allcharlinepairs_noids.csv
Reading entity identities from data/dev/entity_lines_fast.pickle
Reading entity frequencies from data/dev/num_entities.pickle
Reading entity mentions from data/dev/entity_mentions.pickle
Done reading data
Putting Data in Tensors
Doing dev
 47% (25294 of 53256) |#########          | Elapsed Time: 0:05:00 ETA:   0:05:49Reading from Data File
Reading data from data/test/emotion/allcharlinepairs_noids.csv
Reading entity identities from data/test/entity_lines_fast.pickle
Reading entity frequencies from data/test/num_entities.pickle
Reading entity mentions from data/test/entity_mentions.pickle
Done reading data
Putting Data in Tensors
Doing test
 43% (22770 of 51952) |########           | Elapsed Time: 0:04:25 ETA:   0:06:04Making motivation labels for maslow data for neural class of models

Does it also end up making the data loaders for the Maslow and Reiss labels for the "neural" class of models?
if so, then it's working fine. The Y value in "X of Y" is misleading, so we'll have to put in a fix for that, but the data should be loading correctly.


CAMEL-11407 camel-opentracing loggingtracer needs to build before client

https://issues.apache.org/jira/browse/CAMEL-11407

@cunningt thank you for fixing this 👍, it has been merged to master do you mind closing this PR?


Auto Focus not working

As in your function i have marked autofocus to true but still when i navigate to that respected page the autoFocus is not awaking the keyboard
Pinput(
length: 4,
defaultPinTheme: defaultPinTheme,
focusedPinTheme: defaultPinTheme.copyWith(
decoration: defaultPinTheme.decoration!.copyWith(
border: Border.all(color: greenColor),
),
),
autofocus: true,
controller: authState.otpController,
onCompleted: (value) {},
submittedPinTheme: defaultPinTheme,
),
Pinput version: 5.0.0

I am using ios simulator with cmd + k ON

I have the same issue on Mobile Web (Safari, iOS 18.1, iPhone 13).
Working fine on the App, but buggy for web

Hey guys, the base functionalities like autofocus has the same implementation as the TextField widget in Flutter so please check if you have the same issue when you use TextField instead of Pinput, if yes it's most likely the bug in Flutter.


Add country names, code to database

The insert statement is in docs just in case we need to rebuild.

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

Project coverage is 92.06%. Comparing base (65b5422) to head (1760c83).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #17   +/-   ##
=======================================
  Coverage   92.06%   92.06%
=======================================
  Files          24       24
  Lines         252      252
  Branches       23       23
=======================================
  Hits          232      232
  Misses         18       18
  Partials        2        2

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


[FLINK-16798] Fix TM inherit logs from BashJavaUtils.

What is the purpose of the change
This PR fix the problem that logs generated in BashJavaUtils is thrown away, failed to be inherited by the TM JVM process.
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

Subsumed by #11520.


Unclear how libmoon is supposed to interface with Mellanox dev=mlx5_core

I successfully built libmoon (19.05 branch) with dpdk (19.05 libmoon branch) on Ubuntu 20.04 with Mellanox ConnectX-5 (MLNX_OFED_LINUX-5.3-<IP_ADDRESS>-ubuntu20.04-x86_64) firmware 16.28.4512. Note I additionally installed mlnx-ofed-kernel-only deb package (did not install by default) and the libmlx5 libraries seem to be bundled with ibverbs (the libs are present but I do not see any libmlx5 packages).
That said, when I run my libmoon based application, it does not find any usable devices. I am unclear on how this should work given the cards are using dev=mlx5_core which is not custom built by libmoon (unlike igb_uio.ko and rte_kni.ko which are present in the x86_64-native-linux-gcc/kmod directory). Since the cards are not using a newly compiled libmoon dpdk dev driver, I'm not surprised my libmoon application doesn't find the devices. Am I misunderstanding how this is supposed to work?
Here is my output from using MoonCookie (libmoon-based application at https://github.com/syn-proxy/MoonCookie)
[INFO]  Initializing DPDK. This will take a few seconds...
EAL: Detected 64 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /run/user/10002/dpdk/rte/mp_socket
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: Cannot obtain physical addresses: Success. Only vfio will function.
EAL: Couldn't get fd on hugepage file
EAL: Couldn't get fd on hugepage file
error allocating rte services array
EAL: FATAL: rte_service_init() failed
EAL: rte_service_init() failed
[INFO]  Found 0 usable devices:
[FATAL] Lua error in task master
../MoonCookie/libmoon/build/../lua/device.lua:100: there are only 0 ports, tried to configure port id 0
Stack Traceback
===============
(2) Lua method 'fatal' at file '/MoonCookie/libmoon/build/../lua/log.lua:129'
	Local variables:
	 self = table: 0x411091f8  {DEBUG:0, fatal:function: 0x41109580, writeToLog:function: 0x41109560, INFO:1 (more...)}
	 str = string: "there are only 0 ports, tried to configure port id 0"
(3) Lua field 'config' at file 'MoonCookie/libmoon/build/../lua/device.lua:100'
	Local variables:
	 args = table: 0x41b40aa0  {rssQueues:1, rxQueues:1, port:0, txQueues:1}
(4) Lua function 'master' at file 'mooncookie.lua:48' (best guess)
	Local variables:
	 args = table: 0x407b6ca8  {devR:1, batch:63, strategy:2, threads:1, devL:0}
(5) global C function 'xpcall'
(6) Lua upvalue 'master' at file '/MoonCookie/libmoon/build/../lua/main.lua:96'
	Local variables:
	 _ = string: "./libmoon/build/libmoon"
	 file = string: "mooncookie.lua"
	 args = table: 0x403b47c0  {1:-s, 2:auth_invalid, 3:0, 4:1}
	 cfgFile = nil
	 ok = boolean: true
	 parsedArgs = table: 0x407b52f0  {1:table: 0x407b6ca8}
(7) Lua function 'main' at file '../MoonCookie/libmoon/build/../lua/main.lua:146' (best guess)
	Local variables:
	 task = string: "master"
	...MoonCookie/libmoon/build/../lua/device.lua:100: there are only 0 ports, tried to configure port id 0

mellanox drivers are not compiled in by default (because of their dependencies), you need to pass --mlx5 to the build script, see https://github.com/libmoon/libmoon/blob/master/install-mlx.md

Thank you for the response. I typically pass "-m" which seems to be the equivalent of --mlx5 to build.sh. I confirm that CONFIG_RTE_LIBRTE_MLX_PMD is changed to y
# Compile burst-oriented Mellanox ConnectX-4, ConnectX-5,
# ConnectX-6 & Bluefield (MLX5) PMD
CONFIG_RTE_LIBRTE_MLX5_PMD=y
CONFIG_RTE_LIBRTE_MLX5_DEBUG=n
# Linking method for mlx4/5 dependency on ibverbs and related libraries
# Default linking is dynamic by linker.
# Other options are: dynamic by dlopen at run-time, or statically embedded.
CONFIG_RTE_IBVERBS_LINK_DLOPEN=n
CONFIG_RTE_IBVERBS_LINK_STATIC=n

Any other suggestions?

@michael-kaplan  do have any progress on this? I've faced similar problem with ConnectX-6, OFED 5.4
I can manage compile the libmoon with dpdk 21, the dpdk 21 comes with working testpmd but libmoon could not find any mellanox cards.


[CL][Concentrated Liquidity Module]: create a separate file and folder for pool implementation

Background
Currently, we have keeper methods and pool methods both mixed up in pool.go.
We should separate pool methods from the keeper methods.
Suggested Design

Create a concentratedpool package in the root of the module.
Regenerate the concentratedPool.pb.go file to the above package
Move all pool method implementations from into the concentratedpool package
Port tests

Acceptance Criteria

design implemented
keeper and pool implementations are separated

hello @p0mvn, need help on this?

Hrrm, srry if Im missing something, but I don't understand the reason to have a separated out structure for the cl module if cl is the only pool model within the module. Also, this way, we can't access state for the ticks if its a pool method. Are you thinking of this design to be swap-router compatible?

I don't understand the reason to have a separated out structure for the cl module if cl is the only pool model within the module

Do you mean having a separate pool model?
Pool-model is a separate component so I think it makes sense to encapsulate it into its own package. It would also work well with the abstractions in x/gamm where each pool model belongs to their own package.

Also, this way, we can't access state for the ticks if its a pool method.

With the current API, what are the methods that would need to have access to ticks? We should be able to keep such methods on the keeper.

Are you thinking of this design to be swap-router compatible?

What do you mean exactly by swaprouter compatible? If it implements PoolI, it is compatible with the swaprouter

This is complete in #3296


[Event Request]  page 344 Navigate  -  OnAfterOnInit

Hello, for an Page extension we need an new Event OnAfterOnInit.
trigger OnInit()
    begin
        SourceNameEnable := true;
        SourceNoEnable := true;
        SourceTypeEnable := true;
        DocTypeEnable := true;
        PrintEnable := true;
        ShowEnable := true;
        DocumentVisible := true;
        SearchBasedOn := SearchBasedOn::Document;
        OnAfterOnInit(Rec);
    end;

[IntegrationEvent(false, false)]
    local procedure OnAfterOnInit(var Rec: Record "Document Entry");
    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. 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.
Build ID: 52552.


vate

Issue Report Checklist

[ ] Searched the issues page for similar reports
[ ] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[ ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[ ] Tried basic troubleshooting (if a bug/error)

[ ] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[ ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
What steps reproduce the problem?

What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

Spyder version:
Python version:
Qt version:
PyQt version:
Operating System name/version:

Dependencies

PASTE DEPENDENCIES HERE

Please stop opening empty issues.

Sorry this was completely unintentional. It think it was too easy to this function.
Sent from my iPhone

On Apr 9, 2020, at 1:09 AM, Carlos Cordoba<EMAIL_ADDRESS>wrote:

Closed #12229.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


remove elastic/elastic-ingest-dotnet projects and reference them as nuget packages

:robot: GitHub comments
Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.


Fix: updated Y-axes tick logic (fixes #235)

What is the purpose of this pull request? (Check any that's applicable)

[ ] Feature
[x] Bug fix
[ ] Dependency updates
[ ] Documentation updates
[ ] Build related changes
[ ] Changes an existing functionality
[ ] Other, please explain:

Does this introduce a breaking change?

[ ] Yes
[x] No

What changes did you make? (Give an overview)
This code change fixes the bug described in #235 . The tick generation logic has been updated for improved handling of different scenarios. Rendering of ticks when allowCalibration is set to false is fixed and custom tick values for the Y axes can now be used again after the updated in 2.5.1. The new logic now utilizes tick values in the following decreasing priority:

Custom tick values
ticksCount property
default method

Add any screenshots
Consumers can now define custom tick values again:

With allowCallibration set to false, consumer axis limits are used insted of being rounded up or down:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Py38

Needed in https://github.com/conda-forge/kaggle-feedstock/pull/6

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


support for python 3.8

I'm maintaining a fork of this project, it is tested against all the current versions of Python and django (including the future django 3.0). I'm willing to create a merge request into the main project but last time I did so, the maintainer didn't have time to check it.
https://github.com/MDziwny/django-fsm
And it's published on pypi under the name django-fsa (but the code namespace is the same than in djang-fsm, so you can use it without changing a line of code)

good to know! thanks


Proposal: VisibleForAccessors

On android we have method limits, and one means of mitigating them is to avoid synthetic accessor methods. A downside of this would be that sometimes you're left making certain things package-local when you'd normally make them private. What would you think of an annotation like @VisibleForAccessors(otherwise = PRIVATE)? Similar to @VisibleForTesting, but to enforce these are treated the same way as otherwise (whose value could default to PRIVATE) during compilation,

An example: https://github.com/uber/AutoDispose/pull/103

There is an Android Lint rule for @RestrictTo, as you know, but this proposal may be handy for non-Android libraries.
My personal experience is that Java's private keyword is useless noise in libraries and all feature-package organized code.
@VisibleForAccessors(otherwise = PRIVATE) would also be a lot of noise for little clarity or other benefit, in my opinion.
However, an annotation like this would be handy to apply to packages in Java libraries that organize some implementation details in separate packages like internal, so they could restrict consumers from using code not intended to be part of the API.

Dupe of #537

Or related to, at least

Error-Prone already has a check for RestrictTo RestrictToEnforcer.
The only problem is that it needs android support annotations and just work to make sure that the API is internal to support the library.
It can be easily modified to suit this use case. I can send a PR if the error-prone team is ok about the check.
This issue can then be closed for 537.


Feature srandom - A seeded random number

A function generating seeded random numbers, allowing for sorting lists in a random, but predictively fashion.
This function allows for queries to return random items when combined with sorting on the random number, and using LIMIT to get the number of random results you want. Due to the seed, which could be a date like YYYY-MM-DD, the random result will be consistent as long as the source list or the date actually changes.
A simple example query to get three random links:
```dataview
LIST FLATTEN srandom(dateformat(date(today), "yyyy-MM-dd")) as randomValue
SORT randomValue
LIMIT 3
```

I originally hoped to put the expression directly into SORT ... but it requires a field, so it seems I have to use the intermediate FLATTEN ... as randomValue to get it to be that field. But it do work consistently.

I like this idea but I worry that slight changes to the execution order of function calls (such as more calls from more data, or maybe a patch in dataview shifting around execution order when executing queries) will make this frustrating to use.
As an alternative, maybe just a random hash function? One that takes hash(<seed>, <value>) and produces a pseudo-random value for it. To use it, you would probably provide file names and dates, like hash(date(today), file.name) to get a consistent value you could then sort on.

hm. I consider these algo's to be too costly for generating pseudo randomness.
just for reference, i've done some tech demos before, that are basically based on this prandom gen concept:
const generator = (seed) => {
  const func = () => {
    seed *=<PHONE_NUMBER> + 12345;
    seed--;
    return (seed %= Number.MAX_SAFE_INTEGER) / Number.MAX_SAFE_INTEGER;
  };
  func();
  return func;
}

const rand = generator(1337);
console.log(rand(), rand(), rand()); // 0.37070590492482164 0.860457525371235 0.2702827315720024

I like this idea but I worry that slight changes to the execution order of function calls (such as more calls from more data, or maybe a patch in dataview shifting around execution order when executing queries) will make this frustrating to use.

@blacksmithgu well.. that's literally the functionality pseudo randomness guarantees. it's a feature.
one can obviously branch a new generator off of ones output, to create a separate path in parallel.

I'm not quite sure I understand your concern regarding the execution order due to this being a random function. But then again the random number generated for a given row will change if the execution order for the rows change.
On the other hand, using just a hash function like the cyrb128 which I've already implemented could simplify the logic so I wouldn't need to tap into the evaluation context and cache the generator function.
Should we close this PR, and create another for that hash implementation and documentation of it?

hm. technically @blacksmithgu has a point tho.
list(srandom("2024-02-28"), srandom("2024-02-28"), srandom("2024-02-28")) would indeed output different values on each call.
but.. since we are talking about dql here, how else could it be implemented then?
people obviously don't want to type boilerplate in short queries, just to have a reference to a prand instance like in my example.

list(srandom("2024-02-28"), srandom("2024-02-28"), srandom("2024-02-28")) would indeed output different values on each call.

How did you get that to return different values? In all of my tests, and even the unit tests has a very similar setup where it consistently returned the same values over and over again.

I'm going to build another PR using just a hash function, and it's going to be a slightly simpler version of the cyrb128. And even though we don't need a seeded random number, but can use a random hash, I still believe we need to use some unique text to be the base of the hash, and not a number.
I did the following https://jsperf.app/bowuze to compare some variation of a hash function. Feel free to extend with some other variants, but as it stands currently the cyrb53 seems to be the fastest variant.
If (or when) the other PR is created, and no-one opposes to it this PR can be closed down, and the other one integrated into the master. :-D

How did you get that to return different values? In all of my tests, and even the unit tests has a very similar setup where it consistently returned the same values over and over again.

na don't worry about it. I wasn't talking about true randomness. I was just referring to the way this keeps track of nounces

I've merged the related hash() function - I'm not caught up on the discussion here, but are we good to close this one out?

The linked PR has been pushed into master, with similar, but simpler, logic, so we can then close down this PR.


persistences need to have "get(storeName, key)" method

For authentication. I'll explain the reason later

Forget it, it was just my misunderstanding


What's new in ASP.NET Core 3.0

New article.

Oh yeah, forgot I had started drafting that. I made an initial start on it and got sidetracked by more pressing matters. @scottaddie let's sync up sometime soon, if you're free. I'll be going on paternity leave a week from today, so I'm unlikely to finish up the work I started in https://github.com/aspnet/AspNetCore.Docs/commit/22e6ed8b58988717ec0acb8ec2d4429a1d921776

@danroth27 who will be handling this?

Closing, as this doc already exists.


services: NextJS 13 Deployment using Amplify

Describe the feature
We want to create a Step by Step guide on how to deploy a next 13 app using aws amplify
Use Case
We want to have it as a small POC and guide for future projects
Proposed Solution
create a dir at examples/services called nextjs13-amplify
Other Information
No response
Acknowledgements

[ ] I may be able to implement this feature request
[ ] This feature might incur a breaking change

Version used

Environment details (OS name and version, etc.)

@pedrobrost will work on this 🥳


Update Repair Accessibility.yaml

Added procedures for repairability.
Fixes #113

Add "documentation such as"...

Merged this pull request.


BUG: It happens only on scipy not on any other package - autocomplete not possible in IDLE. ipython

Describe your issue.
I have this problem in regards "autocompletion" of scipy.
When one imports a package, any package, you'd expect to see after the fullstop, a list of functions.
Attempts to uninstall and reinstall
But no matter what one does:
pip  uninstall scipy --upgrade
Then either:
pip install scipy --upgrade
pip install scipy --force-reinstall
pip install --ignore-installed scipy
pip install --upgrade --no-deps --force-reinstall scipy
pip install --no-deps --ignore-installed scipy
Results of uninstalling and reinstalling - regardless of reinstallation method:
That is instead of the many functions of scipy, only functions I get are this:

In other words I don't get some of the many functions such as scipy.e and scipy..pi.
For example I only get this:

Other information:
scipy.version = '1.8.0'
numpy.version = '1.22.3'
Python version = 3.9.12 = sys.version_info = sys.version_info(major=3, minor=9, micro=12, releaselevel='final', serial=0)
OS: Windows: 19043.985
Note that this behaviour is only occurring with scipy, NOT any other package. That is autocompletion occurs successfully with other packages but not for scipy.
Thank you,
Anthony of Sydney
Reproducing Code Example
Python 3.9.12 (tags/v3.9.12:b28265d, Mar 23 2022, 23:52:46) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> import scipy
>>> # After you press the dot for scipy.  you expect to see many functions.
>>> # NOT two functions.
>>> dir(scipy)
['LowLevelCallable', 'test']
>>> # Yet we know that scipy has more functionality.
>>> print(scipy.e)
2.718281828459045
>>> print(scipy.pi)
3.141592653589793
>>>

Error message
There were no error messages.

SciPy/NumPy/Python version information
sys.version_info(major=3, minor=9, micro=12, releaselevel='final', serial=0) = 3.9.12

Please import individual subpackages before trying autocomplete. For details, seeSciPy Organization.

Dear sir,
Thank you for referring me to the document at https://docs.scipy.org/doc/scipy/tutorial/general.html#scipy-organization .
Perhaps I should have expressed the problem more precisely.
I should not have to do the from scipy import linalg, optimize in order explore the available functions of scipy NOR read the documentation as suggested in your last comment.
(1) Applying the last comment produce produced this result

Where did  that DLL issue came about?
(2) This problem is only occurring in scipy.
I was able to access functions of scipy by merely importing import scipy.
First I should not have have to use the from scipy import linalg
Other packages work with autocompletion, such as from numpy:

It is only with scipy that I have the problem.
But with scipy I only get

There is a bug in your scipy that is not in numpy.
Please help
Thank you,
Anthony of Sydney

Autocompletion works in Spyder but not in IDLE as demonnstrated before
From Spyder

Does anybody understand me?
Why isn't it working in IDLE but works in spyder?
Thank you,
Anthony of Sydney

Please see gh-11774 for one of the other times this was discussed. There is some work towards lazy importing that would not require importing subpackages (see gh-15320), but for now, importing each subpackage is the recommended way of using SciPy.
@stefanv do I understand that submodule names should show up in every IDE starting in SciPy 1.9.0? Do you know why the behavior might be be inconsistent until then?

Dear sirs,
Thank you for your time.
I get autocompletion from MS Visual Studio Code,

There is no autocompletion in MS VIsual Studio 2022's Python interactive terminal.
Hope that it is helpful for you,
Thank you,
Anthony of Sydney

IDLE's autocompletion is not as sophisticated as those others. It doesn't try to show unimported subpackages. Different IDEs are implemented differently. That has more to do with the IDEs than scipy.
In some ways, it's more correct than the other IDEs. You cannot just import scipy and use scipy.linalg.whatever(). scipy.linalg isn't available until you do from scipy import linalg or import scipy.linalg. That's how scipy is designed. numpy is designed differently.
Now, IDLE probably should be showing some more symbols that scipy/__init__.py imports from numpy, but it looks like you have a misbuilt scipy, which may also be causing issues with the autocompletion functionalities. That's the "DLL load failed" error message. We can't diagnose here, but you will have to revisit how you installed scipy.

Dear rkern,
Thank you for that.
A couple of additional comments which I hope contributes back to the scipy people:

A few weeks ago, I'm sorry that is vague, in idle one was able to import scipy and  dir(scipy) listing all functions or do a complete autocomplete until now.
On the "DLL" error, to cut a long story short, that is after research I installed the MKL version of the numpy with mkl at https://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy.
and for my Python v 3.9.12, installed numpy‑1.22.3+mkl‑cp39‑cp39‑win_amd64.whl
After installing the above *.whl file I observed the warning notices and downgraded the recommended packages, for example cython
Then pip uninstall scipy and then pip install scipy --force-reinstall
The "DLL" error disappeared.
This is what we cannot and can do by instantiating directly and indirectly:

Thank you,
Anthony of Sydney


Fix issue 822

Increase version of parliament to latest published -> 1.3.1
As seen in https://pypi.org/project/parliament/#history and in https://github.com/duo-labs/parliament/releases .
Updated .gitignore so it ignores IntelliJ IDEA files and folders
Fixes issue https://github.com/duo-labs/cloudmapper/issues/822

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Closing this as the parliament version has increased further so I'll make a new PR for this.


Opportunity IDs in Job opportunity seeder

Describe the task
Currently, the job opportunity seeders used to fill data in the hr_jobs table gives 0 in the opportunity id column. We want the opportunity ID to be a random number while running the seeders.
Post that, whenever we add an application from the portal, submitting this form gives an error of the required opportunity ID, we would like to have a hidden input field in this form, that will have value as an opportunity ID corresponding to the job selected from the dropdown in the same form.
You can pass job opportunity ID as an id tag in select job dropdown options, upon selecting any job, the input hidden field would populate the ID corresponding to the selected dropdown item. You can use JS for the same.

This issue is completed. Closing it.