AttributeError: module 'torch' has no attribute 'compile'

Python 3.10.10 (main, Mar 23 2023, 03:59:34) [GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.

from whisperspeech.pipeline import Pipeline

pipe = Pipeline(torch_compile=True)

Failed to load the T2S model:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/whisperspeech/pipeline.py", line 49, in init
if optimize: self.t2s.optimize(torch_compile=torch_compile)
File "/usr/local/lib/python3.10/site-packages/whisperspeech/t2s_up_wds_mlang_enclm.py", line 383, in optimize
self.generate_next = torch.compile(self.generate_next, mode="reduce-overhead", fullgraph=True)
AttributeError: module 'torch' has no attribute 'compile'
Failed to load the S2A model:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/whisperspeech/pipeline.py", line 57, in init
if optimize: self.s2a.optimize(torch_compile=torch_compile)
File "/usr/local/lib/python3.10/site-packages/whisperspeech/s2a_delar_mup_wds_mlang.py", line 452, in optimize
self.generate_next = torch.compile(self.generate_next, mode="reduce-overhead", fullgraph=True)
AttributeError: module 'torch' has no attribute 'compile'

pipe.generate_to_file("output.wav", "Hello from WhisperSpeech.")
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.10/site-packages/whisperspeech/pipeline.py", line 90, in generate_to_file
self.vocoder.decode_to_file(fname, self.generate_atoks(text, speaker, lang=lang, cps=cps, step_callback=None))
File "/usr/local/lib/python3.10/site-packages/whisperspeech/pipeline.py", line 82, in generate_atoks
stoks = self.t2s.generate(text, cps=cps, lang=lang, step=step_callback)[0]
File "/usr/local/lib/python3.10/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/whisperspeech/t2s_up_wds_mlang_enclm.py", line 462, in generate
xenc, xenc_positions, cps_emb = self.run_encoder(ttoks, langs, cpss)
File "/usr/local/lib/python3.10/site-packages/whisperspeech/t2s_up_wds_mlang_enclm.py", line 297, in run_encoder
xenc = self.encoder(in_ttoks.to(torch.long), positions, lang_emb=lang_embs)
File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/usr/local/lib/python3.10/site-packages/whisperspeech/t2s_up_wds_mlang_enclm.py", line 204, in forward
for l in self.layers: x = l(x, positions,
File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/usr/local/lib/python3.10/site-packages/whisperspeech/modules.py", line 222, in forward
x = x + self.attn(lnx, x_positions, lnx, x_positions, causal=causal, mask=mask)
File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/usr/local/lib/python3.10/site-packages/whisperspeech/modules.py", line 146, in forward
wv = F.scaled_dot_product_attention(q, k, v, attn_mask=mask, dropout_p=0, is_causal=causal)
AttributeError: module 'torch.nn.functional' has no attribute 'scaled_dot_product_attention'. Did you mean: '_scaled_dot_product_attention'?

Installed latest pip3 version using pip3 install -U WhisperSpeech, Cuda 12.2

Are you using a custom script?  Can you try using the example script I uploaded to the "examples" folder?

Good luck!

Good luck!

LOL - there is no fix?

I already suggested you try the script that I created in the examples folder, and if you do, I can possibly offer some insight.

Oh your script worked perfectly :) May I ask where is the option to use my own voice in the code? I can see it on Huggingface but not in the script/readme.

You posted your message while I was writing this...but I'm going to finish it because I believe it might still be useful to troubleshoot why the web-based script you gave didn't work.  Here goes...
First, here's what chatgpt says based on the error print you initially provided:

I am personally using CUDA 11.8 and Pytorch version 2.1.2 on Windows.  Therefore, I can't help directly troubleshoot Linux, but here's what I'd recommend.

Try CUDA 11.8 instead of 12+.
If you install CUDA 11.8, make sure you properly install Pytorch.

If your GPU is Nvidia you'll need to use the following commands (python 3.10):
pip3 install https://download.pytorch.org/whl/cu118/torch-2.1.2%2Bcu118-cp310-cp310-linux_x86_64.whl#sha256=60396358193f238888540f4a38d78485f161e28ec17fa445f0373b5350ef21f0

pip3 install https://download.pytorch.org/whl/cu118/torchaudio-2.1.2%2Bcu118-cp310-cp310-linux_x86_64.whl#sha256=b39468862d34a3a89af4db333bc935a02525a509b2c8949f638f83eb6061da02

pip3 install https://download.pytorch.org/whl/cu118/torchvision-0.16.2%2Bcu118-cp310-cp310-linux_x86_64.whl#sha256=18470aef0bbde73f5a6a96135cd457f4d8be31f60be7ceae4ef5174f02f73add

If you are using an AMD gpu on Linux, know that Pytorch only supports gpu-acceleration based on AMD gpus on Linux, not on Windows.  Moreover, it requires a different pytorch installation and a prerequisite of "rocM."  I can't test because I don't use Linux nor AMD gpus, but here are the pip installs assuming you get rocM working:
pip3 install https://download.pytorch.org/whl/rocm5.6/torch-2.1.2%2Brocm5.6-cp310-cp310-linux_x86_64.whl#sha256=2e1d91e3d1e037e3c2588e33deb69c75a5146cd3b50f088bf73a6450c2c78ba8

pip3 install https://download.pytorch.org/whl/rocm5.6/torchaudio-2.1.2%2Brocm5.6-cp310-cp310-linux_x86_64.whl#sha256=4b69320bba7a3260a408dad29288616232d4f74216ba831c5aa3504b2f48b7bc

pip3 install https://download.pytorch.org/whl/rocm5.6/torchvision-0.16.2%2Brocm5.6-cp310-cp310-linux_x86_64.whl#sha256=3055d9f8b924fa193298dd33a75415a78da0e4fa75e87131c5f0d1a8a9ca2fcf

THIS ASSUMES ROCM VERSION 5.6.  There are different commands for 5.5.  You can explore any and all links to wheels at these links:
https://download.pytorch.org/whl/cu118
https://download.pytorch.org/whl/rocm5.6


[Enhance] Continue to speed up training.

Motivation
This PR continues on #6867.
Not only limit the opencv multi-processing but also set OMP and MKL threads to 1 if not set in the environment.
Also, switch the start method from spawn to fork to speed up the start time.
Comparison
V100 x8
system info:
sys.platform: linux
Python: 3.8.11 (default, Aug  3 2021, 15:09:35) [GCC 7.5.0]
CUDA available: True
GPU 0,1,2,3,4,5,6,7: Tesla V100-SXM2-32GB
CUDA_HOME: /mnt/lustre/share/cuda-11.2
NVCC: Build cuda_11.2.r11.2/compiler.29618528_0
GCC: gcc (GCC) 5.4.0
PyTorch: 1.9.0
TorchVision: 0.10.0
OpenCV: 4.5.3
MMCV: 1.4.0
MMCV Compiler: GCC 5.4
MMCV CUDA Compiler: 11.2
MMDetection: 2.20.0+ff9bc39

YOLOX-s
launcher: slurm
workers per GPU: 8
file client: s3

OMP&MKL Thread
OpenCV thread
MP start method
Start time
datatime
time
Eta @ 3 epoch 1400 iter

default
default
spawn
10min
0.030
0.334
2 days, 11:10:22

default
0
spawn
10min
0.034
0.275
2 days, 3:03:15

1
default
spawn
9min
0.027
0.297
2 days, 5:27:36

default
default
fork
36s
0.027
0.327
2 days, 1:39:53

1
0
fork
24s
0.025
0.268
1 day, 18:31:02

Faster RCNN
launcher: slurm
workers per GPU: 2
file client: s3

OMP&MKL Thread
OpenCV thread
MP start method
Start time
datatime
time
Eta @ 1 epoch 4000 iter

default
default
spawn
1min19s
0.011
0.483
11:40:39

1
0
fork
12s
0.010
0.232
5:32:23

A100 x8
sys.platform: linux
Python: 3.7.11 (default, Jul 27 2021, 14:32:16) [GCC 7.5.0]
CUDA available: True
GPU 0,1,2,3,4,5,6,7: A100-SXM-80GB
CUDA_HOME: /usr/local/cuda
NVCC: Build cuda_11.2.r11.2/compiler.29618528_0
GCC: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
PyTorch: 1.10.1
TorchVision: 0.11.2
OpenCV: 4.5.5
MMCV: 1.4.2
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 11.1
MMDetection: 2.20.0+ff9bc39

YOLOX-s
launcher: torch
workers per GPU: 8
file client: hard disk

OMP&MKL Thread
OpenCV thread
MP start method
Start time
datatime
time
Eta @ 3 epoch 1400 iter

num CPU core
default
spawn
7min
0.039
0.317
2 days, 5:46:18

1
default
spawn
5min
0.036
0.308
2 days, 3:07:02

1
default
fork
10s
0.035
0.298
2 days, 1:57:50

1
0
fork
10s
0.016
0.189
1 day, 5:08:11

Does setup_multi_processes also work for tools/test.py?

Does setup_multi_processes also work for tools/test.py?

Yes, it works. I'll add this both in train.py and test.py.


Validate ServiceProvider in tests

Description
What started as turning on service provider validation in tests, identified several issues this PR fixes.
See the commit messages for details.
Quality checklist

[x] Your code complies with our Coding Style.
[x] You've updated unit and/or integration tests for your change, where applicable.
[ ] You've updated documentation for your change, where applicable.
If your change affects other repositories, such as Documentation, Samples and/or MainSite, add linked PRs here.
[ ] There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.
[ ] You've added required license files and/or file headers (explaining where the code came from with proper attribution), where code is copied from StackOverflow, a blog, or OSS.

/azp run Steeltoe.All

LGTM, though title/description should mention changes to SB command line config provider

I've updated the description. Feel free to merge this PR, so you can base your work on it.


Terminal.com closing, how to move Huginn?

I've been working with Huginn and Terminal.com for a year, but they are closing the service.
Now I need to get all my data from terminal and to install it in another service.
I'm absolutely lost with all this...
Any help?
Thanks

Hi @alvarodemig, they must have made it with a postgresql or mysql database. You should ask them if there's a way to export a database dump.

Thanks @cantino ;)
I will try!
And... what is the EASIEST way to deploy huginn? I don't mind to pay (the less the better) or to use one of my pcs as a server. Maybe Heroku?
Thanks, I'm a mess in all this :(

Heroku is quite easy if you pay. There's a button on the README for it.

