T265 will not open in realsense-viewer

Required Info

Camera Model
T265

Firmware Version
Version Installed when Shipped (won't open in viewer)

Operating System & Version
Ubuntu 16.04

Kernel Version (Linux Only)
4.15.0-45-generic

Platform
Dell Precision 7510 (i7-6920HQ)  and Hades Canyon NUC8i7HVK

SDK Version
v2.18.1

Language
N/A

Segment
Robot/others

Issue Description
We are unable to open the T265 in realsense-viewer, it results in this message in the terminal:
01/03 15:43:52,382 WARNING [139827475371776] (types.cpp:57) set_pu(id=3) failed! Last Error: Input/output error  01/03 15:43:52,382 WARNING [139827475371776] (sensor.cpp:725) Exception was thrown when inspecting properties of a sensor
when the realsense-viewer software is run on the NUC as well as laptop. Doesn't matter what port it is plugged into, still results in same issue.
When I lsusb it shows:
Bus 001 Device 009: ID 03e7:2150
Interestingly no Intel Corp. name following it like there is with D435 and the D435 works great in realsense-viewer on both computers.
(lsusb for D435 shows Bus 002 Device 002: ID 8086:0b07 Intel Corp. )
Has anyone else had issues with their T265? @dorodnic  I know you helped out with our issue on the D435i (fixed in v2.18.1) in  #realsense-viewer, was curious if you have seen anything like this with T265 yet.
#3129

Does seem to work in Windows 10 Pro Version 1809 (OS Build 17763.316) with SDK v2.18.1 though, was it maybe not tested in Linux fully yet? Sadly using Windows is not an option as the system must be implemented in Linux. But at least this shows the device works, just not in a way useful to our needs.

Hi @bperseghetti
Everything should be supported on Linux as well.
Maybe udev rules are missing? (any Permission Denied errors in the output?)
Another questions is how did you install the SDK? Is this from apt or did you build it from source?
When building the SDK from source, we require internet connection to download and embed T265 firmware into the binary (since the module does not come with firmware on board)
Sometimes when behind proxy, CMake will fail to connect and print something to the extent of building without T265. Apt version should be good.

Hi @bperseghetti,
You can try to use the prebuilt dkms and realsense-viewer app (refer to below link) to run T265. If the T265 firmware (ex: <IP_ADDRESS>77) can be loaded correctly from realsense-viewer, you should see a renewed VID:PID as 8087:0b37.
https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md

ubuntu 18.04,
sdk 2.18.1
realsense viewer wit t265 works perfectly

@dorodnic thank you for your very fast reply, sorry I wasn't able to get back with you as fast. I had installed from source but grep of build didn't show any related issues/warns. I followed the advice to install from apt but first made sure to sudo make uninstall and remove all the files installed from source build followed by rm -rf the repo. I then followed the installation instructions for 16.04 from apt and it all installed without any errors or issues, furthermore I installed the -dbg and -dev packages just to play it safe and then restarted my machine (to play it extra safe). It appears that it has not helped as running realsense-viewer results in:
04/03 16:14:17,315 WARNING [140486059050752] (types.cpp:57) set_pu(id=3) failed! Last Error: Input/output error  04/03 16:14:17,315 WARNING [140486059050752] (sensor.cpp:725) Exception was thrown when inspecting properties of a sensor
@RealSenseCustomerSupport weirdly my VID:PID from lsusb for the device changed to:
Bus 001 Device 007: ID 03e7:2150
When I run which realsense-viewer I get:
/usr/bin/realsense-viewer

Hi @bperseghetti,
Suggest to refer to distribution_linux.md doc to install the prebuilt apps. ($ sudo apt-get install librealsense2-utils) And, see how the prebuilt realsense-viewer works.
You may not successfully build TM2 (BUILD_WITH_TM2 is ON). Or, probably, TM2 firmware is not downloaded successfully. You can also check if target.mvcmd file in /third-party/libtm/resources.

The good news is that T265 is detected on your system (03e7:2150)
Did you try to run rs-enumerate-devices?

Hello@bperseghetti,
Did you manage to export the displayed trajectory to any kind of file ? Could you please share it ?
I don't know yet if the device would be useful for my project, so I would like to see what data I get precisely and in what format.

@dorodnic running rs-enumerate-devices:
No device detected. Is it plugged in?
lsusb still shows:
Bus 001 Device 006: ID 03e7:2150
modinfo uvcvideo | grep "version:" results in:
version:        1.1.2.realsense-1.3.4      srcversion:     C4FB5E9B212E9C39ED6CD7C
@RealSenseCustomerSupport that is the directions that I followed for installing it (through apt) to play it safe I also followed instructions to remove/purge all realsense dpkg for a reinstall just in case:
dpkg -l | grep "realsense" | cut -d " " -f 3 | xargs sudo dpkg --purge
followed by removing the apt repo:
sudo add-apt-repository -r "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main" -u
and reinstalled by:

sudo apt-key adv --keyserver keys.gnupg.net --recv-key C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C8B3A55A6F3EFCDE

sudo add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main" -u

sudo apt update

sudo apt-get install librealsense2-dkms

sudo apt-get install librealsense2-utils

sudo apt-get install librealsense2-dev

sudo apt-get install librealsense2-dbg

sudo shutdown -r now

Resulted in exact same issues where it is not running correctly in realsense-viewer with same warns I have posted before and same exact lsusb, rs-enumerate-devices and uvcvideo version.
@jattiogbe I'm only using Linux for my use applications but soon as I get it running correctly in Linux will upload examples of it running and data output stream.

Thanks for the info @bperseghetti .
I wish you good luck on your project :)

@bperseghetti, I encounter the same case with my machine. If you have builded SDK with TM2 (BUILD_WITH_TM2 is ON) successfully, you can run command: $  sudo realsense-viewer  in your OS terminal, it works in my machine.

Hello
chunyang-zhang

@chunyang-zhang - If sudo solved the issue for you, you should be able to do:
sudo cp config/99-realsense-libusb.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules && udevadm trigger
sudo rm ~/.realsense-config.json

And then run the SDK tools without sudo

@dorodnic  thanks a lot ! It runs very well without sudo

Hi @bperseghetti,
Do you have any good progress? similar issue with @chunyang-zhang?

@RealSenseCustomerSupport I'm having the same issues as @bperseghetti, running Ubuntu 16.04.
I've tried installing from apt repositories and building from source (both v2.19.0)
The binaries rs-capture and rs-pose both work fine.
I noticed that I can get the USB ID to update to the correct value of 0b37 by running rs-pose, but I'm not sure that the firmware is being updated since it is not persistent. Here are the steps to reproduce:

