NodePathTracker loses the reference randomly after stopping the game

I am experiencing a bug when i run the game with NodePathTracker node having two references. After the game closes sometimes it deletes the element from the array. Sometimes its the first element,sometimes the second.
Can you please fix this issue cause right now the addon is not usable?

It happens when i move the nodes threw different levels of hierarchy

It happens when i move the nodes threw different levels of hierarchy

I created this addon mostly for Editor use, are you moving the referenced nodes in runtime?
I think I can fallback referenced nodes in runtime to a variable and "turn off" the tool code of the addon

I created this addon mostly for Editor use, are you moving the referenced nodes in runtime?
I think I can fallback referenced nodes in runtime to a variable and "turn off" the tool code of the addon

No i just simply run the game,I move them in Editor

No i just simply run the game,I move them in Editor


Issue

Hi when I use your package I get the following error:

FWIW, I have had no problems using collection2 and meteor-aggregate together

Can confirm this is working for me as well in Meteor <IP_ADDRESS>, with all of the following packages installed:
aldeed:collection2
matb33:collection-hooks
dburles:collection-helpers
reywood:publish-composite
meteorhacks:aggregate

+1


remove pktdev_port_remove calls in the Rust code

Remove the calls to pktdev_port_remove() and fixup the patch
files using editdiff tool in Linux. The tools seems to remove
the index lines, which are Git index values. I do not believe
these are required for patching wireguard code but are only used
for referening Git IDs.
Signed-off-by: Keith Wiles<EMAIL_ADDRESS>

Existing wireguard patches need not be updated in this commit. Older wireguard patches which calls pktdev_port_remove() is overridden by new patch which uses Rust CNE library. So removing the deprecated function pktdev_port_remove()  from Rust CNE library alone should suffice.


feat(body-limit): Replace c.req.raw with body limit middleware proxy

Author should do the followings, if applicable

[x] Add tests
[x] Run tests
[x] yarn denoify to generate files for Deno

That's a very clever move.
Btw, Express supports up to 100kb by default, and it's quite easy to configure on its middleware.

@yusukebe ready for review!

@usualoma Thanks!
I've left a comment.


I cannot create table

Describe the bug
I cannot create table using pdfme
To Reproduce
const [template, setTemplate] = useState({
// basePdf: BLANK_PDF,
basePdf: { width: 210, height: 297, padding: [10, 10, 10, 10] },
schemas: [
{
mytable: {
type: "table",
icon: '',
position: { x: 28.706846058368317, y: 37.85750960310253 },
width: 150,
height: 57.5184,
content:
'[["Alice","New York","Alice is a freelance web designer and developer"],["Bob","Paris","Bob is a freelance illustrator and graphic designer"]]',
showHead: true,
head: ["Name", "City", "Description"],
headWidthPercentages: [30, 30, 40],
tableStyles: { borderWidth: 0.3, borderColor: "#000000" },
headStyles: {
fontName: "NotoSerifJP-Regular",
fontSize: 13,
characterSpacing: 0,
alignment: "left",
verticalAlignment: "middle",
lineHeight: 1,
fontColor: "#ffffff",
borderColor: "",
backgroundColor: "#2980ba",
borderWidth: { top: 0, right: 0, bottom: 0, left: 0 },
padding: { top: 5, right: 5, bottom: 5, left: 5 },
},
bodyStyles: {
fontName: "NotoSerifJP-Regular",
fontSize: 13,
characterSpacing: 0,
alignment: "left",
verticalAlignment: "middle",
lineHeight: 1,
fontColor: "#000000",
borderColor: "#888888",
backgroundColor: "",
alternateBackgroundColor: "#f5f5f5",
borderWidth: { top: 0.1, right: 0.1, bottom: 0.1, left: 0.1 },
padding: { top: 5, right: 5, bottom: 5, left: 5 },
},
columnStyles: {},
},
},
],
});
let designer;
const inputs = [
{
mytable: [
[
"Alice",
"New York",
"Alice is a freelance web designer and developer",
],
["Bob", "Paris", "Bob is a freelance illustrator and graphic designer"],
],
},
];
const handlePdf = async () =>
await generate({
template,
inputs,
plugins: {
text,
image,
qrcode: barcodes.qrcode,
Table: tableBeta,
line,
rectangle,
ellipse,
svg,
readOnlySvg,
readOnlyImage,
readOnlyText,
},
}).then((pdf) => {
const blob = new Blob([pdf.buffer], { type: "application/pdf" });
window.open(URL.createObjectURL(blob));
});
Expected behavior
the error message
VM4835:1 Uncaught (in promise) SyntaxError: Unexpected token 'A', "Alice,New "... is not valid JSON
at JSON.parse ()
at modifyTemplateForTable (chunk-HQ6VPE25.js?v=d5246820:104654:27)
at modifyTemplate (@pdfme_generator.js?v=1305fb5a:123:16)
at getDynamicTemplate (chunk-RT2GMJPP.js?v=d5246820:6098:34)
at generate (@pdfme_generator.js?v=1305fb5a:117:35)
at async handlePdf (pdfme.jsx:96:5)
Your Environment
- pdfme package(@pdfme/generator or @pdfme/ui):@pdfme/generator
- pdfme version: i don't know
- Operating system: windows 10
- Node.js version or Browser name & version: 18. and brave

Your Error Log
VM4835:1 Uncaught (in promise) SyntaxError: Unexpected token 'A', "Alice,New "... is not valid JSON
    at JSON.parse (<anonymous>)
    at modifyTemplateForTable (chunk-HQ6VPE25.js?v=d5246820:104654:27)
    at modifyTemplate (@pdfme_generator.js?v=1305fb5a:123:16)
    at getDynamicTemplate (chunk-RT2GMJPP.js?v=d5246820:6098:34)
    at generate (@pdfme_generator.js?v=1305fb5a:117:35)
    at async handlePdf (pdfme.jsx:96:5)

Additional context

const [template, setTemplate] = useState({
// basePdf: BLANK_PDF,
basePdf: { width: 210, height: 297, padding: [10, 10, 10, 10] },
schemas: [
{
mytable: {
type: "table",
icon: '',
position: { x: 28.706846058368317, y: 37.85750960310253 },
width: 150,
height: 57.5184,
content:
'[["Alice","New York","Alice is a freelance web designer and developer"],["Bob","Paris","Bob is a freelance illustrator and graphic designer"]]',
showHead: true,
head: ["Name", "City", "Description"],
headWidthPercentages: [30, 30, 40],
tableStyles: { borderWidth: 0.3, borderColor: "#000000" },
headStyles: {
fontName: "NotoSerifJP-Regular",
fontSize: 13,
characterSpacing: 0,
alignment: "left",
verticalAlignment: "middle",
lineHeight: 1,
fontColor: "#ffffff",
borderColor: "",
backgroundColor: "#2980ba",
borderWidth: { top: 0, right: 0, bottom: 0, left: 0 },
padding: { top: 5, right: 5, bottom: 5, left: 5 },
},
bodyStyles: {
fontName: "NotoSerifJP-Regular",
fontSize: 13,
characterSpacing: 0,
alignment: "left",
verticalAlignment: "middle",
lineHeight: 1,
fontColor: "#000000",
borderColor: "#888888",
backgroundColor: "",
alternateBackgroundColor: "#f5f5f5",
borderWidth: { top: 0.1, right: 0.1, bottom: 0.1, left: 0.1 },
padding: { top: 5, right: 5, bottom: 5, left: 5 },
},
columnStyles: {},
},
},
],
});
const inputs = [
{
mytable: [
[
"Alice",
"New York",
"Alice is a freelance web designer and developer",
],
["Bob", "Paris", "Bob is a freelance illustrator and graphic designer"],
],
},
];
const handlePdf = async () =>
await generate({
template,
inputs,
plugins: {
text,
image,
qrcode: barcodes.qrcode,
Table: tableBeta,
line,
rectangle,
ellipse,
svg,
readOnlySvg,
readOnlyImage,
readOnlyText,
},
}).then((pdf) => {
const blob = new Blob([pdf.buffer], { type: "application/pdf" });
window.open(URL.createObjectURL(blob));
});
Create pdf

+1 Same issue

+1 have same issue, tired example from website, didn't help. However, I figured out a way to make it work here's how:
const inputs = {
//some inputs
"mytable": "[[\"Alice\",\"New York\",\"Alice is a freelance web designer and developer\"],[\"Bob\",\"Paris\",\"Bob is a freelance illustrator and graphic designer\"]]"
}

This creates a dynamically filled table for me, if you follow the docs example and make this change, you will get dynamic tables to work.

@romankolosok Unfortunately it didn't work for me. I could get rid of the previous error but now I'm receiving "Blank PDF is not supported" which is thrown by the createSingleTable method.

@ctkc if you're using betaTable you need margins
try
"basePdf": { "width": 210, "height": 297, "padding": [10,10,10,10] }

@lowbits Thanks for the suggestion, that works! The problem was that I had a base64 encoded string in the basePdf because I was using a base PDF as a template. I generated it here https://playground.pdfme.com/ so it seems like the playground is not supporting tables yet.

Here's the English translation:
I apologize for the inconvenience.
I'd like to note two points for future reference:

Tables don't work when loading an existing PDF (custom PDF) as a base64 basePdf. This is because page breaks can't be implemented for existing PDF (custom PDF). PDF files can sometimes be more than one page. Please set page size like bellow:

"basePdf": { "width": 210, "height": 297, "padding": [10,10,10,10] }

I've found that inputs like the following throw an error, despite being in line with the documentation:

const inputs = [{
    mytable: [["Alice", "New York", "Alice is a freelance web designer and developer"], ["Bob", "Paris", "Bob is a freelance illustrator and graphic designer"]],
  }];

Currently, it works if the 2D array is converted to a string, like this:
const inputs = [{
  "mytable": "[[\"Alice\",\"New York\",\"Alice is a freelance web designer and developer\"],[\"Bob\",\"Paris\",\"Bob is a freelance illustrator and graphic designer\"]]"
}]

I plan to address this by modifying the PDF generation process for the table schema.

Ref:

https://github.com/pdfme/pdfme/issues/473
https://github.com/pdfme/pdfme/issues/479
https://github.com/pdfme/pdfme/issues/482
https://github.com/pdfme/pdfme/issues/486

Tables don't work when loading an existing PDF (custom PDF) as a base64 basePdf.
For this problem, we address it here: https://github.com/pdfme/pdfme/issues/486

I've found that inputs like the following throw an error
For this problem, we address it here: https://github.com/pdfme/pdfme/issues/496

Does this mean that template will only accept arrays, or it still can accept stringified arrays? My service is currently using many templates with stringified arrays.

Hi @romankolosok
At this point, we plan to accept both arrays and stringified arrays.


Load reviewer before sending notification

The template uses the Reviewer.Name property - this was not loaded.
Fixes #27035
This should be backported to 1.20

I was unable to create a backport for 1.20. @sebastian-sauer, please send one manually. :tea:
go run ./contrib/backport 27063
...  // fix git conflicts if any
go run ./contrib/backport --continue


convert (y) to thumbsup emoticon before sending message

Hi, I just switched to yakyak and it's great.
Are you interested in converting some chars to their emoticon alternative before sending the message. For example in WhatsApp and the Google Hangouts webclient, (y) gets converted to :+1:.
Would be great if yakyak would mimic this behavior. I'm sure there are more to add but (y) is the one I use frequently.
Tnx for yakyak :smile:

This will be available in 5-15 minutes in the v1.4.4 prerelease :)


Run the mongodb-grafana project using docker-compose

