Vuetify generation: unreachable resource (Unhandled Promise Exception)

Node: v12.14.0
NPM: 6.13.4
Attempting to generate Vuetify components from an API Platform installation (using the latest version of the API Platform composer dependencies).
The command I'm running is:
npx @api-platform/client-generator -g vuetify http://backend src/

The URL in this case is a referrer to another Docker container (named backend). That isn't the public-facing URL of the endpoint, but it's the only way that this container can access it.
After reporting that classes were successfully created, and providing instructions on integrating them into Vue Router and Vuex, I get the following chain of exceptions:
(node:152) UnhandledPromiseRejectionWarning: Error: Unreachable resource
    at /home/node/.npm/_npx/152/lib/node_modules/@api-platform/client-generator/node_modules/@api-platform/api-doc-parser/lib/hydra/fetchResource.js:11:15
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:152) 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(). (rejection id: 2)
(node:152) [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:152) UnhandledPromiseRejectionWarning: Error: Unreachable resource
    at /home/node/.npm/_npx/152/lib/node_modules/@api-platform/client-generator/node_modules/@api-platform/api-doc-parser/lib/hydra/fetchResource.js:11:15
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:152) 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(). (rejection id: 4)
(node:152) UnhandledPromiseRejectionWarning: Error: Unreachable resource
    at /home/node/.npm/_npx/152/lib/node_modules/@api-platform/client-generator/node_modules/@api-platform/api-doc-parser/lib/hydra/fetchResource.js:11:15
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:152) 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(). (rejection id: 6)
(node:152) UnhandledPromiseRejectionWarning: Error: Unreachable resource
    at /home/node/.npm/_npx/152/lib/node_modules/@api-platform/client-generator/node_modules/@api-platform/api-doc-parser/lib/hydra/fetchResource.js:11:15
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:152) 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(). (rejection id: 8)
(node:152) UnhandledPromiseRejectionWarning: Error: Unreachable resource
    at /home/node/.npm/_npx/152/lib/node_modules/@api-platform/client-generator/node_modules/@api-platform/api-doc-parser/lib/hydra/fetchResource.js:11:15
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:152) 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(). (rejection id: 10)
(node:152) UnhandledPromiseRejectionWarning: Error: Unreachable resource
    at /home/node/.npm/_npx/152/lib/node_modules/@api-platform/client-generator/node_modules/@api-platform/api-doc-parser/lib/hydra/fetchResource.js:11:15
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:152) 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(). (rejection id: 12)
(node:152) UnhandledPromiseRejectionWarning: Error: Unreachable resource
    at /home/node/.npm/_npx/152/lib/node_modules/@api-platform/client-generator/node_modules/@api-platform/api-doc-parser/lib/hydra/fetchResource.js:11:15
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:152) 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(). (rejection id: 14)
(node:152) UnhandledPromiseRejectionWarning: Error: Unreachable resource
    at /home/node/.npm/_npx/152/lib/node_modules/@api-platform/client-generator/node_modules/@api-platform/api-doc-parser/lib/hydra/fetchResource.js:11:15
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:152) 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(). (rejection id: 16)
(node:152) UnhandledPromiseRejectionWarning: Error: Unreachable resource
    at /home/node/.npm/_npx/152/lib/node_modules/@api-platform/client-generator/node_modules/@api-platform/api-doc-parser/lib/hydra/fetchResource.js:11:15
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:152) 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(). (rejection id: 18)
(node:152) UnhandledPromiseRejectionWarning: Error: Unreachable resource
    at /home/node/.npm/_npx/152/lib/node_modules/@api-platform/client-generator/node_modules/@api-platform/api-doc-parser/lib/hydra/fetchResource.js:11:15
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:152) 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(). (rejection id: 20)
(node:152) UnhandledPromiseRejectionWarning: Error: Unreachable resource
    at /home/node/.npm/_npx/152/lib/node_modules/@api-platform/client-generator/node_modules/@api-platform/api-doc-parser/lib/hydra/fetchResource.js:11:15
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:152) 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(). (rejection id: 22)

...and none of the components specified are actually created as a result.
Is there anything I'm doing wrong here? Thanks for your help!

@SlvrEagle23 thanks for reporting ! Is your API under authentification ?

@alOneh Yes, it uses the basic JWT auth bundle.

For now, it is not supported to generate code for an API under secured api documentation. You can create an issue for supporting that.

@alOneh Thank you for the update. Created new issue #196. Admittedly, I'm unsure of why hitting the endpoints themselves is necessary for the creation of the client, but hopefully this can be resolved, so I don't have to go through the process of disabling authentication on the application any time I want to generate/refresh client components.

I'm getting a similar issue when generating based on the documentation
npx @api-platform/client-generator -g vuetify https://demo.api-platform.com src/
npx: installed 298 in 10.041s
Code for the "Book" resource type has been generated!
Paste the following definitions in your application configuration:

//Configure your Vuetify plugin
// src/plugins/vuetify.js

import Vue from 'vue'
import Vuetify from 'vuetify/lib'

Vue.use(Vuetify)

const opts = {
  icons: {
    iconfont: 'mdi'
  }
};

export default new Vuetify(opts)

// Register the routes in you router
// src/router/index.js
import bookRoutes from './book';

// Add routes to VueRouter
export default new VueRouter({
  // ...
  routes: [
      ...bookRoutes,
  ]
});

// Register the modules in the store
// src/store/index.js
import bookService from './services/book';
import makeCrudModule from './modules/crud';

// ...

store.registerModule(
  'book',
  makeCrudModule({
    service: bookService
  })
);

Code for the "Review" resource type has been generated!
Paste the following definitions in your application configuration:

//Configure your Vuetify plugin
// src/plugins/vuetify.js

import Vue from 'vue'
import Vuetify from 'vuetify/lib'

Vue.use(Vuetify)

const opts = {
  icons: {
    iconfont: 'mdi'
  }
};

export default new Vuetify(opts)

// Register the routes in you router
// src/router/index.js
import reviewRoutes from './review';

// Add routes to VueRouter
export default new VueRouter({
  // ...
  routes: [
      ...reviewRoutes,
  ]
});

// Register the modules in the store
// src/store/index.js
import reviewService from './services/review';
import makeCrudModule from './modules/crud';

// ...

store.registerModule(
  'review',
  makeCrudModule({
    service: reviewService
  })
);

(node:26584) UnhandledPromiseRejectionWarning: Error: Unreachable resource
    at /home/xxx/.npm/_npx/26584/lib/node_modules/@api-platform/client-generator/node_modules/@api-platform/api-doc-parser/lib/hydra/fetchResource.js:11:15
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:26584) 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(). (rejection id: 2)
(node:26584) [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:26584) UnhandledPromiseRejectionWarning: Error: Unreachable resource
    at /home/xxx/.npm/_npx/26584/lib/node_modules/@api-platform/client-generator/node_modules/@api-platform/api-doc-parser/lib/hydra/fetchResource.js:11:15
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:26584) 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(). (rejection id: 4)

After investigating the api platform demo return an internal server error but don't know why :
{
  response: Body {
    url: 'https://demo.api-platform.com/books',
    status: 500,
    statusText: 'Internal Server Error',
    headers: Headers { _headers: [Object] },
    ok: false,
    body: PassThrough {
      _readableState: [ReadableState],
      readable: true,
      _events: [Object: null prototype],
      _eventsCount: 1,
      _maxListeners: undefined,
      _writableState: [WritableState],
      writable: false,
      allowHalfOpen: true,
      _transformState: [Object]
    },
    bodyUsed: false,
    size: 0,
    timeout: 0,
    _raw: [],
    _abort: false
  }
}

@Swahjak can you try the generator with your own api project ?

@alOneh did yesterday. Didn't think about the implications for this issue; It ran successfully (after fixing some of my own API issues).


Resolve Typos in SdlProxyBase

Bug Report
The following typos need to be resolved within the following file path sdl_java_suite/android/sdl_android/src/main/java/com/smartdevicelink/proxy/SdlProxyBase.java.
Observed Behavior/ Expected Behavior

The word Intial should be Initial in the description for @param initPrompt
The word beginging should be beginning in the description for @param iOffset
The word notificaiton should be notification in the following sentence "This method is no longer valid and will not remove the listener for the supplied notificaiton id"
The duplication of the word are the description of @param position should be removed

This class has been removed, closing as no longer an issue.


Crash occurs when using notarized methods in authentication block

Exception in thread "main" java.lang.IllegalStateException: Unknown selector (authenticate auth-jwt)
at io.bkbn.kompendium.path.CorePathCalculator.handleCustomSelectors(CorePathCalculator.kt:49)
at io.bkbn.kompendium.path.CorePathCalculator.calculate(CorePathCalculator.kt:44)
at io.bkbn.kompendium.path.CorePathCalculator.calculate(CorePathCalculator.kt:36)
at io.bkbn.kompendium.path.CorePathCalculator.calculate(CorePathCalculator.kt:36)
at io.bkbn.kompendium.path.CorePathCalculator.calculate(CorePathCalculator.kt:31)
at io.bkbn.kompendium.path.PathCalculator$DefaultImpls.calculate$default(PathCalculator.kt:13)
This occurs when trying to use the Authentication plugin's authorized block and include a notarized method inside. The crash occurs on server startup. I have verified that the Authentication Plugin is installed before Routing.

Adding

Yes this is the intended approach, but you make a really great point that this is not particularly intuitive.
The problem here lies in the modularity... the core package really has no concept of the auth package.
I wonder if we can adjust the way the path calculator is instantiated to allow for default overrides.  Because you're right, when someone does add the auth package, they are definitely going to want to include this path, and making the user do the leg work to add it is not very seamless.
Will think more on this 🙂 But if you want to dig in through the code and see if you can put together a way to tackle this I'd love to see it!

At the very least, I need to add better documentation around this.  Really sorry that there is nothing in the readme about this!

It is interesting that you ran into this bug.. the developer that created the auth module seems to have anticipated this as the KompendiumAuth object has an init block
init {
  Kompendium.pathCalculator = AuthPathCalculator()
}

Regardless, my initial design is bad, because if we ever have any extra modules, it will not work to simply override with another.   Definitely need to rethink this

Would it make sense to use some sort of interface list to hold the extended selectors? The current design appears to only support one extension without writing a when that calls handleCustomSelectors for each module you want to add. The CorePathCalculator's handleCustomSelectors could iterate over a hypothetical customSelectors list (or potentially use .filter{ some method in the interface that returns true if you handle the selector}.first() or something similar if you only want one module to handle it). This could also allow for multiple modules to add info to a route.