Nothing from Terminal.com... I'll have to create all of them again by hand... :(
By the way, I'm trying to deploy it in Heroku but I can't.
I install the heroku toolbet (no .exe file? is it ok?)
I try to follow the instructions through the Windows command:
heroku --version
heroku login
And it seems ok, I'm logged.
I get the zip from https://github.com/cantino/huginn.git) and unzip it.
In the command I go to the Huginn directory and try:
cp .env.example .env && bundle
But it says that it does not recognise cp

I try to do it through Heroku and I can't either. I try to use the "github", i found huginn and when I try to deploy the branchs it always fails.

Any help??
Thanks...

Hey @alvarodemig. Deploying Huginn is not supported on Windows.  We'd recommend using VirtualBox with Ubuntu (which you can do for free on Windows).  You could also use the Heroku button on our README to do a simple deployment to Heroku.
Re: terminal.com, one way to get your agents would be to add them all to a Scenario in Huginn, then export that Scenario as a JSON file. You'd be able to import that into a new Huginn instance later.
Also, if you can get an interactive terminal with terminal.com, you might be able to do a database dump. Do you know if they use mysql or postgresql?

I had all my agents divided in Scenarios, I didn't know I could export them.
I stopped my Terminal instance to keep money to access when I had a solution, I've tried to resume it to try this scenario option, but it's been "resuming" for an hour... so... I think I just don't have access. They don't answer my mails. They are being really unhelpful... I think I will need just to recreate all of them by hand... I don't think anything changes with them after weeks trying.
I tried the Heroku button but it doesn't work for me. I choose an available name and US zone and I press "Deploy". One second later I get a "V" in "create app" and that's all. It doesn't continue and nothing changes.
This is what I get:

Should I do anything later?
If I can't fix it this way I´ll try the VirtualBox, although if I have it just on Heroku servers paying them is better for me. I just need the agents working.
And thank you very much @cantino . You're awesome

That's super strange... it just sits there? I just pushed the heroku button and it's working for me. Maybe you need to add a credit card to your Heroku account, or try a different browser?
To finish the Heroku setup, you will need to use Ubuntu or a Mac, so it's worth getting VirtualBox working either way.

Hello again @cantino !
Fixed! I don't know why but today it just worked and continued... very weird... I had tried with different browsers and PCs... I'm in a paying plan, but Heroku told me that it should work with their free version.  I followed your advised and I installed VirtualBox and Ubuntu and now huginn is working! :D
Anyway it's ok now
Thank you very much! I really appreciate what you do here.

Great! I'm glad it's working :)  Feel free to re-open this issue if you have more questions.


Minify bundle

Reason for change
Free performance 🤷♂
Testing
This should be safe-ish because I went with “light” minification which means most unsafe code mutations were avoided (see https://github.com/terser/terser#terser-fast-minify-mode). This has been tested in Render Dashboard and everything seems to work as expected. Though it wouldn’t hurt for the reviewer to poke through Storybook and make sure there are no more errors than usual.
Checklist

[x] CHANGELOG: The Unreleased section of CHANGELOG was updated
[ ] Prop changes: docs were updated
[ ] Prop changes: E2E tests were updated, testing from the highest level possible
[x] Platform testing: If this change should be tested against a platform, has it been?

Would we be able to test this PR on the CDN if we tagged an alpha release?

Would we be able to test this PR on the CDN if we tagged an alpha release?

Yeah that’d be a good idea

I know you're putting this on hold, but just sharing a thought before I forget about it:
If we minify the stuff that Render uses in their Dashboard, it actually hurts our ability to debug. If they're the ones responsible for minifying it, then

we can step through the code as-is in dev mode, and
if they agree to upload source maps in production, then we can step through the code there as well.

If we minify that code ourselves, we can't do any of that, I think.

Webpack is going to wrap our JavaScript files with some webpack specific code so our source maps wouldn't be accurate. I think the only place where minifying our own code and adding source maps actually makes sense would be the CDN. I mean, we could try it, but I don't think it will work properly.

Closing; this was a PoC and it makes debugging harder.


feat: add definition of ContainerPort and Route

What type of PR is this?
/kind feature
What this PR does / why we need it:
add network schema definition ContainerPort and Route, related to catalog PR#16

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 72.058%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
5217

Relevant Lines:
7240

💛  - Coveralls


Feature Request: Ability to start a privileged container

Would be cool to do this using the UI, if its possible to enable USBs via the Virtual Box API, I'm sure its not as easy at it looks :smile:

Thanks for providing feedback.

No problem :smile:
I must say its a pretty slick UI, is most of the markup just javascript?

Yes. :) :+1:

Do you have an IRC channel? :computer:

@robtec Not at the moment.

@mchiang0610 no problem, just setting up the dev environment, think I'm missing an API key somewhere, getting this error

Thanks - can you pull up the logs? You can open the debugger with cmd+alt+I.

Hope this helps :+1:

What's the output of docker-machine ls on a regular Mac OS X Terminal?
Thanks

robpowell@Robs-MacBook-Pro ~/D/w/kitematic> docker-machine ls
NAME   ACTIVE   DRIVER       STATE     URL                         SWARM
dev    *        virtualbox   Running   tcp://<IP_ADDRESS>:2376

Note I am setting up the kitematic development environment, from the instructions in the README
I have the standalone app installed too which works fine, just wondering where does the development version need an API key? docker hub maybe?

No API key required (sorry about the misleading info msg in the console).
This error is caused by our docker-machine bindings.
Last thing, can you try: ls ./resources?
Are the docker and docker-machine binaries correctly downloaded in the resources dir? I just pushed a fix for this, so it's most likely the problem.
Thanks!

robpowell@Robs-MacBook-Pro ~/D/w/kitematic> ls ./resources/
macsudo  terminal

Pulled the latest and ran npm install then npm start, its working fine now :+1:

Good to know!

This feature is added in the latest Kitematic ?