Plug T265 into USB3 port
lsusb outputs ID 03e7:2150 _
run rs-pose
lsusb outputs ID 8087:0b37 Intel Corp..
realsense-viewer outputs (sensor.cpp:753) Exception was thrown when inspecting properties of a sensor`
rs-enumerate-devices outputs No device detected. Is it plugged in?
Unplug/Replug the T265
lsusb outputs ID 03e7:2150 _

Hi @antmusco,

Any more dmesg and librealsense logs beteen step 3 and step 5?
Indeed, "rs-enumerate-devices" can't work for T265, need to be addressed.

Hi @antmusco,
Please also run "lsusb -v" with more usb info.

Here is the dmesg output and lsusb -v immediately after the associated steps:

Plug T265 into USB3 port

[ 3088.626937] usb 1-4: new high-speed USB device number 6 using xhci_hcd
[ 3088.775782] usb 1-4: New USB device found, idVendor=03e7, idProduct=2150
[ 3088.775788] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3088.775792] usb 1-4: Product: Movidius MA2X5X
[ 3088.775796] usb 1-4: Manufacturer: Movidius Ltd.
[ 3088.775799] usb 1-4: SerialNumber: 03e72150

lsusb_2150.txt

run rs-pose

[ 3144.708740] usb 1-4: USB disconnect, device number 6
[ 3145.230738] usb 2-5: new SuperSpeed USB device number 3 using xhci_hcd
[ 3145.251843] usb 2-5: New USB device found, idVendor=8087, idProduct=0b37
[ 3145.251849] usb 2-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3145.251852] usb 2-5: Product: Intel(R) RealSense(TM) Tracking Camera T265
[ 3145.251856] usb 2-5: Manufacturer: Intel(R) Corporation
[ 3145.251859] usb 2-5: SerialNumber:<PHONE_NUMBER>760000

lsusb_0b37.txt

@dorodnic @RealSenseCustomerSupport @chunyang-zhang  Thanks for the help, still having issues with it on laptop, I think it might have to do with interference of the built-in webcam. I will have a longer update of all my findings between 6 different systems, just been swamped with other more pressing work to give a quality response. As a side note @antmusco do you have a built in camera on the system you are trying to run it on? I found that switching to a system that doesn't have one lets the T265 work. Or at least it worked on my Desktop with 16.04 and using v2.18.1. I will update more info on all the different issues/solutions I found probably over the weekend or maybe on Monday, just didn't want people to think that I was ignoring the issue/thread.

@bperseghetti I'm running on a laptop with a camera, yes. I'm able to use the API successfully; only realsense-viewer is having the issue.

Hi @antmusco, @bperseghetti,
Several steps for further check:

re-plug T265
run "$ sudo udevadm monitor"
enable librealsense log file "export LRS_LOG_LEVEL=DEBUG" and launch realsense-viewer in another terminal
show the log in that terminal running above udevadm monitor command. Like to check if any expected uevents
show the librealsense log file

If you can dump the usb traffic log from usbmon. That's also great.

The good news is that T265 is detected on your system (03e7:2150)
Did you try to run rs-enumerate-devices?
when i run rs-enumerate-devices on terminal with T265, terminal show No device detected. Is it plugged in .  Do you have any suggestion?

The good news is that T265 is detected on your system (03e7:2150)
Did you try to run rs-enumerate-devices?

when i run rs-enumerate-devices on terminal with T265, terminal show No device detected. Is it plugged in . Do you have any suggestion?

@RealSenseCustomerSupport
For the following logs, I unplugged the T265, began recording logs, plugged in the T265, and ran realsense-viewer in another terminal with the indicated DEBUG log setting.
Here's the output from the udevadmin monitor:
udev_monitor.txt
Here's the stream output from usbmon:
usbmon_stream.txt
Here's the output using the DEBUG log setting (nothing seems to be new)
$ export LRS_LOG_LEVEL=DEBUG
$ realsense-viewer
 12/03 11:26:28,019 WARNING [139677941581568] (types.cpp:59) set_pu(id=3) failed! Last Error: Input/output error
 12/03 11:26:28,019 WARNING [139677941581568] (sensor.cpp:753) Exception was thrown when inspecting properties of a sensor
 12/03 11:26:33,058 WARNING [139677941581568] (types.cpp:59) set_pu(id=9) failed! Last Error: Input/output error
 12/03 11:26:33,058 WARNING [139677941581568] (sensor.cpp:753) Exception was thrown when inspecting properties of a sensor

Hi @antmusco,

Per udev_monitor.txt and usbmon_stream.txt, I don't see the event for T265. Probably, you start the monitor after T265 connected. If so, it looks the T265 firmware is not loaded correctly, I don't see usb disconnect event and T265 usb device re-enumeration.
From librs log, the warning should be due to another non-realsense USB camera.
Is it feasible to disable the non-realsense USB camera and check if the realsense-viewer can recognize T265?

Adding to this thread that I have the same issue. The errors I'm seeing:
14/03 14:21:10,207 WARNING [140300537014016] (types.cpp:57) set_pu(id=3) failed! Last Error: Input/output error
14/03 14:21:10,207 WARNING [140300537014016] (sensor.cpp:715) Exception was thrown when inspecting properties of a sensor
14/03 14:21:15,314 WARNING [140300537014016] (types.cpp:57) set_pu(id=9) failed! Last Error: Input/output error
14/03 14:21:15,314 WARNING [140300537014016] (sensor.cpp:715) Exception was thrown when inspecting properties of a sensor
This is following instructions to install all packages from the repo, not compiling locally. Ubuntu 16.04, kernel 4.15.
rs-enumerate-devices:
Device info:
Name                          : 	Platform Camera
Serial Number                 : 	1-7-4
Physical Port                 : 	/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/video4linux/video0
Product Id                    : 	58C2
Stream Profiles supported by RGB Camera
Supported modes:                                      stream     resolution fps   format
Color	  640x480	@ 30Hz	RGB8
Color	  640x480	@ 30Hz	Y16
Color	  640x480	@ 30Hz	BGRA8
...
modinfo uvcvideo | grep "version:"
version:        1.1.2.realsense-1.3.4
srcversion:     C4FB5E9B212E9C39ED6CD7C

Hi @zlacelle, @zhuoyueljl,
You can try below workaround to let rs-enumerate-devices work first.
https://github.com/IntelRealSense/librealsense/pull/3439
@zlacelle,
Per your test with the same error, realsense-viewer doesn't work. rs-pose works, right?

@RealSenseCustomerSupport Yes, rs-pose works.
Also, my mistake, I had an older version (2.13) of librealsense2 in /usr/local from using the other cameras before, and hadn't removed it. Removing it makes the realsense-viewer work.
However, the printouts are still there FWIW.

Since this is fixed, if not further question, will close this.

@RealSenseCustomerSupport
Hi there, I'm experiencing the same issue of t265 "no device detected. Is it plugged in?" I tried the aggressive method #3439 to enumerate device but t265 still won't show.
This is happened when I downgraded SDK version from 2.45.0 to 2.42.0. To avoid other version of librealsense2 residual after uninstall I had a fresh reinstall of Ubuntu 20.04. Then I installed the 2.42.0 from source according to [this guide] (https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md). The result is that I can run my d455 without any issue but cannot detect t265.
I got a similar output from usbmsg. Please reopen this issue and take a look into my case.
[ 3295.571179] usb 2-3: USB disconnect, device number 2
[ 3807.580753] usb 3-3: USB disconnect, device number 10
[ 3809.726868] usb 3-3: new high-speed USB device number 11 using xhci_hcd
[ 3809.876183] usb 3-3: New USB device found, idVendor=03e7, idProduct=2150, bcdDevice= 0.01
[ 3809.876186] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3809.876189] usb 3-3: Product: Movidius MA2X5X
[ 3809.876190] usb 3-3: Manufacturer: Movidius Ltd.
[ 3809.876192] usb 3-3: SerialNumber: 03e72150

Device: Intel NUC11
Kernel: 5.8.0-43-generic
SDK: 2.42.0


Fix logs documentation

Some integration were incorrectly documented as "collecting logs". Some others were not documenting log collection correctly.
This PR fixes a few of those mistakes

Overall that looks good.
Thanks for doing this.
My only comment is about mesos, as I'm not sure why we remove the log collection tag as it is supported to collect logs from mesos containers.

We support collecting logs from any container, collection is not related to mesos in particular. If we keep "log collection" for mesos, we should also add it to every other integration that supports containers in order to be consistent.
Mesos doesn't have a log pipeline


Add a Gitter chat badge to README.md

iojs/iojs-el now has a Chat Room on Gitter
@kmargaritis has just created a chat room. You can visit it here: https://gitter.im/iojs/iojs-el.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Awesome!

:wink:


Issue 926

Fixes #926 Cannot open file when coding comment does not match actual encoding
Makes fallback class only return correct number of substitution characters.
Changes default encoding to UTF-8 properly.
Makes GetEncodingFromStream() (only used for the editor detection) return non-throwing encodings.

Were there already failing tests for this? (sorry to be that guy)

I was sure we did, but I'm not finding it now. t may not have been failing in this particular case though.

Ping @huguesv - is it okay with the test now?

:+1:


Feature request - Show conflicting tasks distinctly when they start at the same time

I noticed that right now, if two tasks start at the same time, they are superimposed one on top of the other. If the first (bottom) task ends at a time much before the second task, the first task gets completely hidden underneath the second task.
Do you have any plans to release this is a feature? - so that conflicting tasks are shown distinctly in the calendar view?
If not, I could attempt a fork + PR. Just want to make sure that this isn't something that is already in the works.
Neat library btw, great job!

Hi there, I'm facing the same issue. Do you have any solutions on this? Thanks

+1


Toast Example Step #1 Doesn't Work

With NuGet Windows.Toolkit.Uwp.Notifications version 7.1.2 and a target framework of net6.0-windows, Show() is not available in the ToastContentBuilder class.

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

ID: 11bc1ceb-510e-22c9-1f7a-a421ae52901b
Version Independent ID: 0efae90c-e517-b54d-8e81-ebbd69d2270d
Content: Send a local toast notification from C# apps - Windows apps
Content Source: hub/apps/design/shell/tiles-and-notifications/send-local-toast.md
Product: reunion
Technology: design
GitHub Login: @hickeys
Microsoft Alias: hickeys

Agreed. It's broken.
When you fix it, please make sure to test it on Linux and Mac OS.

I think this is covered by the comment:
// Not seeing the Show() method? Make sure you have version 7.0, and if you're using .NET 6 (or later), then your TFM must be net6.0-windows10.0.17763.0 or greater
You need to be targeting a Windows TFM of a specific version (net6.0-windows10.0.17763.0 or greater).

That wasn’t it either. Tried.

Hello. We apologize for the delay in resolving this issue. As we transition to a new feedback system, we are closing all outstanding issues. Any issues that can be addressed will be tracked using a different internal tool, and we regret that we won't be able to provide further updates on this particular matter. We value your input and assure you that all feedback is reviewed. We recommend visiting the Microsoft Q&A site, where your issue may have already been discussed.


Implement number protocol for PyBytes

resolved: #3883

The  commit history looking weird.
while upstream is RustPython/RustPython, please try git rebase -i upstream/main and remove commits you didn't directly authored.


Should we convert the top level scripts to functions

Question: should we do this? It would break the old-style (before the PowerShell pipeline. Fixes needed by users:

Start using PowerShell module instead of source sync
Dot source the scripts in a step before the actual script execution and remove the .ps1 from the invokation

You won't need to dot source the scripts as this happens automatically when the module is imported.

i.e. - this is all I have in my steps to install the module and run a command.
steps:
  - checkout: self
  - pwsh: |
      Install-Module EnterprisePolicyAsCode -Force
      Install-Module Az.ResourceGraph -Force
  - task: AzurePowerShell@5
    name: Plan
    displayName: Run Build
    inputs:
      azureSubscription: ${{ parameters.serviceConnection }}
      ScriptType: InlineScript
      azurePowerShellVersion: LatestVersion
      pwsh: true
      Inline: |
        Build-DeploymentPlans -PacEnvironmentSelector ${{ parameters.pacEnvironment }} -DefinitionsRootFolder ${{ parameters.definitionsRootFolder }} -devOpsType ado -outputFolder $env:PAC_OUTPUT_FOLDER
  - publish: "$(PAC_OUTPUT_FOLDER)"
    artifact: "policy-plan-${{ parameters.pacEnvironment }}"
    condition: and(succeeded(), or(eq(variables['Plan.deployPolicyChanges'], 'yes'), eq(variables['Plan.deployRoleChanges'], 'yes')))

I will put this pipeline into the starterkit in our dev environment for review.


DynamicValueLookup for properties

I need to support model similar to this:
public class Company
{
    public string Name { get; }
    [DynamicValueLookup("GetCountries", "Countries", "Id", "Name")]
    public string CountryOfOrigin { get; }

    public Company(string name, string countryOfOrigin)
    {
        Name = name;
        CountryOfOrigin = countryOfOrigin;
    }
}

Are there any reasons not to support DynamicValueLookup for properties?

I'm not sure if the Power Apps or Logic Apps designer supports resolving dynamic values for model properties. I will investigate. If it does, I will work to implement that style of usage – which shouldn’t be too difficult if it works anything like dynamic values for operation parameters themselves.

It does, I checked

Yeah that would be great. If you have an example swagger file that I can test with then it shouldn't be too difficult to implement.

I should have this integrated into the next version of T-Rex. I have the code written, but haven't built-out a sample for it yet and/or validated within the designer itself.


Copy local theme overrides from Control to Window

Closes https://github.com/godotengine/godot/issues/69308. This is probably the last missing feature from Windows related to theming.
While this PR manipulates a lot of lines, it doesn't do anything particularly smart. Most of the code is just copied and adapted from control.h/cpp. I've renamed some internal members in Control as well, for consistency. And moved some things in Window for better grouping. Documentation should also be in sync now.
https://user-images.githubusercontent.com/11782833/204636535-63bd7c95-17e2-4bc3-9a1c-b271067d5042.mp4

PS. My plan is to reduce this duplicated code significantly in future, when I can work on the first-class theme properties. But for now this will do.

Changing overrides does not update the window immediately.

Changing overrides does not update the window immediately.

Hmm, it clearly works with popups. Can it be an issue with the editor preview viewport?

Seems like the window does not update on theme change. Changing size will refresh the style.

There doesn't seem to be a dedicated method to update a window like there is for CanvasItems (queue_redraw), but we can consider that theme changes can cause window size changes and thus request that kind of update. I've hooked into an existing method that already does that for when new child nodes are added.
https://user-images.githubusercontent.com/11782833/206257334-1892847e-7acd-4580-b465-ff1786294894.mp4


How to custom TokenEndPoint

I have been creating a new TokenEndPoint to write my custom logic, but how to make it work to
replace the default TokenEndpoint in my AuthorizationServerConfiguration?
Please find my code below.
@FrameworkEndpoint
public class CustomEndPoint {

	public final TokenEndpoint tokenEndPoint;

	public CustomEndPoint(UserRepository userRepository, TokenEndpoint tokenEndPoint) {
		this.userRepository = userRepository;
		this.tokenEndPoint = tokenEndPoint;
	}

	@RequestMapping(value = "/user/login", method=RequestMethod.POST)
	public ResponseEntity<OAuth2AccessToken>  postAccessToken(Principal principal, @RequestParam
			Map<String, String> parameters) throws HttpRequestMethodNotSupportedException {
            // custom logic
       }
}

@Configuration
@EnableAuthorizationServer
public class AuthorizationServerConfiguration extends AuthorizationServerConfigurerAdapter {

   //how to make CustomEndPoint work?

}

did you solve that ?


feat(Hash): add computeHashOnElements

Implementation of computeHashOnElements
reference implementation can be found here: https://github.com/starkware-libs/cairo-lang/blob/13cef109cd811474de114925ee61fd5ac84a25eb/src/starkware/cairo/common/hash_state.py#L6

lgtm! as a followup, would be great to use it here: https://github.com/dontpanicdao/caigo/blob/main/account.go#L90


Height calculation is bugged.

Expected behavior
When rowHeight = 10 and grid item h: 6, item grid height should be 60px.
Actual behavior
It's actually 110px;
Steps to reproduce
GridItem.jsx:204
Math.round(rowHeight * h + Math.max(0, h - 1) * margin[1])

Should be:
Math.round(rowHeight * h)

No idea what Math.max actually does.

I didn't take into consideration that if grid item height is set to 6 it will be calculated as (1 + margin * h). My bad.

@wisniewski94 Can you explain why the calculation works like this?
If I have a grid item with h: 3 and a rowHeight={150} (150px), I expect the grid item to have a total height of 150 * 3 = 450px, but instead the grid item has a height of 510px...

To get the quanta of height, just do the backward math will do. https://github.com/STRML/react-grid-layout/blob/83251e5e682abfa3252ff89d4bacf47fdc1f4270/lib/calculateUtils.js#L136 instead of multiple by your rowHeight, use your expected (height + margin-y) divide by (rowHeight + margin-y).
Probably the reason for that can create a more consistent layout.


parallel: 20220322 -> 20221122

Description of changes
Updating GNU parallel to the latest version.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

There seems to be an error in sandbox builds due to /usr/bin/env

There seems to be an error in sandbox builds due to /usr/bin/env
Perhaps something like:
diff --git a/pkgs/tools/misc/parallel/default.nix b/pkgs/tools/misc/parallel/default.nix
index 9e4af6c7498..72186c7aa87 100644
--- a/pkgs/tools/misc/parallel/default.nix
+++ b/pkgs/tools/misc/parallel/default.nix
@@ -14,6 +14,10 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ makeWrapper ];
   buildInputs = [ perl procps ];

+  preInstall = ''
+    patchShebangs ./src/parallel
+  '';
+
   postInstall = ''
     wrapProgram $out/bin/parallel \
       --prefix PATH : "${lib.makeBinPath [ procps perl coreutils ]}"

I only tested the suggestion with my darwin machine and without sandbox=true, so I am not sure if this fixed the sandbox errors.


Responsibility in MVP Architecture

As I check from architecture I think the one who decide to fetchSurveys should be presenter instead of view ? 🤔

As my understanding

View let presenter know when it is ready.
After presenter is triggered because view tell presenter that it's ready, then presenter fetch for surveys.
But what you implemented is view call presenter.fetchSurvey which breaks the architecture.

@Dekablade01
It's a bit of confusing state because there are some blogs which state exact same thing which I have followed here.
MPV_Blog_1
MVP_Blog_2
To reload data, either we can attach view (view-controller) to the presenter, or we can use delegate. I have followed the delegate pattern.


Root check methods do not work on Android 7

Hello,
I tried to incorporate the module into my app. However, all the 3 root method checks could not detect root. The devices I did the tests on are Samsung Galaxy S5 running LineageOS 14.1 and OnePlus 3T stock Android 7. I found another method checking if the device executes the "su" commands. Succssfully detected root on these two devices, as well as detected no root status on an unrooted Huawei P9 Lite running Android 6 stock. The Java native method used is below. I can make a pull request if you'd like.
private static boolean canExecuteSu() {
        boolean executedSuccesfully;
        try {
            Runtime.getRuntime().exec("su");
            executedSuccesfully = true;
        } catch (Exception e) {
            executedSuccesfully = false;
        }
        return executedSuccesfully;
  }

@eenchev feel free to make the pull request and thanks in advance. Will add you to contributor section once pr is done.Thanks!


Content-type response header incorrect for .wasm

I've just started using sfz 0.6.1 for some WebAssembly development and I've noticed some odd behaviour.
When I request a .wasm file, sfz responds with content-type: application/wasm; charset=utf-8 but this isn't a utf-8 encoded file, it's a binary format. As a result when I try to load the WebAssembly in Firefox 92, it complains about the MIME type not being as expected and having to fallback to a slower instantiation method as a result.
`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:
 TypeError: WebAssembly: Response has unsupported MIME type 'application/wasm; charset=utf-8' expected 'application/wasm'

