Sql Server Authentication issue

"Server=.\SqlExpress;Database=TestDB;User Id=sa;Password=1" cannot connect to server.
But SqlConnection works with same connection string. When I debug, Password parameter is missing on RepoDb connection. Issue can depend be on Turkish language. We have I,İ,ı,i letters.

Hi @TunayT , can you share some of the codes you used? Including the implementation of your from connectionstring initialization until the connection opening? Thanks!

Here is the code, thank you.
    var conStr = @"Server=.\SqlExpress;Database=TestDB;User Id=sa;Password=1";
        using (SqlConnection con=new SqlConnection(conStr))
        {
            con.Open();
            con.Close();
        }
        //upto here no problem

        using (var con = new SqlConnection(conStr).EnsureOpen())
        {
            con.Insert<User>(new User()); //this is not work
        }

        //this is work
        conStr = @"Server=.\RSSQL;Database=DecorDB;Integrated Security=SSPI;";
        using (SqlConnection con = new SqlConnection(conStr))
        {
            con.Insert<User>(new User());
        }

var conStr = @"Server=.\SqlExpress;Database=TestDB;User Id=sa;Password=1";
    using (SqlConnection con=new SqlConnection(conStr))
    {
        con.Open();
        con.Close();
    }
    //upto here no problem

    using (var con = new SqlConnection(conStr).EnsureOpen())
    {
        con.Insert<User>(new User()); //this is not work
    }

    //this is work
    conStr = @"Server=.\RSSQL;Database=TestDB;Integrated Security=SSPI;";
    using (SqlConnection con = new SqlConnection(conStr))
    {
        con.Insert<User>(new User());
    }

The 'EnsureOpen()' method is being called inside 'Insert' operation as well. But thank you for this, I will get back to this issue once I can isolate this on my 'DEV' environment. We will get back to you ASAP.

What the credentials you provided is correct? Would you mind share here the exact exception details (Exception.Message) you are struggling into?

here it is, thank you.
Exception.txt
And as you can see, Password is missing here.

Thank you, this info is enough now for us to be able to investigate the case. We will get back to you late today (GMT).

Thank you very much. This is not urgent for me now, it will be important when I finish my project.

@TunayT - this issue is by designed as per Microsoft.
Just you know, I spend a little time for this issue. I was a bit busy earlier, but your issue can be fixed by simply persist the security information. See below.

I hope that solves your problem.

Thank you very much, yes this solution is enough for me.


Build failed with an exception

When I use "launchClient", it ends with following results. What should I do?
:runClient
Error occured during initialization of VM
Could not reverse enough space for 2097152KB object heap
runClient
AILED
FAILURE: Build failed with an exception

Process 'command 'C:\Program Files (x86)\Java\jdk1.8.0_111\bin\java.exe'' finished with non-zero exit value 1

Hi, problem solved by setting the JAVA_HOME as the path of Jave-64bits. The error occurs because Java-32bits can't reserve such large space.


Rework pyTransition README to integrate actual example scripts

We add a python script (code-to-readme.py, created by Claude.AI) which will replace marked script sections with actual content of scripts.
This is driven by a configuration files, readme-examples-config.yaml which define name of script file and section of the script to extract.
We need to run the following to update the README file: python3 code-to-readme.py --readme README.md --config readme-examples-config.yaml
Documentation about this script usage and the config file format is in the script header
We extracted 4 scripts from the previous README and put them in the examples directory. Some fixes were applied, but part of the scripts are still broken, we will fix in further commit.

Updated with fixed routing.py

@tahini , requesting a review, I've added a CI config


Get complete file structure upto that point on file click

Getting this error while following the examples in a custom react build

Stale. Also, the description isn’t clear enough to help.


Shapes Layer: Unable to draw horizontal/verticle line

🐛 Bug
It seems impossible to draw a horizontal or vertical line.
Perhaps related to:
https://github.com/napari/napari/pull/3259
To Reproduce
Steps to reproduce the behavior:

Open napari
Add shapes layer
Try to draw a horizontal or tercile line

https://user-images.githubusercontent.com/76622105/168588334-68040e6d-2943-427e-9f92-7c66f644a627.mp4
You can see the line skipping from almost horizontal to the "other side" of horizontal. Same with vertical. I can never just make a flat or vertical line.
I thought maybe using shift would help, but that's actually...worse!
Holding shift when starting to draw yields lines fixed at the SE direction.
(Pressing shift while drawing locks the current orientation).
https://user-images.githubusercontent.com/76622105/168588558-fee849f8-ce50-4221-bb12-e2daa8771df1.mp4
Expected behavior
It should be possible to draw lines oriented at the 0°/180° or 90°/270° orientations free-hand.
Also, shift before drawing should "skip" through 45° steps all the way from 0° to 360°.
Environment
napari: 0.4.16rc2.dev17+g0c148bb6
Platform: macOS-12.3.1-arm64-arm-64bit
System: MacOS 12.3.1
Python: 3.9.12 | packaged by conda-forge | (main, Mar 24 2022, 23:25:14) [Clang 12.0.1 ]
Qt: 5.15.2
PyQt5: 5.15.4
NumPy: 1.21.5
SciPy: 1.8.0
Dask: 2022.02.0
VisPy: 0.10.0

OpenGL:
- GL version: 2.1 Metal - 76.3
- MAX_TEXTURE_SIZE: 16384

Screens:
- screen 1: resolution 1680x1050, scale 2.0

Plugins:
- aicsimageio-in-memory: 0.6.1
- aicsimageio-out-of-memory: 0.6.1
- clEsperanto: 0.16.0
- console: 0.0.4
- napari-accelerated-pixel-and-object-classification: 0.6.8
- napari-assistant: 0.1.7
- napari-math: 0.0.1b0
- napari-ome-zarr: 0.4.0
- napari-sklearn-decomposition: 0.0.1
- napari-svg: 0.1.6
- napari-time-slicer: 0.4.3
- napari-tools-menu: 0.1.10
- napari_skimage_regionprops1: 0.4.0
- napari_skimage_regionprops2: 0.4.0
- natari: 0.2.7
- ome-types: 0.2.9
- scikit-image: 0.4.16rc2.dev17+g0c148bb6
- stardist-napari: 2022.4.8

Bizarre... I tried diving down, and all I could figure out is that Shapes._selected_box at some point becomes "blocked", but I could not find the point where it happens :/

That video is 🔥 @psobolewskiPhD! 😂 😱 😂


Add Uganda

Hi, I'm requesting for Uganda to be added to the countries ranked.

Working on it .

See #24


On line #17 added "weak"

Added the weak keyword to prevent any possible memory leaks

Thanks for your help !


TypeError: config.each is not a function

Since the last update on GitHub, I've been getting a lot of these errors:
TypeError: config.each is not a function
    at gatherer (/var/app/current/node_modules/aws-scatter-gather/bin/aggregator.js:109:24)
    at /var/app/current/node_modules/aws-scatter-gather/bin/event-interface.js:112:9
    at Array.forEach (native)
    at runHandlers (/var/app/current/node_modules/aws-scatter-gather/bin/event-interface.js:111:14)
    at HandlerMap.factory.execute (/var/app/current/node_modules/aws-scatter-gather/bin/event-interface.js:65:9)
    at HandlerMap.factory.execute (/var/app/current/node_modules/aws-scatter-gather/bin/event-interface.js:62:31)
    at HandlerMap.factory.execute (/var/app/current/node_modules/aws-scatter-gather/bin/event-interface.js:62:31)
    at /var/app/current/node_modules/aws-scatter-gather/bin/event-interface.js:30:23
    at _combinedTickCallback (internal/process/next_tick.js:73:7)
    at process._tickDomainCallback (internal/process/next_tick.js:128:9)

My aggregator looks like this (which was previously working):
const AWS = require('aws-sdk');
const Scather = require('aws-scatter-gather');
const config = require('./config');

exports.cacher = Scather.aggregator({
    expects: ['cacher'],
    maxWait: 5000,
    minWait: 0,
    responseArn: config.response_topic_arn,
    sns: new AWS.SNS({region: config.region}),
    topicArn: config.request_topic_arn
});

Looks like this is happening in the 3.2.0 release as well, requiring "each" for all aggregators. I know this functionality went into master and the 3.3.0 release, but I'm not sure how it made it into 3.2.0. I thought 3.2.0 was released months ago, but now that I look at the code for 3.2.0, it has the new code with "each" in it. Was 3.2.0 overwritten on NPM with the new code somehow?

Version 3.2.0 does not have the each option, but you may have unintentionally upgraded to version 3.3.0 if in your package.json you have the dependency listed as "aws-scatter-gather": "^3.2.0".
Notice the ^ (caret).
3.3.0 had a bug that has now been fixed in 3.3.1. If you update again then you shouldn't see that error.
Try npm update --save

Oops sure enough, the dependency is "^3.2.0", not "3.2.0", so it did upgrade to 3.3.0. I'll try the new update.
@GaryGSC I notice you're pulling it from the master branch on GitHub in missions. This library should be on NPM now, so you can pin to a particular version from NPM.


enable rss icon fix #18

RSS feed was already set up. I just enabled the icon.
Tested locally.

I should've put "fix #18" in the commit. Sorry.

Cool :) Thanks!


Enables attributions for the RasterSource

This enables attributions for the RasterSource.

Attributions included in the passed sources are concatenated.
Attributions of mutiple sources are concatenated.
Empty attributions are omitted.

#closes #9281

Thanks for the review @ahocevar. I adapted the code and force pushed.


Add Brian