Any news about this? It would be very cool eg. for swift you are forced to run it in privileged mode to have full features working ( https://github.com/lxcid/docker-swift )


Frame time diagnostic independent of vsync

What problem does this solve or what need does it fill?
When using the frame time diagnostic and vsync at the same time, the diagnostic shows ~16ms on a 60 Hz display (unless the GPU cannot keep up). If vsync is turned off and FPS increases by a lot, it indicates that the real work the GPU had to do should have taken less than 16ms in the vsync scenario.
I assume the way the frame time is collected happens after some sort of vsync barrier happens, such that the "real" work is masked.
What solution would you like?
Unless the current behaviour can be considered a bug, I'd like to be able to opt into showing the "real" work time elapsed.
If vsync on a 60 Hz display runs at 60 FPS I still want to know if rendering these contents actually took 2ms or 16ms.

@bevyengine/rendering-team any comment on if the current behaviour is a bug or not?

The frame time diagnostic is taken from [Tme<Real>::delta_seconds_f64](https://docs.rs/bevy/latest/bevy/time/struct.Time.html#method.delta_seconds_f64] and is not really related to rendering for now


build: switch to build production image

addresses https://github.com/digitalbitbox/bitbox-base/issues/291
The various build options make it difficult to spot if in total everyting is set correctly to build a production image. By adding the binary option BASE_PRODUCTION_IMAGE to build a PRODUCTION or DEV image, and setting all options to safe production defaults, configuration errors can be minimized.
This commit:

adds the build option BASE_PRODUCTION_IMAGE
sets all defaults to production values that can only be overwritten
if BASE_PRODUCTION_IMAGE=='false'

This change requires updating build-local.conf for developers.


Add support for non interactive run

It would be great to run your ProxyMan in non interactive mode.

Yes. That's available in v3 (WIP).
I have implemented it partly and shall release sometime soon.
The interface is like:
proxyman load college
and your saved profile loads.
Similarly, there's proxyman unset.

Sounds great! Thank you! Can we then execute the main.sh script also outside, e.g. from home directory? Because now the paths to profile are fixed.

Yes. As a part of v3, I'm trying to add the script to the PATH, using some installation script (similar to how [nvm(https://github.com/creationix/nvm#install-script) does).
Then, this would be available from anywhere, for both interactive/non-interactive usage.

v3 is ready. That has all the necessary things.


Readthedocs gone (with recent commit?)

Summary
Documentation is empty at https://plutus.readthedocs.io
Steps to reproduce
Steps to reproduce the behavior:

Go to https://plutus.readthedocs.io
See implicit error (missing documentation)

Expected behavior
Being able to see and browse the documentation.
Screenshots and attachments

Actually, I'll leave this open until it's sorted.


feat: subgraph error propagation improvements

This PR adds the following improvements:

Ensure that no extension fields are propagated by default.
Use the dataSource name (Subgraph name) for error messages.
Allow defining granularly which extension fields should be propagated.
Allow defining a fallback value for the extension code field.
Allow attaching the dataSource name as the serviceName field to the extension object.
data: null is never returned for errors that are happening before query execution. This compliant with the spec.

@jensneuse astjson has already a concept of Arenas which allows for easy value creation including memory reuse. Please check again.

@jensneuse astjson has already a concept of Arenas which allows for easy value creation including memory reuse. Please check again.

The idea is good. Great find!
I'd slightly change the implementation though.
Instead of having an arena pool, you can add one arena to each Resolvable.
The Resolvable has the lifecycle of the Request, which means that it can be invalidated once the Request handling is done.
This is already implemented and we're using it to free resources live throughout the lifecycle of a Request.
So I think the simple optimal solution would be to add one arena to each resolvable and create JSON AST nodes from it.
WDYT?


randPlan

Description
Basic, etc.
Proposed solution
No response
Alternatives considered
No response
Do you want to create a pull request?
No

@NetanelBasal You mean a subscription plan?

Yes


Problems with the self-signed X.509 cert

So I decided to go the self hosted X.509 route. Everything worked well so far. Until I tested the skill and I get the following error on my server:
$(jobs:0)-(9 files, 56Kb)-> python src/calexa.py
 * Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
[2018-03-21 23:34:25,118] ERROR in app: Exception on / [POST]
Traceback (most recent call last):
  File "/home/ndo/.local/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ndo/.local/lib/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ndo/.local/lib/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/home/ndo/.local/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ndo/.local/lib/python2.7/site-packages/flask/app.py", line 1598, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/home/ndo/.local/lib/python2.7/site-packages/flask_ask/core.py", line 728, in _flask_view_func
    ask_payload = self._alexa_request(verify=self.ask_verify_requests)
  File "/home/ndo/.local/lib/python2.7/site-packages/flask_ask/core.py", line 662, in _alexa_request
    cert = verifier.load_certificate(cert_url)
  File "/home/ndo/.local/lib/python2.7/site-packages/flask_ask/verifier.py", line 21, in load_certificate
    if not _valid_certificate(cert):
  File "/home/ndo/.local/lib/python2.7/site-packages/flask_ask/verifier.py", line 63, in _valid_certificate
    value = str(extension)
  File "/home/ndo/.local/lib/python2.7/site-packages/OpenSSL/crypto.py", line 779, in __str__
    return self._subjectAltNameString()
  File "/home/ndo/.local/lib/python2.7/site-packages/OpenSSL/crypto.py", line 740, in _subjectAltNameString
    method = _lib.X509V3_EXT_get(self._extension)
AttributeError: 'module' object has no attribute 'X509V3_EXT_get'
<IP_ADDRESS> - - [21/Mar/2018 23:34:25] "POST / HTTP/1.1" 500 -

On the alexa skills test page I get the following error:
There was an error calling the remote endpoint, which returned HTTP 500 : INTERNAL SERVER ERROR
I made the self signed cert 1:1 following Amazons directions from their page here:
https://developer.amazon.com/docs/custom-skills/test-a-custom-skill.html#create-a-private-key-and-self-signed-certificate-for-testing
Also I'm not using nginx, but apache. My config looks like this:
<VirtualHost *:80>

        ServerName calexa.abcxyz.xyz

        Redirect / https://calexa.abcxyz.xyz

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>
<VirtualHost *:443>

        ServerName calexa.abcxyz.xyz

        LimitRequestBody 0

        SSLEngine On
        SSLProxyEngine On

        <Proxy *>
        Order deny,allow
        Allow from all
        </Proxy>

        ProxyRequests Off
        ProxyPreserveHost On

        ProxyPass / http://localhost:5000
        ProxyPassReverse / http://localhost:5000

        SSLCertificateFile /home/ndo/CALexa/certificate1.pem
        SSLCertificateKeyFile /home/ndo/CALexa/private-key.pem

</VirtualHost>

I think that about covers all the info.
Anyone have any idea whats going on here?
Config looks perfectly fine to me..

you can refer to https://stackoverflow.com/questions/49375054/alexa-skill-development-using-flask-ask-and-ngrok


Use relative install paths for plugin shared libraries and gz-tools data

🦟 Bug fix
Summary
Fixes an error when building https://github.com/gazebo-release/gz_gui_vendor/ in the ROS buildfarm.
Similar to https://github.com/gazebosim/gz-tools/pull/137
Checklist

[ ] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

This can be tested by going into the build directory and running
cmake -DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON -P cmake_install.cmake

(Make sure to have the latest version of gz-cmake3)


Validate Windows 2004 SAC

Validate the following scenarios:

Deploy windows downstream cluster and run validation tests
Deploy logging v1
deploy monitoring v1

On 2.5-head

Deployed windows downstream cluster and validation tests look good.
Logging v1 does not work - https://github.com/rancher/rancher/issues/30808
Monitoring v1 does not work - https://github.com/rancher/rancher/issues/31152

On 2.5-head commit d: 3e96d7fb1c

Deployed a windows 2004 cluster - VXLAn using k8s 1.19.7-rancher2-1 - 1 etcd, 1 control plane and 1 linux worker nodes, 3 windows worker nodes.
Cluster is deployed successfully.
Enabled monitoring v1 - v0.2.1. rancher/wmi_exporter-package:v0.0.5
Monitoring is enabled successfully.
Metrics are seen for the windows worker nodes
on the Prometheus page, go to Status → Targets  --> all targets on this page have the state to be up

On v2.5-3e96d7f

Deployed a windows 2004 cluster - VXLAn using k8s 1.19.7-rancher2-1 - 1 etcd, 1 control plane and 1 linux worker nodes, 3 windows worker nodes.
Cluster is deployed successfully.
Enabled Logging v1 using Elastic search - v0.2.3
Deploy a workload. type - daemonset
Logs are seen in elastic search from all windows worker nodes


Send Direct Messages in 1.9

There are some examples for sending direct messages to a specific user in older versions, unfortunately I couldn't find out how to send one in version 1.9.
There is this broadcast option in directThread, but I guess that would send a thread to lots of users not just one.
Any hint would be appreciated.

It doesn't send messages to lots of users in a direct thread. A direct thread represents a specific chat with a user (or with multiple users when it's a group). The broadcastText method of a directThread entity is what you are looking for.


memfs refactor

memfs, had some issue related to how handled the dirs.
This reactor change the way of the implementation handles the dirs, creating the dirs when a file is created.
Improve the performance as well of the legibility of the code.

I merged the PR by accident, setting the Windows testing sorry, please review it anyway.

Can you explain the issues related with how we handle dirs before and why this PR fixes them?

The main problem was that a dir was inferred by an existent file and wasn't created it self when the file was created. So for example when you delete the file the directory doesn't exists anymore.
Also I found some bugs, so I added the test and refactored it because was a complete mess. Now the dir is created when a file is created exactly as osfs does.

I see, thanks!


chore: lint on PR

Closes #27

#44  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tazarov and the rest of your teammates on  Graphite


SDL 3d incomplete

You are asking to be shoved off a cliff when using the OGL 3d routines right now.
I am working as fast as I can- I want SDL_GFX unit converted first.
(That should round off the squares into circles and make people happy)
This may mean some massive checks -and rewrites- to half of the main unit.
(some of you write some really sloppy C-you dont byte-convert endian-ness in the middle of a function call)

initgraph should work- thats abt as far as Ive gotten.


IE gir en del warnings

Issue and Steps to Reproduce
Start i IE11, åpne konsollvindu og reload
Versions
IE11
Expected
Actual
En del komponenter feiler med feilmelding i konsol, som resultat av dette ser ikke søket ut til å fungerel:
Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object.
Check your code at TopBar.js:61.
in TopBar (at VenstreVinduContainer.js:64)
in div (at VenstreVinduContainer.js:55)
in Route (at VenstreVinduContainer.js:53)
in VenstreVinduContainer (at Grunnkart.js:209)
in div (at Grunnkart.js:199)
in div (at Grunnkart.js:168)
in Grunnkart (created by Route)
in Route (created by withRouter(Grunnkart))
in withRouter(Grunnkart) (at App.js:32)
in Router (created by BrowserRouter)
in BrowserRouter (at App.js:31)
in MuiThemeProvider (at App.js:30)
in App (at index.js:6)
Warning: Each child in an array or iterator should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.
in div (created by AppBar)
in div (created by Paper)
in Paper (created by AppBar)
in AppBar (at TopBar.js:38)
in TopBar (at VenstreVinduContainer.js:64)
in div (at VenstreVinduContainer.js:55)
in Route (at VenstreVinduContainer.js:53)
in VenstreVinduContainer (at Grunnkart.js:209)
in div (at Grunnkart.js:199)
in div (at Grunnkart.js:168)
in Grunnkart (created by Route)
in Route (created by withRouter(Grunnkart))
in withRouter(Grunnkart) (at App.js:32)
in Router (created by BrowserRouter)
in BrowserRouter (at App.js:31)
in MuiThemeProvider (at App.js:30)
in App (at index.js:6)
react-map-gl: using mapbox-gl v0.44.1
There is no style added to the map.
kode:  mapstyle loaded: undefined
Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object.
Check your code at TopBar.js:61.
in TopBar (at VenstreVinduContainer.js:64)
in div (at VenstreVinduContainer.js:55)
in Route (at VenstreVinduContainer.js:53)
in VenstreVinduContainer (at Grunnkart.js:209)
in div (at Grunnkart.js:199)
in div (at Grunnkart.js:168)
in Grunnkart (created by Route)
in Route (created by withRouter(Grunnkart))
in withRouter(Grunnkart) (at App.js:32)
in Router (created by BrowserRouter)
in BrowserRouter (at App.js:31)
in MuiThemeProvider (at App.js:30)
in App (at index.js:6)
Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object.
Check your code at TopBar.js:61.
in TopBar (at VenstreVinduContainer.js:64)
in div (at VenstreVinduContainer.js:55)
in Route (at VenstreVinduContainer.js:53)
in VenstreVinduContainer (at Grunnkart.js:209)
in div (at Grunnkart.js:199)
in div (at Grunnkart.js:168)
in Grunnkart (created by Route)
in Route (created by withRouter(Grunnkart))
in withRouter(Grunnkart) (at App.js:32)
in Router (created by BrowserRouter)
in BrowserRouter (at App.js:31)
in MuiThemeProvider (at App.js:30)
in App (at index.js:6)

Fixed


Fix: Bump react-vtkjs-viewport

Might fix #631 - Need to test

Bellona - Series 2
Slices: W: 360; L: 36
2D MPR: W:1024; L: 512

Bellona - Series 3
Slices: W: 2000; L: -600
2D MPR: W:1024; L: 512

Closing until component changes address issue.


Refactor Metric Recording

This builds on the #6, and does a thing mentioned in #5, namely refactoring the JS to be more regular in the way it deals with metric types.
This was https://github.com/Instrumental/instrumental-node/pull/8 but pushing to this branch didn't update the PR, so here's a new PR.

:100: I think the other PR was on a personal fork I had of the module.


Kahn's algorithm issue #114

please refer it under issue #114 under hacktober fest

@Dhandeep10 is this on your radar still? :slightly_smiling_face:


Modrinth versions

2.1.1+1.20 is listed as only supporting 1.20.2

meaning Modrinth won't let you install it for 1.20 or 1.20.1

thanks for spotting that! has been fixed now


[Fixes 1428] Setting ContentEncoding header in ContentResult

@kichalla

@Tratcher are strongly typed headers (and particularly support for content type/char set) is going to be available early this week?

That's the goal. I'll send the PR tomorrow.
Sent from my Windows Phone

From: Yishai<EMAIL_ADDRESS>Sent: 1/12/2015 5:20 PM
To<EMAIL_ADDRESS>Cc: Chris<EMAIL_ADDRESS>Subject: Re: [Mvc] [Fixes 1428] Setting ContentEncoding header in ContentResult (#1746)
@Tratcher are strongly typed headers (and particularly support for content type/char set) is going to be available early this week?

Reply to this email directly or view it on GitHub:
https://github.com/aspnet/Mvc/pull/1746#issuecomment-69679654

Updated. Changes based on https://github.com/aspnet/HttpAbstractions/pull/164.

:watch: for a functional test.
/cc @Tratcher

:shipit:

:shipit:


Backtraces are munged by #[async_attributes::test]

I mentioned this to @yoshuawuyts in a call but figured I should also open an issue here.
Error backtraces are somehow munged when the panic occurs from the handler in this test attribute.
The backtrace will point to e.g. #[async_std::test] rather than the line of the error, and useful location information is usually completely missing from BACKTRACE=short. One has to know how to search through a backtrace to extract error origin location which is not at all ideal for rapid test development.
I don't have an example offhand, as the issue is bad enough that I've changed all my internal test helpers and error propagations to use unwrap().
In fact, we also use this error type on our test cases:
/// A Wrapper around [`Infalliable`](std::convert::Infallible) to force test cases to use `.unwrap()`.
///
/// This is useful because `.unwrap()` provides better stacktraces than propogating errors to [`#[async_std::test]`](async_std::test).
pub type MustUnwrap = Result<(), std::convert::Infallible>;

Edit: it is only now that I realize that this MustUnwrap type is functionally identical to (). :facepalm:

Ok turns out I have been wrong, however, the following things are true:

Error returns have more complex backtraces.
Both errors and panics from within a test helper function cause the location to point to the helper.

This means that digging through the backtraces is necessary to find the location, exacerbating the above backtrace thing.

I think the end result of this is that the test helpers we have written will be switched over to be macros.

See also https://rust-lang.zulipchat.com/#narrow/stream/122651-general/topic/test.20error.20location.20output

On code:
#[async_attributes::test]
#[should_panic]
async fn panic_test() {
    assert!(false);
}

shows backtrace:
...
  33: test::panic_test
             at ./tests/test.rs:1:1
  34: test::panic_test::{{closure}}
             at ./tests/test.rs:1:1
  35: core::ops::function::FnOnce::call_once
             at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/core/src/ops/function.rs:227:5
  36: core::ops::function::FnOnce::call_once
             at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/core/src/ops/function.rs:227:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
test panic_test - should panic ... ok

Backtrace is showing panicking on line 1 although it is on line 4.

If I manually extend macro, so I got code:
#[test]
#[should_panic]
fn panic_test() {
    async_std::task::block_on(async {
        assert!(false);
    })
}

I got backtrace:
  33: test::panic_test
             at ./tests/test.rs:4:5
  34: test::panic_test::{{closure}}
             at ./tests/test.rs:3:1
  35: core::ops::function::FnOnce::call_once
             at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/core/src/ops/function.rs:227:5
  36: core::ops::function::FnOnce::call_once
             at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/core/src/ops/function.rs:227:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
test panic_test - should panic ... ok

which still does not point at line 5, so maybe the problem is also in block_on?


The feature is GA but in FAQ still defines it as preview feature

for the question "What's the difference between agent-based and agentless?" in FAQ, the agentless communication for dependency analysis mentioned as a preview feature whereas in the main article the feature is mentioned to be GA.
https://learn.microsoft.com/en-us/azure/migrate/concepts-dependency-visualization
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 678dc2af-a045-22ba-2b7c-a7dbf6ba2e64
Version Independent ID: f7a66b96-7374-8107-f0d9-f17ea33ab457
Content: Questions about discovery, assessment, and dependency analysis in Azure Migrate - Azure Migrate
Content Source: articles/migrate/common-questions-discovery-assessment.md
Service: azure-migrate
GitHub Login: @Rashijoshi
Microsoft Alias: rajosh

@Arvindboggaram
Thanks for your feedback! We will investigate and update as appropriate.

@Arvindboggaram Thanks for the feedback! I have fixed the referenced change, and the change should reflect on the doc within 24 hours. We will now proceed to close this thread. If there are further questions regarding this matter, please revert and we will gladly continue the discussion.


Initialise Basis elements with a default Basis in the declaration.

Ensures a valid Basis is created with all constructors.
For example, currently, when creating a Basis with Basis(const Vector3 &p_axis, real_t p_phi), if p_axis is not normalized, set_axis_angle() fails and a Basis with zero vectors is returned.
Note: The Basis(const Vector3 &p_axis, real_t p_phi) constructor is used by Node3D::rotate(const Vector3 &p_axis, float p_angle). The user is warned that p_axis needs to be normalized. However, the Node3D's orientation is replaced with a Basis of zero vectors, because it's still multiplied by the rotated() Basis created. This PR ensures that a default Basis is returned, which ensures that the Node3D's orientation is left unchanged as expected.
Fixes #40505.

Thanks!

Cherry-picked for 3.2.3.


New groupId

Correct me if I'm wrong, but the group ID appears to have changed. Using this new group ID works for me when using version 0.9.1, when the other group ID did not.

This changes the example to the correct group id. Are there any changes you'd request to this PR?

This changes the example to the correct group id. Are there any changes you'd request to this PR?

@rockfireredmoon what do you think about this? I think it would really help.


Fix bug in cache id parsing

Magically, there were two bugs that happened to counter each other. In
reality, we were not properly parsing the first cache id from L3CODE or
L3DATA schema. However, because the resulting strconv error was ignored
the parsed id was set to 0 which usually happens to be true for the
first cache id.

Codecov Report

Merging #23 (34d7b8c) into main (10f7b66) will not change coverage.
The diff coverage is 75.00%.

@@           Coverage Diff           @@
##             main      #23   +/-   ##
=======================================
  Coverage   77.38%   77.38%
=======================================
  Files           6        6
  Lines         955      955
=======================================
  Hits          739      739
  Misses        143      143
  Partials       73       73

Impacted Files
Coverage Δ

pkg/rdt/info.go
61.42% <75.00%> (ø)

Continue to review full report at Codecov.

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


Keras saved_model.simple_save model bigger and bigger

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):  Custom code
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Mint 19 Tara
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.10.1
Python version: 3.6.5
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce: python script.py

Describe the problem
When saving successively a keras model using tf.get_default_graph(), the size of saved_model.pb increase.

Source code / logs
script.py
import time

import numpy as np
import tensorflow as tf
from tensorflow.keras.layers import *
from tensorflow.keras.models import Sequential
from tensorflow.keras.optimizers import *

if __name__ == '__main__':

    sess = tf.keras.backend.get_session()

    model = Sequential()

    model.add(Dense(units=64, activation='relu', input_dim=4))
    model.add(Dense(units=4, activation='linear'))

    opt = RMSprop(lr=0.1)
    model.compile(loss='mse', optimizer=opt)

    graph = tf.get_default_graph()  # Use the same graph as global thread

    model.predict(np.array([[1, 1, 1, 1], [1, 1, 1, 1]]))

    for _ in range(100):
        time.sleep(1)
        temp_export_path = '/tmp/models/' + str(time.time()).split(".")[0]

        with graph.as_default():
            tf.saved_model.simple_save(
                sess,
                temp_export_path,
                inputs={'state': model.input},
                outputs={t.name: t for t in model.outputs})

Updated

@Coac You would need to reset the graph before initiating the model. Also, add longer sleep time between graphs. Here is the code snippet I modified, from which you will get exactly the same file size for all the .pb files.
import time

import numpy as np
import tensorflow as tf
from tensorflow.keras.layers import *
from tensorflow.keras.models import Sequential
from tensorflow.keras.optimizers import *

if __name__ == '__main__':

    for _ in range(100):
        tf.reset_default_graph()
        sess = tf.keras.backend.get_session()

        model = Sequential()
        model.add(Dense(units=64, activation='relu', input_dim=4))
        model.add(Dense(units=4, activation='linear'))

        opt = RMSprop(lr=0.1)
        model.compile(loss='mse', optimizer=opt)

        graph = tf.get_default_graph()  # Use the same graph as global thread

        model.predict(np.array([[1, 1, 1, 1], [1, 1, 1, 1]]))
        time.sleep(10)
        temp_export_path = '/tmp/models/' + str(time.time()).split(".")[0]

        with graph.as_default():
            tf.saved_model.simple_save(
                sess,
                temp_export_path,
                inputs={'state': model.input},
                outputs={t.name: t for t in model.outputs})

Thanks for your answer, this is working, the size does not increase when resetting the graph each time.
But we get a new graph and we lose the trained weights.
Can't we get the latest version of the graph exported each time without having the size of the .pb file explodes?

Glad it worked. To save the latest version of the graph exported every time, you probably want to use saved_model.builder.SavedModelBuilder() and define different tags then you can have multiple .pb.

I tried using saved_model.builder.SavedModelBuilder(), I also get the exported .pb bigger after each call.
What I want to do is training the model, for some time then export it to serve it, then retraining.
Training -> Export -> Training -> Export -> ...
The version using a builder:
import time

import numpy as np
import tensorflow as tf
from tensorflow.keras.layers import Dense
from tensorflow.keras.models import Sequential
from tensorflow.keras.optimizers import SGD
from tensorflow.python.saved_model import tag_constants
from tensorflow.python.saved_model.signature_def_utils_impl import predict_signature_def

if __name__ == '__main__':

    sess = tf.keras.backend.get_session()

    model = Sequential()

    model.add(Dense(units=64, activation='relu', input_dim=4))
    model.add(Dense(units=4, activation='linear'))

    opt = SGD(lr=0.01)
    model.compile(loss='mse', optimizer=opt)

    graph = tf.get_default_graph()

    model.predict(np.array([[1, 1, 1, 1], [1, 1, 1, 1]]))

    for _ in range(100):
        with graph.as_default():
            time.sleep(1)
            model.fit(np.array([[1, 1, 1, 1], [1, 1, 1, 1]]), np.array([[1, 1, 1, 1], [1, 1, 1, 1]]))
            temp_export_path = '/tmp/models/' + str(time.time()).split(".")[0]

            # Saving
            builder = tf.saved_model.builder.SavedModelBuilder(temp_export_path)
            signature = predict_signature_def(inputs={'state': model.input},
                                              outputs={t.name: t for t in model.outputs})
            builder.add_meta_graph_and_variables(sess, [tag_constants.SERVING],
                                                 signature_def_map={
                                                     tf.saved_model.signature_constants.DEFAULT_SERVING_SIGNATURE_DEF_KEY: signature})
            builder.save()

The builder instantiation is inside the loop as I would like to save the model to a separate model each time.

Hi @Coac,Tensorflow v1.xis not actively supporting, we would request you to use Tensorflow v2.x.
You can save the model using model.save(), load model using tf.keras.models.load_model(). Tensorflow v2.x provides facility to save and load the checkpoints during training. To save weights manually, use tf.keras.Model.save_weights. By default, tf.keras—and the Model.save_weights method in particular—uses the TensorFlow Checkpoint format with a .ckpt extension. For more information please refer Tensorflow official site here. Thank you!


Bump spa package version to 1.1.2

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


🛠 Tooling: Setup end-to-end test should also factor into code coverage

Bug Report Checklist

[X] I have tried restarting my IDE and the issue persists.
[X] I have pulled the latest main branch of the repository.
[X] I have searched for related issues and found none that matched my issue.

Overview
In #472 -> #473, I added code coverage tracking to the hydration end-to-end tests. It's merged with unit test code coverage.
However, I didn't add the tracking for setup end-to-end tests. Which is unfortunate because setup files are being counted as not having code coverage. Let's fix that!
Additional Info
No response

I tried this out in #496 and ran into issues. Leaving this open for anybody who wants to try it out.
From the upload on Codecov:

We recommend checking the Codecov step of this commit's CI Run to make sure it uploaded properly and, if needed, run your CI again.

It looks like the coverage-setup/lcov.info file doesn't include any actual coverage information:

Correct file from hydrate: 0a85159c-5f1c-4242-8814-3688985f0135.txt
Incorrect file from setup: b46c5ae2-7d6e-4d09-9df4-2ed147e38070.txt

I wonder if the issue is that the setup script deletes the src/shared & src/setup files that are being tracked?

Solution from #496: run the setup script a second time 😄


⚠ Bofrost.nl has degraded performance

In 942acbd, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 1508 ms

Resolved: Bofrost.nl performance has improved in 3e3ffea.


Checks default registry

https://github.com/rancher/rancher/issues/6195

@alena1108 I had missed this if condition in the earlier registries code. All test cases need to have index.docker.io in the whitelist, else the other unrelated tests running in parallel fail. So cannot add a test for this specific condition

LGTM


add parskip compatibility

Lists parskip as compatible and adds a test file.

@FrankMittelbach  that may have been me, adding the initial priorities basically ran off update date, so if a packge was updated after the main addition of tlc3 it may have been wrongly priotised. priority is ignored for compatible packages in any case so it can be deleted.

Wasn't me :) Fixed

Wasn't me :) Fixed

:-) didn't meant to indicate that


