Guess what! New dists page :)

https://ipfs.io/ipfs/QmQCSYBkVKY2Am8WU8iJ2i2qYB59TyiPHs9ZxASuxsEkbH/
ipfs 0.4.7 rc1

Oh look, 0.4.7 is out now:
https://ipfs.io/ipfs/QmQzv4n3d55aQ5P4d9yTpNuph2ijG7T2qNGmkebQLnEAo7/

dooone https://dist.ipfs.io


Avoid trying to sync namespaces as namespaced resources.

Summary
After recent changes, it seems that the syncer constantly tries to sync namespace resources, as other namespaced resources, which of course is not possible.
Surely namespaces should be received by the informer and present in the informer caches, but not effectively synced by the syncer process functions.
Fixes #
Not sure there was an issue for this.

@itdove This PR does something that your PR #1046  also fixed. WDYT of merging this one first, and thus decoupling this fix from the main purpose of your PR #1046 ?
Your PR should be quite easy to rebase on this change which is very similar to what your PR includes.


VideoFrame.Save() not setting color_range for output frame

Hi @dubiousconst282 , I am using VideoFrame.Save() to take a jpg snapshot of a video, I noticed that the jpg'color is whitening than png output
https://github.com/dubiousconst282/FFmpegWrapper/blob/4f46e5e4e67799d4aefbb19c7e8646a9e074f433/FFmpegWrapper/VideoFrame.cs#L224-L236
this code here only set color_range for encoder, but tempFrame colorSpace is copy from src, tempFrame.Colorspace = Colorspace; , so sws.SetColorspace will have no effect, AVCOL_RANGE_MPEG in and AVCOL_RANGE_MPEG out. encoder will treat MPEG as JPEG, result into wrong color range
I add one line after, and it output the same color range like png.
tempFrame.Colorspace = Colorspace;
if (jpeg) tempFrame.Handle->color_range = AVColorRange.AVCOL_RANGE_JPEG;

In my testing, I also find out if src and dst have the same pixel format, sws_setColorspaceDetails will have no effects, I change to var pixFmt = jpeg ? AVPixelFormat.AV_PIX_FMT_YUV420P : AVPixelFormat.AV_PIX_FMT_RGBA; then SetColorspace, color still off. Maybe a bug in sws_scale, similar to this https://trac.ffmpeg.org/ticket/4805
I imagine if src format is also AV_PIX_FMT_YUV444P, it may fail to change color range also.
I test using YUVJ444P instead, it works without setting colorspace, but it's deprecated pixel format used

Thanks for spotting this.
After applying the suggested fix for color_range the first issue indeed seems to go away for most part, and I found that further creating SwScaler with the InterpolationMode.HighQuality flag makes for almost identical outputs compared to PNG (albeit probably with a slight impact in performance).
None of this works for HDR sources, I think because JPEG does not support color profiles and because swscale does not support this sort of remapping, but that's a niche case anyway and it's possible to filter beforehand using either zscale or libplacebo. (A tiny wrapper for these with a similar interface to swscale have been on my bucket list for a while, so I might revisit it at some time.)

Also, as you found, it seems that when the pixel formats and dimensions are the same, swscale is hardcoded to simply copy the data without applying any conversions:
https://github.com/FFmpeg/FFmpeg/blob/08781ebe1aabe99b94e2ee949ca0c95c1443c756/libswscale/swscale_unscaled.c#L2212-L2227
They do have an earlier check but it only kicks in if the colorspace matrices are different, which invokes a fallback to intermediate RGB conversions:
https://github.com/FFmpeg/FFmpeg/blob/08781ebe1aabe99b94e2ee949ca0c95c1443c756/libswscale/utils.c#L1097-L1101
I'm not sure if it's worth reporting/submitting a patch upstream, but I suppose that since YUV444 sources seem to be relatively rare, it would be acceptable to manually replicate this intermediate RGB conversion here. (Will implement tomorrow.)


Multilens camera

Summary
This PR contains the implementation of a physically-based multi-lens camera created as a bachelor thesis
supervised by @LZaw. It partially covers the topics of the issue "Physically-based camera" #1740 and consists of the complete code as well as test scenes.

The source code is located in src/appleseed/renderer/modeling/camera/multilenscamera.cpp and src/appleseed/renderer/modeling/camera/multilenscamera.h.
The test scenes are located in sandbox/tests/test scenes/multilens camera/.
Lens prescriptions to use with the model are located in sandbox/lenses/.

TODOs
It is currently a draft pull request, as there are some open tasks that will be completed once I submit the thesis:

[ ] Improve lens file handling
[ ] Make lens file path relative in test scenes
[x] Debug & test connect_vertex()
[ ] Presumably some code revisions to comply with the styling conventions

Problem Description
All cameras currently available in appleseed are approximations of real models and sacrifice realistic camera phenomena for performance. There are however scenarios, where images as if shot on a real camera are desired, for example when combining real images with computer-generated footage.
Solution Description
To achieve photorealistic images, a simulation of a real lens with many lens elements is required. In literature, there are mainly two approaches for that, which I like to call "ray simulation" and "polynomial optics". Below, I list some characteristics of the two.
Ray simulation

What: Iterate through the list of lens elements and use Snell's law of refraction to compute the path of the ray.
Pro: Pretty straight-forward, reasonable computation overhead, fits well into the current implementation
Con: performance depends on lens complexity, intelligent sampling for lens points is required to not waste too many rays

Polynomial Optics

What: See lens as a function and polynomially approximate it
Pro: Evaluation of polynomial is fast and not dependent on lens
Con: Building the polynomial takes time, high approximation error can lead to bad quality, high polynomial degree can lead to high precomputations

In the end, my choice fell on ray simulation, more precisely the model described in "Realistic rendering of bokeh effect based on optical aberrations" with elements from "An Accurate and Practical Camera Lens Model for Rendering Realistic Lens Effects" and Physically Based Rendering: From Theory to Implementation. For more details on the the comparison and the choice, please see Chapter 3 of my thesis.
Implementation
As discussed, this PR extends the cameras by another one and is located in src/appleseed/renderer/modeling/camera. This PR contains the following changes:

Add MultiLensCamera that inherits from PerspectiveCamera. The most important parts of it are:

Read lens prescription files that the user specifies as a file path. They can either be self-specified or some are currently located in sandbox/lenses/.
Modify lens based on user-specified values (focal length, focus distance, f-number)
Compute entrance and exit pupil following the approach of "Realistic rendering of bokeh effect based on optical aberrations". This is a good tradeoff between precomputation and ray passage rate.
Algorithm to trace a ray through the lens

Add MultiLensCameraFactory to CameraFactoryRegistrar
Change void spawn_ray(..) to bool spawn_ray(..). This is required, as rays can be blocked by the aperture and should then not contribute to the illumination calculation. This change affects camera.h and all <name>camera.cpp files, as well as src/appleseed/renderer/kernel/rendering/generic/genericsamplerenderer.cpp and src/appleseed/renderer/kernel/rendering/scenepicker.cpp.
Move extract_focal_length(..) from PerspectiveCamera::on_render_begin(..) to all childen (pinhole, thinlens, fisheye). This is because MultiLensCamera has its own focal length extraction that allows for not specifying a focal length.

Results
The implemented model can achieve the following:

Variable focal length, focus, f-number and custom aperture shapes (like thin lens)
Spherical aberration

Coma

Field curvature

Astigmatism

Distortion

Realistic bokeh with custom shapes (left: thin lens, right: multi-lens)

Natural vignetting

It cannot produce:

Chromatic aberration: Would require a redesign of the camera and ray implementation, such that the ray carries a wavelength and the camera refracts the rays based on wavelength
Lens flare: Efficient solutions exist, but were out of scope for this thesis.

Performance
I spent quite some time analyzing the performance of the implementation in relation to pinhole and thin lens camera. For details, see Chapter 6.2 of my thesis. The main takeaways were:

The multi-lens camera is slower in all cases, but the overhead is constant. The more complex the scene, the less severe the overhead.
The overhead only depends on the complexity of the lens, the simpler the lens, the closer the rendering time to pinhole and thin lens.
The single exit pupil is usually enough to have a small ray failure rate. Custom aperture shapes, however, can block large portions of rays, leading to better rendering times, but also to under-exposed images.
A big factor that worsens the times are ray differentials, their inclusion triples the overhead. A toggle to switch off ray differentials is therefore included.

Conclusion
The implemented model is not a thin lens replacement, but offers advantages in some scenarios, especially when bokeh or vignetting is important. Although performance is a bit worse than pinhole and thin lens, the overhead is constant and therefore too significant in complex scenes. With simple scenes though, the multi-lens camera is probably not worthwhile to use.

Thanks for the first look!
Completed are all the syntax and style issues.
Still left are things that require a bit more thought and testing (memory/speed improvements, function locations, exception handling, ...)


⚠ Bofrost.de has degraded performance

In 9500afa, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1673 ms

Resolved: Bofrost.de performance has improved in 38f7029.


Split Fraction

Is there a way to split a fraction like in the following picture:

So far, there's no support for this. It would require the layout engine to support right-aligned text, which we are currently lacking.
You can only try to emulate it by padding lines with \thickspace.


sbt can't be running in PowerShell with opts

[x] I've read the CONTRIBUTING guidelines

steps

You can clone my sample project https://github.com/almothafar/play-with-mapstruct
Start sbt using the command ./sbt.bat "-Dconfig.file=conf/development.conf"
The command will fail
Using ubuntu no problems, using classic cmd, no issues as well.

problem
Can't start sbt using Power Shell.
expectation
PS E:\Github Sources\almothafar\play-with-mapstruct> ./sbt.bat "-Dconfig.file=conf/development.conf"