#1
Thanks y'all! Please let me know if I've missed anything (I didn't know if empty collections should collapse (like in the case of translations).

Hi @brianhall, thanks for contributing! Someone else added brian already. Maybe you can add translations to that file, or a new name to the repo? Thanks again.

@bluzi is there any reason to leave duplicates like this open?


[Question] pretrain result test

Question
In the pretrain stage, I input a language model + a CLIP ViT, with the adapter being newly initialized. However, in cli.py, a llava model needs to be input, but the pretrain result only includes the weight of the adapter, so it cannot be used for inference through cli.py. Then, is there any method to test the result of the pretraining

Question
In the pretrain stage, I input a language model + a CLIP ViT, with the adapter being newly initialized. However, in cli.py, a llava model needs to be input, but the pretrain result only includes the weight of the adapter, so it cannot be used for inference through cli.py. Then, is there any method to test the result of the pretraining

hello, I have the same question. How did you deal with it?


Create documentation of UX error messages

Dependency
When product signs off on all the designs in figma, then this can be worked on.
Overview
We need to create documentation to track UX and Development error messages to standardize the responses.
Action Items

[ ] UX

[ ] Create list of UX errors in Figma

[ ] Create a new page called Site Audit: error messages
[ ] Copy all pages that have error message (search, input boxes, etc), into the page
[ ] Present findings/recommendations to lead designer for discussion

[ ] Dev Ops

[ ] Create list of Development errors in Wiki

Resources/Instructions

Let's verify if we already decided all error messages or not.

Link at References column-- Error Codes, eg.


Where do I find definitions such as Ops.PaperCut?

Hi I was looking for some sort of .h file for these definitions but couldn't find any? I program in C/C++, not C# but found it useful to compare my code with your for correctness. You have a very good list of commands by functions, better than epson official docs in my opinion. Thanks.

@liudr Hi, thanks for the star and appreciate the kind words!
I see where the confusion was and the previous structure of these properties was poor.  I've refactored the library and included these types in a separate directory.
Please let me know if that helps and is easier to read.
BaseCommandValues is the directory you're looking for that contains all the static single byte exports, and BaseCommandEmitter is what builds the combined byte arrays to represent a command.
https://github.com/lukevp/ESC-POS-.NET/tree/master/ESCPOS_NET/Emitters


Youtube video downloader

Script Title - Youtube Video Downloader
what will change -
Script with GUI to download videos from youtube at 1080p (if available)
Instructions

Create a new folder for your script and file/folder name should be appropriate.
Create a README.md in your folder for program Instructions
add requirements.txt if needed

Please add/delete options that are not relevant.

[x] Adding New Code
[ ] Improving Code
[ ] Improving Documentation
[ ] Bug Fix

Programming Language

[x] Python

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server  - https://discord.gg/FXyh2S3
Happy Coding,

i'll do it

I would like to work on this

I'm interested

i would like to contribute

is this issue closed ?

is this issue closed ?
will soon be

Ok


Missing resources :

Hi
I am querying with azure-cost costByResource  -o csv -s  >> 1.csv
And I am not getting all my resources returned.
1/2 my log analytic workspaces have not been returned
Is there a way to make sure i get all resources returned ~
Thanks

It may be related to this
https://stackoverflow.com/questions/74109255/azure-api-not-returning-all-resources

The latest version does support pagination, earlier version only fetched the first 5000 items. So make sure to use the latest version. You can also use -debug to see the calls being made, as that should show multiple pages being fetched.

I hope the issue was related to pagination and the latest version fixed that for you. If not, feel free to reopen.


Can't export model in opencv..?

Input [CropAndResize/crop_size] for node [CropAndResize] not found in function 'getConstBlob'
this error arise...?

I have not tried to work with opencv libraries for object detection so cant give you idea regarding opencv. But i saw simillar issue being discussed on opencv GitHub repository, you might find solution there or try opening a new issue there.


🐛 App Crashing when using Frame Processor: Compiling JS failed: 1:1:invalid empty parentheses '( )'

What's happening?
When i use useFrameProcessor the app is crashing while it is working fine when i remove it
console.log(`Frame: ${frame.width}x${frame.height} (${frame.pixelFormat})`)
this line is not printing anything to console

I have been trying with different gradle and java versions all the day and nothing worked
now im using gradle 8.0 and jdk 17.0.10
any help will be appreciated
Thank you
Reproduceable Code
import React, {useEffect, useState } from 'react';
import {View, StyleSheet} from 'react-native';
import {
  Camera,
  useCameraFormat,
  useFrameProcessor,
} from 'react-native-vision-camera';

const CCamera = (props) => {
  const {isActive, cam, toggleCam} = props;

  const format = useCameraFormat(cam, [
    {videoResolution: 'max',fps: 'max'},
  ]);

  const frameProcessor = useFrameProcessor((frame) => {
    'worklet'
    console.log(`Frame: ${frame.width}x${frame.height} (${frame.pixelFormat})`)
  }, [])

  const handleCameraError = (e) => { console.warn('error', e); };
  return (
    <View style={styles.cameraStyle}>
      {isActive && cam && (
        <Camera
          device={cam}
          video={true}
          audio={true}
          isActive={isActive}
          style={StyleSheet.absoluteFill}
          format={format}
          onError={handleCameraError}
          frameProcessor={frameProcessor }
        />
      )}
    </View>
  );
};

const styles = StyleSheet.create({
  cameraStyle: {
    width: '49%',
    aspectRatio: 3 / 4,
    borderRadius: 10,
  },
});

export default CCamera;

Relevant log output
01-31 14:29:59.000  1061  1061 D TaplEvents: TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=616.959, y[0]=1080.9355, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=14187592, downTime=14187485, deviceId=4, source=0xd002, displayId=0, eventId=768364459 }
01-31 14:29:59.033   417 13086 D audioserver: FGS Logger Transaction failed
01-31 14:29:59.033   417 13086 D audioserver: -129
01-31 14:29:59.039   417   525 D AudioFlinger: mixer(0x7b81dc888930) throttle end: throttle time(36)
01-31 14:29:59.055 16085 16085 I PreviewView: Creating PreviewView...
01-31 14:29:59.059 16085 16085 I PreviewView: PreviewView is 0x0, rendering 1080x1920 content. Resizing to: 0x0 (COVER)
01-31 14:29:59.059 16085 16085 I CameraView: Updating CameraSession...
01-31 14:29:59.073 16085 16161 I CameraSession: configure { ... }: Waiting for lock...
01-31 14:29:59.079 16085 16161 I CameraSession: configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=true, outputsChanged=true, sidePropsChanged=true, isActiveChanged=true)
01-31 14:29:59.079 16085 16161 I CameraSession: Need to rebuild CameraDevice and CameraCaptureSession...
01-31 14:29:59.079 16085 16161 I CameraSession: CameraDevice and CameraCaptureSession is torn down but Camera is not active, skipping update...
01-31 14:29:59.079 16085 16161 I CameraSession: Successfully updated CameraSession Configuration! isActive: false
01-31 14:29:59.081 16085 16161 I CameraView: invokeOnInitialized()
01-31 14:29:59.088 16085 16085 I CameraView: Updating CameraSession...
01-31 14:29:59.088 16085 16161 I CameraSession: configure { ... }: Waiting for lock...
01-31 14:29:59.089 16085 16161 I CameraSession: configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=true, outputsChanged=true, sidePropsChanged=true, isActiveChanged=true)
01-31 14:29:59.089 16085 16161 I CameraSession: Need to rebuild CameraDevice and CameraCaptureSession...
01-31 14:29:59.089 16085 16161 I CameraSession: Need to rebuild CameraDevice and CameraCaptureSession...
01-31 14:29:59.089 16085 16085 I PreviewView: PreviewView is 443x591, rendering 1080x1920 content. Resizing to: 443x788 (COVER)
01-31 14:29:59.090 16085 16161 I CameraSession: Configuring Camera #0...
01-31 14:29:59.096 16085 16161 I CameraManager: Camera #0: Opening...
01-31 14:29:59.098 16085 16085 I CameraSession: PreviewView Surface created! Surface(name=null)/@0xba46628
01-31 14:29:59.098 16085 16085 I CameraSession: Setting Preview Output...
01-31 14:29:59.099 16085 16085 I CameraSession: PreviewView Surface updated! Surface(name=null)/@0xba46628 443 x 788
01-31 14:29:59.101 16085 16085 D VisionCameraProxy: Finding view 55...
01-31 14:29:59.102 16085 16085 D VisionCameraProxy: Found view 55!
01-31 14:29:59.108   571  2203 W System.err: java.lang.SecurityException: Caller with uid 1047 is not android
01-31 14:29:59.108   571  2203 W System.err:    at com.android.server.devicepolicy.DevicePolicyManagerService.getCallerIdentity(DevicePolicyManagerService.java:2368)
01-31 14:29:59.108   571  2203 W System.err:    at com.android.server.devicepolicy.DevicePolicyManagerService.getCameraDisabled(DevicePolicyManagerService.java:9311)
01-31 14:29:59.108   571  2203 W System.err:    at android.app.admin.DevicePolicyManager.getCameraDisabled(DevicePolicyManager.java:8423)
01-31 14:29:59.108   571  2203 W System.err:    at com.android.server.camera.CameraServiceProxy$2.isCameraDisabled(CameraServiceProxy.java:622)
01-31 14:29:59.108   571  2203 W System.err:    at android.hardware.ICameraServiceProxy$Stub.onTransact(ICameraServiceProxy.java:174)
01-31 14:29:59.109   571  2203 W System.err:    at android.os.Binder.execTransactInternal(Binder.java:1344)
01-31 14:29:59.109   571  2203 W System.err:    at android.os.Binder.execTransact(Binder.java:1275)
01-31 14:29:59.109   485   485 I CameraService: CameraService::connect call (PID 16085 "com.carcm", camera ID 0) and Camera API version 2
01-31 14:29:59.111   485   485 I Camera2ClientBase: Camera 0: Opened. Client: com.carcm (PID 16085, UID 10184)
01-31 14:29:59.111   485   485 I CameraDeviceClient: CameraDeviceClient 0: Opened
01-31 14:29:59.111   485   485 I CameraService: makeClient: Camera2 API, override to portrait 1
01-31 14:29:59.112   386   386 W StreamConfigurationMap: StreamConfigurationMap: ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS missing, maxResolution ? true!
01-31 14:29:59.112   386   386 W StreamConfigurationMap: StreamConfigurationMap: ANDROID_SCALER_AVAILABLE_MIN_FRAME_DURATIONS missing!, max resolution ? true
01-31 14:29:59.112   386   386 W StreamConfigurationMap: StreamConfigurationMap: ANDROID_SCALER_AVAILABLE_STALL_DURATIONS missing! maxResolution ? true
01-31 14:29:59.117   386  4525 E EmulatedRequestProcessor: onEvent: unexpected event received type: 33
01-31 14:29:59.117   386  4525 E EmulatedRequestProcessor: onEvent: unexpected event received type: 33
01-31 14:29:59.117   386  4525 E EmulatedRequestProcessor: onEvent: unexpected event received type: 33
01-31 14:29:59.117   386   386 W EmulatedRequestState: InitializeControlDefaults: No available post RAW boost! Setting default!
01-31 14:29:59.118   485   485 I CameraProviderManager: Camera device<EMAIL_ADDRESS>torch status is now NOT_AVAILABLE
01-31 14:29:59.118   485   485 I CameraService: onTorchStatusChangedLocked: Torch status changed for cameraId=0, newStatus=0
01-31 14:29:59.119   386   386 I GCH_CameraDeviceSession: Initialize: measure buffer allocation time: 0
01-31 14:29:59.120   182   182 I hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.mapper@4.0::IMapper/default in either framework or device VINTF manifest.
01-31 14:29:59.121  1548  2341 I AiAiEcho: Settings changed for uri: content://settings/secure/flashlight_available
01-31 14:29:59.127   386   386 I GCH_CameraDeviceSession: Create: Created a device session for camera 0 with 0 physical cameras
01-31 14:29:59.146  1548  1772 I AiAiEcho: Predicting[0]:
01-31 14:29:59.146  1548  1772 I AiAiEcho: EchoTargets:
01-31 14:29:59.146  1548  1772 I AiAiEcho: Filtered by AiAi flag check:
01-31 14:29:59.146  1548  1772 I AiAiEcho: Ranked targets strategy: SORT, count: 0, ranking metadata:
01-31 14:29:59.146   182   182 I hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.mapper@4.0::IMapper/default in either framework or device VINTF manifest.
01-31 14:29:59.146  1548  1772 I AiAiEcho: Predicting[0]:
01-31 14:29:59.147  1548  1772 I AiAiEcho: EchoTargets:
01-31 14:29:59.147  1548  1772 I AiAiEcho: Filtered by AiAi flag check:
01-31 14:29:59.147  1548  1772 I AiAiEcho: Ranked targets strategy: SORT, count: 0, ranking metadata:
01-31 14:29:59.148  1548  1772 I AiAiEcho: Predicting[0]:
01-31 14:29:59.148  1548  1772 I AiAiEcho: EchoTargets:
01-31 14:29:59.148  1548  1772 I AiAiEcho: Filtered by AiAi flag check:
01-31 14:29:59.149  1548  1772 I AiAiEcho: Ranked targets strategy: SORT, count: 0, ranking metadata:
01-31 14:29:59.150  1548  1772 I AiAiEcho: #postPredictionTargets: Sending updates to UISurface media_data_manager with targets# 0 (types=[])
01-31 14:29:59.151  1548  1772 I AiAiEcho: #postPredictionTargets: Sending updates to UISurface lockscreen with targets# 0 (types=[])
01-31 14:29:59.153  1548  1772 I AiAiEcho: #postPredictionTargets: Sending updates to UISurface home with targets# 0 (types=[])
01-31 14:29:59.154   807   807 D SsMediaDataProvider: Forwarding Smartspace updates []
01-31 14:29:59.154   417   525 D audioserver: FGS Logger Transaction failed
01-31 14:29:59.154   417   525 D audioserver: -129
01-31 14:29:59.154   807   807 W PageIndicator: Total number of pages invalid: 0. Assuming 1 page.
01-31 14:29:59.159   386   386 W ServiceManagerCppClient: Failed to get isDeclared for android.hardware.thermal.IThermal/default: Status(-1, EX_SECURITY): 'SELinux denied.'
01-31 14:29:59.160   386   386 W GCH_AidlCameraDeviceSession: Thermal AIDL service is not declared; trying Thermal HIDL service
01-31 14:29:59.160   182   182 E SELinux : avc:  denied  { find } for interface=android.hardware.thermal::IThermal sid=u:r:hal_camera_default:s0 pid=386 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:hal_thermal_hwservice:s0 tclass=hwservice_manager permissive=0
01-31 14:29:59.133     0     0 E SELinux : avc:  denied  { find } for pid=386 uid=1000 name=android.hardware.thermal.IThermal/default scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:hal_thermal_service:s0 tclass=service_manager permissive=0
01-31 14:29:59.161   386   386 E GCH_AidlCameraDeviceSession: Initialize: Getting thermal failed.
01-31 14:29:59.161   386   386 E GCH_AidlCameraDeviceSession: RegisterThermalChangedCallback: thermal was not initialized.
01-31 14:29:59.161   386   386 W GCH_CameraDeviceSession: SetSessionCallback: Registering thermal callback failed: No such device(-19)
01-31 14:29:59.165 16085 16142 I CameraDevices: Camera #0 is now unavailable.
01-31 14:29:59.166   571  2201 V CameraService_proxy: Disable Rotate and Crop to avoid conflicts with WM force rotation treatment.
01-31 14:29:59.168   485   485 D cameraserver: FGS Logger Transaction failed
01-31 14:29:59.168   485   485 D cameraserver: -129
01-31 14:29:59.170 16085 16161 I CameraSession: configure { ... }: Waiting for lock...
01-31 14:29:59.172 16085 16161 I CameraManager: Camera #0: Opened!
01-31 14:29:59.178 16085 16161 I CameraSession: Successfully configured Camera #0!
01-31 14:29:59.179 16085 16161 I CameraSession: Destroying previous outputs...
01-31 14:29:59.181 16085 16161 I CameraSession: Creating outputs for Camera #0...
01-31 14:29:59.184 16085 16161 I CameraSession: Adding 1280x720 Video Output in PRIVATE...
01-31 14:29:59.186 16085 16161 I VideoPipeline: Initializing 1280 x 720 Video Pipeline (format: NATIVE)
01-31 14:29:59.187 16085 16161 I VideoPipeline: Using ImageReader round-trip (format: #34)
01-31 14:29:59.187 16085 16161 I VideoPipeline: Using API 29 for GPU ImageReader...
01-31 14:29:59.187 16085 16161 D CompatibilityChangeReporter: Compat change id reported: 236825255; UID 10184; state: ENABLED
01-31 14:29:59.193 16085 16161 I CreateCaptureSession: Camera #0: Creating Capture Session #1... (Hardware Level: 3 | Outputs: [VIDEO (1280x720 in NATIVE)])
01-31 14:29:59.194 16085 16161 I SurfaceOutput: Using optimized stream use case 3 for VIDEO output.
01-31 14:29:59.195 16085 16161 I CreateCaptureSession: Using new API (>=28)
01-31 14:29:59.196   485   485 W cameraserver: createSurfaceFromGbp: Camera 0 with consumer usage flag: 256: Forcing asynchronous mode forstream
01-31 14:29:59.200   386   386 I GCH_HalUtils: ======== App stream configuration ========
01-31 14:29:59.200   386   386 I GCH_HalUtils: == stream num: 1, operation_mode:0
01-31 14:29:59.200   386   386 I GCH_HalUtils: ==== [0]stream_id 0, type 0, format 34, res 1280x720, usage 256, is_phy 0, phy_cam_id 0, group_id -1
01-31 14:29:59.200   386   386 I GCH_HalUtils: ======== App stream configuration ========
01-31 14:29:59.200   386   386 E GCH_ZslSnapshotCaptureSession: IsStreamConfigurationSupported: Software denoised not enabled
01-31 14:29:59.200   386   386 W GCH_HalUtils: IsStreamHdrplusCompatible: Getting kHdrplusPayloadFrames failed or number <= 0
01-31 14:29:59.200   386   386 D GCH_RgbirdCaptureSession: IsStreamConfigurationSupported: RgbirdCaptureSession doesn't support 0 physical cameras
01-31 14:29:59.200   386   386 D GCH_DualIrCaptureSession: IsStreamConfigurationSupported: Only support two IR cameras but there are 0 cameras.
01-31 14:29:59.200   386   386 D GCH_BasicCaptureSession: IsStreamConfigurationSupported: BasicCaptureSession supports the stream config
01-31 14:29:59.200   386   386 D GCH_BasicCaptureSession: IsStreamConfigurationSupported: BasicCaptureSession supports the stream config
01-31 14:29:59.229   485   485 D Camera3-Device: Set real time priority for request queue thread (tid 16301)
01-31 14:29:59.230 16085 16161 I CreateCaptureSession: Camera #0: Successfully created CameraCaptureSession #1!
01-31 14:29:59.230 16085 16161 I CameraSession: Successfully configured Session with 1 outputs for Camera #0!
01-31 14:29:59.231 16085 16161 I CameraSession: Updating Video Outputs...
01-31 14:29:59.231 16085 16161 I VideoPipeline: Setting 1280 x 720 FrameProcessor Output...
01-31 14:29:59.231 16085 16161 I VideoPipeline: Removing RecordingSession Output...
01-31 14:29:59.246 16085 16161 I CameraView: invokeOnStarted()
01-31 14:29:59.248 16085 16161 I CameraSession: Successfully updated CameraSession Configuration! isActive: true
01-31 14:29:59.248 16085 16161 I CameraView: invokeOnInitialized()
01-31 14:29:59.253 16085 16161 I CameraSession: configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=false, outputsChanged=true, sidePropsChanged=true, isActiveChanged=false)
01-31 14:29:59.253 16085 16161 I CameraSession: Destroying previous outputs...
01-31 14:29:59.253 16085 16161 I SurfaceOutput: Closing 1280x720 Video Pipeline..
01-31 14:29:59.255 16085 16161 I CameraView: invokeOnStopped()
01-31 14:29:59.258 16085 16161 I CameraSession: Creating outputs for Camera #0...
01-31 14:29:59.260 16085 16161 I CameraSession: Adding 1280x720 Video Output in PRIVATE...
01-31 14:29:59.260 16085 16161 I VideoPipeline: Initializing 1280 x 720 Video Pipeline (format: NATIVE)
01-31 14:29:59.261 16085 16161 I VideoPipeline: Using ImageReader round-trip (format: #34)
01-31 14:29:59.261 16085 16161 I VideoPipeline: Using API 29 for GPU ImageReader...
01-31 14:29:59.264 16085 16161 I CameraSession: Adding 1280x720 Preview Output...
01-31 14:29:59.270 16085 16161 I CreateCaptureSession: Camera #0: Creating Capture Session #2... (Hardware Level: 3 | Outputs: [VIDEO (1280x720 in NATIVE), PREVIEW (1280 x 720)])
01-31 14:29:59.270 16085 16161 I SurfaceOutput: Using optimized stream use case 3 for VIDEO output.
01-31 14:29:59.271 16085 16161 I SurfaceOutput: Using optimized stream use case 1 for PREVIEW output.
01-31 14:29:59.271 16085 16161 I CreateCaptureSession: Using new API (>=28)
01-31 14:29:59.361 16085 16101 E BufferQueueProducer: [ImageReader-1280x720f22m3-16085-0](id:3ed500000004,api:4,p:485,c:16085) dequeueBuffer: BufferQueue has been abandoned
01-31 14:29:59.361   485 16301 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: No such device (-19)
01-31 14:29:59.405   425   425 I RefreshRateSelector: Display<PHONE_NUMBER>835644672 policy changed
01-31 14:29:59.405   425   425 I RefreshRateSelector: Previous: {defaultModeId=0, allowGroupSwitching=false, primaryRanges={physical=[0.00 Hz, inf Hz], render=[0.00 Hz, 60.00 Hz]}, appRequestRanges={physical=[0.00 Hz, inf Hz], render=[0.00 Hz, inf Hz]}}
01-31 14:29:59.405   425   425 I RefreshRateSelector: Current:  DisplayManagerPolicy{defaultModeId=0, allowGroupSwitching=false, primaryRanges={physical=[60.00 Hz, inf Hz], render=[60.00 Hz, 60.00 Hz]}, appRequestRanges={physical=[60.00 Hz, inf Hz], render=[60.00 Hz, 60.00 Hz]}}
01-31 14:29:59.405   425   425 I RefreshRateSelector: 0 mode changes were performed under the previous policy
01-31 14:29:59.405   807   859 D EGL_emulation: app_time_stats: avg=3151.99ms min=3151.99ms max=3151.99ms count=1
01-31 14:29:59.414   485   485 I CameraLatencyHistogram: Stream 0 dequeueBuffer latency histogram (1) samples:
01-31 14:29:59.414   485   485 I CameraLatencyHistogram:         5     10     15     20     25     30     35     40     45    inf (max ms)
01-31 14:29:59.414   485   485 I CameraLatencyHistogram:      0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00   100.00 (%)
01-31 14:29:59.416   425   425 I RefreshRateSelector: Display<PHONE_NUMBER>835644672 policy changed
01-31 14:29:59.416   425   425 I RefreshRateSelector: Previous: {defaultModeId=0, allowGroupSwitching=false, primaryRanges={physical=[60.00 Hz, inf Hz], render=[60.00 Hz, 60.00 Hz]}, appRequestRanges={physical=[60.00 Hz, inf Hz], render=[60.00 Hz, 60.00 Hz]}}
01-31 14:29:59.416   425   425 I RefreshRateSelector: Current:  DisplayManagerPolicy{defaultModeId=0, allowGroupSwitching=false, primaryRanges={physical=[0.00 Hz, inf Hz], render=[0.00 Hz, 60.00 Hz]}, appRequestRanges={physical=[0.00 Hz, inf Hz], render=[0.00 Hz, inf Hz]}}
01-31 14:29:59.416   425   425 I RefreshRateSelector: 0 mode changes were performed under the previous policy
01-31 14:29:59.418   485   485 W cameraserver: createSurfaceFromGbp: Camera 0 with consumer usage flag: 256: Forcing asynchronous mode forstream
01-31 14:29:59.464   485   485 W cameraserver: createSurfaceFromGbp: Camera 0 with consumer usage flag: 2304: Forcing asynchronous mode forstream
01-31 14:29:59.466 16085 16085 I PreviewView: Setting PreviewView Surface Size to 443 x 788...
01-31 14:29:59.466   485   485 W cameraserver: createSurfaceFromGbp: Camera 0: Overriding format 0x4 to IMPLEMENTATION_DEFINED
01-31 14:29:59.469 16085 16085 I CameraSession: PreviewView Surface updated! Surface(name=null)/@0xba46628 1280 x 720
01-31 14:29:59.564   386   386 I GCH_HalUtils: ======== App stream configuration ========
01-31 14:29:59.564   386   386 I GCH_HalUtils: == stream num: 2, operation_mode:0
01-31 14:29:59.564   386   386 I GCH_HalUtils: ==== [0]stream_id 1, type 0, format 34, res 1280x720, usage 256, is_phy 0, phy_cam_id 0, group_id -1
01-31 14:29:59.564   386   386 I GCH_HalUtils: ==== [1]stream_id 2, type 0, format 34, res 640x480, usage 2304, is_phy 0, phy_cam_id 0, group_id -1
01-31 14:29:59.565   386   386 I GCH_HalUtils: ======== App stream configuration ========
01-31 14:29:59.565   386   386 E GCH_ZslSnapshotCaptureSession: IsStreamConfigurationSupported: Software denoised not enabled
01-31 14:29:59.565   386   386 W GCH_HalUtils: IsStreamHdrplusCompatible: Getting kHdrplusPayloadFrames failed or number <= 0
01-31 14:29:59.565   386   386 D GCH_RgbirdCaptureSession: IsStreamConfigurationSupported: RgbirdCaptureSession doesn't support 0 physical cameras
01-31 14:29:59.565   386   386 D GCH_DualIrCaptureSession: IsStreamConfigurationSupported: Only support two IR cameras but there are 0 cameras.
01-31 14:29:59.566   386   386 D GCH_BasicCaptureSession: IsStreamConfigurationSupported: BasicCaptureSession supports the stream config
01-31 14:29:59.566   386   386 D GCH_BasicCaptureSession: IsStreamConfigurationSupported: BasicCaptureSession supports the stream config
01-31 14:29:59.573   386   386 W EmulatedRequestState: InitializeControlDefaults: No available post RAW boost! Setting default!
01-31 14:29:59.573   386  4527 E EmulatedRequestProcessor: onEvent: unexpected event received type: 33
01-31 14:29:59.573   386  4527 E EmulatedRequestProcessor: onEvent: unexpected event received type: 33
01-31 14:29:59.574   386  4527 E EmulatedRequestProcessor: onEvent: unexpected event received type: 33
01-31 14:29:59.621   485   485 D Camera3-Device: Set real time priority for request queue thread (tid 16301)
01-31 14:29:59.623 16085 16161 I CreateCaptureSession: Camera #0: Successfully created CameraCaptureSession #2!
01-31 14:29:59.624 16085 16161 I CameraSession: Successfully configured Session with 2 outputs for Camera #0!
01-31 14:29:59.625 16085 16161 I CameraSession: Updating Video Outputs...
01-31 14:29:59.625 16085 16161 I VideoPipeline: Setting 1280 x 720 FrameProcessor Output...
01-31 14:29:59.625 16085 16161 I VideoPipeline: Removing RecordingSession Output...
01-31 14:29:59.629 16085 16099 I BpBinder: onLastStrongRef automatically unlinking death recipients:
01-31 14:29:59.630 16085 16161 I CameraView: invokeOnStarted()
01-31 14:29:59.631 16085 16161 I CameraSession: Successfully updated CameraSession Configuration! isActive: true
01-31 14:29:59.635 16085 16161 I CreateCaptureSession: Camera #0: CameraCaptureSession #1 has been closed.
01-31 14:29:59.700   182   182 I hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.mapper@4.0::IMapper/default in either framework or device VINTF manifest.
01-31 14:29:59.708   425   425 I RefreshRateSelector: Display<PHONE_NUMBER>835644672 policy changed
01-31 14:29:59.708   425   425 I RefreshRateSelector: Previous: {defaultModeId=0, allowGroupSwitching=false, primaryRanges={physical=[0.00 Hz, inf Hz], render=[0.00 Hz, 60.00 Hz]}, appRequestRanges={physical=[0.00 Hz, inf Hz], render=[0.00 Hz, inf Hz]}}
01-31 14:29:59.708   425   425 I RefreshRateSelector: Current:  DisplayManagerPolicy{defaultModeId=0, allowGroupSwitching=false, primaryRanges={physical=[60.00 Hz, inf Hz], render=[60.00 Hz, 60.00 Hz]}, appRequestRanges={physical=[60.00 Hz, inf Hz], render=[60.00 Hz, 60.00 Hz]}}
01-31 14:29:59.708   425   425 I RefreshRateSelector: 0 mode changes were performed under the previous policy
01-31 14:29:59.801 16085 16162 I VideoPipeline: ImageReader::onImageAvailable!
01-31 14:29:59.809 16085 16162 I HermesVM: Compiling JS failed: 1:1:invalid empty parentheses '( )',  Buffer size 3 starts with: 280a29 and has protection mode(s): rw-p
01-31 14:29:59.811 16085 16162 E VideoPipeline: Failed to call Frame Processor!
01-31 14:29:59.811 16085 16162 E VideoPipeline: com.facebook.jni.CppException: Compiling JS failed: 1:1:invalid empty parentheses '( )' Buffer size 3 starts with: 280a29 and has protection mode(s): rw-p
01-31 14:29:59.811 16085 16162 E VideoPipeline:         at com.mrousavy.camera.frameprocessor.FrameProcessor.call(Native Method)
01-31 14:29:59.811 16085 16162 E VideoPipeline:         at com.mrousavy.camera.core.VideoPipeline._init_$lambda$0(VideoPipeline.kt:117)
01-31 14:29:59.811 16085 16162 E VideoPipeline:         at com.mrousavy.camera.core.VideoPipeline.$r8$lambda$EMriwS_FKhtjTFtppM84Z5V8tiI(Unknown Source:0)
01-31 14:29:59.811 16085 16162 E VideoPipeline:         at com.mrousavy.camera.core.VideoPipeline$$ExternalSyntheticLambda0.onImageAvailable(Unknown Source:2)
01-31 14:29:59.811 16085 16162 E VideoPipeline:         at android.media.ImageReader$1.run(ImageReader.java:947)
01-31 14:29:59.811 16085 16162 E VideoPipeline:         at android.os.Handler.handleCallback(Handler.java:958)
01-31 14:29:59.811 16085 16162 E VideoPipeline:         at android.os.Handler.dispatchMessage(Handler.java:99)
01-31 14:29:59.811 16085 16162 E VideoPipeline:         at android.os.Looper.loopOnce(Looper.java:205)
01-31 14:29:59.811 16085 16162 E VideoPipeline:         at android.os.Looper.loop(Looper.java:294)
01-31 14:29:59.811 16085 16162 E VideoPipeline:         at android.os.HandlerThread.run(HandlerThread.java:67)
01-31 14:29:59.856   386 16309 I GCH_AidlCameraDeviceSession: ProcessCaptureResult: First frame done
01-31 14:29:59.883 16085 16162 I VideoPipeline: ImageReader::onImageAvailable!
01-31 14:29:59.891 16085 16162 I HermesVM: Compiling JS failed: 1:1:invalid empty parentheses '( )',  Buffer size 3 starts with: 280a29 and has protection mode(s): rw-p
01-31 14:29:59.893 16085 16162 E VideoPipeline: Failed to call Frame Processor!
01-31 14:29:59.893 16085 16162 E VideoPipeline: com.facebook.jni.CppException: Compiling JS failed: 1:1:invalid empty parentheses '( )' Buffer size 3 starts with: 280a29 and has protection mode(s): rw-p
01-31 14:29:59.893 16085 16162 E VideoPipeline:         at com.mrousavy.camera.frameprocessor.FrameProcessor.call(Native Method)
01-31 14:29:59.893 16085 16162 E VideoPipeline:         at com.mrousavy.camera.core.VideoPipeline._init_$lambda$0(VideoPipeline.kt:117)
01-31 14:29:59.893 16085 16162 E VideoPipeline:         at com.mrousavy.camera.core.VideoPipeline.$r8$lambda$EMriwS_FKhtjTFtppM84Z5V8tiI(Unknown Source:0)
01-31 14:29:59.893 16085 16162 E VideoPipeline:         at com.mrousavy.camera.core.VideoPipeline$$ExternalSyntheticLambda0.onImageAvailable(Unknown Source:2)
01-31 14:29:59.893 16085 16162 E VideoPipeline:         at android.media.ImageReader$1.run(ImageReader.java:947)
01-31 14:29:59.893 16085 16162 E VideoPipeline:         at android.os.Handler.handleCallback(Handler.java:958)
01-31 14:29:59.893 16085 16162 E VideoPipeline:         at android.os.Handler.dispatchMessage(Handler.java:99)
01-31 14:29:59.893 16085 16162 E VideoPipeline:         at android.os.Looper.loopOnce(Looper.java:205)
01-31 14:29:59.893 16085 16162 E VideoPipeline:         at android.os.Looper.loop(Looper.java:294)
01-31 14:29:59.893 16085 16162 E VideoPipeline:         at android.os.HandlerThread.run(HandlerThread.java:67)
01-31 14:29:59.968 16085 16162 I VideoPipeline: ImageReader::onImageAvailable!
01-31 14:29:59.976 16085 16162 I HermesVM: Compiling JS failed: 1:1:invalid empty parentheses '( )',  Buffer size 3 starts with: 280a29 and has protection mode(s): rw-p
01-31 14:29:59.979 16085 16162 E VideoPipeline: Failed to call Frame Processor!
01-31 14:29:59.979 16085 16162 E VideoPipeline: com.facebook.jni.CppException: Compiling JS failed: 1:1:invalid empty parentheses '( )' Buffer size 3 starts with: 280a29 and has protection mode(s): rw-p
01-31 14:29:59.979 16085 16162 E VideoPipeline:         at com.mrousavy.camera.frameprocessor.FrameProcessor.call(Native Method)
01-31 14:29:59.979 16085 16162 E VideoPipeline:         at com.mrousavy.camera.core.VideoPipeline._init_$lambda$0(VideoPipeline.kt:117)
01-31 14:29:59.979 16085 16162 E VideoPipeline:         at com.mrousavy.camera.core.VideoPipeline.$r8$lambda$EMriwS_FKhtjTFtppM84Z5V8tiI(Unknown Source:0)
01-31 14:29:59.979 16085 16162 E VideoPipeline:         at com.mrousavy.camera.core.VideoPipeline$$ExternalSyntheticLambda0.onImageAvailable(Unknown Source:2)
01-31 14:29:59.979 16085 16162 E VideoPipeline:         at android.media.ImageReader$1.run(ImageReader.java:947)
01-31 14:29:59.979 16085 16162 E VideoPipeline:         at android.os.Handler.handleCallback(Handler.java:958)
01-31 14:29:59.979 16085 16162 E VideoPipeline:         at android.os.Handler.dispatchMessage(Handler.java:99)
01-31 14:29:59.979 16085 16162 E VideoPipeline:         at android.os.Looper.loopOnce(Looper.java:205)
01-31 14:29:59.979 16085 16162 E VideoPipeline:         at android.os.Looper.loop(Looper.java:294)
01-31 14:29:59.979 16085 16162 E VideoPipeline:         at android.os.HandlerThread.run(HandlerThread.java:67)
01-31 14:30:00.073 16085 16162 I VideoPipeline: ImageReader::onImageAvailable!
01-31 14:30:00.073 16085 16162 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
01-31 14:30:00.074 16085 16162 E AndroidRuntime: FATAL EXCEPTION: mrousavy/VisionCamera.video
01-31 14:30:00.074 16085 16162 E AndroidRuntime: Process: com.carcm, PID: 16085
01-31 14:30:00.074 16085 16162 E AndroidRuntime: java.lang.IllegalStateException: maxImages (3) has already been acquired, call #close before acquiring more.
01-31 14:30:00.074 16085 16162 E AndroidRuntime:        at android.media.ImageReader.acquireNextImage(ImageReader.java:661)
01-31 14:30:00.074 16085 16162 E AndroidRuntime:        at com.mrousavy.camera.core.VideoPipeline._init_$lambda$0(VideoPipeline.kt:111)
01-31 14:30:00.074 16085 16162 E AndroidRuntime:        at com.mrousavy.camera.core.VideoPipeline.$r8$lambda$EMriwS_FKhtjTFtppM84Z5V8tiI(Unknown Source:0)
01-31 14:30:00.074 16085 16162 E AndroidRuntime:        at com.mrousavy.camera.core.VideoPipeline$$ExternalSyntheticLambda0.onImageAvailable(Unknown Source:2)
01-31 14:30:00.074 16085 16162 E AndroidRuntime:        at android.media.ImageReader$1.run(ImageReader.java:947)
01-31 14:30:00.074 16085 16162 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:958)
01-31 14:30:00.074 16085 16162 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:99)
01-31 14:30:00.074 16085 16162 E AndroidRuntime:        at android.os.Looper.loopOnce(Looper.java:205)
01-31 14:30:00.074 16085 16162 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:294)
01-31 14:30:00.074 16085 16162 E AndroidRuntime:        at android.os.HandlerThread.run(HandlerThread.java:67)
01-31 14:30:00.078   571  2201 W ActivityTaskManager:   Force finishing activity com.carcm/.MainActivity
01-31 14:30:00.080   807   831 V WindowManagerShell: Transition requested: android.os.BinderProxy@f24ec25 TransitionRequestInfo { type = CLOSE, triggerTask = null, remoteTransition = null, displayChange = null }
01-31 14:30:00.083   571 16315 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2
01-31 14:30:00.089 16085 16162 I Process : Sending signal. PID: 16085 SIG: 9
01-31 14:30:00.104   425   425 I BpBinder: onLastStrongRef automatically unlinking death recipients:
01-31 14:30:00.130   378   378 I Zygote  : Process 16085 exited due to signal 9 (Killed)
01-31 14:30:00.130   571   608 I ActivityManager: Process com.carcm (pid 16085) has died: vis TOP
01-31 14:30:00.131   571   797 I WindowManager: WIN DEATH: Window{a42ed25 u0 com.carcm/com.carcm.MainActivity}
01-31 14:30:00.131   571   797 W InputManager-JNI: Input channel object 'a42ed25 com.carcm/com.carcm.MainActivity (client)' was disposed without first being removed with the input manager!
01-31 14:30:00.104     0     0 I binder  : undelivered TRANSACTION_COMPLETE
01-31 14:30:00.105     0     0 I binder  : undelivered transaction 3665810, process died.
01-31 14:30:00.106     0     0 I binder  : send failed reply for transaction 3665819 to 485:4716
01-31 14:30:00.132   485  4716 E Surface : queueBuffer: error queuing buffer, -32
01-31 14:30:00.132   485  4716 E Camera3-OutputStream: returnBufferCheckedLocked: Stream 2: Error queueing buffer to native window: Broken pipe (-32)
01-31 14:30:00.132   571  2201 I ImeTracker: com.carcm:61fc9a02: onRequestHide at ORIGIN_SERVER_HIDE_INPUT reason HIDE_REMOVE_CLIENT
01-31 14:30:00.108     0     0 I binder  : 16301:485 cannot find target node
01-31 14:30:00.109     0     0 I binder  : 485:16301 transaction call to 0:0 failed 3665840/29189/-22, size 112-0 line 3210
01-31 14:30:00.133   571  2201 I ImeTracker: com.carcm:61fc9a02: onCancelled at PHASE_SERVER_SHOULD_HIDE
01-31 14:30:00.133   571   627 I libprocessgroup: Successfully killed process cgroup uid 10184 pid 16085 in 0ms
01-31 14:30:00.134   485   485 D Camera2ClientBase: Camera 0: start to disconnect
01-31 14:30:00.134   485   485 D Camera2ClientBase: Camera 0: serializationLock acquired
01-31 14:30:00.134   485   485 D Camera2ClientBase: Camera 0: Shutting down
01-31 14:30:00.134   485   485 D Camera2ClientBase: Camera 0: start to cacheDump