We are on a similar train of thought :) I am working on a potential solution, should have a PR out soon that I'll link here

@LandryNorris put out this PR ^^^ in particular check out the README documentation, want to make sure it is clear :)
I still think this implementation is a bit convoluted (particularly the handler method), but I can't think of a way to simplify it at the moment.  Ideally, for 99.9% of users it will just work, and they won't have to worry about it, and then for the rare case where someone needs to add a path handler, hopefully the documentation updates will make that easier to understand

The README looks good (in the sense that I think I could find the solution from the README alone now). I can anecdotally say that the oauth authentication method appears to be recognized in addition to jwt, but the resulting swagger page doesn't let me put in my JWT I get from OAuth.

Ooh interesting!  That sounds like a different bug, could you open up a new issue for that?

Hmmm @LandryNorris I just ran a couple things in the playground, auth seems to work fine in swagger as far as I can tell.. did you make sure to set securitySchemes = setOf("yourAuthScheme") in the MethodInfo?


Chapter 2: kindle request to explain why user is not avaiable after navigation

This (finally !!!) it's not a bug, but a kindle request
After the "database" section, just before the "session" section, I'd like an explanation of why if we navigate to another page (client side, without reload) and then return to the index page (again, only client side) we have no more the user object.
I know the answer, but an explanation will help to introduce the need for a cookie and for a mongo db session, that has been introduced into the code without explanation of why we were doing.
EDIT: I re-read session section and I see a very diligent explanation of problem, planning and intentions; good, really. So ignore a whole portion of what just wrote; keep only, if usefull for you, the idea to show the user that client at this point cannot preserver user object.
Thanks again for this project. I am learning a lot.

I close the issue.
It was due to a bug caused from myself.
I miswrote the portion where we assign user to global_user.
Fixed it, and all works, no loosing of user between navigation.
Sorry.


minor update to installation guide using dep

Fix https://github.com/kubernetes/client-go/issues/166.

This change is

/lgtm

Thanks. Merge.


Apply new compose contract convention.

Changes description 🧑💻

docs(readme): fixes special thanks styles for Remix Icon.
docs(template): Update PR template with compose contract link.
refactor(appbars): Apply new compose contract convention.
refactor(buttons): Apply new compose contract convention.
refactor(checkboxes): Apply new compose contract convention.
refactor(dividers): Apply new compose contract convention.
refactor(menus): Apply new compose contract convention.
refactor(modals): Apply new compose contract convention.
refactor(prices): Apply new compose contract convention.
refactor(progressbars): Apply new compose contract convention.
refactor(radiobuttons): Apply new compose contract convention.
refactor(ratings): Apply new compose contract convention.
refactor(switches): Apply new compose contract convention.
refactor(tabs): Apply new compose contract convention.
refactor(tags): Apply new compose contract convention.
refactor(text-inputs): Apply new compose contract convention.
Context 🤔

Closes #10
Checklist ✅

[x] I have reviewed the submitted code
[x] I have tested on a phone device/emulator
[x] I have tested on a tablet device/emulator
[x] I have tested on a kiosk device/emulator

You can download the apk here :

You can download the apk here :
sample-debug.apk :
https://app.bitrise.io/app/e9ae480151be4514/build/a60e81d7-a916-4048-b4cb-9f633278d541/artifact/4f9a7943064d4c59/p/a92e08296e5acba23ce0eba23391c681


[feat][cli] Add read command to pulsar-client-tools

Motivation
I thought it would be convenient to create a reader easily with CLI, so I added the read command to pulsar-client-tools.
Example of use:
$ ./bin/pulsar-client read -m 48:-1 -n 5 persistent://public/default/t1

----- got message -----
key:[null], properties:[], content:m0
----- got message -----
key:[null], properties:[], content:m1
----- got message -----
key:[null], properties:[], content:m2
----- got message -----
key:[null], properties:[], content:m3
----- got message -----
key:[null], properties:[], content:m4

Verifying this change

[x] Make sure that the change passes the CI checks.

Documentation

[x] doc-required

Have you tested it with pulsar-shell?

It seems to work fine on pulsar-shell as well.
$ ./bin/pulsar-shell
Using directory: /home/massakam/.pulsar-shell
Welcome to Pulsar shell!
  Service URL: pulsar://localhost:6650/
  Admin URL: http://localhost:8080/

Type help to get started or try the autocompletion (TAB button).
Type exit or quit to end the shell session.

