updateVersion is creating a lot of extra nodes

With this model: https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/1.0/BrainStem/glTF-Binary
The original glTF has 3 meshes, each with 10-25 primitives
The glTF returned from gltf-pipeline has ~50 meshes, each with one primitive.  And each of these new meshes need to be referenced by a node, so it also creates a ton of extra nodes.
As a result, the hierarchy goes from looking like this:

and after it's processed it looks like this:

This intuitively doesn't seem as optimal, but I'm not really sure.  @lilleyse is looking into it

It may be due to updateVersion if it is being used. One of the things that changed from glTF 1.0 -> 2.0 is that nodes have a mesh property instead of meshes. updateVersion splits mesh groups on nodes out into new nodes to be compatible with the new spec.
If this is a newer version of Cesium this could be happening in there and not during the optimization since Cesium uses updateVersion to load 1.0 models.

If that is the reason, it should be possible to change that section of code to combine the primitive arrays of mesh groups on nodes during the update (which is probably more optimal).

Thanks @lasalvavida! Yes, both screenshots are from Cesium 1.36, so the glTF is being updated from 1.0 to 2.0.
That does appear to be the problem.  Everything looks as expected in Cesium 1.35 using glTF 1.0.

+1 to fixing this soon if anyone has bandwidth.

I'm pretty sure updateVersion or anything included in Cesium isn't the problem. It does break apart nodes with multiple meshes correctly but this doesn't add that many nodes. One of the optimization stages is the cause, I don't know which.

(Brainstem glb 1.0 dragged onto model inspector)

@lilleyse My guess is there's something going wrong the changes made during the optimization stage and how updateVersion processes those changes.  The optimized model has a reasonable hierarchy in Cesium 1.35 using glTF 1.0, but it looks crazy in 1.36 after updateVersion converts it to glTF 2.0.

Most likely this was fixed when the optimization stages were removed. The model has 24 nodes after processing now.

@lilleyse I'm seeing the same thing in ion that I did when I opened this issue

I guess the question is should issues remain open that are only a problem on the 1.0 branch? This bug does not happen in master.

Oh did 2.0 get merged into master?  It is probably just the 1.0 branch if that's what we're using

Yeah we merged the 2.0 branch in yesterday.


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 15:06:29 on 2023.06.06
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 3, errors out: 0
Original problem ID: 23442
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=23442

Problem has been resolved in 6m 0s at 15:12:29 on 2023.06.06
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 23442


Set up the Javalin RouteOverviewPlugin

This adds an "/api" route that is populated by Javalin's RouteOverviewPlugin. This doesn't give us a ton of information, but it does list all the supported routes.
It was really easy to do, so I suspect we should go ahead and merge this in?
My sense is that going with the OpenAPI plugin would be more informative, but that's not happening this week. I'm also not sure if the added info would be worth the extra complication that would come with it.
Closes #169

Actually it really should be /api. In future labs only things at the path /api are routed to the server at all and the idea was to actually return something at that path instead of an error which is now what will happen.


Reduce radius of circles on publications line chart

Now that there are so many points on this charts, it's become impossible to see the actual lines.
This reduces the radius of the circles so that the line (and trend) is easier to see again.
Before:

After:

@samuelhwilliams good question. I did think it might be interesting to show one line per year (and counting either new pages or updates)? That should show the spike in updates being around the same time of year as the one year anniversary...


Fix memory leak - Bootstrap CoAP temporary payload not deallocated

Fix a memory leak, caused by the temporary CoAP payload data (send by bootstrap server) not deallocated.
See: https://github.com/eclipse/wakaama/issues/701

Fixed the commit message according to the rules.

Closed in favor of https://github.com/eclipse/wakaama/pull/753


[Unity][CUTLASS] Support batched matmul + residual fusion

Follow-up to https://github.com/apache/tvm/pull/14317 to support batched GEMM + residual block fusion.
@vinx13

@tvm-bot rerun


Turn-off not only for the complete network

• it must be possible to limit the turn-off to given subgroups/clusters
• it must be possible to exclude certain links from the turn-off (high-availability-links, e.g. Mercedes-Benz or hospitals, events, etc.)

Activation List:

it must be possible to limit the turn-off to given subgroups/clusters

Proposal 1: The links that shall be considered by an automation module need to have a corresponding entry in a static list.
Black List:

it must be possible to exclude certain links from the turn-off (high-availability-links, e.g. Mercedes-Benz or hospitals, events, etc.)

Proposal 2: Links that are listed on the BlackList must not be regarded in any power saving activity.


cmd+clicking on modified files in terminal should understand where the file lives

I often run git status in the terminal to see the files I've modified. If I have modified package.json, I will try to cmd+click on the file to open it, but since I have a lot of package.json files in my workspace, VSCode asks which one I want to open. It would be nice if this functionality could just work as intended and read the full path when trying to open a file.
For now, my workaround is simply running code package.json instead of cmd+clicking the filename in the git status output.

This works for me. Are you in a multi-root workspace?

I believe so, all of my projects are in ~/projects, for example ~/projects/project1, ~/projcets/project2 etc
I have added all of them to my workspace via "add folder to workspace".

Please provide a screenshot or a gif illustrating the problem (attaching images won't work via email, you need to go to github.com). See this wiki page for more general info on how to report actionable terminal issues.
/label "info-needed" terminal

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


NPM update

Hi team, do you know when v2.2 will hit the NPM repository? The latest there is still on v2.1.5
Thanks for your hard work!

it's in, apologies for the delay.

Fantastic! Thank you

What about 2.2.2?


Merge r1894285, r1894286, r1894291, r1895550, r1895553 and r1895630

Rebuild

Backported in r1895871 (4819c58566d2274b95d56b16fe51aa80461633da)


Input contains NaN, infinity or a value too large for ('float64')

OCTIS version: 1.13.0
Python version: 3.10.12
Operating System: Google Colab

Description
I am trying to run the Google Colab example provided in the repo README. I only changed the dataset, to load a custom dataset using the load_custom_dataset_from_folder() in the .tsv format. I executed the algorithm with a small vocab (39 words) without problems, but with a "big" vocabulary (7894 words), I got an error from sklearn.utils.validation.py as follows:
What I Did
Current call:  0
Current call:  1
Current call:  2
Current call:  3
Current call:  4
Current call:  5
Current call:  6
Current call:  7
Current call:  8
Current call:  9
Current call:  10
Current call:  11
Current call:  12
Current call:  13
Current call:  14
/usr/local/lib/python3.10/dist-packages/numpy/core/fromnumeric.py:3432: RuntimeWarning: Mean of empty slice.
  return _methods._mean(a, axis=axis, dtype=dtype,
/usr/local/lib/python3.10/dist-packages/numpy/core/_methods.py:190: RuntimeWarning: invalid value encountered in double_scalars
  ret = ret.dtype.type(ret / rcount)
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
[<ipython-input-31-2dff32b1aedb>] in <cell line: 2>()
      1 optimizer=Optimizer()
----> 2 optimization_result = optimizer.optimize(
      3     model, dataset, npmi, search_space, number_of_call=optimization_runs,
      4     model_runs=model_runs, save_models=True,
      5     extra_metrics=None, # to keep track of other metrics

10 frames
[/usr/local/lib/python3.10/dist-packages/sklearn/utils/validation.py] in _assert_all_finite(X, allow_nan, msg_dtype)
    101                 not allow_nan and not np.isfinite(X).all()):
    102             type_err = 'infinity' if allow_nan else 'NaN, infinity'
--> 103             raise ValueError(
    104                     msg_err.format
    105                     (type_err,

ValueError: Input contains NaN, infinity or a value too large for **dtype('float64').**

I also tried running locally, although with a different version and environment
Octis: 1.10.2
Python: 3.7.3
OS: Linux
And I got this full traceback, and by inspection I got a value of -inf for f_val
Traceback (most recent call last):
  File "/home/paulomann/anaconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/paulomann/anaconda3/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/paulomann/.vscode-server/extensions/ms-python.python-2023.12.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py", line 39, in <module>
    cli.main()
  File "/home/paulomann/.vscode-server/extensions/ms-python.python-2023.12.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py", line 430, in main
    run()
  File "/home/paulomann/.vscode-server/extensions/ms-python.python-2023.12.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py", line 284, in run_file
    runpy.run_path(target, run_name="__main__")
  File "/home/paulomann/.vscode-server/extensions/ms-python.python-2023.12.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 322, in run_path
    pkg_name=pkg_name, script_name=fname)
  File "/home/paulomann/.vscode-server/extensions/ms-python.python-2023.12.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 136, in _run_module_code
    mod_name, mod_spec, pkg_name, script_name)
  File "/home/paulomann/.vscode-server/extensions/ms-python.python-2023.12.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 124, in _run_code
    exec(code, run_globals)
  File "/home/paulomann/workspace/reddit-topic-modelling/octis_training/training_and_optimization.py", line 102, in <module>
    model_runs=5, plot_best_seen=True) # number of runs of the topic model
  File "/home/paulomann/anaconda3/lib/python3.7/site-packages/octis/optimization/optimizer.py", line 160, in optimize
    results = self._optimization_loop(opt)
  File "/home/paulomann/anaconda3/lib/python3.7/site-packages/octis/optimization/optimizer.py", line 288, in _optimization_loop
    res = opt.tell(next_x, f_val)
  File "/home/paulomann/anaconda3/lib/python3.7/site-packages/skopt/optimizer/optimizer.py", line 493, in tell
    return self._tell(x, y, fit=fit)
  File "/home/paulomann/anaconda3/lib/python3.7/site-packages/skopt/optimizer/optimizer.py", line 536, in _tell
    est.fit(self.space.transform(self.Xi), self.yi)
  File "/home/paulomann/anaconda3/lib/python3.7/site-packages/sklearn/ensemble/_forest.py", line 304, in fit
    accept_sparse="csc", dtype=DTYPE)
  File "/home/paulomann/anaconda3/lib/python3.7/site-packages/sklearn/base.py", line 432, in _validate_data
    X, y = check_X_y(X, y, **check_params)
  File "/home/paulomann/anaconda3/lib/python3.7/site-packages/sklearn/utils/validation.py", line 72, in inner_f
    return f(**kwargs)
  File "/home/paulomann/anaconda3/lib/python3.7/site-packages/sklearn/utils/validation.py", line 805, in check_X_y
    ensure_2d=False, dtype=None)
  File "/home/paulomann/anaconda3/lib/python3.7/site-packages/sklearn/utils/validation.py", line 72, in inner_f
    return f(**kwargs)
  File "/home/paulomann/anaconda3/lib/python3.7/site-packages/sklearn/utils/validation.py", line 645, in check_array
    allow_nan=force_all_finite == 'allow-nan')
  File "/home/paulomann/anaconda3/lib/python3.7/site-packages/sklearn/utils/validation.py", line 99, in _assert_all_finite
    msg_dtype if msg_dtype is not None else X.dtype)