Camera Device
{
  "formats": [],
  "sensorOrientation": "landscape-right",
  "hardwareLevel": "full",
  "maxZoom": 10,
  "minZoom": 1,
  "maxExposure": 9,
  "supportsLowLightBoost": false,
  "neutralZoom": 1,
  "physicalDevices": [
    "wide-angle-camera"
  ],
  "supportsFocus": true,
  "supportsRawCapture": true,
  "isMultiCam": false,
  "minFocusDistance": 5,
  "minExposure": -9,
  "name": "BACK (0)",
  "hasFlash": true,
  "hasTorch": true,
  "position": "back",
  "id": "0"
}

Device
sdk_gphone64_x86_64
VisionCamera Version
3.8.2
Can you reproduce this issue in the VisionCamera Example app?
I didn't try (⚠ your issue might get ignored & closed if you don't try this)
Additional information

[ ] I am using Expo
[X] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

01-31 14:29:59.809 16085 16162 I HermesVM: Compiling JS failed: 1:1:invalid empty parentheses '( )',  Buffer size 3 starts with: 280a29 and has protection mode(s): rw-p

Are you using reanimated? See this issue: https://github.com/software-mansion/react-native-reanimated/issues/5576 - enabling processNestedWorklets in the babel plugin will probably fix your issue.

