Support INSERT INTO FROM by new extension method

Thanks for your good BatchUpdate(Async) and BatchDelete(Async) functions, it helped a lot.
What about adding new extension method IQueryable<T1>.BatchInsertTo(DbSet<T2>, Expression<T1, T2>) to support queries like INSERT INTO [MyDb1] ([AAA], [BBB]) SELECT [a].[CCC] AS [AAA], [b].[DDD] AS [BBB] FROM [ASet] AS [a], [BSet] AS [b] or so on?

For insert from one table to another you can use BulkRead with BulkInsert, or just pure SQL.


Mutation for updating team name and purpose

We need a mutation to update the team name and team purpose. Updating the team slug should not be possible.

Fixed in ba3cdf9159115834a888d036bae9855f3e3f785a


No response while running alveo samples from DPU

Hello. I am trying to run some examples on alevo U200. I successfully programmed the FPGA and loaded the image tensor. But the program gets stuck and does not get any output.
For example, when I try ResNet example in /vitis_ai_home/examples/DPUCADX8G/vitis_ai_alveo_samples/resnet50_mt_py, I got:
 (vitis-ai-tensorflow) Vitis-AI /vitis_ai_home/examples/DPUCADX8G/vitis_ai_alveo_samples/resnet50_mt_py > vi resnet50.py
(vitis-ai-tensorflow) Vitis-AI /vitis_ai_home/examples/DPUCADX8G/vitis_ai_alveo_samples/resnet50_mt_py > sudo vi resnet50.py
(vitis-ai-tensorflow) Vitis-AI /vitis_ai_home/examples/DPUCADX8G/vitis_ai_alveo_samples/resnet50_mt_py > python resnet50.py 1 ./model
-------------------
Speaking to Butler
Response from Butler is:
errCode: errCode: 0
errCode String: SUCCESS
myHandle: 2
valid: 1

[XDNN] loading xclbin settings from /opt/xilinx/overlaybins/xdnnv3/xdnn_v3_96x16_2pe_8b_9mb_bank03_2.xclbin.json
[XDNN] using custom DDR banks 0,3
Path ./model/weights.h5 is a file.
Loading weights/bias/quant_params to FPGA...

[XRT]    git hash                   : 7c93966ead2dec777b92bdc379893f22b5bd561e
[XDNN]   git hash                   : 108fbe330fd7c1682526ff720cd9accb6ff3f6c0
[XDNN] kernel configuration
[XDNN]   num cores                  : 2
[XDNN]   dsp array width            : 96
[XDNN]   axi data width (in 32bits) : 16
[XDNN]   img mem size               : 9 MB
[XDNN]   max instr num              : 1536
[XDNN]   max xbar entries           : 4096
[XDNN]   version                    : 3.2
[XDNN]   8-bit mode                 : 1

Then it got stuck.
I checked the information in xbutler and it showed that the results have been returned.
$ sudo systemctl status xbutler
● xbutler.service - The Xilinx Butler
   Loaded: loaded (/etc/systemd/system/xbutler.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2021-04-21 15:04:55 UTC; 23min ago
  Process: 28885 ExecStop=/etc/init.d/xbutler stop (code=exited, status=0/SUCCESS)
 Main PID: 29688 (xbutler)
    Tasks: 5 (limit: 17203)
   CGroup: /system.slice/xbutler.service
           ├─29688 /bin/bash /etc/init.d/xbutler start
           └─29736 /usr/sbin/xbutler

Apr 21 15:07:22 yns191101 xbutler[29688]: AcquireFPGA: UDF result is valid.
Apr 21 15:07:22 yns191101 xbutler[29688]: AcquireFPGA: Programming FPGA...
Apr 21 15:07:26 yns191101 xbutler[29688]: PID 7987 acquire FPGA at index 0
Apr 21 15:07:26 yns191101 xbutler[29688]: AcquireFPGA: Sending response...
Apr 21 15:07:26 yns191101 xbutler[29688]: AcquireFPGA: Response is: SUCCESS
Apr 21 15:07:26 yns191101 xbutler[29688]: AcquireFPGA: Sending handle...
Apr 21 15:07:26 yns191101 xbutler[29688]: AcquireFPGA: Handle is: 2
Apr 21 15:07:26 yns191101 xbutler[29688]: AcquireFPGA: Sending result...
Apr 21 15:07:26 yns191101 xbutler[29688]: Finishing AcquireFPGA.
Apr 21 15:07:26 yns191101 xbutler[29688]: -------------------------------------

But when I try to view the information of the AXI bus through xbutil, I find that no information is sent back to the host.
$ sudo ./xbutil status --aim
INFO: Found total 2 card(s), 2 are usable
AXI Interface Monitor Counters
Region or CU     Type or Port      Write kBytes      Write Trans.      Read kBytes       Read Tranx.       Outstanding Cnt   Last Wr Addr      Last Wr Data      Last Rd Addr      Last Rd Data
shell            Memory to Memory  0.000             0                 0.000             0                 0                 0x0               0x0
      0x0               0x0
shell            Host to Device    567773.824        1108934           0.000             0                 0                 0x4010f82e00      0x0
      0x0               0x0
shell            Peer to Peer      0.000             0                 0.000             0                 0                 0x0               0x0
      0x0               0x0
INFO: xbutil status succeeded.

I checked the sample program provided and found that the program stopped at dpu.wait(job_id).
What should I do to fix this problem?
Thank you for your help.

Hello.
can you try the following examples too?
https://github.com/Xilinx/Vitis-AI/tree/master/examples/DPUCADX8G/deployment_modes

I ran into the same problem when running the program in https://github.com/Xilinx/Vitis-AI/tree/master/examples/DPUCADX8G/deployment_modes.
By the way, I failed to install xbutler in docker, so I installed and run the xbutler service outside of docker, will this have an impact? The following is the information output by me installing xbuter in docker:
(vitis-ai-caffe) Vitis-AI /workspace/setup/alveo/u200_u250/packages/ubuntu > sudo apt install ./xbutler_3.0-1.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'xbutler' instead of './xbutler_3.0-1.deb'
The following NEW packages will be installed:
 xbutler
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,051 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 /workspace/setup/alveo/u200_u250/packages/ubuntu/xbutler_3.0-1.deb xbutler amd64 3.0-1 [1,051 kB]
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 101145 files and directories currently installed.)
Preparing to unpack .../ubuntu/xbutler_3.0-1.deb ...
Unpacking xbutler (3.0-1) ...
dpkg: error processing archive /workspace/setup/alveo/u200_u250/packages/ubuntu/xbutler_3.0-1.deb (--unpack):
unable to create '/etc/xbutler/xbutler.config.dpkg-new' (while processing './etc/xbutler/xbutler.config'): No such file or directory
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/workspace/setup/alveo/u200_u250/packages/ubuntu/xbutler_3.0-1.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I ran the same test on another computer with U250, and found that the sample program can run correctly. I think this is caused by XRT not being installed correctly. Thank you for your help!


Update composer.json

updated references so it's compatible with laravel 9

Thanks @danielzzz !

thank you! this lib is very useful!


CloudFormation template error (Mapping --> Timeouts)

Parameter ScheduleExpression is not valid. (Service: AmazonCloudWatchEvents; Status Code: 400; Error Code: ValidationException
This is because on the defined mappings, there is an error:
"60": "cron(0/1 * * ? *)" should be "60": "cron(0/60 * * ? *)"

@eduardopuente Thanks for providing this information, we will patch is error in a future release.

The actually error is here:
source/lib/aws-instance-scheduler-stack.ts#L615
I think it should be:
cron(0/60 * * * ? *) or cron(0 0/1 * * * ? *)
FYR~

@eduardopuente Issue has been resolved in the latest version of the solution v1.4.0.


Editor toolbar should flow primary actions into the "..." when space is little

Testing #117259
Once the amount of contributed commands gets really long, in narrow views you lose the tab:

Should we move things into the overflow, one-by-one, once you hit a certain threshold? Like:

Yeah, the editor title need to communicate this

Totally, and we can probably do that from the layout method that already needs to know all the widths for tabs here:
https://github.com/microsoft/vscode/blob/eeff347cac7d1872bd090a0ce6f89e6a16b0bef2/src/vs/workbench/browser/parts/editor/tabsTitleControl.ts#L1388-L1399
This would make the layout a bit more complex because for example when tabs wrap, there is extra code that ensures we stop wrapping when the editor toolbar is too large.
I would probably only tackle this once we have figured out wether the editor toolbar remains next to the tabs or wether it get's it's own dedicated place.

Easier to control now for the user via the cool option to hide actions.

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


Add node v0.12 and iojs to travis.yml file for testing.

Making a PR to make sure this doesn't error out.

:+1:


Added PowerShell cmdlets for getting offline token

Updated Application Proxy silent install with PowerShell cmdlets for getting offline token for registering connector

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: skillriver sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@skillriver : Thanks for your contribution to the Azure documentation! The author, @kgremban, has been notified to review your proposed change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

The new owner for this content is @MarkusVi . Markus, please test this.

@sadrat please remove @kgremban and assign to @MarkusVi

@mtillman Done. Markus has now been assigned.

@skillriver : Thanks for submitting this. Our engineering team approved your change.  However, there's a couple things I'd like to ask.  First, could you please change the name of the AzureADPreview module to AzureAD. Second, can you fix the merge conflict?  The file you updated has been moved to active-directory/manage-apps/application-proxy-register-connector-powershell. Thank you.

@skillriver : To make it easier for you, since the file name changed after you submitted this, I have gone ahead and taken your change into our private repo as PR 41542.  It will get published from there.
@sadrat : Please close this PR.

Please close this PR.  Thank you

@barbkess Thanks for approving this change, I see now that it's published into the new path of active-directory/manage-apps/application-proxy-register-connector-powershell. I'm not listed as a contributor on that article though, something I would appreciate ;)

Jan – we are having the content developers be listed as the author to help us in monitoring the article.  The PMs are listed as reviewer, and I will add you as a reviewer to the article.
Thanks!
Barbara Kess | Sr. Content Developer| Azure Active Directory
Create an App Management content work itemhttps://identitydivision.visualstudio.com/Technical Content/Technical Content Team/_workitems/create/Product Backlog Item?templateId=9af2c1d8-9410-4f22-909c-b537f35bb1fb&ownerId=7eda0824-7eb2-4194-8319-b15a79747b34
From: Jan Vidar Elven<EMAIL_ADDRESS>Sent: Wednesday, June 6, 2018 10:27 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Barbara Kess<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Added PowerShell cmdlets for getting offline token (#4942)
@barbkesshttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbarbkess&data=02|01|barbkess%40microsoft.com|dfc2b009d58b4ede477c08d5cc37451e|72f988bf86f141af91ab2d7cd011db47|1|0|636639460118332478&sdata=OkmsGzmmJBN6H9HzstTgTe1q4OrR1QkM%2BIf%2FYhYZ%2Fkk%3D&reserved=0 Thanks for approving this change, I see now that it's published into the new path of active-directory/manage-apps/application-proxy-register-connector-powershell. I'm not listed as a contributor on that article though, something I would appreciate ;)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fpull%2F4942%23issuecomment-395297345&data=02|01|barbkess%40microsoft.com|dfc2b009d58b4ede477c08d5cc37451e|72f988bf86f141af91ab2d7cd011db47|1|0|636639460118332478&sdata=AVBzYJhbRdxV37Sa0yp7dBg3HnpHLOQiN%2FvrlEGCXw8%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAFJQweGyXVZ-Auu5DqyD61Xowa1Fi0Zzks5t6LmZgaJpZM4SKN1E&data=02|01|barbkess%40microsoft.com|dfc2b009d58b4ede477c08d5cc37451e|72f988bf86f141af91ab2d7cd011db47|1|0|636639460118342483&sdata=cPh%2BMwY8tnc03v3jAaURnNg9YS9pZxSsDcv%2FlDRak4A%3D&reserved=0.