Here's a curl -v with sfz serving the file
*   Trying <IP_ADDRESS>:5000...
* TCP_NODELAY set
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 5000 (#0)
> GET /pkg/web_rust_bg.wasm HTTP/1.1
> Host: <IP_ADDRESS>:5000
> User-Agent: curl/7.68.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< server: sfz/0.6.1
< cache-control: public, max-age=0
< last-modified: Sat, 02 Oct 2021 14:34:33 GMT
< etag: "1633185273-23174"
< accept-ranges: bytes
< content-type: application/wasm; charset=utf-8
< content-length: 23174
< date: Sat, 02 Oct 2021 19:10:56 GMT
<

For extra context, here's a curl -v with python3 -m http.server serving the file, which does not produce the error
*   Trying <IP_ADDRESS>:8000...
* TCP_NODELAY set
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 8000 (#0)
> GET /pkg/web_rust_bg.wasm HTTP/1.1
> Host: <IP_ADDRESS>:8000
> User-Agent: curl/7.68.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
* HTTP 1.0, assume close after body
< HTTP/1.0 200 OK
< Server: SimpleHTTP/0.6 Python/3.8.10
< Date: Sat, 02 Oct 2021 19:11:38 GMT
< Content-type: application/wasm
< Content-Length: 23174
< Last-Modified: Sat, 02 Oct 2021 14:34:33 GMT
<

Hi, I am going to fix this with a naive patch #77. See if this is suitable for your case. Thanks.

The situation is better after #77 but still not good to blindly guess that all contents defaults to UTF-8. I'll keep this issue to track the integration of charset detection library, such as chardetng. Charset detection may introduce extra I/O on the content, so we need to be careful. Follow how Firefox integrates chardetng may be a good start.
Besides, sfz doesnot leverage hyper Body stream and instead it read all content into memory (as #33 described). This lack might also affect how charset detection would look like in sfz. We'd better address this as well if possible.

I understand charset detection isn't ideal yet, but I had that same issue and #77 did fix it. Could a new version of the crate be published with this fix before the new charset detection stuff is worked in?


fix: Failed to find Flask application or factory in module "wsgi" setup error

Is your pull request related to a problem? Please describe
Fixes #20 bug.
It fixes Error: Failed to find Flask application or factory in module "wsgi". Use "FLASK_APP=wsgi:name to specify one error when setting up the project.
Describe the solution you'd like
Create a separate run.py file in the src folder and export environment variable i.e. FLASK_APP=run.py which helps us to run the create_app view of the fbosbot init.py file
Checklist

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x] The title of my pull request is a short description of the requested changes.
[ ] I have added the label enhancement to my pull request.

LGTM!

@PrashanthPuneriya Thank you for your contribution. Closing this PR now as there are no further changes to be made.
Please feel free to pick an issue in the repo's GitHub  issues.


Am I mis-understanding the meaning of MaskIoU head here?

I checked the paper and really thx for the awesome work and code share!
Previously I thought "MaskIoU" is that you're training the mask with IoU directly (dice loss) -- your predict a mask for box i of class A, and you use the ground of box i of class A to compute IoU and use that as a loss to train your mask-rcnn in a multi-task learning fashion.
Checking the paper more carefully I realized you're feeding the predicted mask to a CNN to compute IoU rather than compute it directly as https://github.com/kevinzakka/pytorch-goodies/blob/master/losses.py#L54  I wonder if this approach is prone to overfitting, have you compared the results with/without "concatenation" and see how much the MaskIoU head is actually relying on RoI feature maps?

I checked the paper and really thx for the awesome work and code share!
Previously I thought "MaskIoU" is that you're training the mask with IoU directly (dice loss) -- your predict a mask for box i of class A, and you use the ground of box i of class A to compute IoU and use that as a loss to train your mask-rcnn in a multi-task learning fashion.
Checking the paper more carefully I realized you're feeding the predicted mask to a CNN to compute IoU rather than compute it directly as https://github.com/kevinzakka/pytorch-goodies/blob/master/losses.py#L54 I wonder if this approach is prone to overfitting, have you compared the results with/without "concatenation" and see how much the MaskIoU head is actually relying on RoI feature maps?

Thanks for your attention. In the paper, we present the results of ResNet-18: mAP=29.3. We have tried only use the mask (without RoI feature) to predict IoU: mAP=28.2. That shows the RoI features are important.


Add uninstall tracker for android app

This PR adds code to track app uninstalls using push-notification

#1


Deeper Menu Nesting

Thanks for the hard work, I like Docz!
Is it possible to have deeper menu nesting? The menu configuration API inside doczrc.js seems like it would support it but I cannot get it to work. Even just 1 or 2 levels deeper would allow for more customizable menu configurations.

Hi dude, unfortunately no, for now you can just order 2 leves 😕


readthedocs rotten

Hi, sorry for the harsh words, but sadly your docs over at readthedocs doesn't really look good, while your project itself does :-/

1.xx chapter persists while this version is outdated and shouldn't been promoted
badge links are broken
TOC doesn't gives an overview
demo links are broken

It would be great for newbies and to attract new users if you might spend some time to cleanup / restructure it, so people are able to see how easy you can use this autocomplete app :-)

I know, we've been sprinting mainly with @blueyed to fix known issues with the code during this semester thought. I've just put the demo server up again, and we surely want the docs and video tutorial to be updated ... And there is still some work to do to have jquery-autocomplete-light unit-tested.
So, yeah, PRs are definitely more appreciated than issues ;)