Sorry again But my babel.config.js is
module.exports = {
  presets: ['module:@react-native/babel-preset'],
  plugins: [
    [
      'react-native-reanimated/plugin',
      {
        processNestedWorklets: true,
      },
    ],
    ['react-native-worklets-core/plugin']
  ]
};

and im using those versions
"dependencies": {
    "react": "18.2.0",
    "react-native": "0.73.3",
    "react-native-reanimated": "^3.6.2",
    "react-native-vision-camera": "^3.8.2",
    "react-native-worklets-core": "^0.3.0"
  }

still having the same issue am i missing something ?
Can You provide me with tested versions ?
I mean every thing if possible
jdk gradle AGP rn vision camera .....
Thank you for the response

Finally !!!
This combination worked thank you .
"react-native-reanimated": "^3.6.0",
    "react-native-vision-camera": "^3.9.0-beta.0",
    "react-native-worklets-core": "^0.3.0"

Still happening. I am not using reanimated. Created new project with expo.
"react-native-vision-camera": "^3.9.0-beta.0",
"react-native-worklets-core": "^0.3.0",

I'm getting the same error message, I'm using the following versions:
"react-native": "0.73.4",
"react-native-reanimated": "3.6.2",
"react-native-vision-camera": "3.7.1",
"react-native-worklets-core": "0.2.0"