This is a great project, which I was really in need of. Thank you 👍
I added two dockerfiles to boostrap the experience.
One is for the proxy, thus a docker image is created for the proxy.
The other one is for the Grafana, thus we end up with a docker Grafana images which has preinstalled the
Apparently the above can be used together using docker compose, thus with one line the user can have a mongodb instance, a mongodb proxy and the Grafana server with the mongodb plugin preinstalled.
docker-compose -f stack.yaml build
MONGO_USER=root MONGO_PASSWORD=root DB_PATH=~/grafana-mongo  docker-compose -f stack.yaml up

Kind Regards

I made also a blog that explains each step and fle created
https://egkatzioura.com/2019/02/26/docker-basics-docker-compose/

I get HTTP Error Bad Gateway, when I run your docker as described.
Mongo-proxy_1 output:
[...] Server is listening on port 333
grafana_1 docker output:
dial tcp <IP_ADDRESS>:3333: connect: connection refused.
My datasource config:
URL: http://localhost:3333
Access: Server
Auth: None
MongoDB details:

URL: mongodb://root:root@localhost:27017
MongoDB Database: test

http://localhost:3333 instead of localhost you should use the actual proxy name on the compose file

You're talking about the HTTP URL, right? I don't see, where I put localhost instead of http://localhost:3333. My compose file only uses the networks. Therefore mongo-proxy is connected to the backend, like in your blogpost. So what is the "proxy name"? I would open an issue on your fork, but you don't allow issues there.

Solved this by putting URL http://mongo-proxy:3333 and MongoDB URL mongodb://root:root@mongo:27017.

@gkatzioura I always get { message: "Invalid API key" } when I try to access http://localhost:3000/. Do you have any idea?

Hi Team, MongoDb I am using is external I don't want to install mongoDb in container i want to access ourside Db Please suggest how to do connect mongoDb outside the container.

There is on interest on this one, so closing ticket.


chatlayout contentOffset bug

Hello.
I have a question about the CollectionviewChatLayout class code.
In the targetContentOffset function, what is the logic to calculate the newProposedContentOffset value if the proposedCompensatingOffset value is not zero and collectionView is not nil?
let newProposedContentOffset = CGPoint(
    x: proposedContentOffset.x,
    y: max(
        minPossibleContentOffset,
        min(collectionView.contentOffset.y + controller.proposedCompensatingOffset, maxPossibleContentOffset.y)
    )
))

In the above code, in the logic that uses the value of minPossibleContentOffset and the maximum value of min(collectionView.contentOffset.y + controller.proposedCompensatingOffset, maxPossibleContentOffset.y) to calculate the value of y, why is the value of the second argument min?
If I proceed with the code min(collectionView.contentOffset. y + controller.proposedCompensatingOffset, maxPossibleContentOffset.y), I get a bug,
I changed it to max (see code below) and it seems to work:
max(collectionView.contentOffset.y + controller.proposedCompensatingOffset, maxPossibleContentOffset.y).
I'm curious as to why you used min.
As I understand it, maxPossibleContentOffset is the maximum scrollable offset in the current collectionView.
If proposedCompenstatingOffset is non-zero, I guess I should use maxPossibleContentOffset to adjust the offset.
In most situations, I've never had a problem with the two values below being the same.

collectionView.contentOffset.y + controller.proposedCompensatingOffset
maxPossibleContentOffset.y

But in a special situation, the maxPossibleContentOffset.y value was larger, and only when I assigned this value to newProposedContentOffset did I see the offset move as well as if I applied keepContentOffsetAtBottomOnBatchUpdates.
I would be grateful if you could answer.
Thank you.
*Note: In the example code I tested, I changed the value of keepContentOffsetAtBottomOnBatchUpdates to true and didn't modify the other flag values.

@SongSeoYoung I dont fully remember all the details. Some code exists there even if it seems dumb just because collection may not reflect the layout logic the way we both think it should. Some code exists also just so it easier to test edgecases. And make easier to comment out something and check how it works without it.
When it comes to targetContentOffset it also serves rotation trying to keep you as much as possible at the same spot.
But why are you questioning it in the first place?

@SongSeoYoung  So what is the bug with content offset?


Writing Arrays via Write Node

I'm submitting a ...
Problem

( ) bug report => please search github for a similar issue or PR before submitting
(x) unexpected behavior => please visit the Wiki before

I want to write an array using the Write Node, but only the first value of the array is written. I applied the structure of the message according to the help entry, maybe I'm missing something. I also tried the message structure from the wiki with arrayType "Array" and it didn't work properly.
Minimal reproduction of the problem with instructions

Sending the msg object to a connected write node:
msg : Object
object
----payload: object
----topic: "ns=0;s=inputSpectrum"
----nodetype: "write"
----injectType: "write"
----addressSpaceItems: array[1]
------0: object
--------name: "inputSpectrum"
--------nodeId: "ns=0;s=inputSpectrum"
--------datatypeName: "Float"
--------arrayTypeName: "Array"
----valuesToWrite: array[512]
Monitor server via opcua-commander, only first value of the array is transmitted to the server

please, test with v3 and reopen if you got more information


Inferno update fix

Client side page change works with refresh, update to proper version fixes it

Thanks!


Adding pipeline: pln_appeals_master

PR Template

Are there new source to raw datasets?

[ ] If yes - has a trigger been attached at the appropriate frequency?
[ ] No

Have any new tables been created in Standardised?

[ ] No
[ ] If yes:

[ ] orchestration.json has been updated and tested in Dev and has been / is about to be PRd into main
[ ] the new schema exists inside odw-config/standardised-table-definitions OR is about to be PRd into main

Make sure to run Platform Integrate and Platform Deploy to Dev at least to ensure the schema is deployed into Synapse Dev Live

[ ] Is the raw-to-standardised python script scheduled to run for this dataset grouping?

Have any new tables been created in Harmonised or Curated?

[ ] No

[ ] If yes
[ ]  2-odw-standardised-to-harmonised/py_odw_harmonised_table_creation OR 4-odw-harmonised-to-curated/py_odw_curated_table_creation are set up to run in the pipeline pln_post_deployments with the base parameter specifying the correct table
[ ] the new schema exists inside odw-config/harmonised-table-definitions / odw-config/curated-table-definitions OR is about to be PRd into main

Make sure to run Platform Integrate and Platform Deploy to Dev at least to ensure the schema is deployed into Synapse Dev Live

Have any tables changed AND/OR have any columns changed in any scripts?
We only care about new columns or columns that change type.

[ ] No
[ ] If yes:

[ ] Please set py_change_table to run in the pipeline pln_post_deployments
[ ] Please create a script to backdate and fill in this new column in Test and Prod
Only delete and recreate tables with caution!

Have any scripts run in isolation in dev? Please look at the "spark.autotune.trackingId"
- If these changes need to be reflected in Test and Prod, please add to the pipeline post-			deployment/pln_post_deployment

[ ] Yes - I have reflected this script in the pln_post_deployments pipeline
[ ] Yes - This script is part of a scheduled run and has been added to the appropriate end to end pipeline with a trigger at the correct frequency
[ ] No - This change does not need to take place in Test and Prod
[ ] No - No scripts have run

pln_folder_main is already in the applications master pipeline.

Maybe we just add to the existing applications master pipeline for now rather than have a separate appeals one? Especially if there is not much difference yet in terms of data coming in.


v3.0.0-rc1 CI fails due to embedded-libs submodule link

If someone includes this library as a submodule then does a CI build via github actions this is the result.

Woops, I didnt see it was fixxed on your latest commit...


Cannot access Freezable 'System.Windows.Media.SolidColorBrush' across threads

Describe the bug
System.Windows.Markup.XamlParseException: 'Initialization of 'System.Windows.Controls.Primitives.StatusBar' threw an exception.'
InvalidOperationException: Cannot access Freezable 'System.Windows.Media.SolidColorBrush' across threads because it cannot be frozen.
To Reproduce
use wpfui in a app which does not have any app.xaml,
Add Resources in MainWindow:
Application.Current.Resources.MergedDictionaries.Add(new ThemesDictionary { Theme = Wpf.Ui.Appearance.ApplicationTheme.Dark });
Application.Current.Resources.MergedDictionaries.Add(new ControlsDictionary());

Try to Close Window
and we get exception
Expected behavior
app should be closed without error
Screenshots
No response
OS version
Windows 11-22631
.NET version
472
WPF-UI NuGet version
latest-preview
Additional context
No response

This line should be DynamicResource I guess.
https://github.com/lepoco/wpfui/blob/8afb0d93bfa2dfde04672707f2563ad1fd981658/src/Wpf.Ui/Resources/Theme/Dark.xaml#L321
https://github.com/lepoco/wpfui/blob/8afb0d93bfa2dfde04672707f2563ad1fd981658/src/Wpf.Ui/Resources/Theme/Light.xaml#L321


EBS Volume are not destroy when a docker stack is rm

Using the following configuration, when I run docker stack rm my-stack the volume is well de-attached but still persisted. What would be best way to remove the EBS volume as soon as the stack as been rm?
I'm using rexray/ebs:latest
version: '3.2'

volumes:
  data_registry:
    driver: rexray/ebs
    driver_opts:
      size: 100
      fsType: ext4

services:
  registry:
    image: registry:2
    volumes:
      - data_registry:/var/lib/registry

For stateful services, the volume should not get deleted when the service/stack is removed. If you want to get it removed, you can run docker volume rm <volume_name> command separately.


Adds an adapter for batch-request

Addresses issue #40.  The implementation is to my current understanding of the angular-http-batcher interactions with Angular's $http and $httpBackend services.  The implementation may need to be updated based on the answers to the questions in the referenced issue, but creating the PR to hopefully speed things up a little.

@jonsamwell Any chance we can get this merged and released?


Create Restore Point Powershell command (New-AzSqlDatabaseRestorePoint) does not support for Azure Synapse Dedicated SQL Pool

Create Restore Point Powershell command (New-AzSqlDatabaseRestorePoint) does not support for Azure Synapse Analytics as the server URL is different for Synapse Dedicated SQL Pool versus Azure SQL DB. I request to add support for Synapse DSP or update the documentation if it is already supported.
$ServerName=""  # Without database.windows.net
[Enter feedback here]

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

ID: 253e343c-36d8-0e86-bd43-c76ef9128131
Version Independent ID: fb79232e-639a-0c08-e8ae-7316a3626484
Content: User-defined restore points - Azure Synapse Analytics
Content Source: articles/synapse-analytics/sql-data-warehouse/sql-data-warehouse-restore-points.md
Service: synapse-analytics
Sub-service: sql-dw
GitHub Login: @WilliamDAssafMSFT
Microsoft Alias: wiassaf

@tmfahim
Thanks for your feedback! We will investigate and update as appropriate.

@tmfahim
You are correct that the New-AzSqlDatabaseRestorePoint command does not currently support Azure Synapse Analytics. The command is designed to work with Azure SQL Database, which has a different server URL than Synapse Dedicated SQL Pool.
At this time, there is no information available on whether this command will be updated to support Synapse Dedicated SQL Pool. However, you can use the New-AzSynapseSqlRestorePoint command to create a restore point for Synapse Dedicated SQL Pool.
Here is an example of how to use the New-AzSynapseSqlRestorePoint command:
New-AzSynapseSqlRestorePoint -WorkspaceName "myworkspace" -SqlPoolName "mypool" -RestorePointLabel "mylabel"
This command creates a restore point with the label "mylabel" for the Synapse Dedicated SQL Pool "mypool" in the workspace "myworkspace".
I hope this helps! Let me know if you have any further questions.

@tmfahim
Yes, you need to authenticate to Azure before running any PowerShell script that interacts with Azure resources. You can use the Connect-AzAccount cmdlet to authenticate to Azure with your credentials. Once authenticated, you can run your script to perform the desired actions on Azure resources.
If there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

@tmfahim
We are going to close this thread, if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Bump phoenix LV version

Sets LV version to greater than 0.18.