As said, it's nothing to blame anybody ;-) But good docs make a project feel cool/professional to everybody whos just jumping in from google :+1:

Closing this unproductive issue.
When someone opens a PR to improve the doc we'll review it.


test_field_data_objects_2d is probably exceeding docker memory resource

Probable cause of the following failures?
https://github.com/ansys/pyfluent/actions/runs/5614611907/job/15213189977?pr=1825
https://github.com/ansys/pyfluent/actions/runs/5613685644/job/15210304942
The output of solver..tui.report.system.proc_stats():
------------------------------------------------------------------------------
       | Virtual Mem Usage (GB)   | Resident Mem Usage(GB)   |
ID     | Current      Peak        | Current      Peak        | Page Faults
------------------------------------------------------------------------------
host   | 0.920395     0.937893    | 0.528652     0.540287    | 0
n0     | 2.89402      2.99082     | 0.208725     0.253693    | 1453
n1     | 2.8245       2.87686     | 0.204239     0.250267    | 107
------------------------------------------------------------------------------
Total  | 6.63892      6.80557     | 0.941616     1.04425     | 1560
------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------
                    | Virtual Mem Usage (GB)    | Resident Mem Usage(GB)    | System Mem (GB)
Hostname            | Current      Peak         | Current      Peak         |
------------------------------------------------------------------------------------------------
bde7e834465d        | 6.63892      6.80557      | 0.941616     1.04425      | 31.1929
------------------------------------------------------------------------------------------------
Total               | 6.63892      6.80557      | 0.941616     1.04425      |
------------------------------------------------------------------------------------------------