Hi Barbara, if that’s not too much trouble, then yes.
Kindly regards
Jan Vidar Elven
Architect Modern Datacenter, Skill AS, MVP Enterprise Mobility, P-TSP Cloud OS & Datacenter Microsoft
Tel: +4795771854 | E-mail: jan.vidar.elven<EMAIL_ADDRESS>| Web: www.skill.nohttp://www.skill.no/
«Your business – our passion»
From: Barbara Kess<EMAIL_ADDRESS>Sent: torsdag 7. juni 2018 19.25
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Jan Vidar Elven<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Added PowerShell cmdlets for getting offline token (#4942)
@skillriverhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fskillriver&data=02|01|jan.vidar.elven%40skill.no|1f68b1bee17a46397a7908d5cc9ba79a|643d5e93b1a84371aaf12efa611da673|1|0|636639891274335498&sdata=D2T7uCe2yetLWSY4sJqG%2BIDVRZVpmoGD6aMAPDPQS%2Fo%3D&reserved=0 : Sorry, I think I misunderstood what you were asking. Were you asking to be attributed for the contribution? Since we had the merge conflict, I checked in your changes, so unfortunately you didn't get the attribution. If you want, I can revert the changes I checked in for you on the article, and you can re-submit to the article that's in the new location. Would you like me to do that?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fpull%2F4942%23issuecomment-395500756&data=02|01|jan.vidar.elven%40skill.no|1f68b1bee17a46397a7908d5cc9ba79a|643d5e93b1a84371aaf12efa611da673|1|0|636639891274335498&sdata=5oeEKGWYmA57ufIVIM9Ajlh0QSJocjkR5BLiPpk439s%3D&reserved=0, or mute the threadhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANVXyFI6mbPZ6yQR039Py4osR_Te9avdks5t6WIDgaJpZM4SKN1E&data=02|01|jan.vidar.elven%40skill.no|1f68b1bee17a46397a7908d5cc9ba79a|643d5e93b1a84371aaf12efa611da673|1|0|636639891274335498&sdata=dqqnTGLz4uSnl4Tm21%2BxGraVtUlpON5qzY%2Fjxw9e8qA%3D&reserved=0.


Bad result of nerfacto on my dataset

Thank for your grateful work. I use the default nerf acto model on my data. The trainning psnr is 27.8db, but the testing psnr is only 20db. Why is it overfting?

Can you share an example render results? Bad results can be caused by a number of factors such as not enough captures of the scene, motion blur, dynamic scene elements, changes in exposure/appearance. It is also worth noting that psnr is not a great metric for real scene. The appearance embeddings and pose optimization will improve the training psnr and hurt the test psnr, however the perceived quality if you render out a video will look better as it will have fewer floating artifacts and sharper results.

Thanks for your answer. I don't use the pose optimatimzition and appearance embending. The test ing psnr is also 20 psnr, training psnr 26db.

When I use the instant-ngp method, the train and test psnr are close to being equal.

Can you share some example data, it may help with debugging.

Hi, I test the nerfactor sf dataset. The train-num-rays-per-batch is 8192. Orientation-method is pca. After 33000 iterations, the training psnr is 32db, but testing psnr is about 20psnr.

The new view image has no details

Oh, I'm only now realizing that the sf dataset is one what we provided. This dataset is bad and has been removed in the latest release.


Update maven repo link

Adds the new repository link for the maven repo with a secure connection

Travis CI - Branch Expected — Waiting for status to be reported

Travis CI - Branch Expected — Waiting for status to be reported

Why is that?


Add custom ripple effect

Adding a custom ripple effect to list item backgrounds, so when a list item is tapped the ripple does not run out of the rounded edges of the list item background.
Before:

After:

@szugyi Thanks for your contributions


After upgrade to 0.80.0 Xiaomi Aqara Gateway doens't work anymore

After I did the upgrade to 0.80.0 I couldn't get my Xiaomi Gateway to work anymore. Nothing did change  in my configuration since the upgrade and I restarted Hassio a couple of times now.
From the logs I can see:
Setup of xiaomi_aqara is taking over 10 seconds.
No gateway discovered
Setup failed for xiaomi_aqara: Component failed to initialize.
I restored my Hassio back to 0.79.3 and still doesn't work.

This was fixed by restarting the router and dhcp server.


Nats.WS client crashes

Hello,
I have been using nats.ws recently to connect to a nats server.
I have followed the necessary steps  to setup the config on the server side. The config looks like this.:
`port: 4222
max_payload: 52428800 # 50 MB i know its big but its for testing purposes, the payloads are not bigger than 10mbs
websocket: {
    tls:{

              # Path to the TLS certificate file
              cert_file: "/tls_keys/cert.pem"

              # Path to the TLS key file
              key_file: "/tls_keys/key.pem"
    }
    port: 4223

}`
I have been using a client which publishes big payloads on spescfic topic. This client connects on port 4222.
I have made another client in python from which I subscribe to this specific topic and I am receiving messages no problem. This client also connects on port 4222.
I have made the similar client from which I connect through nats.ws and try to receive the same messages. This client connects on port 4223 ( wss )
The problem is that the nats.ws client crashes after some time throwing this error on the nats.ws client:

and this is what I happens on the client side which is publishing:

If I am only using port 4222 ( 'raw' nats) to publish and subscribe no issues. If I connect nats.ws all clients are crashing (subscriber running on 4223 and also publisher running on 4222).
The nats.ws version I am using:
"nats.ws": "^1.14.0",
Nats version:
Version:  2.9.16

Are you running on node?
Can you attach a simple test case where I can reproduce?
Also have you looked into using multiple messages instead of what you are doing?
You can receive multiple messages with a single request if you use:
https://nats-io.github.io/nats.deno/interfaces/NatsConnection.html#requestMany
You are on your own for doing the initial split, but I would just do the sentinel request strategy - that is send end the send by publishing a single empty message.
Also - you can use JetStream to store and forward a large asset like that - with ObjectStore you would just put it in the store, and send the name of the asset to the client which can then retrieve it.

I wrote a little example for you to try out - you can use a ws connection, as the API is the same:
https://github.com/nats-io/nats.deno/blob/chunk-example/examples/services/03_bigdata.ts
https://github.com/nats-io/nats.deno/blob/chunk-example/examples/services/03_bigdata-client.ts

I verified with ws, and I am able to have the service send a 50MiB in single message with no issue on the client (using the examples above):
import { connect, JSONCodec } from "../esm/nats.js";

const nc = await connect({servers: "ws://localhost:9222"});

const size = 50_000_000;

const start = performance.now();
const iter = await nc.requestMany(
    "data",
    JSONCodec().encode({ size }),
    {
        strategy: "sentinelMsg",
        maxWait: 10000,
    },
);

let received = 0;
let count = 0;
for await (const m of iter) {
    count++;
    received += m.data.length;
    if (m.data.length === 0) {
        // sentinel
        count--;
    }
}

console.log(performance.now() - start, "ms");

console.log(`received ${count} responses: ${received} bytes`);
await nc.close();

The above is with  nats-server v2.9.17, running a config that allows the 50mb payload

Hello @aricart,
This version works for me too.
Thanks !

@efntallaris so the issue was solved with server change?

@aricart Yes, I was using docker and just changed the version and now seems to be working perfect

Awesome.  Take a look at the example I made.  I think smaller payloads are possibly better. But you can always test


[Android] Taking into account the notch for the VisibleBounds calculation

GitHub Issue (If applicable): #

PR Type
What kind of change does this PR introduce?

Feature

What is the current behavior?

Notch wasn't included in the VisibleBounds causing some elements to be displayed behind the notch
What is the new behavior?

Notch is included and components are now displayed well when using VisibleBoundsPadding.PaddingMask
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tested code with current supported SDKs
[ ] Docs have been added/updated which fit documentation template. (for bug fixes / features)
[ ] Unit Tests and/or UI Tests for the changes have been added (for bug fixes / features) (if applicable)
[ ] Wasm UI Tests are not showing unexpected any differences
[ ] Contains NO breaking changes
[ ] Updated the Release Notes
[ ] Associated with an issue (GitHub or internal)

Other information

Make sure you're using Uno.UI,Toolkit.VisibleBoundsPadding.PaddingMask in order to support this feature
Internal Issue (If applicable):

https://nventive.visualstudio.com/Umbrella/_workitems/edit/132984

Are there already samples in SamplesApp which allow this to be tested?

Does this work correctly when the device is rotated?

Are there already samples in SamplesApp which allow this to be tested?
Does this work correctly when the device is rotated?

We already have some samples for that but it doesn't include the navigation bar. I need to add it.
I thougth about the status bar / navigation bar visibility / transparency but forgot the orientation. And it's not working. The insets don't follow the device orientation so we need to "rotate" the insets in order to make it work.

Fixes in progress

I've just done few updates on it. It's working on every orientation, every decoration, every visible/hidden states.
I've tested it only with a Samsung S10 on the internal Uno.UI.SamplesApp.
It's not over yet, the code probably needs some refactoring.
 There is already a PR to address this problem: https://github.com/unoplatform/uno/pull/1270


Undefined symbols for architecture arm64:   "_AFNetworkingOperationFailingURLResponseErrorKey", referenced from:       ___36-[SGImageCacheTask fetchRemoteImage]_block_invoke69 in SGImageCacheTask.o

Hello!
I added SGImageCache to my podfile and perform pod install.
Now, when I compile my project with XCode 6.2 I the the following error
Undefined symbols for architecture arm64:
  "_AFNetworkingOperationFailingURLResponseErrorKey", referenced from:
      ___36-[SGImageCacheTask fetchRemoteImage]_block_invoke69 in SGImageCacheTask.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Here is a screenshot (because of an NDA I had to blure out the project name):

Here is my podfile:
platform :ios, '8.0'
use_frameworks!
target 'XXXX' do
pod 'Alamofire', '~> 1.1'
pod 'SwiftyJSON', '2.1.3'
pod 'SGImageCache'
pod 'Pushwoosh', '~> 2.9'
pod "ODSAccordionView"
pod 'JLToast'
end

It is not working with my iPhone 6 plus nor with the iOS simulator.
As soon as I remove SGImageCache I can compile my project again.
What am I doing wrong? Any help is highly appreciated. Thank you!

Curious. What happens if you take out SGImageCache but add in AFNetworking on its own?

This podfile works (it compiles)
pod 'Alamofire', '~> 1.1'
pod 'SwiftyJSON', '2.1.3'
pod 'AFNetworking', '~> 2.5'
pod 'Pushwoosh', '~> 2.9'
pod "ODSAccordionView"
pod 'JLToast'

So adding AFNetworking itself is no problem.
Adding both, AFNetworking and SGImageCache results in the same problem as in my original post (which makes sense, since SGImageCache itself has a dependency to AFNetworking which CocoaPods resolves).
Thank you,
Bernhard

So I built a test Swift project. The Podfile is thus:
platform :ios, '8.0'
pod 'SGImageCache'

The bridging header is thus:
#import "SGImageCache.h"

And the ViewController.swift has this:
override func viewDidLoad() {
    super.viewDidLoad()
    SGImageCache.getImageForURL("https://farm8.staticflickr.com/7627/16838248596_26c29ce29a_z_d.jpg") { image in
        if image != nil {
            NSLog("%@", image)
        }
    }
}

And the project runs produces this output:
2015-03-21 20:22:53.711 SGImageCache-test[67636:1659548] <UIImage: 0x7fb0ba52e5c0>

So I can't find the problem yet.
Can you make a test project that reproduces the problem? Thanks.

@schube could you solve the problem ? Integrate SGImageCache to your project without problems?

Remove use_frameworks!
You might need to use AFNetworking instead of Alamofire (the reason you need the use_frameworks! tag). SGImageCache uses AFNetworking internally.
Said this, I'd love to be able to use SGImageCache and Alamofire. I hope SG moves to Alamofire soon.

You can also append this to the Podfile (force SGImage to use AFNetworking):
post_install do |installer_representation|
    installer_representation.project.targets.each do |target|
        if(target.name == 'Pods-SGImageCache')
            target.build_configurations.each do |config|
                config.build_settings['OTHER_LDFLAGS'] = '-framework AFNetworking'
            end
        end
    end
end

So basically you can't use this project with projects that leverage Alamofire?

Shame.

Actually not a shame. Honestly this project uses 4 different dependencies to function. LOL. common.
Removing AFNetworking
Removing MGEvents
Removing SGHTTPRequest
Removing SGImageCache

Alamofire is a Swift only thing, and Swift is barely ready for real world use, so I'm not personally in a rush to find an answer to this one. This is also an open source project, so anyone is welcome to find the answer themselves and contribute back.

Honestly this project uses 4 different dependencies to function.

3 dependencies. MGEvents and SGHTTPRequest are tiny, and AFNetworking is a standard package for Objective-C based projects. The MGEvents dependency isn't really necessary, but it really is minuscule.

@sobri909 I understand, thanks for your project anyways :) It is still extremely useful for those not using Cocoa pods with Swift projects!

