uORB: SubscriptionCallback add optional required updates for callback

This is a new mechanism that allows uORB callbacks (how many modules are scheduled) to skip until a certain number of updates are available. This is useful when we want the scheduled module to run slower than the topic publication, but don't want to get complicate things with exact time interval limits.
Example (https://github.com/PX4/Firmware/pull/14906): perform IMU integration (delta angle, delta velocity) in the sensors module periodically (every 2-8) queued sensor_accel/sensor_gyro messages.
Broken out of https://github.com/PX4/Firmware/pull/14906.

I'll keep this in https://github.com/PX4/Firmware/pull/14906.


When in jar file I receive No suitable driver for error

I'm embedding all dependencies with jar-with-dependencies file from pom. I use mysql-connector-java:8.0.15 as dependency for driver. All works great in IDE (IntelliJ) but when I make a jar it gives the error when I'm running the jar file org.sql2o.Sql2oException: Could not acquire a connection from DataSource - No suitable driver found for jdbc.

A simple Class.forName("com.mysql.jdbc.Driver"); solved the issue


After adding the date in the cart rule, while editing the cart rule it shows the date fields as Text fields.

Terms

[X] Before you openning this issue, i have checked if the issue has already been reported.

Bagisto Version(s) affected
master
Issue Description
After adding the date in the cart rule, while editing the cart rule it shows the date fields as Text fields.
Preconditions

Admin should be logged in.
Admin should have at least one created rule with the date.

Steps to reproduce

Go to 'Admin panel'
Click on 'Edit cart rule' inside the promotions/Cart Rule
Scroll down to 'Date fields'
See the error

Expected Result
It should show the fields as date fields. and shown the dates accordingly.
Actual Result
It shows the fields as text fields. Here
Screenshots
No response
Additional context
No response

Checked and Found that the issue has been fixed. Please check the screenshot here

Checked and Found that the issue has been fixed and also the PR has been merged, hence I am closing the issue.
Please check the screenshot here


🚂 Resource onboarding (18 May 2023)

Describe your changes
Added three resources.
Related issue number/link

Fixes #101
Fixes #176
Fixes #196

Thanks for the PR @tutterown, and for the resources @JarrodBaniqued.
By the way @tutterown, if you're familiar with Python we now have a script scripts/onboarding.py which pulls from the Github api, edits the data files, and generates a message for the PR body


Getting rid of manual replacing in naming "_" to "-" in charts | Litmus-py SDK

Is this a BUG REPORT or FEATURE REQUEST?

On generating charts using Litmus SDK, By default names which get generated with in charts having with '_'.
Example: 'sample_chaos_exec', after this we have to manually update it to 'sample-chaos-exec' before pushing it to chaos-charts.
In this case, instead of replacing manually. generate_experiment.py should handle it.

https://github.com/litmuschaos/litmus-python/pull/49


Fix Rule generation for HasChilds fields

fixes #133

Gonna take a look today to the pending PR and fixes. Thanks guys!

@disitec @ragingdave for some reason this breaks the use of the Row field in a Nova action.  Can you please check this?

@dtannen will do.

@dtannen as i can see. Row methods has been just copied to the trait. There are no changes at all. Can you share the error you are getting?

@disitec ok-- maybe it's separate and unrelated to this issue.  Please try to add a Row as a field in a action using Nova 2.5.  When clicking on the action -- it just hangs.


[UI Enhancement] move profile entrance from sidebar to account drop menu and make it pretty

And it looks terrible now, make it pretty.

Good


Cannot run laser tracker, error when run

Hello,
I am attempting to run the laser tracker software on my Raspberry Pi for a school project.  I have put your code in directly to Python on the Pi (I have Python 2.7.3 on the device) and continually get the following error every time I run it.  What would be causing this? (by the way, thanks for coming up with this software...it is really cool from what I've read on your page and here on GitHub!)
Traceback (most recent call last):
File "home/pi/laser_tracker.py", line 252, in  : tracker.run()
File "home/pi/laser_tracker.py", line 167, in run: self.create_and_position_window('LaserPointer',0,0)
File "home/pi/laser_tracker.py", line 55, in create_and_position_window: cv2.resizeWindow(name, self.cam_width, self.cam_height)
AttributeError: 'module' object has no attribute 'resizeWindow'

@rogue92, just comment out lines 82-90 to solve this issue and don't set camera resolution, rely on defaults.


Add Zarf variables for external Supabase Postgres and S3 sources

Describe what should be investigated or refactored
Add Supabase Zarf variables that update the bitnami-values.yaml to allow for the configuration of external S3 and Postgres connections.

Blocked by #380

Blocked by #968


Installation Error: VirtualBox 5.1.8 / Vagrant 1.8.6 / Windows 10 (x64)

Installing the 'vagrant-triggers' plugin. This can take a few minutes...
Installed the plugin 'vagrant-triggers (0.5.3)'!
Installing the 'vagrant-timezone' plugin. This can take a few minutes...
Installed the plugin 'vagrant-timezone (1.1.0)'!
Bringing machine 'master' up with 'virtualbox' provider...
Bringing machine 'node-01' up with 'virtualbox' provider...
Bringing machine 'node-02' up with 'virtualbox' provider...
==> master: Running triggers before up...
==> master: 2016-10-23 14:02:26 +0200: setting up Kubernetes master...
==> master: Setting Kubernetes version 1.4.3
==> master: Downloading Kubernetes binaries if version mismatch or binaries not present..
==> master: Checking for ./binaries/kube-apiserver with version v1.4.3..
==> master: Versions mismatch [current: , desired: 1.4.3]
==> master: Trying to download storage.googleapis.com/kubernetes-release/release/v1.4.3/bin/linux/amd64/kube-apiserver...
==> master: Download complete.
==> master: Checking for ./binaries/kube-controller-manager with version v1.4.3..
==> master: Versions mismatch [current: , desired: 1.4.3]
==> master: Trying to download storage.googleapis.com/kubernetes-release/release/v1.4.3/bin/linux/amd64/kube-controller-manager...
==> master: Download complete.
==> master: Checking for ./binaries/kube-scheduler with version v1.4.3..
==> master: Versions mismatch [current: , desired: 1.4.3]
==> master: Trying to download storage.googleapis.com/kubernetes-release/release/v1.4.3/bin/linux/amd64/kube-scheduler...
==> master: Download complete.
==> master: Checking for ./binaries/kube-proxy with version v1.4.3..
==> master: Versions mismatch [current: , desired: 1.4.3]
==> master: Trying to download storage.googleapis.com/kubernetes-release/release/v1.4.3/bin/linux/amd64/kube-proxy...
==> master: Download complete.
==> master: Box 'coreos-alpha' could not be found. Attempting to find and install...
    master: Box Provider: virtualbox
    master: Box Version: >= 1192.2.0
==> master: Loading metadata for box 'http://alpha.release.core-os.net/amd64-usr/current/coreos_production_vagrant.json'
    master: URL: http://alpha.release.core-os.net/amd64-usr/current/coreos_production_vagrant.json
==> master: Adding box 'coreos-alpha' (v1192.2.0) for provider: virtualbox
    master: Downloading: https://alpha.release.core-os.net/amd64-usr/1192.2.0/coreos_production_vagrant.box
    master: Progress: 100% (Rate: 7483k/s, Estimated time remaining: --:--:--)
    master: Calculating and comparing box checksum...
==> master: Successfully added box 'coreos-alpha' (v1192.2.0) for 'virtualbox'!
==> master: Importing base box 'coreos-alpha'...
==> master: Matching MAC address for NAT networking...
==> master: Checking if box 'coreos-alpha' is up to date...
==> master: Setting the name of the VM: kubernetes-vagrant-coreos-cluster_master_1477224255397_19244
==> master: Clearing any previously set network interfaces...
==> master: Preparing network interfaces based on configuration...
    master: Adapter 1: nat
    master: Adapter 2: hostonly
==> master: Forwarding ports...
    master: 22 (guest) => 2222 (host) (adapter 1)
==> master: Running 'pre-boot' VM customizations...
==> master: Booting VM...
==> master: Waiting for machine to boot. This may take a few minutes...
    master: SSH address: <IP_ADDRESS>:2222
    master: SSH username: core
    master: SSH auth method: private key
    master: Warning: Remote connection disconnect. Retrying...
==> master: Machine booted and ready!
==> master: Setting hostname...
==> master: Configuring and enabling network interfaces...
==> master: Exporting NFS shared folders...
==> master: Preparing to edit nfs mounting file.
[NFS] Status: halted
[NFS] Start: started
==> master: Mounting NFS shared folders...
==> master: Setting time zone...
==> master: Running provisioner: file...
==> master: Running provisioner: file...
==> master: Running provisioner: file...
==> master: Running provisioner: file...
==> master: Running provisioner: file...
==> master: Running provisioner: shell...
    master: Running: inline script
==> master: Running triggers after up...
==> master: Waiting for Kubernetes master to become ready...
==> master: 2016-10-23 14:15:48 +0200: failed to deploy master within timeout count of 50
==> master: Installing kubectl for the Kubernetes version we just bootstrapped...
==> master: Executing remote command "sudo -u core /bin/sh /home/core/kubectlsetup install"...
==> master:
==> master: Downloading and installing linux version of 'kubectl' v1.4.3 into /opt/bin. This may take a couple minutes, depending on your internet speed..
==> master: Configuring environment..
==> master: Remote command execution finished.
==> master: Executing remote command "/opt/bin/kubectl config set-cluster local --server=http://<IP_ADDRESS>:8080 --insecure-skip-tls-verify=true"...
==> master:
==> master: cluster "local" set.
==> master: Remote command execution finished.
==> master: Executing remote command "/opt/bin/kubectl config set-context local --cluster=local --namespace=default"...
==> master:
==> master: context "local" set.
==> master: Remote command execution finished.
==> master: Executing remote command "/opt/bin/kubectl config use-context local"...
==> master:
==> master: switched to context "local".
==> master: Remote command execution finished.
==> master: Configuring Kubernetes DNS...
==> master: Executing remote command "/opt/bin/kubectl create -f /home/core/dns-controller.yaml"...
==> master:
==> master: The connection to the server <IP_ADDRESS>:8080 was refused - did you specify the right host or port?
==> master: Remote command execution finished.
The remote command "/opt/bin/kubectl create -f /home/core/dns-controller.yaml" returned a failed exit
code or an exception. The error output is shown below:

The connection to the server <IP_ADDRESS>:8080 was refused - did you specify the right host or port?

Can you run vagrant ssh master and make sure that IP (<IP_ADDRESS>) is set there? This looks like some routing issue.

sorry, i've forgot this one:
git config --global core.autocrlf false and git config --global core.eol lf
now it works :)

why not enable dashboard by default:
USE_KUBE_UI = ENV['USE_KUBE_UI'] || true
and upgrade to dashboard 1.4.3 ? ;)