I'll try to cut a release tonight!


Hailo-8 HailoRT Error check failed .

I am using USB camera which can be used by using opencv

when i change input argument to /dev/video0, it will show this error.
I  am sure that the USB camera is working properly when i use opencv to test it.
How can i solve this problem ?

See additional info here Running with Different Input Sources


Hi. How do I use gemini in this package?

How do I use gemini in this package?
I can't find code about it.

Hello @hosanluo!
We currently do not have a client for Gemini in PHP but we do have them in other languages like Python and Go.
If you required PHP for your project, you can access the APIs directly with a client like guzzle, here is a link to the API reference. Hope it helps!
https://ai.google.dev/api/all-methods


GCC 5+ required for compiling Hotspot JDK 15+

With https://bugs.openjdk.java.net/browse/JDK-8238281 the minimum required GCC version got bumped to 5.0. Stock RHEL-7 has 4.8.x, which does not satisfy this requirement and the build fails similar to this:
In file included from /home/jenkins/workspace/jdk-15-gaovm-x86-64_linux/src/openjdk/src/hotspot/share/gc/z/zThreadLocalData.hpp:27:0,
                 from /home/jenkins/workspace/jdk-15-gaovm-x86-64_linux/src/openjdk/src/hotspot/cpu/x86/gc/z/z_x86_64.ad:27,
                 from ad_x86.cpp:29:
/home/jenkins/workspace/jdk-15-gaovm-x86-64_linux/src/openjdk/src/hotspot/share/gc/z/zMarkStack.hpp:76:33: error: requested alignment is not an integer constant
   ZCACHE_ALIGNED ZMarkStackList _published;
                                 ^
/home/jenkins/workspace/jdk-15-gaovm-x86-64_linux/src/openjdk/src/hotspot/share/gc/z/zMarkStack.hpp:77:33: error: requested alignment is not an integer constant
   ZCACHE_ALIGNED ZMarkStackList _overflowed;
                                 ^
In file included from /home/jenkins/workspace/jdk-15-gaovm-x86-64_linux/src/openjdk/src/hotspot/share/gc/z/zThreadLocalData.hpp:27:0,
                 from /home/jenkins/workspace/jdk-15-gaovm-x86-64_linux/src/openjdk/src/hotspot/cpu/x86/gc/z/z_x86_64.ad:27,
                 from ad_x86_clone.cpp:28:
/home/jenkins/workspace/jdk-15-gaovm-x86-64_linux/src/openjdk/src/hotspot/share/gc/z/zMarkStack.hpp:76:33: error: requested alignment is not an integer constant
   ZCACHE_ALIGNED ZMarkStackList _published;
                                 ^
/home/jenkins/workspace/jdk-15-gaovm-x86-64_linux/src/openjdk/src/hotspot/share/gc/z/zMarkStack.hpp:77:33: error: requested alignment is not an integer constant
   ZCACHE_ALIGNED ZMarkStackList _overflowed;
                                 ^
In file included from /home/jenkins/workspace/jdk-15-gaovm-x86-64_linux/src/openjdk/src/hotspot/share/gc/z/zThreadLocalData.hpp:27:0,
                 from /home/jenkins/workspace/jdk-15-gaovm-x86-64_linux/src/openjdk/src/hotspot/cpu/x86/gc/z/z_x86_64.ad:27,
                 from ad_x86_expand.cpp:28:
/home/jenkins/workspace/jdk-15-gaovm-x86-64_linux/src/openjdk/src/hotspot/share/gc/z/zMarkStack.hpp:76:33: error: requested alignment is not an integer constant
   ZCACHE_ALIGNED ZMarkStackList _published;
                                 ^
/home/jenkins/workspace/jdk-15-gaovm-x86-64_linux/src/openjdk/src/hotspot/share/gc/z/zMarkStack.hpp:77:33: error: requested alignment is not an integer constant
   ZCACHE_ALIGNED ZMarkStackList _overflowed;

I believe openj9 has some requirement for GCC 7. Perhaps GCC 7 could be used across the board?

Yep - check out linux.sh in the openjdk-build repo which sets it to some version of 7. We can just adjust the conditional to include all JDK15+
(I did have https://github.com/AdoptOpenJDK/openjdk-build/pull/1215 kicking around to change this for all HotSpot versions, but it was never fully agreed upon)

@jerboaa Looks like it's already building with gcc7 - is there anything to be done here?
Ref: https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk/job/jdk-linux-x64-hotspot/16/consoleFull
configure: Using default toolchain gcc (GNU Compiler Collection)
configure: Will use user supplied compiler CC=/opt/rh/devtoolset-7/root/usr/bin/gcc
checking resolved symbolic links for CC... no symlink
configure: Using gcc C compiler version 7.3.1 [gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)]

No sorry, I was seeing this with the "graal-builder-image" target here (no adopt scripts involved):
https://ci.adoptopenjdk.net/view/GaoVM/job/jdk-15-gaovm-builder-x86_64_linux/


A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.

We get this error log:
System.InvalidOperationException
Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.
In this line:
return Imagekit.Url(new Transformation()).Path(fileDownloadRequest.ObjectName).Generate();
ChatGPT suggests:
lock (_lockObject)
{
    return Imagekit.Url(new Transformation()).Path(fileDownloadRequest.ObjectName).Generate();
}

But ChatGPT also says:
It seems like you're facing a concurrency issue with the Imagekit.Url method or the underlying collection that it uses. This is common in multi-threaded applications where multiple threads attempt to modify a non-concurrent collection simultaneously.
-> To me it sounds like this is an issue about multithreading inside of your library. The lock statement might have a big performance downside.
I also pasted the content of your ImageKitParams.cs to ChatGPT and asked if it can spot the error. It suggests this part:
if (this.options.ContainsKey(key))
{
    this.options[key] = value;
    if (key == "transformation")
    {
        this.options.Remove("path");
        this.options.Remove("src");
    }
}
else
{
    this.options.Add(key, value);
}

Solution suggestions:

You can make the this.options dictionary thread-safe by using ConcurrentDictionary instead of a regular Dictionary. This would entail modifying all dictionary operations to use methods provided by ConcurrentDictionary like TryAdd, TryRemove, etc.
Another way is to use locking (as I showed in my previous answer) to synchronize access to the this.options dictionary.

Proposed solution in code:
using System.Collections.Concurrent;
namespace Imagekit
{
    public partial class BaseImagekit<T>
    {
        // Assuming this is declared somewhere in your class
        private ConcurrentDictionary<string, object> options = new ConcurrentDictionary<string, object>();

        public T Add(string key, object value)
        {
            options.AddOrUpdate(key, value, (existingKey, existingValue) =>
            {
                if (key == "transformation")
                {
                    options.TryRemove("path", out _);
                    options.TryRemove("src", out _);
                }
                return value;
            });

            return (T)this;
        }

        // ... rest of the class remains unchanged
    }
}

For us the issue is happening pretty much every day in the background.

@imagekitio  can you comment on this?

Hello,
I had the same error because I was trying to reuse the ImageKitClient class multiple times (injecting it once). The implementation of the SDK is not ideal since every time you want to generate a URL, you need to instantiate an ImageKitClient class. This is because the options are stored in a dictionary shared within the same object. Consequently, even if you use a concurrent dictionary, you could end up with options you didn't ask for.
I believe the ImageKitClient should have a static method to generate URLs so it can be reused, but that would require a significant change in the SDK.
I was not using the RestClient since I only needed to generate image URLs in my project. Therefore, I didn't want to create an HttpClient instance for each image URL I wanted to generate. What I did was create a custom implementation of the BaseImagekit (public abstract class). Here is what I did:
public class CustomImageKit : BaseImagekit<CustomImageKit>
{
    public CustomImageKit(string publicKey, string privateKey, string urlEndPoint)
        : base(privateKey, urlEndPoint, "path")
    {
        this.Add("privateKey", privateKey);
        this.Add("publicKey", publicKey);
    }
}

With this approach, you can create a new instance each time, and the dictionary of options will be used for only one image, thereby avoiding the error related to concurrent dictionary usage.


Add gento ebuilds

Addable with "layman -o https://gitlab.com/xy2_/osman/raw/master/osman-overlay.xml -f -a osman" then "emerge mpvc"

First of all, thanks for packaging mpvc. Right now  there's a couple of issues that need to sorted before I can merge. First off, I like a clean commit history that doesn't include 'Merge pull request X'. Go back into the fork you've created and do a soft reset then recommit in only one commit. Secondly, it would be a great help to include instructions to install your repo in package repo's README.md.
I'll be without net until Friday afternoon so I am happy for @heckendorfc to merge once these are done.


UDecoder does not properly convert when EncodedSolidusHandling is PASS_THROUGH and non-solidus encoded characters are present before the solidus

https://github.com/willmeck/tomcat-test-app - small test project showcasing the issue and fix
When EncodedSolidusHandling is PASS_THROUGH, and other non-solidus encoded characters, such as encoded '+' (%2B) are present, the resultant string is incorrect.
Consider the string abc%2Bde%2Ffg
With PASS_THROUGH, it is expected that this would decode to abc+de%2Ffg
However, looking at the UDecoder convert() code, this is what happens:
buff contains abc%2Bde%2Ffg

set idx to the first % character, idx = 3
enter loop, setting j equal to idx, idx=3 j=3
buff[j] is % so enter else condition
j+=2 so j=5 idx=3
set res equal to the char which is made up by j, j+1, and j+2
res is not a /, so set buff[idx] = res (res is +)

buff now contains abc+2Bde%2Ffg and j=5 idx=3