OK guys I think I've got the fix for this.  We'll push the update upstream shortly...


Reduce loading race conditions

Current issue
If students navigate quickly e.g. visiting 2 or more challenges within the server response time, the challenge loader might return any of these (not necessarily the last one or the correct one). Worse than that, the code and the guide can get out of synch.
Fix
In the challenge loader, check at the fetch return whether we are still on the same challenge (reference the current active guideMD and code paths against the returned ones).
Also, display a loader skeleton / backdrop while a challenge is loading, so if the server is rather slow, students still understand what's happening.

That looks great thank you, should resolve the matter and I'll feedback on how often / how severe the spinning wait is. ICT are also taking a look at why the websocket gets dropped such a lot on site.


Feature Suggestion

Discussed in https://github.com/prisma/prisma/discussions/22109

Originally posted by henriqueleite42 November 24, 2023
Suggestion
Hey, I didn't find any other place to give feature suggestions, so I'm doing it here, but please tell me if there's any other place.
I think that would be awesome if Prisma had something like these projects:

Prisma Editor
Prismaliser
Dbdocs

Somewhere that you can see all your relationships and have a nice documentation.
I know that notiz-dev/prisma-dbml-generator exists, but would be a lot nicer to use schema.prisma directly in an official source from Prisma instead of having to convert and host it elsewhere.
Examples

I converted this into an issue because it is a feature request.

I think this would fit perfectly as a feature in Prisma Studio. At least if the focus is visualization of the database schema, and not a visual editor for creating or modifying schemas. Then Prisma Studio would let us browse both the structure and data of the database 🚀


Explorer Not Updating -- Stuck on Round 1281 (med-priority)

Describe the bug (required)
A clear and concise description of what the bug is.
My explorer maintains the same readout ... not updating. Stuck at round #1281 ... Blocks remaining is not changing.
Expected behavior (required)
A clear and concise description of what you expected to happen.
I expect that the blocks remaining should decrease over time (>3 days no change)
To Reproduce (required)
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