7i.se/https://foo.bar why you no work?

Default create 24 hour link, or longer link if already full.

the syntax is 7i.se?https://foo.bar not 7i.se/https://foo.bar ;)


Make model.Entity.specific_asset_id a Set of model.SpecificAssetIds

V3.0 changed model.Entity.specific_asset_id: https://rwth-iat.github.io/aas-specs/AASiD_1_Metamodel/index.html#Entity
We need to adapt these changes.
@jkhsjdhjs  Could you do this?

@s-heppner I can do that

https://rwth-iat.github.io/aas-specs/AASiD/AASiD_1_Metamodel/index.html#Entity


add a dbfilter to the default configuration on the odoo image

In Odoo v11 this is needed to diplay all databases on the db manager. Solves issue https://github.com/Tecnativa/docker-odoo-base/issues/137

@Yajo I'm not sure if this is the best way, would you add a environment variable for this?

I was just gonna tell you to do it, yes. Remember to add it into both Dockerfiles.

@Yajo I think now it should be fine

ping @Yajo
Does it look good now?

No worries, thanks!


iOS crashes on BackgroundGeolocation.start()

When trying to start the geolocation, the app crashes without any message, error handling or anything else.
Your Environmentnumeric version changes over the time -->

Plugin version: 3.0.3 (newest)
Platform: iOS
OS version: 12
Device manufacturer and model: iPhone 6, iOS 12