ValueError: Input contains NaN, infinity or a value too large for dtype('float64').

It was related to a topic that was absent in the dataset --- due to some bug, I had a vocabulary with words that were not in the primary dataset.


tighten test_umap_trustworthiness_fast_approx bound

Hi,
The test test_umap_trustworthiness_fast_approx in test_umap_trustworthiness.py has an assertion bound (assert (trust >= 0.75)) that is too loose. This means potential bug in the code could still pass the original test.
To quantify this I conducted some experiments where I generated multiple mutations of the source code under test and ran each mutant and the original code 100 times to build a distribution of their outputs. Each mutant is generated using simple mutation operators (e.g. > can become < ) on source code covered by the test. I used KS-test to find mutants that produced a different distribution from the original and use those mutants as a proxy for bugs that could be introduced. In the graph below I show the distribution of both the original code and also the mutants with a different distribution.

Here we see that the bound of 0.75 is too loose since the original distribution (in orange) is greater than 0.75. Furthermore in this graph we can observe that there are many mutants (proxy for bugs) that are above the bound as well and that is undesirable since the test should aim to catch potential bugs in code. I quantify the "bug detection" of this assertion by varying the bound in a trade-off graph below.

In this graph, I plot the mutant catch rate (ratio of mutant outputs that fail the test) and the original pass rate (ratio of original output that pass the test). The original bound of 0.75 (red dotted line) has a catch rate of 0.59.
To improve this test, I propose to tighten the bound to 0.8 (the blue dotted line). The new bound has a catch rate of 0.64 (+0.05 increase compare to original) while still has >99 % pass rate (test is not flaky, I ran the updated test 500 times and observed 100 % pass rate). I think this is a good balance between improving the bug-detection ability of the test while keep the flakiness of the test low.
Do you guys think this makes sense? Please let me know if this looks good or if you have any other suggestions or questions.
My Environment:
python=3.7.11
numpy=1.20.3

my umap Experiment SHA:
ec9832cbdb7f106a727e6bbd4c54c78fae30f26f

Thanks for this!


Ability to write task in Pwsh 7+

Use Case
The ability to use Pwsh 7 for Bolt Tasks.
Describe the Solution You Would Like
input_type="pwsh" maybe?
Describe Alternatives You've Considered
Using a plan or powershell to call pwsh.

You should be able to configure this in the interpreters config for .ps1 files https://www.puppet.com/docs/bolt/latest/bolt_transports_reference.html#interpreters

@donoghuc I had no idea about this. Thank you!
Is it expected that if a task input_method is powershell that you cannot define interpreters? If I set this to stdin it actually runs in pwsh.exe instead of powershell.exe.
Reproduction:
bolt-project.yaml:
---
name: bolt_pwsh_task
modules: []

inventory:
config:
  local:
    interpreters:
      ".ps1": "C:\\Program Files\\PowerShell\\7\\pwsh.exe"

tasks/init.json:
{
    "input_method": "stdin",
    "parameters": {
        "name": {
            "description": "Name of user to run command",
            "type": "String"
        }
    }
}

tasks/init.ps1:
#!/usr/bin/env pwsh
[CmdletBinding()]
param (
    [Parameter()]
    [string]
    $name
)

Write-Host "PSEdition = $($PSEdition)"
$PSVersionTable
Write-Host "Name = $($Name)"

I'm closing because I found much more success using Plans + Script Task. I think it's a bit weird powershell.exe is forced on windows, for non-windows management pwsh is great.


question about the ImageDemo

hello：
when i test the ImageDemo.py, i find that a picture of 600*640 pixes need 17s on cpu, and 10s on gpu; However, this is not the case in the paper. Is the processing time normal? Time is mainly spent on a function of theano, can time continue to be optimized?
thanks，best wishes

Hi,
That is definitely not normal. Have you tried running other theano DNNs on your machine? What hardware setup do you have? Also, the processing time should be independent of the image size (all images are cropped and resized to the same 112x112 size).
Thanks,
Marek

Hi  Marek：
I mainly run un ImageDemo.py, I , I tested a picture, the timing is started by by model.loadNetwork, rk, the time is mainly spent on the he model.processcessImg function, the picture will be processed to 112112, but in in FaceAlignment.processcessImg the he self.generate_net_network_output function took a long time. The inputImg is
112112. Is my way of calculating time wrong?
Thanks，best wishes
Sunny

Hi,
The runtime of the first image that is processed may be a bit longer. Please calculate the time starting from the second image you process.
Also, do not include the model.loadNetwork as this is done only once, not per-image.
Best regards,
Marek

hi,
i test my picture on RTX2060,and the time is 1.5s per image,it is too slow to run real time.how can i opimiter the code?
thanks

That's definitely slower then it should be. Are you sure it's running on the GPU? Theano should tell you in the first line it prints whether it's using the GPU or not.


Failed to compile

Since this is not supported on mac (which I failed to compile too), I try to do it on a debian image on compute engine, but it fails too.
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python: /home/johnsyinang/anaconda3/envs/rebel/bin/python3.8 (found version "3.8.5") found components: Interpreter
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found PythonInterp: /home/johnsyinang/anaconda3/envs/rebel/bin/python3 (found suitable version "3.8.5", minimum required is "3.7")
-- Found PythonLibs: /home/johnsyinang/anaconda3/envs/rebel/lib/libpython3.8.so (found suitable version "3.8.5", minimum required is "3.7")
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)
CMake Warning at /home/johnsyinang/anaconda3/envs/rebel/lib/python3.8/site-packages/torch/share/cmake/Caffe2/public/cuda.cmake:31 (message):
  Caffe2: CUDA cannot be found.  Depending on whether you are building Caffe2
  or a Caffe2 dependent library, the next warning / error will give you more
  info.
Call Stack (most recent call first):
  /home/johnsyinang/anaconda3/envs/rebel/lib/python3.8/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:88 (include)
  /home/johnsyinang/anaconda3/envs/rebel/lib/python3.8/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:40 (find_package)
  CMakeLists.txt:34 (find_package)
CMake Error at /home/johnsyinang/anaconda3/envs/rebel/lib/python3.8/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:90 (message):
  Your installed Caffe2 version uses CUDA but I cannot find the CUDA
  libraries.  Please set the proper CUDA prefixes and / or install CUDA.
Call Stack (most recent call first):
  /home/johnsyinang/anaconda3/envs/rebel/lib/python3.8/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:40 (find_package)
  CMakeLists.txt:34 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/johnsyinang/rebel/rebel/build/CMakeFiles/CMakeOutput.log".
See also "/home/johnsyinang/rebel/rebel/build/CMakeFiles/CMakeError.log".
Makefile:5: recipe for target 'compile' failed
make: *** [compile] Error 1

Is CUDA necessary?

Without CUDA running things will be terribly slow.
Having said this, it should compile without CUDA if you use cpu-only pytorch:
conda install pytorch==1.4.0 torchvision==0.5.0 cpuonly -c pytorch


[Bug][Widget responsiveness] For a bigger widget in fixed mode , when you run conversion algorithm, the same shrinks to min height and width but the boundary boxes doesn't respect the actual size

https://www.loom.com/share/41fa28b1d6e244eb815a356d148c75ce

This is resolved last week and the bug is not there in release.


Add preprocessrequest argument to serve

As discussed in #119.

lgtm, thank you, small nit could you call it preprocess_request to go with the style of surrounding code? otherwise happy to merge

Sure!

awesome thanks, just letting CI run then will merge and release


make docker that runs new version

copying from the legacy make a minimal Go docker that builds and runs the headless node