default(localhost)> client read -m Earliest -n 5 persistent://public/default/t1
2023-01-20T23:25:24,112+0900 [pulsar-client-io-71-3] INFO  org.apache.pulsar.client.impl.ConnectionPool - [[id: 0x05f137b5, L:/<IP_ADDRESS>:43390 - R:localhost/<IP_ADDRESS>:6650]] Connected to server
2023-01-20T23:25:24,118+0900 [pulsar-client-io-71-3] INFO  org.apache.pulsar.client.impl.ConsumerStatsRecorderImpl - Starting Pulsar consumer status recorder with config: {"topicNames":["persistent://public/default/t1"],"topicsPattern":null,"subscriptionName":"reader-749d586940","subscriptionType":"Exclusive","subscriptionProperties":null,"subscriptionMode":"NonDurable","receiverQueueSize":1000,"acknowledgementsGroupTimeMicros":100000,"maxAcknowledgmentGroupSize":1000,"negativeAckRedeliveryDelayMicros":60000000,"maxTotalReceiverQueueSizeAcrossPartitions":50000,"consumerName":null,"ackTimeoutMillis":0,"tickDurationMillis":1000,"priorityLevel":0,"maxPendingChunkedMessage":10,"autoAckOldestChunkedMessageOnQueueFull":false,"expireTimeOfIncompleteChunkedMessageMillis":60000,"cryptoFailureAction":"FAIL","properties":{},"readCompacted":false,"subscriptionInitialPosition":"Latest","patternAutoDiscoveryPeriod":60,"regexSubscriptionMode":"PersistentOnly","deadLetterPolicy":null,"retryEnable":false,"autoUpdatePartitions":true,"autoUpdatePartitionsIntervalSeconds":60,"replicateSubscriptionState":false,"resetIncludeHead":false,"batchIndexAckEnabled":false,"ackReceiptEnabled":false,"poolMessages":true,"startPaused":false,"autoScaledReceiverQueueSizeEnabled":false,"topicConfigurations":[],"maxPendingChuckedMessage":10}
2023-01-20T23:25:24,119+0900 [pulsar-client-io-71-3] INFO  org.apache.pulsar.client.impl.ConsumerStatsRecorderImpl - Pulsar client config: {"serviceUrl":"pulsar://localhost:6650/","authPluginClassName":null,"authParams":null,"authParamMap":null,"operationTimeoutMs":30000,"lookupTimeoutMs":30000,"statsIntervalSeconds":60,"numIoThreads":6,"numListenerThreads":6,"connectionsPerBroker":1,"connectionMaxIdleSeconds":180,"useTcpNoDelay":true,"useTls":false,"tlsKeyFilePath":"","tlsCertificateFilePath":"","tlsTrustCertsFilePath":"","tlsAllowInsecureConnection":false,"tlsHostnameVerificationEnable":false,"concurrentLookupRequest":5000,"maxLookupRequest":50000,"maxLookupRedirects":20,"maxNumberOfRejectedRequestPerConnection":50,"keepAliveIntervalSeconds":30,"connectionTimeoutMs":10000,"requestTimeoutMs":60000,"readTimeoutMs":60000,"autoCertRefreshSeconds":300,"initialBackoffIntervalNanos":100000000,"maxBackoffIntervalNanos":60000000000,"enableBusyWait":false,"listenerName":null,"useKeyStoreTls":false,"sslProvider":null,"tlsKeyStoreType":"JKS","tlsKeyStorePath":"","tlsKeyStorePassword":"*****","tlsTrustStoreType":"JKS","tlsTrustStorePath":"","tlsTrustStorePassword":"*****","tlsCiphers":[],"tlsProtocols":[],"memoryLimitBytes":0,"proxyServiceUrl":null,"proxyProtocol":null,"enableTransaction":false,"dnsLookupBindAddress":null,"dnsLookupBindPort":0,"socks5ProxyAddress":null,"socks5ProxyUsername":null,"socks5ProxyPassword":null}
2023-01-20T23:25:24,121+0900 [pulsar-client-io-71-3] INFO  org.apache.pulsar.client.impl.ConsumerImpl - [persistent://public/default/t1][reader-749d586940] Subscribing to topic on cnx [id: 0x05f137b5, L:/<IP_ADDRESS>:43390 - R:localhost/<IP_ADDRESS>:6650], consumerId 0
2023-01-20T23:25:24,124+0900 [pulsar-client-io-71-3] INFO  org.apache.pulsar.client.impl.ConsumerImpl - [persistent://public/default/t1][reader-749d586940] Subscribed to topic on localhost/<IP_ADDRESS>:6650 -- consumer: 0
----- got message -----
key:[null], properties:[], content:test
----- got message -----
key:[null], properties:[], content:test
----- got message -----
key:[null], properties:[], content:test
----- got message -----
key:[null], properties:[], content:test
----- got message -----
key:[null], properties:[], content:test
2023-01-20T23:25:24,135+0900 [pulsar-client-io-71-3] INFO  org.apache.pulsar.client.impl.ConsumerImpl - [persistent://public/default/t1] [reader-749d586940] Closed consumer
2023-01-20T23:25:24,137+0900 [main] INFO  org.apache.pulsar.client.impl.PulsarClientImpl - Client closing. URL: pulsar://localhost:6650/
2023-01-20T23:25:24,137+0900 [pulsar-client-io-71-3] INFO  org.apache.pulsar.client.impl.ClientCnx - [id: 0x05f137b5, L:/<IP_ADDRESS>:43390 ! R:localhost/<IP_ADDRESS>:6650] Disconnected
2023-01-20T23:25:26,141+0900 [main] INFO  org.apache.pulsar.client.cli.PulsarClientTool - 5 messages successfully read
default(localhost)>

Hi @massakam, It will help users a lot if you can add the docs for this feature. Do you have any planned updates on that?

@momo-jun Yes, I will make a pull-request to the pulsar-site repository later.

@momo-jun The reference for the "read" subcommand added in this PR seems to have been automatically generated and committed to the pulsar-site repository. So I don't think I should do more.
https://github.com/apache/pulsar-site/commit/75f16503bc3ce96e710f5072234b1178b3a8aff8


Show error popup without mouse (with keyboard)

Is it possible to get error popup shown when cursor is positioned on the code underlined with red using keyboard, without mouse?
Didn't find anything related to this in keybindings.

Aso to this this question is there a key combination:

General mouse over behaviour (not only erros)
Ctrl + mouse over behaviour (usually showing the content of the file/interface)
Ctrl + mouse click` go to file/definition

F8 to cycle through errors


Fix/loading

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 58.611%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
616

Relevant Lines:
1051

💛  - Coveralls


'sphinx_compas_theme' module not found

Hi!
I set up my project package using the compas cookie-cutter template. when I run invoke docs  to set up a docs page I get an error which I am not sure how to solve
(click-brick) C:\Users\ukeer\GitHub\click_brick>invoke docs
running clean
Running Sphinx v3.2.1

Configuration error:
There is a programmable error in your configuration file:

Traceback (most recent call last):
  File "C:\Users\ukeer\Anaconda3\envs\click-brick\lib\site-packages\sphinx\config.py", line 319, in eval_config_file
    execfile_(filename, namespace)
  File "C:\Users\ukeer\Anaconda3\envs\click-brick\lib\site-packages\sphinx\util\pycompat.py", line 89, in execfile_
    exec(code, _globals)
  File "C:\Users\ukeer\GitHub\click_brick\docsource\conf.py", line 10, in <module>
    import sphinx_compas_theme
ModuleNotFoundError: No module named 'sphinx_compas_theme'

Versions
COMPAS 0.15.5
compas_assembly  0.2.1
Windows 10
Steps to reproduce
set up package in project environment with compas cookie-cutter
follow steps to setup a new Cookiecutter template layout
add and commit docs changes
invoke docs
Further
I looked up the docs folder and the contents seems alright comparing it with the docs set up of existing public compas repos.

sorry for the late reply. did you install the dev requirements?


[build-script] Introduce "concat" argument action

What's in this pull request?
Introduce concat in swift_build_support.arguments.action module.
This simplifies list like arguments processing: avoid unnecessary "list of list".

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

@swift-ci Please test

@ddunbar Could you use this in #2880 ?

Yes, thanks!!

On Jun 4, 2016, at 9:06 AM, Rintaro Ishizaki<EMAIL_ADDRESS>wrote:
@ddunbar Could you use this in #2880 ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Pass --log-opts map to logdrivers

This change passes the --log-opts map to the each log driver's constructor through logger.Context.
cc: @LK4D4 @tagomoris

Ok this closes #13290 I think

LGTM

LGTM too.

LGTM


The value "0" can not be set as a property value

If you want to add the value "0" to a property, the value will be saved as an empty value.
Environment:

PHP 8.3
Shopware <IP_ADDRESS> / <IP_ADDRESS>

Steps to reproduce:

Add a new property (value display type: Text)
Click on "Add value", enter "0" as name and click on apply

Expected result:
The value "0" should be saved and displayed.
Actual result:
The value is saved and displayed as an empty value.

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-36551.
[created from NEXT-36551, comment 486636]

Should be solved by https://github.com/shopware/shopware/pull/4519


AST: Re-enable ASTScope invariant check

Re-enables the check that children of ASTScope nodes are added in source range order. This seems to have been accidentally disabled permanently in https://github.com/swiftlang/swift/pull/63023.

@swift-ci please test


⚠ Bofrost.com has degraded performance

In bac0283, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 740 ms

Resolved: Bofrost.com performance has improved in 75abd3a.


Add linusgordon.json file

Introducing myself from the OSS Hack Night!

Hey! this is a very good file.

Feel free to reopen if you want to try again without script injection 😉


[fix](load priv) modify error msg of checking table priv

Proposed changes
Issue Number: close #7815
Problem Summary:
Describe the overview of changes.
Checklist(Required)

Does it affect the original behavior: (No)
Has unit tests been added: (No Need)
Has document been added or modified: (No Need)
Does it need to update dependencies: (Yes)
Are there any changes that cannot be rolled back: (No)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

I think we can just enhance the error message like:
LOAD command denied to user<EMAIL_ADDRESS>for table 'db1.tbl1'.
To add database name in error msg.

I think we can just enhance the error message like: LOAD command denied to user<EMAIL_ADDRESS>for table 'db1.tbl1'.
To add database name in error msg.

Thx for advices.
And FE UT passed locally.


[Bug]: Links to documentation in the feature flag editor UI are bad and go to 404 pages

What happened?
The links to documentation in the flag editor UI seem to go to nonexistent pages and get 404s.
All of the "Check the docs" links from the information tool tips go to 404 pages:

To Reproduce

Click "Feature Flags" in the side bar, then select a flag to open the editor page for it
Click on one of the "Check the docs" links that show in the tooltip when hovering over the more info icon (the "i" in the circle)

Expected behavior
The links should go to the correct docs pages and not a 404 page:
"Default" should go to https://docs.featbit.co/feature-flags/targeting-users-with-flags/targeting-rules#setting-the-default-rule
"Individual targeting" should go to https://docs.featbit.co/feature-flags/targeting-users-with-flags/individual-user-targeting
"Targeting rules" should go to https://docs.featbit.co/feature-flags/targeting-users-with-flags/targeting-rules#creating-targeting-rules
Additional context
Tested on versions 2.4.5 and 3.1.0
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Thanks for reporting this ❤


check in yarn.lock and use it in CI

Let's see if this resolves the issue

No longer necessary with saucelabs 4.7.8.


fix: codemirror import error (#1281)

fix #1281
This PR fixes #1281 by partly reverts 4ef7fc934586758d2c8bdaa8bb0afa6e4605fad2.
It is confusing that the codemirror package isn't explicitly excluded from optimizeDeps, but it is in fact not optimized (only when @slidev/cli and @slidev/client are installed from npm registry. In this monorepo, it is OK). And codemirror@5 is a UMD package, but it is then wrongly imported as an ESM package, which causes the issue. This PR re-adds codemirror related packages to optimizeDeps.include array, and import CodeMirror as default import.
I am not sure whether other packages removed from the include list by 4ef7fc934586758d2c8bdaa8bb0afa6e4605fad2 (listed below) should be added again or not.
Lines removed in 4ef7fc934586758d2c8bdaa8bb0afa6e4605fad2:
import { dependencies } from '../../../client/package.json'
//      optimizeDeps: {
          include: [
            ...Object.keys(dependencies).filter(i => !EXCLUDE.includes(i)),
            'codemirror/mode/javascript/javascript',
            'codemirror/mode/css/css',
            'codemirror/mode/markdown/markdown',
            'codemirror/mode/xml/xml',
            'codemirror/mode/htmlmixed/htmlmixed',
            'codemirror/addon/display/placeholder',
            'prettier/plugins/babel',
            'prettier/plugins/html',
            'prettier/plugins/typescript',
            'mermaid/dist/mermaid.esm.min.mjs',
            'mermaid/dist/mermaid.esm.mjs',
            'vite-plugin-vue-server-ref/client',
          ],

This PR re-adds these:
const INCLUDE = [
  'codemirror',
  'codemirror/mode/javascript/javascript',
  'codemirror/mode/css/css',
  'codemirror/mode/markdown/markdown',
  'codemirror/mode/xml/xml',
  'codemirror/mode/htmlmixed/htmlmixed',
  'codemirror/addon/display/placeholder',
]

So, the reason for removing the optimizeDeps.include is that it doesn't work without shamefully-hoist on pnpm.
Maybe we could use a runtime interop to work for both cases? Like
import * as _cm from 'codemirror'

const cm = interopDefault(_cm) as import('codemirror')

function interopDefault(mod: any) {
  return mod.default || mod
}

(FYI, I didn't test the code above)

This seems works:
import * as _CodeMirror from 'codemirror'

// eslint-disable-next-line ts/ban-ts-comment
// @ts-expect-error
const CodeMirror: typeof _CodeMirror = _CodeMirror.fromTextArea ? _CodeMirror : globalThis.CodeMirror


print_block, get_block, put_block

First, print_block will print each block as a UniTensor. In you get_block then print, you print a tensor. This is the current behavior, we should discuss this in the future.
Second, can we let print_block accept similar argument in get_block, put_block. Like print_block([0,1,1]), print_block("a","b","c"],[1,1,1]).
What is the difference between Qn index (quantum number index) and a list of quantum numbers?

Qn index is the index of a list of quantum numbers


game crashed when dragging a zip file with executable fnf mod

Describe your bug here.
read the title
PsychEngine_2024-07-26_17'39'52.txt
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
why is this needed

the crash log is empty

the crash log is empty

wait really?

the crash log is empty

crash i got

the crash log is empty

 crash i got

that is garn47 :skull:


replace spaces by another character

I have this Nim code in here
import puppy
import os

let
  url = "https://funquizzes.fun/uploads/manga/One%20Punch%20Man/"

echo url
echo execShellCmd("curl "&url)
echo fetch(url)

with curl it works but with puppy it doesn't work because it seems that the fetch function replace spaces or %20 by '+' anyway which the server I try to fetch doesn't accept.
would be better not replacing it or use encodeUrl.
https://github.com/treeform/urlly/blob/master/src/urlly.nim#L48-L49

Thank you for the issue!
This should be fixed in 1.0.1.
Feel free to reopen if you still have issues.


Quasar?

Is it possible to get this package to work with Quasar?
It is a material design framework with components for Vue JS.
They have an electron wrapper, but did not like it very much (double node_modules directories and not as fancy console as this boilerplate).
I tried to integrate it unsuccessfully. It seems to require a lot of custom configuration.
Maybe it would be better to make a new repo for this. It would be nice if you had the time to make the same magic on a quasar/electron repo as you did here with the single node_modules directory and colored console, and running one "npm run dev" instead of two "quasar dev" as in their repo.

@Zyles
I personally agree that the Quasar Framework doesn't do that great of a job with its electron wrapper. Here's what you can do to get it working with electron-vue...
Scaffold electron-vue
vue init simulatedgreg/electron-vue my-project
# select desired options
cd my-project
yarn

# add quasar dependencies
yarn add quasar-framework moment fastclick material-design-icons roboto-fontface

src/renderer/main.js
import Vue from 'vue'
import axios from 'axios'

import App from './App'
import router from './router'
import store from './store'

import Quasar from 'quasar-framework'
import 'quasar-framework/dist/quasar.mat.css'
Vue.use(Quasar)

if (!process.env.IS_WEB) Vue.use(require('vue-electron'))
Vue.http = Vue.prototype.$http = axios
Vue.config.productionTip = false

Quasar.start(() => {
  /* eslint-disable no-new */
  new Vue({
    components: { App },
    router,
    store,
    template: '<App/>'
  }).$mount('#app')
})

From here you can start using quasar-framework components in your templates. Hope this helps. Closing since this isn't a direct issue with electron-vue, feel free to comment back any other questions.

Hey again.
Everything seems to be working fine using npm install quasar-framework but I can't do npm install quasar-framework --save for some reason.
The error in the Chrome console:
Uncaught SyntaxError: Unexpected token
C:\...\node_modules\quasar-framework\dist\quasar.esm.js:12860
export
    at createScript (vm.js:74)
    at Object.runInThisContext (vm.js:116)
    at Module._compile (module.js:533)
    at Object.Module._extensions..js (module.js:580)
    at Module.load (module.js:503)
    at tryModuleLoad (module.js:466)
    at Function.Module._load (module.js:458)
    at Module.require (module.js:513)
    at require (internal/module.js:11)
    at eval (external "quasar-framework"?f874:1)

I don't understand what is going on.
Thank you.

The above instructions no longer seem to work with Quasar 0.14.
It returns the "Unexpected token" error from webpack trying to load the quasar framework.
Searching, no one seems to have found the solution to integrate these two projects, which is a shame.

Same error
Uncaught SyntaxError: Unexpected token import

Same error
Uncaught SyntaxError: Unexpected token import

hi,you had Solve the problem?I meeting Same error

Same error
Uncaught SyntaxError: Unexpected token import

hi,you had Solve the problem?I meeting Same error

我记得好像是不要用 import 引入，用 require 之类的

Same error
Uncaught SyntaxError: Unexpected token import

hi,you had Solve the problem?I meeting Same error

我记得好像是不要用 import 引入，用 require 之类的

是怎么引用，求指导下，我是electron-vue创建后，vue add quasar  以vue插件的形式安装quasar，安装的时候报 Unexpected token import 运行的时候感觉quasar 的组件已经引入，但是没有产生效果

require

Same error
Uncaught SyntaxError: Unexpected token import

hi,you had Solve the problem?I meeting Same error

我记得好像是不要用 import 引入，用 require 之类的

是怎么引用，求指导下，我是electron-vue创建后，vue add quasar 以vue插件的形式安装quasar，安装的时候报 Unexpected token import 运行的时候感觉quasar 的组件已经引入，但是没有产生效果
不对，报错是vue add quasar 默认会去找src目录下的main.js 但是electron-vue目录结构下main.js是在renderer下。。。不知道怎么改变插件的默认关联main.js的位置


Compilation error when generating client with generateDataTypes = false in Kotlin

When I am generating Kotlin with generateDataTypes = false option, the interfaces are still being generated, even when I set generateInterfaces = false.
The interface that used for our data types generate a JsonSubTypes annotation that uses data types but fails on compilation because we didn't generate these data types code.

Plugin version: 5.1.16

@shakhar - If you have interfaces, client code generation does rely on those generated classes to properly deserialize json responses. Removing that would break functionality. Is there any reason you are not able to use it with the generated data types?

@srinivasankavitha I used your [example] (https://netflix.github.io/dgs/generating-code-from-schema/#generating-query-apis-for-external-services) for generating query api. This example generates the Node interface without the TestUser data type and fails on compilation.

Ok, I see. Will investigate this a bit more to understand better. Fyi, the generateInterfaces flag is a bit confusing the way it is named, but that does not prevent the generation of interface classes corresponding to the schema. Rather, it is used to generate Interfaces for the generated data types. So not applicable for the scenario you are describing here.

Created  a PR #340 to fix this issue. Will merge and release shortly after review.

Thank you @srinivasankavitha 🙏🏽


[JAVA] Communication Common | Microsoft Teams App Identifier feature GA release updates

Description
Microsoft Teams App Identifier GA release of the azure-communication-common SDK - 1.3.0
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

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

General Guidelines and Best Practices

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

Testing Guidelines

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

API change check
APIView has identified API level changes in this PR and created following API reviews.
com.azure:azure-communication-common


make dev throws [FileNotFoundError] [Errno 2] No such file or directory

Edit: The following command...
poetry -vvv run uvicorn main:app --reload
throws:
[NoSuchOptionException]
The "--reload" option does not exist.

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/clikit/console_application.py", line 123, in run
    io = io_factory(
  File "/usr/lib/python3.9/site-packages/poetry/console/config/application_config.py", line 168, in create_io
    resolved_command = application.resolve_command(args)
  File "/usr/lib/python3.9/site-packages/clikit/console_application.py", line 110, in resolve_command
    return self._config.command_resolver.resolve(args, self)
  File "/usr/lib/python3.9/site-packages/clikit/resolver/default_resolver.py", line 43, in resolve
    result = self.process_default_commands(args, application.default_commands)
  File "/usr/lib/python3.9/site-packages/clikit/resolver/default_resolver.py", line 104, in process_default_commands
    if resolved_command.is_parsable():
  File "/usr/lib/python3.9/site-packages/clikit/resolver/resolve_result.py", line 43, in is_parsable
    self._parse()
  File "/usr/lib/python3.9/site-packages/clikit/resolver/resolve_result.py", line 49, in _parse
    self._parsed_args = self._command.parse(self._raw_args)
  File "/usr/lib/python3.9/site-packages/clikit/api/command/command.py", line 113, in parse
    return self._config.args_parser.parse(args, self._args_format, lenient)
  File "/usr/lib/python3.9/site-packages/clikit/args/default_args_parser.py", line 53, in parse
    self._parse(args, _fmt, lenient)
  File "/usr/lib/python3.9/site-packages/clikit/args/default_args_parser.py", line 101, in _parse
    self._parse_long_option(token, tokens, fmt, lenient)
  File "/usr/lib/python3.9/site-packages/clikit/args/default_args_parser.py", line 247, in _parse_long_option
    self._add_long_option(name, None, tokens, fmt, lenient)
  File "/usr/lib/python3.9/site-packages/clikit/args/default_args_parser.py", line 300, in _add_long_option
    raise NoSuchOptionException(name)

And regarding the environment... poetry env info throws:
Virtualenv
Python:         3.9.1
Implementation: CPython
Path:           ~/.cache/pypoetry/virtualenvs/fastapi-service-2hjJIUGa-py3.9
Valid:          True

System
Platform: linux
OS:       posix
Python:   /usr

Hi @fchpr, can you please provide full stacktrace? Thank you!

Hi @fchpr, can you please provide full stacktrace? Thank you!

Feel free to ask me anything else, and thanks to you for such quick response...

Feel free to ask me anything else, and thanks to you for such quick response...

Can you try if this resolves both your issues (FileNotFoundError originally included in this issue, and the Traceback you added above for NoSuchOptionException).

Make sure you are in the same folder as pyproject.toml
Execute the following commands:

poetry env remove python              # this will delete virtualenv
poetry                                # this will install all dependencies (again)
cd app                                # this will navigate to the folder where the FastAPI app is located
poetry run uvicorn main:app --reload  # this will run uvicorn with hot reloading

Now it throws:
INFO:     Uvicorn running on http://<IP_ADDRESS>:8000 (Press CTRL+C to quit)
INFO:     Started reloader process [11076] using statreload
Process SpawnProcess-1:
Traceback (most recent call last):
  File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3.9/site-packages/uvicorn/subprocess.py", line 61, in subprocess_started
    target(sockets=sockets)
  File "/usr/lib/python3.9/site-packages/uvicorn/server.py", line 48, in run
    loop.run_until_complete(self.serve(sockets=sockets))
  File "uvloop/loop.pyx", line 1456, in uvloop.loop.Loop.run_until_complete
  File "/usr/lib/python3.9/site-packages/uvicorn/server.py", line 55, in serve
    config.load()
  File "/usr/lib/python3.9/site-packages/uvicorn/config.py", line 308, in load
    self.loaded_app = import_from_string(self.app)
  File "/usr/lib/python3.9/site-packages/uvicorn/importer.py", line 23, in import_from_string
    raise exc from None
  File "/usr/lib/python3.9/site-packages/uvicorn/importer.py", line 20, in import_from_string
    module = importlib.import_module(module_str)
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "./main.py", line 4, in <module>
    from routers import foo
  File "./routers/foo.py", line 3, in <module>
    from services.foo import FooService
  File "./services/foo.py", line 6, in <module>
    from utils.service_result import ServiceResult
  File "./utils/service_result.py", line 1, in <module>
    from loguru import logger
ModuleNotFoundError: No module named 'loguru'

It seems an issue related to virtualenv, maybe since I had upgraded the system (now it's running on Python 3.9).

This seems to be an specific issue related my system. Worked in other environment.


takes tomuch time to install and even after taking long time the browser is not open

Describe the bug
installing but not open
Link to the blitz that caused the error
https://stackblitz.com/run?file=src%2FApp.vue
Steps to reproduce
Installing but do not open project at browser
Expected behavior
installing but not open project in browser
Parity with Local

[X] I have run the project in my local machine and I could not reproduce the issue.

Screenshots

Platform
Browser name  = Firefox
Full version  = 122.0
Major version = 122
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0
performance.memory = undefined
Hash = 0314a412

Additional context
No response

hi :wave: thanks for reporting this issue!
we are tracking this issue internally and will post when we have any updates


Update google-cloud-trace to 1.2.13

Updates com.google.cloud:google-cloud-trace from 1.0.3 to 1.2.13.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.cloud", artifactId = "google-cloud-trace" } ]

labels: library-update, semver-minor

Superseded by #147.


Fix the webcal for individual papers

Number of Volunteers: 1
I somehow breaks the ICS files and I got invalid file error when importing it to my Calendar app.
Should be an easy fix in this function http://github.com/acl-org/acl-2020-virtual-conference/blob/f63e5da66c7319a479de97667b6f2b3878c99460/main.py#L136-L136

I think the problem is that the files are behind a login wall, so calendar apps aren't able to grab them. If I wget https://virtual.acl2020.org/paper_main.336.0.ics I get redirected to the regular login page
Resolving virtual.acl2020.org... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to virtual.acl2020.org|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 307 Temporary Redirect
Location: https://auth-bd91958c.auth.us-east-1.amazoncognito.com/oauth2/authorize?redirect_uri=https%3A%2F%2Fvirtual.acl2020.org%2F[...]

However, if I try to import http://localhost:5000/paper_main.336.0.ics to Apple calendar (while a dev server is running) it works fine

@GuyAglionby
Hmm... ok.. I think the easy fix is to host these ics files in a different public place, which should be easy to do.
But I wonder whether we can quickly test this solution https://github.com/commonpike/add-to-calendar-buttons

This is what the library gives:

The popup for the second session doesn't fit in the grey info box, and is cut off by overflow:hidden in pp-card. It looks fine if that's removed, but I'm not sure what that may break/why the property was there in the first place. Separately, I tried bringing the buttons inline, similar to how they were before, but couldn't make the popover work well when I did. Someone whose HTML and CSS is better than mine would probably be able to work it out.
Let me know how you want to move forward. Happy to experiment with what removing that CSS property does.

@GuyAglionby I think this is nicer. Can you push a branch and I'll ask someone to take over?
@jcklie Can you help us to this one?

Here we go https://github.com/acl-org/acl-2020-virtual-conference/tree/guyaglionby-20200623-ics-plugin

I tried the overflow hidden and could not find anything breaking. I think it is only relevant if the height of the pp card is fixed, otherwise the overflow does nothing.

fwiw: It seems that we can change https://github.com/acl-org/acl-2020-virtual-conference/blob/81c16c802c60a27e0842d6a658811ddf1751bc23/static/js/add-to-calendar.js#L13 to remove the label.
So we can simply show an icon.

But there are remaining issues, i.e., 1) how to align it to the same row, and 2) the pop-up window is not fully shown for the second session.


GPM does not work when updating on Windows

Current error from windows command line when running C\grav> php bin\gpm selfupgrade
PHP Warning:  require_once(C:\path_to_grav\grav\bin/../vendor/autoload.php): failed to o
pen stream: No such file or directory in C:\path_to_grav\grav\bin\gpm on line 19
PHP Fatal error:  require_once(): Failed opening required 'C:\path_to_grav\grav\bin/../v
endor/autoload.php' (include_path='.;C:\php\pear') in C:\path_to_grav\grav\bin\gpm on li
ne 19

What are you running in your windows terminal? Cygwin? BashGit? etc?

None. Is that the problem?

I think that's probably the root cause.  Windows just doesn't have the command line capabilities that GPM needs.  Could you try installing GitBash (seems the best option on windows), and trying it with that?

Running the bin\gpm selfupgrade command in GitBash causes a runtime error due to a lack of administrative permissions. Then causing the above error if run again as bin\gpm deletes the system folder and replaces it later. If you run the bin\gpm selfupgrade command in GitBash after launching GitBash with administrative rights then you will not encounter a runtime error and gpm can upgrade successfully.


getting users list is very slow

users function in Portals class (arcrest/manageorg/_portals.py) takes about 30 secs.
It seems that urllib2.urlopen(request).read() function waits some response from AGOL...

Can you please post your code without passwords/username.
Is this code being run against AGOL or ArcGIS Portal, if portal, can you please provide the version you are using?
Thank you,
Andrew

Hi Andrew,
This issue is reproducible using following code.
I
import arcrest
handler = arcrest.security.AGOLTokenSecurityHandler('username', 'password')
adm = arcrest.manageorg.administration.Administration('http://ejopendataportal.maps.arcgis.com', handler)
portal = adm.portals('self')
users = portal.users() # <-- It takes about 30 sec.

I can confirm the issue.  This appears to be something happening at the AGOL level, not the ArcREST level.
It does take 30+ seconds to perform the operation.

I agree with you and I found workaround for this issue.
When "Accept-Encoding" http header is added to the request, this issue is not reproducible.
I will make a pull request about this issue and another issue later.
Thank you,

Merged, please update your fork.
Thank you for figuring that out!


Windows client disable keyboard

Hi,
sometimes (once in a week) windows freerdp client disable keyboard on local host. I can't type. When I terminate wfreerdp.exe from process explorer, then keyboard works again. I want to provide logs, but currently windows client do not have any option for debug, or log to file (https://github.com/FreeRDP/FreeRDP/wiki/CommandLineInterface).
If you can provide me static binary with enabled debug, I can upload logs.

This should be reopened. It happens constantly to me. I had to terminate connection.
I can send feedback, whatever needed.
Its certain its not about CPU.

BTW, it happens daily to me. I am using latest nightly release on Windows 10. If you want, I can open a new ticket or we can debug here @akallabeth

@majkinetor ok, then better a new issue with a more detailed failure description. (and you know the <ctrl>+<alt> escape combo?)

No, what does CTRL + ALT + ESC do ?

@majkinetor only <crtl>+<alt> removes the keyboard input capture from the freerdp session so you can use the keyboard in the system again?

OK, I will try that and open a new ticket.

Tried latest master via nightlz and it still happens.


How can a robot replied link generate a preview?

As you can see, the bot's replied link can't generate a preview while people's can.

Are there any python-zulip-apis to let Bot replied link has a preview?

@MooreManor I highly recommend asking your questions in the  #general stream in the Zulip development community for this issue, as well as #21665. It will be much easier for folks to help you in an interactive conversation.


Add "How to write metadata" guide or procedure

Add a new page of documentation guiding a user through how to write their metadata in the qube-config.json file. The current file is a bit too technical for most users and doesn't provide them with examples.

[ ] Guide users through all of the fields they can use, explain to them what the field contains and provide examples for them to choose from.

[ ] Link back to the existing qube-config.json for more advanced configuration options.

[ ] Explain what the squiggly lines in vscode mean and show auto-completion

[ ] Give them lots of examples of JSON documents they can copy & paste.

Probably want multiple pages

Guide to defining the metadata

Guide to defining columns

See #706 for more thoughts and ideas. This seems to be a duplicate ticket.

As part of this ticket, can you also review the location of our log files. Check the AppDirs package to see if they've updated their documentation to point out where user logs now get stored.
Can you use this information to update the log path in our docs so users can sensibly find the logs.


[Small bug] - first preferences change blocked due to http proxy port not being set

Small but annoying bug, since version 0.25 or 0.26
When one, for the first time, tries to edit something in the preferences (by example disabling the SSL validation) and then saves, the preference pane crashes because the proxy http port default value (in another tab of the preferences) is empty, and there is an attempt to save its value (with a numerical type I suppose, and NaN...).
Workaround: go to the proxy tab, set something (even if the proxy is not in use), 0 by example, and then you can save with the modification taken into account.
To fix the issue : set up a default hardcoded numerical value for the http proxy port, or do not attempt to save this empty value when proxy is disabled?

Just release a fix for this in the v0.27.0 release. Can you test it ?


python-visual not available on Ubuntu 18.04

Hi,
My OS is Ubuntu 18.04 (Bionic Beaver) and I am using ROS Melodic. Currently the python-visual package is not available for this OS. Hence I am not able to use the 3D Visualization GUI tool. Is there an alternative to python-visual or a workaround for this problem?

Same problem. Have you found a solution?

The alternative provided in #47 works well for this purpose.

I cannot create the new environment suggested in that post, too many dependencies seems unavailable for me... Can you please share your Python environment .yaml file if you have installed it on your local machine?


ci: build crates independently to verify that all features are declared

Here, as part of the push to crates.io, the build failed because a feature declaration was missing. See:
https://github.com/uutils/coreutils/commit/dcb53b6c9989b956ed4ebc4122cc85de0b384726
we should have a task which will build all the programs separately

*sigh* this happens every single release 😄

How is this issue different from https://github.com/uutils/coreutils/issues/6097?

oh, sorry :(
only 4 days ago ...


add tests for NodeLogBackend

mbgl.on('message', function(msg) {
    console.log(msg);
});

{ class: 'General',
  severity: 'Debug',
  text: 'painter setup: 54ms' }

Even in BUILDTYPE=Release this will catch C++ errors like the following (from failing to decompress a gzipped vector tile) that would otherwise go unreported.
{ class: 'ParseTile',
  severity: 'ERROR',
  text: 'Parsing [0/0/0] failed: pbf unknown field type exception' }

The gzip unhandled test in https://github.com/mapbox/node-mapbox-gl-native/pull/98 includes this.


Use formatter

Reformat code with the formatter black.
Related to https://github.com/RasaHQ/roadmap/issues/436

closed by https://github.com/RasaHQ/rasa_core_sdk/pull/62


fix: Matrix encoding roundtrip losing precision. Use f64 instead of f32s.

Fixes #45. The elements in the encoded matrix where deserialized into f32, which caused a precision loss.

(Ignore the missing ops CI check, I'll fix #46 in a different PR)


[elixir] fix: error on missing table

This PR allows loads that don't have a table association to remain in the incoming bucket.

Like I said in #15, I'm happy to take responsibility for this refactoring. It shouldn't impact the work you're currently doing, which is after the CubicOdsTable and CubicOdsLoad records are properly in the RDS database.
Something to keep in mind for future work is that you were able to delete some of the error handling, but no test cases failed. Going forward, it might be better to start with the tests to ensure that there's at least one failing test case for new functionality.

@paulswartz Noted.

@paulswartz Did you want me to do more here, regarding test, or is the code fine as is for now?


update get_link_from_media_id()

fetching media ids is sometimes resulting in user id being appended to it using "_"
added fix for it
*media_id, char = int(media_id) // 64, int(media_id) % 64
added int conversion as media_id in char form will give type error when divided by int value .

Great contribution! Please fix all Travis-CI codestyle issues and I'll merge it!

This is indeed a bug and i will try and fix this soon. @ohld can you close this after I added my PR?

@negswell I'm getting the media_id by calling this function - get_media_id_from_link()
By inferring that the variable is a string, your change broke my code. Just FYI

What code did you use?

Basically, I created a submit form that takes in an instagram link. I process the link and convert it to a media_id via get_media_id_from_link(). I then pass the media_id to a function that returns several attributes of the post. In this function, I also return the instagram link via get_link_from_media_id() (I know it's redundant, but it should still work).
When I printed out the error, i got - 'int' object has no attribute 'find'
I reverted the get_link_from_media_id() function to before this update, which solved my problem.

That's weird since the media is should always be a int object. Can you post your script as an issue and include the precise error message ? Inc the link too that your using. Than I'll debug the code.

Sounds good. I'll strip the code out and post when I have some extra time.


[TOPI][OP] Use Thrust sort for argsort and topk

The current GPU sort implementation (odd-even transposition sort) is too slow when the number of elements is large.  This PR introduces Thrust implementation of sort which is much faster.
Note that this change requires CMake ~3.8~ 3.13 or later since we have to use nvcc to compile a thrust code.

benchmark script
import tvm
from tvm import relay
from tvm.contrib import graph_runtime
import numpy as np

target = 'cuda'
ctx = tvm.gpu(0)
n = 100000

x = relay.var("x", shape=(n,))
out = relay.topk(x)
func = relay.Function([x], out[0])

with relay.build_config(opt_level=3):
    graph, lib, params = relay.build(func, target)

module = graph_runtime.create(graph, lib, ctx)

print("Evaluate inference time cost...")
ftimer = module.module.time_evaluator("run", ctx, number=1, repeat=3)
prof_res = np.array(ftimer().results) * 1000
print("Mean inference time (std dev): %.2f ms (%.2f ms)" %
      (np.mean(prof_res), np.std(prof_res)))

result (NVIDIA P100, without thrust)
Evaluate inference time cost...
Mean inference time (std dev): 2058.89 ms (0.07 ms)

result (NVIDIA P100, with thrust)
Evaluate inference time cost...
Mean inference time (std dev): 1.11 ms (0.03 ms)

@icemelon9 @vinx13 @masahi could you help to review?

Is this cuda 10.1 compatible? I tried to build it on my machine with cuda 10.1 and it gives me the following errors:
/home/ubuntu/workplace/tvm-1/src/runtime/contrib/thrust/thrust.cu(42): error: namespace "thrust" has no member "device_ptr"

/home/ubuntu/workplace/tvm-1/src/runtime/contrib/thrust/thrust.cu(42): error: type name is not allowed

/home/ubuntu/workplace/tvm-1/src/runtime/contrib/thrust/thrust.cu(43): error: namespace "thrust" has no member "device_ptr"

/home/ubuntu/workplace/tvm-1/src/runtime/contrib/thrust/thrust.cu(43): error: type name is not allowed

/home/ubuntu/workplace/tvm-1/src/runtime/contrib/thrust/thrust.cu(44): error: namespace "thrust" has no member "device_ptr"

/home/ubuntu/workplace/tvm-1/src/runtime/contrib/thrust/thrust.cu(44): error: type name is not allowed

/home/ubuntu/workplace/tvm-1/src/runtime/contrib/thrust/thrust.cu(52): error: identifier "data_ptr" is undefined

/home/ubuntu/workplace/tvm-1/src/runtime/contrib/thrust/thrust.cu(52): error: identifier "values_ptr" is undefined

/home/ubuntu/workplace/tvm-1/src/runtime/contrib/thrust/thrust.cu(55): error: identifier "indices_ptr" is undefined

/home/ubuntu/workplace/tvm-1/src/runtime/contrib/thrust/thrust.cu(42): error: identifier "data_ptr" is undefined

@Laurawly Thanks, I've update the code and confirmed that it can be compiled on Ubuntu 18.04 and CUDA 10.1.

Could you also add USE_THRUST option in config.cmake file?

Thanks @kazum @masahi @ icemelon9


Major revamp of the documentation is needed

Description:
1.

Unnecessary annotation for xml to record

Does not mention if xml element contains a prefix, this should be available in the record field name.

What does this even mean?

It is not mentioned if the annotations are used for which APIs.
Namespace is only used for writes.
Attribute for both writes and reads
Name not even clear when this can be used

The answer
Q1: Annotation is needed to find the value of the namespace and attribute in the record. Here, the status value will be added if add attribute annotation. Otherwise, it will return the error.
import ballerina/io;
import ballerina/xmldata;

type Invoice record {|
    int id;
    @xmldata:Attribute
    string 'xmlns?;
    string status;
|};

public function main() returns error? {
    xml data = xml `<ns:Invoice xmlns="example.com"
                        xmlns:ns="http://sdf.com" status="paid">
                        <id>1</id>
                    </ns:Invoice>`;
    Invoice output = check xmldata:fromXml(data);
    io:println(output);
}

Fixed. https://github.com/ballerina-platform/module-ballerina-xmldata/pull/470/files#diff-ecda4f4acb566335c5b8a6598ba4ffc0002c3cf114c6867b20c16bb26d67780bR388
Fixed. https://github.com/ballerina-platform/module-ballerina-xmldata/pull/470/files#diff-ecda4f4acb566335c5b8a6598ba4ffc0002c3cf114c6867b20c16bb26d67780bR26
All annotations are used for reading and writing. Therefore, not specified.
Found the following issue when adding the annotation:
https://github.com/ballerina-platform/ballerina-standard-library/issues/3802
https://github.com/ballerina-platform/ballerina-standard-library/issues/4036

Is Namespace annotation needed for the xml to record transformation?
IMO there is no need for the user to filter/validate the xml in this API. We just have to give the required values to records dont we?

Yes. Namespace annotation can be added.
Prefix and URI are validated with XML values if add the namespace annotation in the record.

Shall we add this here? IMO validation is an additional feature on top of conversion.
https://github.com/ballerina-platform/module-ballerina-xmldata/blob/master/ballerina/xmldata.bal#L44
Shall we run the documentation through Grammerly atleast?
https://github.com/ballerina-platform/module-ballerina-xmldata/blob/master/ballerina/xmldata.bal#L386
This is really convoluted.
# Converts an XML to its `Map` or `Record` representation.
# Additionally, when converting to a record, XML `namespaces` and `attributes` can be validated through `xmldata:Namespace` annotation.

Check for all API descriptions.

Close this issue as updated the API in the https://github.com/ballerina-platform/module-ballerina-xmldata/pull/479


Different Results for Text Classification Experiments

Hello,
I am currently trying to replicate the results of the paper related to text classification. For example, let's say I want to replicate the results for sst dataset with OE on the wikitext2 dataset. If I load your oe_tuned model and I run the script eval_OOD_sst, then I get results similar to the ones mentioned in the paper.
However, whenever I run the baseline script in order to train the baseline model and then I run the oe script in order to fine-tune the model, then if I evaluate the fine-tuned model using the script eval_OOD_sst, the results are way different from the ones mentioned in the paper. I guess something is going on with the training process. But what could be the issue?
Thank you,
Aris

Hi,
It looks like I accidentally swapped data loaders when cleaning the code for GitHub. The WikiText data loaders should be loading from a folder called wikitext_reformatted, which contains lightly filtered individual sentences of WikiText as opposed to BPTT segments. We briefly mention this in Section 4.2.2 of the paper. I uploaded the wikitext_reformatted folder to the NLP_classification folder with some instructions on how to set things up, and I corrected the data loaders in train_OE.py. This gives me numbers close those in the paper. Thanks for drawing my attention to this!
All the best,
Mantas

Hi,
Thank you very much for the response. After the modifications you suggested, I was able to reproduce the results of the paper for the SST dataset.
However, there is a problem for the 20 Newsgroups dataset. When I evaluate your pretrained model, the results are way different from the ones mentioned in the paper. Actually, when we run the evaluation script for your model, the results we get are the following:
OOD dataset mean FPR: 0.6828
OOD dataset mean AUROC: 0.7115
OOD dataset mean AUPR: 0.2773
So, what could be the issue? If the evaluation datasets are the same ones as the ones you used in the SST, I cannot find a reason for which your pretrained model does not give the results mentioned in the paper. Which version of the 20 Newsgroups did you use and how did you do the train/test split?


Unclear description which certificates to use in config.yaml

Hi,
we have concluded in several projects that the following description of the certificates to add to the .config.yaml is misleading and we would propose to change the naming (see below). The reason is that during the steps where the certificates are issued, there are two certificates issued for each device:
One is named "iot-edge-device-ca-lower-layer-device.cert.pem" and the other one "iot-edge-device-ca-lower-layer-device-full-chain.cert.pem". It is not clear in our opinion that you would need the full chain certificate to add as device_ca_pk in the config.yaml. Several customers have used the "iot-edge-device-ca-lower-layer-device.cert.pem" and ran into an error.
Excerpt from docs:
4. Find the certificates section. Uncomment and update the three certificate fields to point to the certificates that you created in the previous section and moved to the IoT Edge device. Provide the file URI paths, which take the format file:////.
certificates:
device_ca_cert: "" -> CHANGE to File URI path to the Full Chain device CA certificate unique to this device. It should look like this: iot-edge-device-ca-lower-layer-device-full-chain.cert.pem
device_ca_pk: ""
trusted_ca_certs: ""
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b9ceabb9-bbb4-c27b-3072-76f03fdba9a0
Version Independent ID: eb2ccbe0-ea6f-ef67-9efb-649302f7d8d7
Content: Tutorial - Create a hierarchy of IoT Edge devices - Azure IoT Edge
Content Source: articles/iot-edge/tutorial-nested-iot-edge.md
Service: iot-edge
GitHub Login: @v-tcassi
Microsoft Alias: v-tcassi

Completely agree with this issue. Have seen the same thing.

Completely agree with this issue. Have seen the same thing.

Hello @steffigrois Thanks for the feedback on this docs section.
I have assigned the issue to the content author for further review on your feedback.

Hello @steffigrois Thanks for the feedback on this docs section.
I have assigned the issue to the content author for further review on your feedback.

Hi! This piece of feedback as been addressed in a pull request that has now been merged.
Thanks!
#please-close


Nutrition input

Who for
What

[ ] Add a server controlled nutrition-table input

It should return the default translated, ordered and filtered list of nutrients based on the language code and the country code, as well as a complete list of known nutrients (translated)
This list is also adapted based on the known category of the product (eg: waters, baby milks, alcoholic drinks)
This list also has the openfoodfacts-dart nutrient id to call

[ ] The client does a FOR loop using the API, to display the input

Mockup
Here's a first mockup, which hasn't been discussed yet

Code pointers

DART support: https://github.com/openfoodfacts/openfoodfacts-dart/pull/272

Why
Design doc
Part of

[ ] #505

Here's a first mockup, which hasn't been discussed yet

@monsieurtanuki would you take on Nutrition ?

I'm afraid not, I cannot use the camera. The camera is the main item here, isn't it? If it's not, I can work on the input of a nutrient list, and someone else would do the camera side later. Tell me if that makes sense.

No, the photo here is an existing nutrition photo. The layout is immersive and scrollable to make it easy to improve nutrition. The photo retaking is for a later iteration.

So it's really the input of the nutrients lists, with a fancy layout. We can start simpler.

But to be clear it's a big chew:

[ ] Creating a layout for the nutrition input

[ ] Layout for the fields
[ ] Displaying the current photo of the nutrition table

[ ] Building that layout dynamically based on the Nutrient Order API
[ ] Getting existing values
[ ] Populating that layout with existing values
[ ] Gathering all changes to the fields
[ ] Sending them to the server

OK, I'll do it step by step.

@teolemon How are we supposed to open that page? From product page I guess, but where should one click?

The button you added yesterday is a good entry point when nutrition is not there at all.
When there is nutrition info, it could become "update nutrition information"

Now I have a similar problem as with the Android app: I don't know the meaning of the fields, as the meaning is only displayed as a hint:

We need to find the equivalent of the library we used

@monsieurtanuki wouldn't the second one do the trick ?
https://docs.flutter.dev/cookbook/forms/text-input

@teolemon Indeed:

@teolemon Still some questions/remarks:

"Modifiers <>=" - what's the point as we cannot save anything but '='
"energy" - potential confusion here, as we have "energy-kj", "energy-kcal" and "energy". 3 of them: it's too much! We should display only "energy-kj" and "energy-kcal", populating one of them with the "energy" value if needed, right?
"portion size" needs to be added
"cancel" / "save" buttons needs to be added
what if both per 100g and per serving fields are populated: should we save both?
for the moment, except for energy, I considered that all nutrients were weights (g, mg, µg). How can I know which nutrients are not weights? (e.g. alcohol in %age)

"Modifiers <>=" - you pass the modifier directly in the value (concatenate)
"energy-kj", "energy-kcal": those 2 only. We do automatic conversion, but we want users to be able to input both values, as indicated on the packaging
x. Default units should be exposed by the dart package normally

Weird spinner on opening the view

Already mentioned by @M123-dev in the code review.
My answer was:

I know
the target is to pre-load the nutrient list at app init time, not querying the API each time we edit the nutrients. So, in a near future, that will disappear.

perfect, sorry for my inattention 😅

"Modifiers <>=" - you pass the modifier directly in the value (concatenate)

Maybe that's possible on the server side, but that's not possible for the moment in off-dart:
double? vitaminB12Serving
double? vitaminB12;
Unit? vitaminB12Unit;

Default units should be exposed by the dart package normally

I'm afraid not.

https://world.openfoodfacts.org/cgi/nutrients.pl does not have it, but https://static.openfoodfacts.org/data/taxonomies/nutrients.json does

@teolemon In the mockup, at the bottom, there are two buttons in a fixed bar: cancel and save. Sounds reasonable.

What about the 3 tabs (profile, search, history): should they be there?
What about the "add nutrient" button: should it be fixed on top of the cancel/save bar? should it be not fixed, and below the already populated nutrients?

Probably not
It should be a relatively low use button, but when you need it, you need it several times (eg baby milks, waters). It might be useful to be able to add several nutrients at the same time. For now, let's not fix it, since it greats a weird and problematic layout ( double fixed bar).
I'll raise the issue with Tim and Gao today.

I'll raise the issue with Tim and Gao today.

Ask them too about question 1, because I don't think there's a single page in the app without the bottom navigation bar (and I don't know technically how to get rid of it for some pages - @jasmeet0817 any idea about that?)
Actually we're talking about 3 bottom bars: cancel/save, add nutrient, and navigation.

@teolemon That portion/100g switch is not intuitive at all. What about this?

That would look similar to

Closed by mistake

@monsieurtanuki so:

the navigation bar, as @jasmeet0817 is going to be hard to remove (that's an ideal)
We don't need to fix the Add nutrient button, and we don't need to fix the save cancel bar either.
One thing as well: there was backlash about my split screen idea, so the next step is probably to add the photo on top of the input system, but without trying to do a split scrolling system

Thank you @teolemon for your answers. My remarks:

ok to keep the navigation bar
ok to put the add nutrient, and the cancel save bar at the end of the ListView
same for the photo I guess - it will be the first item of the ListView and will be scrolled like the rest, right? Looks similar to SliverAppBar
I did remove the modifiers anyway, as we cannot save them in dart
the switch system is confusing - and I double-checked on the website, there it's confusing too. To add to the confusion, some data are automatically processed (on the server side I guess): for instance if I input only one value for serving (e.g. vitamin b12), after I save it looks like other fields are computed. Tell me if I'm wrong, but it would be much easier to ask just for one value in both 100g and serving, and compute the rest with a rule of 3. Or to use correctly the "serving size" fields.

I looked at removing the navigation bar, it's tricky, basically we have to let PageManager know not to display the BottomNavigationBar. This could be done with a context variable that PageManager watches.

Side note: I was in the conversation with the UXers and was nudging them to keep the bottom navigation bar, but the strong preference there was to hide it (also Pierre prefers to hide it).

@teolemon This is what you suggested, and I still think the UX is confusing - "when I hit the 'save' button, what is going to be saved, the 100g or the serving?":

The 2 columns thing was really seen as confusing. We already have the same thing in production, albeit radio buttons in lieu toggles, and users and getting it fine.
Let's merge as is and gather feedback.
Theoretically, there are some products with 2 different nutrition tables, some with a 3rd and 4th columns for dilutions, but we're trying to have something simple for now.

The 2 columns thing was really seen as confusing. We already have the same thing in production, albeit radio buttons in lieu toggles, and users and getting it fine.

Of course it's better to see just one column. The problem is in the switch.
Today's suggestion:

from the product page, go to a "100g" page (like this one with one column)
in the "100g" page, a button "add nutrition facts per serving" that goes to a dedicated "serving" page (a bit like an "advanced" mode) (which it is)

Let's merge as is and gather feedback.

I guess it should be reviewed first. And #910 has the 2 columns.
But there's something not working 100% with the call to saveProduct, a bit risky to run that in PROD. I should patch it the code if the purpose for the moment is just the UX/UI.
Anyway I was hoping that there was another way to update just the nutrition facts, not the whole product. Is there?

Today's suggestion (screenshots):

"100g" page

serving page

Mhhh I understand the thoughts behind the button to the next page where it can be added per portion but I think it's rather confusing and maybe looks like you have to add both for 100g and per portion, what about two radio buttons in a row

Mhhh I understand the thoughts behind the button to the next page where it can be added per portion but I think it's rather confusing and maybe looks like you have to add both for 100g and per portion

Maybe if we put it at the bottom of the page, like "Advanced: nutrition facts per portion"?

what about two radio buttons in a row

That would be similar to the Switch.

I don't know how it is labeled on products, does every product has both
Also can we generate the product data
5g sugar per 100g; portion=50g so 2,5g sugar per portion. If so it doesn't make sense to put it at the bottom

@M123-dev Indeed, that could be a solution:

letting the user enter all the data for 100g
add a button "enter serving size"

that button would open a dialog where the serving size can be entered

when clicking on "ok" on that dialog, we compute the ratio from the serving size text and ask the end-user to confirm if the energy-kj we computed is correct compared to the data printed on the product

I mean, it's not because we have the possibility to enter that many data that it makes sense the ask the end-user to do so, especially:

on a small device
potentially in a hostile environment - e.g. supermarket on Saturday
when we want to make data input a rewarding experience - and typing a second column that is simply a ratio of another column is not a rewarding experience


Please Update the installed Azure RM Powershell module

The installed version of Azure RM PowerShell is 2.1.0 which is 7 months old. Please install the latest stable version. It would be great to cut out the 3+min. just to install a newer powershell as part of my release pipelines.
OR - is there a schedule where the installed version of PS gets update (once a year?, twice a year?). Just looking to see when I can anticipate having a newer version be the default installed. Thx

The version that I'm actually seeing when using the Azure PowerShell task is 2.6.0, but I agree, it needs to be updated. This is what I see in my logs:
Import-Module -Name C:\Modules\az_2.6.0\Az.Accounts\1.6.2\Az.Accounts.psd1 -Global

If it helps to have a concrete reason, we use Front Door, and we'd like to set the minimum TLS version using this command: https://docs.microsoft.com/en-us/powershell/module/az.frontdoor/enable-azfrontdoorcustomdomainhttps?view=azps-3.3.0. Version 3.3 of the Az module has a MinimumTlsVersion that allows us to do it, but version 2.6. does not.

Hi @mwc360! We have a bunch of new versions installed now, please take a look at the readme
https://github.com/actions/virtual-environments/releases/tag/win19%2F20200301.1
Is this issue still actual?

@mwc360 , currently, the following versions of Azure RM Powershell are available:

2.1.0 (default one)
3.8.0
4.2.1
5.1.1
6.7.0
6.13.1

I am closing the issue for now. Feel free to reopen if you see any issues

The issue was more that the installed version is very old. Installing a new
one every time adds 3+ min on to every CI/CD pipeline when using Azure
hosted agents. I switched to using a self-hosted agent as a workaround so I
could keep the newer version installed. Thx
On Tue, Mar 10, 2020 at 2:16 AM Maxim Lobanov<EMAIL_ADDRESS>wrote:

@mwc360 https://github.com/mwc360 , currently, the following versions
of Azure RM Powershell are available:

2.1.0 (default one)
3.8.0
4.2.1
5.1.1
6.7.0
6.13.1

I am closing the issue for now. Feel free to reopen if you see any issues
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/actions/virtual-environments/issues/270?email_source=notifications&email_token=AMOKQ6BY5NWYYVZQ3YY6L6TRGXZMXA5CNFSM4KGXFUAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOKNZ5Y#issuecomment-596958455,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMOKQ6FQEU7UBZJTOJPSSQ3RGXZMXANCNFSM4KGXFUAA
.

Hello, @mwc360
The Azure RM 6.13.1 module is the latest version. The Az 3.5.0 also presents on our images.


[Monster of the Week Official] Complete Codex of Worlds Support (many new features)

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

Changes / Description

Added Codex of Worlds world-setting selection and non-lethal weapons on/off to the pre-launch game options.
Support for Gothic Century, Monster Marches, Dreaming With the Gods, and Bone Spear modifications to the moves, gear, and other playbook features as indicated by Codex of Worlds. Includes the Bone Spear specific reskinning of several playbooks.
Support for Gothic Century's Dark Pasts from Codex of Worlds, when Gothic Century is selected in game options on a sheet.
Added list of special materials available for weapons to all character gear listings for games set in the Monster Marches.
Changed the Mystery Sheet behavior for phenomena to provide a Tenacity tracker if desired (for Gothic Haunts as found in the Codex of Worlds, etc)
Added support for the Villain threat type from Monster Marches to the Mystery Sheet.
Added Dive into Dreams basic move support for Dreaming With the Gods setting from Codex of Worlds. Will show up in the hunter's reference when the Dreaming With the Gods setting is selected in game options.
Added a "Mark of the Spirit-Touched" field to the character Look block which is activated only for Monster Marches.
Added a Community tracking sheet to support the Bone Spear setting from Codex of Worlds.
Added support for the changed and additional basic moves from Bone Spear to the on-sheet Hunter's Reference.
Added support for changing Luck to Ancestral Favour in Bone Spear.
Added support for the different features of mysteries, monsters, phenomena, bystanders, locations, and minions for Bone Spear to the Keeper's mystery sheet.
Atonement mysteries are redundant for Bone Spear; made sure that's handled gracefully.
Added support for tracking wear, everyday gear, and special gear as required for Bone Spear.
Fixed CSS for dark mode display of some annotations that appear on some rolltemplate outputs.

Character Sheet Info Roll20 Internal Use only.


How to configure the modem log  to be saved as a file in Windows?

This document page doesn't explain how the modem log can be saved?
Can the modem log be consumed by ETW session?
Or does WWanSvc saves the log in any special session or local file?
Does user application have to handle the modem log using MBIM command?

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

ID: 9a49c708-4a65-da81-5e4a-79887a5082d5
Version Independent ID: b59ce8c9-0a81-f15e-2991-e7f66cdb0648
Content: MB modem logging with DSS - Windows drivers
Content Source: windows-driver-docs-pr/network/mb-modem-logging-with-dss.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @billlattimer
Microsoft Alias: billla

Also, Command code of MBIM_CID_MODEM_LOGGING_CONFIG is not defined.

Hi @moolwalk, thanks for the feedback and apologies for the delay.
There is no modem in the market which has implemented modem logging support using MBIM_CID_MODEM_LOGGING_CONFIG and the corresponding DSS data channel.
If you are planning for your modem to support this CID, please let us know so we can best support you.

This document page doesn't explain how the modem log can be saved?

We do not currently provide support for the end user to control modem logging behavior.

Can the modem log be consumed by ETW session?

Not at present – the modem log is in binary format; not in string format.

Or does WWanSvc save the log in any special session or local file?

Wwansvc does not save this log in any special session. While it's not supported currently, it's possible to enable this functionality via netsh. We can either make the logs available via ETW session or dumped as a file from class-driver or even made available as part of WinRT layer.

Does user application have to handle the modem log using MBIM command?

If application has the capability of invoking MBIM CIDs or corresponding OIDs, the modem log data can be made available for the application. Please refer to the flow diagram available here --
https://docs.microsoft.com/windows-hardware/drivers/network/mb-modem-logging-with-dss
After configuring the logging parameters with MBIM_CID_MODEM_LOGGING_CONFIG, the app would open the DeviceServiceSession data channel with MBIM_CID_DSS_CONNECT.
Once the modem writes any logs to the newly created data channel, the modem calls MbbDeviceReceiveDeviceServiceSessionData, the data from which is available to apps via the WinRT layer : MobileBroadbandDeviceService.


Change GraphQL Schema to make return types Nullable.

See https://github.com/graphqlcrud/spec/pull/22
Also minor fixes for the filtering:
https://github.com/graphqlcrud/spec/pull/23/

Related to: https://github.com/graphqlcrud/spec/issues/16


Improved the translation of texts

This is great, I'll go through the UI and continue to translate whatever is my missing in Greek


mark old manager as discontinued

Hi, are we planning on marking https://github.com/stayintarkov/SIT.Manager as discontinued, so new players are linked to the new manager?

Currently all links at least on the discord now point to this manager and there are plans to archive the previous manager when we make our next release which will probably be in the next couple of days

Old manager repo is now archived 👍


Perform Back-end testing

Parent issue: #81 and #71
Hours: 5 hours

Please refer to the wiki article "Automated testing to run with every build" for more information on why the automated tests do not run with every build.

Hours worked: 5


1.21.1 please

been using this plugin on all my servers, now that i am back to minecraft
would like to use it on my server again but it seems that the plugin isnt available for 1.21.1?
would also appreciate if you guys let me know whether i can still use the plugin eventhough its on 1.21, or that i will have to wait till the update is released
ggs

CreeperRedund is now available for 1.21.1. A little tip from me: many small plugins work in newer versions without the need for an update. Just give it a try next time and see if it works or not.

CreeperRedund is now available for 1.21.1. A little tip from me: many small plugins work in newer versions without the need for an update. Just give it a try next time and see if it works or not.

thanks!


fix typo in react_native_guide.md

Replaced "Angular" with "React Native" in the second paragraph.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #687 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #687   +/-   ##
=======================================
  Coverage   87.17%   87.17%
=======================================
  Files          72       72
  Lines        3424     3424
  Branches      648      648
=======================================
  Hits         2985     2985
  Misses        422      422
  Partials       17       17

Continue to review full report at Codecov.

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


Add go linters and a makefile

Add into the repo a Makefile as a helper to run test and go linters checks before committing anything.

This PR should probably also update the github actions in .github/workflows to run the linter on PRs


What about supporting package URL to avoid adding yet another layer of package identifiers?

What would you like to be added:
Support for package URL to avoid adding yet another layer of package identifiers.
https://github.com/package-url/
Why is this needed:
Enable integration and reuse with the SBOM and SCA tools ecosystems.

@fabianburth and @mandelsoft can you please have a look at the proposal?


Videos won't work

When i implement a video in a slide, there is just a blank screen on the display.

What is the extension and the codec used for the video compression ? That might come from an unsupported codec from the web browser side.

Extension: mp4
Codec: AVC

And on what OS and what web browser are you using ?

On my side, using Firefox on Windows, i just tried a 2min length video mp4 Mpeg Part 10 AVC, worked as intended :

Using Firefox 80.0 with Ubuntu 19.04

missing codec in your ubuntu installation ?

The purpose of the installation is to run videos on an IPad with iOS 13.3.1 and Safari. On my ubuntu, everything is working fine after your tipp, thank you for that. But on my IPad, the videos won't work.


"Request Docs" icon is lighter than it should be

Godot version:
22b42c3
Issue description:
The icon used for the "Request Docs" button (with the filename being "icon_issue.svg") is far lighter than its neighbours, despite their colors being exactly the same. The difference is very visible with a light theme:

Found the problem, it's not the icon itself, just the editor not updating it when the theme changes. Gonna make a pull request soon.


Upstream merge

merge notes/todos:

dispatch-fido is not needed anymore, thus remove (included in fido-auth with "dispatch" in features)
fido-authenticator has been taken from upstream/main for now -> @todo ?

or does version 0.1 already contain all things we need ?
so do we merge fido-authenticator upstream, or stay on version = 0.1

ctaphid.set_version(usbd_ctaphid::Version {

don't we want that?
in initilizer.rs
added for now here

inside initializer.rs get_serial_number()

afaik this should not be set for fido2-devices
did not take the upstream implementation, just returning "00....00"

various RGB related changes and adaptations inside board/trussed.rs

to be discussed if we really want a math-lib as dep to calc a LED-amplitude
anyways RGB should be heavily tested
added Intensities::scale_by() for easy scaling (currently misused by scaling with the amplitude...)

src/types.rs UsbClasses with or without serial ?

maybe #cfg[] ? based on feature?
serial pulled in for now...

dispatch-fido is not needed anymore, thus remove (included in fido-auth with "dispatch" in features)
fido-authenticator has been taken from upstream/main for now -> @todo ?
or does version 0.1 already contain all things we need ?
so do we merge fido-authenticator upstream, or stay on version = 0.1

AFAIK fido-authenticator is updated with our changes, but potentially modified, and with that breaking user data compatibility. Let's use the released version. To do: check data retention for the FIDO2 key handles; verify changes against our last used.

ctaphid.set_version(usbd_ctaphid::Version {
don't we want that?
in initilizer.rs
added for now here

Yes, we do. See spec below. Let's make sure the proper version is used.

https://fidoalliance.org/specs/fido-v2.0-rd-20161004/fido-client-to-authenticator-protocol-v2.0-rd-20161004.html

search for <IP_ADDRESS>.2 CTAPHID_INIT

various RGB related changes and adaptations inside board/trussed.rs
to be discussed if we really want a math-lib as dep to calc a LED-amplitude
anyways RGB should be heavily tested
added Intensities::scale_by() for easy scaling (currently misused by scaling with the amplitude...)

Yes, math lib for that looks like overkill to me as well. Why the final values were not tabularized / calculated during the build via the const func? Do you know what was wrong with the initial sin approximation func?
See how this was done for the Nitrokey FIDO2:

https://github.com/Nitrokey/nitrokey-fido2-firmware/blob/master/targets/stm32l432/src/led.c#L17-L50

src/types.rs UsbClasses with or without serial ?
maybe #cfg[] ? based on feature?
serial pulled in for now...

AFAIK it got removed in the upstream, as this was mainly debug feature. Or am I wrong?
I do not see the need to leave it enabled for the release. Potentially worth to make it a feature for the fast debug purposes.

Final question: have you used the stable upstream release for the merge? Or an arbitrary commit?
And where is the CI build backlink? :|

Bumping. ETA?

Is this fixing below by any chance?

https://github.com/solokeys/fido-authenticator/issues/3

Is this fixing below by any chance?
* [SSH: Unable to download resident keys solokeys/fido-authenticator#10](https://github.com/solokeys/fido-authenticator/issues/10) (edit)

That should already be fixed with our v1.0.1 release.  The issue we are having with resident keys is querying them, not creating them.

I’ve added some commits to finalize this PR – in my opinion, it is ready now.  @szszszsz @daringer Please review.
The only non-trivial change I made is the last commit.  It is necessary to maintain the current LED behavior, but it has to use a patched Trussed version because of the upstream changes.  Here is the required patch.

Also, can someone please test NFC with these changes as there seem to be new issues for solo2?

@daringer Engage!

To test:

[ ] Check whether https://github.com/Nitrokey/nitrokey-3-firmware/issues/48 is fixed
[ ] Re-test FIDO2 over NFC to rule out NFC issues as with latest solo2 beta firmware: https://gist.github.com/nickray/7de5d40d5d93b7a1b6d0983062c9339e

Looks good. I do not see any problems while using under the latest Windows 10. #48 is fixed.
Using Resident Keys works well, including OpenSSH.
As discussed, the following will be retested on the production hardware:

NFC,
User data retention.