Running in Simulator: Not possible
Cordova version (cordova -v): newest (already reinstalled)
Cordova platform version (cordova platform ls): newest (already reinstalled)
Plugin configuration options:
Link to your project:

Context
Im just calling the start method with all granted permissions.
When starting the app, it crashes instantly after calling BackgroundGeolocation.start();
I´ve tried everything but ios debugging with javascript, cordova and ionic is like hell.
Thus im trying to fix that issue with your help, to see if there are any methods to avoid this crash.
The ionicerrorhandler isn´t even called, because that should normally send a report to sentry (what it doesn´t do)
Things i´ve tried:

Running on different devies (ios 12, 13)
granting permissions manually
remove and add plattform
remove and add plugin

P.S. on android everything works fine.
The code im using:
BackgroundGeolocation.configure({
				locationProvider: BackgroundGeolocation.DISTANCE_FILTER_PROVIDER,
				desiredAccuracy: BackgroundGeolocation.HIGH_ACCURACY,
				stationaryRadius: 1,
				distanceFilter: 30,
				interval: 1000,
				fastestInterval: 1000,
				activitiesInterval: 1000,
				saveBatteryOnBackground: true,
				maxLocations: 1,
				activityType: "AutomotiveNavigation",
				debug: false,
			});
			this.startGettingLocations(); // registers an "on('location')" listener

			await this.log("Configure Done"); // pops up
			BackgroundGeolocation.start(); // Crashes
			await this.log("Background location started.");

Expected Behavior
The Geolocator should start...
Actual Behavior
Crash
Possible Fix
/
Steps to Reproduce

Call BackgroundGeolocation.start();

Context
Already tried many different things, and after a week trying to debug with mac os (virtually, dedicated, physically, virtualbox) im trying this way
Debug logs
No logs.
If you need any more information: im going to provide it asap.

I'm running into this situation as well. Android works fine, but iOS crashes. Are you getting any messages within XCode when the app fails?
Mine is retuning the following:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull intValue]: unrecognized selector sent to instance 0x1db647e28'

hi there,
i managed to fix the issue above by setting alle correct Information in the plist file.
I debugged it with xcode, that worked very well.
Im not using thhe config settings of the plugin and wrote it in the config xml by myself
So i think your issue isnt related to this issue

Would you provide us with your solution please instead of just simply closing this thread without helping others?

As already mentioned above, setting the information via config.xml worked.
If somebody is facing the same issue, the first approach should be debugging the app with XCode directly.
But i set the config things like shown below

         <config-file parent="NSBluetoothAlwaysUsageDescription" platform="ios" target="*-Info.plist">             <string>Yeet your information to ios, even if its not shown ANYWHERE f*kin apple</string>         </config-file>         <config-file parent="NSLocationAlwaysUsageDescription" platform="ios" target="*-Info.plist">             <string>Yeet your information to ios, even if its not shown ANYWHERE f*kin apple</string>         </config-file>         <config-file parent="NSLocationWhenInUseUsageDescription" platform="ios" target="*-Info.plist">             <string>Yeet your information to ios, even if its not shown ANYWHERE f*kin apple</string>         </config-file>         <config-file parent="NSMotionUsageDescription" platform="ios" target="*-Info.plist">             <string>Yeet your information to ios, even if its not shown ANYWHERE f*kin apple</string>         </config-file>

related to: https://github.com/mauron85/cordova-plugin-background-geolocation/issues/657

I'm still getting this error with this config:

config.xml

<config-file parent="NSLocationAlwaysUsageDescription" platform="ios" target="*-Info.plist">
    <string>La app requiere saber tu ubicación todo el tiempo</string>
</config-file>
<config-file parent="NSLocationWhenInUseUsageDescription" platform="ios" target="*-Info.plist">
    <string>La app requiere saber tu ubicación solo cuando está activa</string>
</config-file>
<config-file parent="NSMotionUsageDescription" platform="ios" target="*-Info.plist">
    <string>La app require saber los datos de movimiento del dispositivo</string>
</config-file>
<config-file parent="NSLocationAlwaysAndWhenInUseUsageDescription" platform="ios" target="*-Info.plist">
    <string>La app requiere saber siempre tu ubicación solo cuando está activa</string>
</config-file>

Background geolocation config:

const backgroundGeolocationConfig: BackgroundGeolocationConfig = {
  desiredAccuracy: 10,
  stationaryRadius: 20,
  distanceFilter: 10,
  debug: false, //  enable this hear sounds for background-geolocation life-cycle.
  stopOnTerminate: false, // enable this to clear background location settings when the app terminates
  notificationTitle: 'Background tracking',
  notificationText: 'enabled',
  url: '/location',
  httpHeaders: {
    'token': null
  },
  // Android only section
  locationProvider: 1,
  startForeground: true,
  interval: 10000,
  fastestInterval: 20000,
  activitiesInterval: 10000,
  startOnBoot: true, // Start background service on device boot
  // iOS only section
  pauseLocationUpdates: false, // Pauses location updates when app is paused,
  saveBatteryOnBackground: false
}

Any help is really appreciated! <3

Nervermind, the url was wrong, it would be much better to avoid crashing the app if that HTTP request fail :)


MSSQL Clustered ColumnStore indices can not be queried

I have not found any open issue that seems relevant to this.
System information:
Windows 10 (latest updates as of March 18, 2019)
DBeaver <IP_ADDRESS>903101945
Java (no idea)
Additional extensions: mssql driver
Connection specification:
Microsoft SQL Server 2017 (RTM-CU5) (KB4092643) - 14.0.3023.8 (X64)   Mar  2 2018 18:24:44   Copyright (C) 2017 Microsoft Corporation  Web Edition (64-bit) on Windows Server 2016 Datacenter 10.0  (Build 14393: ) (Hypervisor)
Driver name: Microsoft JDBC Driver for SQL Server
No tunnels or proxies
Describe the problem you're observing:
I can't query tables that have a clustered columnstore index.
SELECT DISTINCT [FieldA] FROM [ColStoreTable]
/* results in:
Query execution failed

Reason:
SQL Error [35370] [S0001]: Cursors are not supported on a table which has a clustered columnstore index.
*/

Steps to reproduce, if exist:
Create a table in an MS-SQL server with a clustered columnstore index, and try to query it.
It seems to me that DBeaver uses a cursor to iterate through results, but this isn't allowed for clustered columnstore indexes. Not sure how this can be addressed.
Include any warning/errors/backtraces from the logs
I'm skipping the logs here as I feel there is enough information here and I don't want to try to anonymize/sanitize any potential leakages from the log files however if you feel you do end up needing the log files please let me know.