a new Dockerfile is now found at the root with an init.sh which can be run with .build then .run, it uses a two stage build and creates a final image at about 114Mb in total, including minimal ubuntu cloud (it depends on having a working 'sh' function.


Race condition when calculating disk usage

See original issue on GitLab
In GitLab by [Gitlab user @tacgomes] on Jul 27, 2018, 10:55
Summary
There's an apparent race condition when calculating disk usage on a directory. See the log.
Steps to reproduce

Clone freekdesktop-sdk.
Remove artifact servers configuration from bootstrap/project.conf and sdk/project.conf.
Run make

Note: I only reproduced this bug when running the above steps in the CI. It build successfully on my local machine in the first attempt.
What is the current bug behavior?
Relevant logs and/or screenshots
https://gitlab.com/BuildStream/buildstream/-/jobs/84724566

BuildStream version affected: /milestone %BuildStream_v1.x

In GitLab by [Gitlab user @tlater] on Jul 27, 2018, 11:11
Note: search for FileNotFoundError in the output log

In GitLab by [Gitlab user @toscalix] on Aug 3, 2018, 09:17
marked this issue as related to #135

In GitLab by [Gitlab user @tacgomes] on Aug 3, 2018, 16:01
mentioned in commit acc0a774fb4b6480a7998f90db1d0e00a1d6e7d7

In GitLab by [Gitlab user @tacgomes] on Aug 3, 2018, 16:04
mentioned in merge request !600

In GitLab by [Gitlab user @tacgomes] on Aug 4, 2018, 11:10
mentioned in commit ac9d9f40878b2131eedc9e8692a84e775b8d6d69

In GitLab by [Gitlab user @toscalix] on Aug 6, 2018, 09:32
assigned to [Gitlab user @tacgomes]

In GitLab by [Gitlab user @valentindavid] on Aug 7, 2018, 10:18
marked this issue as related to #560

In GitLab by [Gitlab user @valentindavid] on Aug 7, 2018, 10:19
I get this issue systematically by building two freedeskop-sdk branches at the same time.

In GitLab by [Gitlab user @phildawson] on Aug 7, 2018, 10:24
marked #559 as a duplicate of this issue

In GitLab by [Gitlab user @tacgomes] on Aug 9, 2018, 10:23
mentioned in merge request !623

In GitLab by [Gitlab user @jjardon] on Aug 9, 2018, 15:33
[Gitlab user @tacgomes] [Gitlab user @tristanvb] would it possible to release a new tag in the bst-1.2 branch with this fix included?

In GitLab by [Gitlab user @tacgomes] on Aug 16, 2018, 12:43
closed


Refine floating ip option handling

Refine floating IP handling during node deployment to correctly manage scenarios for single and multiple node selections, ensuring consistent behavior when no floating IP is selected.

Ah, I see - thanks!


Feature/update css tailwind

Updated UI with Tailwind, removed bootstrap/react-bootstrap, added brand colors, dark theme, and made other improvements.

LGTM - welcome to the team!


Update script from branch feature/core/reactorupgrade

Update script from branch feature/core/reactorupgrade.
Recover spring-boot's version and spring-cloud's version.
Run script.

Hi, @saragluna , please help to review this PR. 🙏


No touchpad scroll in EDGE on NON-touchscreen laptop

Found other submissions on the subject.  Some were merged, some were closed, some were open.  All of the suggestions/solutions were way over my head.  One said to open a new submission, so forgive me if I am not in line with policy.
W10-64, EDGE will not scroll with TOUCHPAD on Toshiba laptop with Synaptics touchpad. NONtouchscreen.
Another laptop I have .. with same OS but DELL 'pointing device' does work ... but it is a TOUCH SCREEN.
Any help is appreciated in advance.
Make sure these boxes are checked before submitting your issue -- thank you!

[ ] Check FAQ
[ ] Search if there's already one reported in Issues
[ ] Prepare a JSFiddle reproducing the issue

Perfect Scrollbar JSFiddle: https://jsfiddle.net/DanielApt/xv0rrxv3/
With jQuery: https://jsfiddle.net/DanielApt/gbfLazpx/

[ ] Provide a page or source code where the issue can be checked

I tested and found NO PROBLEM in Edge/14.14383 on Windows 10 rs1_release 14383.
Notebook is MacBook Pro 13" Late 2013 under Bootcamp with NO-touchscreen.

Thank you for this input.  Test bed is not quite the same.  Glad it is working for you.

Closed for the original author seems deleted. Please feel free to open an issue if there is further problem about this.


Add Random GUID function block and move General Purpose functions to Miscelaneous group

This PR adds a new function block called "Random GUID" which generates a random GUID using the built-in provider. It also allows to specify a format of the Guid. This can be useful for various situations like generating unique identifiers for objects, data, etc.
Additionally, it moves the "Random User Agent" block and the entire "General Purpose functions" group to a new group called "Miscellaneous".
This change makes it easier to find and use these functions and improves the organization of the blocks in the library.
Closes #840

Seems like the check fail is not at all related to the PR itself.


env var override or overriden?

Following a discussion on https://github.com/quickwit-oss/quickwit/pull/4344
In presence of a config value AND an environment variable, which one should we prioritize?
I think we tend to do

config first
environment variable second.

Azure, S3, however, seem to do the other way around.
Is that picture correct, and should we align the logic?

Interesting. I think we tend to do the opposite:

environment variable first
config second

We do so for all the QW_ en vars.
The AWS SDK works the same way as most of the systems I previously worked with (Hive, Spark, Presto, Airflow).

Def environment variable first.


generate jsonschema wrapper as decorator/delegate

instead of providing an accessor to the schema we should implement the schema interface and delegate all the methods to the original. this should allow a caller to use our object also as schema.

closes by #80


[BUG] Release v2.7.3 scatter plot CanvasGradient

I believe in v2.7.3, something goes wrong.
I tried to apply CanvasGradient color to scatter plot and it just doesn't work.
At last, I changed to v2.7.2 and it worked.
v2.7.2
https://jsfiddle.net/b1embnd2/14/
v2.7.3
https://jsfiddle.net/b1embnd2/15/
Construction of the graph is completely same, the only difference is the version of chart.js.

Since v2.7.3, the origin of coordinates for CanvasGradient has become relative (#5319). In other words,  the center of each point is (0, 0) for CanvasGradient.

Since v2.7.3, the origin of coordinates for CanvasGradient has become relative (#5319). In other words, the center of each point is (0, 0) for CanvasGradient.

I don't get what you mean. The center of each point has nothing to do with CanvasGradient.
In v2.7.3, CanvasGradient seems to apply color gradient INSIDE every point, i.e. https://jsfiddle.net/b1embnd2/22/ .
This is definitely not the correct behavior.
In previous version, the behavior of CanvasGradient acted like this.

Ok, this seems a common use case.
@simonbrunel #5319 uses translate and changed to draw points at (0, 0) to support rotation, but it causes this degradation. One solution would be to calculate each drawing point without translate, but I'm concerned that it could impact the rendering performance. Any ideas?

I don't know what's the best solution and I agree that calculating ourselves the rotated coordinates can have impact on performances. But we could try to benchmark how bad is it and see if it's an acceptable direction.


Truncated division

Hi! I have slightly modified your library to match existing data structure I used for led lighting.
So that I had int[3] as rgb value instead of byte[3], inside a struct. I'm not so expert in C programming but seems that this change messed up the division between double and int and hslToRgb gives me only or 255-255-255 or 0-0-0.
I have casted all number in double (adding a .0 after each number) and avoided to use 1 as hue/saturation/light value but 0.99 and everything works ok.
Like this snippet of code:
void hslToRgb(double h, double s, double l, double rgb[]) {
  double r, g, b;

  if (s == 0) {
    r = g = b = l; // achromatic
  } else {
    double q = l < 0.5 ? l * (1.0 + s) : l + s - l * s;
    double p = 2 * l - q;
    r = hue2rgb(p, q, h + 1.0 / 3.0);
    g = hue2rgb(p, q, h);
    b = hue2rgb(p, q, h - 1.0 / 3.0);
  }

  rgb[0] = r * 255;
  rgb[1] = g * 255;
  rgb[2] = b * 255;
}

double hue2rgb(double p, double q, double t) {
  if (t < 0) t += 1;
  if (t > 1.0) t -= 1;
  if (t < 1.0 / 6.0) return p + (q - p) * 6.0 * t;
  if (t < 1.0 / 2.0) return q;
  if (t < 2.0 / 3.0) return p + (q - p) * (2.0 / 3.0 - t) * 6.0;
  return p;
}

Now it works like a charm, thanks!

I see the hslToRgb and hu2rgb function looks very close to the above. Has this issue been resolved? Can this issue be closed?

As noted in the main README I consider this abandoned. Feel free to fork your own and fix it there.


Add Column Casting Support to Filter Nodes

Description
This PR introduces functionality to support database-level casting for columns in filter nodes using sea-query. It allows users to specify a casting type for columns through the FilterNodeOptions and ensures proper integration with SeaQuery queries.
Key Changes

New cast_column_as Option in FilterNodeOptions:

Added a new field, cast_column_as, to FilterNodeOptions for specifying the cast type of a column.
Updated the macro generation logic to allow this attribute to be set via cast_column_as in modql attributes.

Column Casting Implementation in sea_utils:

Added into_node_column_expr to handle casting for ColumnRef instances.
Integrated this function into filter operations for generating proper SQL expressions with casting applied.

Version Upgrades:

Updated dependencies:

sea-query: Bumped from 0.31 to 0.32.
rusqlite: Bumped from 0.31 to 0.32.
sea-query-rusqlite: Updated from 0.6 to 0.7.

Macro Updates:

Modified derive_filter_nodes_inner to generate code for setting cast_column_as in filter node options.
Updated the attribute parsing logic in utils.rs to handle the new cast_column_as attribute.

Filter Operation Updates:

Updated various filter operation modules (op_val_string.rs, op_val_value.rs) to use into_node_column_expr for consistent column handling with casting.

Example
Using the new feature in a filter:
struct PostFilter {
  #[modql(cast_column_as = "text")]
  title: String,
}

Generates SQL like:
CAST("posts"."title" AS text) ILIKE $1

@jeremychone let me know what you think of this addition and feel free to add any feedback to it! Thanks!

@mcamara First, thank you very much, this is very interesting.
However, I had to merge the previous PR regarding SeaQuery 3.2, and now your branch has a minor conflict.
Could you resolve it and merge all the commits in this PR into one, so I can easily review the code changes?
Thanks a lot!


Trained model availability?

Hi, thanks for the implementation.
Do you have a trained model available to test it? Please let me know if I can download it. Thank you

I don't have the trained models anymore. You'll have to train it.

FileNotFoundError: [Errno 2] No such file or directory: '/content/drive/MyDrive/vqa/dataset/Resized_Images/train2014/COCO_train2014_000000402655.jpg'
What images do I need to add here? This occurs at data_loader['train']

FileNotFoundError: [Errno 2] No such file or directory: '/content/drive/MyDrive/vqa/dataset/Resized_Images/train2014/COCO_train2014_000000402655.jpg'
What images do I need to add here? This occurs at data_loader['train']

I don't have the trained models anymore. You'll have to train it.

FileNotFoundError: [Errno 2] No such file or directory: '/content/drive/MyDrive/vqa/dataset/Resized_Images/train2014/COCO_train2014_000000402655.jpg'
What images do I need to add here? This occurs at data_loader['train']


identity.abi - incorrect JSON format

I believe the comma at the end of line 28 needs to be removed.
https://github.com/EOSIO/eos/blob/master/contracts/identity/identity.abi#L28
I copied the contents of identity.abi into https://jsonlint.com/ and it threw an error. Once I removed the extra comma, it was then validated as correct JSON. Also, when I tried to use the json import in python to process the identity.abi json, it wouldn't work. Once I removed the extra comma on line 28, it was smooth sailing.

I did a pull request that fixed this, along with other inconsistencies.


fix bugs on mixer validator server code

'target-namespace' emptiness handling is wrong, the default should
be 'NamespaceAll'.
actually the admit.go didn't care about Delete code path -- fixing
to support it.

What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

@jmuk: Adding do-not-merge/release-note-label-needed because the release note process has not been followed.

One of the following labels is required "release-note", "release-note-action-required", or "release-note-none".
Please see: https://github.com/kubernetes/community/blob/master/contributors/devel/pull-requests.md#write-release-notes-if-needed.
Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/release-note-none

@jmuk: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
7a8a1077d4f48e3c5fd2377e73f47d610d7d28bb
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/assign @mandarjog

@jmuk: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
4f3f429c7bf7262a63dd89e7187bf2448fc2d133
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-pilot-e2e

@jmuk: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-smoke.sh
052c4ea9846bbf60ec3503e0dfe260116e4cbc08
link
/test e2e-smoke

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test e2e-smoke

@jmuk: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-smoke.sh
052c4ea9846bbf60ec3503e0dfe260116e4cbc08
link
/test e2e-smoke

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test e2e-smoke


ImportError: cannot import name 'diag' from partially initialized module 'pip._vendor.pyparsing'

I am using Poetry 1.6.1.
I have a file pyproject.toml:
[tool.poetry]
name = "my_app"
version = "0.0.1"
description = ""
authors = ["Hongbo Miao"]

[tool.poetry.dependencies]
python = "3.11.x"

[tool.poetry.group.dev.dependencies]
dbt-sqlserver = "1.4.3"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

This
poetry lock --no-update
poetry install

will give me error
Installing dependencies from lock file

Package operations: 7 installs, 11 updates, 0 removals

  • Updating setuptools (68.0.0 -> 68.2.2): Pending...
  • Updating setuptools (68.0.0 -> 68.2.2): Installing...
  • Updating setuptools (68.0.0 -> 68.2.2): Failed

  CalledProcessError

  Command '['/my_app/.venv/bin/python', '-m', 'pip', 'uninstall', 'setuptools', '-y']' returned non-zero exit status 1.

  at /opt/homebrew/Cellar/python@3.11/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py:571 in run
       567│             # We don't call process.wait() as .__exit__ does that for us.
       568│             raise
       569│         retcode = process.poll()
       570│         if check and retcode:
    →  571│             raise CalledProcessError(retcode, process.args,
       572│                                      output=stdout, stderr=stderr)
       573│     return CompletedProcess(process.args, retcode, stdout, stderr)
       574│
       575│

The following error occurred when trying to handle this error:

  EnvCommandError

  Command ['/my_app/.venv/bin/python', '-m', 'pip', 'uninstall', 'setuptools', '-y'] errored with the following return code 1

  Output:
  Traceback (most recent call last):
    File "<frozen runpy>", line 198, in _run_module_as_main
    File "<frozen runpy>", line 88, in _run_code
    File "/my_app/.venv/lib/python3.11/site-packages/pip/__main__.py", line 22, in <module>
      from pip._internal.cli.main import main as _main
    File "/my_app/.venv/lib/python3.11/site-packages/pip/_internal/cli/main.py", line 10, in <module>
      from pip._internal.cli.autocompletion import autocomplete
    File "/my_app/.venv/lib/python3.11/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
      from pip._internal.cli.main_parser import create_main_parser
    File "/my_app/.venv/lib/python3.11/site-packages/pip/_internal/cli/main_parser.py", line 9, in <module>
      from pip._internal.build_env import get_runnable_pip
    File "/my_app/.venv/lib/python3.11/site-packages/pip/_internal/build_env.py", line 17, in <module>
      from pip._internal.metadata import get_default_environment, get_environment
    File "/my_app/.venv/lib/python3.11/site-packages/pip/_internal/metadata/__init__.py", line 9, in <module>
      from .base import BaseDistribution, BaseEnvironment, FilesystemWheel, MemoryWheel, Wheel
    File "/my_app/.venv/lib/python3.11/site-packages/pip/_internal/metadata/base.py", line 35, in <module>
      from pip._internal.utils.packaging import safe_extra
    File "/my_app/.venv/lib/python3.11/site-packages/pip/_internal/utils/packaging.py", line 7, in <module>
      from pip._vendor.packaging.requirements import Requirement
    File "/my_app/.venv/lib/python3.11/site-packages/pip/_vendor/packaging/requirements.py", line 12, in <module>
      from pip._vendor.pyparsing import Combine
    File "/my_app/.venv/lib/python3.11/site-packages/pip/_vendor/pyparsing/__init__.py", line 130, in <module>
      from .common import _builtin_exprs as common_builtin_exprs
    File "/my_app/.venv/lib/python3.11/site-packages/pip/_vendor/pyparsing/common.py", line 5, in <module>
      from .helpers import DelimitedList, any_close_tag, any_open_tag
    File "/my_app/.venv/lib/python3.11/site-packages/pip/_vendor/pyparsing/helpers.py", line 7, in <module>
      from . import __diag__
  ImportError: cannot import name '__diag__' from partially initialized module 'pip._vendor.pyparsing' (most likely due to a circular import) (/my_app/.venv/lib/python3.11/site-packages/pip/_vendor/pyparsing/__init__.py)

  at /opt/homebrew/Cellar/poetry/1.6.1/libexec/lib/python3.11/site-packages/poetry/utils/env/base_env.py:363 in _run
      359│                 output = subprocess.check_output(
      360│                     cmd, stderr=stderr, env=env, text=True, **kwargs
      361│                 )
      362│         except CalledProcessError as e:
    → 363│             raise EnvCommandError(e, input=input_)
      364│
      365│         return output
      366│
      367│     def execute(self, bin: str, *args: str, **kwargs: Any) -> int:

make: *** [poetry-install] Error 1

Any ideas? Thanks!

I caught such error after isort changed all imports in venv folders. I removed venv and made it again.


sap.m.Dialog.close() does not modify the value returned by isOpen()

OpenUI5 version:
"""
SAPUI5 Version	1.34.9 (built at<PHONE_NUMBER>27, last change a7bccc93edad42c41b66273a6a99ac621c1c8abd)
Core Version	1.34.9 (built at 20160314-1152, last change )
"""
Browser/version (+device/version): Chrome, 49.0.2623.110 m (64-bit)
Any other tested browsers/devices(OK/FAIL):
URL (minimal example if possible):
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem: For example
0. Create a button that opens some kind of sap.m.Dialog with id = "dialog"

Inside the dialog view, add a "cancel" button that will call a method "_close", put a breakpoint in the _close method
inside the _close method, close the dialog. Something like this: oDialog.close()
Now launch the application, click on the button with id="dialog" to open the dialog,  and check the value of oDialog.isOpen() before the _close method executes which should be true
Now allow the _close method to execute, verify that the method closes the dialog successfully, and check the value of oDialog.isOpen() again.

What is the expected result?
It should be returning false because the dialog is no longer open!
What happens instead?
returns true again

You did not describe where exactly you checked the value of isOpen() again, but I assume you did this in the debugger (or code) after stepping over the close().
If so, then please check the documentation for sap.m.Dialog.prototype.isOpen. It states that he method returns true also for the two transitioning phases (opening / closing).
The sap.m.Dialog(and most other popup controls) inherit this definition of "open" from the sap.ui.core.Popup class. Due to (potential) animations, the change of the open state is an asynchronous operation and will be reflected by the isOpen() method only asynchronously. In the time between, the popup/dialog is "closing".
To allow code to distinguish between these 4 phases, sap.ui.core.Popup provides a getOpenState() method which will return one of 4 enum values: CLOSED, OPENING, OPEN, CLOSING. Code that has to decide whether a popup is still 'active', should check for the state OPEN, whereas code that want's to know whether the popup might be visible to the end user, should check for OPENING, OPEN or CLOSING. The Dialog.prototype.isOpen() is designed for the latter use case.
As far as I can see, sap.m.Dialog does not expose the open state to the consumer, whereas sap.ui.commons.Dialog does. I can only guess why this was done, maybe to keep the API smaller.
Someone with more inside in how the sap.ui.core.Popup works might comment whether a fully synchronous close (with no animation, no delay) could change the state also synchronously. But I wouldn't be surprised if this would cause compatibility issues in existing apps. From application point of view, it also might lead to hardly predictable state changes, as animations could be switched off via configuration and then the previously async state change of a close() would become a sync state change.

Hi 1337micro,
as Frank wrote above... the "isOpen()" also returns "true" during the opening and closing animation. This is as documented.
Do you get true even way after the Dialog closes?
Depending on what you want to achieve, the beforeClose/afterClose events of the Dialog might be helpful.
Regards
Andreas

Thank you for the valuable feedback.
It seems like i needed to use the attachAfterClose method, but it just feels odd that the status is not updated right away as part of a successful .close() call rather than waiting for the animation

Hi,
well, it always depends on what you want to know. If someone wants to check whether the Dialog can already be destroyed, returning "it is closed" when it is still animating would be wrong.
I'll ask the Dialog owners to have a look and check why the more detailed "open state" is not available, but basically the existing API does work as designed.
Regards
Andreas


Add apply_gufunc

This is for #67
This is a cutdown version of the equivalent code in Dask. It passes a number of tests, but the main limitation is that it only supports a single output. I've got a number of ideas for removing this limitation (e.g. write one output at a time - in series), but I think this is a good start for supporting xarray.
@TomNicholas I'll leave this open for a few days in case you want to take a look!

Awesome @tomwhite !
My only comment is that when xarray.apply_ufunc is called with dask then output_sizes is a required kwarg (at least when creating new dimensions on the output IIRC). I would need to look at the implementation in xarray again, but it might be the case that output_sizes would be required for xarray to make use of cubed.apply_gufunc too.

Thanks for taking a look @TomNicholas and pointing out that output_sizes is needed in xarray.
I'm going to merge this and create a follow-on issue for output_sizes (see #150), as it needs a bit more investigation.

Support for output_sizes is in #151


Inconsistent VS Code Server Container Installation Directories

I noticed that the directory structure changes from .vscode-server/bin/<commit> to .vscode/cli/servers/Stable-<commit> when you connect to vscode.dev tunnels vs starting up a container locally.
Not sure why they change, but then that also means that .vscode-server/code-<commit> or .vscode/code-<commit> is also needed in some other scenario. Maybe with code-spaces,.
I can make symbolic links to the directories and hope that's good enough. Otherwise the script will need to copy the same folder structure to 3 different places.

Looking for help with figuring out what the correct directories are instead of just spamming symlinks everywhere.

I was able to verify that spinning up a Dev Container, using a symlink works for  ~/.vscode/cli/servers/Stable-"${commit_sha}"/server.


Pin package versions and use dependabot

Purpose
Yesterday our team had a discussion about best practices for package versioning. We concluded that we should always pin versions, but then have a mechanism like Github's dependabot to find out when versions have updated.
Ideally our repos would have tests to verify everything was still working, so we'd then be confident about upgrading. Unfortunately, this repo doesn't currently have unit tests for the routes/models - I'd be happy to add them if desired. So we'd have to manually QA before merging.
This PR pins the versions and adds the dependabot.yaml required by Github. That will result in pull requests, so this PR does increase the maintenance needed for the sample. Let me know if you're not comfortable with that.
Does this introduce a breaking change?

[ ] Yes
[X] No

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

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

Other Information

@vmagelo Let me know what you think about this PR.


[Mention The Feature]: fixing Contibutors page

Is your feature request related to a problem? Please describe.
the dark mode is missing in the page and the page is not aligned , i can fix the UI and more all the alignments.
Describe the solution you'd like.

Describe alternatives you've considered.
No response
Additional context.
No response
Show us the magic with screenshots
No response
Checklist

[X] I have checked the Existing Issues
[X] I have read the Contributing Guidelines
[X] I want to work on this issue. (optional)

@T-Rahul-prabhu-38 assigning this issue to you.
make sure to complete it.


[BEAM-2005, BEAM-2030, BEAM-2031, BEAM-2032, BEAM-2033, BEAM-2070] Base implementation of HadoopFileSystem.

TODO:

Add multiplexing FileSystem that is able to route requests based upon the base URI when configured for multiple file systems.
Take a look at copy/rename again to see if we can do better than moving all the bytes through the local machine.

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @davorbonaci @dhalperi


Update microsoft365-apps-usage-ww.md

Added a note about Shared computer activations.

@kwekuako Please merge this PR. Thanks


Parquet conversion

Hey, this tool is amazing and simplified data engineer's life.
Im trying to understand the principles of this tool.
It's converting the CSV to Parquet, just curious how it's doing this process without any Hadoop clusters?

Hi Bhuvi,
Spectrify uses the Apache Arrow project to write Parquet files.  Behind the scenes, Arrow uses the Apache-managed C++ parquet writer, parquet-cpp.
More info here: https://arrow.apache.org/docs/python/parquet.html


Drone is not detected

Describe the bug
Drone is not detected.
Try:

Close and restart the app (this helps most of the time).
Reconnect the Drone
Make sure you have closed all other apps
Make sure you gave all permissions to RosettaDrone and
Make sure the Drone is not overheating (you must place a fan in front if you are not flying).
Make sure have read this important notes.

If your version worked once for you, this means you will have to figure out yourself how to make it work again, and let us know how you did it work, so we can maybe fix it (comment).

Thank you very much kripper
I have downloaded the repository again
I can confirm now I can open the Drone mode from the first time and it works fine
Thank you very much for your help
My pleasure

But nothing important changed in the code regarding this isse, so the problem is probably still there, so you will have to figure out yourself how to make it work again, and let us know how you did it work, so we can maybe fix it (comment).


Update stable release to v0.16.1

@nathanjsweet ping!

updated to pick up https://github.com/cilium/cilium-cli/releases/tag/v0.16.2

ok i'm yolo-ing this


Implement Actor for async function without result

Currently example 1b has the following actor.
async fn greeter_actor(_: Context<!>) -> Result<(), !> {
    println!("Hello World");
    Ok(())
}

I would like to following to be possible
async fn greeter_actor(_: Context<!>)  { // Returns `()`.
    println!("Hello World");
}

The following implementation doesn't work as it overlaps with our implementation for Future<Output = Result(), E>.
impl<Fut> Actor for Fut
    where Fut: Future<Output = ()>
{
    type Error = !;

    fn try_poll(self: Pin<&mut Self>, waker: &LocalWaker) -> Poll<Result<(), Self::Error>> {
        self.poll(waker).map(Ok)
    }
}

This requires https://github.com/rust-lang/rfcs/pull/1672.

This is now implemented in #372.


Jitclass static methods

Addresses https://github.com/numba/numba/issues/4451
The following works now
        @jitclass(spec=[("x", int32)])
        class Test:
            def __init__(self, x):
                self.x = x

            def increase(self, y):
                self.x = self.add(self.x, y)
                return self.x

            @staticmethod
            def add(a, b):
                return a + b

        t = Test(0)
        self.assertEqual(1, t.increase(1))
        self.assertEqual(3, Test.add(1, 2))

Note that replacing self.add with Test.add in increase() fails with Untyped global name 'Test': cannot determine Numba type of <class 'type'>.  I'm not sure if this can be resolved easily.

Thanks for the PR! Marking as ready for review.
One observation I have is that the tests only cover the addition of a single static method to a single JIT class - is it possible to add tests of multiple static methods to multiple JIT classes, with different signatures? I haven't looking in detail at the implementation (and I'm not familiar with the jitclass implementation in general) but I think that covering a few more cases would help towards the robustness of the implementation in future.

Maybe someone else can comment on:

Note that replacing self.add with Test.add in increase() fails with Untyped global name 'Test': cannot determine Numba type of <class 'type'>. I'm not sure if this can be resolved easily.

I imagine there's a way around it, but I'd have to dig into the details of the implementation to work out what it might be.

@EPronovost sure, I just added it to the milestone.


Delete binary

Motivation and Context
Closes #59
What has changed
Deleted binary
How to test?
N/a
Links
#59

Could this go into a git ignore so it doesn't get merged again?


feat: port/CategoryTheory.Abelian.Homology

[x] depends on: #3843

This PR/issue depends on:

leanprover-community/mathlib4#3843
By Dependent Issues (🤖). Happy coding!

This PR/issue depends on:

leanprover-community/mathlib4#3843
By Dependent Issues (🤖). Happy coding!

Two timeouts remain. They do not occur with the gebner/lean4:reenableeta230506 toolchain. Leaving as is for now.

bors r+


Better github-based projects treatment

Current treatment of github based project leads to complications (e.g. imports on complex apps with sub-packages) and makes setting those up unnecessarily explicit.

Improved in 2.0-alpha-2


Rename uuid to elixir_uuid

https://github.com/zyro/elixir-uuid/pull/28

Thanks for update @fahchen. Can you please change uuid to elixir_uuid in application function as well? Extreme has that old style in order to support older elixirs as well

updated

Coverage increased (+1.1%) to 75.379% when pulling f206659e1250ea1af10a6a677f11953958c071eb on fahchen:rename-package-name-of-uuid into d8e6ce033c1a3f20c2efe47df34e1ba1df26dc63 on exponentially:master.

Coverage increased (+1.1%) to 75.379% when pulling f206659e1250ea1af10a6a677f11953958c071eb on fahchen:rename-package-name-of-uuid into d8e6ce033c1a3f20c2efe47df34e1ba1df26dc63 on exponentially:master.

Great, thanks!


Long file names break styling and overlap with other file items

Is this a bug report or a feature request?
Bug
If the sidebar is not wide enough to fit the file structure horizontally, longer file names break the styling and overlap with other file items above/below.

Version Info

Version of Majestic:  v1.2.22
Version of Jest: 21.2.1
Version of Node: v8.11.2
Operating System: macOS 10.14.4

Reproduction Repo
Unable to provide GitHub repo where bug was discovered (private repo).

I opened PR https://github.com/Raathigesh/majestic/pull/75 to address this issue by following the VSCode convention of obscuring the longer filenames with ellipsis (...)

Thank you for the PR. Appreciate it.


Publish (release) bootstrap scss files

I think it would be useful to publish the scss files for folks like me who like to customise the style without having to define overwrites for the CSS rules, but rather use scss variables.

:+1:

Will help for my other issue https://github.com/mbenford/ngTagsInput/issues/559

This issue was selected to be spring-cleaned by a script. More information can be found here.
If anyone thinks this was a mistake and this issue should be reopened, please leave a message below explaining why. Before doing so, please consider reading the CONTRIBUTING file.


operatingsystemmajrelease is lsbmajdistrelease in puppet 3

One of the facters that is not compatible with puppet 3. The factor operatingsystemmajrelease is lsbmajdistrelease in puppet 3. This breaks the yum manifest and possibly other areas.
modules/sensu/manifests/repo/yum.pp
class sensu::repo::yum {

  if $caller_module_name != $module_name {
    fail("Use of private class ${name} by ${caller_module_name}")
  }

  if $sensu::install_repo  {
    if $sensu::repo_source {
      $url = $sensu::repo_source
    } else {
      if $::operatingsystemmajrelease == 7 {
          $url = $sensu::repo ? {
            'unstable'  => "http://repos.sensuapp.org/yum-unstable/el/6/\$basearch/",
            default     => "http://repos.sensuapp.org/yum/el/6/\$basearch/"
          }
      } else {
          $url = $sensu::repo ? {
            'unstable'  => "http://repos.sensuapp.org/yum-unstable/el/${::lsbmajdistrelease}/\$basearch/",
            default     => "http://repos.sensuapp.org/yum/el/${::lsbmajdistrelease}/\$basearch/"
          }
      }
    }

    yumrepo { 'sensu':
      enabled  => 1,
      baseurl  => $url,
      gpgcheck => 0,
      name     => 'sensu',
      descr    => 'sensu',
      before   => Package['sensu'],
    }
  }

}

What version of facter are you running?

A lot of CentOS machines don't have the LSB packages so this does not work on all systems. I generally do a split because I haven't found a better alternative that works everywhere.
https://github.com/thousandeyes/puppet-teagent/blob/master/manifests/repository.pp#L17

Trying to get some things wrapped up, it looks like operatingsystemmajrelease was introduced in facter 1.7 to remove the dependency on lsb* facts.  I'm going to close this out because I don't believe this module uses lsb* facts right now.


Patient examinations preview and canceling

Created a view for patient examinations
Added examination canceling
Attached survey to past examinations
Implemented services and api for fetching and canceling examinations
Added tests

 [E2.3] As a patient I want to review my appointments so that I could track my future appointments easier. [3]

 [E2.4] As a patient I want to cancel an appointment so that I could avoid a no-show due to unforeseen business. [2]

 (0) PR Patient examinations preview and canceling


Invalid field images

Infinite Recharge and Rapid React have invalid field images in the 0.0.9 version tag, and there is no Charged Up field setting

Created a new release with the updated field images. Let me know if you run into any other issues.


Added transformation functions for will* conditions

I have added a parameter to each of the will* functions that allows to transform the resolved value.
This allows partial comparisons, e.g. actual.length == 100
The .will() function can accept either the message or the function as its second parameter. The other two accept it as their final parameter (they don't perform any detection on parameter type)
Thanks for this great plugin.

good feature, but can you fix the Travis unit tests?

I have no idea how. The posted code works on my machine and I don't see what's wrong with Travis. It just says "failed, see previous exceptions". But I see no previous exceptions.

ok, will debug the failed unit tests right now, thanks for the code!

Fixed the api and tests and published as 0.2.0 https://github.com/bahmutov/qunit-promises/releases/tag/v0.2.0


Deadlock in case of concurrent users

Hello,
I recently started using FHIR server and was trying to ingest 10 resources in a bundle, Number of Users = 5, Loop count = 50 thru Jmeter and started seeing Deadlock

Exception on the console.. on analyzing further deadlock was happening on HFJ_Forced_ID table where it checks if the ResourceType + Forced_ID already exists or not. If not, then it marks the resources for creation.
All my resources, in the bundle, use PUT method and use its own ID (logical identifier).
Had gone thru the Google Group as well, and it was suggested to use READ_UNCOMMITTED isolation level. Just wondering if any other way out exists?
Any help/suggestions/feedback.

Windows
Java 11
Hapi FHIR JPA starter
SQL Server 2014

Had already gone thru this https://groups.google.com/forum/#!msg/hapi-fhir/lLuRnQZoaU8/0hl9Qg7WAgAJ
Just wondering if there is any other solution?

Can you try this with current snapshot builds of HAPI FHIR 5.0.0 to see if this is resolved?

Yes, i did try with 5.0.-SNAPSHOT today and no relief there.. still getting

Are you able to work out what is the minimal set of input data required in order to reproduce this?

Attaching the Jmeter script to reproduce the same. I am simply running the script on my Windows Laptop + SQL Server 2014 + Using hapi-fhir-jpaserver-starter module [4.2.0]
jmeter_fhir-10Resources-PUT-generateIDs.zip
The script is testing for 5 concurrent users and 50 times is the loop count for 1 user which means at the end of the script I should be seeing 2500 resources entries.
Configuration done is hapi.properties to connect to SQL Server
datasource.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
datasource.url=jdbc:sqlserver://localhost;databaseName=fhir
datasource.username=sa
datasource.password=admin
hibernate.dialect=org.hibernate.dialect.SQLServer2012Dialect
Lucene is diabled and default connection pool settings. No other changes done in the code.
I am sure we should be able to reproduce this easily.

FYI- I don't actually use JMeter and don't have an environment to run this
in.. If you're able to break this down to "uploading a bundle containing X
at the same time as a second bundle containing Y will trigger this" that
definitely improves the changes of this being looked at in the foreseeable
future
On Thu, Apr 30, 2020 at 8:48 AM poojgupt<EMAIL_ADDRESS>wrote:

Attaching the Jmeter script to reproduce the same. I am simply running the
script on my Windows Laptop + SQL Server 2014 + Using hapi-fhir-jpaserver-starter
module [4.2.0]
jmeter_fhir-10Resources-PUT-generateIDs.zip
https://github.com/jamesagnew/hapi-fhir/files/4558328/jmeter_fhir-10Resources-PUT-generateIDs.zip
The script is testing for 5 concurrent users and 50 times is the loop
count for 1 user which means at the end of the script I should be seeing
2500 resources entries.
Configuration done is hapi.properties to connect to SQL Server
datasource.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
datasource.url=jdbc:sqlserver://localhost;databaseName=fhir
datasource.username=sa
datasource.password=admin
hibernate.dialect=org.hibernate.dialect.SQLServer2012Dialect
Lucene is disbled and default connection pool settings. No other changes
done in the code.
I am sure we should be able to reproduce this easily.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jamesagnew/hapi-fhir/issues/1819#issuecomment-621812023,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2N7HOZNIFREII52NM7CCLRPFXQBANCNFSM4MSZ7PWQ
.

Yes the understanding on this issue is perfectly right.  Uploading a bundle (with HTTP request method PUT, not sure about POST did not try) with X entries and second bundle with Y entries causing the deadlock with concurrent threads.

I'm sorry, maybe I'm not being clear. I don't have any understanding, that's what I'm saying.
I am sure that some permutation of X+Y causes an issue, but I'm asking if you can figure out what is the minimum thing that X and Y need to be in order to reproduce this.
We have loads of unit and integration tests that fire tons of data concurrently in all kinds of ways so there is no fundamental issue where HAPI can't handle concurrent operations. I would need to know what it specific to your use case that triggers this.

Sorry about the confusion. This is the data [10 resources in a bundle] that I am uploading using doing HTTP post from the client.
request.data.zip
To reproduce this issue, if we can upload the attached data with 5 concurrent users and each user ingesting the data 50 times which means 1 user = 500 records/resources in the DB multiplied by 5 users = 500 x 5 = 2500 records.
**** some extra information **** may be helpful understanding the request data
If we open this data xml, all the data primarily would remain same except the logical identifiers of the resources. The logical identifiers are dynamically generated for each run.
<Patient xmlns="http://hl7.org/fhir">
			<id value="**${PATIENT_ID}**" />

e.g. in  the above snippet of the request data. PATIENT_ID would be generated at run time dynamically and this same ID we are concatenating in other IDs needed for other resources in the bundle. e.g.  for Observation its ID will be 39156-

This is the logic that we are using to generate the identifiers hence if we can generate just the PATIENT_ID dynamically.

Are those patient IDs guaranteed to be unique for each individual upload,
or is there a chance that multiple concurrent uploads are uploading the
same Patient ID?
Also, does removing all of the the ifNoneExist sections from the
elements have any effect?
On Fri, May 1, 2020 at 12:16 AM poojgupt<EMAIL_ADDRESS>wrote:

Sorry about the confusion. This is the data [10 resources in a bundle]
that I am uploading using doing HTTP post from the client.
request.data.zip
https://github.com/jamesagnew/hapi-fhir/files/4562452/request.data.zip
To reproduce this issue, if we can upload the attached data with 5
concurrent users and each user ingesting the data 50 times which means 1
user = 500 records/resources in the DB multiplied by 5 users = 500 x 5 =
2500 records.
**** some extra information **** may be helpful understanding the request
data
If we open this data xml, all the data primarily would remain same except
the logical identifiers of the resources. The logical identifiers are
dynamically generated for each run.

e.g. in the above snippet of the request data. PATIENT_ID would be
generated at run time dynamically and this same ID we are concatenating in
other IDs needed for other resources in the bundle. e.g. for Observation
its ID will be 39156-
This is the logic that we are using to generate the identifiers hence if
we can generate just the PATIENT_ID dynamically.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jamesagnew/hapi-fhir/issues/1819#issuecomment-622239828,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2N7HP6GV2OLJ256RNI5KDRPJEKVANCNFSM4MSZ7PWQ
.

Yes, the patient IDs are definitely unique as we are using Jmeter and it does its job correctly. Plus I have also verified the logs for any duplicates.
I can try the  and revert to see if it has any impact.

Apparently, ifNoneExist  did not have any effect.

Same case.
HAPI FHIR SERVER 6.4.0
Postgres 13


[CFD-94] Week Event Tab Component

Description
Created a Week Event tab component ✨
Reason for Change

Completes CFD-94
Type of change

[X] New feature (non-breaking change which adds functionality)

Testing

In calendar.tsx add these imports:

import type { RouterOutputs } from "~/utils/api";
import EventTab from "~/components/EventTab";

Create an activity/event:

type GetActivityOutput = RouterOutputs["activity"]["getSchedule"][number];

const myActivityProps: GetActivityOutput=
    {
      id: 1,
      name: "Event Name",
      durationMinutes: 60,
      location: "Conference Room",
      day: new Date(),
      startTime: new Date("2023-10-09T08:00:15.000"),
      leader: "me",
    };

Change the view to be the following (changing background color cause the default is too close to the component color):

<SafeAreaView className="bg-white h-full">
      <Stack.Screen options={{ title: "Calendar", headerShown: false }} />

      <Text>Calendar</Text>

      <View className="w-3/4 p-4 bg-white">
            <EventTab activity={myActivityProps}/>
      </View>
</SafeAreaView>

https://github.com/uoftblueprint/centre-for-dreams/assets/113125436/4dd3a269-a1f2-42b9-84d7-b5ef91ed9a14

I'm gonna try merging again 😤

JK...ios seems to have other plans for me


Grid elements misaligned when svg and png/jpg in columns

Description
So when you use the grid system with mixed image types the columns and rows move in strange ways.

Repro Steps
Use the following html (from the codepen):

Screenshots / Codepen
codepen of the problem

This is how it will look. What do you want it to do? If you want things to fit perfectly try looking into 3rd party grid libraries like Masonry.js. This is not something that can be achieved with CSS alone.

@wemyss alternatively if you know the max height that your images can have you can specify the min height. That ways the will appear aligned. The shortcoming of that is hardcoded value of height

@acburst Can we close this issue? I dont see there is anything more that can be discussed and added


Alt Linux integration

Supported build with gcc-4.7 and qt-5.3
Comming on some resources configuration improvement

Будут ли включены эти изменения в основную ветку?

Current coverage is 26.38%

Merging #1665 into master will decrease coverage by -0.01% as of 3270dc4

@@            master   #1665   diff @@
======================================
  Files         1842    1842
  Stmts        77841   77917    +76
  Branches         0       0
  Methods          0       0
======================================
+ Hit          20549   20562    +13
  Partial          0       0
- Missed       57292   57355    +63

Review entire Coverage Diff as of 3270dc4

Powered by Codecov. Updated on successful CI builds.


assert true within seeJsonContains

fixes the lack of assertion demonstrated here https://github.com/laracasts/Integrated/issues/75

I'm not sure we need this. (Sorry for delay!)


Update CHANGES.rst to reflect breaking change in 2.9

Updating CHANGES.rst to reflect breaking behavior to help folks track down issues on update.
Otherwise old projects that get updated just start failing with no clear reason from the CHANGES.rst
Nothing to test as this is just a documentation update

Sorry, I'm not sure why this needs to be added now four years later. Since it doesn't match our log style or describe the actual issue or fix, I'm going to close this.

Seems like best practice for libraries to announce or warn of breaking changes to help developers instead of wasting everyone's time tracking down unannounced changes / breaks.
You're right that pallets/jinja has never properly warned of a breaking change in the changelog, might be worth doing so moving forward for the community.

@davidism - Seems like best practice for libraries to announce or warn of breaking changes to help developers instead of wasting everyone's time tracking down unannounced changes / breaks.
You're right that pallets/jinja has never properly warned of a breaking change in the changelog leaving developers on their own to track down issues as shown in multiple tickets, might be worth doing so moving forward for the community.


Max frames ?

Hi, thanks for sharing your repo. I can only run in 16GB VRAM GPU -> 81 frames (your default yaml) - when I tried 100 it will OOM at the end of generating 40 inference steps, is there anything that I should change to get more frames ?
ckpt_dir: "Lightricks/LTX-Video"
num_inference_steps: 40
guidance_scale: 3.5
height: 480
width: 720
num_frames: 100
frame_rate: 25
prompt: "A young girl with blond hair wearing a yellow jacket stands in a forest and looks around. She has light skin and her hair is styled with a middle part. She looks to the left and then to the right, her gaze lingering in each direction. The camera angle is low, looking up at the girl, and remains stationary throughout the video. The background is slightly out of focus, with green trees and the sun shining brightly behind the girl. The lighting is natural and warm, with the sun creating a lens flare that moves across the girl’s face. real-life footage"
negative_prompt: "low quality, worst quality, deformed, distorted, disfigured, motion smear, motion artifacts, fused fingers, bad anatomy, weird hand, ugly"
seed: 0
output_path: "outputs"
num_images_per_prompt: 1
input_image_path: ""
input_video_path: ""
bfloat16: True
int8: True
disable_load_needed_only: False

This was my config.yaml that got OOM
Thanks
Edit :
Here's the error
torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 13.79 GiB. GPU 0 has a total capacity of 15.89 GiB of which 12.68 GiB is free. Process 46583 has 3.21 GiB memory in use. Of the allocated memory 2.87 GiB is allocated by PyTorch, and 43.56 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation.  See documentation for Memory Management  (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)

Please could you share the screenshot of task manager. Want to check if you have shared memory enabled

Nvidia Control panel > Manage 3D settings

@nitinmukesh Thanks for answering, unfortunately I was using kaggle for LTX video, I wondered why its not working in kaggle

Sorry not familiar with Kaggle

@newgenai79 No worries, thanks


redelivered message is missing its "message id" property value

A message sent via topic exchange to a queue where durable=true will re-attempt delivery.  I've found that within the properties of the re-attempted delivery there is no message-id when there was a message-id in the initial attempt.

What do you mean by re-attempted delivery?
Do you mean the messages returned by wait_for_confirms?

The scenario is as follows:  a topic-exchange consumer gets a message from its queue.  Within the properties of this message is a message-id field with a populated value (defined by the publisher). Something happens that prevents the consumer from sending an ACK (failure, interrupt/shutdown, etc).  Subsequent request for messages from the queue will eventually re-send the message that failed during processing.  This message will not contain the message-id field within its properties anymore.

Lapin is not in charge of doing that, the AMQP server tracks the received ack and requeues the message itself if needed. I'm not sure what we can do in lapin wrt this? (Or am I missing something there?)

Thanks for confirming that this is outside the scope of lapin.  I've simply stopped relying on the message_id param and instead include one in the message itself.  Thanks!


Apply minor doc fixes

The PR makes part of the docs more idiomatic to the English language

@jankleinert  can you please check changes that are proposed here?

Sorry for the delay! LGTM
On Fri, Oct 12, 2018, 5:45 AM Syam.G.Krishnan<EMAIL_ADDRESS>wrote:

@syamgk approved this pull request.
LGTM
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/redhat-developer/odo/pull/824#pullrequestreview-164224666,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAnx0Po0aTrI8NHTVLG27WcX15vxSXFJks5ukI79gaJpZM4XXJFp
.

LGTM. Let's merge.


Tag space-wasting items?

Thanks for this plugin - it's a really nice quality of life addition to OSRS.
I made a little script that automatically generates a tag tab string which can be imported into RuneLite to tag all the items defined in your plugin, since I wanted a convenient place to see them all. It ain't pretty, but it does the job: Makeshift/osrs-wasted-bank-space-tag-tab
Would this be something you'd consider adding into the base plugin?

So this could 100% be done in the plugin. I can take a stab or you can. Dynamically we find all the wasted slot items already so those could be added to a tag at that time. Likely wouldn't be much added code to the plugin.

Even easier a tag can be auto managed that just loops through the enums

https://github.com/runelite/runelite/blob/master/runelite-client/src/main/java/net/runelite/client/plugins/banktags/tabs/TabManager.java
https://github.com/runelite/runelite/blob/master/runelite-client/src/main/java/net/runelite/client/plugins/banktags/tabs/TagTab.java

Could also go here, but if you parse all then make a tag it makes more sense to do at startup, then while running.

@Makeshift  do you want to make this change?

@Makeshift  do you want to make this change?

I won't be able to for at least a few weeks, but I'm happy to give it a go when I have some time available. Also happy for you (or someone else) to take it on.

I will let you know if I plan to, I just made a big overhaul so now I wanna play the game lol.

Still havent gotten to this, focused on adding ability to not flag items.


[libs/movex] Fix linting errors in file specs/Movex.spec.ts

Where
libs/movex/src/specs/Movex.spec.ts
What
When you run npx nx lint movex --quiet you get some errors as below:

Replace the culprit line with an import such as
import * as consoleGroup from 'console-group';
consoleGroup.install();

Why is it important
Because in the close future, the linting command will be part of the Github Actions
Definition of done

running npx nx lint movex --quiet will not return any more errors for this file
tsc passes npx nx tsc movex
all tests pass yarn test
no unnecessary code is introduced

@GabrielCTroia Please assign this to me


Gemini API Backend Integration

Gemini Chatroom Backend Integration Checklist

[x] Configure AI model with API key (genai.configure(api_key="..."))
[x] Initialize GenerativeModel with 'gemini-pro' (genai.GenerativeModel('gemini-pro'))
[x] Set up /api/ai/help POST endpoint
[x] Handle the AI response and send it as JSON (response.text)
[x] Implement error handling for model generation issues (e.g., API errors)
[x] Return appropriate error responses (500 status code for backend errors)
[ ] Data Fetching/Frontend integration with backend.


Fix 'must load a SVG, delete it and undo' integration test

We wait for the canvas before trying to serialize the annotation in order to make sure the image has been loaded.

/botio integrationtest

Thank you for helping out with this! I have tried it with the new Puppeteer version and it no longer hangs, while it used to hang pretty much every run before this change.


Display top 10 populated child places in place overview page; Fix various bugs in api and routing

@googlebot I signed it!


Feature Request: Increase contrast of highlight/text in dark mode code editor search function

Expected Behavior
Using search in code editor should easily highlight the result.
Actual Behavior
In dark mode, highlight is light gray over a black background, resulting in hard to see text and hard to find matches.  See "self.ivRank" in the attached screenshot.
Potential Solution
Change the highlight block to a much higher contrast color such as red.
Reproducing the Problem
Perform a search for text in the Algo Labcode editor.
System Information
MacOS 10.14.4

Checklist

[ ] I have completely filled out this template
[ ] I have confirmed that this issue exists on the current master branch
[ ] I have confirmed that this is not a duplicate issue by searching issues

[ ] I have provided detailed steps to reproduce the issue

Hi @mlepisto ! Thanks for the feature request. Note that this is the Lean repository, for cloud/UI please post at the QC forums or send an email to<EMAIL_ADDRESS>


Native Audio

I would like to know how to implement native audio on Ionic 3.
I have installed the native audio using:
$ ionic cordova plugin add cordova-plugin-nativeaudio
$ npm install --save @ionic-native/native-audio
But the audio just plays on the app and I can not control on the notification on Android or Media bar on IOS.
Could anyone help me, please?

The plugin cordova-plugin-nativeaudio is not related to this module. You should post the question on their forum.

Hello @arielfaur I just submitted this issue here because I read on this module doc that It was possible to run native audio, but I added the native audio module and nothing happened.
Is it possible using your module and run the audio in background mode and control the execution using notification controls (pause, play etc)?

If you add cordova-media-plugin then you can have audio in background mode but I am not sure about notification controls. I guess it works on iOS by default but I am not completely sure. Maybe someone else has tried this before?


block: [0,0,0], thread: [96,0,0] Assertion input_val >= zero && input_val <= one failed.

RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

my config:
BASE_LR: 0.05 # maybe 0.012?
STEPS: (40000, 65000, 70000, 85000) # step point need to carefully check
WARMUP_FACTOR: 0.001
# WARMUP_ITERS: 1200
WARMUP_ITERS: 3500
MAX_ITER: 900000
# LR_SCHEDULER_NAME: "WarmupCosineLR"
LR_SCHEDULER_NAME: "WarmupMultiStepLR"
WEIGHT_DECAY: 0.02
MOMENTUM: 0.9
BACKBONE_MULTIPLIER: 0.9
OPTIMIZER: "Adan"

this is on detectron2, config on 8 GPU
why does it happen?

the loss didn't decreased very normal, looks like didn't decrease after several steps....

Hi, @jinfagang
What is your original optimizer? Please show us the original config. Since it does not throw error from the beginning. It seems not a problem for the optimizer.
My guess is that the peak learning rate is too large. From the log, BASE_LR = 0.0015 seems fine.
If you need my help in debugging, you can add me on WeChat: xyxie_joy.
Best


Getting an error

Thanks for trying it out! This project is intended to be run using python2, not python3.


MacOS Sierra Install problems

After following the installation instruction I keep going this problem and i was wondering if there is any way to fix it
Thanks

I get the same error every time, got no idea how to fix it so I am stuck with you here my friend :)

i found out how to fix it
export PYTHONPATH=brew --prefix/lib/python2.7/site-packages:$PYTHONPATH
this redirects the python directory and fixes the problem

Thanks man really appreciate it ;)

sorry for asking more questions but i am a beginner developer, i can't run that command or do i have to do  it in separate parts?

no you should not
what is the error it is giving you

i installed requirements

did you run the
command
"export PYTHONPATH=brew --prefix/lib/python2.7/site-packages:$PYTHONPATH"

yes and it gave me this:

i dont see any thing but you might have to relaunch your terminal

oh  that might be the case

what version of python do you have
if you don't know do   python -V

2.7.13

Hi there. You are following the wrong installation instructions. Head over here to install KickThemOut on a mac. Thanks.

hi K4M4 thank you  for helping. I will follow the instructions you send.

No problem! Anytime. Let me know if you have any further issues.

Hi,
sudo pip install pcapy

give me error:
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-eT83Ra/pcapy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-1VYCNq-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-eT83Ra/pcapy/

as well as brew one.
Error: No available formula with the name "scapy"

I've re-installed Sierra so there is no way that the error is caused by other thing.

Form what I tried you have to install it using    brew

was @FrancescoSaverioZuppichini issue solved? I get the same error and can't find a solution. pcapy won't install.


Conflict in bin names

Hi,
Is is possible to rename your bin? 😄  I know it's unlikely, but dep bin name already used by this project https://github.com/deployphp/deployer
And it was first (golang/dep first commit at 15 Mar 2016, deployer first commit at 11 Jul 2013)

Sorry, this isn't possible 😢 . Naming is a hugely difficult process, and renaming even more so. We checked the Go ecosystem, but we just can't be responsible for conflicts in every language ecosystem.
On the plus side, the goal is for dep to eventually go away and be absorbed into the go toolchain.

On the plus side, the goal is for dep to eventually go away and be absorbed into the go toolchain.
👍

create shell aliases.


allow swift-symbolgraph-extract to be called on non-swift modules

Resolves rdar://90842354.
When swift-symbolgraph-extract is called on a non-Swift module (i.e. a framework with only C or Objective-C code), it trips an assertion in ModuleDecl::getMainFile. This is because getMainFile is being told to expect a SerializedAST file, but it's instead finding a ClangModule file. This PR looks at the module and instead asks for a ClangModule file if it's a non-Swift module.
Note that this only affects builds with assertions enabled - when assertions are turned off, the offending line is skipped, and the module is actually loaded and parsed correctly anyway. This change is mainly to allow debug/assertion builds to be used in this situation.

@swift-ci Please smoke test

(drive by comment)
Doesn't really matter, but you can add a test for this if you want with // REQUIRES: asserts.


Stable input from extension does not resolve when opening another picker

Testing https://github.com/Microsoft/vscode/issues/11108

run an extension that opens a stable quick open picker
click on any other picker (NOT quick open - e.g. encoding from the status bar)

=> the extension does not get any return value as result
=> the new picker stays open even though this is not how the picker was configured with in the first place

Marking as duplicate of https://github.com/Microsoft/vscode/issues/11172 since I cannot reproduce anymore after pulling in latest.


Remove YAML merge and variable from config YAML

Fixes https://github.com/tektoncd/pipeline/issues/3794
This enables kustomize and ytt users to more easily consume and modify the YAML.
/kind feature
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[n] Includes tests (if functionality changed/added)
[n] Includes docs (if user facing)
[y] Commit messages follow commit message best practices
[y] Release notes block has been filled in or deleted (only if no user facing changes)

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes
Make release.yaml more easily consumed by tools like kustomize and ytt

Note: the merge syntax was added in https://github.com/tektoncd/pipeline/pull/3236

/lgtm
Makes it too verbose and that's reason #3236 had implemented configs with merge key. But, to make them consumable by other tools, we need these changes.

heeeeey @ImJasonH i was randomly looking at commit messages in the repo (may have been to settle a bet which i then immediately lost) but i noticed that this has a commit message that just says "Remove YAML merge and variable from config YAML " and i want to give a plug for including more context in commit messages (even the PR description has a bit more context "This enables kustomize and ytt users to more easily consume and modify the YAML." tho as a random reader i still dont really understand why theses changes make it so that this is easier for these tools)
apologies for the nag 🙏


Add support for Voting Tickets

Add commands to support creation and managing of voting tickets.

[x] Top level ticket command
[x] Command ticket create
[x] Command ticket update

Work in progress.
Depends on bitshares/python-bitshares#295.

@xeroc — This and bitshares/python-bitshares#295 are ready for review :-)


generate new readme for the project

[x] add more about the description and reformat it
[x] add readme.md convert to readme.rst
[ ] add basic functionality and use cases for the project

also

[ ] add docs pages for the lib


Provide the icons as an 'icon-font'

It would be very convenient to have an 'icon-font' made out of the carbon icons.

Hey @gmosx, when we started writing code for Carbon, we made a conscious decision to align around SVG icons. Most of the reasons for using SVGs can be summed up here in this CSS-Tricks article sums it up pretty well.
We have two options:

Use Inline SVG via carbon-icons: located in dist
Use carbon-icons.svg, which is a sprite containing refs to all the SVGs.


Functional tests group 2 always failing with dependency issue.

Tests all pass, but the stage shows up as an failure due to this.

Validated based on latest main branch run.


Remove cephfs ufs related code temporarily

As there are some review comments toward cephfs ufs module, and that module is maintained by @jhonxue , so I remove it temporarily and wait @jhonxue to create a new PR to fix it.

Codecov Report

Merging #13403 (1b17923) into ceph (6ee35a7) will decrease coverage by 26.41%.
The diff coverage is n/a.

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

alluxio-bot, merge this please

As there are some review comments toward cephfs ufs module, and that module is maintained by @jhonxue , so I remove it temporarily and wait @jhonxue to create a new PR to fix it.

@LuQQiu @apc999  i modify the code according your suggest. please review a again,thanks! alluxio runUfsTest all passed


Unable to add new Weight Based Rates to the shipping zone

if user wants to add new Weight Based Rates, dashboard will assign it to Price Based Rates

Duplicated by #4527


add Marnix Academie

add Marnix Academie

@mvanlaar Pull request merged. Please notice that free educational license for JetBrains tools is for high and higher schools students, i.e. those who are over 13 of age. Thank you!


Rewrite Outliner

At the moment, Outliner is a frankenstein monster that aggregates all sorts of hacks from three different epochs and needs to be put out of its misery. Here are some aspects that I find particularly offensive:

Weird concept of atoms.
Lack of logic sharing between the scoper and the outliner parts.
Crashes on failing symtab.scopes.apply and symtab.resolve.
The whole null business in BlockedResolution.

With the addition of prototype Java support (https://github.com/twitter/rsc/pull/207), outliner has gotten another layer of duct tape that added to the already very respectable level of cruft. I am concerned that at the current pace it will quickly become unmaintainable.

One idea that I had for the separation of concerns between the relevant modules is:

Todo: destructures types
Outliner: only deals with paths + absorbs all package object / java decl shenanigans from scopes
Scopes: hashmap-like lookup only

Somewhat related to #229.


Generic type inferring via instanceof and isArray not working when returning new variable

Bug Report

🔎 Search Terms

generic, infer, instanceof, return type, isArray
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about generics.

⏯ Playground Link

Playground link with relevant code
💻 Code

function example<T>(obj: T): T {
  if (obj instanceof Date) {
    // Inside this block, we know T is a Date as `obj` is one.
    let copy = new Date();
    copy.setTime(obj.getTime());
    return copy;
  }

  return obj;
}

🙁 Actual behavior

Typescript shows an error on return copy as T might not be a Date.
🙂 Expected behavior

No error should be shown. T is the same type as obj. Is obj is an instance of a Date, then T's type should be Date, creating no error.

Your check proves that obj has Date in its prototype chain, it proves nothing about T.  In particular T might be a subtype of Date, in which case returning a plain Date would be an error.

Ah, that totally flew over me. Thanks for spotting!


Can fzf run with pipes as stdin/stdout?

[x] I have read through the manual page (man fzf)
[x] I have the latest version of fzf
[x] I have searched through the existing issues

Info

OS

[ ] Linux
[ ] Mac OS X
[x] Windows
[ ] Etc.

Shell

[ ] bash
[ ] zsh
[ ] fish
[x] Emacs + CMD

Problem / Steps to reproduce
I run fzf in Windows 10, and it works as expected in the cmd box for the call fzf --filter="tmp" which will give a list of findings.
When I try to use it in Emacs, it fails to capture the output. I consulted in the Emacs help maillist, and it suggested that It looks like fzf uses direct screen I/O?  If so, this won't work on Windows when stdout is a pipe, which is what happens when Emacs on Windows runs a subprocess. Whether could we make fzf run with pipes as stdin/stdout?
Best Regards,

I'm not an Emacs user, so I can't really answer the question, but fzf is designed to work with stdin/stdout.
seq 10 | fzf | cowsay

This is possible because fzf reads from /dev/tty instead of stdin, and prints the finder to stderr instead of stdout. So make sure that stderr of the process is not captured by Emacs. On Vim, system('no-such-command') captures stderr as well, so we use built-in terminal to start fzf instead of using system().


Configure aggregation layer (bsc#1108195)

This PR configures the aggregation by adding a specific certificate and the required flags
Signed-off-by: Ludovic Cavajani<EMAIL_ADDRESS>

 Bug 1108195 - Aggregation layer needs configuration for kube-metrics-server

Does it need to be backported in release-3.0 branch ?

Does it need to be backported in release-3.0 branch ?

yes please, so we can close the bug


__MACOSX in obstacletower_v2.0_linux.zip

The environment zip https://storage.googleapis.com/obstacle-tower-build/v2.0/obstacletower_v2.0_linux.zip contains extra empty folder __MACOSX

It's because the environment is built in macOS of Unity, the macOS will add that folder in zip file, just ignore it.

Hi @htdt
Thanks for pointing this out. As @karta1297963 says, it does not impact the use of the binary, but it also should not be there. We will make a note to remove it soon.

Hi all,
I've just fixed this issue. The builds online no longer contain the added mac hidden files.


update("me") updated only first user (id:1)

When i use, all fine
async login() {       this.error = null;       try {         await this.$strapi.login({           identifier: this.email,           password: this.password,         });         this.$store.commit("SET_USER", this.$strapi.user);         this.$router.push("/");       } catch (e) {         this.error = e.response.data.message[0].messages[0].message;       } },
But when I reload the page or use the user updateMe method, the user state is updated to the first ID 1
async gameUpdate() {       this.error = null;       if(this.playGame.length >= 35) {         this.playGame = this.playGame.substring(0,35);       }       try {         let query = await this.$strapi.$users.update("me", {           fav_game: this.playGame,         });         this.$store.commit("SET_USER", query);         this.edited = false;       } catch (e) {         this.error = "Error";       }     },
that is, the user data with the first ID is transferred to the payload

strapi: 3.2.5
nuxt: 2.14.8
nuxt/strapi: 0.3.0

@NooBiToo This is not related to the strapi module but to your Strapi API I guess, have you defined the PUT /users/me route? I think it is still not implemented in Strapi by default.

is it this.$strapi.user shouldn't return me the user I'm logged in as? Since it overwrites the this.$strapi.user after reloading the page

@NooBiToo This is not related to the strapi module but to your Strapi API I guess, have you defined the PUT /users/me route? I think it is still not implemented in Strapi by default.
pls watch short video
https://youtu.be/N3GDuXzq_-I


Please describe correction needed:
Spacing or rewording.
Please paste or attach a screenshot of the issue.

done 14769_74 line 18