loop again so now j=6 idx=4
buff[j] is d, so set buff[idx] = buff[j]
loop again so now `j=7 idx=5'
buff[j] is e so set buff[idx] = buff[j]

buff now contains abc+dede%2Ffg

loop again so now j=8 idx=6
buff[j] is % so enter else condition
j+=2 so j=10 idx=6
set res equal to the char which is made up by j, j+1, and j+2
res is / so enter switch and go to case PASS_THROUGH
idx+=2 so j=10 idx=8 (Note that at no point do you copy any chars from j to idx)

buff now still contains abc+dede%2Ffg

loop again so now j=11 idx=9
buff[j] is f so set buff[idx] = buff[j]
loop again so now j=12 idx=10
buff[j] is g so set buff[idx] = buff[j]
exit loop because reached length, adding 1 to idx, so idx=11
set end at idx

buff now contains abc+dede%fg
The passthrough case statement expects j and idx to be equal, and that is not always the case, so we must explicitly copy those bytes.

Thanks for the PR. I've applied a variation of your proposed fix along with some additional unit tests to:

10.0.x for 10.0.0-M10 onwards
9.0.x for 9.0.40 onwards
8.5.x for 8.5.60 onwards
7.0.x for 7.0.107 onwards


Docs: Image Template

Hi.
Can you add to docs an image template? So, you can use it to know exactly what you want to show.
tks

@brunocalado In v10 there is an option to use a pdf, is this useful for you?

@brunocalado In v10 there is an option to use a pdf, is this useful for you?

Thank you very much,


allow newer versions of esbuild

I'm trying to use this package with<EMAIL_ADDRESS>but the peer dependency can't be resolved because in npm semver the caret resolves to the first non-zero place.  So ^0.17.14 is equivalent to >=0.17.14 <0.18.0
This change swaps the caret for a >= comparison so that 0.18, 0.19 and other future versions will match.

huh, the more you know! thanks!


Add a Gitter chat badge to README.md

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

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

Great work


Merge live into master

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/junction.md
:white_check_mark:Succeeded
View

sysinternals/index.md
:white_check_mark:Succeeded
View

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.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/junction.md
:white_check_mark:Succeeded
View

sysinternals/index.md
:white_check_mark:Succeeded
View

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.


Handling lost connection with Playwright process that make scrape hangs in error

I have long scrapes with long sequences of actions needed to be taken during playwright scrape. I have handled most of the problems with scrape and established long runes. I am now facing issues with lost connection with the playwright process. We sure, can’t do much about process that died but please help me ensure that such a request ends up in errorback so we can properly handle it and continue scraping.
Minimum spider setup is described in the minimal_spider_setyp.txt
Route cause of error is:
/opt/scrapy_enviroment/lib/python3.11/site-packages/playwright/driver/playwright.sh: line 6: 2323044 Hangup                  "$PLAYWRIGHT_NODEJS_PATH" "$SCRIPT_PATH/package/lib/cli/cli.js" "$@"
/opt/scrapy_enviroment/lib/python3.11/site-packages/playwright/driver/playwright.sh: line 6: 2323042 Hangup                  "$PLAYWRIGHT_NODEJS_PATH" "$SCRIPT_PATH/package/lib/cli/cli.js" "$@"
To be able to raise awareness about that we have used ScrapyPlaywrightMemoryUsageExtension and we caught it as shown in example inital_error.txt
We have extended ScrapyPlaywrightMemoryUsageExtension to be able to try/catch such exceptions. We have attempted to raise some scrapy playwright known error to be able to route it back to errorback function that should handle remaining and proceed with scrape.
Can you please evaluate our CustomScrapyPlaywrightMemoryUsageExtension and advise if IgnoreRequest is a suitable exception and suggest what we can do moving forward? We are debugging the current solution as I am reporting this now.
minimal_spider_setyp.txt
inital_error.txt
custom_memusage_extension.txt

It seams that above handles such problems and scrape can continue.


Verify locationless sunrise/sunset times are in local time zone

Denver is used as default lat/long for sun times without a location, but this may not compensate for time zone.

Add test
Fix (?)

The linked PR removes any need to assume sunrise/sunset except for drawing daylight on the time select bar. If no location data is available, sunrise/sunset are drawn based on an equatorial location in the current time zone.


feat(RingTheory): isotypic components

Added isotypic components to RingTheory, added lemmas in SimpleModule that aid in some proofs

I fear that this PR has gone un-noticed by mathlib reviewers because it's made from a fork of Mathlib, not from a branch within the main mathlib repository. This unfortunately means our build-test script won't run on it, so it won't get flagged as "passes tests", hence it won't show up in the review queue.
Can you make a new PR with the same content from a branch inside the mathlib repo? Anyone who wants to contribute can get push access to non-master mathlib branches by asking on the zulip chat.

The new PR is at #18646. My general impression of the PR(s) is that there's a lot of duplicated definitions, i.e. equivalent or similar concepts that become multiple definitions. I think we should fix one definition for each concept and prove equivalences as lemmas. It would be helpful to actually prove Wedderburn--Artin to see what defs/API lead to the shortest path.

Since you have submitted a new PR from a mathlib branch, let me go ahead and close this PR, to keep the review queue useful. Thanks for your PR, I hope the new version can make it into mathlib!


[BUG?] nvcc missing in core image

Describe the bug
A clear and concise description of what the bug is.
It seems that nvcc is missing from the base image that is recommended by the picker
Steps/Code to reproduce bug
run
docker run --gpus all --rm -it rapidsai/rapidsai-core:22.04-cuda11.4-runtime-ubuntu20.04-py3.9 /bin/bash
which nvcc
# <nothing>

Expected behavior
I would expect nvcc to be present since it's required to run things in the examples repository, such as https://github.com/rapidsai/rapids-examples/blob/main/cuBERT_topic_modelling/cuBERTopic.py
Environment details (please complete the following information):
Running docker with nvidia-docker on ubuntu 20.04, each up to date, cuda-11.4.

Please run and attach the output of the cudf/print_env.sh script to gather relevant environment details
There is no file named cudf/print_env.sh.
By the way, not your fault, but the fact that we have six layers of potential incompatibility in this tech stack is really bankruptcy. I fully expect that I won't be able to run any cuda project at all soon. We have:
21.10- # library version
cuda11.4- # driver and core libraries version
devel- # scope of included dependencies
ubuntu20.04- # os version
py3.8 # python version
+ conda vs classic python
And this is even before I'm trying to add mutually incompatible versions of tensorflow/torch/…


Why isn't url.query accounted for?

In the case that a pre-parsed url object is passed in for the uri option, is there a reason that the query object and/or string are never accounted for?
Essentially, I'm trying to append a query-param to GET requests, before shipping off the HTTP request with request. Something like this does not work: https://gist.github.com/1148093
Looking deeper into the code, it looks like node-core is the one who drops the ball on handling query. So the real question is, should request pre-process a passed in query option when present? I say yes!

we should fix this.


Fix account/locales operation definition

Parameter account_id was missing into definition.
So clients Locale::accountLocales methods cannot works.

Thanks for the PR :raised_hands:  In this case, we should use the id parameter as it is not called account_id in the path. I've changed this in https://github.com/phrase/openapi/pull/141


Tests-performed or people-tested?

What exactly do the testing numbers mean?
Are you reporting on people-tested, or tests-performed? I don't see that specified anywhere.
When I look at the government source data, it seems to be a mixed bag.
Some jurisdictions report on both tests-performed and people-tested, but most don't.
Examples:
Tests-performed: BC, MB
People-tested: QC, NL

As you pointed out, it depends on the province. The Globe & Mail has a list of which is which.

Of course, at least one province (Ontario) switched from people tested to tests performed midway through. We use whichever is the main reported number for the province, since as far as we know we don't have both numbers for all provinces.
We'll be adding a plot to distinguish the two soon. We'll also add it to the methods tab.

PHAC now reporting a time series of "individuals tested": https://www.canada.ca/en/public-health/services/diseases/2019-novel-coronavirus-infection.html
With the following caveat: "Note: Provincial/territorial (PT) data reported on their websites should be used if there are discrepancies. This can be due to lags, differing reporting cut-offs, or changes in lab testing criteria. For PTs that report the number of tests completed, a formula is used to estimate the number of individuals tested."


Target descriptions should not be abbreviated

E.g. /sign/georgia-add-outkast-to says "Gov. Nathan Deal, The GA State House, The GA State Senate" but should say " The Georgia State House, The Georgia State Senate, and Governor Nathan Deal"

This is a backend fix - PetitionTarget model should return the full name of the state in the statehouse case and the full title of the Governor in the governor case.

I just found out that we already have this in the frontend https://github.com/MoveOnOrg/mop-frontend/blob/master/src/components/state-abbrev.js
Used a couple of places https://github.com/MoveOnOrg/mop-frontend/search?utf8=✓&q=state-abbrev&type=

I think we should still fix this on the back end. The API sends targets back as strings like "The GA State House." We could probably find and replace the abbreviation in a string like that, but doing so would require the front end to know what the back end might send, and then require updating both together as we make future changes, e.g. we might at some point stop referring to "Nebraska State House" and "Nebraska State Senate" as targets, because Nebraska doesn't actually have a separate house and senate.

https://github.com/MoveOnOrg/mop/pull/223


perf: collection-repeat vs reactjs?

Type: perf
Platform: ios 8 webview
I have an app that uses collection-repeat and although it works ok, because it's image heavy and long it isn't as smooth as i'd like.  I was wondering if anyone has compared the performance of collection-repeat vs reactjs on long list?

Greetings @wootwoot1234!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

Greetings @wootwoot1234!
My sensors indicate that you have created an issue on our tracker requesting usage help, rather than an actual error with Ionic framework.
This GitHub issue tracker is used to track framework features, problems, and development.
If you wish to get help using the framework itself, the recommended place is the forum. There are many humans there who would be happy to offer sage advice.
Thank you for allowing me to assist you.


Dependencies watchman

Dependency upgrades/bug-fixes to track
This list keeps track of dependencies that are either unstable or blockers to development in our project. Since unstable dependencies are usually marked with tag @next, or currently in alpha, beta channels, which can be ignored by dependabot, we want to have this pinned issue as the watchman.

[ ] @pmmmwh/react-refresh-webpack-plugin: Using beta version. Part of webpack@5 upgrade.
[ ] webpack-dev-server Using beta version. Part of webpack@5 upgrade.
[ ] babel: In babel@8, a lot of configurations are to be set to default, we should keep track of these to slim down our babel preset.
[ ] jest: Jest does not fully support ESM - See https://github.com/facebook/jest/issues/9430. When we upgrade and use ESM support, we can:

[ ] Get rid of the main field in package.json and let babel-jest handle the transform for these ESM modules.
[ ] Get rid of custom logic to handle ESM for lodash-es.
[ ] We cannot yet just go full out ESM because of all the problems in - https://github.com/facebook/jest/issues/9430#issuecomment-851917792
[x] Jest@27 will use jest-circus by default so we don't need to manually specify this like right now.
[x] Upgrade to Jest@27 is currently being blocked due to @types/jest not being upgraded. This is causing a weird error: The inferred type of ... cannot be named without a reference to 'jest/node_modules/pretty-format/build/types'. Also, we should wait out a little bit as we need to confirm Jest@27 works well with testing-library

[ ] yarn/berry:

[ ] RECHECK yarn workspaces foreach does not respect exit code != 0. The workaround right now is to call with --topological-dev --parallel. See https://github.com/yarnpkg/berry/issues/2486
[ ] yarn workspaces foreach does not support --skip-missing flag, so if a workspace does not have a script with name specified, it will error out when we try to run such script on all workspaces (unlike lerna). See https://github.com/yarnpkg/berry/issues/62

[ ] typescript-eslint: Support for Typescript project reference is still lacking, causing OOM when running on whole project. The suggested workaround right now is to break down the project eslint process into one process per workspace, which makes our scripts section rather verbose in each workspace package.json. See https://github.com/typescript-eslint/typescript-eslint/issues/2094

Dependency features to try out
This list keeps track of nice dependency features that are already supported in the versions we have, but we haven't quite have the time and effort to apply.

[ ] yarn/berry: PnP is nice to try out but currently does not support ESM so we have to use node_modules as node linker mechanism. See https://github.com/yarnpkg/berry/issues/638
[ ] mobx: Use flow annotation with makeObservable and flowResult instead of wrapper flow(function * ...) - Check out doc
[ ] mobx: Use override for computed properties where appropriate (i.e. when both super class and sub class have concrete methods/getters)
[x] typescript<EMAIL_ADDRESS>supports for the override syntax. This is currently blocked by prettier (https://github.com/finos/legend-studio/pull/244)

We have upgraded to<EMAIL_ADDRESS>we need to try out the support for the override syntax. This is currently blocked by prettier

[ ] eslint-plugin-import Wait for the fix for no-extraneous-dependencies in https://github.com/benmosher/eslint-plugin-import/pull/2121 to be published and enable that rule


Problem with Laravel Echo after Setup

Hello,
I`ve setup the project as described in the contribution guide. After I create a new Team in the Dashboard I get this error when I open the Messages page.
Error in mounted hook: "ReferenceError: Echo is not defined"
What is wrong with my setup?

are you using the docker version?

No, I'm using the manual setup

I runed this commands:
php composer install php php artisan key:generate npm install php artisan migrate --seed

in manual setup real time chat won't work, you have to setup redis, laravel-echo-server and a que worker to real-time chat to work. But if you're working on #280 then you don't need the real-time feature, you can still work on the task


Automatic updates automatically happening after installing dev builds.

If you open visual studio after immediately installing a dev build, it automatically updates to latest with prompt and then if you reopen visual studio in any case again it will have latest version.

(I'm not sure if I'm understanding the issue properly)
The command conan install is triggerend automatically when you open a solution with a Conan project, and by default it will update all the requirements. If this is not the desired behavior, there are some configuration options you can use:

Setting "Update policy" to "False" will prevent the extension adding the --update parameter to the conan install call, so it won't download new versions/revisions from the remotes.

@jgsogo The issue here is after the installation of the extension.
If a user installs Conan extension (developer version) not from the Visual Studio Market place, then once the extension is installed, it automatically queues the extension to update to the latest version which is 1.1.134.
If the user re-opens the Visual Studio it would have already updated to version 1.1.134 already which is not needed by all users.
NOTE:

Automatic check for updates/extension is unchecked in Visual Studio settings.
If I uncheck Automatic updates for this extension option for Conan separately, still it gets into the queue for the update.

I installed version: 1.0.166 from here.

It seems by default the extension is queued for updates to the latest version.

This can be disabled in the Visual Studio settings -- I don't think this is an issue with the actual extension.  You can set the default behavior by navigating to:
Tools > Extensions & Updates > "Change your Extensions and Updates settings" > Uncheck "Automatically check for updates".

@LBHawk  as mentioned above in Note, it is already unchecked for all extensions Visual Studio settings. I will check if there is anything else missing. I was also not really sure if it is an issue with actual extension.

We noticed it looks okay with all settings unchecked as follows:

If only unchecked for "All user extensions", it still updates Conan Extension.

Hi, I think this has nothing to do with this extension, it's about how VS handles updates.
Googling I've found that you have to run VS as administrator (not being admin yourself, but "running as administrator") in order to see/change the value of the "Automatically update extensions" checkbox. Depending on how you have installed your extensions you can get more fine-grained control over updates.

It's nothing to be done in the extension, we have no control over update policy, it's controlled only by Visual Studio settings.


Method & Event Design for Charts

After establishing the hierarchy and properties of the Charts, the methods and events need to be designed next for the Chart abstraction as well as its extensions.

The approaches taken were slightly different. This has been done instead with each iteration/new feature addition, rather than designing all the events/methods at once.


hipblaslt-bench performance improvements

This improves performance of hipblaslt-bench when timing a large number of matmuls.
There are 2 main changes

Initialization of A, B and C matrices is done on the device instead of the host. This also avoids the hipMemcpy from host to device. But when a host copy is needed for the correctness check, the device matrix is still copied back to the host.
A memory pool to reuse memory allocated with hipMalloc/hipMallocManaged or hipHostMalloc. This might slightly increase memory use.

Both changes together significantly improve performance.
I have a test yaml input file with ~500K tests.
With these changes, the code runs in ~42 minutes, compared to 8 hours before (on MI300).
I initially used rocRAND, but then removed this dependency. I can add that back if it is preferred over my own naive random number generator.
This is based on a commit by @bethune-bryant

Do we have the execution time of hipblaslt-test with/wo this PR?

With these changes ./hipblaslt-test took
real    19m58.491s
user    35m32.051s
sys     0m38.180s

while the develop branch took
real    21m12.295s
user    114m49.692s
sys     2m34.752s

On an MI210, 16 OpenMP threads.

Both changes together significantly improve performance. I have a test yaml input file with ~500K tests. With these changes, the code runs in ~42 minutes, compared to 8 hours before (on MI300).

In my testing it basically reduces total benchmark time to the sum of all kernel execution times, effectively removing all overhead.

Sorry, I had to make a few small fixes. But I think this is ready now.

@jichangjichang @KKyang
Do y'all have any feedback on this?

Sorry, I got confused about num_batches[i] and block_count.
But I think it is correct now.
Can you please review this logic?

Do we have the execution time of hipblaslt-test with/wo this PR?

I can try to address execution time of hipblaslt-test in a follow up PR.
For now we were focused on improving hipblaslt-bench time for timing a large number of matmul operations.


Add "manifest" to python/CLI

Add manifest functionality to cli and python so ingestion packages and other similar capabilities can be executed without sh scripts and executed through the python GUI.

Yeah, I was thinking about how to do that this morning. My dream would be to make it generically support any flag, I just need to poke around the argparse library to see if that's feasible or if I just need to duplicate things.

I think we should probably resolve the paths all relative to where the manifest is currently located. I'll take a look today.

@weisenje fix is in 27bceb61cb515029b7ff8ee6ce837c4859ff9799

nested manifests seems fine.
On the topic of embedding clear statements in the manifests, it seems like one thing we'd want is a way to clear out data from the web UI when ingesting a new package. It feels slightly off for the ingestion package to do all the clearing out. Maybe we need both?

I want to add something to support clear, but I don't believe that emulating the shell script is the right level of abstraction, my current plan to implement is a way for a manifest to declare what it is that it imports so that if you run it in a clear-first mode it knows what to wipe out. It feels like a miss to merely treat these manifests as a limited shell scripting environment. I should have a version of the above today or early to morrow.

Basic functionality is implemented and pushed to main.   Moving this to "ready for review" and we'll add improvements as new issues.


Can't tap play/pause button when subtitle is infront!

I am using subtitleBuilder and when the subtitle appears in front of the play/pause button, it doesn't work! The subtitles should appear behind play/pause button?

I used IgnorePointer() and it works.


Masks: a new generation

update of french translation file fr.json

It looks like your branch has huge conflicts with the commit history of this repository.  I would honestly recommend just forking the repo again and applying your changes as a new commit, though perhaps merging from here will fix the problem.  Whatever you do, obviously as you can see I can't accept 5000+ changed files :).
Jeff


test-branch/execute-job/wrong-commit-sha-on-pr/ef21d8f1-2a4a-48d4-ad5b-5bbf399cd5de

PR for testing daf9d05638b218fcc032566f782b5f57014377bd

/canonical/self-hosted-runners/run-workflows 0079fbd3c9de912a208982c4c287b69488d5b6a0


add getScaling function for mat4

The decompose methods seem to forget a getScaling implementation for mat4

@toji Would you please have a look at this PR? Am I doing wrong? What else can I do to correct?
Actually this is my first meaningful PR, I'd be appreciated if you point out any mistakes I made.

Sorry for the delayed review. This LGTM. Thanks!


Test Rest API

Test rest API

I tested the REST API with a local build and it worked. It still showed some warnings in the logs about non-loading classes. After some research I found out that also others have this problem but could find any valid solution.

The endpoints:
GET/POST: https://:/oscm-trigger/v1/triggers
GET/PUT/DELETE: https://:/oscm-trigger/v1/triggers/{id}

Checked on Windows Server 2016, jdk1.8u121, build BES_MASTER_DELIVERY-10192017/04/20 in Internal mode. It is working as expected.


Unable to redirect output to /dev/stdout.

Required information

Distribution: Ubuntu Bionic
Distribution version: 18.04.5 LTS
The output of "lxc info":

user@lxd_host:~$ sudo lxc info
[sudo] password for user:
config:
 core.https_address: '[::]:8443'
 core.trust_password: true
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_stop_priority
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
- storage_lvm_vg_rename
- storage_lvm_thinpool_rename
- network_vlan
- image_create_aliases
- container_stateless_copy
- container_only_migration
- storage_zfs_clone_copy
- unix_device_rename
- storage_lvm_use_thinpool
- storage_rsync_bwlimit
- network_vxlan_interface
- storage_btrfs_mount_options
- entity_description
- image_force_refresh
- storage_lvm_lv_resizing
- id_map_base
- file_symlinks
- container_push_target
- network_vlan_physical
- storage_images_delete
- container_edit_metadata
- container_snapshot_stateful_migration
- storage_driver_ceph
- storage_ceph_user_name
- resource_limits
- storage_volatile_initial_source
- storage_ceph_force_osd_reuse
- storage_block_filesystem_btrfs
- resources
- kernel_limits
- storage_api_volume_rename
- macaroon_authentication
- network_sriov
- console
- restrict_devlxd
- migration_pre_copy
- infiniband
- maas_network
- devlxd_events
- proxy
- network_dhcp_gateway
- file_get_symlink
- network_leases
- unix_device_hotplug
- storage_api_local_volume_handling
- operation_description
- clustering
- event_lifecycle
- storage_api_remote_volume_handling
- nvidia_runtime
- candid_authentication
- candid_config
- candid_config_key
- usb_optional_vendorid
api_status: stable
api_version: "1.0"
auth: trusted
public: false
auth_methods:
- tls
environment:
 addresses:
 - <IP_ADDRESS>:8443
 - <IP_ADDRESS>:8443
 - <IP_ADDRESS>:8443
 architectures:
 - x86_64
 - i686
 certificate: |
   -----BEGIN CERTIFICATE-----
   <private info>
   -----END CERTIFICATE-----
 certificate_fingerprint: <private info>
 driver: lxc
 driver_version: 3.0.3
 kernel: Linux
 kernel_architecture: x86_64
 kernel_version: 5.4.0-47-generic
 server: lxd
 server_pid: 7638
 server_version: 3.0.3
 storage: zfs
 storage_version: 0.8.3-1ubuntu12.2
 server_clustered: false
 server_name: lxd_host
 project: ""

Kernel version: 5.4.0-47-generic
LXC version: 3.0.3
LXD version: 3.0.3
Storage backend in use: ZFS

Issue description
Unable to redirect printed symbols to /dev/stdout.
Here is the output:
user@lxd_host:~$ sudo lxc exec test-container -- sudo -i -u developer
developer@test-container:~$ echo 'hi' > /dev/stdout
-bash: /dev/stdout: Permission denied

However:
developer@test-container:~$ echo 'hi'
hi
developer@test-conteiner:~$ logout
user@lxd_host:~$ sudo lxc exec test-container -- echo 'hi' >/dev/stdout
hi
user@lxd_host:~$

I could you this as workaround, but I have several bash scripts which should be executed by systemd timer and there  echo "some info" >/dev/stdout.
In systemd logs I see the /dev/stdout: no such device or address lines.
Inside the container I found the following:
developer@test-container:~$ ls -l /dev/stdout
lrwxrwxrwx 1 root root 15 Nov  6 19:17 /dev/stdout -> /proc/self/fd/1

developer@test-container:~$ ls -l /proc/self/fd/1
lrwx------ 1 developer developer 64 Nov  7 10:01 /proc/self/fd/1 -> /dev/pts/44