E:\Github Sources\almothafar\play-with-mapstruct>.\sbt-dist\bin\sbt.bat -Dconfig.file=conf/development.conf
[info] Loading settings for project global-plugins from idea.sbt ...
[info] Loading global plugins from C:\Users\almothafar\.sbt\1.0\plugins
[info] Loading settings for project play-with-mapstruct-build from plugins.sbt ...
[info] Loading project definition from E:\Github Sources\almothafar\play-with-mapstruct\project
[info] Loading settings for project root from build.sbt ...
[info] Set current project to play-with-mapstruct (in build file:/E:/Github%20Sources/almothafar/play-with-mapstruct/)
[error] Expected ID character
[error] Not a valid command: conf
[error] Expected project ID
[error] Expected configuration
[error] Expected ':'
[error] Expected key
[error] Not a valid key: conf (similar: rpmIcon, scmInfo, console)
[error] conf/development.conf
[error]     ^
[INFO] [08/09/2018 16:06:45.699] [Thread-2] [CoordinatedShutdown(akka://sbt-web)] Starting coordinated shutdown from JVM shutdown hook
PS E:\Github Sources\almothafar\play-with-mapstruct>

notes
sbt version: 1.2.1

@almothafar Thanks for the detailed bug report with repro project!
The relevant script is https://github.com/sbt/sbt-launcher-package/blob/master/src/universal/bin/sbt.bat, but I am not familiar with PowerShell. Would you like to debug this issue, and submit a pull request?

@eed3si9n thanks for the reply, actually I would be fixed that already in my local and would suggest the solution, but sadly I don't have that much of PowerShell experience as well, if I got time to see how I can fix that, I might be pushing a PR.


PBI Premium XLMA deployments

Add the defaultPowerBIDataSourceVersion property within the Model properties so that one can deploy and overwrite existing pbi premium datasets via tabular editor. currently have to add this property in the .bim file in a text editor and then it can be deployed via tabular editor.
Here's an example of the property with a valid setting:
"compatibilityLevel": 1500,
"model": {
"culture": "en-US",
"defaultPowerBIDataSourceVersion": "powerBI_V3",
"discourageImplicitMeasures": true,

Thanks for reporting. Just to make sure I understand the use case here: Is this when creating a model from scratch using Tabular Editor? My understanding is that this property would already have been set if you enable the "enhanced metadata preview" feature on your model (if you don't enable it, XMLA read/write should not be possible).

Exactly. I created a model in tabular editor (from scratch), deployed it to power bi premium and received an error on deployment (that the model ID didn't exist) although it worked. when i went to redeploy the same model to overwrite the dataset in power bi premium it gave me an error regarding the defaultPowerBIDataSourceVersion. I put this into the .bim file and then it deployed successfully, overwriting the existing dataset in the premium workspace.

Thanks! I'll make sure to expose the property so it can be edited. In fact, when creating a new model through File > New Model..., you get a list of Compatibility Level options. I'll throw "Compatibility Level 1520 (PBI Premium Dataset)" in there as well, and make sure the property is already set to powerBI_V3 when Tabular Editor creates this kind of model.
Question: Are you adding legacy or power query data sources to this model? Are you facing any issues with these data sources when refreshing them in the service?

Ah, that is perfect. Goal is to be able to do the full development of premium models in tabular editor - from start to prod. once this is enabled, it is possible and I recommend it.
i've only been using legacy data sources. haven't had any issues refreshing (just refreshed it in the service with a small model).

and to confirm, this property will also be able to be added programatically via advanced scripting, correct?

Yes, once it's available in the UI, you can set it through scripting as well.

Fixed in 2.10.0.

Thanks so much! Just one thing - haven't been able to change this property in advanced scripting - below is what I tried but it doesn't work. what is the correct syntax?
Model.DefaultPowerBIDataSourceVersion.PowerBI_V3;

Model.DefaultPowerBIDataSourceVersion = PowerBIDataSourceVersion.PowerBI_V3;

fantastic, thanks!

Exactly. I created a model in tabular editor (from scratch), deployed it to power bi premium and received an error on deployment (that the model ID didn't exist) although it worked. when i went to redeploy the same model to overwrite the dataset in power bi premium it gave me an error regarding the defaultPowerBIDataSourceVersion. I put this into the .bim file and then it deployed successfully, overwriting the existing dataset in the premium workspace.

Hello, how to "put this into the .bim file", can you post a picture? Thanks~

@Dayanjun-data you have 2 options.

Run the following script in the Advanced Scripting window : Model.DefaultPowerBIDataSourceVersion = PowerBIDataSourceVersion.PowerBI_V3;
Click on the Model in the Object Explorer (left pane), navigate to the properties window, and set the property as highlighted in the screenshot below.

Model.DefaultPowerBIDataSourceVersion = PowerBIDataSourceVersion.PowerBI_V3;

Hi, I have used the above command in C# script and executed it through command line and tabular editor, its getting succeeded but the changes are not getting reflected when I tried to deploy the bim file. Any insights here please?

@BrundaLanka what is the CLI command you used to run the script? Did you include the -B switch (which will save the .bim file), or the -D switch (to perform a deployment)?

Hi
Thank you for the prompt response.
I have used the below command to run script , I wanted to just update the bim file and use the same file to deploy

TabularEditor.exe "my bim file"  -S "script file"  -V -W -E -O -C -P
And used the below for deployment.

TabularEditor.exe "my bim file" -D "powerbi workspace" "DBname" -O -C -P -V -E -W
Thanks
Brunda

From: Daniel Otykier @.>
Sent: Tuesday, November 12, 2024 2:54 PM
To: TabularEditor/TabularEditor @.>
Cc: Brunda Yelakala (INFOSYS LIMITED) @.>; Mention @.>
Subject: Re: [TabularEditor/TabularEditor] PBI Premium XLMA deployments (#476)
@BrundaLankahttps://github.com/BrundaLanka what is the CLI command you used to run the script? Did you include the -B switch (which will save the .bim file), or the -D switch (to perform a deployment)?
—
Reply to this email directly, view it on GitHubhttps://github.com/TabularEditor/TabularEditor/issues/476#issuecomment-2470013236, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BM3UQMAEXT74NNLOKZMGOEL2AHCMZAVCNFSM6AAAAABRTSAA3WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZQGAYTGMRTGY.
You are receiving this because you were mentioned.

@BrundaLanka right - so the first command you used,
TabularEditor.exe "my bim file"  -S "script file"  -V -W -E -O -C -P
...will not actually update the .bim file, since you didn't specify the -B switch, which explains why you don't see the change after deploying. Change this command to:
TabularEditor.exe "my bim file"  -S "script file"  -V -B
(note, the -W, -E, -O, -C and -P switches are only used when deploying, i.e. following the -D switch).
https://docs.tabulareditor.com/te2/Command-line-Options.html

Hi
Thank you for the prompt response .
I changed the command  as given below, and it says as deployment succeeded.

TabularEditor.exe "my bim file" -S "script file"  - D "Provider=MSOLAP; Data Source=MyWorkSpace;Password=####" "DBName"  -O -C -P -V -E -W -P -R
but if my bim file name and DB name are same its not actually deploying and if I change the DB name to some thing else its working. Request you to please let me know if I am missing anything or doing anything wrong. Your help is greatly appreciated.
Thanks,
Brunda

From: Daniel Otykier @.>
Sent: Tuesday, November 12, 2024 4:04 PM
To: TabularEditor/TabularEditor @.>
Cc: Brunda Yelakala (INFOSYS LIMITED) @.>; Mention @.>
Subject: Re: [TabularEditor/TabularEditor] PBI Premium XLMA deployments (#476)
@BrundaLankahttps://github.com/BrundaLanka right - so the first command you used,
TabularEditor.exe "my bim file" -S "script file" -V -W -E -O -C -P
...will not actually update the .bim file, since you didn't specify the -B switch, which explains why you don't see the change after deploying. Change this command to:
TabularEditor.exe "my bim file" -S "script file" -V -B
(note, the -W, -E, -O, -C and -P switches are only used when deploying, i.e. following the -D switch).
https://docs.tabulareditor.com/te2/Command-line-Options.html
—
Reply to this email directly, view it on GitHubhttps://github.com/TabularEditor/TabularEditor/issues/476#issuecomment-2470171082, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BM3UQMAWKUSNQUQVI6HYCXT2AHKUDAVCNFSM6AAAAABRTSAA3WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZQGE3TCMBYGI.
You are receiving this because you were mentioned.

You have the -P switch specified twice, and you have a space between - and D. Also, the order of the switches matter. -V is not related to deployment, and should come after -E and -W, or before the -D. Recommend changing your command to:
TabularEditor.exe "my bim file" -S "script file" -V -D "Provider=MSOLAP;Data Source=MyWorkSpace;Password=####" "DBName" -O -C -P -R -E -W

Hi , thank you for a very quick response, as suggested I made the changes to my command as given below, but Overwrite functionality is not working, its only working whenever I give a new DB name. Any suggestions please
TabularEditor.exe "my bim file" -S "script file" -V -D "Provider=MSOLAP;Data Source=MyWorkSpace;Password=####" "DBName" -O -C -P -R -E -W
Thanks
Brunda

What is the output you’re seeing when running this command?

Hi
When I give same DB name to overwrite it is giving output like below but DB is not getting refreshed.
Tabular Editor 2.25.0 (build 2.25.8952.22276)
Loading model...
Loaded script: D:\a_work\1\updateVersion.cs
Executing script 0...
Deploying...
Deployment succeeded.
When I give a new DB name , output is like below and DB with new name is getting deployed. I even checked service connection permissions, it has read & write access to all power bi services
Loading model...
Loaded script: D:\a_work\1\updateVersion.cs
Executing script 0...
Deploying...
Deployment succeeded.
##[warning]Information: Unprocessed object: partition 'Partition' on table 'XXXXXXXXX' (NoData)
##[warning]Information: Unprocessed object: partition 'Partition' on table 'XXXXXXXXXX' (NoData)
##[warning]Information: Unprocessed object: partition 'Partition' on table 'XXXXXXXXXx' (NoData)
Thanks,
Brunda

From: Daniel Otykier @.>
Sent: Wednesday, November 13, 2024 2:42 AM
To: TabularEditor/TabularEditor @.>
Cc: Brunda Yelakala (INFOSYS LIMITED) @.>; Mention @.>
Subject: Re: [TabularEditor/TabularEditor] PBI Premium XLMA deployments (#476)
What is the output you’re seeing when running this command?
—
Reply to this email directly, view it on GitHubhttps://github.com/TabularEditor/TabularEditor/issues/476#issuecomment-2471592324, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BM3UQMBH25V6LGHPQE3SLBT2AJVK7AVCNFSM6AAAAABRTSAA3WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZRGU4TEMZSGQ.
You are receiving this because you were mentioned.

I’m sorry, but I think there is some kind of misunderstanding. In both these cases, the metadata is successfully deployed. The reason you’re not getting a warning about unprocessed objects in the first case, is that you did not deploy any changes to the model which caused data to be dropped, requiring a data refresh. Why don’t you do a simple test: Add a new measure to your model.bim file, then run the command again. You should see that new measure in the existing DB, after the command has finished running.
In general, you don’t need to perform any data refresh when making simple changes such as adding or modifying measures, descriptions, or various model-level settings. However, if you add tables or columns, or if you modify relationships or calculated tables/calculated columns, then you’ll see the warning about unprocessed objects after deploying, and then you’ll need to perform a refresh before users can query the model.

Got it, thank you for the quick responses. As suggested, I did some small change in measures, and it reflected in semantic model though it doesn’t seem to be refreshed (Refreshed date and timestamp are not changing). Thank you so much for your help.
Thanks
Brunda


update deprecated use of pkg_resources

We use pkg_resources:
DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    from pkg_resources import resource_string

Use importlib instead, along the line of
import importlib.resources as importlib_resources

__all__ = ["DX", "CCP4", "gOpenMol"]

DX = importlib_resources.files(__name__) / 'test.dx'

(from https://github.com/MDAnalysis/GridDataFormats/blob/master/gridData/tests/datafiles/init.py where this was recently fixed)

I'm surprised, I thought that would have failed with Python 3.12 O.O!

It just versioneer... need to update.


Issue 263: remove maintainers from dist csv

Fix for https://github.com/lazd/coronadatascraper/issues/263.
Verified manually locally with yarn start --location "Ventura County, CA, USA", and the rest of the columns were unchanged:
Old headings: city,county,state,country,cases,deaths,recovered,tested,active,population,lat,long,url,maintainers,rating,tz,featureId
New headings: city,county,state,country,cases,deaths,recovered,tested,active,population,lat,long,url,rating,tz,featureId
I don't see a way to add a regression test for this, but if there is, let me know and I'll update the PR.  Cheers!

Code subsequently added to src/events/processor/write-data/stringify.js in another PR ... wasted effort! :-( :-)

Totally my bad. I just fixed this manually without checking if there was a PR open. Sorry!


Client applications for emissions

We're currently using opentpas SEAS for connecting utility data to the ledger.
There could and should be other client apps that could connect to the ledger, calculate total emissions, manage offsets, etc.
We should discuss ideas on what these apps should look like and how they should be built.

opentpas SEAS is designed for an auditor or bureau to manage the energy use and emissions data of a number of customers.
If we have true client side authentication such as trust id or #11, we could have a customer application such as a mobile app which sends utility data and signs them with a customer's ID.

During this week's peer programming call we talked about using Indy/Aries to store user identities and TrustID to authenticate the user.  This may become the basis of a client side application.


update vm syscall

https://docs.nervos.org/docs/script/syscalls-for-script needs update
see: https://github.com/nervosnetwork/rfcs/pull/436/files

https://github.com/nervosnetwork/docs.nervos.org/pull/466


[BUG] retrieving mobileKeyword leads to endlessly requesting next batches

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior

worked on via https://github.com/DougMidgley/SFMC-SDK/issues/229 / https://github.com/DougMidgley/SFMC-SDK/pull/232

Expected Behavior
If no further records are found, end retrieving.
Steps To Reproduce
mcdev retrieve /ParentBU mobileKeyword
Version
5.0.0
Environment

OS:
Node:
npm:

Participation

[X] I am willing to submit a pull request for this issue.

Additional comments
No response

the SDK fix is confirmed working. this PR will only need to upgrade the SDK version once the update is released

confirmed working after upgrade to sfmc-sdk 1.0.1


watchGoImporter error in log

(node:6222) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'toLowerCase' of undefined
    at watchGoImporter (/Users/oli/Code/forestpm/forest/lib/forest.js:518:26)
    at /Users/oli/Code/forestpm/forest/lib/forest.js:573:11
(node:6222) UnhandledPromiseRejectionWarning: Unhandled promise rejection.

I have seen this error before, but haven't been able to replicate it enough to fix (not exactly sure what the bad data is)
I think we just validate the data at the same of watchGoImporter and throw it away if it's not right (or yolo and wrap the whole thing in a try-catch)

I think I've fixed this but reopen if it's still happening after you've updated


add firecracker support

Since unikraft will properly support firecracker in their next release, it would be nice to see how urunc performs using this setting.
Adding firecracker to urunc should be pretty straightforward via the hypervisor interface.

The branch fc_unikraft introduces a preliminary support for Unikraft guests over Firecracker.


Fixing FAQ and Mapping the links properly.

@aditya-bhaumik Assign this to me under GSSoC Extd also i will fix the ui and add more content to the page

@ezDecode sure

After Oct-6 I'll start working on it again okay!

Okay


Create CRUD opertations

CRUD operations are needed for the proposed entities in issue #1

Closed due to restructuring of project


Easy way to clamp objects to the ground

We need a convenient way to force game objects to be at ground elevation of their current lat / long.
Came up on forum here.
There are many ways to achieve this with blueprints (as the forum post can show), but something easy would be ideal.

We might be able to make a new cesium component that does exactly this, or add functionality to an existing component (like CesiumGlobeAnchor)
Solution would probably depend on this cesium-native PR.

Came up on the forum here. https://community.cesium.com/t/is-there-a-way-to-detect-when-the-highest-lod-of-a-tileset-is-loaded/33540/

As mentioned in link I solved this issue (or feature). I have tested it many times and it works very nice. even create a checkbox btn in my menu, to stick to ground actor or move free in air.


RemovePodsViolatingTopologySpreadConstraint restarting pods on a loop

What version of descheduler are you using?
descheduler version: 0.22.1
Does this issue reproduce with the latest release?
Yes
Which descheduler CLI options are you using?
- --policy-config-file
- /policy-dir/policy.yaml
- --v
- "3"
Please provide a copy of your descheduler policy config file
apiVersion: "descheduler/v1alpha1" kind: "DeschedulerPolicy" strategies:   LowNodeUtilization:     enabled: false   RemoveDuplicates:     enabled: false   RemovePodsViolatingInterPodAntiAffinity:     enabled: false   RemovePodsViolatingNodeAffinity:     enabled: false   RemovePodsViolatingNodeTaints:     enabled: false   RemovePodsViolatingTopologySpreadConstraint:     enabled: true
What k8s version are you using (kubectl version)?
1.21.8
What did you do?
I have a cluster that contains 3 groups of nodes:

Control Plane
Infrastructure Services
Application (2 nodes)

All of them have taints.  On deployment, my application helm chart will deploy 4 pods to my application node group correctly using nodeAffinity on the application node labels with a maxSkew of 1, maxSkew=1, whenUnsatisfiable=ScheduleAnyways. 2 pods on each application node.  Descheduler, which runs every hour, will calculate some skew and evict 2 of the 4 application pods, causing it to spin up once again on the same nodes.  If I use the nodeSelector param and target only my application nodes using its label, it will detect my topology as balanced and not evict any of my pods.  I've tried using nodeFit as well.
What did you expect to see?
No change should happen.
What did you see instead?
Descheduler, which runs every hour, will calculate some skew and evict 2 of the 4 application pods, causing it to spin up once again on the same nodes.
Are my other nodes with taints being considered as part of the algorithm?  Can't tell if this is expected behavior.

For each node in my cluster that does not have the application taint the following is outputted:
I0606 20:56:18.523151 1 node.go:148] "Pod does not fit on node" pod="<podName>" node="<nodeName>"
I0606 20:56:18.523157 1 node.go:150] "pod node selector does not match the node label"
I0606 20:56:18.523162 1 node.go:150] "pod does not tolerate taints on the node"

Are my other nodes with taints being considered as part of the algorithm? Can't tell if this is expected behavior.

No, the nodeFit algorithm should exclude the nodes which the Pod does not tolerate.
Can you please share the following:

Taints definition of the nodes
Your scheduler policy with nodeFit enabled

Lastly, I am surprised that it is evicting on ScheduleAnyways when includeSoftConstraints is not set to true.

Control Plane Taints:
[
  {
    "effect": "NoSchedule",
    "key": "node-role.kubernetes.io/controlplane",
    "value": "true"
  },
  {
    "effect": "NoExecute",
    "key": "node-role.kubernetes.io/etcd",
    "value": "true"
  }
]

Infra Service Taints:
  {
    "effect": "NoSchedule",
    "key": "infra_service"
  }

Our application nodes do not have taints but our app base helm chart are configured with constraints and affinity that look like the following:
      topologySpreadConstraints:
      - labelSelector:
          matchLabels:
            app.kubernetes.io/instance: service
            app.kubernetes.io/name: service
        maxSkew: 1
        topologyKey: kubernetes.io/hostname
        whenUnsatisfiable: DoNotSchedule
....
      affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
            - matchExpressions:
              - key: app_service
                operator: Exists

Node Labels:
## Control Plane
beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,cattle.io/creator=norman,kubernetes.io/arch=amd64,kubernetes.io/hostname=cp-1,kubernetes.io/os=linux,node-role.kubernetes.io/controlplane=true,node-role.kubernetes.io/etcd=true

## Application Node
beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,cattle.io/creator=norman,app_service=true,kubernetes.io/arch=amd64,kubernetes.io/hostname=app-1,kubernetes.io/os=linux,node-role.kubernetes.io/worker=true

## Infra Node
beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,cattle.io/creator=norman,infra_service=true,kubernetes.io/arch=amd64,kubernetes.io/hostname=infra-1,kubernetes.io/os=linux,node-role.kubernetes.io/worker=true

Descheduler Policy:
apiVersion: "descheduler/v1alpha1"
kind: "DeschedulerPolicy"
strategies:
  LowNodeUtilization:
    enabled: false
  RemoveDuplicates:
    enabled: false
  RemovePodsViolatingInterPodAntiAffinity:
    enabled: false
  RemovePodsViolatingNodeAffinity:
    enabled: false
  RemovePodsViolatingNodeTaints:
    enabled: false
  RemovePodsViolatingTopologySpreadConstraint:
    enabled: true
    params:
      includeSoftConstraints: false
      nodeFit: true

Can confirm that nodeFit option still evicts the pods every run.

Thanks for providing all the info, it is very helpful!
/assign

Just wanted to point out that in my initial post i had a soft constraint whenUnsatisfiable=ScheduleAnyways.  This is actually whenUnsatisfiable: DoNotSchedule as posted correctly in the latter post.

Just wanted to report that I am able to reproduce this.
I added a unit test below which is failing (it's eviction 2 Pods but the expected count is zero): https://github.com/a7i/descheduler/commit/c158d1c06c0061ff6f2cf7497c695ed29ef4b2c0
I can also confirm that PR #836 does resolve the issue but it's still under review 🤞🏼

@dk-d-n the fix has been merged (but not yet released). Would you be able to test this scenario using the latest on the main branch?
I have added a test to cover the scenario but wanted your confirmation before closing this Issue.

The issue was addressed in 0.25
Please feel free to open if that is not the case @dk-d-n
/close


Link not working in [Part 2, Module 03, Exercise 2]

Describe the bug
Some links are not working in [Part 2, Module 03, Exercise 2], and thus, giving a 404 response code. The links are Call methods from the .NET Class Library using C# and Evaluate Boolean expressions to make decisions in C#.
To Reproduce
Steps to reproduce the behavior:

Go to this link
Check all the links in this markdown, or directly open the links provided in the "Describe the Bug" section.

Expected behavior
The links should work, and must not give a 404 error.
Screenshots

🎓 Student Ambassador

Expected - This is a Private Repo 'https://github.com/MicrosoftDocs/learn-pr/blob' - link resolves during publishing build
same issue as https://github.com/microsoft/studentambassadors/issues/97

Closing issue since this will be resolved when published


[Overlay. Events in sandbox] Set system prompt doesn'work

EPAM AI DIAL chat version
0.22.0
What happened?

Run Overlay sandbox
Open conversation setting for GPT-4 model
Click on 'Set system prompt' -> nothing happens -> bug

Expected: the system prompt should be applied to the System prompt field in the model settings
Confidential information

[X] I confirm that do not share any confidential information

After the investigation in appears that it works, but we need to check it in the console

Re-checked on overlay sandbox successfully. It works as expected.


Embargiel issue 129

@ym97 Can you make this resolve and mergable. Would love to have the latest logos from Visa and American Express.

Thanks for this PR! As @BallisticPain, we'd really appreciate it if you could update your PR with the latest master so we can merge it in. Since we haven't heard back from you, I'm going to close this PR — if you're still interested in contributing, please reopen the PR with the updated code. Thanks again and I hope you contribute!


[BUG] ImportError: cannot import name 'HF_HOME' from 'huggingface_hub.constants' (/home/v/.local/lib/python3.10/site-packages/huggingface_hub/constants.py)

_______________________ ERROR collecting tests/models/test_ssd_1b.py ________________________
ImportError while importing test module '/home/v/vswarms/tests/models/test_ssd_1b.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/init.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/models/test_ssd_1b.py:2: in
from swarms.models.ssd_1b import SSD1B
swarms/models/ssd_1b.py:10: in
from diffusers import StableDiffusionXLPipeline
../.local/lib/python3.10/site-packages/diffusers/init.py:5: in
from .utils import (
../.local/lib/python3.10/site-packages/diffusers/utils/init.py:21: in
from .constants import (
../.local/lib/python3.10/site-packages/diffusers/utils/constants.py:17: in
from huggingface_hub.constants import HF_HOME
E   ImportError: cannot import name 'HF_HOME' from 'huggingface_hub.constants' (/home/v/.local/lib/python3.10/site-packages/huggingface_hub/constants.py)

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

any updates on the this bug?

update your pip


Add Copilot Conversations Example

Issue
We need a functional copilot chat that users can test and run inside of their browser. We will support the most basic format of copilot conversations - where it is a single chat. There does not need to be any context added, or any nonessential parameters.
Personally I would love to have this added to another view - which may require more progress from:

#4 around updating the project structure to support more view

Steps

[ ] UI created
- a simple scroll where the user can get conversation results and ask questions
[ ] Logic for Conversation requests

@jordan-pieces I am Sophia and I would love to work on this issue.


Add get options cf method for DB

Hi,
This PR adds the method get_options_cf for DB.

PTAL @zhangjinpeng1987 @siddontang @BusyJay

we can remove https://github.com/pingcap/rust-rocksdb/blob/82daf985debe78a46aa6761e3895bb6774457f77/src/rocksdb.rs#L52 and all use rocksdb API.

LGTM

@siddontang
https://github.com/pingcap/rust-rocksdb/blob/82daf985debe78a46aa6761e3895bb6774457f77/src/rocksdb.rs#L52
This opts should not be removed since there are function pointers in opts, which must be valid as long as the db are opened.

Got it. please add opts again.

PTAL @siddontang

LGTM


azure-functions image on arm64 / apple m1

I originally filed an issue on docker-for-mac : https://github.com/docker/for-mac/issues/5419
We have a monorepo, with several programs built as docker images.
The programs all use a 'base' image that contains the necessary execution environment (based on azure functions python images).
The build works fine on apple intel (classic build OK, buildkit OK too).
~The problem seems that when mcr.microsoft.com/azure-functions/python:3.0-python3.8-appservice is ran through QEMU (to emulate classic arch on M1), docker is not able to resolve our local 'base' image.~
edit: the "resolve" problem above is somewhat solved. So building seems OK.
Unfortunately, launching the azure-function image breaks (QEmu error message)
Could you consider releasing an arm64 version of azure-functions images ?

I came here to file an issue on this image:
https://hub.docker.com/_/microsoft-azure-functions-dotnet-isolated
It needs an arm64 image as well.

I don't have a mac, so can't really build this natively.
However, Linux AMD64/ARM64 are below:
I've just updated the multi-architecture images with the latest release, host and added dotnet 7 and 8-preview.
https://hub.docker.com/r/mohsinonxrm/azure-functions-dotnet/tags
mohsinonxrm/azure-functions-dotnet:4-isolated8.0-appservice-preview
mohsinonxrm/azure-functions-dotnet:4-isolated8.0-preview
mohsinonxrm/azure-functions-dotnet:4-isolated7.0-appservice
mohsinonxrm/azure-functions-dotnet:4-isolated7.0
mohsinonxrm/azure-functions-dotnet:4-isolated6.0-appservice
mohsinonxrm/azure-functions-dotnet:4-isolated6.0
mohsinonxrm/azure-functions-dotnet:4-appservice
mohsinonxrm/azure-functions-dotnet:4
Not to be used in any official or supported capacity, certainly not in production

If the following can be answered I can work on a PR:
BTW, I'm only focusing on Function Host 4 version of docker images not 3 or older.

The Function Extension Bundle is still being used in the in-proc images, V2, V3 and V4 are added. I've my own fork of the extension bundle and have updated the branch to generate ARM64 packages that are then referenced in the docker image.
Do we need this (in-proc version), since it is only with dotnet 6 and that's EOL Nov 2024? if so, we'll need to have a self-hosted agent to build and release ARM64 version. I've briefly tried to cross-compile, but it throws an error about optimizations and need native architecture to build. In any case, self-hosted agent shouldn't be a problem, since Azure VMs now support ARM64. However, there are free ARM64 VMs available as well on a competitor public cloud.
If we can solve the extension bundle question, then we can address the azure function docker images. We can simply remove the RID when building the host and docker build natively on AMD64 and ARM64 (self-hosted agent). I'm simplifying here; perhaps we still keep the RID and pass as an ARG to the file. Run the tests etc.
Docker buildx is another option, but I haven't used it.

BTW, I'm only focusing on dotnet images, I have no idea about the other languages (python/java etc.).
As far as the function cli (core tools) goes, to just build ARM64 version isn't a problem but to integrate and update the Build Pipeline with tests is going to be an issue as I'm not sure even if we're somehow about to cross-compile that in Azure DevOps Ubuntu x64, how would the tests run against ARM64.
I think we'll need a self-hosted agent for that too? I haven't looked into this deeply but I know they now generate and test the win-arm64 and osx-arm64 images as well and I see they are able to run tests against those.
Azure-Cli is now available in ARM64 version, so hopefully they can make the ARM64 version of function cli core tools part of the release pipeline too.
It's been a while now, now that ARM64 VMs are available in Azure and can be used to build k8s/AKS, so hopefully this would be addressed soon.

When building in github actions you can just configure buildx and setup qemu and it will build any other platform from within an x64 runtime so I don't think you actually need a dedicated runner to build arm images.

@mohsinonxrm Do you have updated .NET9 images? Or perhaps a repo with the Dockerfiles/etc. that you used so we can build/maintain ourselves?


feat(docker): revert "cache apt archives to the Docker build cache"

Reverts autowarefoundation/autoware#4778
Even though sharing=locked is set, it seems that could not open lock file sometimes occurs, so I revert it until the issue is resolved.
https://github.com/autowarefoundation/autoware/actions/runs/9284779370/job/25547896727#step:7:1852

#47 108.7 fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to lock apt for exclusive operation: Failed to lock directory /var/lib/apt/lists/: E:Could not open lock file /var/lib/apt/lists/lock - open (2: No such file or directory)"}

I'm really not sure but the heavier cuda job was succeded but the ligher no-cuda was failed.
I'm trying to rerun https://github.com/autowarefoundation/autoware/actions/runs/9284779370/job/25581422108

The second try https://github.com/autowarefoundation/autoware/actions/runs/9284779370/job/25581422108 was succeeded.
I'll decide whether to revert after observing the changes in the build success or failure a little longer.

It is clear that the docker-build-and-push-main has started to fail after it.https://github.com/autowarefoundation/autoware/pull/4778, so I will revert.

@oguzkaganozt @mitsudome-r Please review this.


How to use ProgressMonitor

Hello Srikanth,
I use ProcessMonitor to monitor compress process.The dependency version I use is 1.3. 2, the OS I use is windows10
But I meet some problems:

only after finish compressing can get process, before finish compressing getPercentDone  always return 0
when getPercentDone return 99, it may be return 0， process 100 is not easy to catch, so how can I to judge the file or directory is finish compressing.

Here is my code:
@Slf4j
@RestController
public class TestController {
    private Map<String, ProgressMonitor> progressMonitorMap = new HashMap<>();

    @GetMapping("/zip")
    public Object zip() {
        log.info("start");
        long start = System.currentTimeMillis();
        try {
            // Initiate the ZipFile
            ZipFile zipFile = new ZipFile("output/VOC.zip");
            zipFile.setRunInThread(true);
            //file need to zip
            File sourceFile = new File("C:\\Users\\hetiantian\\Desktop\\VOC");

            // Initialize Zip Parameters
            ZipParameters parameters = new ZipParameters();
            parameters.setCompressionMethod(Zip4jConstants.COMP_DEFLATE);
            parameters.setCompressionLevel(Zip4jConstants.DEFLATE_LEVEL_NORMAL);

            // Get progress monitor from ZipFile
            ProgressMonitor progressMonitor = zipFile.getProgressMonitor();

            //put monitor to map
            progressMonitorMap.put("1", progressMonitor);
            //start to compress
            zipFile.addFolder(sourceFile, parameters);
            log.info("end zip, cost:{} ms", System.currentTimeMillis() - start);
        } catch (ZipException e) {
            e.printStackTrace();
        }

        return "success";
    }

    @GetMapping("/process/{id}")
    public Object getProcess(@PathVariable("id") String id) {
        System.out.println("monitor:" + progressMonitorMap.get(id));
        System.out.println("process:" + progressMonitorMap.get(id).getPercentDone());
        System.out.println("result: " + progressMonitorMap.get(id).getResult());
        return progressMonitorMap.get(id).getPercentDone();
    }
}

note:

one api to compress
another api  to get process

Is the way to use ProcessMonitor correctly? Thanks for your reply in advance

Hello,
Please upgrade to the latest version of zip4j. zip4j v2.x has several more features and critical bug fixes when compared with v1.x. It is most likely also the case that the issue you mentioned here is also fixed in 2.x. And moreover, v1.x is no longer maintained and supported. Let me know if you still face this issue on 2.x as well.

@srikanth-lingala
When I use v2.x the second problem is solved, but the first probles still exist, Here is running log:
process:0
result: null
14:40:53.133 INFO  com.trainplatform.controller.TestController.lambda$zip$0()/57 - end zip, cost:25720 ms
monitor:net.lingala.zip4j.progress.ProgressMonitor@1c2c6de4
process:0
result: null
monitor:net.lingala.zip4j.progress.ProgressMonitor@1c2c6de4
process:2
result: null
monitor:net.lingala.zip4j.progress.ProgressMonitor@1c2c6de4
process:26
result: null

only after finish compresing that can get process. it not real-time

You have to have a loop for the thread, until the zip file operation is complete. As the example from the documentation shows:
while (!progressMonitor.getState().equals(ProgressMonitor.State.READY)) {
  System.out.println("Percentage done: " + progressMonitor.getPercentDone());
  System.out.println("Current file: " + progressMonitor.getFileName());
  System.out.println("Current task: " + progressMonitor.getCurrentTask());

  Thread.sleep(100);
}

Without the while loop, your current thread immediately returns back, and you will not be able to get the percent done.

I hope the above example fixes the issue you are facing, If not, please feel free to reopen this issue.


fix: increase build and release timeouts to avoid quay.io incident of…

… slowness
Description
We see e2e-test failing on CI and it's related to the quay.io incident of slowness, thus we increased timeouts of build and release tests trying to avoid this issue.
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Issue ticket number and link
Type of change

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist:

[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("[test_id:01] DEVHAS-62 devfile source")
[ ] I have updated labels (if needed)

/retest

/retest

Do we need to increase timeouts anywhere else that is doing pipelineruns? existing e2e-demos?

/test redhat-appstudio-e2e


VS Code freezes when using integrated Powershell terminal

Issue Type: Bug

Open an interactive Powershell console
Run a few commands
After a few minutes, VS Code freezes and gives a dialog box with "The window is no longer responding", and the only option is to force exit and restart VS Code completely.
I tried this also with all extensions disables, and got the same behaviour.

VS Code version: Code 1.25.1 (1dfc5e557209371715f655691b1235b6b26a06be, 2018-07-11T15:43:53.668Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz (4 x 2808)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: enabledvideo_encode: enabledvpx_decode: unavailable_softwarewebgl: enabledwebgl2: enabled

Memory (System)
7.93GB (0.91GB free)

Process Argv
C:\Program Files\Microsoft VS Code\Code.exe

Screen Reader
no

VM
0%

Extensions (7)

Extension
Author (truncated)
Version

json-tools
eri
1.0.2

kubernetes-snippets
ipe
0.1.9

vscode-kubernetes-tools
ms-
0.1.11

Go
ms-
0.6.85

vscode-docker
Pet
0.1.0

vscode-yaml
red
0.0.14

jinja
who
0.0.8

This happened after upgrading to 1.25.1 and was not an issue before, but I'm not sure what my previous version was.

Duplicate https://github.com/Microsoft/vscode/issues/53782


[FEATURE] update "markets" in mcdev config with values from copado GUI

markets will then be auto-written into .mcdevrc.json during runtime, replacing whats in git without updating git

important: might already be working. please check if environmentVariables are used to do that in Deploy.js already
this task is dependent on #28

currently bllocke by setting up local dev env for deploy.js (#99)

Already working.


Create a RAG Agent for KaibanJS Documentation to Advise and Code AI Agents

Is your feature request related to a problem? Please describe.
KaibanJS users, especially those unfamiliar with JavaScript, may face challenges when learning to configure and manage multi-agent systems. Providing them with direct support within the documentation could significantly improve their experience. Having an interactive, AI-powered assistant that knows the framework deeply and can generate code in real-time would make the learning curve smoother and increase engagement with the tool.
Describe the solution you'd like
I propose creating a Retrieval-Augmented Generation (RAG) agent specifically trained to understand and advise on KaibanJS. This agent would:

Assist users by answering questions about the framework.
Generate working code snippets for configuring agents, tasks, and workflows.
Provide real-time help embedded as a chatbot in the /documentation section, allowing users to query and interact with the agent directly.

Describe alternatives you've considered

Using static documentation with sample code only.
Hosting external tutorials or videos.
Community Q&A or forums to address questions.
However, none of these provide the dynamic, in-context help that an intelligent agent could offer.

Additional context
This RAG agent could be trained on the KaibanJS documentation and codebase, ensuring that it has an in-depth understanding of the framework’s features. It could be especially useful for guiding users through common workflows, troubleshooting, and helping them set up their own agents.

Great proposal! Definitely, a RAG agent for KaibanJS would be very useful. The idea of having an AI assistant that can generate code and answer questions directly in the documentation sounds excellent


Multi-models a time improvement?

Because we use tiling/batching we can't simply compile all parts of the denoising pass into a single model.
To save memory we have to execute the model in smaller batches otherwise the tensors (especially for WebGPU) take up massive amounts of memory during inference.
(Note, this is the strategy OIDN uses as well)
However, our pre-model , post-model, and even the tiling handling could be converted into compilable models that theoretically would execute faster.
This removes a degree of flexibility as changing any property of the handling would require recompilation. However, the UNet itself is already very sensitive to this and probably wouldn't be much of a negative to users.
Once the denoiser is setup generally it won't change and if a user changes things like input size it would require the UNet to recompile anyway.
The only negatives I have is at least on the input side, we do a lot of inference of properties based on input data. Things like height/width, tiling, use of inputs etc. these make the denoiser much less sensitive to proper handling pre/post.

No


Refine Left Nav for Invoke API

Description:
Nuwan Dias reported as follows:

"Invoke an API Using the Integrated API Console" can be changed to "Testing an API"
"Create an API using a Service" should change to "Create an API from a Service"

I had a discussion with Nuwan in this regard and it was decided to have the following left nav menu


Run make run-pgo-helm and make helm-docs.

Description
Update pgo to 5.3.0, this PR fixes https://github.com/direktiv/direktiv-charts/issues/27.

@jensg-st , Oh I that go template file was accidently removed.

The helm chart version (not app version is now 5.3.0) does that come from their chart? Because their last version was 0.6.0.

Yes, it come from their chart look here. It also looked weird to me.


[SPARK-5262] [SPARK-5244] [SQL] add coalesce in SQLParser and widen types for parameters of coalesce

I'll add test case in #4040

Test build #25599 has started for   PR 4057 at commit 1b81275.

This patch merges cleanly.

Test build #25599 has finished for   PR 4057 at commit 1b81275.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25599/
Test PASSed.

Thank you for working it!
Can you explain why your change can make Coalesce(null, 1, null) work? To me, it looks like an issue in constant folding instead of the return type.
Also, if we want to parse Coalesce, I think we really need to correctly set the return type of it (and correctly set nullable). Just taking the first expression's type seems not right. Can you take a look at this issue?

Also, I #4040 can you add the test here?

@adrian-wang Seems we need to add rule in org.apache.spark.sql.catalyst.analysis.HiveTypeCoercion.FunctionArgumentConversion to cast the data types of expressions in Coalesce. Also, seems ExpressionEvaluationSuite will be a good place to add more tests for evaluating Coalesce.

@yhuai I don't think we need to cast data types, since coalesce() only return the first non-null value from its parameters, so use the first parameter's datatype is OK. I was adding tests in ExpressionEvaluationSuite but was blocked by some code-gen tests, and I am working on that.
@marmbrus it seems #4040 is reverted due to some conflicts... should I port all the code into this PR together?

Although coalesce only returns the first non-null value, but we need to correctly set the type of coalesce. Let's say we have two columns. The type of one is LongType and the type of another one is IntType, when we do coalesce, the return type of coalesce should be LongType. Right now, there will be an error when we are trying to call coalesce for these two columns. In FunctionArgumentConversion, we should make sure all expressions of coalesce are in the same type and if they are not, we should add cast.

Test build #26016 has started for   PR 4057 at commit e47c03a.

This patch merges cleanly.

Yes, I moved my work to FunctionArgumentConversion, and since #4040 is reverted due to conflicts, I added the code together here. So I leave Coalesce() untouched, since we would have the same type in Coalesce for sure. I'll change the title accordingly.

Test build #26016 has finished for   PR 4057 at commit e47c03a.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
  case class Rating(userId: Int, movieId: Int, rating: Float, timestamp: Long)
  case class Movie(movieId: Int, title: String, genres: Seq[String])
  case class Params(
class ALS extends Estimator[ALSModel] with ALSParams
 case class RatingBlock(srcIds: Array[Int], dstIds: Array[Int], ratings: Array[Float])

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26016/
Test FAILed.

Test build #26017 has started for   PR 4057 at commit c393e18.

This patch merges cleanly.

Test build #26017 has finished for   PR 4057 at commit c393e18.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26017/
Test PASSed.

ping @yhuai

A few things I feel we should add in this PR.

Parsing Coalesce in HiveQL.
Unit tests to make sure we can correctly determine the return type (if we do not have these tests)
Unit tests to make sure we can throw the correct exception when we get cases that we do not handle (for example, complex types).

I think we also need to add a rule in DecimalPrecision for Coalesce. But, I think it is fine to do it in a follow-up PR (Can you create a PR for it?).

@yhuai Thanks for your comments! I'll modify this PR accordingly.

Test build #26385 has started for   PR 4057 at commit 4d0111a.

This patch merges cleanly.

Test build #26385 has finished for   PR 4057 at commit 4d0111a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26385/
Test PASSed.

Thanks!  Merged to master.


Broken link - UrlMatcher

Link address: https://angular.io/docs/ts/latest/api/router/index/UrlMatcher results in a 404
Link found in: https://angular.io/docs/ts/latest/api/router/index/Routes-type-alias.html

I opened an issue already on angular/angular because that is an issue on the core.


Why the packages are not on separate git repos ?

Question
Why the packages are not on separate git repos ?
Description
Docz publishes 5 packages to NPM
https://www.npmjs.com/package/docz?activeTab=dependencies
https://www.npmjs.com/package/docz-core?activeTab=dependencies
https://www.npmjs.com/package/docz-theme-default?activeTab=dependencies
https://www.npmjs.com/package/rehype-docz?activeTab=dependencies
https://www.npmjs.com/package/remark-docz?activeTab=dependencies
Those 5 packages are nested in the /packages folder.
For maintainability and ease of CR/PR/Updates would it make more sense to separate those 5 folders in 5 different git repos corresponding to there NPM package name ?
Also, it seems there is a circular dependency between docz and docz-theme-default
docz require docz-theme-default and docz-theme-default require docz which is also a bit weird in my opinion ...

@ematipico It's just seems to be an overkill to fork the whole docz just to customize one package inside it.

Yes, in this case it is an overkill :cry:

Work in a monorepo is so much better to build, decoupling and test things. When you have separated packages you need most frequently to publish versions or link using npm and in a monorepo you just have your dependencies linked without any workaround. When you have a complex project, split it into packages with different concerns is better and I really think that isn't an overkill since install and fork the project is something really simple. You can see jest, react, create-react-app, babel and a lot of other projects doing the same thing!


Category Addition

We are going to need to add extra richness to our categories (see "categorize" in Data-procedures wiki, as of 3/26 10 am) in order to capture what we see in our data.
We can aggregate extra categories that we believe need addition to the Form in this Issue.
Dialysis Centers are a definite need.

Got an email requesting Home Health or Home Care. I think this came up on Slack, too.
We need an "Other", too.

Also add:

Community Health Organization
Diagnostic Lab
Healthcare Union

Added all these and "Other"


Single quote in value results in SQLITE_ERROR

Problem
When using Keyv#set, an error is thrown if the value contains a string containing a single quote.
For example, if the string is simply a single quote, the error is:
node:internal/process/promises:246
          triggerUncaughtException(err, true /* fromPromise */);
          ^

[Error: SQLITE_ERROR: near "","": syntax error] {
  errno: 1,
  code: 'SQLITE_ERROR'
}

How to reproduce
Run this demonstration code in a directory with Keyv added as a dependency:
const Keyv = require('keyv');

const testDB = new Keyv('sqlite://test.sqlite', { namespace: 'test' });
testDB.on('error', err => console.log('Connection Error', err));

const value = "'";
testDB.set('key', value);

This will result in the above error.
It seems that https://github.com/jaredwray/keyv/pull/210 was supposed to address this issue, but it's either not part of the current release, or failed to fix the issue. Either way, a test case should probably be added for this.
Expected behavior
Values containing single quotes in strings should be serialized normally, like any other values.
Version
4.1.1

@dshepsis can you pas it like this"\'" or '\''

@dshepsis can you pas it like this"\'" or '\''

This doesn't work for a few reasons. Of course, just using a single backslash has no effect because the single quote is already a literal in this case. In other words, the following code produces exactly the same result as the code in the original report:
const Keyv = require('keyv');

const testDB = new Keyv('sqlite://test.sqlite', { namespace: 'test' });
testDB.on('error', err => console.log('Connection Error', err));

const value = "\'";
testDB.set('key', value);

If you instead use a double backslash "\\'", it produces the same error yet again (not really sure why. Maybe backslash isn't a valid escape character in this SQL implementation?). Using a double single quote "''" does actually work, with the saved result having just a single single quote, since a double single quote is a valid escape sequence for a single single quote in this case.
This isn't an acceptable workaround either, because I'm trying to store objects instead of strings. To escape everything would require iterating through every single key and value of the object, recursively, to double-up every single quote. Also, this means that anyone trying to pass in strings/objects which already contain double single quotes (for whatever reason) are having their data silently modified by keyv.
It's also worth mentioning that the key passed into the .set method also can't contain single quotes:
const Keyv = require('keyv');

const testDB = new Keyv('sqlite://test.sqlite', { namespace: 'test' });
testDB.on('error', err => console.log('Connection Error', err));

const value = 'foo';
testDB.set('\'', value);

Results in the error:
node:internal/process/promises:246
          triggerUncaughtException(err, true /* fromPromise */);
          ^

[Error: SQLITE_ERROR: unrecognized token: "{"] {
  errno: 1,
  code: 'SQLITE_ERROR'
}

This can be avoided using double single quotes in the key (both when using .set and .get), but this has the same issues as before.

Why was this closed?

Why was this closed?

Sorry as this was a mistake and we are looking into it how to test for this scenario and resolve it. :-)

@dshepsis - wanted to update that we are working on moving back to sqlite3 which should help resolve this issue.

We will have a newer version of sqlite coming in the next week or so that should be based on sqlite3. FYI.

@dshepsis - this is being resolved in this pull request: https://github.com/jaredwray/keyv/pull/290

This should be resolved with the following version v3.5.0: https://www.npmjs.com/package/@keyv/sqlite


Store Fail

The store is not functioning properly.  When you type in a badge number
it does not pull up  the customers information like it normally does.
Also when entering items when I entered 1 in the frame row it added a
$15 charge in the row above that (shot shells) and I could not get it to
charge him the $32 for the frame.  I had to  go on our public web site
and sell him the items in the online store.  Jim had this same issue
when he tried as well.
I tried this on TMP with the same issue.

Working


Application Insights said a 401 occurred, client observes 403

Create an API key with a non * scope (e.g. Test.*)
Push a package that doesn't match the scope (e.g. Real.MyCoolPackage) with nuget.exe
Notice the output is a 403 Forbidden.
Look at AI logs for this request. You'll see it is a 401.

This suggests our AI does not match real life.

Is this an issue in our code base? If not, open an issue on AI repo.

That hasn't been determined yet. I think some investigation needs to happen before we can safely open an issue against AI.


Searching using the global search crashed computer due to searching in previously excluded directories

VSCode Version: 1.46.0
OS Version: Ubuntu 18.04 LTS

Steps to Reproduce:

Update to 1.46.0
Expect vs code searching to work like it did prior to the update and be annoyingly surprised at how global searches (Ctrl+shift+f window) now will crash your computer  as it relentlessly attempts to find strings in previously excluded folders.

After the update, for some reason, the searches the project differently from before. Now it's scanning through dist and coverage folders in the project, which it didn't use to, and there doesn't seem to be a way to make it stop either once it's started. I had to manually restart the computer, after spending a good 5-10 min having a lagged out computer. I looked through the patch notes, nothing was mentioned about changing the search exclusion policy (or whatever happened).
Maybe it has to do with 'exclude settings and ignore files are disabled'? I don't know. And I don't know how to enable exclude settings and ignore files, it used to be on as default. This issue didn't exist before the update.
The "Search Editor" still works as before, though, thankfully.

Does this issue occur when all extensions are disabled?: Yes

Sorry for the trouble. I am investigating the issue that causes hangs, it's been reported but I haven't been able to repro it yet, see https://github.com/microsoft/vscode/issues/88385.

exclude settings and ignore files are disabled

It sounds like you disabled that option, make sure this button is toggled on

I ran into this too. Things are fine for a little while. Then I do a global search and keys stop entering into the text box and it's time for a hard reboot. The latest incident: I read this ticket, started VS Code, went to global search, I had if (usePares) { from a previous search, I clicked on the gear next to files to exclude and everything lagged and it's time for a hard reboot. This is a deal breaker for me. For now I'm going to try the insider's version.

Hi, this seems to have resolved for me. I'm not sure what changed, but I appreciate it so I can use my favorite editor. 😄


what's required to support shared libs?

Hey all,
this sounds like a great addition to the tooling landscape, thank you very much! I would love to try it out, but your constraints page says:

Statically linked binaries only

This is sadly a deal breaker for my world. Can someone share some details on what's blocking shared library support? Maybe I can help you out and add the required bits and pieces for that - unless you are saying this is conceptually impossible (why?).
Thanks again!

Hey @milianw,
Thanks a lot for having a look at OI!
Since we focused on statically linked binary, we really haven't tested how Object Introspection handles shared libraries. So we could certainly do with some help for supporting them 🙂
The two area that should be affected by shared libraries are: locating Symbols and reading Debug Info. We rely on elfutils' libdwfl and drgn's libdrgn to handle these two tasks for us. I believe they're both able to handle multiple executables/libraries, but OI might not leverage their APIs to do so.
What I would suggest doing is:

Try oid on a dynamically linked executable.
If it doesn't work then have a look at the SymbolService in oi/SymbolService.{h,cpp}:
a. Ensure SymbolService::loadModules loads the shared libraries in libdwfl.
b. Ensure SymbolService::getDrgnProgram loads the Debug Infos of the shared libraries into libdrgn.

We'll happily work with you on this feature and feel free to get in touch if you have any question!


Configure GlobalStandard as default deployment sku for gpt-4o

Purpose
This PR is proposed to configure the GlobalStandard as the default deployment sku for the GPT-4o model.
GPT35-turbo and embedding remains Standard since they are not supported by the GlobalStandard sku.
Does this introduce a breaking change?
When developers merge from main and run the server, azd up, or azd deploy, will this produce an error?
If you're not sure, try it out on an old environment.
[ ] Yes
[x] No

Does this require changes to learn.microsoft.com docs?
This repository is referenced by this tutorial
which includes deployment, settings and usage instructions. If text or screenshot need to change in the tutorial,
check the box below and notify the tutorial author. A Microsoft employee can do this for you if you're an external contributor.
[ ] Yes
[x] No

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

Code quality checklist
See CONTRIBUTING.md for more details.

[ ] The current tests all pass (python -m pytest).
[ ] I added tests that prove my fix is effective or that my feature works
[ ] I ran python -m pytest --cov to verify 100% coverage of added lines
[ ] I ran python -m mypy to check for type errors
[ ] I either used the pre-commit hooks or ran ruff and black manually on my code.

We already have a PR for a similar change, so I'm going to review that PR first.

According to @hund030 the other PR does not configure the SKU as default deployment. Looking forward to your comments, since this will be the base for supporting documentation for other template authors, going forward.

@pamelafox I didn't notice there is another similar PR. As @anfibiacreativa mentioned, this PR is expected to be an example for other template owner's reference.
Besides using GlobalStandard SKU, we also propose to retire gpt3.5-turbo model. So, I would like to pick another template as example. Feel free to close this.

Maybe https://github.com/Azure-Samples/azure-openai-keyless-python would be better?

Also, we did implement this PR here:
https://github.com/Azure-Samples/openai-chat-app-quickstart


[Feature Request] q for searches

react-admin often uses q as full text search parameter.
Currently FeathersJS will try to use q as column (which usually doesn't exist in the table) and report a query error.
How can this functionality be added? Must the data provider handle this or a hook in FeathersJS app?
Edit: Just using source="fieldName[$like]" sadly won't work as the field name is automatically escaped (probably already in react-admin), also the value is not automatically wrapped in % for an open start + end of string.

Currently I use this hook to achieve the functionality:
import { HookContext } from '@feathersjs/feathers';
import Debug from 'debug';
const debug = Debug('hooks/with-search');
const withSearch = (sourceField: string = 'q', targetField: string = 'name', caseSensitive: boolean = false) => {
  return async (context: HookContext) => {
    if (context.type === 'before') {
      if (context?.params?.query && context.params.query[sourceField]) {
        // convert to like field (KnexJS FeathersJS Adapter)
        // @see https://github.com/feathersjs-ecosystem/feathers-knex/blob/master/test/index.test.js#L205
        const value = context.params.query[sourceField];

        // Note: Some databases like SQLite don't support `$ilike` (case-insensitive `$like`)...
        const targetOp = '$like';

        // ... hence internally handle case sensitivity checks
        const targetValue = caseSensitive ? value : value.toLowerCase();

        // set new parameter that is understood by KnexJS FeathersJS Adapter
        context.params.query[targetField] = {
          [targetOp]: `\%${targetValue}\%`, // text start + end open
        };

        // clean up old field from query (otherwise causes query error (non-existing column))
        delete context.params.query[sourceField];

        return context;
      }
    }

  }
}
export default withSearch;

const withSearchHook = withSearch('q', 'name');
// [...]
export default {
  before: {
    // [...]
    find: [
      withSearchHook,
    ],
    // [...]
    get: [
      withSearchHook,
    ],
// [...]

The example query https://localhost:3030/items?q=test will then result in a text search in the name field (without case-sensitivity (false)).

@josx: Would customQueryOperators: [ '$like' ] allow react-admin to do those searches as full text search in the name field?
SQLite as backend doesn't support $ilike (case-insensitive searches) and the search query has to be surrounded with % to allow it to match partially. The knex FeathersJS adapter is used.
The options looks like it would offer this functionality and it would be great to just pass a parameter to get it.

customQueryOperator is operator to be use on filter key when quering feathers.
Allows to use custom operators from various feathers-database-adapters.
Any params.filter included in custom operators will be sent to feathers.
Please check tests
https://github.com/josx/ra-data-feathers/blob/master/test/restClient.spec.js#L293


Cranelift AArch64: Improve the Popcnt implementation

Now the backend uses the Neon CNT instruction, which results into a major simplification.
Closes #1537 (which also contains performance data).

Thanks @akirilov-arm for the benchmarking and PR!

Thanks @akirilov-arm for the benchmarking and PR!


dynamic attribute lowering for single dtype

This sets up the structure for lowering more useful attributes later, and this sets up the structure for testing them.
Also, I realized that we don't need dynamic "$tensor" attributes because they only arise when promoting dynamic tensor initializations to the graph. This significantly simplifies dynamic attribute IRGen, because "$tensor" attributes are one of the most complicated ones. So I added some comments and checks and assertions that should prevent us from accidentally getting any dynamic "$tensor" attributes.

I addressed all the comments so far.

@swift-ci please test tensorflow

@swift-ci please test tensorflow

@swift-ci please test tensorflow

@swift-ci please test tensorflow

@swift-ci please test tensorflow


Update README.md

Added description of Karvonnen zones, of the displays, how to navigate them, and the necessary settings for it to work properly.

Great - thank you!


Inconsistent Kepler container generation between Upstream / Downstream

What happened?
During our development, we faced the issue that the command line ss is  present in Upstream but not Downstream.
Sadly we developed our Health Check using this command line and it's not working Downstream.
What did you expect to happen?
We expect the Upstream and the Downstream container to be exactly the same for a given version.
How can we reproduce it (as minimally and precisely as possible)?
Downstream version doesn't have ss :
registry.redhat.io/openshift-power-monitoring/kepler-rhel9:v0.7.12-9
Upstream version has ss :
quay.io/sustainable_computing_io/kepler:release-0.7.12
Anything else we need to know?
No response
Kepler image tag

v0.7.12-9

Kubernetes version

$ kubectl version
# paste output here

Cloud provider or bare metal

OS version

# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here

Install tools

Kepler deployment config

For on kubernetes:
$ KEPLER_NAMESPACE=kepler

# provide kepler configmap
$ kubectl get configmap kepler-cfm -n ${KEPLER_NAMESPACE}
# paste output here

# provide kepler deployment description
$ kubectl describe deployment kepler-exporter -n ${KEPLER_NAMESPACE}

For standalone:
put your Kepler command argument here

Container runtime (CRI) and version (if applicable)

Related plugins (CNI, CSI, ...) and versions (if applicable)

the difference is because the base images are different.  upstream 0.7.12 uses ubi9 as the base image and downstream uses ubi9-minimal. which explains absence of ss utility in downstream.
Going forward, upstream kepler is also using ubi9-minimal as base image and so will no longer contain the ss utility.


unable to join room in swift UI

every time the app joins a room, it will join successfully for once and failed quickly ( join for a 2nd time? ). In my code, i only joined once.
my code:
    private var defaultSettings = ClientSettingsUpdate(inputs: .set(.init(camera: .set(.enabled(false)))))

    @MainActor func manualJoin(room_url_string: String) {
        if callClient.callState == .joined || callClient.callState == .joining {
            return
        }
        print("Joining room...")
        guard let roomURL = URL(string: room_url_string) else {
            return
        }
        // Join with custom camera settings
            callClient.join(url: roomURL, settings: defaultSettings ) { result in
            print(result)
            // You can either handle the join event in a callback or in a delegate method.
        }
    }

here is the log from the console.

success(Daily.CallJoinData(participants: Daily.Participants(local: Daily.Participant(id: 521748ec-4446-4d8e-954c-0f376baad7ec, info: Daily.ParticipantInfo(isLocal: true, isOwner: false, joinedAt: Optional(2024-08-05 16:28:05 +0000), userID: nil, username: nil, permissions: Optional(Daily.ParticipantPermissions(hasPresence: true, canSend: Set([Daily.CanSendPermission.customVideo, Daily.CanSendPermission.screenVideo, Daily.CanSendPermission.camera, Daily.CanSendPermission.customAudio, Daily.CanSendPermission.microphone, Daily.CanSendPermission.screenAudio]), canAdmin: Set([])))), media: Optional(Daily.ParticipantMedia(camera: Daily.ParticipantVideoInfo(state: Daily.MediaState.off(reasons: Set([Daily.MediaOffReason.user])), subscribed: Daily.TrackSubscriptionState.unsubscribed, trackID: nil), microphone: Daily.ParticipantAudioInfo(state: Daily.MediaState.playable, subscribed: Daily.TrackSubscriptionState.unsubscribed, trackID: Optional(Daily.MediaStreamTrackID(stringValue: "1DFC7094-A35B-41FB-8859-76FEC0BEAFB1"))), screenVideo: Daily.ParticipantVideoInfo(state: Daily.MediaState.off(reasons: Set([Daily.MediaOffReason.user])), subscribed: Daily.TrackSubscriptionState.unsubscribed, trackID: nil), screenAudio: Daily.ParticipantAudioInfo(state: Daily.MediaState.off(reasons: Set([Daily.MediaOffReason.user])), subscribed: Daily.TrackSubscriptionState.unsubscribed, trackID: nil), customAudio: [:], customVideo: [:]))), remote: [:]), meetingSession: Daily.MeetingSession(id: 1a1da347-ecaa-4b80-a77e-07e843705f48)))
failure(Daily.CallClientError.core(Daily.CoreCallClientError.request(Daily.RequestError(message: Optional("Connection(CallState(AlreadyInCall))")))))

Hi @phng0926,
Thanks for reporting this.
Looking at the logs, it seems that you are already in the call, and that is why the system it is throwing this exception:
failure(Daily.CallClientError.core(Daily.CoreCallClientError.request(Daily.RequestError(message: Optional("Connection(CallState(AlreadyInCall))")))))

Are you able to reproduce it using one of our demos ?

https://github.com/daily-demos/daily-ios-demo
https://github.com/daily-demos/daily-ios-starter-kit (developed with SwiftUI). I was unable to reproduce the issue with this demo.

If you continue to experience this issue, please provide:

A complete code snippet to help us replicate the issue.
The full log.
The version of our SDK you are using and the device on which you’re testing.

This information will help us assist you more effectively.

Hi, considering that the inactity, and based on our investigations, it appears that everything is working as expected.
As such, we’re closing this issue for now. However, if the problem persists or you have any new information to provide, please feel free to open a new issue and share the details. We’ll be happy to take another look.


[Feature request] The start button is placed on the left, but the other buttons are placed in the middle.

We may not be able to do this easily, so is it possible to simply cover the start button?

This is related to the start button hook mechanism, this will be fixed at the same time i came up with a new hooking mechanism.

This is related to the start button hook mechanism, this will be fixed at the same time i came up with a new hooking mechanism.

This is not a bug, it's a feature request. I want a single start menu button on the left. Start11 can do it (of course it does it by writing its own taskbar, not modifying the existing taskbar). It may be difficult to do this while keeping the existing taskbar functionality, but I still hope you can try it.
@Lixkote

This is related to the start button hook mechanism, this will be fixed at the same time i came up with a new hooking mechanism.

This is not a bug, it's a feature request. I want a single start menu button on the left. Start11 can do it (of course it does it by writing its own taskbar, not modifying the existing taskbar). It may be difficult to do this while keeping the existing taskbar functionality, but I still hope you can try it.
@Lixkote

Well, currently startify it not focusing on taskbar enachancements. Maybe in the future...


Add overridden_class to CuPy backend

As first discussed in https://github.com/Quansight-Labs/unumpy/pull/67#pullrequestreview-459966056, this PR intends to extend class overriding to CuPy.

@peterbell10 Can you check if the tests pass?

I think this is good to merge now.

Thanks, @joaosferreira!


Easygui 0.98 easygui.fileopenbox causes Traceback

Today I had tried calling a script I had written that previously had no issues using the easygui.fileopenbox method, however when I ran the script today I got the following error:
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/easygui/boxes/demo.py", line 142, in easygui_demo
demo_reply = chosen_demo()
File "/usr/local/lib/python2.7/dist-packages/easygui/boxes/demo.py", line 455, in demo_fileopenbox
f = fileopenbox(msg, title, default=default)
File "/usr/local/lib/python2.7/dist-packages/easygui/boxes/fileopen_box.py", line 103, in fileopenbox
func = ut.tk_FileDialog.askopenfilenames if multiple else ut.tk_FileDialog.askopenfilename
AttributeError: 'module' object has no attribute 'askopenfilename'
Using Python 2.7.6 on Linux Mint 17.3.
Are there updated dependencies required for using the release version of easygui 0.98?
Thank you

Duplicate of #97.

According to the README, there are no required dependencies. Have you still got the script which causes this issue or is the error still reproducible?


Telemetry that count the number of tags in the contextes of the aggregator

What does this PR do?
Add a new telemetry that count the number of tags in the contextes of the aggregation.
Describe how to test your changes
Send metrics with high number of contextes and tags (For example with DogStatsD) and check the value of the telemetry.
Checklist

[X] A release note has been added or the changelog/no-changelog label has been applied.
[X] The need-change/operator and need-change/helm labels has been applied if applicable.
[X] The appropriate team/.. label has been applied, if known.
[X] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[X] The config template has been updated if applicable.

Note: Adding GitHub labels is only possible for contributors with write access.

This telemetry is not needed anymore.


Fix tdsentry not being initialized

Description
While adding support for renaming databases in this commit:https://github.com/babelfish-for-postgresql/babelfish_extensions/commit/76664c7ebb0d82dbbd20392546c27e3cbfb98c7c
We re-utilised  localTdsStatusTable array which seems to have garbage indexes for pids which are not valid. Valgrind raises this error since we are not initialising all of the indexes of this array. To fix this we first check for valid st_procpid and second we now allocate all 0s for this array to avoid this being missed in the future.
Authored-by: Kushaal Shroff<EMAIL_ADDRESS>Signed-off-by: Kushaal Shroff<EMAIL_ADDRESS>Issues Resolved
Task: BABEL-4929
Test Scenarios Covered

Use case based -
N/A

Valgrind local testing: we are not observing the same error anymore.
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.006%) to 72.775%

Totals

Change from base Build<PHONE_NUMBER>:
0.006%

Covered Lines:
41815

Relevant Lines:
57458

💛  - Coveralls


Bringup, Driver Analysis and issue open

https://github.com/openbmc/openbmc-test-automation/issues/220

Ticket Raised on Github

https://github.com/openbmc/openbmc/issues/880

https://github.com/openbmc/openbmc/issues/879

https://github.com/openbmc/openbmc/issues/881

https://github.com/openbmc/openbmc-test-automation/issues/238

https://github.com/openbmc/openbmc-test-automation/issues/237

https://github.com/openbmc/openbmc-test-automation/issues/234

https://github.com/openbmc/openbmc-test-automation/issues/231

https://github.com/openbmc/openbmc-test-automation/issues/230

https://github.com/openbmc/openbmc-test-automation/issues/229

https://github.com/openbmc/openbmc-test-automation/issues/240

https://github.com/openbmc/openbmc-test-automation/issues/241

Updated as well in https://github.com/openbmc/openbmc-test-automation/issues/257
Closing this for this sprint


`-- UNMET PEER DEPENDENCY<EMAIL_ADDRESS>

Version
Tell us which versions you are using:
-react v15.5.4
Expected behaviour
React v15.5.4 is installed and package.json file updated to reflect the addition
Actual behaviour
It produces the following message instead:
`-- UNMET PEER DEPENDENCY<EMAIL_ADDRESS>npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture<EMAIL_ADDRESS>npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>No repository field.
npm ERR! code 1
Steps to reproduce

Using the CLI in Windows 10
In your package.json file, either remove the 'react':'xxx' entry OR modify it to 'react':'^15.5.4'
Type: npm install react

I seem to have the same issue.

I have the same issue.

Same on Mac with react-native-router-flux 3.39.1.


fixed missing font in sandbox

Describe the issue (if no issue has been made)
Missing fonts cause sandbox project to get assertion failure

Proposed fix (Make sure you've read on how to contribute to Hazel)
Just add the missing files

I'm not a believer in that a source code revision management tool should be used to host binary files. It is possible that small binary files are integral to a project. Copying large files or making them redundant wastes space and far too much bandwidth.
I still think there is a better solution in code that can fix this architectural problem. I was expecting the community to get a comment from Cherno. Opening an issue for this project is overdue.

Yeah I don’t disagree, also if this is a required font then we should probably either copy it into the exe using the asset in the core game engine OR make a post build copy step as an easy option. But just fixing it for now probably is fine, sandbox isn’t terribly important

Well its common to see to have at least 1 font included as a fallback scenario. So why not include such a font by default (could be opensans or anything for that matter). And if a particular font can't be found it should not fail, but give a warning.

Obsolete.


Added Machine Learning plugins to readme

Added several machine learning plugins from pub.dev
TFLite
Speech to text
Firebase ML Vision
Edge detection

I made some edits to resolve the conflicts. Thanks for adding a lot of resources @jecapi


react-native link doesn't start on version 0.47.0

Environment

react-native -v:
react-native-cli: 2.0.1
react-native: 0.47.0
node -v:
v8.2.1
npm -v:
5.3.0
yarn --version:
0.27.5

Target Platform:
Android,  iOS

Development Operating System:
macOS Sierra

Steps to Reproduce

react-native init myapp
cd myapp
Add a component that need to be linked
yarn add react-native-awesome-master-blaster-component
Link the installed component
react-native link react-native-awesome-master-blaster-component
wait.

Expected Behavior

The react-native-awesome-master-blaster-component linked to the project
Actual Behavior

Nothing happens:

ps: On the same environment, with react-native version <= 0.46.4, react-native link works as expected.

Same issue

Same here (running on Windows 7, RN version 0.47):
C:\0\testmap>react-native link react-native-maps
Scanning 559 folders for symlinks in C:\0\testmap\node_modules (13ms)
C:\0\testmap>

+1

Issue solved on 0.47.1.


Incompatibility between vfs and ImageMagick?

I'm currently using a library for manipulating images (Imagine) and was able to write tests easily while using Imagine's library with GD. I had to switch to their Imagick implementation though and noticed that all my tests that involve saving to my vfsstream directories were failing. It seems to fail when imagick's write functions are called (http://php.net/manual/en/imagick.writeimages.php in my case with Imagine). An exception with the following is what I get: "unable to open image `vfs:/my-custom-upload.jpg': No such file or directory". Writing image files will work though when using the actual file system.
Is there something preventing imagick from writing to my mocked file system? GD seems to work fine, as well as other file related functions that would have to do work with vfsstream.

I never tested vfsStream with imagick, so I don't know if there's any incompatibility. However, the error message you mention looks like there is a slash missing in the vfsStream url, maybe that's the source of the problem?

Sorry, mistyped that. Path was complete (vfs://custom-upload.jpg) so that probably wasn't it. The same code works just fine outside vfs so there's something else going on.

Quick code sample that shows my problem. Using PHP 7.0.3 by the way
use org\bovigo\vfs\vfsStream;

vfsStream::setup('foo');
$image = new Imagick('image.jpg');
$image->writeImage('foo/image.jpg'); // works
$image->writeImage(vfsStream::url('foo/image.jpg')); // throws an exception: "unable to open image `vfs://foo/image.jpg': No such file or directory @ error/blob.c/OpenBlob/2641"

I can get the same error/exception thrown on an actual file system if the foo directory does not exist.

From the error message and the ImageMagick code I looked at I suspect that this error message stems directly from ImageMagick. If the PHP extension is just a thin layer around ImageMagick and does not translate PHP streams into something that ImageMagick understands I fear that there's an incompatibility that vfsStream can nothing do about.

That's what I was thinking as well. Guess I'll just modify my imagick related tests to not use vfsStream. Thanks.


Improve Parser Errors

Need to try to make parser errors better - sometimes they're very cryptic. We should at least return the correct line number and show the line that's causing the error in the message, which should be fast.
Slightly separate but related, we need to make a system so that parser errors out when receiving unexpected parameters to an item, and perhaps even helpfully provides a list of valid parameters (maybe too optimistic).

We should look for calc mode commands (restart/wait) and provide a better error message if they're not run in calc mode. Right now the sim just says like
unknown action block type

should be ok to close. next should handle this a bit better


docker.errors.InvalidArgument: "host" network_mode is incompatible with port_bindings

I get this error message with pip version of docker-compose 1.29.2.
I changed host to bridge in docker-compose.yaml but it can't communicate with the oobabooga api.

Hi, @viridius0
As a workaround, did you try removing the port bindings but keeping the host network mode?

Thanks, that worked.  FYI, I had to edit the Dockerfile and put a trailing / at the end of the directory /code so that this would build.  I got this message otherwise:
ROR: Service 'frontend' failed to build: When using COPY with more than one source file, the destination must be a directory and end with a /

Cool! I think I don't see this issue because I'm using a different version of docker-compose:
(brain) paolo@paolo-MS-7D08:~/BrainChulo$ docker-compose -v
Docker Compose version v2.15.1