ReferenceError: process is not defined

🐛 Bug Report
When using @svgr/core in browser (built with Vite), I got this error:
ReferenceError: process is not defined

It turns out that @svgr/core depends on cosmiconfig which rely on process.cwd().
To Reproduce
Steps to reproduce the behavior:

clone https://github.com/guoyunhe/toolbox
npm install && npm start
visit http://localhost:3000/svg

Expected behavior
Should work. (SVGO works in browser without any errors or warnings)
Link to repl or repo (highly encouraged)
Please provide a minimal repository on GitHub.
Issues without a reproduction link are likely to stall.
Run npx envinfo --system --binaries --npmPackages @svgr/core,@svgr/cli,@svgr/webpack,@svgr/rollup --markdown --clipboard
Paste the results here:

It seems that I don't need to use @svgr/core. @svgr/babel-preset + @babel/standalone is enough.


Some devices lost after restarting Homebridge

Some Zigbee devices paired to the plugin are lost after restarting the homebridge server.
In my case: a Tradfri bulb and an Aqara Leak Sensor are not displayed anymore while the Hue Outdoor Sensor still works after rebooting.
When trying to pair the devices again, it says that they were not unpaired.
This is the log of the restart process:
[10/19/2021, 06:58:07] [Homebridge UI] Homebridge restart request received
[10/19/2021, 06:58:07] [Homebridge UI] Executing restart command: sudo -n systemctl restart homebridge
homebridge : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/systemctl restart homebridge
pam_unix(sudo:session): session opened for user root by (uid=0)
Stopping Node.js HomeKit Server...
[10/19/2021, 06:58:07] Got SIGTERM, shutting down Homebridge...
[10/19/2021, 06:58:07] [ZigBee] Stopping zigbee service
[10/19/2021, 06:58:07] [ZigBee] Zigbee: disabling joining new devices.
[10/19/2021, 06:58:08] [ZigBee] Stopping http server
[10/19/2021, 06:58:08] [ZigBee] Successfully stopped ZigBee service
homebridge.service: Main process exited, code=exited, status=143/n/a
homebridge.service: Failed with result 'exit-code'.
Stopped Node.js HomeKit Server.
homebridge.service: Found left-over process 30587 (node) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
homebridge.service: Found left-over process 30790 (sh) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
homebridge.service: Found left-over process 30791 (sudo) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
homebridge.service: Found left-over process 30792 (systemctl) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Started Node.js HomeKit Server.
Initializing HAP-NodeJS v0.9.6...
[10/19/2021, 06:58:14] Loaded config.json with 0 accessories and 3 platforms.
[10/19/2021, 06:58:14] Loaded 3 cached accessories from cachedAccessories.
[10/19/2021, 06:58:14] ---
[10/19/2021, 06:58:15] Loaded plugin<EMAIL_ADDRESS>[10/19/2021, 06:58:15] Registering platform 'homebridge-automation-switches.AutomationSwitches'
[10/19/2021, 06:58:15] ---
[10/19/2021, 06:58:15] Loaded plugin<EMAIL_ADDRESS>[10/19/2021, 06:58:15] Registering platform 'homebridge-config-ui-x.config'
[10/19/2021, 06:58:15] ---
[10/19/2021, 06:58:22] Loaded plugin<EMAIL_ADDRESS>[10/19/2021, 06:58:22] Registering platform 'homebridge-zigbee-nt.ZigbeeHomebridgeNTPlatform'
[10/19/2021, 06:58:22] ---
[10/19/2021, 06:58:22] Loading 3 platforms...
[10/19/2021, 06:58:22] [Config] Initializing config platform...
[10/19/2021, 06:58:22] [Config] Spawning homebridge-config-ui-x with PID 30817
[10/19/2021, 06:58:22] [ZigBee] Initializing ZigbeeHomebridgeNTPlatform platform...
[10/19/2021, 06:58:22] [ZigBee] Initializing platform: ZigBee - v2.5.4 (API v2.7)
[10/19/2021, 06:58:22] [AutomationSwitches] Initializing AutomationSwitches platform...
[10/19/2021, 06:58:22] [AutomationSwitches] AutomationSwitchesPlatform Plugin Loaded - Version 3.2.1
[10/19/2021, 06:58:22] [AutomationSwitches] Found automation switch in config: "Fenster Timer"
[10/19/2021, 06:58:22] Initializing platform accessory 'Fenster Timer'...
[10/19/2021, 06:58:22] [ZigBee] Loading accessory from cache: zigbee:permit-join
[10/19/2021, 06:58:22] [ZigBee] Loading accessory from cache: zigbee:touchlink
[10/19/2021, 06:58:22] [ZigBee] Loading accessory from cache: 0x001788010649a76c
Preparing Advertiser for 'Homebridge BAFE' using ciao backend!
Setup Payload:
X-HM://0024PGTZW219P
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:

Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:

    ┌────────────┐
    │ XXX-XX-XXX │
    └────────────┘

Starting to advertise 'Homebridge BAFE' using ciao backend!
[10/19/2021, 06:58:23] Homebridge v1.3.5 (Homebridge) is running on port 51826.
[10/19/2021, 06:58:23] [ZigBee] Configured port for ZigBee dongle is /dev/ttyACM0
[10/19/2021, 06:58:23] [ZigBee] Initializing ZigBee controller on port /dev/ttyACM0 and channels 11, 25 (pan ID 6754)
[10/19/2021, 06:58:27] [ZigBee] Successfully started ZigBee service
[10/19/2021, 06:58:27] [ZigBee] ZigBee platform initialized @ 0x00124b0014d9a2d0
[10/19/2021, 06:58:27] [ZigBee] Reuse accessory from cache with uuid 6895c160-ba25-497f-b805-38071c751c56 and name zigbee:permit-join
[10/19/2021, 06:58:27] [ZigBee] Zigbee: disabling joining new devices.
[10/19/2021, 06:58:27] [ZigBee] PermitJoin accessory successfully registered
[10/19/2021, 06:58:27] [ZigBee] Reuse accessory from cache with uuid 4994893c-ea77-4292-a4ad-09e1f36f7099 and name zigbee:touchlink
[10/19/2021, 06:58:27] [ZigBee] TouchLink accessory successfully registered
[10/19/2021, 06:58:27] [ZigBee] Initializing ZigBee device: 0x001788010649a76c - SML002 - Philips
[10/19/2021, 06:58:27] [ZigBee] Reuse accessory from cache with uuid 49f2bbbd-f750-425f-bdd1-411450df10d7 and name 0x001788010649a76c
[10/19/2021, 06:58:27] [ZigBee] Registered device: 0x001788010649a76c Philips SML002
[10/19/2021, 06:58:27] [ZigBee] Mounting device 0x001788010649a76c...
[10/19/2021, 06:58:27] [ZigBee] Starting WEB UI on port 9000, host is set to <IP_ADDRESS>
[10/19/2021, 06:58:27] [ZigBee] WebSocket server started @ null
[10/19/2021, 06:58:27] [ZigBee] WEB UI Listening on port 9000
[10/19/2021, 06:58:32] [Homebridge UI] Homebridge Config UI X v4.41.2 is listening on :: port 8080
[10/19/2021, 06:58:49] [ZigBee] Accepting joining whitelisted device '0x001788010649a76c'
[10/19/2021, 06:58:50] [ZigBee] Device announce: 0x001788010649a76c (Philips - SML002)
[10/19/2021, 06:58:50] [ZigBee] Mounting device 0x001788010649a76c...
[10/19/2021, 06:58:51] [ZigBee] Accepting joining whitelisted device '0x001788010649a76c'
[10/19/2021, 06:58:51] [ZigBee] Device announce: 0x001788010649a76c (Philips - SML002)
[10/19/2021, 06:58:51] [ZigBee] Mounting device 0x001788010649a76c...
[10/19/2021, 06:59:12] [ZigBee] Cannot set property 'configured' of undefined
(node:30793) UnhandledPromiseRejectionWarning: TypeError: Cannot set property 'configured' of undefined
    at ConfigurableAccessory.set isConfigured [as isConfigured] (/usr/local/lib/node_modules/homebridge-zigbee-nt/src/accessories/zig-bee-accessory.ts:209:46)
    at ConfigurableAccessory.<anonymous> (/usr/local/lib/node_modules/homebridge-zigbee-nt/src/accessories/zig-bee-accessory.ts:178:28)
    at Generator.next (<anonymous>)
    at fulfilled (/usr/local/lib/node_modules/homebridge-zigbee-nt/dist/accessories/zig-bee-accessory.js:5:58)
(node:30793) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:30793) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:30793) UnhandledPromiseRejectionWarning: TypeError: Cannot set property 'configured' of undefined
    at ConfigurableAccessory.set isConfigured [as isConfigured] (/usr/local/lib/node_modules/homebridge-zigbee-nt/src/accessories/zig-bee-accessory.ts:209:46)
    at ConfigurableAccessory.<anonymous> (/usr/local/lib/node_modules/homebridge-zigbee-nt/src/accessories/zig-bee-accessory.ts:178:28)

(the last part of the log repeats every few seconds)

Should be fixed in version 2.5.5