It was working with react-native v0.72.6 and react-native-reanimated v3.7.1 but I had to downgrade react-native-reanimated to v3.6.2 to get other stuff in the app working with react-native v0.73.4

Did the downgrade work?


Added writeup for PicoCTF fancy_cache use-after-free.

Fancy Cache was a Master Challenge for PicoCTF worth 200 points. The
aim was to exploit a use-after-free vulnerability.

This almost doesn't use pwntools at all.  No tubes, no DynELF, no symbol resolution, etc.  the only feature this uses is pack()ing routines.
I recommend taking a look at some of the other write-ups and browsing through the documentation.  There are a lot of things that can be done to make this more pwntools-y :-)


Add example generation harness

Hi! Thank you for helping out with Embedded Graphics development! Please:

[x] Check that you've added passing tests and documentation
[x] Add a simulator example(s) where applicable
[x] Add a CHANGELOG.md entry in the Unreleased section under the appropriate heading (Added, Fixed, etc) and appropriate crate (embedded-graphics, simulator, tinytga, tinybmp) if your changes affect the public API
[x] Run rustfmt on the project
[x] Run ./build.sh (Linux/macOS only) and make sure it passes. If you use Windows, check that CI passes once you've opened the PR.

PR description

[x] Adds example screenshot generator
[x] Adds table of drawing operations to lib.rs