global: Fixes strings marked for translation

See https://github.com/inveniosoftware/invenio-app-rdm/issues/1707 "Inconsitencies"

Looks good to me :)
Can you please squash the commits so there's only one commit?


[LLM] change llm content

PR types
Others
PR changes
Others
Description
更新llm目录

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.zhangjunjun04 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Doesn't build on MacOS

cargo build
 ... much elided ...
  = note: ld: library 'stdc++' not found
          clang: error: linker command failed with exit code 1 (use -v to see invocation)

Apparently it's supposed to be libc++ not stdc++ these days but I'm not a Rustafarian and couldn't figure out how to make that work either.

Hey Tim, thanks for reporting this. Unfortunately, I don’t have a Mac and everything seems to be working fine on my old Ubuntu laptop.
googling around, adding this crate as a dependency locally might help? https://docs.rs/link-cplusplus/latest/link_cplusplus/

I’ll have a look, but I’m a Rust moron.  I’m about to release v1.0 of
topfew and I thought I should mention alternatives.
On Apr 20, 2024 at 9:12:57 PM, Vladimir Feinberg @.***>
wrote:

Hey Tim, thanks for reporting this. Unfortunately, I don’t have a Mac and
everything seems to be working fine on my old Ubuntu laptop.
googling around, adding this crate as a dependency locally might help?
https://docs.rs/link-cplusplus/latest/link_cplusplus/
—
Reply to this email directly, view it on GitHub
https://github.com/vlad17/datasketches-rs/issues/3#issuecomment-2067884447,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAEJE2MJRX5XF23KA3MSKDY6M4ETAVCNFSM6AAAAABGEURXY2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRXHA4DINBUG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

@timbray , would you be able to try @ovr's fix?

@vlad17 FYI, as a part of changes in PR #4, I've added CI
https://github.com/cube-js/datasketches-rs/actions/runs/8970862322/job/24635298556

It builds successfully :)


Update MD file on new branch 2017-12-09_05-34-24

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