developer@test-container:~$ file /dev/pts/44
/dev/pts/44: cannot open `/dev/pts/44' (No such file or directory)

Steps to reproduce

lxc exec test-container -- sudo -i -u developer
echo "hi" >/dev/stdout or run bash script with echo "hi" >/dev/stdout statement.

Information to attach

[ ] Any relevant kernel output (dmesg)
There is no any interesting information from dmesg output
[+] Container log (lxc info NAME --show-log)

lxc info test-container --show-log
Name: test-container
Remote: unix://
Architecture: x86_64
Created: 2020/11/04 18:58 UTC
Status: Running
Type: persistent
Profiles: default
Pid: 25879
Ips:
  eth0:	inet	<IP_ADDRESS>	veth11AGSN
  eth0:	inet6	fd42:f8d4:3cd8:e0c:216:3eff:fe89:683e	veth11AGSN
  eth0:	inet6	fe80::216:3eff:fe89:683e	veth11AGSN
  lo:	inet	<IP_ADDRESS>
  lo:	inet6	::1
Resources:
  Processes: 28
  Disk usage:
    root: 32.37GB
  CPU usage:
    CPU usage (in seconds): 693
  Memory usage:
    Memory (current): 350.82MB
    Memory (peak): 406.33MB
  Network usage:
    eth0:
      Bytes received: 9.07MB
      Bytes sent: 15.81MB
      Packets received: 18910
      Packets sent: 15838
    lo:
      Bytes received: 23.25kB
      Bytes sent: 23.25kB
      Packets received: 259
      Packets sent: 259

Log:

lxc test-container<PHONE_NUMBER>1724.465 WARN     conf - conf.c:lxc_setup_devpts:1616 - Invalid argument - Failed to unmount old devpts instance
lxc test-container<PHONE_NUMBER>5207.265 ERROR    attach - attach.c:lxc_attach_run_command:1544 - No such file or directory - Failed to exec "help"
lxc test-container<PHONE_NUMBER>3652.665 ERROR    attach - attach.c:lxc_attach_run_command:1544 - No such file or directory - Failed to exec "export"
lxc test-container<PHONE_NUMBER>3721.654 ERROR    attach - attach.c:lxc_attach_run_command:1544 - No such file or directory - Failed to exec "export"
lxc test-container<PHONE_NUMBER>3732.805 ERROR    attach - attach.c:lxc_attach_run_command:1544 - No such file or directory - Failed to exec "export"
lxc test-container<PHONE_NUMBER>3745.297 ERROR    attach - attach.c:lxc_attach_run_command:1544 - No such file or directory - Failed to exec "export"
lxc test-container<PHONE_NUMBER>1326.257 ERROR    attach - attach.c:lxc_attach_run_command:1544 - No such file or directory - Failed to exec "/home/host_user/test.bash"

[+] Container configuration (lxc config show NAME --expanded)

architecture: x86_64
config:
  image.architecture: amd64
  image.description: ubuntu 18.04 LTS amd64 (release) (20201031)
  image.label: release
  image.os: ubuntu
  image.release: bionic
  image.serial: "20201031"
  image.version: "18.04"
  limits.cpu.allowance: 99%
  limits.cpu.priority: "0"
  limits.memory: 4GB
  limits.memory.enforce: soft
  raw.apparmor: mount,
  security.privileged: "true"
  volatile.base_image: 6063f2011ba10d2dfdb2518ae02a1ddb621334a002bdf3def111dfd54dce2abd
  volatile.eth0.hwaddr: 00:16:3e:89:68:3e
  volatile.idmap.base: "0"
  volatile.idmap.next: '[]'
  volatile.last_state.idmap: '[]'
  volatile.last_state.power: RUNNING
devices:
  eth0:
    name: eth0
    nictype: bridged
    parent: lxdbr0
    type: nic
  loop-control:
    path: /dev/loop-control
    type: unix-char
  loop0:
    path: /dev/loop0
    type: unix-block
  loop1:
    path: /dev/loop1
    type: unix-block
  loop2:
    path: /dev/loop2
    type: unix-block
  loop3:
    path: /dev/loop3
    type: unix-block
  loop4:
    path: /dev/loop4
    type: unix-block
  loop5:
    path: /dev/loop5
    type: unix-block
  loop6:
    path: /dev/loop6
    type: unix-block
  loop7:
    path: /dev/loop7
    type: unix-block
  loop8:
    path: /dev/loop8
    type: unix-block
  loop9:
    path: /dev/loop9
    type: unix-block
  loop10:
    path: /dev/loop10
    type: unix-block
  loop11:
    path: /dev/loop11
    type: unix-block
  loop12:
    path: /dev/loop12
    type: unix-block
  loop13:
    path: /dev/loop13
    type: unix-block
  loop14:
    path: /dev/loop14
    type: unix-block
  loop15:
    path: /dev/loop15
    type: unix-block
  loop16:
    path: /dev/loop16
    type: unix-block
  loop17:
    path: /dev/loop17
    type: unix-block
  loop18:
    path: /dev/loop18
    type: unix-block
  loop19:
    path: /dev/loop19
    type: unix-block
  root:
    path: /
    pool: lxd
    size: 40GB
    type: disk
ephemeral: false
profiles:
- default
stateful: false
description: ""

[+] Main daemon log (at /var/log/lxd/lxd.log or /var/snap/lxd/common/lxd/logs/lxd.log)

cat /var/log/lxd/lxd.log
t=2020-11-07T06:04:19+0200 lvl=info msg="Updating images"
t=2020-11-07T06:04:19+0200 lvl=info msg="Done updating images"
t=2020-11-07T12:04:10+0200 lvl=info msg="Updating instance types"
t=2020-11-07T12:04:10+0200 lvl=info msg="Done updating instance types"
t=2020-11-07T12:04:10+0200 lvl=info msg="Expiring log files"
t=2020-11-07T12:04:10+0200 lvl=info msg="Done expiring log files"
t=2020-11-07T12:04:10+0200 lvl=info msg="Pruning expired images"
t=2020-11-07T12:04:10+0200 lvl=info msg="Done pruning expired images"
t=2020-11-07T12:04:19+0200 lvl=info msg="Updating images"
t=2020-11-07T12:04:19+0200 lvl=info msg="Done updating images"
t=2020-11-07T12:23:41+0200 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2020-11-07T12:29:52+0200 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2020-11-07T12:30:00+0200 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2020-11-07T12:53:45+0200 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2020-11-07T12:55:11+0200 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2020-11-07T18:04:19+0200 lvl=info msg="Updating images"
t=2020-11-07T18:04:19+0200 lvl=info msg="Done updating images"
t=2020-11-07T23:08:01+0200 lvl=warn msg="Detected poll(POLLNVAL) event."

[ ] Output of the client with --debug
[+] Output of the daemon with --debug (alternatively output of lxc monitor while reproducing the issue)

metadata:
  context: {}
  level: dbug
  message: 'New event listener: 27665703-2eb9-4177-8716-41ad8904f52b'
timestamp: "2020-11-07T23:18:06.313773573+02:00"
type: logging

metadata:
  context: {}
  level: dbug
  message: sending write barrier
timestamp: "2020-11-07T23:18:42.42120498+02:00"
type: logging

metadata:
  context: {}
  level: dbug
  message: 'Detected poll(POLLHUP) event: exiting.'
timestamp: "2020-11-07T23:18:42.421166316+02:00"
type: logging

metadata:
  context: {}
  level: dbug
  message: 'Got error getting next reader read unix /var/lib/lxd/unix.socket->@: use
    of closed network connection'
timestamp: "2020-11-07T23:18:42.421154977+02:00"
type: logging

metadata:
  context: {}
  level: warn
  message: Detected poll(POLLNVAL) event.
timestamp: "2020-11-07T23:18:42.421233789+02:00"
type: logging

metadata:
  context: {}
  level: dbug
  message: Finished to mirror websocket
timestamp: "2020-11-07T23:18:42.421304379+02:00"
type: logging

metadata:
  context: {}
  level: dbug
  message: 'Got error getting next reader websocket: close 1006 (abnormal closure):
    unexpected EOF'
timestamp: "2020-11-07T23:18:42.421280162+02:00"
type: logging

metadata:
  class: websocket
  created_at: "2020-11-07T23:15:03.86918394+02:00"
  description: Executing command
  err: ""
  id: d777c5ed-1265-4763-a33e-3967f83ede21
  may_cancel: false
  metadata:
    return: 1
  resources:
    containers:
    - /1.0/containers/test-container
  status: Success
  status_code: 200
  updated_at: "2020-11-07T23:18:42.421327384+02:00"
timestamp: "2020-11-07T23:18:42.421373099+02:00"
type: operation

metadata:
  context: {}
  level: dbug
  message: 'Updated metadata for websocket operation: d777c5ed-1265-4763-a33e-3967f83ede21'
timestamp: "2020-11-07T23:18:42.421330168+02:00"
type: logging

metadata:
  context: {}
  level: dbug
  message: 'Success for websocket operation: d777c5ed-1265-4763-a33e-3967f83ede21'
timestamp: "2020-11-07T23:18:42.421367021+02:00"
type: logging

metadata:
  class: websocket
  created_at: "2020-11-07T23:15:03.86918394+02:00"
  description: Executing command
  err: ""
  id: d777c5ed-1265-4763-a33e-3967f83ede21
  may_cancel: false
  metadata:
    return: 1
  resources:
    containers:
    - /1.0/containers/test-container
  status: Running
  status_code: 103
  updated_at: "2020-11-07T23:18:42.421327384+02:00"
timestamp: "2020-11-07T23:18:42.421349233+02:00"
type: operation

metadata:
  context:
    ip: '@'
    method: GET
    url: /1.0
  level: dbug
  message: handling
timestamp: "2020-11-07T23:18:43.769951574+02:00"
type: logging

metadata:
  context: {}
  level: dbug
  message: 'Disconnected event listener: 83a5a171-5405-48c8-b693-174265e6f5a2'
timestamp: "2020-11-07T23:18:43.77000746+02:00"
type: logging

metadata:
  context:
    ip: '@'
    method: GET
    url: /1.0/events?project=
  level: dbug
  message: handling
timestamp: "2020-11-07T23:18:43.77434099+02:00"
type: logging

metadata:
  context: {}
  level: dbug
  message: 'New event listener: ff81776a-2926-40b1-9897-718dc675f2a6'
timestamp: "2020-11-07T23:18:43.774379567+02:00"
type: logging

metadata:
  context:
    ip: '@'
    method: POST
    url: /1.0/containers/test-container/exec
  level: dbug
  message: handling
timestamp: "2020-11-07T23:18:43.774697226+02:00"
type: logging

metadata:
  context: {}
  level: dbug
  message: 'Started websocket operation: 05ed86db-5326-4a32-b408-ca89c6a07784'
timestamp: "2020-11-07T23:18:43.821878368+02:00"
type: logging

metadata:
  class: websocket
  created_at: "2020-11-07T23:18:43.778571888+02:00"
  description: Executing command
  err: ""
  id: 05ed86db-5326-4a32-b408-ca89c6a07784
  may_cancel: false
  metadata:
    command:
    - sudo
    - -i
    - -u
    - developer
    environment:
      HOME: /root
      LANG: C.UTF-8
      PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
      TERM: rxvt-unicode-256color
      USER: root
    fds:
      "0": 310dad082d18eb47caac4ef8916065a2010ffb0eb561f07912dadb4511ff07ad
      control: e36372f450a8c222475dd0ec1e236122833a00dd10cec55eab5183ca0f8c1c14
    interactive: true
  resources:
    containers:
    - /1.0/containers/test-container
  status: Running
  status_code: 103
  updated_at: "2020-11-07T23:18:43.778571888+02:00"
timestamp: "2020-11-07T23:18:43.821887232+02:00"
type: operation

metadata:
  context: {}
  level: dbug
  message: 'New websocket operation: 05ed86db-5326-4a32-b408-ca89c6a07784'
timestamp: "2020-11-07T23:18:43.821838594+02:00"
type: logging

metadata:
  class: websocket
  created_at: "2020-11-07T23:18:43.778571888+02:00"
  description: Executing command
  err: ""
  id: 05ed86db-5326-4a32-b408-ca89c6a07784
  may_cancel: false
  metadata:
    command:
    - sudo
    - -i
    - -u
    - developer
    environment:
      HOME: /root
      LANG: C.UTF-8
      PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
      TERM: rxvt-unicode-256color
      USER: root
    fds:
      "0": 310dad082d18eb47caac4ef8916065a2010ffb0eb561f07912dadb4511ff07ad
      control: e36372f450a8c222475dd0ec1e236122833a00dd10cec55eab5183ca0f8c1c14
    interactive: true
  resources:
    containers:
    - /1.0/containers/test-container
  status: Pending
  status_code: 105
  updated_at: "2020-11-07T23:18:43.778571888+02:00"
timestamp: "2020-11-07T23:18:43.821852138+02:00"
type: operation

metadata:
  context: {}
  level: dbug
  message: 'Connected websocket operation: 05ed86db-5326-4a32-b408-ca89c6a07784'
timestamp: "2020-11-07T23:18:43.8226052+02:00"
type: logging

metadata:
  context:
    ip: '@'
    method: GET
    url: /1.0/operations/05ed86db-5326-4a32-b408-ca89c6a07784/websocket?secret=e36372f450a8c222475dd0ec1e236122833a00dd10cec55eab5183ca0f8c1c14
  level: dbug
  message: handling
timestamp: "2020-11-07T23:18:43.822569445+02:00"
type: logging

metadata:
  context: {}
  level: dbug
  message: 'Handled websocket operation: 05ed86db-5326-4a32-b408-ca89c6a07784'
timestamp: "2020-11-07T23:18:43.822637184+02:00"
type: logging

metadata:
  context:
    ip: '@'
    method: GET
    url: /1.0/operations/05ed86db-5326-4a32-b408-ca89c6a07784/websocket?secret=310dad082d18eb47caac4ef8916065a2010ffb0eb561f07912dadb4511ff07ad
  level: dbug
  message: handling
timestamp: "2020-11-07T23:18:43.822947764+02:00"
type: logging

metadata:
  context: {}
  level: dbug
  message: 'Connected websocket operation: 05ed86db-5326-4a32-b408-ca89c6a07784'
timestamp: "2020-11-07T23:18:43.822962131+02:00"
type: logging

metadata:
  context: {}
  level: dbug
  message: 'Handled websocket operation: 05ed86db-5326-4a32-b408-ca89c6a07784'
timestamp: "2020-11-07T23:18:43.822994047+02:00"
type: logging

metadata:
  context: {}
  level: dbug
  message: Starting to mirror websocket
timestamp: "2020-11-07T23:18:43.823190192+02:00"
type: logging

metadata:
  context:
    ip: '@'
    method: GET
    url: /1.0/operations/05ed86db-5326-4a32-b408-ca89c6a07784
  level: dbug
  message: handling
timestamp: "2020-11-07T23:18:43.823331308+02:00"
type: logging

This isn't a LXD bug. The exact same behavior can be observed over ssh:
root@vorash:~# sudo -u stgraber -i
stgraber@vorash:~$ echo blah > /dev/stdout
-bash: /dev/stdout: Permission denied
stgraber@vorash:~$

Maybe there is some kind of sudo option to have sudo change the ownership of the pts device, but it's clearly not doing it out of the box. LXD behaves exactly like SSH in this regard, so we're going to consider our behavior to be correct.

Hi, @stgraber
If I login to the container over ssh it works correctly.
developer@test-container:~$ echo 'hi' >/dev/stdout
hi
developer@test-container:~$

That's not the same. What I was saying is that if you ssh as root to any Linux system (in my example above a physical server) and then sudo to a regular user, this user will not be allowed to write to /dev/stdout
So this behavior is not LXD specific and so seems correct.


Information about Azure costs

Hi everybody. I would like to know how much does this open source azure fhir server cost !
When I set up everything in the Azure portal I have this group of resources:

AppInsights
Account Azure Cosmos DB
Credentials and key
App service
App service plan
plus the Fhir API service.

How much for this solution monthly?
I ask here cause on the portal i can't find an answer (also with the costs calculator)
Thank u

Can you clarify how the cost calculator is not working for this? You should be able to go to: https://azure.microsoft.com/en-us/pricing/calculator/ and put in Cosmos DB and App Service (those would be the two main things you would be paying for). The cost calculator will also provide information for the managed Azure API for FHIR. You can also open the resource group and hit the cost analysis for specifics on the deployment you are running:

For now, I am going to close this issue, since this is not really the right forum for Azure pricing.


Add v1alpha4 for Azure defaulting

This should unblock Azure from using v1alpha4 and so on.

Tested to be working as expected on gremlin :rocket:


Arduino: binaries installed through Boards Manager fail to run

Describe the bug
Binaries installed through the Boards Manager in Arduino IDE
fail to run due to missing shared libraries.
A solution to this is to patchelf them manually after installation.
To Reproduce
Steps to reproduce the behavior:

Tools > Boards > Boards Manager
install Arduino SAM Boards
Verify/Compile

Expected behavior
Code is compiled using the installed binaries
Metadata
Please run nix run nixpkgs.nix-info -c nix-info -m and paste the result.

system: "x86_64-linux"
host os: Linux 4.19.80, NixOS, 19.03.173660.3f92c2124a5 (Koi)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.2
channels(root): "nixos-19.03.173660.3f92c2124a5, nixos-unstable-20.03pre201791.c1966522d7d"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

@tg-x Which package provides "Arduino IDE"?

arduino-1.8.5

I see that we have an extra commit on master that is not on release-19.09: https://github.com/NixOS/nixpkgs/commit/4c85abae94b0a55ff76387c1f1793370a170dda8#diff-556d00d6117d82c7a9b1845340d48283
@tg-x Could you try arduino-1.8.9 from master?
cc @antono @auntie @robberer @bjornfor @bergey

same issue with arduino-1.8.9 from master

@tg-x For documentation purposes, could you, please, post the error messages and manual patchelf commands that fix it for you.

for the Arduino AVR Boards package it looks like this:
ldd ~/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-gcc
        linux-vdso.so.1 (0x00007ffe11fb4000)
        libm.so.6 => /nix/store/h0p0h3rh1q4i2yavzm3yqi716s9yaj2f-glibc-2.27/lib/libm.so.6 (0x00007f145d6f4000)
        libc.so.6 => /nix/store/h0p0h3rh1q4i2yavzm3yqi716s9yaj2f-glibc-2.27/lib/libc.so.6 (0x00007f145d53e000)
        /lib64/ld-linux-x86-64.so.2 => /nix/store/h0p0h3rh1q4i2yavzm3yqi716s9yaj2f-glibc-2.27/lib64/ld-linux-x86-64.so.2 (0x00007f145d88c000)

then running patchelf --set-interpreter for all the binaries:
for bin in ~/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/avr/bin/* ~/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/avr/bin/*; do
  ld=$(ldd $bin | awk '/ld-linux/{print $3}')
  if [ "$ld" -ne "" ]; then patchelf --set-interpreter "$ld" "$bin"; fi
done

I have a simple package that puts arduino in an FHSEnv. It could probably be adapted into something in-tree eventually
with import <nixpkgs> { };
let
  unwrappedArduino = pkgs.arduino;
  in buildFHSUserEnv {
    name = "arduino";
    passthru = { inherit (unwrappedArduino) pname version meta; };
    targetPkgs = pkgs: with pkgs; [
      unwrappedArduino
      zlib
      (python3.withPackages (p: with p; [ pyserial ]))
    ];
    extraInstallCommands = ''
      mkdir -p $out/share/applications
      cp ${unwrappedArduino}/share/applications/arduino.desktop $out/share/applications/arduino.desktop
      substituteInPlace $out/share/applications/arduino.desktop \
          --replace ${unwrappedArduino}/bin/arduino $out/bin/arduino
    '';
    runScript = "arduino";
  }

we could use buildFHSUserEnv with the same packages from nix-env
I expect the buildFHSUserEnv will be done equally to platformio.
Maybe someone with more skill than me could help here.

if someone can confirm that my PR #144772 fixes this issue, we maybe could get this merged into "21.11"


Empty predictions

I have trained a custom model using yolov5s and converted that model to tflite. I was able to run the model without any errors but no predictions are present in the output. I suspect it may be due to some issue with converting the image to a float32 list input. here are my input and output tensor shapes.
[1, 640, 640, 3] [1, 25200, 6]
these are what neutron app display of the model.
name: serving_default_input_1:0 type: float32[1,640,640,3] location: 0
name: StatefulPartitionedCall:0 type: float32[1,25200,6] location: 532
here is my image to List<List<List>> function
Future<List<List<List<double>>>> processImage(var imagePath) async {
    final rawImage = await File(imagePath.path).readAsBytes();
    // decode image
    final image = img.decodeImage(rawImage);
    // Resize image to 640x640
    final imageInput = img.copyResize(
      image!,
      width: 640,
      height: 640,
    );
    // Get matrix representation
    final imageMatrix = List.generate(
      imageInput.height,
      (y) => List.generate(
        imageInput.width,
        (x) {
          final pixel = imageInput.getPixel(x, y);
          return [
            (img.getRed(pixel) - 100) / 127.5,
            (img.getGreen(pixel) - 100) / 127.5,
            (img.getBlue(pixel) - 100) / 127.5
          ];
        },
      ),
    );
    return imageMatrix;
  }

I'm not sure this is the right way to convert input image data for the model.
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.1.0)
[!] Android Studio (not installed)
[√] VS Code (version 1.79.2)
[√] Connected device (4 available)
    ! Device emulator-5556 is offline.
[√] Network resources```