We can temporarily move the test to nightly till we understand it better.

I think the reason must be something else, not any specific test, see additional failures:
https://github.com/ansys/pyfluent/actions/runs/5614611907/job/15214573303?pr=1825
https://github.com/ansys/pyfluent/actions/runs/5615466500/job/15215868131
https://github.com/ansys/pyfluent/actions/runs/5615275276/job/15215378864
All on different tests

Test failures seem to be fixed here https://github.com/ansys/pyfluent/pull/1825, with the commit referenced above this comment (e4c7f2b), it was apparently indeed due to tty=True
High memory consumption however I would argue is an issue that we should investigate further

We can possibly add some instrumentation to report the memory usage like the timing output (pytest --durations=0). This can be done at any of the 3 levels: container memory from host, system memory within container or Fluent process memory - need to decide which one is the most relevant.

If there is a way for us to log the memory usage of the host itself as well, so we can monitor the memory usage of PyFluent and not only Fluent, that could be very useful.
In regards to the 3 levels you listed, in my understanding all 3 would mainly only be logging Fluent memory consumption (I expect not exactly the same, with small differences). Regardless, assuming the cost of reporting these is negligible, we could have all 3 simultaneously, comparing them could prove useful I think when debugging.


Create a timeline

List of activities and pet projects

Kucoin Volume Monitor - it's a project that allows users to track the unusual buying activity on the Kucoin crypto exchange. The modules/tech that I used for this: pymongo, requests, asyncio, django, javascript. Django was used to build the server that handles the requests from users and sends back the responses with data and required HTML, CSS, Images to load the page on the client-side. This is not common practice to select the MongoDB dmbs between django community but I selected it for the purpose of saving money (MongoDB has a free tire with a maximum capacity of 500mb) and space on the server. What is the purpose of this application you may ask - separate service listens to the closed orders on the market and calculates the size of the order and % from the day volume for the given currency name. If closed order meets the criteria - a query to update the information about the currency with the given name will send the request to update the collection document associated with a currency.
Twitter posts listener - allows handling the tweets that were posted by the Twitter accounts about new contracts or updates of their platforms. When a tweet meets the criteria it will be sent to the telegram destination user (user positional argument that you pass to the related function). The idea of this project was to automate tweet reading from multiple accounts (this depends on the accounts that the user follows on Twitter).

Text for the timeline (my activities) block was added!


Element.documentationComment doesn't work for enum values

Given a source file like this:
enum E {
  /**
   * Documentation comment
   */
  val;
}

Calling documentationComment on the element for val produces null.
Discovered while trying to implement documentationComment support in summaries.

https://codereview.chromium.org/1689303002

@scheglov this was fixed?

I think so.
Closing it now.


Delete hacks related to Error Types

Delete https://github.com/near/near-api-js/blob/master/src/utils/rpc_errors.ts#L88 and other hacks related to Error handling and types when they will be available on near-core.

Just for tracking purposes, this issue can be addressed once https://github.com/near/nearcore/issues/2976#issuecomment-852369972 is implemented and rolled out to all our networks.


repo tagline should mention ApplicationBase

currently the tagline for this repo is:

Configurable Application Examples using the arcgis-boilerplate-js

if someone with admin 🔑 s can update it to mention ApplicationBase instead it'd be super helpful.

updated

thx @kellyhutchins!


Prevent Verilog keywords from being used as names

Here's an example program, where we name a cell wait:
# making a cell named "wait"
import "primitives/core.futil";

component main() -> () {
  cells {
    wait = std_reg(32);
    add = std_add(32);
  }
  wires {
   static<1> group write {
     add.left = wait.out;
     add.right = 32'd1;
     wait.write_en = 1'b1;
     wait.in = add.out;
   }
  }
  control {
      write;
  }
}

Running this with fud exec <file_name>.futil --to dat --through verilog yields
[fud] ERROR: `/opt/verilator/bin/verilator --trace /tmp/tmpcsy0je3b /scratch/ad739/calyx/fud/icarus/tb.sv --binary --top-module toplevel --Mdir /tmp/tmpq176rkir -fno-inline>&2' failed:
=====STDERR=====
%Error: /tmp/tmpcsy0je3b:355:3: syntax error, unexpected wait, expecting IDENTIFIER or randomize
  355 | ) wait (
      |   ^~~~
%Error: Exiting due to 1 error(s)

=====STDOUT=====

Perhaps this kind of code should produce a Calyx error instead of a Verilator one? This way the Calyx isn't producing malformed Verilog code.

Oops, looks like there's already a file that handles these issues. Adding wait  (and, another one I found, break) to reserved_names.rs should do the trick

@polybeandip can you link the PR to this issue when you have one? I'm going to mark the issue stale in case there is no activity on this for a bit


world.createImpuselJoint() returns undefined if the joint is revolute.

This is when using 0.8.0-alpha.1 @dimforge/rapier2d
Previously it has worked as intended and returned the created joint.
If taking the example from the docs:
let params = RAPIER.JointData.revolute({ x: 0.0, y: 1.0 }, { x: 0.0, y: -3.0 });
let joint = world.createImpulseJoint(params, body1, body2);

joint would be undefined if trying to create a revolute joint. It works fine when using fixed or prismatic. The joint is created and can be found in the world using world.impulseJoints.forEachJointHandle or world.impulseJoints.forEachJoint, but world.impulseJoints.get() will return undefined.

this is already fixed but not released yet, you can manually build from master branch and have a try, it's not yet published onto NPM.

Thank you for quick reply. I checked the issues, but forgot to check the solved issues!


[UI] Add deployment modal for Grid view

Current Behavior

Add Deployment modal that is seen in Lifecycle page when a un/deploy action is performed in Grid View of Filter, Applications and Patterns.
Desired Behavior

Implementation

Reference: https://github.com/meshery/meshery/blob/b99f80e42b8dbbf14b8a72ff28bd2ab48d095188/ui/components/MesheryApplications.js#L736
Acceptance Tests

Mockups

Contributor Guides and Resources

🎨 Wireframes and designs for Meshery UI in Figma
🖥 Contributing to Meshery UI
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

Let's keep the person implementing this (@MUzairS15), so that the UX is consistent.

@leecalcote  if you could pls add some issues to the good first issues , it would be quite helpful as there are just 4 that too assigned !

https://github.com/meshery/meshery/pull/5765


Add ligheval --list-tasks

This command should list all the available tasks (in extended tasks and the task table)

Hello,
I would like to work on this. Do you need special formatting for the list?

Hi, thanks for your interest!
I think providing the tasks grouped by suite would be nice, for example
- lighteval: all the tasks available, sorted alphabetically
- community: all the tasks available, sorted alphabetically
...

I understand. I'm working on it now.


ENYO-6245: agate/Heading: styles for spacing prop are not applied

Spacing styles now get added to className

I was mistaken about where spacing is applied, abandoning this :pr:


Writing multiple iterations to a single file

First off, thanks so much for creating the json-data-generator. It's exactly what I needed at this point in my project, and it will be invaluable going forward. Thanks for your hard work!
Can you recommend the best way (i.e. the correct place in the code) to modify the workflows so as to write all events/iterations to a single file, as opposed to a single file for each workflow iteration? I'm not fluent in Java, so I'm not certain where/how to perform this change.
Thanks.

Hey @AaronJessen did you figure this out? Just saw you closed it. I haven't had a chance to look at it yet, so let me know if you solved this.

Hi Andrew,
I did manage to solve this by adding all generated Events to an ArrayList (without committing them to a file/logger), and then performing the logEvent iteration outside of the while loop.
I also added a quantity parameter to each configuration step, so I could easily generate 1,000 or even a million instances of a given config step that all get added to a single file for easy importing into a NoSQL database.
`
// Store all events in this ArrayList for future processing by each logger type
ArrayList events = new ArrayList();
Iterator it = workflow.getSteps().iterator();
    while (running && it.hasNext()) {
        WorkflowStep step = it.next();

        // custom "quantity" parameter added to each configuration step to allow for looping
        int stepQuantity = step.getQuantity();
        int stepQuantityRun = 0;

        while (stepQuantityRun < stepQuantity) {
            executeStep(step);
            stepQuantityRun++;
        }

        if (!it.hasNext() && workflow.isRepeatWorkflow()) {
            it = workflow.getSteps().iterator();

            try {
                performWorkflowSleep(workflow);
            } catch (InterruptedException ie) {
                //wake up!
                running = false;
                break;
            }
        }
    }

    // Log all events here, instead, by concatenating the Events ArrayList from above
    for (EventLogger l : eventLoggers) {
        l.logEvent(String.join(",", events)
                , null);
    }`

Here's the executeStep method:
`try {
String event = generateEvent(wrapper);
                // Add the events to the Events Array
                events.add(event);

                try {
                    performEventSleep(workflow);
                } catch (InterruptedException ie) {
                    //wake up!
                    running = false;
                    break;
                }
            } catch (IOException ioe) {
                log.error("Error generating json event", ioe);
            }