JCGM 100:2008 (EN): Equations added in tables are shifted (continues #112)

Some of the equations inserted in tables are misplaced in PDF.
Original:

Generated:

Fixed:

Looks good! Thank you.


Added logging

Some examples of the kinds of logs we get in Android Studio's Run dialog and logcat:
D/DroidCvPattern: match (En/retry.png on 350x150): 0.36141282320022583
D/<init>: click Location(X=1100, Y=675) x55
D/<init>: click Location(X=825, Y=560) x1
D/<init>: swipe Location(X=18, Y=595), Location(X=3, Y=330)
D/<init>: swipe Location(X=18, Y=595), Location(X=3, Y=330)
D/DroidCvPattern: match (ce/Chaldea Luchtime.png on 189x546): Match(Region=Region(X=16, Y=161, Width=158, Height=45), score=0.918035089969635)
D/DroidCvPattern: match (En/limitbroken.png on 8x45): 0.7202911972999573
D/DroidCvPattern: match (ce/Chaldea Luchtime.png on 189x546): Match(Region=Region(X=16, Y=361, Width=158, Height=45), score=0.9177476763725281)

These can be really helpful for checking the MLB issues.
I'll do logging in other areas after I can finalize the DI (#159) PR.

D/DroidCvPattern: match (ce/Chaldea Luchtime.png on 189x546): Match(Region=Region(X=16, Y=161, Width=158, Height=45), score=0.918035089969635)

We're matching with Chaldea Lunchtime as Template on a 189x594 image. I added a tag parameter to IPattern and filepath is passed as a tag and is used in the toString call. If there is no tag, image size is used. 189x594 is the size of target image.
The Match object printed after is the result. So, the size there is size of Chaldea Lunchtime.png.

And why does D/DroidCvPattern: match (En/limitbroken.png on 8x45): 0.7202911972999573 have just the number instead of score=

Because, in exists, we're not creating Match object, but in findAll we need to return them.
That Match(Region=Region(X=16, Y=161, Width=158, Height=45), score=0.918035089969635) is the Match object toString() value.

I would like to make the logger messages more intuitive, for example:
Matched ce/Chaldea Luchtime.png at X=100, Y=200 with a score of 0.95
Matched En/limitbroken.png with a score of 0.9
The values themselves can be obtained using ${object.property}.
Also according to the documentation of Log, Log.debug() will not be called in non-debug builds.

Hmm, these messages are much better.
I didn't notice it before, the coordinates in log message is relative to the base region. So, the region is within the image cropped from screen. To get the original region, we'll have to log from the Region.findAll, Region.exists methods instead of DroidCvPattern. I'll make this change too.
I knew, I added logging for our testing use only. Well, I won't expect people to run Android Studio or logcat to report logs.

Or, to keep things simple, we can drop the region from the logs. Debug mode shows the regions better anyway.
We're mostly interested in matching score.


Add cawiki damaging and goodfaith models

Bug: T187732

We should exclude the reverted model.  Otherwise this looks good!


Is it possible to listen for card types.

Sorry if I am not catching this, if it exists, but would there be a way to listen for card types when a match is made?

Yes, there's an event payment.cardType that gets raised on the number input field whenever it changes. For example if you go to the demo page http://jessepollak.github.io/card/ then open a JavaScript console and run
document.getElementsByName('number')[1].addEventListener('payment.cardType', function(event) {
    console.log(event.detail);
})

then you'll get a log every time the card type changes of e.g. unknown, mastercard, visa. (Obviously that's hacked together for that one page and you should find a better way to select the one element, but I couldn't see one for that page at first glance.)
However because this is an event with a dot in the middle it clashes with jQuery's event namespacing - if you try to bind to 'payment.cardType' then jQuery thinks you mean an event 'payment' that you might later want to refer to as 'payment.cardType' e.g. to trigger just that one or remove just that one amongst any other 'payment' handlers on the same element. So there may be a trick you can use to bind to this using $('input[name=number').on(), but  the naive way
$("input[name=number]").on('payment.cardType', function(event) { console.log(event.data); })

won't work.

Hello @Romanulus, would you please be able to update the documentation including this trick as a way to close this issue?


Update to Godot 4.0?

I want to use this plugin for my godot projects, but I need some features of Godot 4. Do you plan to update this plugin for godot 4?

Hi, sorry for the late reply - I had a busy week.
I will try to port it to Godot 4 now, but documentation for GDExtension in Godot 4 is quite a bit lacking at the moment. There is a chance that this update would have to be postponed until Godot 4 stable is released and/or GDExtension documentation is written.

I checked and there is no documentation or examples for GDExtension for plain C (all the examples seem to be for C++), so this will have to wait.

Thank you for checking, I hope it will be possible soon.

Bump


Data analysis on financial instruments

undertake web research,data collection and data analysis on it

I also might be able to help out with this. What kind of research/analysis are you looking for?

I am looking for Automated Trading, But I'm also open to new ideas regarding it.

Hello !
I am quite skilled in data analysis and performing research. I would like to contribute to this project.
Looking forward to it

Assign me this. I'll make a separate model for automated trading. You can also check our my repos,they give an idea of my work.

Hello ! I am quite skilled in data analysis and performing research. I would like to contribute to this project. Looking forward to it

Sure you can start working on it

You can assign this to me. I'll make a separate model for automated trading. You can also check our my repos,they give an idea of my work.

I can know your interest,but lets give @bhartijoshi04 a chance and you can then enhance this further.

Okay :) @Akshat111111

You can assign this to me. I'll make a separate model for automated trading. You can also check our my repos,they give an idea of my work.

I can know your interest,but lets give @bhartijoshi04 a chance and you can then enhance this further.

Thank you for giving me the chance sir, I'll do my best


mod instability when you create spell slot from sorcery points and cancel realizing that you don't have enough points

If you use create spell slot and cancel because you don't jave enough points, the game gets stuck.
If the cause is not obvious, i will try to provide a save.
Guessing this is related to action refund because you didn't use that bonus aaction if you cancel creating spell slot.

please share save and step-by-step to reproduce. or your player.log next time it happens.

any updates?

any updates?

Will try to reproduce this and inform you later


Urls for textbook updated

Description

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Code quality improvements

How to test

Checklist

[ ] I have tested this code
[ ] I have updated the documentation

Pull Request Test Coverage Report for Build 942382157

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 30.233%

Totals

Change from base Build 942319078:
0.0%

Covered Lines:
3230

Relevant Lines:
9864

💛  - Coveralls


Wrong pycharm window used

What happened?
If we have many projects opened in many pycharm windows, all the chat happen in the first window with CodeGPT opened.
Like if I select code for explanation in window2, the answer is added in the current chat opened in window1, regardless of the CodeGPT tool window opened in window2.
Relevant log output or stack trace
No response
Steps to reproduce
No response
CodeGPT version
2.0.6
Operating System
Linux

It has the same problem in Clion.
However, it doesn't cross the editor type (Pycharm/Clion) boundary.

Thank you for reporting!
The bug will be fixed in the next release.

Thanks a lot @carlrobertoh


ImportError: No module named 'cairocffi'

Hello,
I need to install cairocffi in order to use some example files from scikit-rf. However even though I used pip install cairocffi, I get the following error:
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/matplotlib-2.2.0-py3.5-linux-armv7l.egg/matplotlib/backends/backend_cairo.py", line 24, in <module>
    import cairocffi as cairo
ImportError: No module named 'cairocffi'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/matplotlib-2.2.0-py3.5-linux-armv7l.egg/matplotlib/backends/backend_cairo.py", line 27, in <module>
    import cairo
ImportError: No module named 'cairo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/Desktop/Backup/scikit-rf-master/skrf/plotting.py", line 40, in <module>
    import matplotlib.pyplot as plb
  File "/usr/local/lib/python3.5/dist-packages/matplotlib-2.2.0-py3.5-linux-armv7l.egg/matplotlib/pyplot.py", line 115, in <module>
    _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
  File "/usr/local/lib/python3.5/dist-packages/matplotlib-2.2.0-py3.5-linux-armv7l.egg/matplotlib/backends/__init__.py", line 62, in pylab_setup
    [backend_name], 0)
  File "/usr/local/lib/python3.5/dist-packages/matplotlib-2.2.0-py3.5-linux-armv7l.egg/matplotlib/backends/backend_gtk3agg.py", line 10, in <module>
    from .backend_cairo import cairo, HAS_CAIRO_CFFI
  File "/usr/local/lib/python3.5/dist-packages/matplotlib-2.2.0-py3.5-linux-armv7l.egg/matplotlib/backends/backend_cairo.py", line 29, in <module>
    raise ImportError("cairo backend requires that cairocffi or pycairo "
ImportError: cairo backend requires that cairocffi or pycairo is installed

Checking on pip freeze does show cairocffi listed but I can't understand why this code cannot read it.
Any help would be greatly appreciated.

Figured out the issue was with different commands for python 2 and python 3. Just needed to add pip3 install cairocffi.

There is definitely a problem here in that the difference between libraries and Python modules is not obvious to people unless they're familiar with the packages in question, but that problem is beyond the scope of just Cairo. Closing this.


Bump to 0.5.3

Codecov Report

Merging #85 (11f29bf) into main (12dcd85) will decrease coverage by 0.20%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #85      +/-   ##
==========================================
- Coverage   25.30%   25.10%   -0.21%
==========================================
  Files          20       20
  Lines        1470     1466       -4
  Branches      709      709
==========================================
- Hits          372      368       -4
  Misses        463      463
  Partials      635      635

Codecov Report

Merging #85 (11f29bf) into main (12dcd85) will decrease coverage by 0.20%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #85      +/-   ##
==========================================
- Coverage   25.30%   25.10%   -0.21%
==========================================
  Files          20       20
  Lines        1470     1466       -4
  Branches      709      709
==========================================
- Hits          372      368       -4
  Misses        463      463
  Partials      635      635

@Furisto May I ask you to review this because this is necessary that youki will publish to crates.io?

https://github.com/ostreedev/ostree-rs-ext/pull/198 depends on this FWIW


index: fix test for time.Time change on 1.9

I think we should not be using reflect.DeepEqual since comparing unexported fields is weak
Have you considered trying https://github.com/google/go-cmp?

Yep for this case, will be inserting use cmp, instead of DeepEquals from gocheck

That's a great suggestion, updated. Added two more small improvements as separate commits.

@mcuadros @campoy ping

Hi guys, I suggest to use os.TempDir() in pack_test.go and unpack_test.go (instead of hardcoded "/tmp/"), because windows builds are failing.
...
unpack_test.go:20:
    c.Assert(err, IsNil)
... value *os.PathError = &os.PathError{Op:"CreateFile", Path:"/tmp/", Err:0x2} ("CreateFile /tmp/: The system cannot find the file specified.")


Added ability to manually skip sampling for individual telemetry items

This change makes it is possible to create initializers that skip the sampling for individual telemetry items.
Main reason for this change is to make it possible to skip request sampling on items with exceptions while still maintaining a strong sampling rate globally.
ref #256

Hi @hallatore, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

@hallatore, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, MSBOT;

Thanks for PR. Can you please update it with the following:

PR should go to develop, not master
No need to have another field in the interface. Instead - can you please set SamplingPercentage to 100% and telemetry processor to not override it if it's set to 100%

This should solve your problem

@SergeyKanzhelev The default SamplingPercentage is already 100, so checking that would currently always override sampling.
SamplingPercentage is just used in these two places, so I think changing it to double? would be preferable if we want to avoid adding another field.

https://github.com/Microsoft/ApplicationInsights-dotnet/blob/develop/src/Core/Managed/Shared/Extensibility/Implementation/Telemetry.cs#L16-L21
https://github.com/Microsoft/ApplicationInsights-dotnet/blob/develop/src/TelemetryChannels/ServerTelemetryChannel/Shared/SamplingTelemetryProcessor.cs#L126


DKP-349 Update settings documentation with beta features instead of experimental

Proposed changes
The «Experimental Features» settings section in Docker Desktop has been renamed to «Beta Features» (will be released in 4.13).
These changes here update the relevant part of the documentation.
Related issues (optional)
https://docker.atlassian.net/browse/DKP-349

Thanks for the PR @mat007 . I already have this covered in https://github.com/docker/docker.github.io/pull/15460 so I'm closing this ticket to avoid merging conflicts


Aif support

please add .aif support! thanks.

See #106.

Hey Grant
Sorry…is this feature supposed to be added? I tried adding the latest version to Google and it still didn’t seem to open AiFs?

On 23 Oct 2018, at 18:02, Grant Timmerman<EMAIL_ADDRESS>wrote:
See #106 https://github.com/gsuitedevs/drive-music-player/issues/106.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/gsuitedevs/drive-music-player/issues/129#issuecomment-432331850, or mute the thread https://github.com/notifications/unsubscribe-auth/AK4ziwALndGHw1gVhGaw_Gk1ONV6-jePks5un0uTgaJpZM4HYb3O.


[Feedback Wanted] Query / Filter Parameters

In an upcoming version of CRUDRouter I am hoping to add Query / Filter support. I've created this thread in hopes of getting some community feedback on how you guys would like the query params constructed.

Ability to filter column(s) eg: /potato?color=red or  /potato?color=red&?type=small
Ability to filter multiple values in the same column eg:  /potato?color=red&color=blue
Ability to order by columns
etc...

Please feel free to make any suggestions 😄

I skimmed through #61 I haven't seen anything related to ordering/sorting. Is it expected to 0.8?

Hi @marcoaaguiar. Currently it only does filtering but I am looking at adding more feature before the merge (eg: order by and perhaps "like filtering" as currently it only does exact matches).
The tricky thing is that not exactly sure what the preferred query parameter syntax would be amongst the community.
eg: /potato?color=red&order_by=mass&order=DESC
Any thoughts?

Hi Adam, I recently had to hack this package to allow for sorting. I chose Github query params as a reference, which are sort and direction.
Regarding sort vs. order_by, I find both good choices, sort conforms in Python lingo, order_by with SQL's.
Regarding direction (asc and desc), I really like it because it brings no confusion when paired with sort/order_by.

I took a look into how GitHub (and others do it) and I think it would make sense to go with sort and direction.
As for "like" filtering, I might make sense to include that in a later version to get some feedback.

My project has this function,may be can give you some idea?
import inspect
from typing import Callable, Optional, Tuple, Type

from fastapi import APIRouter, Depends
from pydantic.main import BaseModel
from tortoise import Model
from tortoise.contrib.pydantic import pydantic_model_creator
from tortoise.query_utils import Q

from fast_tmp.depends.auth import get_user_has_perms
from fast_tmp.utils.pydantic_creator import pydantic_offsetlimit_creator

def add_filter(func: Callable, filters: Optional[Tuple[str, ...]] = None):
    signature = inspect.signature(func)
    res = []
    for k, v in signature.parameters.items():
        if k == "kwargs":
            continue
        res.append(v)
    if filters:
        for filter_ in filters:
            res.append(
                inspect.Parameter(
                    filter_, kind=inspect.Parameter.KEYWORD_ONLY, annotation=str, default="__null__"
                )
            )
    # noinspection Mypy,PyArgumentList
    func.__signature__ = inspect.Signature(parameters=res, __validate_parameters__=False)

def create_pydantic_schema(
    model: Type[Model],
    name: str,
    fields: Optional[Tuple[str, ...]] = None,
    exclude_readonly: bool = False,
) -> Type[BaseModel]:
    if fields:
        return pydantic_model_creator(
            model, name=name, include=fields, exclude_readonly=exclude_readonly
        )
    else:
        return pydantic_model_creator(model, name=name, exclude_readonly=exclude_readonly)

def create_list_route_with_page(
    route: APIRouter,
    path: str,
    model: Type[Model],
    fields: Optional[Tuple[str, ...]] = None,
    codenames: Optional[Tuple[str, ...]] = None,
    searchs: Optional[Tuple[str, ...]] = None,
    filters: Optional[Tuple[str, ...]] = None,
    res_pydantic_model: Optional[Type[BaseModel]] = None,
    random_str: str = "",
):
    """
    创建list的路由
    """
    if res_pydantic_model:
        schema = res_pydantic_model
    else:
        schema = create_pydantic_schema(
            model,
            f"CREATORList{model.__name__}{path.replace('/', '_')}Page{random_str}",
            fields=fields,
        )
    paging_schema = pydantic_offsetlimit_creator(schema)

    async def model_list(
        offset: int = 0,
        limit: int = 10,
        search: Optional[str] = None,
        **kwargs,
    ):
        count = model.all()
        query = model.all().limit(limit).offset(offset)
        if search and searchs:
            x = [Q(**{f"{i}__contains": search}) for i in searchs]
            if x:
                q = x[0]
                for i in x[1:]:
                    q = q | i
                query = query.filter(q)
                count = count.filter(q)
        if kwargs:
            s = {}
            for k, v in kwargs.items():
                if not v == "__null__":
                    s[k] = v
                else:
                    pass
            if s:
                query = query.filter(**s)
                count = count.filter(**s)

        data = await query
        return paging_schema(total=await count.count(), data=[schema.from_orm(i) for i in data])

    add_filter(model_list, filters)
    route.get(
        path, dependencies=[Depends(get_user_has_perms(codenames))], response_model=paging_schema
    )(model_list)

Hi, i think this feature need more push. Your idea is very good and pretty simple. Maybe we can add something like
/potato?color=eq.red&color=eq.blue&price=gte.50
@awtkns what do you think?

Not sure if this has already been discussed, but why not adopting the Django filter() syntax? It provides a comprehensive pseudo-language for covering the whole SQL WHERE clause syntax (including querying nested model attributes) and, given that some of the underlying ORMs already rely on it (e.g.: ormar, Tortoise), it might potentially allow for an straightforward implementation:

URL
Python

/potato?color=red
Potato.objects.filter(**{'color': 'red'})

/potato?color__iexact=ReD
Potato.objects.filter(**{'color_iexact': 'ReD'})

/potato?price__lte=50
Potato.objects.filter(**{'price__lte': '50'})

/potato?producer__country__in=CN,IN
Potato.objects.filter(**{'producer__country__in': ['CN', 'IN']})

If that syntax is too harsh, we could go for a friendlier refinement (everyone loves brackets and dots):

URL
Python

/potato?color[iexact]=ReD
Potato.objects.filter(**{'color_iexact': 'ReD'})

/potato?price[lte]=50
Potato.objects.filter(**{'price__lte': '50'})

/potato?producer.country[in]=CN,IN
Potato.objects.filter(**{'producer__country__in': ['CN', 'IN']})

And those query strings could be easily parsed from/to JS/Python objects (it might be useful for complex queries):
{
  "producer": {
    "country": {
      "in": ["CN", "IN"]
    }
  }
}

And same for the sorting, why having 2 separate fields, when the Django way is more compact (2 reserved field names vs. 1, out of which direction is a pretty commonly used word) and works smoothly with multi-column sorting?

URL
Python

/potato?ordery_by=-price,producer.country
Potato.objects.order_by(*('-price', 'producer__country'))

I will suggest adopting syntax from react-admin:
https://github.com/marmelab/react-admin/tree/master/packages/ra-data-simple-rest#rest-dialect
(but feel free to ignore it, as it is possible to supply react-admin with definition of custom syntax)

I suggest adopting syntax from react-admin:
https://github.com/marmelab/react-admin/tree/master/packages/ra-data-simple-rest#rest-dialect
(but feel free to ignore it, as it is possible to supply react-admin with a definition of custom syntax)

Here is a long list of other syntaxes currently supported by react-admin. Please take a look, I think it may help to choose the best approach:
https://marmelab.com/react-admin/DataProviders.html#available-providers
(some are not REST, but many are)

Lots of good ideas; each with a different use case.  What about callback/hook/plugin for filtering?  This would allow for easily customizable filters with that operator you "just can't live without" that doesn't require forking in order to make it work.
The same could be said of sorting, but I am a fan of sort=group,-created_on with the minus prefix for descending order.

@theultimate1 not yet. However a preview can be found in #61. It is still a WIP so no guarantees on correctness.

Is there any movement on this feature enhancement?

OData is the way to go: https://www.odata.org/documentation/
It is used by MS Graph is robust for REST and OpenAPI, also ISO approved.

@awtkns is there a way to use dependencies for filtering?
For example pass a dependency into get_all_route and somehow use it's result?

Is there any movement on this feature enhancement?

@fsecada01
In the meantime, what's the workaround for filtering if you are still using this library?

Hey there!
I've extended the SQLAlchemyCRUDRouter class in order to change the _get_all() method so it would look for the self.model columns in the request.query_params, if it find any of the model's fields, it adds a simple ` LIKE %{value}%'  filter to the query.

@awtkns thanks for considering filter support. It would be a helpful feature. I've been interested in using fastapi-crudrouter, but the lack of ability to customize the SELECT statement has held me back from doing more with it.
I think this is an important point (https://github.com/awtkns/fastapi-crudrouter/issues/62#issuecomment-934063195):

Lots of good ideas; each with a different use case. What about callback/hook/plugin for filtering? This would allow for easily customizable filters with that operator you "just can't live without" that doesn't require forking in order to make it work.

It's going to be difficult to meet every use case, but fastapi-crudrouter could provide some default filters while also allowing developers to customize the SELECT statement prepared by the route. In terms of how to implement a custom callback here, I think FastAPI dependencies would be the way to go. Dependencies get automatic access to the endpoint function's arguments, including the query params, and the query params can be parsed to set up filters. This matches up nicely with the "generative" style select() construct in SQLAlchemy 1.4/2.0. Methods on the select() instance can be repeatedly called to build up a statement before sending it to the database.
The implementation could look something like fastapi-filter or fastapi-filters (or could simply rely on one of those as an optional dependency). This example from the fastapi-filters README could help. The inner call to select() sets up the default statement - just the model corresponding to the API endpoint. The outer call to apply_filters is where fastapi-filters reads the query params, matches them up against its supported filters, and uses those filters to update the default statement in generative style.
from fastapi_filters.ext.sqlalchemy import apply_filters

@app.get("/users")
async def get_users(
    db: AsyncSession = Depends(get_db),
    filters: FilterValues = Depends(create_filters_from_model(UserOut)),
) -> List[UserOut]:
    query = apply_filters(select(UserOut), filters)
    return (await db.scalars(query)).all()

fastapi-crudrouter already has a nice API for dependencies. Do you think fastapi-crudrouter could use dependencies to set up filters also? I think it would be pretty cool! Happy to help implement it!

Hi, is filtering functionality implemented? Any plans on that if not?


NagiosPB: Remove Encrypted nagios secrets file from linter.

Exclude the encrypted nagios secrets file , so that the linter checks pass.

[X] commit message has one of the standard prefixes
[X] VPC/QPC not applicable for this PR

Closing as this solution will not work.


Make E2E tests run with users wallet instead of ours

We need to provide instructions on how to dump the wallet into a file. Preferably, we should put some effort to automate that. Ideally there should be two make commands: one to guide the user through wallet installation and saving it to crx, and another to actually use it with tests.

Motivation:

when two or more users run with the same wallet, they will try to spend the same utxos, causing a failure.
we will run low on testnet Ada eventually


Create Yarn Fns in factory functions

I am Wizzo the Wizard, bow before me! (context)
Depends on #103

I might need some help with the #[macro_export]. I want to export it from the prelude, but if I put it in the mod it gets exported from the crate root 🤔

I am Wizzo the Wizard, bow before me! (context)
Depends on #103

Is that HBomberguy playing the potter? :D

Is that HBomberguy playing the potter? :D

Harry Potter–a person who makes pots, yes :D


Add Parser for parsing view constants proto binary.

This PR is dependent on PR https://github.com/google/instrumentation-proto/pull/24.
Since stats-core cannot depend on proto, I used an independent library util to do the translation (from proto binary to POJOs). Currently I'm assuming that we could separate the RPC constants from stats-core, however if those constants absolutely need to reside in stats-core, I'll try other alternative approaches (converting to JSON, etc.).

What has changed is just how these constants are initialized, which is just implementation detail and doesn't change the nature of the API.
The proto constants will server as a single source of truth, although for Java this doesn't make much changes, they could be reused for other language platforms.

You still have hard-coded constants.
I believe this PR is meant to provide a util for reading and initializing proto constants, and RPC constants is a special use case on how we define constants in proto and read it into Java objects. Later other users will be able to define and use constants in the same way as RPC constants.

The constants also have to call out the types of the view descriptors, which goes against the idea of defining everything in the proto.
In addition, in fact we do have proto definitions on measure and view descriptors, but to use those proto definitions we need to add instrumentation-proto as a dependency. Based on our previous conversation, I'm assuming gRPC doesn't want to depend on instrumentation-proto, but can depend on stats-core. Thus I translate the proto-generated descriptor objects into those data structures defined in stats-core.

Based on our previous conversation, I'm assuming gRPC doesn't want to depend on instrumentation-proto, but can depend on stats-core. Thus I translate the proto-generated descriptor objects into those data structures defined in stats-core.

Right, and gRPC nowadays can depend on RpcConstants safely because it's proto-free. Since RpcConstantsFromProto depends on ViewConstantsProtoBinaryParser which depends on proto, it's no longer proto-free. It is backward without any gain.
I discussed with @ejona86 about the implications of allowing Census to have proto dependency. Even though we can split the Census dependency out of gRPC core, it will still be a hassle for both gRPC and Census team, because both of us would have to provide separate artifacts for Android and non-Android uses. So it's preferable to avoid proto dependency in our libraries.
Since all you want is the proto to be the source of truth, how about creating a code-generator that generates proto-free RpcConstants from the textpb as part of your build process? The constant names can be derived from the names from the proto, which will be different from the current constant names, but I can update gRPC code to accommodate that.

Thanks for the clarification, I see the problem here. I'll check to see if and how to generate those constants during build-time.


Add Node.JS compatability

Allows geotiff.js to work easily with node.js platforms. Requires the xmldom module from npm.
I haven't confirmed whether this change affects browser functionality because I can't get grunt test to work. The server runs fine but there are not TIFF files in the test directory.

@ThatcherC: The grunt test is targeted for the travis testing environment. In the .travis.yml there are several steps that download and transform a sample GeoTIFF to various presets.
Your PR looks fine. I would like to keep the browserify build small, so I need to figure out how to exclude the "xmldom" for browser builds.


added echo browser logs option to protractor

this is a good idea, but let's try to see if we can dump it to a log file or something

This can conflict with my pull request :) #142
The issue here is that first call to browser.manage().logs().get('browser') returns the current log.
Afterwards the next call will return an empty array.

closing in favor of #142


No framed received in ubuntu 16.04, 18.04

| Camera Model                       | { D400 } |
| Firmware Version                   | (Open RealSense Viewer) |
| Operating System & Version |   {Linux (Ubuntu 14/18)  |
| Kernel Version (Linux Only)    |  (4.15.0-36-generic)  |
| Platform                                 | PC |
| SDK Version                            |  {librealsenseSDK2 }                          |
| Language                            |  {C++/Python}                          |
| Segment			|  {Robot}                          |
Issue Description
All the setups for the realsense (including realsense-viewer and other good applications) are good before I reinstalled the system and update for ubuntu 18.04. I faced the problem that I could not received frame with realsense-viewer ("no frame received").
I tried with the usb 3.0 ports with both ubuntu 18.04 (in my laptop) and ubuntu 16.04 in my PC. However, I faced the following problems:

in ubuntu 18.04 laptop, the realsense-viewer cannot received frame.
in ubuntu 16.04 PC, I could not Cmake the librealsense library with the following errors:

Download error
http://realsense-hw-public.s3.amazonaws.com/Releases/TM2/FW/target/<IP_ADDRESS>52/target-<IP_ADDRESS>52.mvcmd
-- Configuring incomplete, errors occurred!
See also "/home/maguangshen/librealsense/build/CMakeFiles/CMakeOutput.log".

I checked with the usb 3.0 port, it is working good in windows 10 (I installed dual system).
I checked with the usb and uvc in linux:

Bus 002 Device 006: ID 0951:1666 Kingston Technology DataTraveler G4
Bus 002 Device 004: ID 0461:4d81 Primax Electronics, Ltd Dell N889 Optical Mouse
Bus 002 Device 003: ID 04b3:3025 IBM Corp. NetVista Full Width Keyboard
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 007: ID 8086:0ad3 Intel Corp.
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
uvcvideo               90112  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_v4l2         24576  1 uvcvideo
videobuf2_core         40960  2 uvcvideo,videobuf2_v4l2
videodev              180224  3 uvcvideo,videobuf2_core,videobuf2_v4l2
media                  40960  2 uvcvideo,videodev
I found the relevant issues but could not find any good solutions. Thanks.

[Realsense Customer Engineering Team Comment]
Hi @ljc19800331,

In Ubuntu 18.04, can your D415 be recognized as a USB3 device? Please run "usb-devices" to show the USB device info. Do you use the pre-built realsense-viewer or build it from the source?
What's D415 firmware version?
Please check if you enable "BUILD_WITH_TM2" in CMAKE by accident?

A quick comment regarding @RealSense-Customer-Engineering point no. 3 - it is not your mistake, BUILD_WITH_TM2 is true, you can work-around the problem by setting it to false (cmake ../ -DBUILD_WITH_TM2=false) You are most likely behind proxy, please consider checking your network settings, since we do plan to continue distributing binaries in this way via CMake.

Hello @RealSense-Customer-Engineering ,

I am using the prebuilt realsense-viewer after installing the packages sudo apt-get install librealsense2-dkms, sudo apt-get install librealsense2-utils.
Yes sure, this is the usb-devices information when I connect the D415:

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 3
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=04.15
S:  Manufacturer=Linux 4.15.0-36-generic ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:1a.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 6
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=8087 ProdID=0024 Rev=00.00
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
T:  Bus=01 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#=  3 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=058f ProdID=6362 Rev=01.00
S:  Manufacturer=Generic
S:  Product=Mass Storage Device
S:  SerialNumber=058F63626420
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 3
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=04.15
S:  Manufacturer=Linux 4.15.0-36-generic ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:1d.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 8
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=8087 ProdID=0024 Rev=00.00
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
T:  Bus=02 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#=  3 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=04b3 ProdID=3025 Rev=01.09
S:  Manufacturer=LITE-ON Technology
S:  Product=USB NetVista Full Width Keyboard.
C:  #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=70mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid
T:  Bus=02 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#=  4 Spd=1.5 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0461 ProdID=4d81 Rev=02.00
S:  Product=USB Optical Mouse
C:  #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=98mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=04.15
S:  Manufacturer=Linux 4.15.0-36-generic xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:04:00.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 4
D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev=04.15
S:  Manufacturer=Linux 4.15.0-36-generic xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:04:00.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
T:  Bus=04 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  3 Spd=5000 MxCh= 0
D:  Ver= 3.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS= 9 #Cfgs=  1
P:  Vendor=8086 ProdID=0ad3 Rev=50.92
S:  Manufacturer=Intel(R) RealSense(TM) 415
S:  Product=Intel(R) RealSense(TM) 415
S:  SerialNumber=821413024309
C:  #Ifs= 5 Cfg#= 1 Atr=c0 MxPwr=440mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
I:  If#= 1 Alt= 0 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
I:  If#= 2 Alt= 0 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
I:  If#= 3 Alt= 0 #EPs= 0 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
I:  If#= 4 Alt= 0 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo

The D415 frame version is <IP_ADDRESS>, I would like to update but some problems happen.
Yes I could build the files after following @dorodnic 's instruction on cmake ../ -DBUILD_WITH_TM2=false but still could not get the frame working ("Frame didn't arrived within 5000").

Well the proxy settings really depend on your network situation. You should be able to reach target-<IP_ADDRESS>52.mvcmd from browser and via CMake. But no worries, disabling DBUILD_WITH_TM2 has no negative side-effects for  D400 users, and we have plenty of time to streamline T265 deployment process.

@RealSense-Customer-Engineering - can we check if firmware 5.9.2 was signaling the "end of frame" bit?
(I know 5.8.15 was not, and 5.9.2 was bundled with LRS 2.9.0 so its quite old)
In latest DKMS we tightened the rules for UVC compliance (details here - #2341) and it will result in "no frames received" behavior on old firmware.
@ljc19800331 @mwrightE38 please consider updating your camera firmware by following Linux-RealSense-D400-DFU-Guide.pdf guide.
I know its a hassle to install, but there are actually objective reasons to upgrade. We are constantly dancing around USB3 and USB2 bandwidth limitations, and the new firmware improves the stability of streaming depth and color at high resolutions. Alternatively, you are safe to go back to previous version of DKMS and it also should solve the problem.

@dorodnic Thanks for the information. I think the problem is because of the latest update on UVC. I tried with the method in Linux-RealSense-D400-DFU-Guide.pdf guide and found the following problem:
age_UVC_5_10_3_0.bin
D400 busnum = 2
D400 devnum = 2
D400 FW file path = /home/maguangshen/Downloads/Signed_Image_UVC_5_10_3_0.bin
Could not find device in opmode: Device found, but incorrect (vid, pid) combo. Found (8087, 24)
Device pid = 36
Valid pid not found
I tried with the similar method presented in #1986 and I have checked the connection is a usb3.0 port.
Thanks for the answer.


[Docs] Add a colon in front of props of type number in the document

Version
@nuxthq/ui: v2.7.0
Reproduction Link
https://ui.nuxtlabs.com/forms/textarea#rows

If a prop in a component is of type number, the example in the documentation should be :props="", If this is correct, can i try to submit a PR fix?

Nice catch, would love to see a PR to fix that 🙏


MNT: Re-render the feedstock [ci skip]

Hi! This is the friendly conda-forge-admin automated user.
I've re-rendered this feedstock with the latest version of conda-smithy (2.3.2) and noticed some changes.
If the changes look good, then please go ahead and merge this PR.
If you have any questions about the changes though, please feel free to ping the 'conda-forge/core' team (using the @ notation in a comment).
Remember, for any changes to the recipe you would normally need to increment the version or the build number of the package.
Since this is an infrastructural change, we don't actually need/want a new version to be uploaded to anaconda.org/conda-forge, so the version and build/number are left unchanged and the CI has been skipped.
Thanks!

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

Could this PR please be closed? I'll send a new rerendering PR created with the latest version of conda-smithy.

@conda-forge-admin, please rerender
Does this work?

Yes! Good idea, @bgruening. Unfortunately AppVeyor builds are currently broken (see https://github.com/conda/conda/issues/6527).
And this package relies on r-nloptr, so there's not much hope for it...
https://travis-ci.org/conda-forge/r-lmertest-feedstock/jobs/320171291#L291

@conda-forge-admin, please rerender

Of course the one build we actually needed to run (R 3.4.1 on osx) failed at the upload stage.
https://travis-ci.org/conda-forge/r-lmertest-feedstock/jobs/340827023#L582
I just restarted it.

Strange. It failed again at the exact same step. Maybe the binstar token is bad? I'm not sure how that is even possible since this feedstock has been rerendered.
The command "conda build ./recipe" exited with 0.
2.00s$ upload_or_check_non_existence ./recipe conda-forge --channel=main
Using Anaconda API: https://api.anaconda.org
Processing r-lmertest
Using Anaconda API: https://api.anaconda.org
Traceback (most recent call last):
  File "/Users/travis/miniconda3/bin/upload_or_check_non_existence", line 135, in <module>
    main()
  File "/Users/travis/miniconda3/bin/upload_or_check_non_existence", line 124, in main
    upload(cli, meta, owner, channel)
  File "/Users/travis/miniconda3/bin/upload_or_check_non_existence", line 75, in upload
    env=os.environ)
  File "/Users/travis/miniconda3/lib/python3.6/subprocess.py", line 291, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['anaconda', '--quiet', '-t', '/var/folders/vy/rcv48w3j4w79llzf_x6qnvw40000gn/T/tmpvs1nq98d/binstar.token', 'upload', '/Users/travis/miniconda3/conda-bld/osx-64/r-lmertest-2.0_33-r3.4.1_0.tar.bz2', '--user=conda-forge', '--channel=main']' returned non-zero exit status 1.
The command "upload_or_check_non_existence ./recipe conda-forge --channel=main" exited with 1.


[$250]  iOS/Android  - Workspace - Keypad overlaps "Call me" button

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Launch the app and login
Tap profile and select workspace
Tap "?" and tap "Request a set up call"
Tap phone number field and observe

Expected Result:
Opened keypad should not overlap the "Call me" button
Actual Result:
Keypad overlaps "Call me" button
Workaround:
Unknown
Platform:

Where is this issue occurring?

iOS
Android

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: No
Email or phone of affected tester (no customers): any
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Display issue, looks like a perfect external issue!

internal
external

Maybe a regression from https://github.com/Expensify/App/pull/9665.

Have you tried yo use KeyboardAvoidingView? Wrap all components with KeyboardAvoidingView set behavior='position' and make small padding bottom or set value for keyboardVerticalOffset?

@adelekennedy It is missing Exported label.

I haven't been able to reproduce this on my iOS v1.1.78-8.
https://user-images.githubusercontent.com/3069065/179322777-26c45f6a-40cc-46d5-b27f-29fb2da9c83e.mp4
but can on v1.1.82-5

As @parasharrajat pointed out it looks like a regression.

@kbecciv Can you please confirm if you can repro this in production as well as staging? That would help us narrow down the problem.

@mountiny I checked production version and issue is not there. Let's add Deploy blocker to this issue.

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

@kbecciv Thanks for the confirmation, very helpful 🙌
Having a look now!

@kbecciv Could you actually confirm with a video share this really is not reproducible on production? The screenshot is not clear to me.
The reason I am asking is that it seems that this PR is the main suspect for causing it, however, it is already in production. I could not find anything in Staging which might be causing this.

K, this was a bit of pain to investigate.
### What happened
@ctkochan22 has introduced refactor of the FormAlertWithSubmitButton component in this PR. Those changes are fine on their own, however, then @yuwenmemon has started to use this component at the RequestCallPage in this PR which got merged right when the Form refactor happened so Yuwen could not really well know about those changes.
Additionally, given both of those PRs are already in production, it was probably this change of the styles, which seemingly should not have an effect on this behaviour, but it evidently did, but honestly i dont know right now why.
I am still not 100% sure how come it is fine in production and broken in staging, however, the PR I put up is fixing this problem by resetting the flex property on the form submit button on the RequestCallPage :)

Not External anymore, @adelekennedy would you be able to please delete the job from upwork for this one. Thank you very much!

@mountiny Please attached video per your request.
https://user-images.githubusercontent.com/93399543/179380401-897556d2-22c7-4d7c-ab5b-3fca207b6192.MP4

Additionally, given both of those PRs are already in production, it was probably this change of the styles, which seemingly should not have an effect on this behaviour, but it evidently did, but honestly i dont know right now why.

@mountiny PR https://github.com/Expensify/App/pull/9865 does not cause this behavior. FixedFooter is a View with style of flexShrink: 0, and the inner FormAlertWrapper is a View with style of flex: 1, the combination cause this issue, and reset the inner component style to flex: undefined will fix it, as the PR you just submitted :)

Great find @mountiny

@ctkochan22 Cheers 🙏
@kbecciv Thank you very much 🙌
@b1tjoy Thanks for follow up, I agree it is not the PR itself, but I am not sure why is this fine in production? Looking at the production code, the RequestCallPage and FormAlertWrapper look basically same (just different way of passing the styles, but I feel like that should not be a problem). The FixedFooter styles are same too.

Tested on staging ios, we are good


Vuetify datepicker - blank fields

Hello everyone.
I'm just trying to add a simple vuetify date picker (the dialog one), and when I try to do so, the date picker works but the styling appears a bit awkward as you can see in the image below.
When I click the dates on the date picker they are selected as they should to the v-textfield.
The code is exactly the same as Vuetify documentation suggests, I actually had it working before changing to this template.
There is no error's on console.

@nunopeixoto how do you solve the padding & margin problem? I found the theme also affected the date picker container border-radius by .v-menu__content from _fixed-plugin.scss.

Removing the !important solved all my problems.

Add padding 0 to ".v-date-picker-table .v-btn"


Error: llama runner process no longer running: -1

What is the issue?
Hi,
I am facing the below error when trying to run ollama models (both llama3.1:8b-instruct-q4_1 and llama3.1:8b-instruct-fp16):
Error: llama runner process no longer running: -1
After checking syslog file, I found the following issue:
ollama.listener llama_model_load: error loading model  ... wrong number of tensors; expected 292, got 291
I have ollama==0.3.1 installed using pip. I also tried installing latest ollama-linux-amd64 version 0.3.6 using binaries (this version is not, to the best of my knowledge, available using pip), but I got same errors.
These are my specs:
OS: ubuntu 22.04.4 LTS
GPU: Nvidia
CPU: Intel
CUDA: 11.5.119
Do you have any suggestions ?
Thank you.
OS
Linux
GPU
Nvidia
CPU
Intel
Ollama version
0.3.1, 0.3.6

The tensor problem was resolved in version 0.3.1, so it's surprising that you are seeing this.  If you upgraded to 0.3.6 and are still seeing the problem, then it's possible that your upgrade was not successful.  What does ollama -v show?  If it shows two version numbers, one for the client and the other for the server, then restarting the service might help.  If it doesn't, I'd suggest removing and re-installing ollama.

ollama --version shows "version is 0.0.0" when installing 0.3.1 using pip, and it shows "version is 0.0.0  \n  Warning: Client version 0.3.6" when installing 0.3.6 using binaries.   "pip show ollama" shows the right versions.
I tried removing ollama, using pip uninstall and rm for binaries, but I got same issues when re-installing.
@rick-github For your suggestion on restarting the service, should I use "sudo systemctl restart ollama.service" ?

That would do it in a normal installation, I don't know about a pip installation.  I recommend uninstalling the pip version and running curl -fsSL https://ollama.com/install.sh | sh

It is now working without issues after manually removing some /etc/systemd/system/snap-ollama-15.mount and /etc/systemd/system/snap.ollama.listner.service  !!

It is now working without issues after manually removing some /etc/systemd/system/snap-ollama-15.mount and /etc/systemd/system/snap.ollama.listener.service  !!

It is now working without issues after manually removing some /etc/systemd/system/snap-ollama-15.mount and /etc/systemd/system/snap.ollama.listener.service  !!

It is now working without issues after manually removing some /etc/systemd/system/snap-ollama-15.mount and /etc/systemd/system/snap.ollama.listener.service !!
I have also encountered the same problem.I would like to know which files have been removed，thank you.

@wangixt Those are ollama services that were, to the best of my knowledge, persisted from a previous snap installation.
Just check in "/etc/systemd/system/" for those kind of services.
For me I did the following to get rid of them:
**sudo systemctl stop snap-ollama-15.mount
sudo systemctl disable snap-ollama-15.mount
sudo rm /etc/systemd/system/snap-ollama-15.mount
sudo systemctl stop snap.ollama.listener.service
sudo systemctl disable snap.ollama.listener.service
sudo rm /etc/systemd/system/snap.ollama.listener.service**


creating and plotting dendrograms do not see the same dendrogram

[x] I have checked that this issue has not already been reported.
[x] I have confirmed this bug exists on the latest version of scanpy.
[ ] (optional) I have confirmed this bug exists on the master branch of scanpy.

Minimal code sample (that we can copy&paste without having any data)
np.random.seed(seed=0)
df = pd.DataFrame(np.random.randn(50,50))
fake = sc.AnnData(df)

fake.obs["groups"] = np.random.choice(a="a.b.c".split("."), size=50)
fake.obs["groups"] = fake.obs["groups"].astype("category")

sc.tl.dendrogram(fake, groupby = "groups")
sc.pl.dendrogram(fake, groupby = "groups")

using data matrix X directly
Storing dendrogram info using `.uns["dendrogram_['groups']"]`
WARNING: dendrogram data not found (using key=dendrogram_groups). Running `sc.tl.dendrogram` with default parameters. For fine tuning it is recommended to run `sc.tl.dendrogram` independently.
    using data matrix X directly
Storing dendrogram info using `.uns['dendrogram_groups']`

Description
So as you can see in the reproduction, it looks like sc.tl.dendrogram(fake, groupby = "groups") stores the created dendrogram like this .uns["dendrogram_['groups']"] = dendro_data.
But it looks like sc.pl.dendrogram(fake, groupby = "groups") expects to access this dendrogram like this fake.uns['dendrogram_groups'] and when it can't find it, it creates a new dendrogram and stores it in fake.uns['dendrogram_groups'].
My guess is that there is a mismatch in the logic of the code that builds the names of dendros in sc.tl.dendrogram vs the code that builds the names in sc.pl.dendrogram. If I had more time i would try to track it down for you and maybe even send a PR. Sorry though, I dont.
Can anyone confirm that this is NOT the expected behavior?
Versions

WARNING: If you miss a compact list, please try `print_header`!
-----
anndata     0.7.5
scanpy      1.6.0
sinfo       0.3.1
-----
OpenSSL             19.1.0
PIL                 8.0.1
anndata             0.7.5
annoy               NA
autoreload          NA
backcall            0.2.0
botocore            1.19.22
brotli              NA
certifi             2020.11.08
cffi                1.14.3
colorama            0.4.3
cryptography        3.2.1
cycler              0.10.0
cython_runtime      NA
dateutil            2.8.1
decorator           4.4.2
defusedxml          0.6.0
fbpca               NA
fsspec              0.8.4
get_version         2.1
h5py                3.1.0
igraph              0.8.3
intervaltree        NA
invoke              1.4.1
ipykernel           5.3.4
ipython_genutils    0.2.0
ipywidgets          7.5.1
jedi                0.17.2
jinja2              2.11.2
jmespath            0.10.0
joblib              0.17.0
kiwisolver          1.3.1
legacy_api_wrap     0.0.0
leidenalg           0.8.3
llvmlite            0.34.0
logzero             1.6.3
markupsafe          1.1.1
matplotlib          3.3.3
mpl_toolkits        NA
natsort             7.0.1
numba               0.51.2
numexpr             2.7.1
numpy               1.19.4
packaging           20.4
pandas              1.1.4
parso               0.7.1
pendulum            2.1.2
pexpect             4.8.0
pheno_tools         0.0.1
pickleshare         0.7.5
pkg_resources       NA
prompt_toolkit      3.0.8
ptyprocess          0.6.0
pycparser           2.20
pygments            2.7.2
pyparsing           2.4.7
pytz                2020.4
pytzdata            NA
s3fs                0.4.2
scanorama           1.7
scanpy              1.6.0
scipy               1.5.3
seaborn             0.11.0
setuptools_scm      NA
sinfo               0.3.1
six                 1.15.0
sklearn             0.23.2
sortedcontainers    2.3.0
sphinxcontrib       NA
statsmodels         0.12.1
storemagic          NA
tables              3.6.1
texttable           1.6.3
tornado             6.1
tqdm                4.52.0
traitlets           5.0.5
typing_extensions   NA
umap                0.4.6
urllib3             1.25.11
wcwidth             0.2.5
xlrd                1.2.0
yaml                5.3.1
zmq                 20.0.0
-----
IPython             7.19.0
jupyter_client      6.1.7
jupyter_core        4.7.0
jupyterlab          2.2.9
notebook            6.1.5
-----
Python 3.8.6 | packaged by conda-forge | (default, Oct  7 2020, 19:08:05) [GCC 7.5.0]
Linux-4.4.0-1106-aws-x86_64-with-glibc2.10
36 logical CPU cores, x86_64
-----
Session information updated at 2020-12-02 22:22

I will take a look.
This is related to the possibility of using groupby with a list of categories.

I tried the code and it works fine on the master branch.
Can you check if also works for you?


Spotify in spanish (es-es) not playing songs

I've setup Mycroft to work in spanish, but I can't make the Spotify skill to play some music.
I've tested with asking for the available devices with the "dispositivos spotify" (spotify devices) intent, and it returned the connected devices as expected. However, when I say "reproduce norah jones en spotify" (play norah jones in spotify), it just returns the error below, saying that there was an error processing a petition from Spotify Skill, and at the end mentions something about some unbalanced parenthesis:
 21:46:44.870 | INFO     | 15256 | mycroft.util:wait_while_speaking:58 | mycroft.utils.wait_while_speaking() is depreciated, use mycroft.audio.wait_while_speaking() instead.
Removing event mycroft-playback-control.mycroftai:PlayQueryTimeout
Removing event mycroft-playback-control.mycroftai:PlayQueryTimeout
 21:46:48.435 | ERROR    | 15256 | mycroft.skills.mycroft_skill.mycroft_skill:on_error:835 | Sucedió un error al procesar una petición de Spotify Skill
Traceback (most recent call last):
  File "/home/pi/mycroft-core/mycroft/skills/mycroft_skill/event_container.py", line 66, in wrapper
    handler(message)
  File "/home/pi/mycroft-core/mycroft/skills/common_play_skill.py", line 80, in __handle_play_query
    result = self.CPS_match_query_phrase(search_phrase)
  File "/opt/mycroft/skills/mycroft-spotify.forslund/__init__.py", line 425, in CPS_match_query_phrase
    confidence, data = self.specific_query(phrase, bonus)
  File "/opt/mycroft/skills/mycroft-spotify.forslund/__init__.py", line 508, in specific_query
    match = re.match(self.translate_regex('artist'), phrase)
  File "/usr/lib/python3.7/re.py", line 173, in match
    return _compile(pattern, flags).match(string)
  File "/usr/lib/python3.7/re.py", line 286, in _compile
    p = sre_compile.compile(pattern, flags)
  File "/usr/lib/python3.7/sre_compile.py", line 764, in compile
    p = sre_parse.parse(p, flags)
  File "/usr/lib/python3.7/sre_parse.py", line 944, in parse
    raise source.error("unbalanced parenthesis")
re.error: unbalanced parenthesis at position 78
Removing event mycroft-spotify.forslund:launch_librespot
Removing event mycroft-playback-control.mycroftai:PlayQueryTimeout
 21:46:53.316 | INFO     | 15256 | Playback Control Skill |    No matches

Do you know what could be causing this? If I use Mycroft in english it works perfectly, however I would like to be able to use it in spanish.
Please let me know if you need further details from my side.
Thanks!

Hi, looks like there's been a mistake in one of the regex translations. Let me check on it and see if I can find which one.

I found an error with the artist regex as your logs suggests. I've pushed a branch bugfix/es-es with a fix (I think)
Can you try it out?
You can switch to the branch by running
cd /opt/mycroft/skills/mycroft-spotify.forslund
git fetch
git checkout bugfix/es-es

It works perfectly with that fix! Thank you!

Excellent, thanks for testing!


Rails 3.1 DEPRECATION WARNING: class_inheritable_attribute

Under Rails 3.1 class_inheritable_attribute is  deprecated
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from <class:Category> at /Users/xxxx/Sites/rails/xxxx/app/models/category.rb:14)

When's the new gem version coming? Thx for a great job btw!

+1 for a new gem version release. class_inheritable_attribute was removed in Rails 3.2 and the current gem version breaks the app.

fixed


"Watch" button not showing Season

Description
Since the new 1.6.0 update, we no longer see the season number on the watch button
Reproduction steps

go to a show
see it just says "E1" for instance

look at this video for reference, here it should say "S2E1" https://imgur.com/a/Muu3Uzm
App version
1.6.0
Operating system
shield android tv, android 11
Logs
No response
Please confirm the following

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] If related to a provider, I have checked the site and it works, but not the app.

My bad ^^

My bad ^^

no problem :) ty for the quick fix!

My bad ^^

Great Job on the new Sorastream provider man! looking forward when you add more extractors to it :).
This "Watch E1" bug seems to still persist in v1.6.1, only on certain shows though.
Recreate: use sora stream provider > go to show "Halo" > see result of "Watch E1".
I'm thinking it has something to do with "Specials" being added. If a show has specials, have it still start on S1E1 in the button
Cheers!

My bad ^^

Great Job on the new Sorastream provider man! looking forward when you add more extractors to it :).
This "Watch E1" bug seems to still persist in v1.6.1, only on certain shows though. Recreate: use sora stream provider > go to show "Halo" > see result of "Watch E1".
I'm thinking it has something to do with "Specials" being added. If a show has specials, have it still start on S1E1 in the button
Cheers!

@stantanasi was this one fixed for next release? Or do you want me to create an new issue for it?
Thanks!❤

No it's okay I will fix it now!

No it's okay I will fix it now!

Thank you!

Fixed on Release 1.6.3


Remove version: Google.Chrome version 120.0.6099.200

Hash Mismatch - Old Version
Microsoft Reviewers: Open in CodeFlow

Sequence contains no elements

#133371

Sequence contains no elements

https://github.com/microsoft/winget-pkgs/issues/133371

(Automated response - build 642.)

Automatic Validation ended with:

2024-01-19T11:18:35.9157650Z Processing manifest: manifests\g\Google\Chrome\120.0.6099.200
2024-01-19T11:18:35.9167364Z -----------------------------------------------------
2024-01-19T11:18:35.9172551Z Status: Started
2024-01-19T11:18:35.9180789Z Manifest file is Deleted
2024-01-19T11:18:36.1870005Z Status: Completed
2024-01-19T11:18:36.1886342Z ##[error] Result: Failed
2024-01-19T11:18:36.1890865Z ##[error] Sequence contains no elements
2024-01-19T11:18:36.2527769Z ##[error]Manifest Validation Failed

(Automated response - build 642.)


sudo: unable to resolve host

Hi,
I recently started to get this error:
root@localhost:~# sudo true
sudo: unable to resolve host localhost
but I think when I first installed the bash it worked. I tried everything, like adding my localhost, as specified in /etc/hostname, to the /etc/hosts. It didn't solve the issue. I even unstalled and resintalled the complete Ubuntu bash, as described by Microsoft at
http://answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_install/problems-reinstalling-bash-on-ubuntu-on-windows/bb32e0a5-e711-410b-b28b-ebc561d5b4d8?auth=1
The issue is still present!
Thank you for any help!
Liviu
My system is:
Edition: Windows 10 Pro
Version: 1607
OD Build: 14393.321
Processor: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz
Installed RAM: 8.00 GB
System type: 64-bit OS, x64-based processor

That problem goes away if you delete the /etc/hosts file (sudo rm /etc/hosts) and then restart bash. Every time bash starts it will then update hosts with the proper information ... theoretically. If you need to make permanent changes to /etc/hosts, you can then edit the file (sudo nano /etc/hosts or something) and follow instructions to remove a line, then make changes.

This error also happens to be fixed if you do a new install with the current insider builds.  It's just a weird bug that showed up a while ago.

The proposed solution by rodrymbo worked for me:
"delete the /etc/hosts file (sudo rm /etc/hosts) and then restart bash"
Thank you very much! I saved me a lot of time!

@livi0 Would you mind closing the topic so the admins don't have to do it later?


Slider container init with negative value on mobile

Bug is related to

[x] embla-carousel (core package)
[ ] embla-carousel-react
[ ] embla-carousel-autoplay
[ ] embla-carousel-auto-height
[ ] embla-carousel-class-names
[ ] embla-carousel-docs (documentation website)

Embla Carousel version

^6.1.1

Describe the bug

When I open pages mentioned below on Mobile, the slider gets negative translate3

CodeSandbox

https://codesandbox.io/s/snowy-meadow-168ddu

Steps to reproduce

Go to (https://codesandbox.io/s/snowy-meadow-168ddu)
Check product list with class products-list__main  slider in index.html, brand-campaign.html
Open the pages in Mobile (Safari) (might need some refreshes to reproduce it)
See the bug

https://user-images.githubusercontent.com/10485129/167104136-cebb74df-8c86-46a1-b94c-4b64b4aea315.mp4
Expected behavior

It should reset the slider translate3d to 0,0,0

Additional context

Broswer: Safari
Device: iPhone 12, iPhone12Pro

@AhmedAbdulrahman please let me know when you’ve had the chance to try my suggestion and if it solves the problem.


[script-options] treated a filename

On the command line [script-options] is treated as part of the filename if the option does not begin with - or --, for example:
forever script.js option

results in the error:
script /home/john/script.js option does not exist.

I'm using forever v0.7.5 and node v0.6.5

Fixed! Thanks for the heads-up!


Remove need for pub in url

I've been exploring JuDoc for a bit, and one thing I noticed that doesn't seem ideal is having the pub directory in the URL name. Jekyll manages this by having a folder _site, but not sure how it is re-writing things so that directory isn't part of the URL

That's a fair request but I'm currently not sure how to  support it (help is welcome). I know it can be done with  .htaccess but that would only  be an option for people who are  using their own hosting.
If someone has a clear idea of how this works with Hugo or Jekyll, I'll be happy to  learn and try to implement something similar.
PS: what I like with the current state of things is that the structure is consistent locally, online, and on the repo. But I would be in favour of supporting an alternative way that looks like hugo/jekyll.

Yeah, the more I look at it, it might be just a convention for GitHub Pages. Jekyll does this, as well as the R one (knitr maybe?). Of course, I recognize that not everyone is using GitHub Pages :)
I'll take a look and see if I can figure something out. I'd love to move from Jekyll to JuDoc, would make life a lot easier since I don't know ruby

I think this: https://gist.github.com/cobyism/4730490 shows a step by  step  way of  doing things. I'll experiment with it (I want to make sure I get this right before rushing anything 😄).

It appears this all works by having a subfolder with the "page name", then a file as index.html. Leaving the index.html off the end makes it have the nice like permalink

In my git repo, these folders don't exist, so I suspect that GitHub Pages creates them behind the scenes with Jekyll. In implementing this ourselves, we'd have to check in the folder/index.html files, since GitHub wouldn't know how to build them.

Thanks! so I think there's two things here:

machinery to push stuff on gh-pages (that would solve the /pub/ thing)
machinery to have /name/ instead of /name.html

first thing
Would require something like:

generate all files in a _site subfolder with a proper structure
have the serve function watch that folder for changes
push the content of  that _site folder to the gh-pages with the gymnastic suggested in one of the pages above
deploy that gh-pages

second thing

have each page be an index.html of an appropriate folder
use meta canonical tags

Things to do
Remains for me to think about how this would work in practice so that I don't break everything for people who  are using things as they are now :)

I’m still planning on taking a look. It seems like this could be part of the new site function, and then upon serve(), we could check which directory to serve from

Awesome, thanks

Ok I've now had the time to look into  this in some detail. It seems reasonably straightforward but will require significant changes to a few things. Below is  a full plan including how I think it can be made backward compatible so that people updating Franklin with an existing website can just keep using things as they were.
New approach
The overview is as follows:

have a _site folder where the generated content goes
in that _site folder, every subpage has its own folder with an  index.html, this allows for URL like username.github.io/root/page1 to be valid (no need to add ...html at the end), root can either be empty (user website) or non-empty (project website)

Ex:
.
├── assets
├── css
├── index.html                    # landing page
├── menu1
│   └── index.html                # accessible at .../menu1/

have _site to be on its own  gh-pages worktree following essentially: https://sangsoonam.github.io/2019/02/08/using-git-worktree-to-deploy-github-pages.html note that the name of the branch has to be gh-pages for GitHub
with GitLab it's different in that stuff has to be in a dedicated public/ folder; we could  use a script that pulls that from the gh-pages branch but that's maybe unnecessarily  complicated.
with arbitrary provider (e.g. Netlify) again it's probably better to have a target folder in which everything is generated

So for non-Github deployment, there would need to be a global var to select an output dir, I'm yet to test this with netlify.
Changes to FranklinTemplates

bring everything from src/ one level up
add a _site folder, put assets/ and libs/ in it
general adjustments to  make the template deployment work with this

Changes to Franklin

read global var to see whether to use the gh-pages approach or a target folder approach

first approach: add _site as a worktree etc and add _site to the .gitignore
second approach, generate everything in _site and push

adjust all paths specs to generate files in _site and pages in /pagename/index.html

Make stuff backward compatible

add a @def newdeploy = false to config.md, everything stays the same as before.

Fingers crossed this will be done the coming week, I'll probably need patient folks to test it all works without breaking everything!

This is now implemented in #356 modulo a few additional tests and some small utils to help  setup the gh-pages branch as necessary, I'm hopeful this will be  merged by the weekend.

Wow, great work! I’m traveling now, but I hope to check this out soon. I’d love to convert my Jekyll blog, and if I can do that with Julia code, I’d be happy to make a converter plugin/package

On Feb 12, 2020, at 9:50 AM, Thibaut Lienart<EMAIL_ADDRESS>wrote:
This is now implemented in #356 modulo a few additional tests and some small utils to help setup the gh-pages branch as necessary, I'm hopeful this will be merged by the weekend.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

This is now closed by #356 and the 0.6 release. Feedback welcome!


Why is polymer loaded with only html imports?

I'm new to polymer and am trying to understand how to load it. I'm reading this
https://www.polymer-project.org/2.0/start/quick-tour
In their first simple example, they load a polyfill
<script src="https://polygit.org/components/webcomponentsjs/webcomponents-loader.js"></script>

which I understand the reason. But the next part, they load a html file, which appears to load the main polymer app.
They load it with a html import to here
https://polygit.org/components/polymer/polymer-element.html

Which this appears to load a bunch of html files which all have script tags in it.
Then finally to use polymer, you just make a class that extends Polymer.Element.
This seems really strange, to why they chose to import a ton of html files. Why did they not just stuff all that js into 1 javascript polymer library file, like jquery. Or is there a javascript file for polymer like that?
Thanks.

Polymer 2 respects modular approach (and so does jQuery, BTW) but relies on the Web Components.
HTML imports is now a Chrome-only spec not adopted by evergreen browsers, that's true. But it was a first attempt to standartize loading resources, landed in 2013 - long before ES modules proposal, before Webpack etc.
You could use webpack loader if you don't like HTML imports.

It's not that I don't like html imports, but In my own project, I import modules by js script url. And so html imports to load a main library seems weird. Is there no single js file that loads the entire polymer element class?

I guess this should be clear now and can be closed as well as #4775?
/cc @TimvdLippe

You'll be pleased to know that in we'll be using the ES Module loader in Polymer 3.x.
We are still exploring all of the ways to author elements that would feel satisfying for users (build steps to allow separate HTML files, new specs for HTML to be natively loaded by ES modules, etc), but HTML Imports in their current form will not be used by future version of Polymer.

What is the ES Module loader?

@TheInvoker see https://whatwg.github.io/loader

@TheInvoker @web-padawan the MDN article on import might be more useful:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import
Not sure how relevant the stuff in that loader spec is.

I like how Polymer 3 is headed towards native ES6 modules, but having to stringify my HTML into the JS doesn't feel right. Hopefully in the future we'll have a way to separate HTML, CSS, JS. I really liked Polymer 2, but would like to get onboard more with ES6 modules as they seem like a really solid, long term solution (minus the side affects mentioned).

@web-padawan hello ,  safari didn't support html imports ,but why it can run polymer in normal;sorry for my poor English.

@vitawt Safari (as well as Firefox, IE and Edge) uses the webcomponentsjs polyfill for HTML imports.


App: Add topic alphabetical overview & detail page

We need a page similar to the current website with an overview of all the topics.
Acceptance criteria

Create a new Topics page (slug: topics)
List all topics alphabetically (just a list of links)
Clicking a topic brings the user to the topic page with an overview of all posts in that topic

Reuse the ContentTile but display all the posts, don't put it in a scrollable viewer.

Note: this is intentionally a very simple version of #320, to get us started. Make everything as simple as possible.

[ ] Zoom images on Topics Overview page
[ ] Remove the yellow effect as we dont use it anywhere
[ ] Make the Topic title on dark mode more lighter

Check if the content is sorted alphabetically by title.


builder.loadConfig must configure plugin loader as well

In https://github.com/systemjs/builder/blob/master/index.js#L167, it is just configuring builder.loader, when builder.pluginLoader must also be called with the same configuration.
From https://github.com/systemjs/builder/issues/42.

Fixed in https://github.com/systemjs/builder/commit/93566a733ad55d144cb8579005dab2634ffdeba7.

@guybedford I tried test your fix and it kind of work however after your fix I am not able to overwrite loader.baseURL in my gulpfile. We have been discussing the reason to overwrite baseUrl in issue #23 see this comment. Thanks

@martinmicunda I've updated the documentation in https://github.com/systemjs/builder#setting-configuration. You can use a builder.config call here.

It's working great for me .. thanks

Excellent, thanks for letting me know.


[question] Plotting portable plots

Hello,
For plotting the new portable plots is it enough to fill (and check) the "Pool Contract Address" field?
Is it ok to leave empty the "Farmer Public Key" and "Pool Public Key" even if we want to plot without having the keys on that machine?

Hey @ClementN ,
I personally have not tried pool plotting yet, so perhaps someone can correct me if I am wrong, but you will still want to put in your Farmer Public Key when creating portable plots. The Pool Public Key parameter cannot be used when using the Pool Contract parameter which is why I have that field disabled when you check the pool contract checkbox. Again, I have not made any portable plots myself so I wouldn't go off just my word.

I confirm your answer is confirmed by tests.
Thank you very much


enable EBITENGINE_INTERNAL_IMAGES_KEY on browsers

This is forked from #2265. Probably downlonding a zip file is fine.

/CC @superloach I separated this issue from the original issue #2265 in order to avoid a big change. Now it's ready to implement EBITENGINE_INTERNAL_IMAGES_KEY thanks to your work at #2265 :-) If you are interested in it, I'm very happy to review your PR

Absolutely, after I implement Termination I will look back at this. My method for creating a ZIP worked, but it required exposing the ID from graphicscommand into restorable.

Absolutely, after I implement Termination I will look back at this. My method for creating a ZIP worked, but it required exposing the ID from graphicscommand into restorable.

I still would like to avoid exposing IDs, so let me think how to implement this.

We could use a different identifier for the image names, like the image pointer value, or simply a counter in DumpImages

Exposing an ID from one internal package to another isn't the worst thing, though

This is my personal preference but I would like to avoid properties whenever possible even though this is in an internal package.

Totally understood. Just not really sure how I would solve it, since my solution would just be to expose it :P

Any new thoughts on this?

Sorry I was quite busy for a while. Would it be fine to you to send a PR with your current idea, and then think what we should do based on the PR?

Sounds good, I'll put something together and we'll work from there :)

a thought: since on desktop INTERNAL_IMAGES_KEY just dumps a bunch of files, is it necessary to create a zipfile for browsers?

Yeah, creating a zip seems the way to go.

If a zipfile isn't necessary, the simplest fix here would just be ignoring the error in dumpInternalImages on JS

What error?

The error from mkdir, if we were to leave the code as-is for JS

I'll create a zip though :)


Added contact me section

Regarding issue  #4
1- Added contact me section

@s-dabral Kindly give more specific PR name! Makes it easier to understand what the PR does

@s-dabral Thank you for the PR!! 🚀Merging into main !


Logo for Oracle Linux

Hello. Thank you for your project. I have a request. Could you include in your project support for Oracle Linux?
Here is the link for official website.
Thank you.

Yes, I will work on it soon!

This was my first try:

I decided to make it symmetrical, which turned out like this:

which is the current version (can be found in the oracle_logo branch).
If you like the second version I will add that one to main. Let me know what you think.

which is the current version (can be found in the oracle_logo branch).

Hello. I think the first version is very well done. You can leave it. Thank you very much for your hard work.

Hello. I think the second version (symmetrical) is very well done. You can leave it. Thank you very much for your hard work.

Thank you for the feedback, the logo is now available in version 2.7.0


MIC-257

Codecov Report
Attention: Patch coverage is 94.11765% with 2 lines in your changes missing coverage. Please review.

Project coverage is 82.65%. Comparing base (bc861ca) to head (6473c36).

Files
Patch %
Lines

...ortinterventionplanapi/domain/AffectedComponent.kt
91.66%
1 Missing :warning:

...ngesupportinterventionplanapi/entity/CsipRecord.kt
85.71%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##               main      #60      +/-   ##
============================================
- Coverage     82.91%   82.65%   -0.27%
- Complexity      432      434       +2
============================================
  Files           106      107       +1
  Lines          1692     1672      -20
  Branches         45       46       +1
============================================
- Hits           1403     1382      -21
- Misses          268      269       +1
  Partials         21       21

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


Update execute() method

In the official definition of Flight's routes, it is allowed to express the class callables as an array consisting of
[string, string] // static class
or
[object , string] // object instance
In the second case, already in the definition we have to write:
[new MyClass (), 'myMethod']
which immediately causes the class constructor execution, and this can cause problems.
With the code proposed by me, however, the object instance will be created only when the route will actually be invoked.
So, even for non-static classes, we can simply write:
['myClass', 'myMethod']
avoiding the immediate execution of the constructor.

If this is still an issue you'd like to address, go ahead an open up an issue so it can be discussed further.


When i added a bot to group chat, it has stopped working

I made a simple bot using Echo Example.
It was doing fine untile i added it to group chat.
And my bot just broke after that, he couldn't write messages nor in group chat nor in my one-on-one chat with me.
I change privacy settings for group chats and i reloaded bot multiple times.
Please help, i don't get something.

do you receive any exception? what version do you use? what environment?

I didn't get any exceptions, no errors, everything fine. I made one interesting thing. I deleted my bot and created new one with new token, and it helped: i could talk with him one to one. But when i added him to group, it broke again.
I don't know how to see which version i use and my nuget packet manager just not opening : |
I think problem is in update method or something, but this bug driving me crazy

can't reproduce... can you post the update json which telegram sends you?

well, i reinstalled nuget and found out that i was using Telegram.Bot.7.0.0 i installed 10.3.0
so i rewrote code using new async functions
but i still losing something

can't see an error in your screenshots

no matter what i send to my bot in telegram chat, he don't get it and don't response. and it all began after bot joined in group chat

looks like the update is no update.Message.Type == TextMessage?
i would also suggest that you use StartReceiving and the events

i checked, message type is right, so there is no mistake.
but i want to try to use StartReceiving and the events. could you send me code examples which use Telegram.Bot.10.3.0?

updated the telegram.bot.examples repo

you da real mvp.
thank you dude


Support for LOCALDOMAIN and search

I think we currently do not support search nor LOCALDOMAIN (env variable for per-process override).

search support should also respect ndots option which acording to resolv.c should check if there is enough dots in queried domain before combining it with search domains.


Add the cassandra implementation for the dependency and span store.

Coverage remained the same at 100.0% when pulling e6df9328bee1b784e973c909e312aae1140ad854 on rooz/add-cassandra-storage-implementation into db6587b901f647f0101c9452b47415e06bb47ed1 on master.

Coverage remained the same at 100.0% when pulling 11e0e87499e13df11bab586f7a607a52f1ec239b on rooz/add-cassandra-storage-implementation into db6587b901f647f0101c9452b47415e06bb47ed1 on master.

Coverage remained the same at 100.0% when pulling a585f67d04b9421f0bb86fa29536ea032cd0a43a on rooz/add-cassandra-storage-implementation into db6587b901f647f0101c9452b47415e06bb47ed1 on master.


Post release automated changes for core releases

Post release automated changes for azure-rest-core-client

API change check
API changes are not detected in this pull request.