Closes #223

Why do you add the examples to a HashMap before running them? Did you plan to reuse the hash map for anything but running the examples?
Here is a test I did using some macro magic to generate images and prints rust docs to stdout: https://gist.github.com/rfuest/d6c7a1f365ae5e90a77d4e6c27c9df6d
Note the changed run command, because stringifying code blocks gives ugly results and needs rustfmt to make the output nicer.

Why do you add the examples to a HashMap before running them? Did you plan to reuse the hash map for anything but running the examples?

No other use, it was just easier to loop through them than copy and paste the boilerplate.

Here is a test I did

I didn't know about stringify!(). That's awesome. I'll fold in the macro magic and see what else needs doing.

Here's the output so far:

The homepage is gonna get very long very quickly if there are a lot of examples to be added... thoughts? Submodule?
Also, do you have a list of examples you'd like to see included?

The homepage is gonna get very long very quickly if there are a lot of examples to be added... thoughts? Submodule?

I don't really have a good idea for this and this was the reason I mentioned an e-g book in #223. But until someone wants to start writing one we need another solution. Maybe a markdown file in the repo and a link to that in the docs?

Edit: I could create a literal table of all the examples with images next to each. That would shorten the content significantly

That was my initial idea. IMO we should try if that works.

Also, do you have a list of examples you'd like to see included?

Let's start with one example per drawable (primitives, text and image). That should give a good first impression and additional examples can easily be added later.

Getting there!

That looks much better!

I went with flexbox instead of tables because the latter are irritating af to tweak well. Still looks good IMO, and it doesn't increase the lib.rs doc length by too much.
The last issue is the image example. I went with tinytga which is fine, but including the file with a relative path only works in either one of the generator or lib.rs, because they're in different depths relative to the image. Any suggestions?

The last issue is the image example. I went with tinytga which is fine, but including the file with a relative path only works in either one of the generator or lib.rs, because they're in different depths relative to the image. Any suggestions?

Could you use a path relative to CARGO_MANIFEST_DIR?
https://doc.rust-lang.org/cargo/reference/environment-variables.html#environment-variables-cargo-sets-for-crates

Buh I new there was an env var somewhere. Thanks for finding that.
I fixed it in latest commit as far as I can see. You'll notice I have to go up one dir then back down into simulator to normalise the path - CARGO_MANIFEST_DIR includes the crate path instead of just pointing at the workspace.

Can you also update lib.rs with the changes made in the last commit?

Argh missed it again. Done!

I didn't like that the stringify macro removes all newlines from the examples. I tried to fix this by adding a hack that replaced {} with a newline when generating the output: https://github.com/rfuest/embedded-graphics/tree/examples-table
The repo also contains a new rustfmt.examples.toml which sets imports_layout = "Vertical" to reduce the width of the examples and prevents overflow in the Rectangle example.

I noticed that too >:C
I've rebased your changes onto this branch like the thick lines PR. The formatting changes are a neat trick. Nice!

You've accidentally added xclip to the repo.

No I didn't! History is written by ~the winners~ git rebase :sunglasses:


[vamp-sdk] Remove duplicated dependence on vcpkg-cmake

Describe the pull request

What does your PR fix?
This port had a duplicate dependence on vcpkg-cmake.

😅🤣 Thanks!


Extension: Publish to the Chrome Web Store (copy & assets needed)

[ ] screenshots, must be 1280 by 800
[ ] description

Our listing (draft): https://chrome.google.com/webstore/detail/flgggfbldmglpjmagkhlhiohnkcmgbhi/preview?hl=en&authuser=0

Submitted a few hours ago 💪🏼🚀


feat: add course event relation

force merge, because only small changes were requested and 'okay to merge' was given via telegram :)


Problems on using Asana application

Hi guys,
I'm using Asana as task issue platform and on weekends I found some problems on load there website.
After some investigation, the issue seems to be caused by your plugin (when I disabled it, the website start without problem).
When I try login, receive that on console:

Currently, I found that issue is on Asana but I'm not sure is only linked on it.
Any notice of that?
Thanks

Same here.

This issue is a duplicate of #734

@igor-ka this issue has created before #734 but it's the same :).
Do you prefer if I close it?

@emilianosantucci I marked this one as the duplicate because I encountered it second on the list. Hope that is ok :)
Otherwise, it would be great if you can test the PR against your specific use case and close the issue if it addresses it for you. The build with the PR should be available here

@igor-ka I can't install your attachment but I have cloned dev project where you have merged the PR and it works fine.
Have you a prevision for production release?


Question about authentication.

Hi,
I followed your tutorial and completed it successfully.
However, now I need to consume a soap web service that requires a pfx certificate as client authenticate. Do you know how can I set the certificate for the maven plugin to generate the classes?
Thank you!

You should ask that on Stack Overflow.


AJAX load a PDF into a DIV

Instead of using iFrames to view PDF content, I'd love to use a scrollable DIV. As far as I can tell, the scripts you use would support this but it wold take a lot of modification. Is this something you've played around with? Or am I asking for a unicorn for Christmas again?

Given this request for a unicorn sadly had to be rejected given the focus/mission of this project, closing it also now.


New account creation requires email

Thinking this would be handled better via a local config or utility.
Might be useful to create a 1st run script that does a bit of this (cert setup, admin account creation) perhaps.

Would it be possible to consider tying user authentication into IPA, OpenLDAP or other directory services?

Possible, but would take some effort by a motivated person. :)

I was also surprised I had to give an email address to create a local user account, since I'm using this on the same Pi as MyCroft.

I have circumvented this by changing some code. It would be nice to make this requirement configurable.
First, I changed this function in frontend/utils.py
def add_user(username, password, email, mail_sender):
    token = generate_confirmation_token(email)
    with session_scope() as s:
        try:
            u = User(name=username, password=password, mail=email, token=token)
            #confirm_url = url_for('confirm', token=token, _external=True)
            #html = render_template('activate.html', confirm_url=confirm_url)
            #subject = "Please confirm your email"
            #send_confirmation_mail(email, subject, html, mail_sender)
            s.add(u)
            s.commit()
            return True

Then, I added one line to the signup routine in frontend/main.py to immediately confirm the user.
    @app.route('/signup', methods=['GET', 'POST'])
    @noindex
    @donation
    def signup():
        if not session.get('logged_in'):
            form = LoginForm(request.form)
            if request.method == 'POST':
                username = request.form['username'].lower()
                password = utils.hash_password(request.form['password'])
                email = request.form['email']
                if form.validate():
                    print("form valid")
                    if utils.username_taken(username):
                        flash("Username taken")
                        return json.dumps({'status': 'Username taken'})
                    if utils.mail_taken(email):
                        flash("Email taken")
                        return json.dumps({'status': 'Email taken'})
                    if utils.add_user(username, password, email, mail_sender):
                        session['logged_in'] = True
                        session['username'] = username
                        utils.change_user(confirmed=True, confirmed_on=time.time()) # ADDED THIS LINE
                        flash("Signup successful")
                        return json.dumps({'status': 'Signup successful'})
                    flash("Signup failed")
                    return json.dumps({'status': 'Signup failed'})
                flash('All fields required')
                return json.dumps({'status': 'All fields required'})
        return redirect(url_for('unconfirmed'))

originally i assumed the backend would be on an open network (say a digital ocean account) and decided to require email, even if not on an open network i did not assume you would run 1 instance in each device, the idea being that the backend manages them all (mainly handling STT at current state)
to add an account without email you can interact with the database directly, should a cli/example script be made to handle this? maybe also a cli tool to pair a device
for this use case other option would be to make a service that would connect to the mycroft messagebus, this could listen for pairing messages and auto-pair

should a cli/example script be made to handle this? maybe also a cli tool to pair a device

That would be great. I had a look in the current database example and that helped a lot to understand what was going on. I also used a sqlite database management tool to look into the device database. Using database script added a strange user.

I think adding functionality to disable user signup/signin would increase complexity and might introduce accidental back doors. The steps required by the installer is minimal if the installer has a gmail account.

First start the server to generate a new config file
Add and app password to your gmail account by following this guide
Change the config file mail_user to the email you want to use in ~/.mycroft/personal_backend/personal_backend.conf
Change the config file mail_password to the password generated (step 2) in ~/.mycroft/personal_backend/personal_backend.conf
Restart the server

I've tested this using current revision and it is working.

That is fine, but I was referred to this project because I wanted to have a version of MyCroft that runs completely cloudless.
Having to make a connection to a mail server invalidates this proposition.
It seems that this project is more of a "team backend" or "company backend" than a "personal backend"? It's not really geared towards use by individuals?

@flatsiedatsie the project is in a very early stage, the first concern was to mimic the official backend for compatibility
you make a valid point, i will make this configurable and optional, but enabled by default

Thank you, that sounds great!

solved by #43 and #44


fix: request early cancellation form does not save draft

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/47005
PROPOSAL: https://github.com/Expensify/App/issues/47005#issuecomment-2275435219
Tests

[Web & mWeb only]

Navigate to Settings > Workspaces
Create a new workspace
Navigate to Settings > Subscription > Request early cancellation
Select any option
Refresh the page
Verify the draft option is saved

[x] Verify that no errors appear in the JS console

Offline tests

NA
QA Steps

See Tests

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: mWeb Chrome

https://github.com/user-attachments/assets/e8728803-200e-45d0-9733-ccce0dd3e846

iOS: mWeb Safari

https://github.com/user-attachments/assets/cf268804-e19d-4a25-ac7f-d55f1416db3c

MacOS: Chrome / Safari

https://github.com/user-attachments/assets/7b50f60c-3036-4f7a-949d-db6587e5952c

MacOS: Desktop

https://github.com/user-attachments/assets/ae00ecf6-92a2-4bfa-b9b0-cd1a5912fc3e

I have read the CLA Document and I hereby sign the CLA

@ntdiary I resolved your feedbacks:

Use draft directly without using states
Clear draft values on submit

@ntdiary Seems like Design team is fine with the changes. You can continue your review.

@ntdiary Thanks, updated!

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/stitesExpensify in version: 9.0.22-0 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/stitesExpensify in version: 9.0.22-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/chiragsalian in version: 9.0.22-9 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Windows maximum aliases per line

As seen here https://superuser.com/questions/932112/is-there-a-maximum-number-of-hostname-aliases-per-line-in-a-windows-hosts-file, there is a maximum of nine aliases per line in the hosts file on Windows.
I am often beyond that maximum of nine aliases in the VVV environments I use, meaning some of my sites don't work without manually splitting the aliases into multiple lines.
Assuming that I'm not the only one running into this, I would like to request a feature that automatically splits the aliases into multiple lines if there are more than nine.
Thanks!