I have the same problem.
I tried the latest Microsoft JDBC driver without any success.
This makes DBeaver unusable with clustered columnstore indexed tables.
as a workaround I use
SELECT DISTINCT top 10 [FieldA] FROM [ColStoreTable]
I always thought 'Use SQL to limit fetch size' does exactly this but it seems I was wrong.

I can confirm this problem. My workaround is to use SSMS, but I'd much prefer to consolidate my SQL work in DBeaver

I can confirm this problem. We use Azure SQL Database and when we create a clustered columnstore index and query it we get:
Query execution failed
Reason:
SQL Error [35370] [S0001]: Cursors are not supported on a table which has a clustered columnstore index.

Having the same issue as of today, with Azure SQL Database.
I'm on Solus OS 4.0, running DBeaver <IP_ADDRESS>905202310.

Don't know why, but I just found out that using "top 10" (or any other number) in the select statement works around the issue.

Setting the 'ResultSet fetch size' to 0 in the preferences solves this problem

it doesn't solve the problem if you would like to use fetch size different then 0.
And this is the problem.

The issue still persists
MS-SQL
macOS Catalina 10.15.5
DBeaver <IP_ADDRESS>006211844

Try to set "Use SQL to limit fetch size parameter":

While I do have this level of control over the staging server, I will need to provide good reason to making this modification on the production server, and the fact that I want to use a different tool than everyone else just isn't something I'll be able to defend with my team.
For me at least @serge-rider's workaround is a non-starter.

@roa-nyx , @wgrusznis , @marcoracer , @Marex-me Maybe you have any ideas how to clarify which tables option Use SQL to limit fetch size shoud be enabled for?

Ok so I tried @serge-rider's suggestion and it worked well.
I don't think I really knew anything about this option when I first posted about this, but now that I know about it I don't really like fetch-size. My solution will be to turn it off permanently.
@kseniiaguzeeva The only way to know that I can think of is when the DBeaver queries for intellisense objects, it could determine which ones have a COLUMNSTORE index, and disable this functionality for those tables auto-magically. Alternatively DBeaver can wait for this error to happen, and then swallow the error and retry the query without fetch-size limits, or using the SQL version of fetch-size limits.
Sorry, I don't think either of these are practical, but it's the best I've got :(

@roa-nyx thank you for the suggestion!

Closed. A new ticket for enhancement can be created


Every themes and languages are loaded

Read https://github.com/antfu/shikiji?tab=readme-ov-file#fine-grained-bundle
related to https://github.com/nuxt/content/issues/2422

I'm working on something but this could creata a breaking change since (for me) we do not want to preload any languages.

This is fixed by moving to new version of Shiki starting v0.4.0


ask the optimizer and learning rate attenuation strategy about VQvae

When you use VQ-vae for high-precision picture training, how do you set the optimizer and learning rate? I did not get good results when I used the optimizer and learning rate attenuation strategy in your original paper. Please help me, thank you very much

I use the same optimizer and learning rate scheduler, i.e., AdamW and ConsineAnnealingLR.

Your program: scheduler = torch. Optim. Lr_scheduler. CosineAnnealingLR (optimizer, T_max = 50, eta_min = learning_rate_min)
In the paper, the epoch for high-precision pictures is set to 60. Is the T_max parameter still 50? Because my task training time is too long, I want to confirm the specific parameters, thank you for your reply


Custom event trigger

Hi,
I am using the registerCodeLensProvider. However, my code lense provider calls a server-side endpoint and then register the message.
I would like to be able to trigger a render of code lenses, to show the server-side rendered text. Is there any way I can trigger an event to make the editor re-render those code lenses?

CodeLensProvider can have an onChange event. See https://microsoft.github.io/monaco-editor/api/interfaces/monaco.languages.codelensprovider.html:
    export interface CodeLensProvider {
        onDidChange?: IEvent<this>;
        provideCodeLenses(model: editor.IReadOnlyModel, token: CancellationToken): ICodeLensSymbol[] | Thenable<ICodeLensSymbol[]>;
        resolveCodeLens?(model: editor.IReadOnlyModel, codeLens: ICodeLensSymbol, token: CancellationToken): ICodeLensSymbol | Thenable<ICodeLensSymbol>;
    }


Unable to use the Unity Loader

Hi guys 👋
I know there has been multiple issues relating to this issue and the public path.
I installed the test repo correctly but when I start the project, I have this error:

Here my package.json:

And my UnityContent:

I am not able to fix my bug 🐛 😔
Could you please help me or explain to me what I missing ? 🙏

Hi. Can you show me your directory architecture.

Can you try /build/... instead of build/...?

If that's not working can you start your webapp and try to navigate to the framework.js file Unity generated manually using the address bar to see if it's reachable at all?

I got a 304 not modified


Project Portfolio Page

first draft for project portfolio page.

Coverage remained the same at 56.209% when pulling 61d0417c84f8a708787ab8b4ec0fdc9473195067 on tristyxxnana:PPP into eedb0f347bc417d525e4824f0ba8900962eba3d3 on CS2113-AY1819S1-T16-1:master.


help

Download the ISIC 2017 train dataset from this link and extract both training dataset and ground truth folders inside the /data/dataset_isic17/.
请问这个是要怎么操作的，请详细一点告诉我

Hi, you can select to the 2017 dataset from the official website and download the 2000 ‘Training Data’ images provided by the official website as the ISIC2017 dataset used. After downloading, you then extract the corresponding original images and segmentation masks inside.

为什么数据集下载之后，mask是这样的呢

The “_superpixers” are not required. Masks need to be downloaded from “Training Ground Truth”.


Support SCIM2 in APIM 2.6.0

Description:
APIM 2.6.0 should support SCIM2.

close since it is not relevant now.


Removes jam

Removes jam from cargo
Removes scripts directory as the only scripts was a packaging script
for jam
Removes jam packaging from release workflow

Addresses part of #207
Checklist

[x] I have viewed, signed, and submitted the Contributor License Agreement.
[x] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[ ] I have added an integration test, if necessary.
[x] I have reviewed the styleguide for guidance on my code quality.
[x] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

Hey @ForestEckhardt - is there a specific reason why this is still in draft?

@fg-j I am trying to follow the steps I laid out in issue #207. I would like to have the new jam repo completely up and running before I remove the code from this repo. My hope is to have this done by the end of the week but we shall see if that dream boat holds water.

The commit history looks pretty wonky. Can you also rebase this?

@ForestEckhardt looks like something funky happened with the commit authors on the most recent commit

@ForestEckhardt  That would be cool, but I won't block on it.

@ryanmoran do you have other outstanding concerns here?

@fg-j nope. LGTM


add luciphor2.1

[x] This software or dataset's license allows us to distribute it. (Insert link to link to license here)
[ ] This software or dataset is related to the biological sciences, galaxy, or similar areas.

ping @oliveralka

Thanks. URL should be https://depot.galaxyproject.org/software/luciphor2.1/luciphor2.1_2020-04-03_all_all.jar ?

https://depot.galaxyproject.org/software/luciphor2/luciphor2_2018-06-28_all_all.jar

This should be the link to the old one, or?

So this is now fixed. Cargo-port was broken, its alive again.

You link is correct and works now.

Thanks


Update TF_VERSION

Docker build command does not work, see https://github.com/keras-team/keras-io/issues/412

@googlebot I signed it!


Simplify environment query in CloudCondition

Since Spring Boot 1.3, VCAP_SERVICES is handled and added in the environment in a friendly manner, see CloudFoundryVcapEnvironmentPostProcessor.
I believe the query in CloudCondition can be simplified by checking for vcap.services.solace-pubsub. It can then be replaced by a standard @ConditionalOnProperty.