load my wallet
look at round #
see no change
Sadness :(
Device (required):

Device: [e.g. MacBook Pro, iPhone6]
OS: [e.g. iOS, Linux]
Browser [e.g. Chrome, Safari]
Version [e.g. 22]

macbook pro w/ chrome
Screenshots (optional)
If applicable, add screenshots to help explain your problem.

Console logs (optional)
Paste related logs and/or error messages from the console here.
Network issues, such as the cURL output from failing requests, can also be pasted here.

Additional context (optional)
Add any other context about the problem here.
Really just want to make sure that I am earning my stake rewards.
Concerned because the explorer seems to not be updating.
Please advise.

Hey @fleyha2191 thanks for the report. If you open the explorer in incognito mode does it still read 1281? The reason I ask is because I’m seeing round 1291 so I’m wondering if this is related to a stale local cache.

so I checked using incognito mode ... refreshes properly.
I cleared my browsing history including all caches ... still no update in
the regular mode.
Any recommendations?
https://inboxwhenready.org/?utm_campaign=signature&utm_medium=email&utm_source=signature
I'm using Inbox When Ready
https://inboxwhenready.org/?utm_campaign=signature&utm_medium=email&utm_source=signature
to protect my focus.
On Mon, Mar 25, 2019 at 8:25 AM Adam Soffer<EMAIL_ADDRESS>wrote:

Hey @fleyha2191 https://github.com/fleyha2191 thanks for the report. If
you open the explorer in incognito mode does it still read 1281? The reason
I ask is because I’m seeing round 1291 so I’m wondering if this is related
to a stale local cache.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/livepeer/livepeerjs/issues/367#issuecomment-476173838,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AkQXa8dqjyHHcF76NrDhCXKmH1DSmYpNks5vaMBIgaJpZM4cGulx
.

--
Fletcher Hartline
404-789-0583

Hi @fleyha2191 — thanks for the report! I'm working today on a variety of issues related to stale data and caching in our GraphQL data layer — will let you know if I find anything!

Thank you
On Mon, Mar 25, 2019, 6:36 PM Eli Mallon<EMAIL_ADDRESS>wrote:

Hi @fleyha2191 https://github.com/fleyha2191 — thanks for the report!
I'm working today on a variety of issues related to stale data and caching
in our GraphQL data layer — will let you know if I find anything!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/livepeer/livepeerjs/issues/367#issuecomment-476404181,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AkQXax-lLBamnQvIfSvRC1iKtZk2PFx5ks5vaU-CgaJpZM4cGulx
.

Closing since the classic explorer was sunsetted.

Closing since the classic explorer was sunsetted.


[Fix](segment iterator) fix shrink non-char column coredump

Proposed changes
Issue Number: close #xxx
If we execute a delete predicate in an inverted index table and then query something from it, it will cause a core dump in shrink_char_type_column_suffix_zero. This occurs because the delete predicate column ID in _char_type_idx is incorrectly shifted to the result column inserted by the inverted index result.

run buildall

run buildall

run buildall


Personal BCeID SAML payload no longer contains the email address

What's the issue?
Logging into BCeID via an app realm on SSO with a Personal BCeID; the SAML payload no longer contains the email address.
Sample SAML Payload
The following payload is from a login with a Personal BCeID. Note the email attribute is missing. We've noted this with several users which have confirmed email addresses.
<ns2:AttributeStatement>
	<ns2:Attribute Name="username" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
		<ns2:AttributeValue>SOME_PERSONAL_BCEID</ns2:AttributeValue>
	</ns2:Attribute>
	<ns2:Attribute Name="email"
                   NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified"
                   >
		<ns2:AttributeValue/>
	</ns2:Attribute>
	<ns2:Attribute Name="firstname"
                   NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified"
                   >
		<ns2:AttributeValue/>
	</ns2:Attribute>
	<ns2:Attribute Name="lastname"
                   NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified"
                   >
		<ns2:AttributeValue/>
	</ns2:Attribute>
	<ns2:Attribute Name="displayname"
                   NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified"
                   >
		<ns2:AttributeValue>John Wayne</ns2:AttributeValue>
	</ns2:Attribute>
	<ns2:Attribute Name="useridentifier"
                   NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified"
                   >
		<ns2:AttributeValue>ABCGUID</ns2:AttributeValue>
	</ns2:Attribute>
	<ns2:Attribute Name="SMGOV_BUSINESSGUID"
                   NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified"
                   >
		<ns2:AttributeValue>Individuals</ns2:AttributeValue>
	</ns2:Attribute>
</ns2:AttributeStatement>

Impact
Some teams are having issues with these users since their app realms use the Login with email setting.
Possible Solution
Ask the WAM team to look into the configuration for Personal BCeID (for SSO).

Can I get and update on this issue?

Hi @ShellyXueHan - have you received any updates from WAM on this issue?

Currently waiting for WAM team availability to start debugging.

@GregFPoirier - We had a session with WAM on Friday and they've confirmed there's an issue. They're looking at it and will let us know when there's a resolution. We'll report back as soon as we have more info.

@GregFPoirier - As discussed, we have created a FAQ for this in the OCP-SSO repo.
Link to FAQ
Closing this issue.


siliconcompiler._common.SiliconCompilerError: These final steps could not be reached: ['export']

Hi,
I am trying to run example demo heartbeat. I observed the following results.
sc -target asic_demo -remote

and

import siliconcompiler
chip = siliconcompiler.Chip('heartbeat')
chip.load_target('freepdk45_demo')
chip.input('/content/siliconcompiler/examples/heartbeat/heartbeat.v')
chip.clock('clk', period=10)
chip.set('option','remote', True)
chip.run()

Above code succeeds
But
!python3 /content/siliconcompiler/examples/heartbeat/heartbeat.py

Fail with below logs
| INFO    | /content/siliconcompiler/examples/heartbeat/heartbeat.v inferred as rtl/verilog
| INFO    | /content/siliconcompiler/examples/heartbeat/heartbeat.sdc inferred as constraint/sdc
| WARNING | Environment variable $DISPLAY or $WAYLAND_DISPLAY not set
| WARNING | Setting ['option', 'nodisplay'] to True
| INFO    | job0 | --        | - | Setting up node import0 with surelog/parse
| INFO    | job0 | --        | - | Setting up node syn0 with yosys/syn_asic
| INFO    | job0 | --        | - | Setting up node floorplan0 with openroad/floorplan
| INFO    | job0 | --        | - | Setting up node place0 with openroad/place
| INFO    | job0 | --        | - | Setting up node cts0 with openroad/cts
| INFO    | job0 | --        | - | Setting up node route0 with openroad/route
| INFO    | job0 | --        | - | Setting up node dfm0 with openroad/dfm
| INFO    | job0 | --        | - | Setting up node export0 with klayout/export
| INFO    | job0 | --        | - | Setting up node export1 with openroad/export
| INFO    | job0 | --        | - | Checking manifest before running.
| INFO    | job0 | import    | 0 | Tool 'surelog' found with version '1.75' in directory '/usr/local/lib/python3.10/dist-packages/siliconcompiler/tools/surelog/bin'
| INFO    | job0 | import    | 0 | Running in /content/build/heartbeat/job0/import/0
| INFO    | job0 | import    | 0 | surelog -nocache +libext+.sv+.v -parse -nouhdm /content/siliconcompiler/examples/heartbeat/heartbeat.v -top heartbeat
| INFO    | job0 | import    | 0 | [INF:CM0023] Creating log file "/content/build/heartbeat/job0/import/0/slpp_all/surelog.log".
| INFO    | job0 | import    | 0 | [WRN:PA0205] /content/siliconcompiler/examples/heartbeat/heartbeat.v:1:1: No timescale set for "heartbeat".
| INFO    | job0 | import    | 0 | [INF:CP0300] Compilation...
| INFO    | job0 | import    | 0 | [INF:CP0303] /content/siliconcompiler/examples/heartbeat/heartbeat.v:1:1: Compile module "work@heartbeat".
| INFO    | job0 | import    | 0 | [INF:CP0302] Compile class "work@mailbox".
| INFO    | job0 | import    | 0 | [INF:CP0302] Compile class "work@process".
| INFO    | job0 | import    | 0 | [INF:CP0302] Compile class "work@semaphore".
| INFO    | job0 | import    | 0 | [INF:EL0526] Design Elaboration...
| INFO    | job0 | import    | 0 | [NTE:EL0503] /content/siliconcompiler/examples/heartbeat/heartbeat.v:1:1: Top level module "work@heartbeat".
| INFO    | job0 | import    | 0 | [NTE:EL0508] Nb Top level modules: 1.
| INFO    | job0 | import    | 0 | [NTE:EL0509] Max instance depth: 1.
| INFO    | job0 | import    | 0 | [NTE:EL0510] Nb instances: 1.
| INFO    | job0 | import    | 0 | [NTE:EL0511] Nb leaf instances: 0.
| INFO    | job0 | import    | 0 | [INF:UH0706] Creating UHDM Model...
| INFO    | job0 | import    | 0 | [  FATAL] : 0
| INFO    | job0 | import    | 0 | [ SYNTAX] : 0
| INFO    | job0 | import    | 0 | [  ERROR] : 0
| INFO    | job0 | import    | 0 | [WARNING] : 1
| INFO    | job0 | import    | 0 | [   NOTE] : 5
| WARNING | job0 | import    | 0 |  2: [WRN:PA0205] /content/siliconcompiler/examples/heartbeat/heartbeat.v:1:1: No timescale set for "heartbeat".
| INFO    | job0 | import    | 0 | Finished task in 0.99s
| ERROR   | job0 | syn       | 0 | Cannot resolve path ../third_party/pdks/virtual/freepdk45/libs/nangate45/r1p0/lib/NangateOpenCellLibrary_typical.lib in required file keypath ['library', 'nangate45', 'output', 'typical', 'nldm'].
| ERROR   | job0 | syn       | 0 | Cannot resolve path ../third_party/pdks/virtual/freepdk45/libs/nangate45/r1p0/techmap/yosys/cells_adders.v in required file keypath ['library', 'nangate45', 'option', 'file', 'yosys_addermap'].
| ERROR   | job0 | syn       | 0 | Fatal error in check_manifest()! See previous errors.
| ERROR   | job0 | syn       | 0 | Halting step 'syn' index '0' due to errors.
Traceback (most recent call last):
  File "/content/siliconcompiler/examples/heartbeat/heartbeat.py", line 17, in <module>
    main()
  File "/content/siliconcompiler/examples/heartbeat/heartbeat.py", line 11, in main
    chip.run()                                # run compilation
  File "/usr/local/lib/python3.10/dist-packages/siliconcompiler/core.py", line 3999, in run
    self._local_process(flow, status)
  File "/usr/local/lib/python3.10/dist-packages/siliconcompiler/core.py", line 3933, in _local_process
    self._check_nodes_status(flow, status)
  File "/usr/local/lib/python3.10/dist-packages/siliconcompiler/core.py", line 3890, in _check_nodes_status
    self.error(f'These final steps could not be reached: {list(unreachable_steps)}',
  File "/usr/local/lib/python3.10/dist-packages/siliconcompiler/core.py", line 4803, in error
    raise SiliconCompilerError(msg) from None
siliconcompiler._common.SiliconCompilerError: These final steps could not be reached: ['export']

I can see that PDKs are not resolved.
Please help me in this matter. Thank you in advance

You may need to set the SCPATH correctly: https://docs.siliconcompiler.com/en/latest/user_guide/installation.html#install-from-pypi-org
Hi, It seems I am unable to set the path. I tried the below combinations(where 'openroad' is my username). But end up with the same error.

export SCPATH=/home/openroad/Desktop/
export SCPATH=/home/openroad/Desktop/siliconcompiler

I try to run
(venv) openroad@ubuntu:~/Desktop/siliconcompiler/siliconcompiler/examples/heartbeat$ python3 heartbeat.py

Below is my directory structure
├── openlane_build_script
│   └── work
│       └── tools
├── Physical-Design-with-OpenLANE-using-SKY130-PDk
│   ├── images
│   └── picorv32a
│       ├── configs
│       ├── Results
│       └── source
└── siliconcompiler
    ├── build
    │   └── heartbeat
    ├── siliconcompiler
    │   ├── build
    │   ├── docs
    │   ├── examples
    │   ├── setup
    │   ├── siliconcompiler
    │   ├── tests
    │   ├── third_party
    │   └── venv
    └── venv
        ├── bin
        ├── etc
        ├── include
        ├── lib
        ├── lib64 -> lib
        └── share

Can you please guide me? Thank You.

You need to install the required packages prior to running the program.
Also, I would recommend using ChatGPT for immediate resolution for error
messages.
It will be a slow and painful learning curve if your path to resolving
issues is posting issues on the developer’s repo. Thank me later
On Thu, Oct 26, 2023 at 12:16 AM Vijaykumar @.***>
wrote:

Hi,
I am trying to run example demo heartbeat. I observed the following
results.
sc -target asic_demo -remote
and
import siliconcompiler
chip = siliconcompiler.Chip('heartbeat')
chip.load_target('freepdk45_demo')
chip.input('/content/siliconcompiler/examples/heartbeat/heartbeat.v')
chip.clock('clk', period=10)
chip.set('option','remote', True)
chip.run()
Above code succeeds
But
!python3 /content/siliconcompiler/examples/heartbeat/heartbeat.py
Fail with below logs
| INFO    | /content/siliconcompiler/examples/heartbeat/heartbeat.v inferred as rtl/verilog
| INFO    | /content/siliconcompiler/examples/heartbeat/heartbeat.sdc inferred as constraint/sdc
| WARNING | Environment variable $DISPLAY or $WAYLAND_DISPLAY not set
| WARNING | Setting ['option', 'nodisplay'] to True
| INFO    | job0 | --        | - | Setting up node import0 with surelog/parse
| INFO    | job0 | --        | - | Setting up node syn0 with yosys/syn_asic
| INFO    | job0 | --        | - | Setting up node floorplan0 with openroad/floorplan
| INFO    | job0 | --        | - | Setting up node place0 with openroad/place
| INFO    | job0 | --        | - | Setting up node cts0 with openroad/cts
| INFO    | job0 | --        | - | Setting up node route0 with openroad/route
| INFO    | job0 | --        | - | Setting up node dfm0 with openroad/dfm
| INFO    | job0 | --        | - | Setting up node export0 with klayout/export
| INFO    | job0 | --        | - | Setting up node export1 with openroad/export
| INFO    | job0 | --        | - | Checking manifest before running.
| INFO    | job0 | import    | 0 | Tool 'surelog' found with version '1.75' in directory '/usr/local/lib/python3.10/dist-packages/siliconcompiler/tools/surelog/bin'
| INFO    | job0 | import    | 0 | Running in /content/build/heartbeat/job0/import/0
| INFO    | job0 | import    | 0 | surelog -nocache +libext+.sv+.v -parse -nouhdm /content/siliconcompiler/examples/heartbeat/heartbeat.v -top heartbeat
| INFO    | job0 | import    | 0 | [INF:CM0023] Creating log file "/content/build/heartbeat/job0/import/0/slpp_all/surelog.log".
| INFO    | job0 | import    | 0 | [WRN:PA0205] /content/siliconcompiler/examples/heartbeat/heartbeat.v:1:1: No timescale set for "heartbeat".
| INFO    | job0 | import    | 0 | [INF:CP0300] Compilation...
| INFO    | job0 | import    | 0 | [INF:CP0303] /content/siliconcompiler/examples/heartbeat/heartbeat.v:1:1: Compile module @.".
| INFO    | job0 | import    | 0 | [INF:CP0302] Compile class @.".
| INFO    | job0 | import    | 0 | [INF:CP0302] Compile class @.".
| INFO    | job0 | import    | 0 | [INF:CP0302] Compile class @.".
| INFO    | job0 | import    | 0 | [INF:EL0526] Design Elaboration...
| INFO    | job0 | import    | 0 | [NTE:EL0503] /content/siliconcompiler/examples/heartbeat/heartbeat.v:1:1: Top level module @.***".
| INFO    | job0 | import    | 0 | [NTE:EL0508] Nb Top level modules: 1.
| INFO    | job0 | import    | 0 | [NTE:EL0509] Max instance depth: 1.
| INFO    | job0 | import    | 0 | [NTE:EL0510] Nb instances: 1.
| INFO    | job0 | import    | 0 | [NTE:EL0511] Nb leaf instances: 0.
| INFO    | job0 | import    | 0 | [INF:UH0706] Creating UHDM Model...
| INFO    | job0 | import    | 0 | [  FATAL] : 0
| INFO    | job0 | import    | 0 | [ SYNTAX] : 0
| INFO    | job0 | import    | 0 | [  ERROR] : 0
| INFO    | job0 | import    | 0 | [WARNING] : 1
| INFO    | job0 | import    | 0 | [   NOTE] : 5
| WARNING | job0 | import    | 0 |  2: [WRN:PA0205] /content/siliconcompiler/examples/heartbeat/heartbeat.v:1:1: No timescale set for "heartbeat".
| INFO    | job0 | import    | 0 | Finished task in 0.99s
| ERROR   | job0 | syn       | 0 | Cannot resolve path ../third_party/pdks/virtual/freepdk45/libs/nangate45/r1p0/lib/NangateOpenCellLibrary_typical.lib in required file keypath ['library', 'nangate45', 'output', 'typical', 'nldm'].
| ERROR   | job0 | syn       | 0 | Cannot resolve path ../third_party/pdks/virtual/freepdk45/libs/nangate45/r1p0/techmap/yosys/cells_adders.v in required file keypath ['library', 'nangate45', 'option', 'file', 'yosys_addermap'].
| ERROR   | job0 | syn       | 0 | Fatal error in check_manifest()! See previous errors.
| ERROR   | job0 | syn       | 0 | Halting step 'syn' index '0' due to errors.
Traceback (most recent call last):
File "/content/siliconcompiler/examples/heartbeat/heartbeat.py", line 17, in
main()
File "/content/siliconcompiler/examples/heartbeat/heartbeat.py", line 11, in main
chip.run()                                # run compilation
File "/usr/local/lib/python3.10/dist-packages/siliconcompiler/core.py", line 3999, in run
self._local_process(flow, status)
File "/usr/local/lib/python3.10/dist-packages/siliconcompiler/core.py", line 3933, in _local_process
self._check_nodes_status(flow, status)
File "/usr/local/lib/python3.10/dist-packages/siliconcompiler/core.py", line 3890, in _check_nodes_status
self.error(f'These final steps could not be reached: {list(unreachable_steps)}',
File "/usr/local/lib/python3.10/dist-packages/siliconcompiler/core.py", line 4803, in error
raise SiliconCompilerError(msg) from None
siliconcompiler._common.SiliconCompilerError: These final steps could not be reached: ['export']
I can see that PDKs are not resolved.
Please help me in this matter. Thank you in advance
—
Reply to this email directly, view it on GitHub
https://github.com/siliconcompiler/siliconcompiler/issues/2059, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AKP74R2BYASL3GU5AO6DA33YBIE5NAVCNFSM6AAAAAA6QTWBLWVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3DEOBWHA2DCNQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

You may need to set the SCPATH correctly: https://docs.siliconcompiler.com/en/latest/user_guide/installation.html#install-from-pypi-org

Hi, It seems I am unable to set the path. I tried the below combinations(where 'openroad' is my username). But end up with the same error.
export SCPATH=/home/openroad/Desktop/
export SCPATH=/home/openroad/Desktop/siliconcompiler

I try to run
(venv) openroad@ubuntu:~/Desktop/siliconcompiler/siliconcompiler/examples/heartbeat$ python3 heartbeat.py

Below is my directory structure
├── openlane_build_script
│   └── work
│       └── tools
├── Physical-Design-with-OpenLANE-using-SKY130-PDk
│   ├── images
│   └── picorv32a
│       ├── configs
│       ├── Results
│       └── source
└── siliconcompiler
    ├── build
    │   └── heartbeat
    ├── siliconcompiler
    │   ├── build
    │   ├── docs
    │   ├── examples
    │   ├── setup
    │   ├── siliconcompiler
    │   ├── tests
    │   ├── third_party
    │   └── venv
    └── venv
        ├── bin
        ├── etc
        ├── include
        ├── lib
        ├── lib64 -> lib
        └── share

Can you please guide me? Thank You.

I had the same problem as you but your whole path needs to be ("Siliconcompiler" 2 times in a row)
export SCPATH=/home/openroad/Desktop/siliconcompiler/siliconcompiler/

With the release of 0.17.0 the SCPATH has been deprecated and removed, which should avoid this problem all together. Right now the remote is not updated to handle requests from 0.17.0, but that should be happening soon

Hi, I am trying to run example demo heartbeat. I observed the following results.
sc -target asic_demo -remote

and

import siliconcompiler
chip = siliconcompiler.Chip('heartbeat')
chip.load_target('freepdk45_demo')
chip.input('/content/siliconcompiler/examples/heartbeat/heartbeat.v')
chip.clock('clk', period=10)
chip.set('option','remote', True)
chip.run()

Above code succeeds
But
!python3 /content/siliconcompiler/examples/heartbeat/heartbeat.py

Fail with below logs
| INFO    | /content/siliconcompiler/examples/heartbeat/heartbeat.v inferred as rtl/verilog
| INFO    | /content/siliconcompiler/examples/heartbeat/heartbeat.sdc inferred as constraint/sdc
| WARNING | Environment variable $DISPLAY or $WAYLAND_DISPLAY not set
| WARNING | Setting ['option', 'nodisplay'] to True
| INFO    | job0 | --        | - | Setting up node import0 with surelog/parse
| INFO    | job0 | --        | - | Setting up node syn0 with yosys/syn_asic
| INFO    | job0 | --        | - | Setting up node floorplan0 with openroad/floorplan
| INFO    | job0 | --        | - | Setting up node place0 with openroad/place
| INFO    | job0 | --        | - | Setting up node cts0 with openroad/cts
| INFO    | job0 | --        | - | Setting up node route0 with openroad/route
| INFO    | job0 | --        | - | Setting up node dfm0 with openroad/dfm
| INFO    | job0 | --        | - | Setting up node export0 with klayout/export
| INFO    | job0 | --        | - | Setting up node export1 with openroad/export
| INFO    | job0 | --        | - | Checking manifest before running.
| INFO    | job0 | import    | 0 | Tool 'surelog' found with version '1.75' in directory '/usr/local/lib/python3.10/dist-packages/siliconcompiler/tools/surelog/bin'
| INFO    | job0 | import    | 0 | Running in /content/build/heartbeat/job0/import/0
| INFO    | job0 | import    | 0 | surelog -nocache +libext+.sv+.v -parse -nouhdm /content/siliconcompiler/examples/heartbeat/heartbeat.v -top heartbeat
| INFO    | job0 | import    | 0 | [INF:CM0023] Creating log file "/content/build/heartbeat/job0/import/0/slpp_all/surelog.log".
| INFO    | job0 | import    | 0 | [WRN:PA0205] /content/siliconcompiler/examples/heartbeat/heartbeat.v:1:1: No timescale set for "heartbeat".
| INFO    | job0 | import    | 0 | [INF:CP0300] Compilation...
| INFO    | job0 | import    | 0 | [INF:CP0303] /content/siliconcompiler/examples/heartbeat/heartbeat.v:1:1: Compile module "work@heartbeat".
| INFO    | job0 | import    | 0 | [INF:CP0302] Compile class "work@mailbox".
| INFO    | job0 | import    | 0 | [INF:CP0302] Compile class "work@process".
| INFO    | job0 | import    | 0 | [INF:CP0302] Compile class "work@semaphore".
| INFO    | job0 | import    | 0 | [INF:EL0526] Design Elaboration...
| INFO    | job0 | import    | 0 | [NTE:EL0503] /content/siliconcompiler/examples/heartbeat/heartbeat.v:1:1: Top level module "work@heartbeat".
| INFO    | job0 | import    | 0 | [NTE:EL0508] Nb Top level modules: 1.
| INFO    | job0 | import    | 0 | [NTE:EL0509] Max instance depth: 1.
| INFO    | job0 | import    | 0 | [NTE:EL0510] Nb instances: 1.
| INFO    | job0 | import    | 0 | [NTE:EL0511] Nb leaf instances: 0.
| INFO    | job0 | import    | 0 | [INF:UH0706] Creating UHDM Model...
| INFO    | job0 | import    | 0 | [  FATAL] : 0
| INFO    | job0 | import    | 0 | [ SYNTAX] : 0
| INFO    | job0 | import    | 0 | [  ERROR] : 0
| INFO    | job0 | import    | 0 | [WARNING] : 1
| INFO    | job0 | import    | 0 | [   NOTE] : 5
| WARNING | job0 | import    | 0 |  2: [WRN:PA0205] /content/siliconcompiler/examples/heartbeat/heartbeat.v:1:1: No timescale set for "heartbeat".
| INFO    | job0 | import    | 0 | Finished task in 0.99s
| ERROR   | job0 | syn       | 0 | Cannot resolve path ../third_party/pdks/virtual/freepdk45/libs/nangate45/r1p0/lib/NangateOpenCellLibrary_typical.lib in required file keypath ['library', 'nangate45', 'output', 'typical', 'nldm'].
| ERROR   | job0 | syn       | 0 | Cannot resolve path ../third_party/pdks/virtual/freepdk45/libs/nangate45/r1p0/techmap/yosys/cells_adders.v in required file keypath ['library', 'nangate45', 'option', 'file', 'yosys_addermap'].
| ERROR   | job0 | syn       | 0 | Fatal error in check_manifest()! See previous errors.
| ERROR   | job0 | syn       | 0 | Halting step 'syn' index '0' due to errors.
Traceback (most recent call last):
  File "/content/siliconcompiler/examples/heartbeat/heartbeat.py", line 17, in <module>
    main()
  File "/content/siliconcompiler/examples/heartbeat/heartbeat.py", line 11, in main
    chip.run()                                # run compilation
  File "/usr/local/lib/python3.10/dist-packages/siliconcompiler/core.py", line 3999, in run
    self._local_process(flow, status)
  File "/usr/local/lib/python3.10/dist-packages/siliconcompiler/core.py", line 3933, in _local_process
    self._check_nodes_status(flow, status)
  File "/usr/local/lib/python3.10/dist-packages/siliconcompiler/core.py", line 3890, in _check_nodes_status
    self.error(f'These final steps could not be reached: {list(unreachable_steps)}',
  File "/usr/local/lib/python3.10/dist-packages/siliconcompiler/core.py", line 4803, in error
    raise SiliconCompilerError(msg) from None
siliconcompiler._common.SiliconCompilerError: These final steps could not be reached: ['export']

I can see that PDKs are not resolved. Please help me in this matter. Thank you in advance

Hi @vjkr , I am facing the same issue. Were you able to resolve this?

@vjkr what version of siliconcompiler are you using? The nangate45 files it cannot find were moved a while ago.

@gadfort I have installed the logik fpga toolchain via pip. Therefore, the siliconcompiler was installed as a prerequisite. Therefore, the version I have is 0.21.7

I get a similar error when trying to run the adder example in logik, please refer to the image below. This error occurs in the last stages while running silicon compiler.

Try adding print(siliconcompiler.__version__) to the !python3 /content/siliconcompiler/examples/heartbeat/heartbeat.py something seems off about that.
I'll take a look at the logs to see what happened on the remote run.

Tried printing the version inside heartbeat.py file. Still shows the same version in use.

Could you try:
pip install --upgrade siliconcompiler
I there is a version mismatch that is causing an issue with the remote run.

I upgraded it to 0.21.10 but the error persists. Also, it says that this version isn't compatible with logik.

The version incompatibility is not an issue (it will be fixed in the next release of logik). There is however a bug in the example.
Lines 10 and 11 should be corrected:
From:
    chip.input(f'{root}/heartbeat.v')                 # define list of source files
    chip.input(f'{root}/heartbeat.sdc')               # set constraints file

To:
    chip.input(os.path.join(root, 'heartbeat.v'))                 # define list of source files
    chip.input(os.path.join(root, 'heartbeat.sdc'))               # set constraints file

I'll fix that

Thanks much @gadfort !

The examples are fixed in: https://github.com/siliconcompiler/siliconcompiler/pull/2373


Update USD sprite

Update usd.png for issue #535

Hi @rmkubik! Sorry but I cannot accept the sprite. You did enhance it, the issue is that it originally wasn't in a pixel art style, just a flattened photorealistic icon I suppose. This is clearly miscommunication from my end, apologies for that.


Adding servers requires resizing the window

App store review rejected the app because the UX is not up to snuff. It's a good point. You shouldn't have to resize the main window just to get to all the information. The reviewer used the term, "tab," and that's something to consider for the future, but at the very least we could stick the MailstoreControlViews in a ScrollView so a user can get to them all.

Fixed with 6a9e047


No selection possible with :%s/ in cmdline

FAQ

[X] I have checked the FAQ and it didn't resolve my problem.

Announcement

[X] I have checked Breaking change announcement.

Minimal reproducible full config
if has('vim_starting')
  set encoding=utf-8
endif
scriptencoding utf-8

if &compatible
  set nocompatible
endif

let s:plug_dir = expand('/tmp/plugged/vim-plug')
if !filereadable(s:plug_dir .. '/plug.vim')
  execute printf('!curl -fLo %s/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim', s:plug_dir)
end

execute 'set runtimepath+=' . s:plug_dir
call plug#begin(s:plug_dir)
Plug 'hrsh7th/nvim-cmp'
Plug 'hrsh7th/cmp-buffer'
Plug 'hrsh7th/cmp-nvim-lsp'
Plug 'hrsh7th/vim-vsnip'
Plug 'hrsh7th/cmp-cmdline',
Plug 'neovim/nvim-lspconfig'
call plug#end()
PlugInstall | quit

" Setup global configuration. More on configuration below.
lua << EOF
local cmp = require "cmp"
cmp.setup {
  snippet = {
    expand = function(args)
      vim.fn["vsnip#anonymous"](args.body)
    end,
  },

  mapping = {
    ['<CR>'] = cmp.mapping.confirm({ select = true }),
    ['<Up>'] = cmp.mapping(cmp.mapping.select_prev_item(), { 'i', 'c', 's' }),
    ['<Down>'] = cmp.mapping(cmp.mapping.select_next_item(), { 'i', 'c', 's' }),
  },

  sources = cmp.config.sources({
    { name = "nvim_lsp" },
    { name = "buffer" },
  }),
}
cmp.setup.cmdline(':', {
  sources = {
    { name = 'cmdline' },
    { name = 'buffer' },
  },
})
EOF

lua << EOF
local capabilities = require('cmp_nvim_lsp').default_capabilities()

require'lspconfig'.cssls.setup {
  capabilities = capabilities,
}
EOF

Description
Hi,
When i try to a search and replace with `%s/keyword' i cannot select any completion items from the dropdown menu after the first slash.
Steps to reproduce

Use the minimal config with source buffer in the cmdline setup.
Open a file and type :%s/someChars with someChars existing in the buffer.

Expected behavior
I should be able to select an item from the dropdown and confirm it.
Actual behavior
I am no able to select items from the dropdown with select_prev_item oder select_next_item.
Additional context
No response

Screenshot of the issue. <up> and <down> do nothing after writing the slash


Investigating data from other APIs which we could use to give additional functionality to the application (so Spoonacular can work for us on both the restaurant menu items and the recipes)

USER STORY: As a user, even though my main purpose in visiting the app is to elevate my home-cooking game with real menu suggestions and actual recipes, I may want to see facts related to nutrition in general or quotes about food and drink, food history facts, wine pairings etc., since I am a person, who, generally speaking, is interested in food.
ACCEPTANCE CRITERIA:
-- It is done when I have investigated other APIs that provide data which may be complementary to the main purpose of the site. (From the developer's perspective. It would be nice to be able to use Spoonacular for the menu items as well as the recipes since all other options for getting menu items are paid APIs. The client wants 2 APIs used, so casting around for another API we can put to some purpose is mostly just to satisfy this client-insistence).
--It is done when I have thought of a way to integrate this complementary feature non intrusively in the application's flow. Agile consultation should probably occur before coding the feature, but if agreed to include it, the coding responsibility may come back here.

Managed to discover a working API with The Cocktail DB to support the secondary API to be used in this project.  Successfully tested to confirm data return from API request call.

Rendered JSON data from the Cocktail DB API call to pull in relevant cocktail drink details into the app.  Next step is to work on displaying content into a button triggered modal.

Completed the development of a functional random drink search call to secondary API call to the Cocktail DB and have incorporated it into the Search2.html file.


feat: check pushed Dockerfile

Description
Require https://github.com/konflux-ci/build-definitions/pull/1129 to be merged.
Issue ticket number and link
STONEBLD-2522
Type of change

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

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:

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

/retest

/test konflux-e2e-tests

/retest

/approve
/lgtm


Camera Events get Stuck

The camera keys can get stuck when playing with shift.
Easy fix would be to have a timeout on the events... but maybe there is a more generic way with shortcuts? I.e. if any other key event gets executed the release is triggered? Could be hooked up to global key listener and baked into KeyActionPrototype.java?
That way we wouldn't need all the logic to detect key release events.

Keep static list of down events in Key action prototype and insert in onkeypress


Add stronger mention of nodejs_version, swag, fix validation

The Issue
Mentions of DDEV Swag, stronger mention of nodejs_version as opposed to nvm, etc.
Prepare for warning about deb.sury.org expiration.

Wow, spent enough time on this already.


Tests fail during the business day with Assert transactionReceipt: 'effectiveGasPrice' should equal mirrorNode response

Description
One of the failing tests is @release should execute "eth_getTransactionReceipt" for hash of London transaction which calls Assertions.transactionReceipt(res, mirrorResult, currentPrice); which eventually checks the effect gas price with the response from the mirror node.  Other tests use this code and seem to fail mainly during the US business day.
Steps to reproduce

Point the tests to testnet.  This seems to only happen on testnet.
Run the release tests, npm run acceptancetest:release.  This will take some time to complete.  You can isolate the @release should execute "eth_getTransactionReceipt" for hash of London transaction and use that test to investigate.
These are flaky tests, so they will pass at times.  You may need to run the whole suite at different times of the day or just the single test.  You may need to experiment a bit here.

Additional context
No response
Hedera network
testnet
Version
v0.39.0
Operating system
macOS

The latest run resulted in:
  2 pending
  2 failing

  1) RPC Server Acceptance Tests
       Acceptance tests
         @api-batch-1 RPC Server Acceptance Tests
           RPC Server Acceptance Tests
             Transaction related RPC Calls
               @release should execute "eth_getTransactionReceipt" for hash of London transaction:

      AssertionError: Assert transactionReceipt: 'effectiveGasPrice' should equal mirrorNode response: expected '960000000000' to equal '970000000000'
      + expected - actual

      -960000000000
      +970000000000

      at Function.Assertions.transactionReceipt (packages/server/tests/helpers/assertions.ts:254:10)
      at Context.<anonymous> (packages/server/tests/acceptance/rpc_batch1.spec.ts:645:20)
      at Generator.next (<anonymous>)
      at fulfilled (packages/server/tests/acceptance/rpc_batch1.spec.ts:24:58)
      at processTicksAndRejections (node:internal/process/task_queues:95:5)

  2) RPC Server Acceptance Tests
       Acceptance tests
         @api-batch-2 RPC Server Acceptance Tests
           eth_getCode
             "before all" hook for "should execute "eth_getCode" for hts token":
     Error: transaction execution reverted (action="sendTransaction", data=null, reason=null, invocation=null, revert=null, transaction={ "data": "", "from": "0xC706f6793B2EEd9C3b228317F8351Afa09DdaBbc", "to": "0x2edDFf8B5dC81e33aB56d73c8ed3F98554Cbaac5" }, receipt={ "_type": "TransactionReceipt", "blockHash": "0xa2e4f8cd92b9b6d676a876f7add4cdf16c253e2ae0441666f083be55ca7b5a8a", "blockNumber": 6766719, "contractAddress": null, "cumulativeGasUsed": "4320000", "from": "0xC706f6793B2EEd9C3b228317F8351Afa09DdaBbc", "gasPrice": "970000000000", "gasUsed": "4000000", "hash": "0xba39625612ac8f7518f7be975d0bdfcccdedc068aab513dd0e0d09feecf30f1e", "index": 11, "logs": [  ], "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "root": null, "status": 0, "to": "0x2edDFf8B5dC81e33aB56d73c8ed3F98554Cbaac5" }, code=CALL_EXCEPTION, version=6.9.1)
      at makeError (packages/server/node_modules/ethers/src.ts/utils/errors.ts:694:21)
      at assert (packages/server/node_modules/ethers/src.ts/utils/errors.ts:715:25)
      at checkReceipt (packages/server/node_modules/ethers/src.ts/providers/provider.ts:1469:19)
      at ContractTransactionResponse.wait (packages/server/node_modules/ethers/src.ts/providers/provider.ts:1486:24)
      at processTicksAndRejections (node:internal/process/task_queues:95:5)
      at ContractTransactionResponse.wait (packages/server/node_modules/ethers/src.ts/contract/wrappers.ts:136:25)


Why does : get highlighted when you type .?

Turns out this is because we treat whitespace and some special characters as the same:
https://github.com/microsoft/vscode/blob/f5a2bc1eff140ddecb5f67933649556b229dd0f3/src/vs/base/common/filters.ts#L123-L127
When generating matches:
https://github.com/microsoft/vscode/blob/f5a2bc1eff140ddecb5f67933649556b229dd0f3/src/vs/base/common/filters.ts#L309

Really we may want to ask the question... if you type ., should Git: Push match? The answer might be "no" but it's worked like that for a longgggg time so I'm cautious to make that change.
To be iterative, let's at least only highlight the characters that make sense. So: . would not cause : to be highlighted, but typing : would cause : to be highlighted.

Maybe unrelated but the highlight behavior surrounding these characters is a bit weird. See how sum lines have all periods highlighted and others don't


.query() crashes program when given a single query

Consider a prepared statement stmt consisting of a single SELECT query combined with the following code:
core.run(conn
    .query(&stmt, args)
    .for_each_row(|row| {
	let id: i64 = row.get(0);
	println!("{}", id);
	Ok(())
    }));

Currently, that code will crash with something along the lines of
thread 'main' panicked at 'stmtstream: unexpected token: Row(TokenRow { meta: TokenColMetaData { columns: [MetaDataColumn { base: BaseMetaDataColumn { flags: (empty), ty: FixedLen(Int8) }, col_name: "id" }] }, columns: [I64(14491)] })', /home/jfrg/.cargo/git/checkouts/tiberius-efcdb30e5dbea5fc/13a096c/tiberius/src/stmt.rs:153:21

From my reading of the code, this may have been a recent development with SQL Server deciding to just send the Rows directly when there is only one resultset (rather than including a header). Note that switching from .for_each_row to iterating over each query set independently with for_each and then their rows (like below), encounters the same error. This is further confirmed by the fact that if we add a bogus second query to the prepared statement (i.e., SELECT ...; SELECT 1), this code works just fine (it does not if using only a single query):
let mut done = false;
core.run(conn
    .query(&stmt2, args)
    .for_each(|qs| {
        if done {
    	    drop(qs.wait().collect::<Vec<_>>());
    	    return Ok(());
        }
        done = true;
        let rs: Vec<_> = qs.wait()
    	.map(
    	    |row: Result<tiberius::query::QueryRow, tiberius::TdsError>| -> i64 {
    		let row = row.unwrap();
    		row.get(0)
    	    },
    	)
    	.collect();
        println!("{:?}", rs);
        Ok(())
    }));

For what it's worth, I believe this only happens with query (and not query_simple), since only query passes through the StmtStream which seems to expect a "header" before each run of Rows.

From my reading of the code, this may have been a recent development with SQL Server deciding to just send the Rows directly when there is only one resultset (rather than including a header).

That isn't the case as you can see with your output the "header" (or meta data) was received:
Row(TokenRow { meta: TokenColMetaData { columns: [MetaDataColumn { base: BaseMetaDataColumn { flags: (empty), ty: FixedLen(Int8) }, col_name: "id" }] }, columns: [I64(14491)] })'
Could you also provide a query & types to reproduce?

Also are you testing against master or the crates.io version?

Sorry, maybe I was using the word "header" incorrectly. I end up hitting the panic here, so clearly the stream that .queryproduces expects to get something that is not a TdsResponseToken::Row, yet that's what it gets. Whereas when I pass two queries to .query, that panic is not reached, which suggests that in that case some other kind of TdsResponseToken is included before each run of TdsResponseToken::Row.
The exact code I'm using is https://github.com/mit-pdos/distributary/blob/master/benchmarks/vote/clients/mssql.rs, though that also ties into a larger benchmarking harness. The database layout is:
CREATE TABLE art (id bigint PRIMARY KEY NONCLUSTERED, title varchar(16));
CREATE TABLE vt (u bigint, id bigint index vt_article_idx);
CREATE VIEW dbo.awvc WITH SCHEMABINDING AS
    SELECT art.id, art.title, COUNT_BIG(*) AS votes
    FROM dbo.art AS art, dbo.vt AS vt
    WHERE art.id = vt.id
    GROUP BY art.id, art.title;
CREATE UNIQUE CLUSTERED INDEX ix ON dbo.awvc (id);

The query is a long string of SELECT id, title, votes FROM awvc WITH (NOEXPAND) WHERE id = @P{} joined together with UNION (see here).
I'm testing against the latest commit on master, and this particular problem started with the release of RC2 of SQL Server 2017 (for Linux).

While on the topic of that query, I also run into issues if I string together too many of those SELECT UNION SELECT chains in a single query:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Server(TokenError { code: 8016, state: 30, class: 16, message: "The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 3 (\"stmt\"): Data type 0xE7 has an invalid data length or metadata length.", server: "jerry", procedure: "", line: 1 })', /checkout/src/libcore/result.rs:906:4

This occurs when executing a prepared statement (i.e., not when preparing it), so I suspect it's either related to passing too many arguments to a prepared statement, or decoding too many returned rows (though there should only be ~100 of them). Is this something you've run into?

At what sizes does this second issue occur? Approximately 4096 byte?

Size of what? I think the threshold is at 38 UNION'ed SELECTs (i.e., 39 breaks), at which point the query is ~2774 characters wide. Each instance of the query should return zero or one row, which consists of two BIGINTs and a TEXT containing something like "Article #XXXXX" which is ~30 bytes (or 44 with UTF-16) per row (plus any padding), which is ~1672 bytes for 38 rows.

Size of the SQL string. The problem might be related to packet size, that should be easier to reproduce.
I'll look into it.
The first issue will take a few more days since I'll first need to upgrade my local SQL server installation (and hope it's reproducable on windows).
If you have a table-independant query for that (e.g. select 1 union select 2), that would help alot to verify this actually was introduced by 2017 RC2 [which travis actually runs].

Looking at it again, the breaking point is actually at 56 SELECTs, making the query pretty much exactly 4096 characters long. It's a bit curious that the error occurs at the time of query execution, and not when it's prepared though, no?
Ah, I see. I'll try to cook up a simpler reproducing example.

Preparing is lazy, since you need to know type information to prepare a query.
So the acutal "preparation" is done on execution, where it checks if the type arguments match
before it uses the prepared statement. If not it needs to (re)prepare.
Then it's pretty certainly an issue with packet size, since currently we do not adhere
to the negotiated packet size when sending packets, which is a problem for big queries.

The second issue should be fixed in the latest master.

A much smaller and more self-contained example of this issue:
// prepare once
let sql = (1..10).map(|_| "SELECT 1").collect::<Vec<_>>().join(" UNION ");
let query = conn.prepare(sql);

// execute twice
for _ in 0..2 {
    let query = conn.query(&query, &[]);
    let future = query.for_each_row(|x| {
        let _: i32 = x.get(0);
        Ok(())
    });
    conn = core.run(future).unwrap();
}

@steffengy hey, just wanted to make sure you saw the better test case above.


Make the menu dropdoen bigger if the text is larger

Hi, If the text on the dropdown menu is larger than the menu button, the text gets truncated. Please could it be changed so that the dropdown is large enough to show the dull dropdown menu text.
Many thanks
Richard

done, check the new attibute "Menu width as btn" if false, the menu width is determinant based on list width

packed in latest release 1.1.2


Don't re-render between individual key-events

Currently aerc re-renders between every key-press, which is expensive when handling a bind that runs a command. Instead, re-render once per event queue iteration.
This was an oversight from the previous patch, which only prevent multiple-renders within a single input event.

Thanks!


Fix: Handle missing source target aliases in sample data diff

This update adds placeholder environment source and target names to the joined sample (when source_alias and target_alias are not defined during the construction of the TableDiff) in order to differentiate the output results in row_diff and display results when calling show_row_diff.

Thanks @georgesittas added unit test and addressed comments


Virtualbox 5.2.16 Guest Additions installation hangs on Ubuntu 14.04

Issue Type

Bug Report / Support Request

Your Environment
Vagrant 2.1.1
VirtualBox 5.2.12r122591
zsh: command not found: ansible

Your OS

macOS (10.13.5)

Full console output
https://gist.github.com/sirkitree/d5cba11e853c58c93c1284cee078ef65
Summary
After upgrading virtual box from 5.2.12 to 5.2.16 and running vagrant up on an existing installation, process hangs indefinitely when trying to upgrade the Virtualbox Guest Additions. I let this run for over 12 hours before killing it. I then downgraded to 5.2.12 and vagrant up worked as expected again.

Any thoughts @geerlingguy?

See: https://github.com/geerlingguy/packer-ubuntu-1404/issues/24 and https://github.com/geerlingguy/drupal-vm/issues/1803. In fact I'm going to merge #1803 into this ticket.

Quick fix: Switch to any other base box (I recommend Ubuntu 16.04 for now).

I just haven't had time to run the installer manually to see what's failing or hanging.

Fwiw, we're seeing this on https://github.com/chef/bento 14.04 as well.

@cheeseplus - /me waves — I still haven't had time to dig in and debug the guest additions installer. I'm secretly hoping that whatever gremlin lurks is fixed by the time 5.2.18 rolls around. But I should also probably open an issue in the VirtualBox forums to get this on their radar; I haven't seen anything else on it yet.

Here's the tail end of the error in the VirtualBox console:

And from the vboxadd-setup.log:

Apparently the problem was related to the kernel provided by Ubuntu 14.04.1; I updated to 14.04.4 (after closing out https://github.com/geerlingguy/packer-ubuntu-1404/issues/18 since I don't build new VMware boxes anymore so don't need HGFS support to work), and now the build completes.

Uploaded a new base box version (1.2.8).
Fix for this issue is: run vagrant box update to make sure you're using the latest version of the geerlingguy/ubuntu1404 box.


Problem with Spring Cloud HeartbeatEvent when Spring Cloud Config Discovery is enabled

Versions used:
Spring Boot Starter Parent 2.0.7.RELEASE
Spring Cloud Dependencies Finchley.SR2
Spring Cloud Starter Consul Discovery
Spring Cloud Starter Config
Description
I have prepared a sample project in order to reproduce the problem:
https://github.com/andcuevas/spring-cloud-config-discovery-noheartbeat-problem
In summary, when the property spring.cloud.config.discovery.enabled=true is present, the Event Listener it's not triggered with the HeartbeatEvent. With the same code but without the property the Event Listener it's triggered as expected.

is a ParentHeartbeatEvent triggered?

There is no ParentHeartbeatEvent.
I added the following to the code:
@EventListener     public void heartbeat(final ParentHeartbeatEvent event) {         log.info("ParentHeartbeatEvent:" + event.getValue());     }
But it wasn't triggered with the spring.cloud.config.discovery.enabled=true or without the property.

This issue may cover other service registries too. We will use this ticket to keep track of all implementations/versions.

[ ] Consul - Finchley.SR3
[ ] Consul - Greenwich.SR2
[ ] Consul - Hoxton.M1
[ ] Eureka - Finchley.SR3
[ ] Eureka - Greenwich.SR2
[ ] Eureka - Hoxton.M1
[ ] Zookeeper - Finchley.SR3
[ ] Zookeeper - Greenwich.SR2
[ ] Zookeeper - Hoxton.M1

Will close this issue since both PRs have been merged.


Option to add labels to service monitor

Describe the enhancement you'd like to see
I want to add a custom label to the Prometheus service monitor (https://github.com/kubeshop/helm-charts/blob/c0c14f4816da2ad399ad25b8cfa78699fd81032a/charts/testkube-api/templates/servicemonitor.yaml), currently only app: prometheus is set and I think there is no easy way to change this.
I want to add my own label, e.g. release: myrelease.

Hi @ypoplavs, as mentioned in my comment the label is not added in my setup. Do you have an idea why or could this be a bug?


Memory optimization

This needs to be instrumented and measured, but early thoughts are:

don't create frames for terminals
don't cache failed frames, cache a boolean instead
recycle frames and arrays

This has been split into separate issues.


JSON between optimizer and execution

Rewrite optimizer's serialization and execution's deserialization to support JSON. Also ensure that new functionality (joins, group by) can be handled by the deserializer.

Current optimizer output: https://github.com/UWHustle/hustle/blob/master/optimizer/optimizer_output.txt


Dynamic form rendering not working from Javascript Action

Sample PDF File: Sample.pdf
Configuration:

Web browser and its version: Firefox 110.0.1 (64-bit)
Operating system and its version: MacOS 12.6.3
PDF.js version: 3.3.56
Is a browser extension: Yes

Steps to reproduce the problem:

Open attached PDF file in Firefox browser
Select number of entities to 4.
Click "AddPage" button at bottom of pdf.

What i went wrong?
Javascript actions not working. Refer attachment

What is the expected behaviour?

When number of entities getting changed It should render selected number of input fields.
When click on "AddPage", It should add one more page

Duplicate of #14834

The successful problem solver who can assist in squaring away this issue will be rewarded with 1000 AUD. If you believe you have the necessary skills to troubleshoot this issue, kindly send us a message, outlining your proposed solution. We will follow up with you.


Allow ignoring SSH host key checks

Connect-IBCLI command uses the New-SSHSession which has support for a -Force switch to ignore host key checking. But Connect-IBCLI doesn't support a way to use that flag.  An equivalent -Force flag should be added to Connect-IBCLI.

Fixed with PR #8


unetbootin: 657 -> 661

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/unetbootin/versions.
These checks were done:

built on NixOS
Warning: no invocation of /nix/store/25pjsiav4kpzyvms0a24zfmm3267nsq9-unetbootin-661/bin/unetbootin had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/25pjsiav4kpzyvms0a24zfmm3267nsq9-unetbootin-661/bin/.unetbootin-wrapped had a zero exit code or showed the expected version
0 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 661 with grep in /nix/store/25pjsiav4kpzyvms0a24zfmm3267nsq9-unetbootin-661
directory tree listing: https://gist.github.com/b36c6d9dbe30c7b0e794715dafed8272
du listing: https://gist.github.com/2da554212740e7e9655de8e211d2e8ed

meta.description for unetbootin is: '"A tool to create bootable live USB drives from ISO images"'.
cc @ebzzry for testing.

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: unetbootin
Partial log (click to expand)

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

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

Success on x86_64-linux (full log)
Attempted: unetbootin
Partial log (click to expand)
installing
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/25pjsiav4kpzyvms0a24zfmm3267nsq9-unetbootin-661
shrinking /nix/store/25pjsiav4kpzyvms0a24zfmm3267nsq9-unetbootin-661/bin/.unetbootin-wrapped
strip is /nix/store/21ymadblbmsbb2bk4q7gl4kjasp8zmgd-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/25pjsiav4kpzyvms0a24zfmm3267nsq9-unetbootin-661/bin
patching script interpreter paths in /nix/store/25pjsiav4kpzyvms0a24zfmm3267nsq9-unetbootin-661
checking for references to /build in /nix/store/25pjsiav4kpzyvms0a24zfmm3267nsq9-unetbootin-661...
/nix/store/25pjsiav4kpzyvms0a24zfmm3267nsq9-unetbootin-661

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

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

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


Getting started with Github Copilot extension

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/copilot/using-github-copilot/getting-started-with-github-copilot
What part(s) of the article would you like to see updated?
The extension was renamed on the product level from "Github Copilot" to "Github Copilot Completions" and thus the text and images refer to a non-existing name.
Additional information
No response

@ransagy Thank you for opening this issue! I'll get this triaged for review ✨

I noticed this as well, along with the fact that there is another extension named "GitHub Copilot Chat".
It also seems that both of these extensions will not be needed to be installed if VS 17.10 or higher is used.

Thank you @ransagy and @mdell-seradex
Yes, the Visual Studio information in the article "Getting started with GitHub Copilot" needs to be updated.
From Visual Studio 2022 version 17.10 Preview 3, GitHub Copilot (both completions and chat) is included as a recommended component - details here: https://learn.microsoft.com/en-us/visualstudio/ide/visual-studio-github-copilot-install-and-states?view=vs-2022#get-github-copilot-for-visual-studio-2022-version-1710-preview-3-or-later
For 17.8 and 17.9, to get both completions and chat, you need to download both of these from the marketplace and install them:

GitHub Copilot Completions (https://marketplace.visualstudio.com/items?itemName=GitHub.copilotvs)
GitHub Copilot Chat (https://marketplace.visualstudio.com/items?itemName=VisualStudioExptTeam.VSGitHubCopilot)


check function shown in readme does not exist

I tried replicating the example from the readme and it doesn't work as is:
 ▶ python
Python 3.11.7 (main, Dec  4 2023, 18:10:11) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from jugendschutzprogramm import JugendschutzAPIClient
>>> client = JugendschutzAPIClient()
>>> result = client.check("https://www.google.com")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'JugendschutzAPIClient' object has no attribute 'check'

Using check_url works as workaround client.check_url("https://www.google.com", 0).

Fixed in documentation (0.1.2).


pull request for e2e test at 11/06/2016 03:56:03

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

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


⚠ ClamAV has degraded performance

In b587cbd, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 464 ms

Resolved: ClamAV performance has improved in edabf17 after 5 minutes.


allow kubelet configs and container runtime configs to be specified now that mco bootstrapping supports it

This support appears to be added in the following commits for 4.10:
https://github.com/openshift/machine-config-operator/commit/eb0afb8374b097d4971021b1b00c0f471a8a5892
https://github.com/openshift/machine-config-operator/commit/a282006d2d3b245c2f5cdf444a4dea45d1b27585#diff-ee4889f36bd8b3bb13f51dd15721cbc3f0eae1cf4d6bb8635dec6de843e78c4d
It would as of now though fail in release-4.9 and release-4.8 (meaning the user would have to be aware that it is only allowed starting in release 4.10. Or the commits could be backported.

@enxebre curious your opinions on this one (doesn't have to merge but it seems like there's a possibility to consider).

/hold
for @enxebre's opinion

Thanks!
/lgtm
/approve

/unhold

/retest


mgmt, recoveryservicesbackup, add live tests

relate to https://github.com/Azure/azure-sdk-for-java/issues/35316
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

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

/azp run prepare-pipelines

/azp run java - recoveryservicesbackup - mgmt - tests

/azp run prepare-pipelines

/azp run java - recoveryservicesbackup - mgmt - tests

/azp run java - recoveryservicesbackup - mgmt - tests


Was AADObject removed from the latest version?

aad_object.py is in 0.40.0 but doesn't look to be in the models directory in the latest version. Was this removed or replaced?

Yes it has been removed in 0.50.0, please refer to the ChangeLog in PyPI:
https://pypi.org/project/azure-graphrbac/

objects.get_current_user has been removed. Use signed_in_user.get instead. The main difference is this new method returns a DirectoryObjectList, where every elements could be sub-type of DirectoryObject (User, Group, etc.)
objects.get_objects_by_object_ids now returns a DirectoryObjectList, where every element could be sub-type of DirectoryObject (User, Group, etc.)
Groups.get_members now returns a DirectoryObjectList, where every element could be sub-type of DirectoryObject (User, Group, etc.)


Fix bugs related to Phone and its UI elements

closes #132 #129
List of changes:
Allow phone to be empty
Restrict phone number length to at most 20 digits
Allow wrapping of labels in View Display
Shift Command Box 10 px up

LGTM!


obsgit create-config fails in gnome-terminal

The command obsgit create-config fails in gnome-terminal (openSUSE Leap 15.2) with
Traceback (most recent call last):
  File "/usr/bin/obsgit", line 1172, in <module>
    "--username", "-u", default=os.getlogin(), help="username for login",
FileNotFoundError: [Errno 2] No such file or directory

Seems more likely a bug in python3 or gnome-terminal.
As workaround one can use an xterm instead.

is this the full traceback? As you say can be a bug in python3 or gnome terminal, but I suspect that is happening inside os.getlogin(), so there will be more deeper information in the exception.


known limitations

Hello.
This is more a question than a doubt.
In a small town, where 20.000 meters or even less can catch all the places (I think), is it possible that public events are still missing and never get caught?
The event is this:
https://www.facebook.com/events/683882395093823/
and is missing from the final listing.
In view of the known limitations you wrote, I tried different coordinates, also query the server at different times, this event isn't comming up.

This is not something I can influence. As I wrote at https://github.com/tobilg/facebook-events-by-location#known-limitations a greater radius doesn't guarantee more/complete results.
If you have specific examples, test it directly with the Graph API and check if the results are there


Just question: is regex for manufacturer id possible?

Dear friends ,
just question... is possible to use regex for the last part in manufacturer string? ...a lot of devices are the same except last part string of manufacturer ID... so would be much easier to add only type of device once..
https://www.freecodecamp.org/news/how-to-write-regular-expression-in-json-file/
Regards
Petr

Sorry for the late answer. No, Athoms implementation does not allow this. Sadly..


From RF/master

Codecov Report

Merging #4 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #4   +/-   ##
=======================================
  Coverage   72.41%   72.41%
=======================================
  Files         197      197
  Lines       16025    16025
  Branches     2636     2636
=======================================
  Hits        11603    11603
  Misses       3955     3955
  Partials      467      467

Continue to review full report at Codecov.

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


Add GMSA support for V2 process isolated containers

Add generated V2 schema files for Container Credential Guard
Add new hcs calls that are necessary to setup container credential guard
instances.
Add new resource type CCGState that implements ResourceCloser so a containers
ccg instance will be cleaned up on container close.
Add tests to validate gmsa

Signed-off-by: Daniel Canter<EMAIL_ADDRESS>

WIP for now as i reworked a bunch of this last night but it's been sitting in my fork for a couple days and I'd like feedback regardless. The current tests have not been run (the gmsaSetup function specifically was just made).

@kevpar @katiewasnothere @ambarve if one of you has time today could you take a gander at this :)

Linking to #347 for tracking :)

Can you update the title so we don't use the term "V2 process isolated containers", please?

Can you update the title so we don't use the term "V2 process isolated containers", please?

What is the concern with the title/what would you rather it be? If it's with the V2 removing that wouldn't be accurate as we already do support GMSA for V1 schema containers.

Realistically not a big deal I suppose. I'm trying to cut down on us using "v2" as an shorthand since I think it's vague (are you talking about v2 hcs schema, v2 hcs APIs, v2 containerd shim protocol, something else?). If you clarify in the description I think the title is okay.

@kevpar Good point, all the V1-V2 and codenames was very confusing at the beginning so I understand haha. Added a clarification to the description.


context id

@h4r5h4 what was your change about?

hi @marcusschiesser I created the PR to origin by mistake instead of my own fork. To answer your question, existing app uses a single primary knowledge base for all queries. This changes allow you to specify the scope for the knowledge base(user id, chat id). Files/embeddings will be stored under that context id and only they will be used during retrieval.

@h4r5h4 That's actually a good idea. We want to add multiple knowledge bases soon and once we have this, different users might might need access to different knowledge bases

@h4r5h4 this might be interesting for you: RAGapp now supports multiple RAGapps, each one of them with their own knowledge base: https://github.com/ragapp/ragapp/tree/main/deployments/multiple-ragapps

thanks for the heads up @marcusschiesser
my fork is currently too far behind 😅
will sync and give it a try.


test: confirm correct app.function handler handling

Summary
This PR tests the implementation of app.function handlers across a few cases with some refactors and fixes found along the way.
Changes that extend those found in #2026 and #2128:

Listener middleware can now be used with app.function
Types are exported from the types directory
Inline documentation is added for editor hover hints

Preview
Experiment with an app that uses listener middleware and functions with actions after checking out and building this branch:
$ slack create baker -t zimeg/slacks -b js.bolt.cookies
$ cd baker
$ npm install ../../path/to/bolt-js
$ slack run

Then add the cookies function as a step to a workflow.
Reviewers
The tests in src/App-custom-function.spec.ts cover the use cases I could think of! Please let me know of others that should be considered 🙏
Notes
Will follow up with updates to https://slack.dev in another PR to avoid cluttering this diff too much!
Requirements

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

@WilliamBergamin appreciate all of those suggestions and the review. The code gets pushed in a better direction with each. I'm feeling solid about these changes and am interested in tagging a new beta with it, perhaps today, since most of the remaining changes seem to be testing related 👀

Update: Holding off on tagging another beta with these changes - will mark it as draft for following up sometime soon.


UST never arrived from Harmony to Terra

Hi there.
A friend of mine have sent some UST, using TerraBridge, from Harmony to Terra.
The funds never made it to Terra Station Wallet.
Here is the transaction hash:
0x268338dd270a530a8943bc707f61db25023a71c839092da4df2773f4e364f854
Would someone be so kind to advice on the solution.
Thank you in advance.

Hello again.
Ca I get a reply?

@wyodude here is your tx recovered https://finder.terra.money/mainnet/tx/AF256760F9CB4F6512341BECF816BC6DA0DA292AB7056B00A0CA5B344D149516

Thank you