You need to open a ticket on the cli tool that this plugin uses of this project -> https://github.com/goodhosts/cli/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc
This plugin is just a wrapper around this tool and we can't do anything for this.


An another project ?

Hi,
Why do an another project instead of pull the modification for the target netcore to the original repository ?

The original project "https://github.com/NArnott/System.Linq.Dynamic" (on which this one is based) has been unlisted and the "https://github.com/kahanu/System.Linq.Dynamic" is behind in functionality and testability.
So this project has the most features, documentation and tests.

Ok, thanks for the job.
I had started a few months ago the fork of kahanu for the netcore target before to come back to net451 because the 3rd libraries aren't compatible. Now i return to netcoreapp again, microsoft break the compatibility with net451 into the rc2 on linux :disappointed_relieved:

This project should be fine for Linux rc2, if there are issues, please report these here.


[Feature Request]: add dark mode to adventure travel page

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
add dark mode to adventure travel page
Use Case
add dark mode to adventure travel page
Benefits
add dark mode to adventure travel page
Add ScreenShots
https://github.com/user-attachments/assets/983223bd-ac28-4e04-a200-a47d2f121f8a
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSOC'24 contributor
[X] I have starred the repository

@itsekta please assign me this issue


Feature 894 client parameter flexibility

more flexibility in passing args (action can be passed other than last arg)
default to help screen on empty action
unit test added

closes #894

@Jeeppler thanks for reviewing :+1:


fix: producer async_wait error return

chore: python 3.8 EOL
chore: update CHANGELOG.md
chore: README.md update
fix: produce output result misconversion always resulted in None

Part of #499


NodePolyfills needed to complete build, lest "Uncaught SyntaxError: Delete of an unqualified identifier in strict mode"

I need nodePolyfills to make this build and publish, but the binding name namespace isn't in env, nor is it global (but would be unexpected for durable object as docs describe).
export default {
  async fetch(request, env/*, ctx*/) {
return new Response(JSON.Stringify(env));
//1. should I use context in conjunction? https://githubmemory.com/index.php/repo/cloudflare/workers-rs
    try {
      return await noException(request, env);
      // wrap the body of your callback in a try/catch block to ensure it cannot throw an exception.
      // is return, "the body?"
    } catch (e) {
      return new Response(e.message);
    }
  }
};
async function noException(req, env) {
  return new Response(JSON.stringify(env));
};

returns an empty object. 2. Is a KV namespace required? The docs have them as differently listed than Durable Object namespace identified in bindings = in wrangler.toml
Other than those two questions, 3. I am unsure if I should have [site] uncommented, and 4. if following error directions in having named environments (further down Github Actions list) is appropriate.

the durable_object binding needs to be repeated for the environment
[env.production]
name = "mastercard-backbank"

[env.staging]
name = "mastercard-backbank-staging"

[durable_objects]
bindings = [{ name = "EXAMPLE_CLASS", class_name = "DurableObjectExample" }]

[env.staging.durable_objects]
bindings = [{ name = "EXAMPLE_CLASS", class_name = "DurableObjectExample" }]

[env.production.durable_objects]
bindings = [{ name = "EXAMPLE_CLASS", class_name = "DurableObjectExample" }]


Introduce import-values strategy + revert default strategy for backwards compat

What this PR does / why we need it:
With the introduction of a bug fix https://github.com/helm/helm/issues/9940 https://github.com/helm/helm/commit/5d017e11f1f47345a3559bf70f63d81a7edc981a there was a breaking introduced that makes it no longer possible to import values from a sub-chart that override values that are already defined in the importing chart. This issue is described in https://github.com/helm/helm/issues/10899
Between the original behavior and the one that "fixed" there are two possible scenarios for a string value:

override: import values from the sub-chart and override everything in the parent chart (old behavior)
ifNotPresent: import values from the sub-chart and only import the value if it's not defined in the chart chart (current behavior since the "fix")

Something else I noticed is that the ifNotPresent behavior was already applied to an import-values entry with child and parent paths before, so it was not consistently implemented even before the "fix". Even though the helm docs mention "override" behavior.

Type
Original behavior
Since "fix"
With PR
Docs

string
override
ifNotPresent
override
override  (not explicitly mentioned, but I assume the same as child + parent path)

child + parent path
ifNotPresent
ifNotPresent
ifNotPresent
override

So the aim of this PR is to revert the breaking changes, which should happen at major versions. And additionally introduce a "strategy" to explictly define the behavior (naming can still be discussed). Adding the strategy looks at follows:
# alternative for string with a different strategy
dependencies:
  - name: child
    import-values:
      - key: data
        strategy: override

# child + parent path with a strategy
dependencies:
  - name: child
    import-values:
      - child: default.data
        parent: myimports
        strategy: ifNotPresent

A few todos/questions:

[ ] does the json spec of Chart.yaml need to updated somewhere? I wasn't able to find it in the repo.
[ ] if desired for short term, we could just revert to the "fix PR" and you can use child + parent path instead
[ ] docs will need to be adjusted, unless we want to change the default behavior of child + parent path from ifNotPresent to override to reflect the docs?
[ ] expand unit tests?

Closes https://github.com/helm/helm/issues/10899
Special notes for your reviewer:
If applicable:

[ ] this PR contains documentation
[x] this PR contains unit tests
[ ] this PR has been tested for backwards compatibility

This PR looks to be waiting for approval for some long time.
Is there anything preventing it to happen? I understand there could be a discussion on the new proposed yamls fields to introduce in the Chart.yaml schema ... but nothing is "happening" around that (?)
We are not able to upgrade Helm from 3.8.1 to any newer release due to the NBC introduced by 3.8.2 on imported-values behavior; it looks we are not the only ones "suffering" this problem.
Asking here in order to understand if not accepting (yet) this PR is only because Helm guys allowed to accept it are overloaded ... or is it because they see some "issues/problems" on accepting it (?).
Thanks in advance.

Yes, the project does need more maintainers. If you're interested, the first step is contributing code.
Come join the developer meeting, if you can: https://github.com/helm/community/blob/main/communication.md#meetings.
Post your interest in becoming a maintainer on the mailing list.
I also recommend familiarizing yourself with the existing hips
Even if you're not interested in becoming a maintainer, the developer meeting is a great place to meet the maintainers and shed light on issues or PRs that need attention.

Hello!
Would it be possible to have this PR merged? Is there anything missing?
We cannot use Helm >= 3.8.2 since https://github.com/helm/helm/pull/10110 was introduced.
Thanks!


AttributeError: 'ChatCompletionResponse' object has no attribute 'event'

data_url = data_url_from_image("dog.jpg")
print("The obtained data url is", data_url)
iterator = client.inference.chat_completion(
model=model,
messages=[
{
"role": "user",
"content": [
{ "image": { "uri": data_url } },
"Write a haiku describing the image"
]
}
],
stream=True
)
for chunk in iterator:
print(chunk.event.delta, end="", flush=True)

Could you print out on what chunk is? Do you have the output logs from Llama Stack server if you are starting up your Llama Stack distribution?

I am getting similar error. Here's what print(chunk) prints:
ChatCompletionResponse(completion_message=None, logprobs=None, error={'message': '500: Internal server error: An unexpected error occurred.'})
On the server side, i see this error:
INFO:     ::1:45792 - "POST /inference/chat_completion HTTP/1.1" 200 OK
Traceback (most recent call last):
File "/home/japneet/src/llama-stack/llama_stack/distribution/server/server.py", line 206, in sse_generator
async for item in event_gen:
TypeError: 'async for' requires an object with aiter method, got coroutine


Fails to retrieve Google Keep Sync Token

everytime, curious if this is a known issue and is there another way to find it?

@emperorcollins please share the following details;

Description of what the bug is
Steps to reproduce
Screenshots, if possible
Operating system
Browser & version