I have the exact same problem with LIDL accessories (Bulb and outlet tested, see: https://www.lidl.be/h/fr-BE/maison-connectee/h10005939?price=8+-+31).
The whole thing can be driver by the Tuya application, so I think it's a rebranded stuff.


Pin openff_units

Description
Fixes issue with openFF units.
Developers certificate of origin

[X] I certify that this contribution is covered by the MIT license as defined in our LICENSE and adheres to the Developer Certificate of Origin.

Should be fixed now as offending build has been pulled.


Remove lodash/underscore/Jquery from expensify-common

Fixed Issues
https://github.com/Expensify/App/issues/42494
Tests

What unit/integration tests cover your change? What autoQA tests cover your change?
What tests did you perform that validates your changed worked?

QA

What does QA need to do to validate your changes?
What areas to they need to test for regressions?

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

recheck

@puneetlath can you test these changes out in other repositories, please? Let's make sure we don't create any regression

@puneetlath bump

I can review this one as C+ @puneetlath

@puneetlath I'm happy to do so - either instead or in addition - but let me know if you want to be the official reviewer here since it looks like you have the context!

Ah yeah, here's the slack convo:
https://expensify.slack.com/archives/C02NK2DQWUX/p1717682904827949

@dangrous yeah I can take this one since I'm assigned to the issue. Though you're welcome to review as well if you like!

Linting is failing @Skalakid

@hungvu193 You can continue reviewing it's connected to this (@Skalakid needs to restore the rule)

Looks good to me as well!

@hungvu193 @blazejkustra All lint errors should be fixed now and I uninstalled underscore library. For now we should leave lodash and jQuery because it's hard to remove them without testing and access to the repos that use them.
I migrated the most important files like: ExpensiMark, str etc to not use these libraries, so @tomekzaw can workletize this library

@puneetlath @dangrous What are the next steps here?

I am closing this PR since I created a rebased version of it, that has all commits signed. Please continue reviewing/discussions in the new PR


Default merge concurrency

hum, these changes seems to also be in #4754, maybe this PR can be closed in favor of the larger one?

I put one on top of the other yes. sry


[FLINK-17119][python] Add Cython support for composite types

What is the purpose of the change
This pull request will support complex DataTypes in Cython
Brief change log

Add the cython implementation of complex DataTypes

Verifying this change
This change added tests and can be verified as follows:

Added ut test in test_fast_coders.py

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

@flinkbot run azure

https://dev.azure.com/hxbks2ks/FLINK-TEST/_build/results?buildId=97&view=results

The Azure Python test failed has nothing to do with this PR. That fail will be fixed in the JIRA https://issues.apache.org/jira/browse/FLINK-17188
About to thi PR, the test passed in my private Azure CI https://dev.azure.com/hxbks2ks/FLINK-TEST/_build/results?buildId=97&view=results


export ids during tokenisation

optionally, export ids during tokenisation

Thanks Craig!
I'm not sure of the purpose of this:
if with_ids:
    #the masking code assumes that args.mask_punctuation is false.
    assert len(self.colbert.skiplist) == 0

Seems related to what we discussed by email. But we're moving in the direction of having masking punctuation as a default and discouraging keeping them. This may conflict with that. Thoughts?

Good question, I'll look into this tomorrow.

By the way, and this is a bit off topic for this PR, can we remove the setup.py file? Are there still use-cases where pip is essential?

Sorry for latency - other pressures.
I'm keen to keep setup.py. See for example: https://colab.research.google.com/github/cmacdonald/pyterrier_colbert/blob/main/vaswani.ipynb (or equivalently https://github.com/terrierteam/pyterrier_colbert/blob/main/vaswani.ipynb)
Our pyt_colbert wrapper just expresses a dependency on (our current fork) of Colbert.


Create adopter requirement list

Based on the discussion, we need to create guidance for our adopter groups to make sure they know what they need to do to adopt Carbon.

Drupal adopter, leading them to the Drupal website for guidelines.
The rest of the adopters, create a minimal requirement list to help them creating IBM.com pages and experience.

Prior discussion detail can be viewed #311

@jimpistilli We talked about we need to craft the paragraph/message to be added to the Get Started/Overview page for adopters to find the information they need. I think I need to have the requirement list gathered before you can start. Please hold on and I will reach out when I have the detail.

@jimpistilli Can you take a look at the content below and make any adjustments to make sure we are good to publish it on the website?
(Section title)
Various paths for the adoption of Carbon across IBM.com
(Content)
For pages produced and published in the Marketing Platforms Drupal CMS, there is the Web Simplification path:
Carbon will be made available through the creation of web simplification templates. The use of these templates as they become available is the path to Carbon because these templates are part of a new content model and publishing tool and have been studied and researched for their overall effectiveness. For more information, details are provided here: https://w3.ibm.com/w3publisher/template-simplification
In the interim, while these templates are being designed and built-in CMS, page owners can use the Design Guidelines to configure existing pages to have the look and feel of IBM Design Language. Those Design Guidelines can be found here: https://w3.ibm.com/w3publisher/squad-pulse/marketing-platforms/drupal-cms#Links
For websites or applications built using v18 (Northstar), v19a, or earlier, there is the IBMcom Library path:
This website explains how to get started with the IBMcom Library. It provides links to the code repository, the storybook, usage guidelines, and additional resources for getting started. Keep in mind the following things as you get started:

Carbon and IBMcom Library is built using Node Package Manager (NPM), not the Content Delivery Network (CDN), so it requires a complete development rewrite, unlike prior design systems.

Carbon has a new 2x grid so everything needs to be designed understanding that grid.

It is open-source, so any adopters are invited to contribute to the open-source IBMcom Library

To assist adopters through this transition, Digital Design squad can consult with a team as they are getting started or as they are ready for review. Reach out on our slack channel at #ibm-digital-design.

@JennySanchez Please visit the box link for an updated version that has some minor edits and corrections:
https://ibm.box.com/s/gnepzc9e8zoc0yq5ep7rarepw23snopb

Content published and the deploy preview can be viewed here.

Content showing up on the live website and can be viewed here.


append() bug

append() function not work with multiple values in the custom jquery ($$)

For example?

$(".skills").append(skill1, skill2, skill3, skill4, skill5);
In this case I had to use regular jquery because with $$ it wasn't working

Well, Dom7 offers just a very small subset of jQuery, so if you want all of jQuery's features, you have to import jQuery which should be no problem.

ok, the fix was rather simple, I just added another for loop, see https://github.com/nolimits4web/Framework7/pull/1307


ref_latents

This cannot be connected, how should I solve it?

I would also like to know

Same

delete the StyleAlignedSampleReferenceLatents node that was from the example, and manually add a new one then it would connect:


Problem with number format

Hello all,
I'm in big trouble, The issue I am running into is integrating this cart library with a payment service such as payumoney which expects the order total to be expressed in the string format( Amount is the total amount of the transaction (greater than 0) in INR, without a currency symbol or other non-numeric character. Only a decimal allowed). i'm updating the number format in cart config file(cart.php) and remove "," on thousand_separator. Now the cart::total() is converting to 1, 503.00 to 1503.00
so payumoney does not accept this but the magic think is this when the cart:total() is in three digit means 840.98 or 999.57 this amount is accepted by the payumoney.
please help me, thank you in advance @Crinsane @jmarkese

So what is the exact format that you need to provide to the payment provider? Say the price is 1200.99 dollars, what must the format be?

Here's how we called the method as a workaround to format the total for our Stripe payment gateway:
$total = Cart::total(null,null,'');

Okay, so for the time being please use the workaround @jmarkese gave. This is even more reason for me to strip out this 'number_format' feature. It really seems to give me more troubles that it actually solves...

For the alternative https://github.com/bumbummen99/LaravelShoppingcart which is the forked project of https://github.com/Crinsane/LaravelShoppingcart and also support the latest Laravel versions.
There is a method called Cart::totalFloat() which will return you float value for the cart total.


doc link fix

regarding: https://github.com/open-cluster-management/backlog/issues/14239
Signed-off-by: randybrunopiverger<EMAIL_ADDRESS>Added links to submariner, and cluster claims

/hold

/cc @KevinFCormier @jamestalton

/lgtm

/unhold


doc: add type signature for TaskEither in module intro

Thanks for this excellent and remarkably complete library!
This adds the type signature of TaskEither to the introductory
paragraph on the TaskEither page in a way that aligns with the Task
docs, which also have the signature at the top.
I'm opening this because when I first used TaskEither, I hadn't used
Task yet, either, and I didn't realize how to get the promise out of
it. I started out by looking for some kind of destructor method rather
than thinking it was callable. It was only when I looked at the Task
documentation that I realized it should be callable.
It's possible that if the top of the file had directed me that it was
an extension of Task, I might have figured it out sooner. I should
have thought to look down around line 860, where the existing docs
describe the signature, but I did not. Of course, it's also possible I
wouldn't have, so no worries if you don't feel like this is worth
adding.

Thanks @mplanchard


WIP: charts: preserve secrets when upgrading chart in unsafe mode

Building on top of https://github.com/timescale/timescaledb-kubernetes/pull/308.
Following changes were done to timescaledb-single helm chart:

Moved management of secrets into helm chart
Removed kustomize directory and its contents
Removed shell script to generate kustomizations
Replaced secretsNames variable with secrets in values.yaml
Updated values.yaml schema
Removed unsafe_credentials template.
Added 3 templates to handle secrets. Values for those secrets are present in .Values.secrets.

Secrets created by the chart are immutable to helm and helm update won't replace them. I wonder if some of those secrets should be also immutable to kubernetes (for example patroni credentials) by using https://kubernetes.io/docs/concepts/configuration/secret/#secret-immutable. @feikesteenbergen WDYT?

CI is not running due to https://github.com/timescale/timescaledb-kubernetes/pull/313

We will need to change this as well:
https://github.com/timescale/timescaledb-kubernetes/blob/master/charts/timescaledb-single/README.md#installing

@feikesteenbergen docs are updated now.


session.StoreObjects and versions

Currently there's not any straight forward method for storing multiple objects while supplying version information.
I ended up having to write code ala
private MethodInfo storeGeneric = typeof(IDocumentSession).GetMethods()
.Where(x=> x.Name == nameof(IDocumentSession.Store))
.Single(x=>
{
var @params = x.GetParameters();
return @params.Length == 2 && @params.Last().ParameterType == typeof(Guid);
});

void StoreGeneric<T>(IDocumentSession session, T document, Guid version)
{
    var invoker = storeGeneric.MakeGenericMethod(document.GetType());
    invoker.Invoke(session, new object[] {document, version});
}

So i could use it similar to
using (var session = _store.LightweightSession())
{
    foreach (var document in documents)
        //session.Store(document, Guid.Empty);
        StoreGeneric(session, document, Guid.Empty);

    session.SaveChanges();
}

This works.
But i think the true underlying issue is that session.Store does not invoke GetType() and instead infers it off the T argument. This breaks down when you have the scenario that ends up being equivalent to Store( (object)foo )
Maybe there should be an overload to Store with a signature akin to  Store(Type, object, Guid).
Alternatively, maybe a solution would be to check if T == object or if T is interface to directly call GetType(). [Reviewing the source, i see it does if (typeof (T) == typeof (object)) {       this.StoreObjects(entities.OfType<object>()); i'm not really sure this is optimal behavior]
I feel like there's some potential pitfalls with typing depending on how the document object is currently casted when it's passed to Store. I had encountered exceptions when i was originally trying to persist disparate object types in a single method call, which i went down the MakeGenericMethod route which made things happy.

What kind of signature would you want? Not sure how you'd do that w/o it being awkward

Probably just Store(Type type, object obj, Guid version)
This leaves it up to the user to implement a StoreObjects method that is aware of version in terms of their own business domain. (In my domain i'm using IVersionedDocument : IDocument, i agree it would be weird to attempt to force this into anything)
The one other alternative I see would be
StoreObjects(params Tuple<object, Guid>[] documentAndVersion)
However this option is somewhat poor in my opinion.

Going to veto the 2nd option as just too ugly
The 1st sounds like a good pull request for 1.3;)

I concur with your conclusion on option 2.
So in the database i see there is a persisted "mt_dotnet_type" string column.  I also see there's a relationship between the type name and the table name.
How do these two mix together when you have polymorphism? Suppose you have the textbook Cat : Animal, Dog : Animal.
With Store(Type type, object document, Guid version) I could easily write
Store(typeof(Animal), cat, Guid.Empty);
Store(typeof(Animal), dog, Guid.Empty);

or
Store(typeof(IAnimal), cat, Guid.Empty);
Store(typeof(IAnimal), dog, Guid.Empty);

This would (seemingly) allow me to persist document hierarchies in a single pg table. For this to work right the dotnet_type would need the correct clr type that it could be deserialized.
Does Marten have any concepts related to this yet? That a single pg table could hold more than 1 dotnet type?

Marten already supports that w/ just a little bit of human intervention: http://jasperfx.github.io/marten/documentation/documents/advanced/hierarchies/

I'm shutting this down to a lack of activity.


added types

As part of HedgeDoc we wrote these type definitions to use this library, but we think they would have a far better home in this repository.

Since I'm not a TypeScript user, would you be open to maintain the types for flowchart.js if I merge this PR?

As I intend to use them, yes, but I'm not sure these types cover everything the lib can do. Currently it only covers the parse function and it's parameter and output

It's more, if there's a GitHub issue concerning TypeScript, you could look at it.
What do you think?

Feel free to assign me those. I'll try to catch them myself if I can.

awesome, thx

included in v1.14.2

The  types has tons of problems @DerMolly .  You broke my whole environment. You should make a full test before submitting this PR.
First of all, the drawSVG funtion supports both id and Element,
So
drawSVG: (container: HTMLElement, options: Options) => void,

should be:
drawSVG: (container: HTMLElement | string, options: Options) => void,

Also There are tons of options

So what's this? Are you kidding me?
  export type Options = {
    'line-width': number,
    'fill': string,
    'font-size': string,
    'font-family': string
  }

And the most important thing is you should use interfaces, not types, in order to let other usesr extend them in their own ts files.
If you write like this:
  export interface Options  {
     // ...
  }

Then users like me should be able to extend the interface rather than making this comment with anger.

declare module "flowchart.js" {
  export interface Options  {
     // ...
  }
}

The author do not have any faults, since he don't know typescript, but you should think about your behavior, sending this joke PR. If you are typescript newcomers, you should ask for help, rather than writing a few lines just to met your needs and make this PR without full test! 💢
I will make a PR to fix this later.@adrai But I suggest you publish 1.14.3 to revert this PR.
Adding types should be breaking changes, if you don't want to raise to V2, at least you should publish has 1.15.0. I believe there are a lot of users who will write their own typescript declaration files. And the official type files must be conflicted with some peoples's files.

I make no offense, I won't be anger if there are a few mistake in this declaration files, but the file you create 's sytax really has a lot to problems, making me feel you are a newcomers for typescript. Also, lack of usaging checking and the poor Option type really make me feel this is a joking PR. If you ever checked the website, the Option type shouldn't be that simple.

Sorry to have caused you problems. I honestly just wanted to share what we wrote for our project as I belive that any types are better than none, but I can understand your frustration. Do you have time to fix that now or should I do it?

I am rebuilding types files, and I will make a PR later. 😃 I clam down now. Hahaha
Just be carefully and make a full test before making PRs (❁´◡`❁)

Looking forward to your PR then

If it is better to not have any types, I would just revert that PR and never include any type.
Just let me know.

It's better to include types, just like other repos, but the type should be fully checked. Also, at least the minor version code should be changed. So could you release 1.14.3 to revert this PR, and wait for my PR to release 1.15.0 including types again?
Since flowchart is really lack of documentation, I would prefer reading through the codes before making the final PR. It will take some time, maybe one day or two prehaps.

By the way, is all options including in https://github.com/adrai/flowchart.js/blob/master/src/flowchart.defaults.js @adrai

should be, yes ( it's a really old code base ;-) )

Ok, I've published a new version v1.14.3


Allow moving the focus to the log panel

Currently the only way I can move the focus to the log panel is by clicking it with the mouse. This is very counter intuitive for a console application.
If tab could move the focus there, shift+tab could move the focus back as well.

You can select the log panel by clicking F4, however i think this issue shows a more general problem with the TUI. Unintuitive shortcuts all over the place, and these shortcuts being the best way to do things.
A few other examples of this come to mind immediately:

Tab to move between views
F7 to select the top toolbar
Space to move steps around
Escape to exit some menus
Space to toggle boolean properties, but only after opening the property editor with enter

Closing as this is a non issue after making a help menu #43


Added global variable to check if upload window is open.

Fixes this issue according to the method mentioned by @humphd here

Hey @humphd
Sent a P.R. Here. Thanks for reviewing.
The function show now returns the uploadDialog instance now.


comment referencing wrong package

Got me a bit confused for a sec. Thought I'd make this PR.
Also is there a reason to not import it from the UI package?

Oh yes, good catch. It was probably done by VSCode auto-import. It should be referencing the UI library for consistency.
Wanna make a PR?

Done


exec details in context menu

Thye tray exec has all the usual details when a context menu is brought up. The primary exec, however, has none.
If an installation already exists, a new effort will 'update' only.
The promary exec needs to have the version number so the installation status can be determined.
Allowing a new install to 'overwrite' a previous install, or remove a previous install, but keep the data, would be a good addition.

First part:

Second part:
When I install jellyfin and an installation already exists, the app will offer to 'update' or 'cancel.'
A useful change would be to allow the existing install to be removed/uninstalled by the app.
Not really a needed change but possibly useful.

For the application properties, thanks for the heads up. I'm not sure why that's not being populated, so I can dig in to .NET apps and verify.
For the install part, there is an uninstaller - this is what gets called if you go to the Control Panel > Add/Remove Programs section, or the Settings > Apps section, and choose "Uninstall". It gives you the option to uninstall and keep your user data, or to uninstall and remove user data. Is that what you're looking for?


Help refactoring

Help has a few problems.

The help document is shared. Somebody else opening the doc breaks the docs for others.
An indication to press the emojis to be added

This is done


Getting bluetooth info in angular app

Does this package work on angular app?
I tried to build one after install the package, but the console return nothing (sample code below)
https://codesandbox.io/s/bluetooth-7-vjh3h?file=/src/app/app.component.ts
Thanks

@weilies no, unfortunately not. This would be a big security issue if you would allow any web app to access detailed OS and system information. See also docs, where is says that this is only intended to be used server side. https://systeminformation.io/gettingstarted.html


signalbackup-tools: 20240314 -> 20240318

Description of changes
Update to latest version. No changes that effect build.
Diff: https://github.com/bepaald/signalbackup-tools/compare/20240314...20240318
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.


Update StakerHouse.toml

Description
All previous genesis validators should name their PRs "Update {validator_alias}.toml for tesntet-15" and provide links to previous PRs merged.
https://github.com/anoma/namada-testnets/pull/1108
https://github.com/anoma/namada-testnets/pull/1286
https://github.com/anoma/namada-testnets/pull/1521
https://github.com/anoma/namada-testnets/pull/1912
If this is an UPDATE for a previous genesis validator
Checks are made against your net_address. If this has changed since the previous testnet, make sure you provide links of previous prs merged from your previous git username.
Thanks in advance!
Checklist before merging

[ ] Only one toml is added in this PR
[ ] The file being added is indeed a .toml file
[ ] The toml being added is to the correct folder, and only to the correct folder
[ ] The eth_hot_key and eth_cold_key are present
[ ] The email, discord, elements telegram, and twitter fields are present and valid

Successfully validated transactions.toml file for commit hash 03db6f3


Improve handling of VCAP_SERVICES

In preparation for having multiple different Redis instances, this
tidies up how we load service configuration from Cloudfoundry's
VCAP_SERVICES env variable.
(Shamelessly stolen from a previous project I worked on!)

Review app deployed to https://teaching-vacancies-review-pr-2734.london.cloudapps.digital

Review app deployed to https://teaching-vacancies-review-pr-2734.london.cloudapps.digital


KeyError: 'eye_distance', in regress_kp(batch_list), celeba_wild.py.

In regress_kp(bctch_list) from celeba_wild.py, there are only 2 keys 'det_keypoints' and 'keypoints'.
Should I add "'eye_distance': batch['eye_distance'].cpu()" to line 93 of model.py which is originally  "out_batch = {'keypoints': batch['keypoints'].cpu(), 'det_keypoints': kp.cpu()}"?

Yes. You will need eye_distance during inference. I think it can also be inferred from the GT keypoints, but I seemed to forget to modify the dataset-specific testing code.


Kanban Board Setup

Kindly find our Github Repo for review on the Kanban board setup.
We are 2 people collaborating on this project.

Kindly find our updated Github Repo for review on the Kanban board setup.
We are 2 people collaborating on this project.

Hi @BenMKT & @waelelsafty07,

Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Highlights
✅ You used Gitflow correctly
✅ No linter error
✅ Good commit messages
✅ Good descriptive PR
✅ Added the To Do column to the board
✅ Added the In Progress column to the board
✅ Added the In Review column to the board
✅ Added the Done column to the board
✅ Assigned tasks equally
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will improve your application.
Cheers, and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Enhance the Validate XML query process

The Validate XML query process only checks whether the XML query entered into the input field conforms to the XML schema. Should we also compile the query to identify more possible errors when clicking this button (like incorrect names and namespaces of features and attributes, incorrect XPath expressions, data type issues, etc.)? Not sure if this is easy to implement though.

Implemented with #238


Asynchronous support

Asynchronous python support
Instead of MyModel.objects.get(1) it will be await MyModel.objects.get(1).
I guess that I'll have to make a new AsyncManager and a new AsyncBase and use asyncpg as the databse library

I'm not sure how the design in going to be with asynchronous support

Started working on this

Added AsyncModel and AsyncManager but most of the features are broken, I will fix those bugs tomorrow

Added async support, haven't discovered any issues/bugs in AsyncModel and in AsyncManager, should be fine


Run tf_upgrade.py from main TF repository to add support for TF1.0

https://github.com/tensorflow/tensorflow/tree/master/tensorflow/tools/compatibility

Thanks for the pull request.
This will fix some compatibility issue, but there are more to be fixed to make it run with TensorFlow 1.0. Adding this now without fixing other parts will make it not runnable in both TF 1.0 and TF 0.10.
So I will leave the code as is for now since this way it is still runnable in TF 0.10, and add your pull requests when I fixed other parts to move to TF 1.0.

Hi @crazydonkey200, any update or ETA on the port to TF 1.0?
Cheers!

Sorry for the wait. Now the code runs with TensorFlow 1.0.


add iframe removal and block new ads/popups

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[x] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

The PR fulfills these requirements:

[x] All tests are passing
[ ] New/updated tests are included

Describe you PR:

@WEBhicham @densityx I went ahead with the merge (I verified it in chrome62 and ff57)


Failed to access microphone on jitsi conference

Describe the bug
Users can connect to the live conference but can not activate their mic. Even not if they are the current speaker.
(see screenshots)
How to Reproduce
Configuration:
    JITSI_DOMAIN: "fairmeeting.net"
    JITSI_ROOM_PASSWORD: ""
    JITSI_ROOM_NAME: "anythingyoulike124567890987654321"

(same error with meet.jit.si)

Log in as user in group "delegate"
Connecto to live conference
Add yourself to the list of speakers
wait until a moderator starts your speaking time
Try to activate the mic

Expected behavior
The user should be able to activate the mic but openslides seems to prevent that. If the jitsi conference is accessed directly without openslides, activating the mic works without errors from the same browser.
System information

OpenSlides-Version: latest master branch; docker-compose set-up
Additional version information (if any): commit d2043f508cd2ec328e4a1f64946c36502a4a7b24
Device: any (tested with several PCs and Smartphones)
OS: any (tested with Android, Windows)
Browser: any (tested with Chrome and FF)

Screenshots

This is local System Error or Jitsi-Meet Error, not an OpenSlides Error. Catching the microphone works fine from OpenSlides, if your web browser is able to access it at all.

Shouldn't OpenSlides work fine with Jitsi-Meet?

it does.

didn't work for me. decided to use another solution!

Thats good. Did any other WebRTC Microphone access work for you? If so, you might still fail due to a configuration on your system.
In your condition, both "fairmeeting.net" and "meet.jit.si" will be third parties which require special cookie access which is often deactivated.

In any case, your issue dies not indicate a reproducible error.


How to properly use the DeepFactorEstimator?

I'm currently working on a problem for which (I think) the DeepFactorEstimator would be a good fit.
Since I was not able to produce resonable results, I went back to the electricity dataset in which the DeepFactorEstimator, according to the "DeepFactor for Forecasting" paper, showed good performance.
Unfortunately my results are not even close to the results reported in the paper (MAPE of DeepAR ~0.272+-0.078, MAPE of DeepFactor 0.112 +-0.012).
Below you can find the results of DeepAR and DeepFactor that I run. DeepAR is much better than reported in the paper, but results of DeepFactor are terrible.
What am I doing wrong?
Results from DeepAR:

MASE: 0.9355505522219449
MAPE: 0.10065016337373792
sMAPE: 0.1194762484355239
QuantileLoss[0.1]: 13170011.724641949
QuantileLoss[0.9]: 25599926.93581094
Coverage[0.1]: 0.03719774514167038
Coverage[0.9]: 0.8366340305592641

and DeepFactorEstimator

MASE: 35.23259980872068
MAPE: 6.789305935703429
sMAPE: 1.0137435779683674
QuantileLoss[0.1]: 227314447.33551025
QuantileLoss[0.9]: 511438013.5109009
Coverage[0.1]: 0.7345287543885675
Coverage[0.9]: 0.7475955595114473

from gluonts.dataset.repository.datasets import get_dataset
from gluonts.evaluation import Evaluator
from gluonts.evaluation.backtest import make_evaluation_predictions
from gluonts.model.deep_factor import DeepFactorEstimator
from gluonts.model.deepar import DeepAREstimator
from gluonts.trainer import Trainer
from gluonts.mx.distribution import StudentTOutput

dataset = get_dataset("electricity")
metadata = dataset.metadata

deepar = DeepAREstimator(
    freq=metadata.freq,
    prediction_length=72,
    context_length=168,
    num_layers=1,
    num_cells=50,
    cell_type="lstm",
    dropout_rate=0.1,
    scaling=True,
    distr_output=StudentTOutput(),
    trainer=Trainer(),
)

deepfactor = DeepFactorEstimator(
    freq=metadata.freq,
    prediction_length=72,
    context_length=168,
    num_layers_global=1,
    num_hidden_global=50,
    num_factors=10,
    num_layers_local=1,
    num_hidden_local=5,
    cell_type="lstm",
    distr_output=StudentTOutput(),
    trainer=Trainer(),
)

def main(estimator):

    predictor = estimator.train(
        training_data=dataset.train, num_workers=8)

    QUANTILES = [0.1, 0.9]
    evaluator = Evaluator(
        quantiles=QUANTILES,
        num_workers=8
    )

    forecast_it, ts_it = make_evaluation_predictions(
        dataset=dataset.test,
        num_samples=200,
        predictor=predictor,
    )

    forecasts = list(forecast_it)
    tss = list(ts_it)
    agg_metrics, item_metrics = evaluator(tss, forecasts)

    metrics = [
        "MASE",
        "MAPE",
        "sMAPE",
    ] + \
        [
        f"QuantileLoss[{QUANTILES[i]}]" for i in range(len(QUANTILES))] + \
        [
        f"Coverage[{QUANTILES[i]}]" for i in range(len(QUANTILES))
    ]

    for metric in metrics:
        print(f"{metric}: {agg_metrics[metric]}")

if __name__ == "__main__":

    main(deepar)
    main(deepfactor)

I've figured out, that I have to set cardinality to the number of time series in the training dataset.

DeepFactorEstimator no scaling.


Revoke review

Hi,
Just fixed a bug in my plugin, but cannot update it in the webstore, since it's under review. Maybe it's good to have the option the revoke a review request?
Anyway: can you reset the state for GoToOwningPublication plugin?
Thanks,
Guus

Hi Guus!
I went ahead and canceled the review so its back in development status! There currently is an option to revoke but its a web store only feature (currently can't be done from VS), and its only on the actual Edit Plugin Version page so probably not the most straight forward to get to.

I'll leave this open as we're somewhat remodeling the review system right now, and we'll make sure to make it easier to manage / modify your plugins currently in review (and possibly be able to revoke from the Upload Dialog as well).

Thanks for pointing that out.. I will update my plugin and submit it for review later..
BTW, I don't know if this is correct channel: I really appreciate the work and effort you're putting into this. Superb!

This is a good channel for items like this, anything to do with potential issues/bugs, missing features, or new feature requests (so if there's anything you'd like to see feel free to add it as a new issue)! :)

Attaching to 0.8 milestone, this issue is directly related to #111


[main] Upgrade to latest dependencies

Cron. -knative-prow-robot
/cc knative-sandbox/source-wg-leads
/assign knative-sandbox/source-wg-leads
Produced via:
./hack/update-deps.sh --upgrade --release v0.22
./hack/update-codegen.sh

Details:
bumping knative.dev/eventing-kafka 5d8683b...5a79b3b:
  > 5a79b3b reduce apiserver requests for dispatcher (# 456)
  > 71b15aa Add label selector to enable HPA to scale Kafka source (seond attempt) (# 458)
  > f7a8399 Update common github actions (# 457)
  > 9c479e0 fix codeowners for the mtsource code (# 454)
bumping knative.dev/eventing ec309b1...248cd1b:
  > 248cd1b Add query for doc issues that eventing eng. attention (# 5074)
  > 2b95fce upgrade to latest dependencies (# 5060)
  > 4cbc070 Timezone not added to schedule in runner.go # 5058 (# 5059)
  > 3b42737 Smoke Tests on SinkBinding (# 5049)
  > 6cefb29 smoketest a channel (# 5052)
  > f80dc0c upgrade to latest dependencies (# 5056)
  > 52757a6 Format markdown (# 5055)
  > c8bfaea upgrade to latest dependencies (# 5054)
  > 9be1470 Update common github actions (# 5053)
  > 4c5b31b upgrade to latest dependencies (# 5045)
bumping knative.dev/eventing-awssqs c257ed0...08ee35c:
  > 08ee35c Update common github actions (# 66)
  > efe87cc upgrade to latest dependencies (# 64)
bumping knative.dev/eventing-redis 0ff3e98...95c78c1:
  > 95c78c1 upgrade to latest dependencies (# 110)
  > 9460755 Update common github actions (# 111)
bumping knative.dev/pkg bbe0bb3...6a33a1a:
  > 6a33a1a Upgrade a few assorted dependencies (# 2058)
  > 4048853 Drop master references to knative repos (# 2050)
  > c326b70 Add RunAndSyncInformers helper that makes sure informers are synced in tests (# 2055)
  > 9eeb66f Update common github actions (# 2056)

/lgtm
/approve


1 input -> next predicted output

Hi
thank for your code
i want only predicted output which is predicted based on previous input sequence
not to compare actual and predicted output
to predict future situation just using present situation
how can i do this??
Thx.

Hello, are you saying you just want to predict multiple steps ahead?

You can do that by feeding 'prediction' frame back as input frame in a loop of n steps. However, I don't think the prediction result will be accurate or sensible.
Another way is trying to redesign prednet with a bigger memory so it can 'remember' and 'predict' more than 1 frame. It is just my speculation and inspiration for further work on prednet.
Many thanks for inspiring paper and very useful codes !!!


If a system_uid already exists, update it, otherwise create it

Fixes #21067
Previously, we would were reliant on the run_single_worker.rb script to
cleanly exit, and delete it's row.  If that script was terminated abnormally
the row would remain, and the next invocations of the scrip would create a
new row with the same system_uid value.  This leads to orphaned rows that
cause sync_workers to continually think we're out of sync.
The new behavior is demonstrated below:

Start a new worker with a system_uid value, kill -9 the process once booted:

 % ./lib/workers/bin/run_single_worker.rb MiqGenericWorker -s "hello"
** Booting MiqGenericWorker with PID: 13857 and options: {:system_uid=>"hello"}...
...
zsh: killed     ./lib/workers/bin/run_single_worker.rb MiqGenericWorker -s "hello"

Result, 1 rows remains with that system_uid.

% psql -U root vmdb_development -c "select id, type, pid, last_heartbeat, system_uid, guid from miq_workers"
 id  |       type       |  pid  |       last_heartbeat       | system_uid |                 guid
-----+------------------+-------+----------------------------+------------+--------------------------------------
 709 | MiqGenericWorker | 13857 | 2021-02-19 14:42:41.058275 | hello      | 89231087-9418-4a59-b91b-6e20335e80ff
(1 row)

Run it again, with the same system_uid, kill -9 the process after boot:

% ./lib/workers/bin/run_single_worker.rb MiqGenericWorker -s "hello"
** Booting MiqGenericWorker with PID: 13886 and options: {:system_uid=>"hello"}...
....
zsh: killed     ./lib/workers/bin/run_single_worker.rb MiqGenericWorker -s "hello"

Result:  Now, we have only 1 row, the pid is updated.

% psql -U root vmdb_development -c "select id, type, pid, last_heartbeat, system_uid, guid from miq_workers"
 id  |       type       |  pid  |       last_heartbeat       | system_uid |                 guid
-----+------------------+-------+----------------------------+------------+--------------------------------------
 709 | MiqGenericWorker | 13886 | 2021-02-19 14:42:57.614676 | hello      | 89231087-9418-4a59-b91b-6e20335e80ff
(1 row)

Then, we see it will clean up the row when it exits cleanly, regardless of which pid the original had:

joerafaniello@Joes-MBP-2 manageiq % ./lib/workers/bin/run_single_worker.rb MiqGenericWorker -s "hello"
** Booting MiqGenericWorker with PID: 13906 and options: {:system_uid=>"hello"}...
...
^C%

Result: 0 rows:

% psql -U root vmdb_development -c "select id, type, pid, last_heartbeat, system_uid, guid from miq_workers"
 id | type | pid | last_heartbeat | system_uid | guid
----+------+-----+----------------+------------+------
(0 rows)

cc @agrare

reopening to restart tests now that https://github.com/ManageIQ/manageiq/pull/21071 is merged

This is now green.


Added Wxcode CLI Pytest

Testing:

[x] Ran tests and they passed OK

CLA

[x] If a new developer, signed up to CLA

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- lib/improver/tests/wxcode/wxcode/test_cli_wxcode.py  3

Clones added
============
- lib/improver/tests/wxcode/wxcode/test_cli_wxcode.py  2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- lib/improver/tests/wxcode/wxcode/test_cli_wxcode.py  3

Clones added
============
- lib/improver/tests/wxcode/wxcode/test_cli_wxcode.py  2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- lib/improver/tests/wxcode/wxcode/test_cli_wxcode.py  3

Clones added
============
- lib/improver/tests/wxcode/wxcode/test_cli_wxcode.py  2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- lib/improver/tests/wxcode/wxcode/test_cli_wxcode.py  3

Clones added
============
- lib/improver/tests/wxcode/wxcode/test_cli_wxcode.py  2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- lib/improver/tests/wxcode/wxcode/test_cli_wxcode.py  3

Clones added
============
- lib/improver/tests/wxcode/wxcode/test_cli_wxcode.py  2

See the complete overview on Codacy

And nice to see you again @nivnac!


Join Slack Community: Briim - Machine Learning in JavaScript

Hello @karpathy and everyone else! I have seen that you don't have any Slack Group for your library. That's why I want to propose the BRIIM community as Slack Community for your library. I believe it would help people tons to discuss and learn from each other in an interactive chat.
BRIIM, the Machine Learning in JS movement, tries to gather all developers using ML and ML related libraries in JS in one community. I believe it is great to learn from each other when using one library, but also to explore other libraries in the ML in JS ecosystem. So far, every library is its own little community. However, in order to make ML in JS a larger topic this year, I try to bring together all developers/communities with this movement.
In the next days, I want to propose the community to other ML and ML related libraries too. It would be great to have you with us in order to strengthen the ML in JS movement in 2018 :) If you are more interested in my doings, please checkout this blog post. I hope the article shows that I mean it serious with BRIIM :) Thanks for considering to participate! If it doesn't work out, you can always leave the Slack Community. But I hope to bootstrap this community to make ML in JS happen in 2018. 🚀

So wanted to note that there are first people active in the svm-js Slack Channel :) Other libraries joined the movement as well (Brain.js, face-recognition.js, opencv4nodejs, math.js). Hopefully you consider to join too :) Would be great to have a place for ML in JS developers to hang out and chat.


CLI export fails

Godot version:

Godot 3.0 stable
OS/device including version:

Linux Mint 18.3 Sylvia 64-bit
Issue description:

Trying to export via command line throws following error:
ERROR: copy: Condition ' err ' is true. returned: err
   At: core/os/dir_access.cpp:313.

Steps to reproduce:
Just create a bare minimum project, I used one just with a single node in a scene, nothing else.
Try to export via command line.

Confirmed. The error happens when the target file already exists. Here's what I tried :
$ godot --export nanogodo_linux64 /tmp/nanogodo/build/nanogodo_linux64

Exporting only works when

the first parameter is a valid target name
the target file does not exist, and
the directory containing the target file does

It's not a bug per se, it's a lack of documentation.

The error occurs even when no target file exists. And the target file never gets generated from command line. So it is a valid bug.
I confirmed with 3.0.2 stable release. The line number for 3.0.2 is slightly different: core/os/dir_access.cpp:305

You're right, I can't export using CLI with the latest master. It works with Godot 3.0 and 3.1 though.

I tested with both Godot 3.0 and 3.0.2 they both fail. I haven't tested master, and I don't see 3.1 being released yet.
I guess I'll try master if you meant it was fixed in latest master. I uncommented the printf statement and it shows that it's trying to copy the templates/linux_x11_64_debug to the output directory. They both exist and have proper permissions.

Ok, that was it. The output path is not supposed be a directory, but a filename. I guess the documentation wasn't updated after all.
Not a bug. It's working if I provide an output filename.

I don't see 3.1 being released yet

I mixed up the versions, my bad. I meant 3.0.1. I can export using CLI in 3.0.1 (I just did again), but not using master, with the exact same project and the exact same command.

Thank you for the solution.

I confirm, using the command line options from the "normal" version of Godot also fails:
~/Apps/GODOT/3.0/PRJS/vide:
$ ../../Godot_v3.0.2-stable_x11.64 --export "Linux/X11" /tmp/toto
OpenGL ES 3.0 Renderer: GeForce GTX 1050/PCIe/SSE2
ERROR: copy: Condition ' err ' is true. returned: err
   At: core/os/dir_access.cpp:305.

And just to be sure, there is no /tmp/foo file :
 ls -al /tmp/foo
ls: cannot access '/tmp/foo': No such file or directory

So the only way to export is to go through the GUI interface to export.

$ ../../Godot_v3.0.2-stable_x11.64 --export "Linux/X11" /tmp/toto

It's "Linux X11"

@akien-mga actually "Linux/X11" is now the name when you add a new Linux export preset.
Before 3.x it was "Linux X11" indeed though.
But other  than that, it is also possible to rename it now, so it could be anything.

Ah thanks for the clarification :)

Still reproduceable at b4c6509

Tested in 3.0.6
--export --path /path/to/Project/test_project "Linux/X11" /path/to/export/project_folder/name_of_game
^ This works as long as the destination path exists.
Let's say the folder "project_folder" doesn't exist already, it throws the error
ERROR: copy: Condition ' err ' is true. returned: err
   At: core/os/dir_access.cpp:305.

I get a different error here.
3.0.6:
$ godot-3.0 --export --path ~/tmp/godot/test/v3.0_test/ "Linux/X11" ~/test/game
OpenGL ES 3.0 Renderer: GeForce GTX 670MX/PCIe/SSE2
ERROR: copy: Failed to open /home/akien/test/game
   At: core/os/dir_access.cpp:313.
ERROR: _fs_changed: Project export failed with error code 12.
   At: editor/editor_node.cpp:471.

master:
$ godot-git --export --path ~/tmp/godot/test/v3.1_test/ "Linux/X11" ~/test/game
OpenGL ES 3.0 Renderer: GeForce GTX 670MX/PCIe/SSE2
ERROR: copy: Failed to open
   At: core/os/dir_access.cpp:304.
ERROR: _fs_changed: Project export failed with error code 12.
   At: editor/editor_node.cpp:507.
WARNING: cleanup: ObjectDB Instances still exist!
   At: core/object.cpp:2053.

BTW I'm surprised it even works, the preset name should come after --export.

On 3.0.6 I'm not able to get it to working, even with the strange order of args you provide above
root@9da3a3680c0e:~/project# godot --export --path $(pwd)/game/ "web" $(pwd)/server/dist/public/
Yields the error:
   At: servers/audio_server.cpp:165.
ERROR: _load: Method/Function Failed, returning: RES()
   At: core/io/resource_loader.cpp:186.
ERROR: start: Condition ' !scene ' is true. returned: false
   At: main/main.cpp:1688.
WARNING: cleanup: ObjectDB Instances still exist!
   At: core/object.cpp:1989.

Because it tries to load res://web
This export preset works fine locally on Windows both with GUI and CLI export.

As I mentioned in https://github.com/godotengine/godot/issues/16949#issuecomment-413271796, the preset name should come right after --export, so it should be:
godot --export "web" --path $(pwd)/game/ $(pwd)/server/dist/public/

That does not work either:
root@9c1411505f27:~/project# godot -v --export "web" --path $(pwd)/game/ $(pwd)/server/dist/public/
ERROR: initialize: AudioDriverManager: all drivers failed, falling back to dummy driver
   At: servers/audio_server.cpp:165.
CORE API HASH: 0
EDITOR API HASH: 0
load resource: res://web
ERROR: _load: Method/Function Failed, returning: RES()
   At: core/io/resource_loader.cpp:186.
ERROR: start: Condition ' !scene ' is true. returned: false
   At: main/main.cpp:1688.
WARNING: cleanup: ObjectDB Instances still exist!
   At: core/object.cpp:1989.

Seems like you have to give the binary name you want:
godot --export <preset name> /export/folder/binary_name

This is a HTML5 export, so the result should be 5 files. So if giving the binary name similar to the GUI export, where one would give the name "index" and the all the files would be index.js, index.pck etc, then this command would make sense:
root@acd0e0b415bb:~/project#  godot -v --export "web" --path $(pwd)/game/ $(pwd)/server/dist/public/index
ERROR: initialize: AudioDriverManager: all drivers failed, falling back to dummy driver
   At: servers/audio_server.cpp:165.
CORE API HASH: 0
EDITOR API HASH: 0
load resource: res://web
ERROR: _load: Method/Function Failed, returning: RES()
   At: core/io/resource_loader.cpp:186.
ERROR: start: Condition ' !scene ' is true. returned: false
   At: main/main.cpp:1688.
WARNING: cleanup: ObjectDB Instances still exist!
   At: core/object.cpp:1989.

But it still does not work.

For HTML5 export, the file name extension is .html.
On 2018-08-26 17:34, Karl wrote:

This is a HTML5 export, so the result should be 5 files. So if giving
the binary name similar to the GUI export, where one would give the
name "index" and the all the files would be index.js, index.pck etc,
then this command would make sense:

Again, this does not work.
root@6cb7dcae9368:~/project#  godot -v --export "web" --path $(pwd)/game/ $(pwd)/server/dist/public/index.html
ERROR: initialize: AudioDriverManager: all drivers failed, falling back to dummy driver
   At: servers/audio_server.cpp:165.
CORE API HASH: 0
EDITOR API HASH: 0
load resource: res://web
ERROR: _load: Method/Function Failed, returning: RES()
   At: core/io/resource_loader.cpp:186.
ERROR: start: Condition ' !scene ' is true. returned: false
   At: main/main.cpp:1688.
WARNING: cleanup: ObjectDB Instances still exist!
   At: core/object.cpp:1989.

This is the godot-server binary, 3.0.6. "web" is a preset that works fine
on GUI exports locally. The output folder exists and has correct
permissions.
On Mon, 27 Aug 2018, 09:23 Rémi Verschelde<EMAIL_ADDRESS>wrote:

Works for me (3.0.6 editor binary on Linux):
$ ls minimal -l
total 48
-rw-r--r-- 1 akien akien 2609 août  26 17:05 default_env.tres
drwxr-xr-x 2 akien akien 4096 août  27 09:20 export/
-rw-r--r-- 1 akien akien  952 août  27 09:20 export_presets.cfg
-rw-r--r-- 1 akien akien 3498 août  26 16:42 icon.png
-rw-r--r-- 1 akien akien  615 août  26 16:44 icon.png.import
-rw-r--r-- 1 akien akien  320 août  26 16:42 Main.gd
-rw-r--r-- 1 akien akien  818 août  26 17:05 Main.tscn
-rw-r--r-- 1 akien akien  512 août  26 16:42 Player.gd
-rw-r--r-- 1 akien akien  697 août  26 16:48 Player.tscn
-rw-r--r-- 1 akien akien  409 août  26 17:24 project.godot
-rw-r--r-- 1 akien akien  427 août  26 17:05 Trigger.gd
-rw-r--r-- 1 akien akien  967 août  26 16:48 Trigger.tscn
$ ls minimal/export -l
total 0
$ godot3 --export "web" --path $(pwd)/minimal/ $(pwd)/minimal/export/index.html
OpenGL ES 3.0 Renderer: GeForce GTX 670MX/PCIe/SSE2
exporting res://Main.tscn
exporting res://Player.tscn
exporting res://Trigger.tscn
exporting res://default_env.tres
$ ls minimal/export -l
total 11504
-rw-r--r-- 1 akien akien    10156 août  27 09:22 index.html
-rw-r--r-- 1 akien akien   339750 août  27 09:22 index.js
-rw-r--r-- 1 akien akien    16276 août  27 09:22 index.pck
-rw-r--r-- 1 akien akien    21430 août  27 09:22 index.png
-rw-r--r-- 1 akien akien 11386156 août  27 09:22 index.wasm
What Godot binary are you using? Do you have a preset named "web"? Does
the $(pwd)/server/dist/public folder exist and is writable?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/16949#issuecomment-416138597,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABb-2E6gFGJ3KuxuuFNS0oPy-wpfjTuMks5uU56GgaJpZM4SQ_cH
.

--
Vennlig hilsen,
Karl J. Overå

You need to use the "headless" binary, the "server" one has no editor tools (see #19683). The server binary should not have --export in its godot --help a priori.
(Of course the terrible error reporting needs to be improved, but that's another topic.)

Aha. I'll update my Docker image with headless and report back.
Is the difference between server and headless a new change?
On Mon, 27 Aug 2018, 11:50 Rémi Verschelde<EMAIL_ADDRESS>wrote:

You need to use the "headless" binary, the "server" one has no editor
tools (see #19683 https://github.com/godotengine/godot/issues/19683).
The server binary should not have --export in its godot --help a priori.
(Of course the terrible error reporting needs to be improved, but that's
another topic.)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/16949#issuecomment-416175252,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABb-2OyhzFhXcBEknvY-JXtIhdiD1ii4ks5uU8DLgaJpZM4SQ_cH
.

--
Vennlig hilsen,
Karl J. Overå

@karl-run yes, we previously didn't really have a 'server' binary. The 'server' release used to be just a headless editor, not an export template (so it was slower). 'Headless' is now properly a headless 'editor' build whereas 'server' is actually useful to use as a game server.
See the 3.0.6 release announcement for more details.

Some definite progress by using headless instead of server.
However:

root@3354872e9556:~/project# godot --path $(pwd)/game --export "web" $(pwd)/server/dist/public/index.html
ERROR: initialize: AudioDriverManager: all drivers failed, falling back to dummy driver
At: servers/audio_server.cpp:165.
exporting res://snip.tscn
export output snipped
ERROR: _fs_changed: Project export failed with error code 7.
At: editor/editor_node.cpp:471.
ERROR: ~List: Condition ' _first != __null ' is true.
At: core/self_list.h:100.
ERROR: cleanup: There are still MemoryPool allocs in use at exit!

The contents of the output folder:
root@3354872e9556:~/project# ls  $(pwd)/server/dist/public/
index.pck

@karl-run I am getting the same error code, error code 7. Did you had any luck solving that issue? I am using a dockerfile image from this repo.

@juanbrena
No sorry, I'm still stuck on this one.

I confirm I'm getting Error 12 with headless 3.0.6

Ok, I resolved this.
The templates path should be as mentioned here:
https://github.com/godotengine/godot-docs/issues/1247

@akien-mga, @hpvb what should we do with this?

I'll rework the mess that is our command line interface eventually.

I'm getting the exact same error, and error code as @karl-run
ERROR: initialize: AudioDriverManager: all drivers failed, falling back to dummy driver
At: servers/audio_server.cpp:165.
exporting res://snip.tscn
...
ERROR: _fs_changed: Project export failed with error code 7.
At: editor/editor_node.cpp:471.
ERROR: ~List: Condition ' _first != __null ' is true.
At: core/self_list.h:100.
ERROR: cleanup: There are still MemoryPool allocs in use at exit!

when attempting to HTML5 export via the headless linux binary on an ubuntu 18.04 server. I also created the template path as described by @hedin-hiervard: https://github.com/godotengine/godot-docs/issues/1247 with no difference at all. Any suggestions?

I was able to export from my continuous delivery server. (gocd)
Hope this can help someone else.
- buildStage:
          jobs:
            buildJob:
              resources:
                - linux
                - mingw5
              artifacts:
                - build:
                    source: "export_windows"
                - build:
                    source: "export_osx"
                - build:
                    source: "export_linux"
                - build:
                    source: "export_linux_server"
              tasks:
                - fetch:
                    artifact_origin: gocd
                    source: "godot_server.x11.opt.tools.64.llvm"
                    destination: ""
                    is_file: yes
                    pipeline: godot-groups
                    stage: defaultStage
                    job: serverJob
                - fetch:
                    artifact_origin: gocd
                    source: "godot.templates.tpz"
                    destination: ""
                    is_file: yes
                    pipeline: godot-groups
                    stage: templateZipStage
                    job: defaultJob
                - exec:
                    arguments:
                      - "-c"
                      - "mkdir -p groups"
                    command: "/bin/bash"
                - exec:
                    arguments:
                      - "-c"
                      - "chmod +x ../b/repo && HOME=`pwd` ../b/repo init -u https://example.com/example/example.git -m build.xml"
                    command: "/bin/bash"
                    working_directory: "groups"
                - exec:
                    arguments:
                      - "-c"
                      - "chmod +x ../b/repo && HOME=`pwd` ../b/repo sync --force-sync"
                    command: "/bin/bash"
                    working_directory: "groups"
                - exec:
                    arguments:
                      - "-c"
                      - "git lfs fetch"
                    command: "/bin/bash"
                    working_directory: "groups"
                - exec:
                    arguments:
                      - "-c"
                      - "mkdir -p .local/share/godot/ .config .cache"
                    command: "/bin/bash"
                    working_directory: "groups"
                - exec:
                    arguments:
                      - "-c"
                      - "unzip godot.templates.tpz"
                    command: "/bin/bash"
                - exec:
                    arguments:
                      - "-c"
                      - "rm -rf .local/share/godot/templates/"
                    command: "/bin/bash"
                - exec:
                    arguments:
                      - "-c"
                      - "mkdir -p .local/share/godot/templates/`cat templates/version.txt`"
                    command: "/bin/bash"
                - exec:
                    arguments:
                      - "-c"
                      - "mkdir -p .local/share/godot/templates/`cat templates/version.txt`"
                    command: "/bin/bash"
                - exec:
                    arguments:
                      - "-c"
                      - "cp templates/* .local/share/godot/templates/`cat templates/version.txt`"
                    command: "/bin/bash"
                - exec:
                    arguments:
                      - "-c"
                      - "cp templates/* .local/share/godot/templates/`cat templates/version.txt`"
                    command: "/bin/bash"
                - exec:
                    arguments:
                      - "-c"
                      - "rm -rf templates"
                    command: "/bin/bash"
                - exec:
                    arguments:
                      - "-c"
                      - "rm -rf export_windows"
                    command: "/bin/bash"
                - exec:
                    arguments:
                      - "-c"
                      - "mkdir -p export_windows"
                    command: "/bin/bash"
                # ./godot_server.x11.opt.tools.64.llvm --version and version.txt must be corresponding
                - exec:
                    arguments:
                      - "-c"
                      - chmod +x godot_server.x11.opt.tools.64.llvm && HOME=`pwd` ./godot_server.x11.opt.tools.64.llvm --export "Windows Desktop" --path groups ../export_windows/groups.exe || true
                    command: "/bin/bash"
                - exec:
                    arguments:
                      - "-c"
                      - "rm -rf export_osx"
                    command: "/bin/bash"
                - exec:
                    arguments:
                      - "-c"
                      - "mkdir -p export_osx"
                    command: "/bin/bash"
                - exec:
                    arguments:
                      - "-c"
                      - chmod +x godot_server.x11.opt.tools.64.llvm && HOME=`pwd` ./godot_server.x11.opt.tools.64.llvm --export "Mac OSX" --path groups ../export_osx/groups.zip || true
                    command: "/bin/bash"
                - exec:
                    arguments:
                      - "-c"
                      - "rm -rf export_linux"
                    command: "/bin/bash"
                - exec:
                    arguments:
                      - "-c"
                      - "mkdir -p export_linux"
                    command: "/bin/bash"
                - exec:
                    arguments:
                      - "-c"
                      - chmod +x godot_server.x11.opt.tools.64.llvm && HOME=`pwd` ./godot_server.x11.opt.tools.64.llvm --export "Linux/X11 Server" --path groups ../export_linux/groups.x86_64 || true
                    command: "/bin/bash"
                - exec:
                    arguments:
                      - "-c"
                      - "rm -rf export_linux_server"
                    command: "/bin/bash"
                - exec:
                    arguments:
                      - "-c"
                      - "mkdir -p export_linux_server"
                    command: "/bin/bash"
                - exec:
                    arguments:
                      - "-c"
                      - chmod +x godot_server.x11.opt.tools.64.llvm && HOME=`pwd` ./godot_server.x11.opt.tools.64.llvm --export "Linux/X11" --path groups ../export_linux_server/groups.x86_64 || true
                    command: "/bin/bash"

Thanks @fire, finally got the headless linux binary cli export to work. The bit that finally did it for me was the fact that  ~/.local/share/godot/templates/{version} has to match the version.txt in the export template's  version.txt.
# This will work
cat ~/.local/share/godot/templates/3.0.6.stable/version.txt
3.0.6.stable
# This will not work
cat ~/.local/share/godot/templates/3.0.5.stable/version.txt
3.0.6.stable

After that the export worked on the project like a charm.

Further info:
Godot 3.0.6-stable
Trying to export using a self contained version of Godot causes:
ERROR: copy: Failed to open
   At: core/os/dir_access.cpp:304.
ERROR: _fs_changed: Project export failed with error code 12.
   At: editor/editor_node.cpp:471.

Hello there. As it so happens I'm also trying to set up a CI and had this not found export template error.
When we first build the game via the godot GUI editor it creates for us a file called export_presets.cfg in the project directory. I bet that --export uses this file to search for defined presets which is counter-intuitive.
So CLI works only after you manually create this file (in the proper format of course) or after you first export for the presets you want to use. And sure, have those version/editor_data/templates etc. properly set-up too.

You can commit export_presets.cfg into version control, but only if it doesn't contain sensitive information like an Android keystore password. (This is why sensitive information ought to be moved to a separate file, so that export_presets.cfg can be safely committed no matter what platforms you're exporting to.)

That's a good point. So what's the option here then? I mean where do you store the android pass so that godot reads it and sets up the settings? If you can't use export_presets.cfg for it?


Using alternative (camera) controller when in fullscreen mode

In my current projects code, I am using a modified PointerLockControls (http://threejs.org/examples/#misc_controls_pointerlock) , and was wondering what the best approach would be to switch to the old controls I used to have when clicking the fullscreen button. I like the behaviour of the webvr-boilerplate, but would simply like to use my own pointerlock controls, when no VR-gadget is connected/detected.
Do you have a recommended way of proceeding, without making the code all too ugly and breaking things?

You could probably use WebVRConfig.MOUSE_KEYBOARD_CONTROLS_DISABLED. See https://github.com/borismus/webvr-polyfill for more info.


Directory handling bug

Describe the bug
When PDK_ROOT contains "../" to refer to the PDK, openlane fails.
Workaround: Make sure that PDK_ROOT does not contain ../ for example in the following way: export PDK_ROOT=$(readlink -f $(pwd)/../pdk )
Due to good the workaround, this bug is not urgent.
To Reproduce
Steps to reproduce the behavior:
export PDK_ROOT=../pdk
make user_proj_example
The resulting error:
cd openlane && make user_proj_example
make[1]: Verzeichnis „/media/philipp/Daten/skywater/caravel_stdcelllib_stdcells_project/openlane“ wird betreten
###############################################
[INFO]:
___   ____   ___  ____   _       ____  ____     ___
/   \ |    \ /  ]|    \ | |     /    ||    \   /  ]
|     ||  o  )  [ |  _  || |    |  o  ||  _  | /  [
|  O  ||   /    ]|  |  || |_ |     ||  |  ||    ]
|     ||  | |   [ |  |  ||     ||  _  ||  |  ||   [_
_/ || ||||||||||||||_____|
[INFO]: Version: mpw-one-a
[INFO]: Running non-interactively
[INFO]: Using design configuration at /project/openlane/user_proj_example/config.tcl
[INFO]: Sourcing Configurations from /project/openlane/user_proj_example/config.tcl
[INFO]: PDKs root directory: /media/philipp/Daten/skywater/caravel_stdcelllib_stdcells_project/../pdk
[INFO]: PDK: sky130A
[INFO]: Setting PDKPATH to /media/philipp/Daten/skywater/caravel_stdcelllib_stdcells_project/../pdk/sky130A
[INFO]: Standard Cell Library: sky130_fd_sc_hd
couldn't read file "/media/philipp/Daten/skywater/caravel_stdcelllib_stdcells_project/../pdk/sky130A/libs.tech/openlane/config.tcl": no such file or directory
while executing
"source $pdk_config"
(procedure "prep" line 126)
invoked from within
"prep {}$args"
(procedure "run_non_interactive_mode" line 9)
invoked from within
"run_non_interactive_mode {}$argv"
invoked from within
"if { [info exists flags_map(-interactive)] || [info exists flags_map(-it)] } {
puts_info "Running interactively"
if { [info exists arg_values(-file)..."
(file "/openLANE_flow/flow.tcl" line 162)
make[1]: *** [Makefile:43: user_proj_example] Fehler 1
Expected behavior
It should work normally
Desktop (please complete the following information):

OS: Ubuntu
Openlane Version v0.15
open_pdks Version: [commit hash]
skywater-pdk Version: [commit hash]

This has to do primarily with how Docker works- all paths need to be absolute. Sadly, this is not an easily fixable issue.
Please readlink -f or realpath all paths used.


support ics23 no-std

Support Ics23 rust no-std features.

Interesting and thank you for the contribution. I will look later.
In the meantime, could you update the CI scripts so they will run tests in no_std mode (--no-defaut-features, correct?) as well as the normal std mode?

Interesting and thank you for the contribution. I will look later.
In the meantime, could you update the CI scripts so they will run tests in no_std mode (--no-defaut-features, correct?) as well as the normal std mode?

Ok ah, I'll see how to set it up.

Thank you.

I just checked out your branch and tried running no_std tests:
cargo test --all --no-default-features
This produces a number of errors. Most are either:
cannot find function decodein cratehex``
or
vec![valid_inner.clone()]
with suggestions for  no_std_compat::prelude imports.

Can you add these lines to the end of the circleCI job?
      - run:
          name: Build all targets in no_std
          command: cargo build --all --no-default-features
       - run:
           name: Run all tests with no-std
           command: cargo test --all --no-default-features

cargo test --all --no-default-features

It doesn't seem to work.

cargo test --all --no-default-features

It doesn't seem to work.

Exactly, the tests fail to compile (build works, but test code seems to not be no_std compatible).
Can you try fixing those, at least obvious issues. If something requires deeper changes to the codebase, I can take a look.

cargo test --all --no-default-features

It doesn't seem to work.

Exactly, the tests fail to compile (build works, but test code seems to not be no_std compatible).
Can you try fixing those, at least obvious issues. If something requires deeper changes to the codebase, I can take a look.

I solved this problem, see if you can pass it.

@ethanfrey Hi, Can you merge this PR?


Allow changing prefix for client commands

Currently, the default prefix for such commands is @ and you can't change it. It would be nice to have, since some databases have designated syntax for other things with heavy usage of @ as a prefix (e.g. local variables in SQL Server)
https://github.com/dbeaver/dbeaver/wiki/Client-Side-Scripting

Implemented:

verified


Issue with Build Server

i am runing the server in AWS EC2 instance with g4dn.xlarge GPU instance ,
when i am bulding the application using
==> make -j$(nproc)
I get an error related to CUDA_ARCHITECTURES :
-- CMAKE_CUDA_ARCHITECTURES:
-- The CUDA compiler identification is unknown
-- Detecting CUDA compiler ABI info
CMake Error in /home/ubuntu/multiscan/build/external/open3d_build/CMakeFiles/CMakeTmp/CMakeLists.txt:
CUDA_ARCHITECTURES is empty for target "cmTC_ec848".
CMake Error in /home/ubuntu/multiscan/build/external/open3d_build/CMakeFiles/CMakeTmp/CMakeLists.txt:
CUDA_ARCHITECTURES is empty for target "cmTC_ec848".
CMake Error at /home/ubuntu/anaconda3/envs/multiscan/share/cmake-3.22/Modules/CMakeDetermineCompilerABI.cmake:49 (try_compile):
Failed to generate test project build system.
Call Stack (most recent call first):
/home/ubuntu/anaconda3/envs/multiscan/share/cmake-3.22/Modules/CMakeTestCUDACompiler.cmake:19 (CMAKE_DETERMINE_COMPILER_ABI)
CMakeLists.txt:441 (enable_language)
can you help ,please ? Regards

Hi @AhmedaliElgabry,
This error seems to be related to your CUDA compiler. Here are some things that I think you can have a check:

Is the CUDA compiler installed on the machine you are using? With command nvcc --version, if it shows your cuda compiler driver is installed, than you can check if adding -DCMAKE_CUDA_COMPILER=/path/to/your cuda version/bin/nvcc in the cmake build command works for you.
If above doesn't work, I also found this recently, without build from source, the open3d cuda accerlated reconstruction pipeline works with the default pip wheel. So you can bypass the cmake build from source for open3d with cmake option -DMTS_BUILD_OPEN3D=OFF, and directly do pip install open3d==0.16.0. I tested the reconstruction pipeline with version 0.16.0. I hope this also work for other and newer versions, but I haven't tested it myself.

All the best,
Yongsen Mao


A quickstart to demo how RealtimeToOfflineConv and MergeRollup minion tasks work with Realtime table

Description
This quickstart shows how RealtimeToOfflineConversion and MergeRollup minion tasks work with Realtime table. And can be an example for users to set things up to try those features.
The basic data path is like: A small file of some GithubEvents spanning multiple hours -> Kafka -> RT table -> OFF table.

RT table was configured to generate small segments, each with 100 records;
RT2OFF minion converted them into offline segments with 1hr bucket window;
MergeRollup minion merged those offline segments into larger ones with 1d bucket window;
Lineage mgmt could remove MergeRollup input segments as expected.

Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

[ ] Yes (Please label as backward-incompat, and complete the section below on Release Notes)

Does this PR fix a zero-downtime upgrade introduced earlier?

[ ] Yes (Please label this as backward-incompat, and complete the section below on Release Notes)

Does this PR otherwise need attention when creating release notes? Things to consider:

New configuration options
Deprecation of configurations
Signature changes to public methods/interfaces
New plugins added or old plugins removed

[ ] Yes (Please label this PR as release-notes and complete the section on Release Notes)

Release Notes

Documentation

where is this schedule used? ...
hi @npawar , found I'm not able to reply your question in place, so reply here: I see the scheduler uses the cron expression here. And it's task specific.


os: Fix race condition of atomics

Fixes an issue described in rust-lang/rust#21538.

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

(see also rust-lang/rust#24526 for std::rand::os fix)

Thanks!


Update Doc link

Fixes #1212
Signoff-by: Adeola Adesoba<EMAIL_ADDRESS>
Description

This PR fixes #
Notes to reviewers
Checklist

[] Signed commits.
[] PR title includes [<name of area>]:<description>

Hi @Adeola-Adesoba, thanks for this! Will you take a short moment to sign-off on your commit? You can do so in this PR by executing these commands - https://github.com/layer5io/meshery/pull/1215/checks?check_run_id=839548330

@leecalcote I had this issue too, when I committed from the browser. Since you helped me before,  I walked @Adeola-Adesoba through the command line DCO fix 😅

@leecalcote I had this issue too, when I committed from the browser. Since you helped me before, I walked @Adeola-Adesoba through the command line DCO fix 😅

Rock on.  A feature request to support commit sign-offs through their web UI has been open with GitHub for a loooong time. These instructions have really saved people a long of time - https://github.com/layer5io/meshery/blob/master/CONTRIBUTING.md#signing-off-on-commits-developer-certificate-of-origin

Thank you Lee. Glad the changes looked good.
@morrme thanks for the help with the DCO.

Yay, @Adeola-Adesoba! 🎈


Support empty DATABASE_PREFIX

Following on from discussion with @tractorcow noticed using latest master that a DB Prefix of '' fails.. Causing a database name to contain SS_. This would be more elegant in PHP7 using the Null Coalescing operator (getenv('SS_DATABASE_PREFIX') ?? 'SS_') but I take it we still support 5.6 for 4 at least.

Looks good to me.

Implemented feedback as per @sminnee

@tractorcow sorry it had that initially, flipped it when Sam wanted feedback.
If false (undefined) should default to SS_ as per 3 did. If set to "' it should be ''

Ok approved again. :D

Why is SS_ the default prefix now? It doesn’t look like it was in 3.x: https://github.com/silverstripe/silverstripe-framework/blob/3.6.0/conf/ConfigureFromEnv.php#L97

Well, there is this
https://github.com/silverstripe/silverstripe-framework/blob/3.6.0/conf/ConfigureFromEnv.php#L85

Hm, maybe it should only be a default SS_ for SS_DATABASE_CHOOSE_NAME ? @sminnee views?

Hm, maybe it should only be a default SS_ for SS_DATABASE_CHOOSE_NAME ? @sminnee views?

This was the old behaviour and I think it should be retained...

Ok, back to old behaviour then. :)


Optimize showcase images that were partly several MB in size

Docusaurus gladly optimizes the images provided to the web server itself. This PR is more about keeping the clone single branch small.


Update windows-iot-enterprise.md

Fixing Grammar

Docs Build status updates of commit c8f1868:
:warning: Validation status: warnings

File
Status
Preview URL
Details

windows-iotcore/windows-iot-enterprise.md
:warning:Warning

Details

windows-iotcore/windows-iot-enterprise.md

Line 6, Column 16: [Warning-ms-prod-technology-invalid] Invalid value for 'ms.technology': 'iot' is not valid with 'ms.prod' value 'windows-iot'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


M1 MacOS - minikube based provisioning fails with cadvisor issue on unable to get system UUID

Describe the bug
When we start the minikube based provisioning on an M1 mac, with podman driver based VM, everything starts up but the cadvisor fails to start up properly.
Below is the messages I see when I query the cadvisor pod for logs
❯ kubectl logs -n cadvisor cadvisor-72b6z
E1113 03:47:09.315373       1 info.go:114] Failed to get system UUID: open /etc/machine-id: no such file or directory
W1113 03:47:09.315541       1 machine.go:65] Cannot read vendor id correctly, set empty.
E1113 03:52:09.437671       1 info.go:114] Failed to get system UUID: open /etc/machine-id: no such file or directory
W1113 03:52:09.437819       1 machine.go:65] Cannot read vendor id correctly, set empty.
E1113 03:57:09.436942       1 info.go:114] Failed to get system UUID: open /etc/machine-id: no such file or directory
W1113 03:57:09.437030       1 machine.go:65] Cannot read vendor id correctly, set empty.
E1113 04:02:09.438632       1 info.go:114] Failed to get system UUID: open /etc/machine-id: no such file or directory
W1113 04:02:09.438735       1 machine.go:65] Cannot read vendor id correctly, set empty.
E1113 04:07:09.437281       1 info.go:114] Failed to get system UUID: open /etc/machine-id: no such file or directory
W1113 04:07:09.437450       1 machine.go:65] Cannot read vendor id correctly, set empty.
E1113 04:12:09.437069       1 info.go:114] Failed to get system UUID: open /etc/machine-id: no such file or directory
W1113 04:12:09.437166       1 machine.go:65] Cannot read vendor id correctly, set empty.
E1113 04:17:09.437095       1 info.go:114] Failed to get system UUID: open /etc/machine-id: no such file or directory
W1113 04:17:09.437180       1 machine.go:65] Cannot read vendor id correctly, set empty.

Version
keycloak-benchmark latest main
Expected behavior
would expect the cadvisor pod to come up with out issues
Actual behavior
All the other pods seems to be coming up without error. seems like this setup is facing an issue with ingress
❯ kubectl get pods -A -w
NAMESPACE       NAME                                                     READY   STATUS      RESTARTS       AGE
cadvisor        cadvisor-72b6z                                           1/1     Running     0              2m52s
ingress-nginx   ingress-nginx-admission-create-58g44                     0/1     Completed   0              3m33s
ingress-nginx   ingress-nginx-admission-patch-6wrvn                      0/1     Completed   1              3m33s
ingress-nginx   ingress-nginx-controller-5959f988fd-8d5lx                1/1     Running     0              3m32s
keycloak        cryostat-68f4c675d6-wmk8h                                2/3     Running     0              2m46s
keycloak        keycloak-0                                               1/1     Running     0              62s
keycloak        keycloak-operator-55c6bd5cd8-n66vb                       1/1     Running     0              2m47s
keycloak        postgres-7bf755846c-x9fsq                                1/1     Running     0              2m46s
keycloak        postgres-exporter-7f9c9dc98b-nm975                       1/1     Running     0              2m46s
keycloak        sqlpad-74cdc455d7-jv4vw                                  1/1     Running     0              2m46s
kube-system     coredns-565d847f94-gpw4k                                 1/1     Running     0              3m32s
kube-system     etcd-minikube                                            1/1     Running     0              3m44s
kube-system     kube-apiserver-minikube                                  1/1     Running     0              3m45s
kube-system     kube-controller-manager-minikube                         1/1     Running     0              3m44s
kube-system     kube-proxy-dh9n2                                         1/1     Running     0              3m32s
kube-system     kube-scheduler-minikube                                  1/1     Running     0              3m45s
kube-system     storage-provisioner                                      1/1     Running     1 (3m2s ago)   3m44s
kubebox         kubebox-698f46bdcd-dz7nv                                 1/1     Running     0              2m52s
monitoring      alertmanager-prometheus-kube-prometheus-alertmanager-0   2/2     Running     0              2m10s
monitoring      graphite-exporter-5686cd9d-wb78s                         1/1     Running     0              2m52s
monitoring      jaeger-654c69c4c7-x944t                                  1/1     Running     0              97s
monitoring      loki-0                                                   1/1     Running     0              2m48s
monitoring      loki-grafana-agent-operator-684b478b77-j2qjx             1/1     Running     0              2m48s
monitoring      loki-logs-rv6zh                                          2/2     Running     0              90s
monitoring      prometheus-grafana-58cc87bbfd-2l7dz                      2/2     Running     0              3m1s
monitoring      prometheus-kube-prometheus-operator-6f5798cb9c-kzl7g     1/1     Running     0              3m1s
monitoring      prometheus-kube-state-metrics-9bbb8b774-2ghx5            1/1     Running     0              3m1s
monitoring      prometheus-prometheus-kube-prometheus-prometheus-0       2/2     Running     0              2m9s
monitoring      prometheus-prometheus-node-exporter-7fjv2                1/1     Running     0              3m1s
monitoring      promtail-gksnp                                           1/1     Running     0              2m51s
keycloak        cryostat-68f4c675d6-wmk8h                                2/3     Running     0              2m52s
keycloak        cryostat-68f4c675d6-wmk8h                                3/3     Running     0              2m52s

How to Reproduce?

setup the podman
run podman machine init --cpus 6 --memory 16000 --rootful && podman machine start
run the ./rebuild.sh with the change in DRIVER=podman instead of DRIVER=hyperkit
once the VM is fully up, run the task from within the provision/minikube

Anything else?
M1 MacOS:
Hardware Overview:
Model Name:	MacBook Pro
Model Identifier:	MacBookPro18,3
Model Number:	Z15G001X2LL/A
Chip:	Apple M1 Pro
Total Number of Cores:	10 (8 performance and 2 efficiency)
Memory:	32 GB
System Firmware Version:	8419.60.31
OS Loader Version:	8419.60.31
System Software Overview:
System Version:	macOS 13.1 (22C5033e)
Kernel Version:	Darwin 22.2.0
Boot Volume:	Macintosh HD
Boot Mode:	Normal
Secure Virtual Memory:	Enabled
System Integrity Protection:	Enabled

I have the same issue, the behaviour is that when following the installation guide in https://www.keycloak.org/keycloak-benchmark/kubernetes-guide/latest/installation, the installation gets stuck while executing task of running ./isup.sh file:
`....
task: [keycloak] helm upgrade --install keycloak --set hostname=<IP_ADDRESS>.nip.io --set dbPoolInitialSize=5 --set dbPoolMinSize=5 --set dbPoolMaxSize=10 --set storage= --set database=postgres --set keycloakImage= keycloak
[keycloak] Release "keycloak" has been upgraded. Happy Helming!
[keycloak] NAME: keycloak
[keycloak] LAST DEPLOYED: Thu Jan  5 11:03:58 2023
[keycloak] NAMESPACE: default
[keycloak] STATUS: deployed
[keycloak] REVISION: 2
[keycloak] TEST SUITE: None
[keycloak] NOTES:
[keycloak] Keycloak will be available on https://keycloak.<IP_ADDRESS>.nip.io
[keycloak]   user: admin
[keycloak]   password: admin
[keycloak] sqlpad will be available on http://sqlpad.<IP_ADDRESS>.nip.io
[keycloak]   user: admin
[keycloak]   password: admin
[keycloak] Cryostat will be available on https://cryostat.<IP_ADDRESS>.nip.io
[keycloak] Connect to PostgreSQL on <IP_ADDRESS>.nip.io:30009
[keycloak]   user: keycloak
[keycloak]   password: pass
[keycloak]   JDBC URL: jdbc:postgresql://<IP_ADDRESS>.nip.io:30009/keycloak
task: [keycloak] bash -c ' if [ "postgres" == "cockroach-operator" ]; then kubectl -n keycloak -o yaml get crdbclusters.crdb.cockroachlabs.com/cockroach > .task/status-keycloak-db.json; elif [ "postgres" == "cockroach-single" ]; then kubectl get deployment/cockroach -n keycloak -o=jsonpath="{.spec}" > .task/status-keycloak-db.json; elif [ "postgres" != "none" ]; then kubectl get deployment/postgres -n keycloak -o=jsonpath="{.spec}" > .task/status-keycloak-db.json; else echo "none" > .task/status-keycloak-db.json; fi'
task: [keycloak] bash -c 'kubectl get pods -A | grep -E "(BackOff|Error)" | tr -s " " | cut -d" " -f1-2 | xargs -r -L 1 kubectl delete pod -n'
task: [keycloak] bash -c 'sleep 1'
task: [keycloak] ./init-database.sh postgres
task: [keycloak] ./isup.sh
^Ctask: Signal received: "interrupt"
[keycloak] .......................................................................................................................................
task: Failed to run task "keycloak": exit status 130
.....`
Therefore the installation couldn't be done with Mac M1.

@kami619 - there is now PR #283 which might fix it. The cause might have been cryostat that is in your log running but not ready for all pods (2/3).
Please give the PR a try when you have the time. Thanks!


Can't install typescript with npm, integrity check fails

Couldn't install typescript when I tried just now, My NPM version is: 5.3.0 and my node version is 8.4.0
Expected behavior:
Successful install
Actual behavior:
npm ERR! sha1-+DlfhdRZJ2BnyYiqQYN6j4KHCEQ= integrity checksum failed when using sha1: wanted sha1-+DlfhdRZJ2BnyYiqQYN6j4KHCEQ= but got sha1-J8Hi9bh5ntWCV+b4Tqo
bbK0XVTA=. (32240 bytes)

It looks like an npm issue https://github.com/npm/npm/issues/17146.

Can you try with any of the suggestions in the issue @jmfgdev?

I'm currently downgrading my nodejs to the LTS release, so I might not encounter the same bug

I have encountered very similar issues several times with npm 5.  It seems that it sometimes is very sensitive to individual network conditions and assuming things are corrupted.  Typically though a rm -rf node_modules and a rm package-lock.json are enough to resolve the issue (though as noted in the linked issue, sometimes a purge of the npm cache is required).

As I suspected the issue was fine by the time I downgraded from 8 to 6

Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.


add return type annotation to spinner context manager

Pull Request Check List

[ ] A news fragment is added in news/ describing what is new.
[ ] Test cases added for changed code.

Describe what you have changed in this PR.

Sorry to revert that when merging. would a protocol be possible to denote the return type of the context manager? You can refer to DummySpinner for the necessary interfaces to expose

Sorry to revert that when merging. would a protocol be possible to denote the return type of the context manager? You can refer to DummySpinner for the necessary interfaces to expose

it would help slightly! a Protocol is basically Python's take on an interface/trait, right? it's python 3.8+ only, is that an issue for you?

Sorry to revert that when merging. would a protocol be possible to denote the return type of the context manager? You can refer to DummySpinner for the necessary interfaces to expose

it would help slightly! a Protocol is basically Python's take on an interface/trait, right? it's python 3.8+ only, is that an issue for you?

It can be imported from typing_extensions. You can put it in a try except in _types.py


docs: Update a part of docs for 2.0

Remove mention of Actor.main
Update example
Update example

be sure to mention those in the upgrading guide


Da guide

Added new DA guide and GPU-accelerated ML guide for support/tutorials section.

Is this ok to merge, or do you want me to wait for the second approval?

It's definitely OK to merge, we have already checked it inside the team several times.