`
I'm building a CRM system, and I'd like the mock data to have relationships built in, despite the records continuing to be selected randomly. My goal is to have an Account/Contact class that not only randomly pulls a Name from the list of companies/contacts, but when company "XYZ" is selected, an ID field of "123" would always be included as well (instead of a random alphaNumeric type). In that way, the mock data has relationships built into it and is much more useful for intricate systems, such as a CRM app.
I'm hacking around and am getting closer to a solution, but again, I'm completely new to Java, so the progress is slow. Any suggestions would be greatly appreciated.

Hi Andrew,
I did manage to solve this by adding all generated Events to an ArrayList (without committing them to a file/logger), and then performing the logEvent iteration outside of the while loop.
I also added a quantity parameter to each configuration step, so I could easily generate 1,000 or even a million instances of a given config step that all get added to a single file for easy importing into a NoSQL database.
...

Hello @AaronJessen and @andrewserff ,
I'm very interested in your open source software to generate large JSON datasets to evaluate my own software. Like @AaronJessen , I need to generate one file which contains all the generated objects and the quantity parameter would be very useful for me.
Unfortunately, I'm not able to use @AaronJessen pieces of code to do it on my own. Have you forked the project and made a version with your improvements? If you have, I will be very grateful if you can share it with me.
Sorry for re-opening this old issue but I need  some insights.
Best,
Nelly


Invalid oracle type determined

Hello.
When selecting, the types of fields are incorrectly determined, for example, both DATE and TIMESTAMP are of type SQLT_TIMESTAMP with size 8, while DATE must be of type SQLT_DATE.
In reality, the types and lengths are different:
select dump(sysdate) date_bytes, dump(localtimestamp) ts_bytes from dual

Sorry, not following what the issue is. Do you have some example code?

Example:
create table TEST
(
  type_date DATE,
  type_tmst TIMESTAMP(6)
)

package main

import (
	"database/sql"
	"fmt"
	_ "github.com/mattn/go-oci8"
	"log"
)

func main() {
	var (
		err error
	)
	db, err := sql.Open("oci8", "mondb/kFTH$LzS7Uw6QeNf_5ov@MONDB_KB")
	if err != nil {
		log.Fatalf("%v", err)
	}
	defer func() {
		_ = db.Close()
	}()
	err = db.Ping()
	if err != nil {
		log.Fatalf("database unavailable: %v", err)
	}
	rows, err := db.Query("select * from test")
	if err != nil {
		log.Fatalf("query failed: %v", err)
	}
	types, err := rows.ColumnTypes()
	if err != nil {
		log.Fatalf("wtf???: %v", err)
	}
	for _, header := range types {
		var size int64
		if length, ok := header.Length(); ok {
			size = length
		}
		fmt.Printf("Name: %v, Type: %v, Length: %v\n", header.Name(), header.DatabaseTypeName(), size)
	}
}

Output:
Name: TYPE_DATE,	Type: SQLT_TIMESTAMP,	Length: 8
Name: TYPE_TMST,	Type: SQLT_TIMESTAMP,	Length: 8

Example:
create table TEST
(
  type_date DATE,
  type_tmst TIMESTAMP(6)
)

package main

import (
	"database/sql"
	"fmt"
	_ "github.com/mattn/go-oci8"
	"log"
)

func main() {
	var (
		err error
	)
	db, err := sql.Open("oci8", "login/password@tns")
	if err != nil {
		log.Fatalf("%v", err)
	}
	defer func() {
		_ = db.Close()
	}()
	err = db.Ping()
	if err != nil {
		log.Fatalf("database unavailable: %v", err)
	}
	rows, err := db.Query("select * from test")
	if err != nil {
		log.Fatalf("query failed: %v", err)
	}
	types, err := rows.ColumnTypes()
	if err != nil {
		log.Fatalf("wtf???: %v", err)
	}
	for _, header := range types {
		var size int64
		if length, ok := header.Length(); ok {
			size = length
		}
		fmt.Printf("Name: %v, Type: %v, Length: %v\n", header.Name(), header.DatabaseTypeName(), size)
	}
}

Output:
Name: TYPE_DATE,	Type: SQLT_TIMESTAMP,	Length: 8
Name: TYPE_TMST,	Type: SQLT_TIMESTAMP,	Length: 8

Please see code and note in code:
https://github.com/mattn/go-oci8/blob/5982e16ac11f4252659e5b98bcede0fddd3230e2/rows.go#L306-L318

And the note shows up in the documentation as well:
https://pkg.go.dev/github.com/mattn/go-oci8#Rows.ColumnTypeLength

Thanks for the info about the size of the field, but I didn't mean the size, but the type of the DATE field, which is defined as SQLT_TIMESTAMP

ColumnTypes is returning what the is being returned through OCI, not what the database is set to.
For example with date, both SQLT_DATE and SQLT_TIMESTAMP are passed as SQLT_TIMESTAMP. Then go-oci converts them into a Go time format.

That clear things up? Can you close this issue?

Yes indeed the field type is returned by the oracle client, thanks


New Frontend Template

Issue Type:

[ ] Bug Report
[x] Feature Request
[x] Documentaion

Possible solution

I want to add a new Frontend Template.

Screenshots

Can I add a new Template?

@kunal-kataria Be careful from next time. Don't open the PR until you get assigned in a issue.

@DEEPIKA-SUK My PR is closed but i haven't submitted it yet because my exams were going on. Is it possible to open my PR to submit my template?

@kunal-kataria create a new PR with all the requested changes completely done. Make the PR by tomorrow otherwise we will close this issue.


Add documentation for Tensorflow based Google bert xnli and bert base…

… Squad1.1 model fine tuning and IR generation

@AlexanderDokuchaev Please review the PR

@AlexanderDokuchaev  Thanks for your review comments. I will address the comments ASAP

@AlexanderDokuchaev  Address the review comments. Please review the changes


Dual-stack : Promote to Beta - Status Tracker

This issue is just used to track the status of pending activities needed to promote Dual Stack support in Istio to Beta.
Reference: https://github.com/istio/enhancements/blob/master/features/dual-stack-support.md
Alpha status was tracked under https://github.com/istio/istio/issues/47998
Please add to the below list the items that would be required to be completed before the feature can be promoted to Beta.

[ ] https://github.com/istio/istio/pull/51914
[ ] https://github.com/istio/istio/issues/52895

Version
master

Additional Information
No response

cc @sridhargaddam


Response time format (seconds vs. milliseconds)

Thanks a bunch for sharing GoAccess. It a great tool which just works! I have a question about response time analysis that I hope someone can help me out solving.
I have a custom log file with the following format:
2023-12-20T08:17:21Z GET 200 260.403 ms 2048 kB 15.36% /list/default
I have tried to parse it using the following command:
goaccess --datetime-format='%Y-%m-%dT%H:%M:%SZ' --log-format='%x %m %s %T %h %^ %^ %^%r' --no-ip-validation.
I end up with something like this:
 Hits     h% Vis.      v% Avg. T.S. Cum. T.S. Max. T.S. Mtd     Proto    Data
 ---- ------ ---- ------- --------- --------- --------- ------- -------- ----
   17 45.95%    1 100.00%   4.46 mn   1.26 hr   7.46 mn GET     ---      % /list/default

As I understand the output Average T.S. (time spent?) is reported in minutes but that does not make sense combined with the response time reported in milliseconds.
I know that %T corresponds to "The time taken to serve the request, in seconds with milliseconds resolution" but if I switch to %L (The time taken to serve the request, in milliseconds as a decimal number) I get 0.00 us in all time columns. I also tried with. %n for good measure but that also yielded 0.00 us.
I wonder if it has to do with . or , is used as decimal separator? but I could not spot any way to configure this in the documentation.
Notes: Since the log does not have any host name information I (mis)use the ms element as the hostname combined with --no-ip-validation.

Great question! It appears that you can accomplish this by utilizing %L when splitting the . to capture the whole number.
goaccess access.log --datetime-format='%Y-%m-%dT%H:%M:%SZ' --log-format='%x %m %s %L.%^ %h %b %^ %^ %U' --no-ip-validation

Let me know if that helps

That works like a charm! Really appreciate the help.


ci: use elixir 1.16

Use Elixir 1.16 in CI to solve #3464

Would that fix the failed checks?
@JakobLichterfeld you can also merge...

@DrMichael please stop merging, we can test CI without merging.
Merging unreviewed and untested stuff is bad repository sanity.

@DrMichael please stop merging, we can test CI without merging. Merging unreviewed and untested stuff is bad repository sanity.

Will refrain from merging that stuff. How do you test?

You can see the CI test for each PR under checks, for example https://github.com/teslamate-org/teslamate/pull/3465/checks
So it is sort of first layer of review: does the new Pull Request break any predefined test or not. If it passes, than we start to review further.


Cache@2 task ignores "path"

Question, Bug, or Feature?
Type: Bug
Enter Task Name: Cache@2, Azure Pipelines
Issue Description
Since 09. November, we experience issues with Cache@2 Task in Azure Pipelines.
We use it to cache Docker images, as described in the Pipeline Caching documentation.
As we could find out now, (apparently beginning Monday, before that it worked), the pipeline ignores the property "path" in the cache-task.
Instead the cache artefact "cache.tar" is always copied into the pipeline-workspace, no matter what is defined as "path".

Getting the same issue caching node_modules, the task is not respecting the path parameter anymore.

Same here since 10th November 2020

Same here. One build succeeded 10th of November, now they fail.

tar: .pip\r: Cannot stat: No such file or directory

With the path being passed to Cache is $(Pipeline.Workspace)/.pip.

is there a test case describing the expected behaviour? @johnterickson @nadesu

For some time, only the "path" variable was ignored, but the cache.tar was still there, in the $(Pipeline.Workspace).
Since Friday, we cannot find the cache.tar at all, so the cache-task essentially becomes unusable.
Can you confirm that?
Stefan opened a ticket in the MS Developer Community as well: https://developercommunity.visualstudio.com/content/problem/1256842/pipeline-caching-is-broken.html?inRegister=true

Same problem over here. The Cache tasks report that they have found a cache based on the key and everything is downloaded. Once we want to use the files from the cache in a different task it reports that the folder/files are missing.

Is there any update to this? This have been broken for over 2 weeks with no response from the team.

@AmrutaKawade : Amruta. Could you support here somehow?

Hi All, apologies for this. We did release an  agent version - 2.177.0 which broke the cache task. And we have reverted it with the patch 2.177.1 . Please use 2.177.1 agent and NOT 2.177.0 which has the breaking change.
Thanks

@fadnavistanmay When will the AZP hosted machines update to this? We're noticing it on the AZP hosted machines.

The AZP hosted machines should have upgraded with the newer version.

@mjroghelia - the AZP hosted machines do get the agent update after a new patch release as well, right?

could confirm now that it is solves. Just had a call with @fadnavistanmay.
But due to the broken agent version there might be some broken cache artifacts. We needed to invalidate the cache written from 2.177.0 Agents (just by updating the key).
Guess the issue can be closed.
Also Path is working again. @gbusch

Apologies for the disruption @lindt .  It looks like our canary tests to protect against this were running, but we're wired up process-wise to block further deployment.


TabBar Windows 10 (Desktop), cannot swipe left right using mouse.

Flutter 3.7 (as far as i remember 3.3.10 was the same) As in the title.  Not sure if i use the "swipe" word correctly in this case i mean moving left right some content using a finger. I can of course move left right tabs of a horizontal tabbar using fingers, but not something similar using the computer's mouse or touchpad like clickDown event and moving left/right or doubleClickDown and moving left/right. Is it just me?
Some additional information. If the foregoing is enough there is no need to read carefully what is below.
As i can remember, some gif-like animation i found today showed using mouse for swiping to see the hidden tabs IS possible, but it was a mobile device not desktop windows.
To solve this for now i needed to add buttons on the left and right of the tab bar and using the tab bar's controller tabBarTabController.animateTo(tabBarTabController.index - 1) which works fine and with this controller the tabbar didn't loose it's own natural behaviour which is great and i can see one by one the hidden tabs when the index changes.
Hovever a related TabBarView also changes it's children according to what animateTo does with tabbar. So would need know if i can do something more just to swipe the tabs left or right using mouse without changing views as i can just do using touch gestures.
Btw. i know that not all non-flutter applications allow swiping in or left using mouse. And i did some research before adding this question, and am tired, so i appologize for this questiong if i could do even more research.

You're right, by default only "touch" devices are allowed to drag content, including scroll views and page views like the TabBarView. You could change the default ScrollConfiguration in your MaterialApp / CupertinoApp.
For example:
return MaterialApp(
  scrollBehavior: const MaterialScrollBehavior().copyWith(
    dragDevices: {
      ...PointerDeviceKind.values
    }
  ),
  home: const MyHomePage()
);

I used {...PointerDeviceKind.values} to indicate all devices. But you could also choose specific devices by listing them in the set.
You can see the default devices below
https://github.com/flutter/flutter/blob/e349bdc1a2e27d5539f355be07a4c50f1fb59aab/packages/flutter/lib/src/widgets/scroll_configuration.dart#L17-L26

Yeaahh! he he. It works! It couldn't be otherwise. Thank you!
For the moment i just used this part:
scrollBehavior: const MaterialScrollBehavior()
          .copyWith(dragDevices: {...PointerDeviceKind.values}),

Thank you again and it seems that this exhausted everything what i need for the moment. Some other parts of my question i can figure out on my own. Tabs and tab views can shwich synchronously as they do on clicking the mentioned back and forward buttons. Swiping on windows desktop now does the job.


Firebase subscription for riot.im

With a fresh install of lineageOS 14.1 for microg (0.2.5-12879) the google play version of riot is not able to register. Same behavior with <IP_ADDRESS>80.
When changing the gcm settings in the app, it tries to force register and fails. I get this toaster: https://github.com/vector-im/riot-android/blob/05b9532a29b420411d7674172608b8ae3c488fc8/vector/src/main/java/im/vector/gcm/GcmRegistrationManager.java#L609
Logcat gives:
09-29 22:53:49.484  3506  3506 D GmsGcmRegisterSvc: onBind: Intent { act=com.google.android.c2dm.intent.REGISTER pkg=com.google.android.gms }
09-29 22:53:49.502  3506  5021 D GmsHttpFormClient: -- Request --
09-29 22:53:49.502  3506  5021 D GmsHttpFormClient: X-GOOG.USER_AID=0&device=0&app=im.vector.alpha&cert=xxxxxx&app_ver=81500&sender=xxxx
09-29 22:53:49.543  3506  5021 D GmsHttpFormClient: -- Response --
09-29 22:53:49.543  3506  5021 D GmsHttpFormClient: Error=PHONE_REGISTRATION_ERROR
09-29 22:53:49.544  3506  5021 D GmsGcmRegisterSvc: received response: RegisterResponse{token='null', retryAfter='null', deleted='null'}
09-29 22:53:49.549  4829  5019 W FirebaseInstanceId: Unexpected response: Bundle[{registration_id=null}]
09-29 22:53:49.549  4829  5019 W FirebaseInstanceId: java.lang.Throwable
09-29 22:53:49.549  4829  5019 W FirebaseInstanceId: 	at com.google.firebase.iid.zzq.zza(Unknown Source)
09-29 22:53:49.549  4829  5019 W FirebaseInstanceId: 	at com.google.firebase.iid.zzq.zza(Unknown Source)
09-29 22:53:49.549  4829  5019 W FirebaseInstanceId: 	at com.google.firebase.iid.zzt.then(Unknown Source)
09-29 22:53:49.549  4829  5019 W FirebaseInstanceId: 	at com.google.android.gms.tasks.zzd.run(Unknown Source)
09-29 22:53:49.549  4829  5019 W FirebaseInstanceId: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
09-29 22:53:49.549  4829  5019 W FirebaseInstanceId: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
09-29 22:53:49.549  4829  5019 W FirebaseInstanceId: 	at java.lang.Thread.run(Thread.java:761)
09-29 22:53:49.550  4829  4848 E FirebaseInstanceId: Token retrieval failed: SERVICE_NOT_AVAILABLE

Microg settings say 0 apps are registered with gcm. Riot does not receive call any notifications when polling is disable and the app is not in the foreground.
I have no fire-walling app or so, microg self-test is all green.
This is a copy of https://github.com/microg/android_packages_apps_GmsCore/issues/439#issuecomment-425675512

As you can see in the log (PHONE_REGISTRATION_ERROR), the device is not properly registered for push notifications. Did you enable device registration? If you did, try dialing (in the phone app) ##2432546## (2432546=checkin), wait a few seconds and try again.

I had enabled registration. Setting it off, and on again, rebooting could not make it work. But the code *#*#2432546#*#* you mentioned let the app access gcm. Thanks for mentioning this.


How to put in my Google Place API key?

I do not see any place where I can put in my API key. Though this module is running successfully on my machine with angular2 app. I see calls being made to google api and getting results properly. But I am not sure which API key its using.
Please help. Our app is going to production in few hours.

It is easy. just want to add api key in your lib param like below:
http://maps.googleapis.com/maps/api/js?libraries=places&key=AIza*******************
You can get this key from google console

Any suggestions of how to save dev/prod keys as params and then use at script tag?

use template builder for adding js libs, example jade. this will support environment variable binding support dynamically


A wild question/suggestion appeared!

 My question is, is there anyway to bound self made custom profiles to certain applications? Ex. I made an overwatch profile but have to switch to it everytime i wanna play it. Thanks for everything and love your interaction with your users, keep up the good work! <3

Every profile has at least 1 exe filename associated with it. If you're having to tab out and tab back in to activate profiles, you should change your Application Detection Method in the settings. But if you've made a generic profile for Overwatch, I wouldn't recommend doing that, because it can conflict with the pre-existing Overwatch profile.

would love to do something like this in future

Time to stomp competition? :P

Time to stomp competition?
Maybe in near future but not now ^^
For profiles, i meant about the ones you create with layers and stuff. Is it possible to attach them to a application and such?


feature request: ability to estimate fees from NetworkFacade class

As a wallet developer using the slick NetworkFacade class it would be very helpful to add a method for calculating estimated fees for a transaction it would be amazing if API was similar to that of the transferToken method!

Hi @ixje , is this related to the smartCalculateFee?

it can be done with just smartCalculateNetworkFee but that would require manually building the tx. I believe @comountainclimber is basically asking for combining this
https://github.com/CityOfZion/neon-js/blob/7eb101aa22d92df1bf50a0e0b7e43b2c43f0ecd6/packages/neon-api/src/NetworkFacade.ts#L65-L98
with this
https://github.com/CityOfZion/neon-js/blob/7eb101aa22d92df1bf50a0e0b7e43b2c43f0ecd6/packages/neon-api/src/api/calculateNetworkFee.ts#L72
into a single function


Shortcut Shift + Alt + Up/Down in script editor has two different actions

Godot version:
3.2.1.stable.official
OS/device including version:
Microsoft Windows [Version 10.0.17134.706]
Issue description:
The actions are based on which one of the modifier keys was pressed first:
Shift + Alt + Up — Moves the tab for the current file up in the list
Alt + Shift + Up — Moves the current line up
In both cases I expect the current line to be moved up.
Steps to reproduce:
Open two script files and observe the two different actions when pressing:

Shift + Alt + Up, in that order
Alt + Shift + Up, in that order

Minimal reproduction project:
N/A

The current line will be moved up/down even without using shift. So pressing Alt+Shift+Up/Down is the same as Alt+Up/Down.

I did not realize that was the actual hotkey!
I'll close this issue as it's actually a symptom of the bug I'd reported in #39351


Just Saying Thank You.

I know you're not maintaining this much anymore but hopefully you still check the issues once in a while. This library was super easy to use and covered my exact use case. Thanks for saving me a ton of time! Great work.

thank you for your kind words, I'm glad this library helps you one thing or another.


Profile references in groups require profile's filename to match.

Issues reference profiles with the directive:
  "profile": "issue",

Profiles have  an id and a name fields. But none of them appear to be relevant; what really matters is the profile's filename.
Tests:
# cat group/issue.json
{
  "id": "issuegroup",
  "name": "Coreos Issue group example",
  "profile": "issueprofile",
  "selector": {
    "label": "issue"
  }
}

# cat profile/issue.json
{
  "id": "issueprofile",
  "name": "Coreos Issue profile example",
  "ignition_id": "issue.yaml"
}

Test 1: correct id, mismatched file name:
# curl "http://matchbox:8080/ignition?label=issue"
Oct 22 05:43:15 matchbox docker[31747]: time="2017-10-22T07:43:15Z" level=info msg="No profile named: issueprofile" group=issuegroup group_name="Coreos Issue group example" labels=map[label:issue]

Test 2: correct id and matching filename:
# mv profiles/issue.json profiles/issueprofile.json
# curl "http://matchbox:8080/ignition?label=issue"
Oct 22 05:45:20 matchbox docker[31747]: time="2017-10-22T07:45:20Z" level=debug msg="Matched an Ignition or Container Linux Config template" group=issuegroup labels=map[label:issue] profile=issueprofile

Test 3: filename matching the name listed in group profile, but profile itself has irrelevant id/name:
# cat profiles/issueprofile.json
{
  "id": "iguessthisshouldntwork",
  "name": "iguessthisshouldntwork",
  "ignition_id": "issue.yaml"
}
# curl "http://matchbox:8080/ignition?label=issue"
Oct 22 05:46:39 matchbox docker[31747]: time="2017-10-22T07:46:39Z" level=debug msg="Matched an Ignition or Container Linux Config template" group=issuegroup labels=map[label:issue] profile=iguessthisshouldntwork

I'm not sure if this is expected behaviour.

Yes. The fileStore is a simple implementation of the Store interface that saves Matchbox object types as files and keys by filename. The id field contains the id you'd key by and the name is a human readable description to be generalizable to other storage backends (etcd, SQL, datastore, etc.)

https://github.com/coreos/matchbox/blob/master/matchbox/storage/storagepb/storage.proto#L5

When you use the Matchbox API, the id is indeed used for put's and get's (e.g. issueprofile is written as issueprofile.json). I think your question arises when manipulating the representations manually.

Yes, it's a couple of hand made examples from my team's lab with matchbox.
I am guessing they were expecting some kind of validation in case the id field do not match the file name, but it's loosely coupled that way. Just thought about reporting since it might save others the debugging headache.

Ok, hope that clear things up.


Order history

Every changes on orders should be tracked

Maybe adding triggers on order table

I don't think using triggers is a good way because it depend directly on specific databases and it's hard to maintain.
I think every change on the order should publish a notification using MediatR, and the order history is saved by implement an event handler. You can checkout using MediatR in https://github.com/simplcommerce/SimplCommerce/blob/master/src/Modules/SimplCommerce.Module.Core/Extensions/SimplSignInManager.cs


Missing cmake usage documentation

I'm trying to build a project that use some library like glm, QT, Vulkan etc.
Of course, I'm trying to use glTF-SDK too.
I'm struggling a lot because there is no documentation on how to use CMake with glTF-SDK
To be more specific CMake through the use of the FetchContent command can act as a package manager.
So I'm trying to use it in that way avoid to use NuGet or vckpg
Can someone add an example on how to use this library from CMake in a proper way?

sorry the issue is duplicated

sorry the issue is duplicated


Avoid circuilar imports on qiskit.unroll

Summary
The __init__.py module for qiskit.unroll becomes a ball of yarn filled
with ciruclar imports when trying to leverage unrollers from inside
call paths from inside fundamental circuit elements. (this was
encountered trying to add a draw() function to the QuantumCircuit
class). Because we're importing individual classes in the __init__.py
from unroll submodules it can force a circular import if any of those
submodules are using a module in the call path. To avoid this but still
maintain backwards compatibility for any users importing from
qiskit.unroll we move all the qiskit.unroll submodules into a new subdir
qiskit.unrollers which doesn't have anything in __init__.py which will
address any potential circular imports when those are used directly.
But, the classes exposed off of qiskit.unroll remain unchanged
preserving backwards compatibility.
Details and comments
This commit was originally part of #911 but the complexity and size here warrants it's own dedicated PR to review the changes. Once this merges I'll rebase #911 and remove the equivalent commit from that PR. This refactor is all to avoid a circular import caused by importing qiskit.tools.visualization in the _quantumcircuit module.

@1ucian0 ok, I've updated it to not change that anymore. I'll add it in as part of #911 where it belongs