Description of what the bug is: it freezes after you hit approve terms in final google auth step.
Steps to reproduce: fresh install of the plugin (as i'm now) and just try to retreive.
Screenshots, if possible
Here a Loom with the issue:
https://www.loom.com/share/3cca9e961b7947a993c122326a88025c
Operating system: macOS 15.1.1 (24B91)
Browser & version: native obsidian macOS app v 1.7.7

Thank you for sharing the Loom video. It seems that the token registration process is not recognizing that you have accepted the terms, which is preventing you from moving on to step 3.
I believe I have identified the issue: it appears to be related to the interface language. I am using the button text to determine whether the terms have been accepted. This bug will be fixed in the next release, which is scheduled for later this week.
In the meantime, could you please switch your interface language to English temporarily and see if that allows you to proceed beyond this point?
Thank you!


Draw robot perimeter

Add a robot length and width to the configuration. Draw a rectangle of those dimensions centered on each waypoint and angled based on the waypoint's angle, to show the robot position at that waypoint.

TODO:

[ ] Add new section for robot dimensions
[ ] Add new source traj level for robot rect display


adds ability to self publish workbaskets via the django admin workbasket view

TP2000-1494
Adds ability to self publish workbaskets via the django admin workbasket view
Why
We need a method to self publish workbaskets (i.e. publish workbaskets only for TAP and not any downstream consumers like HMRC or the Channel Islands) via the UI. Currently it can only be done through scripts.
What
This PR adds a button to Django admin workbasket view to enable self publishing. It will only show to super users and it will only be clickable if the workbasket in question is in EDITING state and with all transactions having passed rules checks.

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

Project coverage is 93.08%. Comparing base (76b3df5) to head (6e19ef6).
Report is 24 commits behind head on master.

Files with missing lines
Patch %
Lines

workbaskets/admin.py
6.25%
14 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1292      +/-   ##
==========================================
- Coverage   93.11%   93.08%   -0.04%
==========================================
  Files         620      642      +22
  Lines       47329    48324     +995
  Branches     3343     5201    +1858
==========================================
+ Hits        44070    44980     +910
- Misses       2619     2688      +69
- Partials      640      656      +16

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


Native review for trotha01/elm-google-analytics

https://github.com/trotha01/elm-google-analytics
Continued from this thread: https://github.com/elm-lang/package.elm-lang.org/issues/166
The code has been updated for 0.17

I'd like to go in this direction from now on. Sorry for the trouble.


[GAIA-IR] support lazy projection for columns used only in a predicate

What do these changes do?

[IR Core] support lazy projection for columns used only in a predicate.
[IR Compiler] update ElementFusionStrategy to fuse expand with filter.
[IR Runtime] support LazyDetails for lazy vertex/edge properties fetching on exp_store and gs_store

Related issue number

Fixes

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.3 out of 4 committers have signed the CLA.:white_check_mark: longbinlai:white_check_mark: shirly121:white_check_mark: BingqingLyu:x: MeloYang05You have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report

Merging #1746 (d0ac890) into main (96ffefe) will decrease coverage by 3.73%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1746      +/-   ##
==========================================
- Coverage   44.01%   40.28%   -3.74%
==========================================
  Files          89       89
  Lines        9764     9764
==========================================
- Hits         4298     3933     -365
- Misses       5466     5831     +365

Impacted Files
Coverage Δ

python/graphscope/tests/unittest/test_java_app.py
0.00% <0.00%> (-100.00%)
:arrow_down:

python/graphscope/deploy/hosts/cluster.py
31.64% <0.00%> (-55.70%)
:arrow_down:

python/graphscope/analytical/app/java_app.py
24.24% <0.00%> (-44.95%)
:arrow_down:

python/graphscope/framework/utils.py
40.10% <0.00%> (-14.85%)
:arrow_down:

python/graphscope/framework/app.py
69.95% <0.00%> (-10.33%)
:arrow_down:

python/graphscope/framework/graph_schema.py
52.45% <0.00%> (-7.11%)
:arrow_down:

python/graphscope/tests/conftest.py
48.21% <0.00%> (-4.65%)
:arrow_down:

python/graphscope/client/rpc.py
86.11% <0.00%> (-3.71%)
:arrow_down:

python/graphscope/client/session.py
63.75% <0.00%> (-3.22%)
:arrow_down:

python/graphscope/analytical/udf/utils.py
36.17% <0.00%> (-3.20%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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


kdecoration-viewer: Fixes build

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build kdecoration-viewer

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: kdecoration-viewer
Partial log (click to expand)

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

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

Success on aarch64-linux (full log)
Attempted: kdecoration-viewer
Partial log (click to expand)
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/dxsm574q68dv54y0c3ydbas60n2vipla-kdecoration-viewer-2018-07-24
shrinking /nix/store/dxsm574q68dv54y0c3ydbas60n2vipla-kdecoration-viewer-2018-07-24/bin/kdecorationviewer
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/dxsm574q68dv54y0c3ydbas60n2vipla-kdecoration-viewer-2018-07-24/bin
patching script interpreter paths in /nix/store/dxsm574q68dv54y0c3ydbas60n2vipla-kdecoration-viewer-2018-07-24
checking for references to /build in /nix/store/dxsm574q68dv54y0c3ydbas60n2vipla-kdecoration-viewer-2018-07-24...
postPatchMkspecs
/nix/store/dxsm574q68dv54y0c3ydbas60n2vipla-kdecoration-viewer-2018-07-24

Success on x86_64-linux (full log)
Attempted: kdecoration-viewer
Partial log (click to expand)
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/pxdj0lrm9sp1vr8isymlcp15adm2f74j-kdecoration-viewer-2018-07-24
shrinking /nix/store/pxdj0lrm9sp1vr8isymlcp15adm2f74j-kdecoration-viewer-2018-07-24/bin/kdecorationviewer
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/pxdj0lrm9sp1vr8isymlcp15adm2f74j-kdecoration-viewer-2018-07-24/bin
patching script interpreter paths in /nix/store/pxdj0lrm9sp1vr8isymlcp15adm2f74j-kdecoration-viewer-2018-07-24
checking for references to /build in /nix/store/pxdj0lrm9sp1vr8isymlcp15adm2f74j-kdecoration-viewer-2018-07-24...
postPatchMkspecs
/nix/store/pxdj0lrm9sp1vr8isymlcp15adm2f74j-kdecoration-viewer-2018-07-24

needs backporting ZHF #45960

backported: 0df87918e58


Accuracy is very low

I am not getting true result.Some results are false and on some images it is not showing tampering level.
Thanks in advance

How much time did it take to train the model for 40000 iter on a gpu ?


PKCS #7/CMS, PKCS #11 and PKCS #15 support

These three crypto standards define standard message formats, and key usage and identification APIs. This will allow much greater interoperability and flexibility.
CMS:

This syntax is used to digitally sign, digest, authenticate, or encrypt arbitrary message content. The CMS describes an encapsulation syntax for data protection. It supports digital signatures and encryption. The syntax allows multiple encapsulations; one encapsulation envelope can be nested inside another.
Likewise, one party can digitally sign some previously encapsulated data. It also allows arbitrary attributes, such as signing time, to be signed along with the message content, and it provides for other attributes such as countersignatures to be associated with a signature.
The CMS can support a variety of architectures for certificate-based key management, such as the one defined by the PKIX (Public Key Infrastructure using X.509) working group [PROFILE].

Currently, Olm defines its own message format. This means its data can only be understood by other Olm implementations, even with knowledge of the key.
PKCS #11:

The PKCS#11 standard specifies an application programming interface (API), called “Cryptoki,” for
devices that hold cryptographic information and perform cryptographic functions. Cryptoki follows a
simple object based approach, addressing the goals of technology independence (any kind of device) and resource sharing (multiple applications accessing multiple devices), presenting to applications a common, logical view of the device called a “cryptographic token”.
Cryptoki isolates an application from the details of the cryptographic device. The application does not have to change to interface to a different type of device or to run in a different environment; thus, the application is portable.

PKCS #15:

PKCS #15 establishes a standard that enables users in to use cryptographic tokens to identify themselves to multiple, standards-aware applications, regardless of the application's cryptoki (or other token interface) provider.
It is widely recognized that cryptographic tokens such as Integrated Circuit Cards (ICCs or Smart Cards) offer a great potential for secure identification of users of information systems. But if this potential is ever going to be fully realized, and users are to receive full benefit of these tokens, there is an obvious requirement of credential portability and interoperability.
Interoperability demands standardization, and this document, PKCS #15, is intended at establishing a standard which ensure that users in fact will be able to use cryptographic tokens to identify themselves to multiple, standards-aware applications, regardless of the application's cryptoki (or other token interface) provider.
Why is PKCS #11 not sufficient?
The PKCS #11 specification alone can not offer this functionality since it is an API specification aimed at offering applications a uniform interface to cryptographic tokens. This means that different tokens requires different PKCS #11 drivers, and unless a user's desktop has the 'right' PKCS #11 driver installed, the user will be unable to use the token on that desktop.

PKCS #11/#15 are what are used by numerous existing applications to manage and use, respectively, crypto tokens (a.k.a. keys), whether they be X.509 certificates or PGP keys on a Yubikey.
For example, in the triple Diffie-Hellman key exchange scheme,  Alice and Bob's device keys (A and B in the picture) could be either signed by their respective global identity keys using PKCS #15, or they could use their global identity keys in lieu of device keys (which would, however, mean compromised devices compromise everything much easier). This would be an option to trade deniability for authenticity; however, PKCS #15 isn't limited to global identity keys - it could just as easily be used for accessing a TPM to create both device and ephemeral keys.
From what I understand, OpenSSL and LibreSSL can both support all of these (related: https://github.com/matrix-org/olm/issues/3). If one of these is chosen to be used for crypto primitives, then it would be fairly straightforward to enable these three standards.

If #1 is fixed, would it make sense to implement this as a separate layer on top of the core?

I think it would, yes - at least for PKCS #7/CMS, which is just about message formatting.
I'm not sure about 11/15, though. Would it make sense to build on top of them, or would it make sense for them to be on top of the core? Or both?
It definitely makes sense to be able to access crypto tokens in the core, so in that sense the core should be on top of #15, but yeah. Not entirely sure.


Split Bundle in two parts

for easier integration and long term compatibility it would be good to split this bundle in 2 or three parts.

core
admingeneratorgenerator
sonata

also it helps to know which files are required for which admin.

or even split it in 4 parts. the database persistence should also be optional. messages also could go to a message queue.


No Animation Notes

Describe your problem here.
Well, I just wanted to know how I could replicate the No Animation note with Lua
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
nah

Use the search feature before opening an issue #8305


R119 cb

fixes and improvements for current CUDA master

Refer to this link for build results (access rights to CI server needed):
/job/nd4j_PR/57/


Wrapper nodejs PointCloud.mapTo issue

Hello,
Required Info |
-- | --
Camera Model | D435
Firmware Version | <IP_ADDRESS>
Operating System & Version | Win (10)
Platform | PC
SDK Version | 2.33.1
Language | NodeJS
I'm trying to code the same program I made in c++ but this time with javascript
I encounter the same issue with the the version 2.33.1. Notice that this problem is not happening with the old version inside the package npm node-librealsense (sdk 2.19.x I believe)
The function mapTo "is working" when I put in comment the lines from 2969 to 2977 of the file  /src/addon.cpp
/*
    StreamProfileExtrator extrator(profile);
    CallNativeFunc(rs2_set_option, &me->error_,
        reinterpret_cast<rs2_options*>(me->processing_block_),
        RS2_OPTION_TEXTURE_SOURCE,
        static_cast<float>(extrator.unique_id_),
        &me->error_);
    if (extrator.stream_ == RS2_STREAM_DEPTH) return;
*/

But, no color mapping is applied whatever it 's the last or very old sdk version, this function may have an importance with that.
Thank you
Originally posted by @yohanb78 in https://github.com/IntelRealSense/librealsense/issues/5057#issuecomment-612193413
code.js.txt

partof.cpp.txt

Hi,
Will you be needing further help with this? If we don’t hear from you in 7 days, this issue will be closed.
Thanks


setEnabled(false) makes pins invisible when using permanent pins

custom:temporaryPins="false"
I switch rangeBars enabled property with this: mRangeBar.setEnabled(enable);
Setting it false makes pins invisible (I think it should only set the color gray). Switching it back to enabled doesn't make the pins visible again.
When temporaryPins set to true, it works as intended.

I think it's same as #64

#88 fixes the problem


issue for buildmodel function in gazebo simulator

I have a problem when i used buildmodel function, owing to build continously this function.
Can I use this function only once in a gazebo simulation?
thank you.

Your issue is not very clear. Could you please provide a tiny reproducing example?

Your issue is not very clear. Could you please provide a tiny reproducing example?

i'm using as below example code
`
void ROBOT_INFO::InverseDynamics(const Vector & q, const Vector & v, const std::string & filename,
VectorXd & tau)
{
Model model;

pinocchio::urdf::buildModel(filename, model);
VectorXd a = VectorXd::Zero(model.nq);

Data data(model);

nonLinearEffects(model, data, q, v);

tau = data.nle;

}
`
The real time factor of the gazebo seems to be reduced as an effect of this function(buildModel).
As in this code, when this function is every called, buildModel is used.
The real time factor of the gazebo seems to be reduced as an effect of buildModel.
So, I want to declare and use buildModel only once like a global variable.
I want to know how to use buildModel.

Hello, I think you should create the model and data object outside the function and then pass it to your custom function. something like:
Model model;
pinocchio::urdf::buildModel(filename, model);
Data data(model);

void ROBOT_INFO::InverseDynamics(const Model & model, Data & data, const Vector & q, const Vector & v,
VectorXd & tau)

Yes, you can create your model once and for all as suggested by @fabinsch. The same for the data (less costly).
And then you use your model as you want. Please look at the concept of singleton in C++ to help you define global variables safely.
I'm closing the issue as the suggestion seems to fulfil your need.