Hi Stephane,
Thanks for the suggestion. I looked at checking property and it works fine checking on vcap.services, which confirms a CloudFoundry deployment. However, the key for the solace service generated properties is not vcap.services.<(VCAP_SERVICES)label>.* but vcap.services.<(VCAP_SERVICES)name>.*, where name is specific to the deployed service.
Here is a snippet of our deployed service named b-test:
VCAP_SERVICES={"solace-pubsub":[{
"label": "solace-pubsub",
"provider": null,
"plan": "enterprise-shared",
"name": "b-test"
...

and it generated properties vcap.services.b-test.*
The source code seems to confirm that:
https://github.com/spring-projects/spring-boot/blob/v1.3.3.RELEASE/spring-boot/src/main/java/org/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor.java#L179
I was looking at using a wildcard property name for @ConditionalOnProperty but it didn't seem like possible.
So with the requirement that we'd like to also check on solace-pubsub service deployed it seems we'll need to stick to our existing implementation, unless you advise about a workaround.
Thank you!
Balazs

Got it now, I overlooked the "contains". This seems a bit brittle to check for the presence of that string anywhere in the whole VCAP_SERVICES document. You could check you run on CloudFoundry with @ConditionalOnCloudPlatform. As for parsing the json itself, perhaps something like java-cfenv would give you more control?

Thanks Stephane. Ended up making use of @ConditionalOnCloudPlatform. For parsing, I tried using java-cfenv but it requires additional settings like cf set-env <APP> JBP_CONFIG_SPRING_AUTO_RECONFIGURATION '{enabled: false}' so instead replaced "contains" with a check of the service presence in the VCAP_SERVICES json.


ALL Ruby tests on Mac are broken with error "bundle: command not found"

Seen here: https://grpc-testing.appspot.com/job/gRPC_pull_requests_macos/2398/testReport/junit/(root)/aggregate_tests/run_tests_ruby_macos_opt/
+ export GRPC_CONFIG=opt
+ GRPC_CONFIG=opt
++ dirname tools/run_tests/helper_scripts/pre_build_ruby.sh
+ cd tools/run_tests/helper_scripts/../../..
+ bundle install
tools/run_tests/helper_scripts/pre_build_ruby.sh: line 39: bundle: command not found

FLAKE: tools/run_tests/helper_scripts/pre_build_ruby.sh [ret=127, pid=1891]
+ export GRPC_CONFIG=opt
+ GRPC_CONFIG=opt
++ dirname tools/run_tests/helper_scripts/pre_build_ruby.sh
+ cd tools/run_tests/helper_scripts/../../..
+ bundle install
tools/run_tests/helper_scripts/pre_build_ruby.sh: line 39: bundle: command not found

FAILED: tools/run_tests/helper_scripts/pre_build_ruby.sh [ret=127, pid=1894]

It seems that this has been happening on master builds and it's failing consistently.
Some of previous master build report this issue when running pre_build_ruby.sh:
fatal: No live threads left. Deadlock?
2 threads, 2 sleeps current:0x007fda38c08cd0 main thread:0x007fda38c08cd0
* #<Thread:0x007fda39068a90 sleep_forever>
   rb_thread_t:0x007fda38c08cd0 native:0x007fff78a1a300 int:0
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/worker.rb:43:in `pop'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/worker.rb:43:in `deq'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/installer/parallel_installer.rb:131:in `process_specs'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/installer/parallel_installer.rb:102:in `call'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/installer/parallel_installer.rb:77:in `call'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/installer.rb:199:in `install_in_parallel'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/installer.rb:166:in `install'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/installer.rb:80:in `run'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/installer.rb:24:in `install'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/cli/install.rb:70:in `run'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/cli.rb:181:in `block in install'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/settings.rb:99:in `temporary'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/cli.rb:180:in `install'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/cli.rb:20:in `dispatch'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/cli.rb:11:in `start'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/exe/bundle:32:in `block in <top (required)>'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/exe/bundle:24:in `<top (required)>'
   /usr/local/rvm/gems/ruby-2.4.0/bin/bundle:22:in `load'
   /usr/local/rvm/gems/ruby-2.4.0/bin/bundle:22:in `<main>'
   /usr/local/rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `eval'
   /usr/local/rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `<main>'
* #<Thread:0x007fda413e7d58@Parallel Installer Worker #0@/usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/worker.rb:88 sleep_forever>
   rb_thread_t:0x007fda4204c030 native:0x0000010da4c000 int:0
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/worker.rb:56:in `pop'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/worker.rb:56:in `block in process_queue'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/worker.rb:55:in `loop'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/worker.rb:55:in `process_queue'
   /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/worker.rb:88:in `block (2 levels) in create_threads'

  /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/worker.rb:43:in `pop'
  /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/worker.rb:43:in `deq'
  /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/installer/parallel_installer.rb:131:in `process_specs'
  /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/installer/parallel_installer.rb:102:in `call'
  /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/installer/parallel_installer.rb:77:in `call'
  /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/installer.rb:199:in `install_in_parallel'
  /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/installer.rb:166:in `install'
  /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/installer.rb:80:in `run'
  /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/installer.rb:24:in `install'
  /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/cli/install.rb:70:in `run'
  /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/cli.rb:181:in `block in install'
  /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/settings.rb:99:in `temporary'
  /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/cli.rb:180:in `install'
  /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
  /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
  /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/cli.rb:20:in `dispatch'
  /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
  /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/cli.rb:11:in `start'
  /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/exe/bundle:32:in `block in <top (required)>'
  /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
  /usr/local/rvm/gems/ruby-2.4.0/gems/bundler-1.14.3/exe/bundle:24:in `<top (required)>'
  /usr/local/rvm/gems/ruby-2.4.0/bin/bundle:22:in `load'
  /usr/local/rvm/gems/ruby-2.4.0/bin/bundle:22:in `<main>'
  /usr/local/rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `eval'
  /usr/local/rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `<main>'

FAILED: tools/run_tests/helper_scripts/pre_build_ruby.sh [ret=1, pid=4845]

https://grpc-testing.appspot.com/job/gRPC_master_macos/1424

I forgot to reinstall bundler on all but one of the mac workers when updating yesterday - just reinstalled I think this should work now.

Seems it is still broken:
https://grpc-testing.appspot.com/job/gRPC_pull_requests_macos/2420/

the latest bundle errors on mac is now due to a known issue in bundler - command is there but it's crashing on ruby 2.4
https://github.com/grpc/grpc/pull/9553 fixes this error

Seems fixed?

the main error is still there and will be fixed once ruby protobuf 3.2 gem is published (should run on ruby 2.4).
turned them off on master for the time being in #9589, but it will still happen on v1.1.x

any updates?

should be fixed now, re-enabling ruby tests on mac in https://github.com/grpc/grpc/pull/9814


Cannot choose a month in the date picker

Opening hours editor → specific date → try choosing another month. I could not add Jan 1 opening hours because of that.

Turns out there was a hard-coded end of the year limit. Added a month to that.


[2003] lambda expressions referencing 'this' are not compiled correctly

Fixes #2003
Changes proposed in this pull request:
-Make lambda expressions increase Emitter's ThisRefCounter if 'this' is detected in generated template script
-Test added to avoid regression in future (but not sure if it works as Bridge.Testing is not available)

ok, I've added requested change

Hi @d-p-y,
We are accepting this Pull Request. We appreciate you add the client tests.
The only thing we changed is adding the test into Batch3 project.
We also changed a bit our commit policy not to reference the issue being fixed in commit messages (using #). It keeps the issue history clean (referencing just PR works perfect).

Thanks for explaining logic behind those batches. Regarding changes - they are good for me.


Error out for unsupported dotnet versions for sql db projects

This PR fixes #15053. It adds an extra check to determine the installed dotnet core version and verify if it is supported or not.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

10 of 26 (38.46%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.008%) to 42.47%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/sql-database-projects/src/tools/netcoreTool.ts
10
26
38.46%

Totals

Change from base Build<PHONE_NUMBER>:
-0.008%

Covered Lines:
26763

Relevant Lines:
57085

💛  - Coveralls

looks like the extensionsGallery.json got added to this PR on accident. Please undo those changes

Created another issue for default installation location changer for Linux (a few tests were failing and I want to check in by today).
https://github.com/microsoft/azuredatastudio/issues/16598


Add mod-settings permissions for use in config endpoint

And get them into a running FOLIO system somehow.

No need, after all, to make new permissions: by switching to the ui-ldp.admin scope, I'm able to re-use existing permissions defined by ui-ldp.


set port number

could be nice to be able to override the default port number when initially starting the server. I have more than 1 imac, so in theory it might be useful to be able to choose which one to shut down.

Yeah! This might also help protect oneself through obscurity.

I wouldn't worry much about security, worst thing that can happen is someone on your LAN shutting down your computer.
If you have more than a computer, they should have different IPs. I would create 2 favorites and name them "my imac" and "my pc" to distinguish.
But I think of showing the hostname on the homepage.

If you have more than a computer, they should have different IPs. I would create 2 favorites and name them "my imac" and "my pc" to distinguish.

You're right of course. Don't know what I was thinking ;)

I could quickly write a mischievous script that could continuously connect to the exposed port in computers in my LAN, shutting them down repeatedly. That could be crazy! :smile: :hand:


Attributify Mode with a Plugin

Adding a plugin with something simple like:
addUtilities({
  '.dope-my-stuff': {
    color: 'red'
  }
})

Will allow for <div dope="my-stuff"> to work however intellisense doesn't seem to know about dope or it's possible values. Is there something I can add to my plugin to make it intellisense aware with attributes?
FYI it does complete dope-my-stuff inside the class attribute. Maybe this just isn't supported with plugins yet?

I think we are just not including that part of the config yet

Understood, for now I can stick to class for custom utilities. I'll definitely keep a watch though as I have surprisingly enjoyed the move to Attributify Mode.

If you want and have some time, a PR would ship this faster :)

@alexanderniebuhr for sure, I can try to take a look. There isn't a lot of documentation on the way this is supposed to go down. Do you know, or maybe someone here knows, how this is supposed to work? Currently if I just addUtilities(), as seen in the OP, I would get code completion in class and  the dope="my-stuff" attribute works, as in windi is outputting CSS to support it.
Is Attributify Mode simply pulling the first word before a - and using that as the attribute? Or is there more configuration for this to really be registered "officially" as an attribute. I noticed addUtilities can take an optional second argument with group and completions maybe they play into Attributify Mode or are they just helpers for more dynamic things? There must be some more magic somewhere in windi as flex="~" work as well.
I will also poke around the code here, but if you know offhand where attribute parsing is lemme know.

@alexanderniebuhr alright was pretty easy to find. This simple addition gives me what I am looking for but I am not sure it is a "complete" solution.
https://github.com/windicss/windicss-intellisense/pull/238
This will allow the OP to autocomplete, it simple takes whatever is to the left of the first - and uses that as the attribute name, everything to the right is autocompleted. If there is no - in the class it does nothing.  This also is only for utility classes coming from plugins.
I tried to dig into finding the group property that is set here
addUtilities({
  '.dope-my-stuff': {
    color: 'red'
  }
}, {group: 'dope'})

but I was not able to find it. style[0].meta.group is plugin for all the classes added.

Thanks I'll check later :)


Newbie question for your library

Hello.
I'm new to iOS dev. and i use Parse.com as a backend. So i've got a collectionview and i print some images on each cell. To be more specific i have a standard image and the image of the user.
 PFFile
  avatarImage?.getDataInBackgroundWithBlock({ (data, error) -> Void in
       if error == nil {
           if let imageData = data {
           cell.avatarOutlet.setImage(UIImage(data: imageData), forState: .Normal)
   } } })

So this makes the issue with the bad scrolling cause each time it's loading the image and until it loads it stucks for a bit. So i have 2 questions

I can get the url of the image from Parse, is this enough to make it smoother and to cache it so it doesnt have to load it all the time i scroll ?

Do you support Background images for buttons like this in my code?
Thanks a lot for your time reading!!

P.S. It would be awesome to have some examples in swift!

Yeah, you should only load the image once, not every time you scroll. We do support background images for buttons, look at our UIButton+WebCache category.


Routemaster.of(context).pop() returns false even though there is a route before the current route

I have encountered a weird bug with Routemaster.of(context).pop().
It is never called in the following situation:

run the example app
press the forgot password button (/reset-password is pushed onto the routing stack)
observe that Routemaster.of(context).pop() returns false

I am using routemaster: 0.10.0-dev2 (dev5 was released just now but it also happens there)
Example:
import 'package:flutter/material.dart';
import 'package:routemaster/routemaster.dart';

class LoginPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: ElevatedButton(
          child: const Text("Forgot Password"),
          onPressed: () {
            Routemaster.of(context).push("/reset-password");
          },
        ),
      ),
    );
  }
}

class ForgotPasswordPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: ElevatedButton(
          child: const Text("Back to first page"),
          onPressed: () {
            Routemaster.of(context).pop().then((result) {
              print(result); // This is false?
            });
          },
        ),
      ),
    );
  }
}

void main() {
  runApp(
    MaterialApp.router(
      routeInformationParser: const RoutemasterParser(),
      routerDelegate: RoutemasterDelegate(
        routesBuilder: (context) {
          return RouteMap(
            routes: {
              '/': (_) => const Redirect('/login'),
              '/login': (_) => MaterialPage(
                    child: LoginPage(),
                  ),
              '/reset-password': (_) => MaterialPage(
                    child: ForgotPasswordPage(),
                  ),
            },
            onUnknownRoute: (path) {
              return const Redirect('/login');
            },
          );
        },
      ),
    ),
  );
}

Hi @navaronbracke, thanks for the issue, but this is working as expected.
When you're on /reset-password, there is no page in the page stack before it, because / is a redirect. If / was an actual page, it would pop to it.
The pop() method pops the navigation stack of pages: it doesn't go back in history.
If you're wanting to go back to whichever page the user saw, there is now Routemaster.of(context).history.back() in 0.10.0-dev5.
I hope that helps you, please let me know if you have any more questions.

@tomgilder Thanks for the clarification. I'll use Routemaster.of(context).history.back() instead.


Edit the website name from traccar to another name

Am not a Programmer
please help me to Edit the website name from traccar to another name
let me know where to go to edit this

Hi yoosuf,
how to unzip and again zip as a war format in traccar.html

Latest release doesn't use war files any more. If you are using the old one, you should be able to use standard zip archive tools to unzip and zip the file again.

Hi Tananaev
On the new version, where is the file that I need to modify to to change Traccar to "Something Else"?
Thank you for the great work

Here is the file:
https://github.com/tananaev/traccar/blob/master/web/release.html

You are awesome! thank you

download the file traccar-web.war  to a local folder on your PC

Rename the file traccar-web.war  to traccar-web.war.zip

Extract the files from the file traccar-web.war.zip inside the same folder that contains the file traccar-web.war.zip

Edit the html files and change the Title

Delete the file traccar-web.war.zip

Compress all the files inside the folder to a file called traccar-web.war.zip

Change the name of the file traccar-web.war.zip to traccar-web.war

Upload the file again to the /opt/traccar folder

@esurnet, please don't comment on old closed threads. If you have a question, create a new FORUM thread.


can't set QUIC_GO_DISABLE_GSO inside Go code.

it's tested inside an init function so we cannot set it in Go code it's too late.

I can see how that's annoying. Want to submit a fix?


fix(sendTransaction): Switching web 2 from GET to POST

:tada: This PR is included in version 4.5.5 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


TextArea: Add loading state

This change adds the loading state to the TextArea component. Additionally, an issue where the textarea element was overflowing its container was discovered and fixed.
Bug: T290151

LGTM! 💯
As agreed, I will tweak a little with the loader to decrease its speed in a separate PR.


Add examples of distributing rewards

WIP spec for the F1 fee distribution logic.
Add a few examples of how distributing rewards for gauge should operate.

Codecov Report

Merging #466 (ad12744) into dev/F1_spec (5c3d005) will decrease coverage by 0.82%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           dev/F1_spec     #466      +/-   ##
===============================================
- Coverage        19.83%   19.00%   -0.83%
===============================================
  Files              153      144       -9
  Lines            23098    22505     -593
===============================================
- Hits              4581     4277     -304
+ Misses           17765    17484     -281
+ Partials           752      744       -8

Impacted Files
Coverage Δ

x/lockup/keeper/lock.go
75.35% <0.00%> (-0.69%)
:arrow_down:

x/lockup/keeper/grpc_query.go
74.68% <0.00%> (-0.63%)
:arrow_down:

app/prop12_data.go

app/forks.go

app/export.go

app/app.go

app/genesis.go

app/config.go

app/test_helpers.go

app/encoding.go

... and 3 more

Continue to review full report at Codecov.

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


adding a new project which can generate quotes

#56
This is a simple application developed using HTML CSS and JavaScript. I used ES6 features as well. I provided necessary explanations using comments.

great work !!

Hi @jinali98  if you wanna make one more PR like this you can refer this repo : https://github.com/Abhijay007/10daysofJavascript


Sensor integration

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
I have more blinds than the Heytech system can manage, and I would like to control them with a different system. To ensure all blinds work in sync, I need access to the sensors of the Heytech system.
Describe the solution you'd like
I would like the light sensor, the rain sensor, and the temperature sensor to be read, and the values displayed in Home Assistant.
Describe alternatives you've considered
There is no other Solution
Additional context
It would be great if the sensors could be discovered and added just as easily as the blinds through the integration.

Started working on it


CPU usage is too high during training

When I was training with another dataset, I set the patch to 512. During the training, the CPU occupation rate was too high, but during the verification, the occupation rate was not that high. Can you give me some suggestions on how to reduce the CPU occupation rate during training? Thanks!

Hi zmjcc, sorry for the delay, I was out of office.
What do you mean by "too high". How is the CPU occupation on your own dataset different compared to the example dataset? Are you training on CPU or GPU?

As I am not 100% sure what the problem is and if it is still there, I will close this issue. If this problem still exists, please reopen it.


Webapp:Support deploying a certificate in Azure Key Vault to a Web App

Found examples on the internet that deploy a key vault certificate into a web app. But they are done either directly via the REST endpoint, or using ARM template deployment.
https://blogs.msdn.microsoft.com/appserviceteam/2016/05/24/deploying-azure-web-app-certificate-through-key-vault/
https://winterdom.com/2017/08/29/webapp-with-keyvault-cert-and-sql-token-auth
Can we do that using Azure CLI?

Is there any action on this request? Uploading a cert for an app service from a keyvault entity is a trivial action when using the portal.

NO ETA on this for now. We will  update when we have an ETA - for now please use portal.

I've written a script to pull the cert from keyvault to the machine executing the script and then using the existing CLI commands to upload and bind. Using the portal is not a feasible workaround for the volume of times that we're doing this.

@yutanglin16 we need come up with plan/ design for supporting this.

I've written a script to pull the cert from keyvault to the machine executing the script and then using the existing CLI commands to upload and bind. Using the portal is not a feasible workaround for the volume of times that we're doing this.

@gavinbarron care to share with rest of the classroom your solution, got this far when realized this minor detail...

this should be fixed by the change https://github.com/Azure/azure-cli/pull/11429


Update invitation-email-elements.md

(Invitations do not include the sender line, I have screenshots but couldn't upload for some reason, can provide by email repro done on customer eniranmont via SR:<PHONE_NUMBER>02018 and on lab environment)

@Arkthos : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @Arkthos, thanks much for pointing this out. I'll update the screenshot.


ebsnvme-id creates broken sd* symlinks

We spent quite some time debugging a storage test regression in Fedora rawhide which essentially breaks scsi_debug and other devices, but only on RedHat's/Fedora's Testing Farm infrastructure -- which is essentially AWS EC2 machines with an API.
Latest Fedora rawhide instances now have amazon-ec2-utils-2.2.0-2.fc41.noarch (which got introduced into Fedora very recently, which ships /usr/lib/udev/rules.d/70-ec2-nvme-devices.rules with
KERNEL=="nvme[0-9]*n[0-9]*",        ENV{DEVTYPE}=="disk",      ATTRS{model}=="Amazon Elastic Block Store", PROGRAM="/usr/sbin/ebsnvme-id -u /dev/%k", SYMLINK+="%c"
KERNEL=="nvme[0-9]*n[0-9]*p[0-9]*", ENV{DEVTYPE}=="partition", ATTRS{model}=="Amazon Elastic Block Store", PROGRAM="/usr/sbin/ebsnvme-id -u /dev/%k", SYMLINK+="%c%n"

These instances have an NVME block device, and these rules cause the following symlinks to be created:
lrwxrwxrwx. 1 root root 7 May 29 03:52 /dev/sda1 -> nvme0n1
lrwxrwxrwx. 1 root root 9 May 29 03:52 /dev/sda11 -> nvme0n1p1
lrwxrwxrwx. 1 root root 9 May 29 03:52 /dev/sda12 -> nvme0n1p2
lrwxrwxrwx. 1 root root 9 May 29 03:52 /dev/sda13 -> nvme0n1p3
lrwxrwxrwx. 1 root root 9 May 29 03:52 /dev/sda14 -> nvme0n1p4

This is problematic in multiple ways:

Pretending that these are SCSI drives tramples on the kernel's namespace. udev symlinks should never create names which the kernel uses.
"nvme0n1" is the raw block device, not a partition. So it's very confusing to name it "sda1", it should be "sda". Likewise, the first partition should be "sda1", not "sda11".

If then a real sda comes along (e.g. with modprobe scsi_debug), this will create an actual /dev/sda, but then it's impossible to create/see partitions on that, as the sda1 etc. names are already taken.
This is most easily reproduced with
# /usr/sbin/ebsnvme-id -u /dev/nvme0n1
sda1

Curiously, it also does that for a partition:
# /usr/sbin/ebsnvme-id -u /dev/nvme0n1p2
sda1

that explains how the second udev rule can even work -- but this is really hackish!
My recommendation as former udev co-upstream is to just entirely remove these rules. They are not helpful, confusing, and break stuff. You can of course create symlinks in subdirs of /dev all you like, but please don't collide with kernel names.
Thanks!

@mvollmer @major FYI -- @major, do you want me to file this as a Fedora bz, too? This could very well affect other rawhide users/tests, and it has already cost us about 10 hours of our lives..

Note: This only affects Fedora rawhide because Testing Farm Fedora 40 instances don't install amazon-ec2-utils by default. When I install it manually, the issue happens there as well.

@martinpitt, thanks for filing this! I have a hard time understanding what problem these symlinks are trying to solve. They only seem to create chaos.
If they are supposed to help with giving stable names to NVMe drives, I think that problem is already solved by ID_SERIAL, ID_WWN, and filesystem UUIDs.

https://gitlab.com/testing-farm/infrastructure doesn't actually install that package -- I figure it's now part of the official Fedora rawhide AMIs?

@mvollmer @major FYI -- @major, do you want me to file this as a Fedora bz, too? This could very well affect other rawhide users/tests, and it has already cost us about 10 hours of our lives..

@martinpitt That would be helpful. Thanks for detailing out the problems you found. I missed these during testing!

@major OK, I filed https://bugzilla.redhat.com/show_bug.cgi?id=2284397 . Thanks!

@mvollmer @major FYI -- @major, do you want me to file this as a Fedora bz, too? This could very well affect other rawhide users/tests, and it has already cost us about 10 hours of our lives..

This has cost mine and @vojtechtrefny's an hour or two of our lives as well: https://bugzilla.redhat.com/show_bug.cgi?id=2313526