if issue is due to image conversion to float32 try something like this :
      ...
      ...
      final decodeImage = img_lib.decodeImage(data);
      final imageInput = img_lib.copyResize(
        decodeImage!,
        width: 640,
        height: 640,
      );
      Uint8List byte8 = imageToByteListFloat32(imageInput, 640, 127.5, 127.5);

      // replace with your output --> this is only example
      final output = {
        0: [List<List<num>>.filled(10, List<num>.filled(4, 0))],
        1: [List<num>.filled(10, 0)],
        2: [List<num>.filled(10, 0)],
        3: [0.0],
      };
      _interpreter!.runForMultipleInputs([byte8.buffer], output);
      ...
      ...

and to convert to Float32
  Uint8List imageToByteListFloat32(img_lib.Image image, int inputSize, double mean, double std) {
    var convertedBytes = Float32List(1 * inputSize * inputSize * 3);
    var buffer = Float32List.view(convertedBytes.buffer);
    int pixelIndex = 0;
    for (var i = 0; i < inputSize; i++) {
      for (var j = 0; j < inputSize; j++) {
        var pixel = image.getPixel(j, i);
        buffer[pixelIndex++] = (pixel.r - mean) / std;
        buffer[pixelIndex++] = (pixel.g - mean) / std;
        buffer[pixelIndex++] = (pixel.b - mean) / std;
      }
    }
    return convertedBytes.buffer.asUint8List();
  }

Thank you. It worked. The main issue was that I was using the interpreter.run(input,output) instead of intrepreter.runForMultipleInputs(input, output).  Also your image conversion code worked. Thank you.

closed since this was fixed with the above comment.

Hi, I'm also running yolov5s, I'm doing a lot of tests to see what the problem is, my model runs "fine", but it doesn't predict anything in the output, I've been testing a lot of things with the output but I think I have problems with the input as well.
Could you help me by saying that you changed in the classifier.dart class?
If your problem was the input suddenly it's also mine.
`Map<String, dynamic>? predict(imageLib.Image image) {
print("Entramos a predict");
var predictStartTime = DateTime.now().millisecondsSinceEpoch;
print("predictStartTime= "+predictStartTime.toString());
if (_interpreter == null) {
  print("Interpreter not initialized");
  return null;
}

var preProcessStart = DateTime.now().millisecondsSinceEpoch;
print("preProcessStart = "+preProcessStart.toString());

// Create TensorImage from image
TensorImage inputImage = TensorImage.fromImage(image);

print("inputImage = "+inputImage.toString());
// Pre-process TensorImage
inputImage = getProcessedImage(inputImage);
print("inputImage getProcesImage = "+inputImage.toString());

var preProcessElapsedTime =
    DateTime.now().millisecondsSinceEpoch - preProcessStart;
print("preProcessElapsedTime = "+preProcessElapsedTime.toString());
print("_outputShapes = "+_outputShapes![0].toString());
print("_outputShapes = "+_outputShapes![1].toString());
print("_outputShapes = "+_outputShapes![2].toString());
print("_outputShapes = "+_outputShapes![3].toString());
// TensorBuffers for output tensors

/* TensorBuffer outputLocations = TensorBufferFloat(_outputShapes![0]);
TensorBuffer outputClasses = TensorBufferFloat(_outputShapes![2]);
TensorBuffer outputScores = TensorBufferFloat(_outputShapes![1]);
TensorBuffer numLocations = TensorBufferFloat(_outputShapes![3]);
*/
TensorBuffer outputLocations = TensorBufferFloat(_outputShapes![1]);
TensorBuffer outputClasses = TensorBufferFloat(_outputShapes![0]);
TensorBuffer outputScores = TensorBufferFloat(_outputShapes![3]);
TensorBuffer numLocations = TensorBufferFloat(_outputShapes![2]);

print("PASAMOS LOS TENSORESbufer = ");

// Inputs object for runForMultipleInputs
// Use [TensorImage.buffer] or [TensorBuffer.buffer] to pass by reference
List<Object> inputs = [inputImage.buffer];

print("inputs = "+inputs.toString());
// Outputs map
Map<int, Object> outputs = {
  0: outputLocations.buffer,
  1: outputClasses.buffer,
  2: outputScores.buffer,
  3: numLocations.buffer,
};
print("outputs = "+outputs.toString());

var inferenceTimeStart = DateTime.now().millisecondsSinceEpoch;

print("inferenceTimeStart = "+inferenceTimeStart.toString());
// run inference
print("inputs shape= "+inputs[0].toString());
print("outputs = "+outputs.toString());

print('=====================inputTensors=====================');
for (var input in _interpreter!.getInputTensors()) {
  print('$input');
}
print('=====================outputTensors=====================');
for (var output in _interpreter!.getOutputTensors()) {
  print('$output');
}
try {
  _interpreter?.runForMultipleInputs(inputs, outputs);
} catch(e){
  print("Error $e");
}`

@billbch, I think you are using the package tflite_flutter_helper which is depreciated. Insted use tflite_flutter_helper_plus  or manually do the image normalization like I did above before running the intrepreter.

@billbch, I think you are using the package tflite_flutter_helper which is depreciated. Insted use tflite_flutter_helper_plus or manually do the image normalization like I did above before running the intrepreter.

Yes, I have already added a function to convert from uint8 to float32, thanks.
Now I have a new error yuju!
I/flutter (29104): Error RangeError (index): Index out of range: index should be less than 40: 40

I managed to solve the error, now I have a new one yujuu!! hahaha I/flutter (29104): Error RangeError (index): Index out of range: index should be less than 40: 40 At least this gives me a number in the error. Enviado desde Correo para Windows De: Chathura ChamikaraEnviado: Thursday, September 7, 2023 1:35 AMPara: tensorflow/flutter-tfliteCC: billbch; MentionAsunto: Re: [tensorflow/flutter-tflite] Empty predictions (Issue<EMAIL_ADDRESS>I think you are using the package tflite_flutter_helper which is depreciated. Insted use tflite_flutter_helper_plus or manually do the image normalization like I did above before running the intrepreter.—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>


Problem loading postcss example

Hello,
I'm trying to run the postcss example and after running I'm getting this error:
  1 | import _JSXStyle from "styled-jsx/style";
  2 | import React from "react";
> 3 | import _JSXStyle from "styled-jsx/style";
    |        ^
  4 | export default (function (props) {
  5 |   return React.createElement(
  6 |     "div",
    at File.buildCodeFrameError (/Users/ricardorauch/Sites/example.com/node_modules/babel-core/lib/transformation/file/index.js:431:15)
    at Scope.checkBlockScopedCollisions (/Users/ricardorauch/Sites/example.com/node_modules/babel-traverse/lib/scope/index.js:402:27)
    at Scope.registerBinding (/Users/ricardorauch/Sites/example.com/node_modules/babel-traverse/lib/scope/index.js:596:16)
    at Scope.registerDeclaration (/Users/ricardorauch/Sites/example.com/node_modules/babel-traverse/lib/scope/index.js:520:14)
    at Object.Declaration (/Users/ricardorauch/Sites/example.com/node_modules/babel-traverse/lib/scope/index.js:176:36)
    at NodePath._call (/Users/ricardorauch/Sites/example.com/node_modules/babel-traverse/lib/path/context.js:76:18)
    at NodePath.call (/Users/ricardorauch/Sites/example.com/node_modules/babel-traverse/lib/path/context.js:48:17)
    at NodePath.visit (/Users/ricardorauch/Sites/example.com/node_modules/babel-traverse```

Thanks!

I'd removed jsx tag from  and this issue was fixed as temporary solution.
You can figure out will it work for you.

@OlegLustenko then it's not styled-jsx. It's a generic <style/> tag.

Yes Arunoda, you are right

What's the plan here with this?

https://github.com/giuseppeg/styled-jsx-postcss/issues/10


Replaced reference to old GitHub organization

Simply replaced all references to github.com/infludb
with references to github.com/influxdata

This was fixed by https://github.com/influxdata/influxdb/pull/5617.  We were waiting for a large branch to merge before we did this, otherwise we would of merged your PR.  Sorry about the confusion.


Supermium 121 not installing on Windows XP SP3 and Windows Server 2003 SP1/SP2

I'm getting an error about PROPSYS.DLL missing. Copying this library from Windows Vista SP2 to the C:\WINDOWS\system32 folder from Windows XP SP3 did not help, the Supermium 121 installer fails without any errors.
Windows XP SP3 and Windows Server 2003 SP1/SP2 are installed on VMware Workstation v15.5.7.

same issue for me.....
#178

I'm getting an error about PROPSYS.DLL missing. Copying this library from Windows Vista SP2 to the C:\WINDOWS\system32 folder from Windows XP SP3 did not help, the Supermium 121 installer fails without any errors.
Windows XP SP3 and Windows Server 2003 SP1/SP2 are installed on VMware Workstation v15.5.7.

If you download it from the git hub you have to pay for it on win32’s Patreon and download it from there from now on for XP it is paid software for XP only

I'm getting an error about PROPSYS.DLL missing. Copying this library from Windows Vista SP2 to the C:\WINDOWS\system32 folder from Windows XP SP3 did not help, the Supermium 121 installer fails without any errors.
Windows XP SP3 and Windows Server 2003 SP1/SP2 are installed on VMware Workstation v15.5.7.

If you download it from the git hub you have to pay for it on win32’s Patreon and download it from there from now on for XP it is paid software for XP only

Alternatively, you can do some 7-Zip trickery to get Supermium's files from the installer for the excellent price of COMPLETELY FREE!

It is not.

I managed to get the "Supermium 121.0.6167.81 Hotfix" running on my main RealHW XPSP3 x86 dual core with 4GB RAM. I used a bit of extraction of the extraction-tricks mentioned in here to workaround problems of the 32bit installer on XPSP3 x86. There was no need for any payed executable, the official github stuff from win32ss worked fine for me.
When I tried the same within a Virtual machine I wasn't able to succeed though, neither with XPSP3 x86, nor with Win2k3sp2 x86, nor with ReactOS 0.4.15-dev-7557-gc858429 x86 as guest OS.
I stumbled over different issues during the setup: progwrp.dll missing, then propsys.dll missing, then installer crashing with dbglogs, crashing without debuglogs. More extraction games. No success yet from within a VBox4.3.12 VM with ~1000MB RAM, single core CPU emulation. Hope that it will get better by an updated installer.

OK, I finally got it working in a Windows XP 32bit VM, which had 1 CPU assigned, so Supermium was unable to start.
(see my above post).
Assigning 2 CPUs didn't help, because XP didn't recognize that.
See also:
https://forums.virtualbox.org/viewtopic.php?t=39938

If you installed XP with only one processor, and then raised the processor count afterward, XP won't recognize the new processors. You'll have to reinstall. (It has to do with the HAL chosen by XP when it's installed. There's single-processor and multi-processor versions.)

So, it turns out that you can only remedy that by reinstalling.
That is not an option for me.
Then I found this:
Windows XP: changing the HAL to support multiple cores
Downloaded HALu-0.2.0.zip from this virtual box forum thread.
USE AT YOUR OWN RISK!
First try this in a snapshot!
Note, that it may not perform as well as the native install of multi-processor.
Supermium now started. 😀
However performance is worse than on Windows 7 or Vista.
Starting Supermium:

Starting New Moon:

Got the memory consumption back to normal by placing the rebased dll's from this comment next to chrome.exe. 🙂

@EgorKuzevanov can we close this issue as fixed, now that the newer "Supermium 122.0.6261.85" with the new XP-compatible installer has been released? Is it fixed for you?

and we do still need some new fix to make it run on single core CPUs?

The latest Supermium 122.0.6261.85 Hotfix (R2) installs now without error on 1 CPU.
But:
It hangs/freezes very often. 🙁


Check Extra774 checking account creation date instead of last logon date.

Extra774 checks for console login accounts that haven't logged in for 30+ days. But currently the logic is flagging users that haven't been created in the last thirty days.
The check is looking for the date in the 3rd field of the report, but that's the account creation date. it should be the 5th field, which is the "password last used" field.
Pull request for this issue:
https://github.com/toniblyx/prowler/pull/489

https://github.com/toniblyx/prowler/pull/489 was merged. Can this be closed?


Link to troubleshooting broken since main branch change

Steps to reproduce
Tell us about your environment:

Puppeteer version:
Platform / OS version:
URLs (if applicable):
Node.js version:

What steps will reproduce the problem?
Please include code that reproduces the issue.

What is the expected result?
What happens instead?

Since this is already fixed in the source (https://github.com/puppeteer/puppeteer/blob/fdc6fda46eca945f837d70f2457378c3b1a045ea/src/node/BrowserRunner.ts#L227), this will be fixed with the next release. We could set up a master branch as a mirror of main until then, but I'd rather not, since it'd complicate PRs (people might still have an old checkout that sends PRs to master). Instead, let's just publish a patch release asap. @jackfranklin @hanselfmu @OrKoN WDYT?

We need to be careful here not to publish main as is as there's breaking changes due to go out as v5. There's no reason not to publish v5 this week (the breaking changes are very minor).
Or we could branch from the v4 tag and ship 4.0.1 that just fixes this link. What do you prefer?

I was thinking of branching from v4 and shipping v4.0.1, but if we can commit to publishing v5 this week let's do that instead.

Thinking about it, if we want v5 to include our own type defs, we might be pushing it to rush that out this week with other things going on, so v4.0.1 is probably the safest option. No real need to rush a major release out.

This is now fixed in v4.0.1.


handle_committed_entries after saving hard state in examples

Changes
handle_committed_entries after saving hard state in examples.
Reason
Projects might base their consensus thread structure looking at these examples. In production environment most of the projects will not use in memory storage, but will save states on disk. And it is very important to save applied index increase only after the committed index (in hard state) was saved. Otherwise on restart this precondition might be broken, if program stopped in between the lines saving applied index and hard state. In that case Raft lib will fail with panic.

It's true that somehow the apply index should not be larger than the committed index. But it's not required to persist all hard state before applying entries. If all entries are persisted before being applied (which is the default behavior), the only consistency is just commit index instead of the whole hard state. In this case, it's safe to just update the commit index to max(hs.commit, applied) if you are sure the inconsistency is an expected data loss under race (for example, apply entries is written before hard state). This flexibility can improve latency.
All in all, I agree the behavior needs to be better documented, but I don't think it's necessary to always require hard state being persisted before handling committed entries.

I agree that it can be handled in other ways, I guess my main point is about mentioning this in documentation.
If you can suggest where to add it, I think I can do this!

Turns out it's already stated in the docs:

Note, although Raft guarentees only persisted committed entries will be applied, but it doesn’t guarentee commit index is persisted before being applied. For example, if application is restarted after applying committed entries before persisting commit index, apply index can be larger than commit index and cause panic. To solve the problem, persisting commit index with or before applying entries. You can also always assign commit index to the max(commit_index, applied_index) after restarting, it may work but potential log loss may also be ignored silently.

https://docs.rs/raft/latest/raft/
I think this also worths mentioned in the example just right before handling committed entries.