Incorrect mnemonic calculated from entropy

When choosing "Supply my own source of entropy" option and entering mnemonic length any from 12 to 24 words, mnemonic calculated is incorrect.
Let's use 128 bit entropy example from Andreas Antonopolous book: 0c1e24e5917779d297e14d45f14e1a1a. Enter this to the "Entropy" field and then, from combo "Mnemonic length" choose "12 words" option. After that, mnemonic calculated is as follows: "enact swarm curious dash next scorpion couple fabric hour loop can diamond" instead of the correct one: "army van defense carry jealous true garbage claim echo media make crunch".
The problem is inside the function setMnemonicFromEntropy. If user selects any option other than the first one in the "Mnemonic Length" combobox, all bits from user's entropy are overwritten with the SHA256 hash of it. After that, calculation of mnemonic is based on hash instead of entropy.

Fix is quite simple, but I don't know the intention of all this hashing inside setMnemonicFromEntropy function. Form my purpose I changed this part of code:
       if (mnemonicLength != "raw") {             // Get bits by hashing entropy with SHA256             var hash = sjcl.hash.sha256.hash(entropy.cleanStr);             var hex = sjcl.codec.hex.fromBits(hash);             bits = BigInteger.parse(hex, 16).toString(2);             while (bits.length % 256 != 0) {                 bits = "0" + bits;             }             // Truncate hash to suit number of words             mnemonicLength = parseInt(mnemonicLength);             var numberOfBits = 32 * mnemonicLength / 3;             bits = bits.substring(0, numberOfBits);         }
with this:
       if (mnemonicLength != "raw") {             mnemonicLength = parseInt(mnemonicLength);             var numberOfBits = 32 * mnemonicLength / 3;             if(bits.length < numberOfBits) {                 // Get lacking bits by hashing entropy with SHA256                 var hash = sjcl.hash.sha256.hash(entropy.cleanStr);                 var hex = sjcl.codec.hex.fromBits(hash);                 var bitsHash = BigInteger.parse(hex, 16).toString(2);                 while (bitsHash.length % 256 != 0) {                     bitsHash = "0" + bitsHash;                 }                 // Truncate hash to suit number of words and append it to bits provided                 bits = bits + bitsHash.substring(0, numberOfBits-bits.length);             }             else                 bits = bits.substring(0, numberOfBits);         }

The reason for using a hash is given in this comment of issue 33 - using shuffled cards loses entropy
https://github.com/iancoleman/bip39/issues/33#issuecomment-263025301
and further context for entropy is in https://github.com/iancoleman/bip39/issues/21 and https://github.com/iancoleman/bip39/issues/33
The hash of entropy is used because when sourcing entropy from a deck of cards, the total bits of entropy the user has entered is unknown. By hashing the entropy value, the user can generate their desired length of mnemonic at their desired strength, regardless of the calculated number of bits their entropy may or may not represent.
There is no 'correct' conversion of entropy to mnemonic. If a standard exists I would be glad to know of it. You can see from the linked issues that I greatly favor the first option of 'raw entropy', however it isn't always appropriate.
Since it's possible to create the 'correct' mnemonic from Andreas's entropy using the tool, I'm unclear what change is desired from this issue.
Steps to produce the 'correct' behavior:

enter Andreas's entropy
select 'use raw entropy'
see the mnemonic matches the expected value

The problem is with the second step, because there is no "use raw entropy" option in the combo. There is option ("From entropy length (3 words per 32 bits)"), which produces expected result, but I think its name is not obvious for the user.
Maybe I don't clearly understand the purpose of the tool's input controls labeled "Entropy" and "Mnemonic length", but I assumed, that the meaning of the former is the same as the concept of 'entropy' from BIP39 specification (https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki). According to this (and my understanding), entropy is always the last stage before converting it's value to mnemonic (and is always 'raw'). Yes, generating entropy has no the only and 'correct' way and should be as random as possible, but generating mnemonics from existing entropy seems to be strict and simple:

create a checksum of the entropy by taking the first x bits of its SHA256 hash (x = entropy length/32)
append checksum to the entropy
divide sequence of bits of concatenated entropy into sections of 11 bits
convert each of 11-bit sections to an integer number, which is then used as an index in wordlist
for each index pick a word from predefined BIP39 dictionary

Your tool was mentioned in a Andreas' Antonopolous book (second edition of "Mastering Bitcoin"). When reading "Mnemonic Code Words (BIP-39)" chapter I decided to verify examples provided by the author and found that the results differ, so I was a bit confused. I had to debug code to deduct what I should do to generate expected results.
I also verified python-mnemonic library of Satoshi Labs (AFAIK they issued BIP39) and it gives result corresponding with my understanding of BIP39 and identical with this from and Adreas' book.
Here is example python code:
 import mnemonic   m = mnemonic.Mnemonic('english')   mnemonic = m.to_mnemonic('0c1e24e5917779d297e14d45f14e1a1a'.decode('hex'))   print(mnemonic)
Maybe such behavior was intended, but as a user I expected, that selecting specific number of words in the combo will end in the following behavior:

if entropy is too long, it will be truncated
if it is too short, some random bits will be appended and the end or a message is displayed
But I didn't expect it will be modified by hashing.

From my point of view entropy provided by the user should not be modified, regardless what user selects in the combobox or the it's label should be different.
BTW thanks for the great and quite helpful tool.

Good points and I agree with what you say. Raw entropy should be the default.
Just to clarify one aspect of entropy

generating mnemonics from existing entropy seems to be strict and simple:

create a checksum of the entropy...

'the entropy' is not as simple or strict in the context of this tool vs that of BIP39. 'the entropy' used by BIP39 should be a binary string (or equivalent encoding), but this tool accepts inputs that are not necessarily an encoding of binary. This happens for card entropy (specifically drawing cards without replacement). There's no clear way to convert that sequence of events to binary entropy.
Consider the sequence of Entropy Events > Entropy As Binary > Mnemonic. This tool has code for all three stages, but BIP39 only has code for the last two. Hence the need for hashing (sometimes).
I think appropriate steps to resolve this issue would be

rename 'from entropy length' to 'from raw entropy'
use raw entropy by default

@dooglus your thoughts on the proposed changes would be welcome.
A final aside:
Card entropy is already hashed in entropy.js : processCardEntropy so the additional hashing for producing a fixed word length is simply a convenience for the user and should have no impact on the security of the generated mnemonic relative to their entropy.

Yes, from my perspective both proposals are OK. Renaming combobox item to "from raw entropy" would eliminate my assumption, that all combobox items relate to an entropy in a raw form.
Thanx.

See https://github.com/iancoleman/bip39/commit/5ed50bd903c6b7b45c3a9b831626a0f3d3a1d7d1 - Raw Entropy is the default for mnemonic length

Great. Thanx.

It was confusing for me as well that providing 128 bits of entropy, I get different result with "Raw entropy" and "12 words".
If my entropy source is reliably pseudo-random, which option is considered to be more secure?

The 'X words' options in the select is a way to force 'Y bits of entropy' into 'X words'. I personally don't like it because it isn't following any sort of standard (I prefer only using raw entropy), but it does allow encoding of any amount of entropy into any amount of words, and I can understand why people might want that.
The process of converting any entropy into 'X words' is to sha256 the entropy and take the appropriate number of bits to form the mnemonic.
Neither is more secure than the other, although raw entropy is closer to the bip39 standard so for that reason I say it's the superior option. In practice they are equally secure.


Parse acpi tables

This adds code to parse all of the important (as far as I can predict) ACPI tables for kernel initialization. On aarch64, this means the XSDT/RSDT, MADT, FADT and GTDT. On x86_64, it is the XSDT/RSDT, MADT and HPET.
So far, all it does with the information is print it to the screen. The next thing to do will be to make it set up timers and (eventually) initialize secondary processors.

I couldn't reproduce the panick on my machine. Maybe it's something to do with qemu version? Also, I think some of the text was cut off in the error message.


Right-click context menu appears after mouse action

After a right-click in the Projects view (and other places) and actioning the menu (or dismissing it), another right-click context menu appears.
On Mac High Sierra
10.13.6 (17G65)

It is a known issue with Eclipse 4.7 platform and MacOS.
Will be fixed in the next version (as we'll migrate to Eclipse 4.9).


Need to support to Increment or decrement address inside the route range using step

Once we have the multiplier support in place for the route ranges, we must be able to increment or decrement the route ranges based on step

stale issue


Memory Leak / OOM causing frequent Crash Loop on vizier-pem, related to gzip http?

Describe the bug
This is happening on select pem pods. I think it has something to do with gzip encoded http. On the pods that keep crashing I have tons of this message over and over:
W0120 17:22:49.358582 1454939 stitcher.cc:74] Unable to gunzip HTTP body.

This is happening on different clusters too. I tried bumping the DS to have a 3Gi limit just in case, and it doesn't help. Still eats that up.
To Reproduce
Steps to reproduce the behavior:

Install pixie and let it fly

Expected behavior
Expect for vizier-pem to not run out of memory and crash.
Screenshots
If applicable, add screenshots to help explain your problem. Please make sure the screenshot does not contain any sensitive information such as API keys or access tokens.
Logs
I can send the log zip on Slack, my name is Joe McDonagh on there. Feel free to ping me.
App information (please complete the following information):

Pixie version

⮕  px version
Pixie CLI
0.7.2+Distribution.91e72cd.20211217191238.1

K8s cluster version

⮕  k version
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.4", GitCommit:"c96aede7b5205121079932896c4ad89bb93260af", GitTreeState:"clean", BuildDate:"2020-06-17T11:41:22Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.7", GitCommit:"132a687512d7fb058d0f5890f07d4121b3f0a2e2", GitTreeState:"clean", BuildDate:"2021-05-12T12:32:49Z", GoVersion:"go1.15.12", Compiler:"gc", Platform:"linux/amd64"}
Also happening on a cluster with this server version:
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.5", GitCommit:"aea7bbadd2fc0cd689de94a54e5b7b758869d691", GitTreeState:"clean", BuildDate:"2021-09-15T21:04:16Z", GoVersion:"go1.16.8", Compiler:"gc", Platform:"linux/amd64"}

Node Kernel version

5.11.0-1019-aws

Browser version

N/A
Additional context

The gzip messages are most likely unrelated, but there was a known issue with memory spikes that was fixed in cd6f1bdf. That may address this issue. Let's re-evaluate after that gets rolled out (which should be sometime today).

@jmcdonagh Fixes for this went out for this a while back, and I believe you reported on our community slack that the issue looked fixed. I will go ahead and close this issue.
Please re-open the issue if the issue is not resolved.


Bear betting tx error

Hi I am getting this error. What does this mean?

You can reduce const WAITING_TIME from 282000 to 270000


Add markewaite as mask-passwords maintainer

Add markewaite as a mask-passwords maintainer
I'd like to adopt the mask passwords plugin
https://github.com/jenkinsci/mask-passwords-plugin
I intend to merge the following pull requests:

https://github.com/jenkinsci/mask-passwords-plugin/pull/29
https://github.com/jenkinsci/mask-passwords-plugin/pull/31
https://github.com/jenkinsci/mask-passwords-plugin/pull/32
https://github.com/jenkinsci/mask-passwords-plugin/pull/33
https://github.com/jenkinsci/mask-passwords-plugin/pull/34
https://github.com/jenkinsci/mask-passwords-plugin/pull/30

I also plan to adapt and merge:

https://github.com/jenkinsci/mask-passwords-plugin/pull/28

@pyieh, @ramapalani, or @oleg_nenashev would you approve my request to be added as a maintainer of the mask passwords plugin?
Submitter checklist for adding or changing permissions
Always

[x] Add link to plugin/component Git repository in description above

When adding new uploaders (this includes newly created permissions files)

[x] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] Make sure to @mention the users being added so their GitHub account names are known if they require GitHub merge access (see below).
[x] All newly added users have logged in to Artifactory and Jira at least once

Reviewer checklist (not for requesters!)

[ ] Check this if newly added person also needs to be given merge permission to the GitHub repo (please @ the people/person with their GitHub username in this issue as well). If needed, it can be done using an IRC Bot command
[ ] Check that the $pluginId Developers team has Admin permissions while granting the access.
[ ] In the case of plugin adoption, ensure that the Jenkins Jira default assignee is either removed or changed to the new maintainer.
[ ] If security contacts are changed (this includes add/remove), ping the security officer (currently @Wadeck) in this pull request. If an email contact is changed, wait for approval from the security officer.

There are IRC Bot commands for it

@oleg-nenashev, @ramapalani or @pyieh, do you approve this request?


s3 multipart upload to openstack swift changes file checksum

I tried to use the multi-part upload via s3proxy to openstack swift. But the file gets corrupted / changed on the way and the checksum of uploaded file in openstack differs from the original file. The size of files are the same. Is this known issue? Regular uploads worked fine.
I tested it with 1.5.0 prelease.

Can you provide a complete test case?  I just ran the S3Proxy tests against Rackspace Cloud Files (backed by OpenStack Swift) and all multi-part tests succeed.

Upload a large file using S3 browser http://s3browser.com/ via S3 proxy to Swift. Download the file directly from Swift using Cyberduck. Cyberduck fails with error message: "Mismatch between MD5 hash  of downloaded data and ETag  returned by the server."

@wnieminen, that may be a Cyberduck bug - for large files the S3 ETag is not the MD5 of the content. Have you actually manually compared the original and downloaded file?

It propably is a cyberduck bug.

There is not enough for me to investigate here, but Swift does not quote ETags while S3 does so you might want to investigate further and ask the Cyberduckies to ignore quotes within ETags.


[Bug]: Filter UI issue

Contact Details
No response
What happened?
I have a custom component for creating or updating a record. Upon saving, the filter component moves down, as shown in the screenshot. This issue has only occurred with this specific custom component

Bug prevalence
Every-time when we save through custom component
AdminJS dependencies version
"@adminjs/express": "6.0.0",
"@adminjs/typeorm": "5.0.0",
"adminjs": "7.5.9"

What browsers do you see the problem on?
Chrome
Relevant log output
No response
Relevant code that's giving you issues
No response

Are you 100% sure you're on version 7.5.9? 7.5.8 should've fixed this bug.
Alternatively, could you try:
const redirectUrl = h.resourceUrl({
  resourceId: 'Workflow'
})

and see if it also appears?


how to support runtime information

Validation may need to know runtime information.
For instance, when creating a new user account, the email must be unique, whereas the email must be unique except the account it is updating.

The basic design is to put all runtime information inside ResultInterface instance. So, put all other runtime information in the Result object, as well.
The simplest idea is to add such information in the value to be verified.
$values = $_POST;
$values['_method'] = 'UPDATE';
$values['_pkey'] = $entity->getKey();
$result = $validator->verify($value);

But I wish some clean way to set runtime information not in the value to be validated. Maybe...
$result = $validator->verify($_POST, [
    'method' => 'UPDATE',
    'pkey' => $entity->getKey(),
]);


Empty Slack notification with attachements

Hi,
Jenkins : 2.75
Plugin : jenkins-ci.plugins:slack:2.2
I'm trying to use attachment feature but I receive an empty notification (running your example or my own) :

In the ouput log of my job, I've :

09:30:01 [{"text":"I find your lack of faith disturbing!","fallback":"Hey, Vader seems to be mad at you.","color":"#ff0000"}]
[Pipeline] slackSend
09:30:01 run slackstepsend, step null:false, desc :false
09:30:01 Slack Send Pipeline step configured values from global config - baseUrl: true, teamDomain: true, token: true, channel: false, color: false

When pasting the output to Message Builder it's formating well.
In Jenkins log :

jenkins.plugins.slack.StandardSlackService publish
INFO: Posting succeeded

And code I'm executing :
  import net.sf.json.JSONArray;
  import net.sf.json.JSONObject;
  JSONObject attachment = new JSONObject();
  attachment.put('text','I find your lack of faith disturbing!');
  attachment.put('fallback','Hey, Vader seems to be mad at you.');
  attachment.put('color','#ff0000');
  JSONArray attachments = new JSONArray();
  attachments.add(attachment);
  println attachments.toString()

  slackSend(color: '#00FF00', channel: channel, attachments: attachments.toString())

I can't figure out where is the problem.

Hi,
Fixed in 2.3.
Thanks


Seconet.it

Bootstrap theme with full video background, change video, collapse nav to left menu...etc.
I hope you like.
thank you
www.seconet.it

Wrong repo I think :).


One missing feature

We have the feature of Sign and Decode. Verify is missing

If it decodes, it's a valid JWT within the expiration date. You can decode without validation using the skipValidation option.


[bug]: segmentation fault on AMD GPU (6600XT)

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Linux
GPU
amd
VRAM
8GB
What version did you experience this issue on?
3.0.0
What happened?
I have tried version 3.0.0 and v3.0.1 Release Candidate 2.
I get the error ./invoke.sh: line 51: 36253 Segmentation fault      (core dumped) invokeai-web $PARAMS when trying to generate an image. I have Rocm 5.6 installed on my 6600XT.
Generate images with a browser-based interface
/home/sd/invokeai/.venv/lib/python3.10/site-packages/torchvision/transforms/functional_tensor.py:5: UserWarning: The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be removed in 0.17. Please don't rely on it. You probably just need to use APIs in torchvision.transforms.functional or in torchvision.transforms.v2.functional.
warnings.warn(
[2023-07-27 18:06:32,690]::[InvokeAI]::INFO --> Patchmatch initialized
INFO:     Started server process [36253]
INFO:     Waiting for application startup.
[2023-07-27 18:06:33,047]::[InvokeAI]::INFO --> InvokeAI version 3.0.1rc2
[2023-07-27 18:06:33,047]::[InvokeAI]::INFO --> Root directory = /home/sd/invokeai
[2023-07-27 18:06:33,048]::[InvokeAI]::INFO --> GPU device = cuda AMD Radeon RX 6600 XT
[2023-07-27 18:06:33,050]::[InvokeAI]::INFO --> Scanning /home/sd/invokeai/models for new models
[2023-07-27 18:06:33,244]::[InvokeAI]::INFO --> Scanned 5 files and directories, imported 0 models
[2023-07-27 18:06:33,245]::[InvokeAI]::INFO --> Model manager service initialized
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:9090 (Press CTRL+C to quit)
INFO:     <IP_ADDRESS>:50288 - "GET /socket.io/?EIO=4&transport=polling&t=OcOKHM5 HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:50288 - "POST /socket.io/?EIO=4&transport=polling&t=OcOKHMB&sid=KzafQo0oyxHCZipkAAAA HTTP/1.1" 200 OK
INFO:     ('<IP_ADDRESS>', 50304) - "WebSocket /socket.io/?EIO=4&transport=websocket&sid=KzafQo0oyxHCZipkAAAA" [accepted]
INFO:     connection open
INFO:     <IP_ADDRESS>:50290 - "GET /socket.io/?EIO=4&transport=polling&t=OcOKHMC&sid=KzafQo0oyxHCZipkAAAA HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:50288 - "GET /socket.io/?EIO=4&transport=polling&t=OcOKHMJ&sid=KzafQo0oyxHCZipkAAAA HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:50288 - "POST /socket.io/?EIO=4&transport=polling&t=OcOKHMN&sid=KzafQo0oyxHCZipkAAAA HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:50288 - "GET /socket.io/?EIO=4&transport=polling&t=OcOKHMl&sid=KzafQo0oyxHCZipkAAAA HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:50288 - "GET /socket.io/?EIO=4&transport=polling&t=OcOKHYf HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:50288 - "POST /socket.io/?EIO=4&transport=polling&t=OcOKHYl&sid=zf24e1QzxwqNpt1GAAAC HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:50288 - "GET /socket.io/?EIO=4&transport=polling&t=OcOKHYm&sid=zf24e1QzxwqNpt1GAAAC HTTP/1.1" 200 OK
INFO:     ('<IP_ADDRESS>', 50306) - "WebSocket /socket.io/?EIO=4&transport=websocket&sid=zf24e1QzxwqNpt1GAAAC" [accepted]
INFO:     connection open
INFO:     <IP_ADDRESS>:50288 - "GET /socket.io/?EIO=4&transport=polling&t=OcOKHYr&sid=zf24e1QzxwqNpt1GAAAC HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:50288 - "POST /socket.io/?EIO=4&transport=polling&t=OcOKHZ8&sid=zf24e1QzxwqNpt1GAAAC HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:50288 - "GET /socket.io/?EIO=4&transport=polling&t=OcOKHa0&sid=zf24e1QzxwqNpt1GAAAC HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:50290 - "GET /api/v1/models/?base_models=sd-1&base_models=sd-2&base_models=sdxl&model_type=main HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:50288 - "GET /api/v1/models/?model_type=controlnet HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:50290 - "GET /api/v1/app/version HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:50312 - "GET /api/v1/models/?model_type=lora HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:50324 - "GET /api/v1/models/?model_type=vae HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:50338 - "GET /api/v1/models/?model_type=embedding HTTP/1.1" 200 OK
[2023-07-27 18:06:40,323]::[InvokeAI]::INFO --> NSFW checker initialized
INFO:     <IP_ADDRESS>:50340 - "GET /api/v1/app/config HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:35112 - "GET / HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:35112 - "GET /assets/index-5a784cdd.js HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:35118 - "GET /assets/MantineProvider-ea42d3d1.js HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:35112 - "GET /assets/ThemeLocaleProvider-13e3db3d.js HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:35130 - "GET /assets/ThemeLocaleProvider-5b992bc7.css HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:35130 - "GET /assets/logo-13003d72.png HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:35130 - "GET /locales/en.json HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:35130 - "GET /assets/App-58b095d3.js HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:35130 - "GET /assets/App-6125620a.css HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:35130 - "GET /assets/inter-latin-wght-normal-450f3ba4.woff2 HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:35130 - "GET /socket.io/?EIO=4&transport=polling&t=OcOKJt3 HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:35130 - "GET /api/v1/app/version HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:35112 - "GET /api/v1/app/config HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:35130 - "GET /api/v1/models/?base_models=sd-1&base_models=sd-2&base_models=sdxl&model_type=main HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:35136 - "GET /api/v1/models/?model_type=embedding HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:35112 - "POST /socket.io/?EIO=4&transport=polling&t=OcOKJtv&sid=9Sfizw4FXTmjVZa_AAAE HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:35152 - "GET /api/v1/models/?model_type=vae HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:35158 - "GET /api/v1/models/?model_type=controlnet HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:35164 - "GET /api/v1/models/?model_type=lora HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:35136 - "GET /api/v1/boards/?all=true HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:35130 - "GET /socket.io/?EIO=4&transport=polling&t=OcOKJtv.0&sid=9Sfizw4FXTmjVZa_AAAE HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:35152 - "GET /api/v1/images/?board_id=none&categories=general&is_intermediate=false&limit=0&offset=0 HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:35158 - "GET /api/v1/images/?board_id=none&categories=control&categories=mask&categories=user&categories=other&is_intermediate=false&limit=0&offset=0 HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:35164 - "GET /api/v1/images/?board_id=none&categories=general&is_intermediate=false&limit=100&offset=0 HTTP/1.1" 200 OK
INFO:     ('<IP_ADDRESS>', 35172) - "WebSocket /socket.io/?EIO=4&transport=websocket&sid=9Sfizw4FXTmjVZa_AAAE" [accepted]
INFO:     connection open
INFO:     <IP_ADDRESS>:35130 - "GET /socket.io/?EIO=4&transport=polling&t=OcOKJug&sid=9Sfizw4FXTmjVZa_AAAE HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:35130 - "POST /socket.io/?EIO=4&transport=polling&t=OcOKJuj&sid=9Sfizw4FXTmjVZa_AAAE HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:35158 - "GET /openapi.json HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:35130 - "GET /socket.io/?EIO=4&transport=polling&t=OcOKJu-&sid=9Sfizw4FXTmjVZa_AAAE HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:35158 - "POST /api/v1/sessions/ HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:35158 - "PUT /api/v1/sessions/f2fec1de-f2ed-4f9d-a4ec-863ce5250b59/invoke?all=true HTTP/1.1" 202 Accepted
[2023-07-27 18:06:52,150]::[InvokeAI]::INFO --> Loading model /home/sd/invokeai/models/sd-1/main/stable-diffusion-v1-5, type sd-1:main:tokenizer
[2023-07-27 18:06:52,389]::[InvokeAI]::INFO --> Loading model /home/sd/invokeai/models/sd-1/main/stable-diffusion-v1-5, type sd-1:main:text_encoder
./invoke.sh: line 51: 36253 Segmentation fault      (core dumped) invokeai-web $PARAMS
Screenshots
No response
Additional context
No response
Contact Details
No response

Got the same problem, I have 6600xt as well

I'm having the same issue - same GPU, same VRAM size - all the way up through 3.0.1rc3. Seems like I had this problem with an earlier version and I just chalked it up to not doing one of the several things that I have to do to make it work. One thing that did happen was that Manjaro updated ROCM to 5.6.0 and I have an environment variable set as follows:
export ROCBLAS_TENSILE_LIBPATH=/opt/rocm/lib/rocblas/library/
So that it can find a file (TensileLibrary.dat) that was missing from the install.
I don't know exactly how to obtain the dump you experts need to see why I'm dumping core, but it happens just at the moment that the image starts to be generated. Also happens in invokeai-ti at the moment of truth. Assuming the Manjaro update hosed something I was depending on the system version for. Just adding my $0.02.

Same on the 7900XT with ROcm 5.4.2 and 5.6.0

Was experiencing this issue on my Ryzen 7950X / Radeon 6900XT desktop system running Arch Linux. I seem to have worked around it by disabling the 7950X's iGPU in BIOS. The GPU device reported by invokeai-web at startup both with and without the iGPU enabled is 'cuda AMD Radeon RX 6900 XT', but for whatever reason having the iGPU enabled seems to have been causing an issue. This issue has been present for me in all versions of invoke since the update to torch 2.0. Tested on a fresh InvokeAI 3.0.1post3 install.

For me starting it with the command <HSA_OVERRIDE_GFX_VERSION=10.3.0 invokeai-web> fixed it

For me starting it with the command <HSA_OVERRIDE_GFX_VERSION=10.3.0 invokeai-web> fixed it

That worked, thanks for sharing that :) I'm guessing it's a compatibility issue with rocm and some AMD GPU's rather than InvokeAI. Closing as resolved.

For me starting it with the command <HSA_OVERRIDE_GFX_VERSION=10.3.0 invokeai-web> fixed it

It works for me, thanks.


log_level support

Hi, I saw in the README that this module does support log_level modification. However, when I do
module "cloud_armor_policy" {
  source = "GoogleCloudPlatform/cloud-armor/google"

  version    = "0.2.0"
  project_id = var.project_id
  name       = "cloud-armor-policy-${terraform.workspace}"
  log_level  = "VERBOSE"
}

I got
Error: Unsupported argument

  on main.tf line 7, in module "cloud_armor_policy":
   7:   log_level  = "VERBOSE"

An argument named "log_level" is not expected here.

I wonder if I am missing anything here. Thank you!

Thank you for the quick response. Seems to be working for me


fix unwrap crash when render surface is unavailable (0 height etc)

Repro

Run examples/responsive (or probably any example?)
Vertically resize the window to the smallest possible so that only menu bars are showing (0 height surface)

Observed

Crash
surface.get_current_texture() returns Err

This PR makes the UI just temporarily not render, instead of crashing the application.

Thanks!


[Backporting to 1.2] updated release notes for 1.2 backend (#308)

Signed-off-by: Amit Galitzky<EMAIL_ADDRESS>Description
Backporting PR #308 to 1.2
Check List

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

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Didn't catch the first PR before it was merged, but the release notes must be bulleted with asterisks instead of dashes, in order for infra to properly pick up the release notes when generating the bundle-wide release notes.
@amitgalitz Can you revert the change from asterisk to dash, and change back to asterisks?

Didn't catch the first PR before it was merged, but the release notes must be bulleted with asterisks instead of dashes, in order for infra to properly pick up the release notes when generating the bundle-wide release notes.
@amitgalitz Can you revert the change from asterisk to dash, and change back to asterisks?

Weird when I followed the script/instruction on the doc it kept turning them to dashes so I thought that was the standard.


[Feature Request] CLI interface

Would be nice if this tool comes out of box with CLI that I can use in my terminal :)

I like it but I am thinking about the UX. How should user use it as a CLI? A one-off query generation or it continuous generates queries.
How can user pass in the different types of queries and functions they want to generate


Plugin Incompatible with readthedocs.org

The mkdocs-mermaid2-plugin seems to be incompatible with readthedocs.org. the build pipeline on readthedocs.org fails with the error shown below.
Python version: 3.7.9
Mkdocs version: 1.1.2
mkdocs-mermaid2-plugin version: 0.5.1
INFO    -  MERMAID2  - Initialization arguments: {}
INFO    -  MERMAID2  - Using javascript library (8.8.0):
<EMAIL_ADDRESS>INFO    -  Cleaning site directory
INFO    -  Building documentation to directory: /home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/checkouts/latest/_build/html
INFO    -  MERMAID2  - Found superfences config: {'custom_fences': [{'class': 'mermaid', 'format': None, 'name': 'mermaid'}]}
ERROR   -  Error building page 'index.md': 'NoneType' object has no attribute '__name__'
Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/mermaid2/plugin.py", line 95, in activate_custom_loader
    return self._activate_custom_loader
AttributeError: 'MarkdownMermaidPlugin' object has no attribute '_activate_custom_loader'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/docs/.pyenv/versions/3.7.9/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/docs/.pyenv/versions/3.7.9/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/mkdocs/__main__.py", line 192, in <module>
    cli()
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/mkdocs/__main__.py", line 152, in build_command
    build.build(config.load_config(**kwargs), dirty=not clean)
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/mkdocs/commands/build.py", line 292, in build
    _build_page(file.page, config, files, nav, env, dirty)
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/mkdocs/commands/build.py", line 214, in _build_page
    'post_page', output, page=page, config=config
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/mkdocs/plugins.py", line 94, in run_event
    result = method(item, **kwargs)
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/mermaid2/plugin.py", line 159, in on_post_page
    if self.activate_custom_loader:
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/mermaid2/plugin.py", line 117, in activate_custom_loader
    if format_fn.__name__ == CUSTOM_FENCE_FN:
AttributeError: 'NoneType' object has no attribute '__name__'

The mkdocs-mermaid2-plugin seems to be incompatible with readthedocs.org. the build pipeline on readthedocs.org fails with the error shown below.
Python version: 3.7.9
Mkdocs version: 1.1.2
mkdocs-mermaid2-plugin version: 0.5.1
INFO    -  MERMAID2  - Initialization arguments: {}
INFO    -  MERMAID2  - Using javascript library (8.8.0):
<EMAIL_ADDRESS>INFO    -  Cleaning site directory
INFO    -  Building documentation to directory: /home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/checkouts/latest/_build/html
INFO    -  MERMAID2  - Found superfences config: {'custom_fences': [{'class': 'mermaid', 'format': None, 'name': 'mermaid'}]}
ERROR   -  Error building page 'index.md': 'NoneType' object has no attribute '__name__'
Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/mermaid2/plugin.py", line 95, in activate_custom_loader
    return self._activate_custom_loader
AttributeError: 'MarkdownMermaidPlugin' object has no attribute '_activate_custom_loader'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/docs/.pyenv/versions/3.7.9/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/docs/.pyenv/versions/3.7.9/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/mkdocs/__main__.py", line 192, in <module>
    cli()
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/mkdocs/__main__.py", line 152, in build_command
    build.build(config.load_config(**kwargs), dirty=not clean)
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/mkdocs/commands/build.py", line 292, in build
    _build_page(file.page, config, files, nav, env, dirty)
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/mkdocs/commands/build.py", line 214, in _build_page
    'post_page', output, page=page, config=config
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/mkdocs/plugins.py", line 94, in run_event
    result = method(item, **kwargs)
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/mermaid2/plugin.py", line 159, in on_post_page
    if self.activate_custom_loader:
  File "/home/docs/checkouts/readthedocs.org/user_builds/onegini-onegini-public-docs-parent/envs/latest/lib/python3.7/site-packages/mermaid2/plugin.py", line 117, in activate_custom_loader
    if format_fn.__name__ == CUSTOM_FENCE_FN:
AttributeError: 'NoneType' object has no attribute '__name__'

Thanks a lot for this issue report.
I'm curious about two things:

Does the project work with mkdocs serve (can you access from localhost:8000) and mkdocs build (will the html files build correctly) ?
Do you have an index.md file in your project ?

Thanks a lot for this issue report.
I'm curious about two things:

Does the project work with mkdocs serve (can you access from localhost:8000) and mkdocs build (will the html files build correctly) ?
Do you have an index.md file in your project ?

Any news about this issue?


Test suite compatability PHP 7.4

As of PHP 7.4 the each function has been removed. This means that phpunit 4.x can't run in php 7.4. The next highest version of phpunit requires php 5.6+.
This... Is a problem.
Ideally I would be able to somehow "Bridge" the phpunit versions so the tests would work on both, but that's a helluva lot of work, so we might have to make do with dropping tests or support for below 5.6.

Phpunit situation is resolved but travis broke the build so I'll have to wait for that to be fixed. In the meantime I'm marking nightly as allow_failures


Changed pointcloud display in rviz from intensity to range

By default the point cloud rainbow coloring is set to intensity.  A better setting may be the range (x) since the IFM sensor can be thought of more as a range sensor (i.e. not a colored pointcloud).

Your point is well taken Shaun. Maybe we should consider a way to parameterize the launch file to allow for dynamically setting this value with override available on the command line? I find both colorings (i.e., x-range and intensity) useful depending upon what I am trying to do. The original choice to show the intensity was simply to make available the "4'th dimension" of data that are available in this data structure visibly on the screen. Coloring via x-range, by default, on a 3D render seemed redundant while effectively hiding the available intensity data.

I'm certainly on the fence.  The problem I had is that I was looking at planar objects with bar-codes on them.  In the intensity image, it shows up the same color but with artifacts around the bar-code.  Because I assumed I was looking at range, I thought this was an issue with the camera.  While I agree with your thought on showing the 4th dimension, I've never found the intensity information very useful.  It doesn't have an obvious physical meaning, like color for example.  I'm not aware of any PCL (or other methods) that utilize intensity in a meaningful way.  Perhaps I'm just ignorant of the value (and maybe I should have paid more attention when looking at the rviz display).

I've seen quite a few applications in industrial settings that introduce things like retroreflectors into the environment to help simplify a segmentation task. Using that as an example, running a binary filter on the intensity channel of the point cloud (i.e., decimating the data based on an intensity threshold) typically yields a significantly more simplified segmentation problem and if your application allows for such artificial beacons, the overall system becomes more robust.
The point of the above comment is to simply provide one example of where the intensity data can be useful. Thinking more about the issue at hand, I think the right thing to do is to parameterize the launch file in a way that allows for choice with sensible defaults. I am currently working on some updates to libo3d3xx that I hope to push out early next week but after that, I can take a stab at parameterizing the launch file as we have been discussing ... that is, if you don't get to it first :-)

I just committed to the master branch a means of parameterizing the rviz launch file to color the point cloud by intensity (the default) or x-range. To color by intensity (as before):
$ roslaunch o3d3xx rviz.launch

To color by x-range:
$ roslaunch o3d3xx rviz.launch range:=1

To that end, I'm going to close out this pull request since I think we now have the desired functionality without losing the existing functionality.


Option to copy currently selected item from the suggestions list to input text field

Thanks for creating this nice plugin. It is really helpful.
I often use CTRL+O instead of CTRL+N when I want to create a new note. Then I use SHIFT+ENTER to create a new note from inside the quick switcher. However, it often useful to create a note that has a similar name to an existing note. To avoid typing the whole name again (if you have a long name) it would be great to be able to press TAB (for example) in the quick switcher. Then the currently selected item from the suggestions list would be copied into the search input text field. And the user could edit that text to create a new file name.

Hi, @hakonhagland. Thank you for your PR :)
Looks good me. I'll implement it 👍

@tadashi-aikawa Thank you!

Looks good 😄

Fantastic job! I will test this now :smile:

It works perfectly here! Thank you!!

@hakonhagland
Thank you for your quick confirming!
I Released v4.8.0 🚀


"should" is not defined

An example from http://visionmedia.github.com/mocha/ doesn't work
[1,2,3].indexOf(4).should.equal(-1);

It doesn't look like neither should nor equal are defined.
lib ➤ ack equal --js
lib ➤

I'm curious how could it work. Do you intend to extend Object.prototype?

This example is assuming you've run it ala
mocha -r should testfile.js

Thanks. I should use https://github.com/visionmedia/should.js then.

Ugh, should.js doesn't work in the browser https://github.com/visionmedia/should.js/issues/26


code clean-up

expose bidirectional_network_types setting in ox.config
reorganize ox.config args and docstrings

Coverage remained the same at 92.22% when pulling 4088891fea13369876417596e1d7058dc5a04ae7 on fix into 4c7395e011916e4b3c79f43983584e93309b86d2 on master.


Broken hooks rules

Hi! Recently i update from 1.6.9 to 2.3.1 and faced with hooks rules problem that provides by eslint inside ReactIdSwiper.
Do you advice me to disable eslint rules or anything else?
Thx!

Hi @froziq , what React version are you using ?

Hi @froziq , what React version are you using ?

Hi there,
i've get the same problem, and my React version is 16.7.0

well, i think i figure it out.
cause i used dynamic  data from backend, but did't get right init when data's length got 0. for map return a ''.
this is my own problem.
hope to help people who have similar problems.😃

hi @kidjp85. i'm using latest version of React. for now it 16.8.6.

It should be gone with the newest version.


Automatically sync prior to install, if there is no local repo info

Shoulnd't cyclops sync prior to install on every ocasion, even when there is a local repo info?

A sync is (most likely) not required if the repo was updated recently though. Maybe there could be a time limit?
Other package managers (pacman, yum?) will alert if a "sync" has not occurred for a long time and may fail to find/install a package if they are out of date.

I thought every time a package was created in cyclone-packages, this repo should create a new index.dat file and cyclops should update it. Is there a different mechanism for updating index.dat that I'm not aware of?

No, you're right. I was thinking about how this would scale up, but maybe that doesn't matter so much at first, when there are relatively few packages.


Added backend for checking if all migrations are applied

This PR adds a new Health Check by using MigrationExecutor for checking if there are pending migrations to apply.
I think that this HealthCheck combined with the db  cover a wide range of scenarios.

Interesting, can you elaborate a bit more on the use case? For me this is usually part of the deployment routine and my apps do not deploy with the migrations passing. So I am curious from whom this is intended.

I'm using it on kubernetes service so old pods are not destroyed before new migrations are applied. Once applied, new pods get the ready state and become coming up.
So my deployment pipeline runs as follow:
-> Launch new pods -> Run migrations job -> Destroy old pods

I see, well the code looks spotless, released in 3.13.3
I messed up the version number, but it's a new minor release, so we should be good.

Hi! Do you plan to upgrade PyPi version soon? Just for switching my requirements back to raw package name.
Thx!

there is nothing I can do right now. I am waiting on feedback from @KristianOellegaard


final berkeley fixes from Node Working Group

Adds progress bars to berkeley_migration
Renames berkeley_migration.sh in the source to minimize difference from installation location
Ensures only version-number tags are pushed into stable channel

TODO:

[x] Add progress bars to replayer
[x] Figure out why the log lines contain Dune__exe__, that sucks and is distracting
[ ] ???
[ ] shipit

!ci-toolchain-me

!ci-build-me

!ci-build-me

!ci-toolchain-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me


AttributeError: 'Recognizer' object has no attribute 'accept_waveform'

https://github.com/k2-fsa/sherpa-ncnn/blame/5503f8d036620338799c1d22913f739885152238/python-api-examples/speech-recognition-from-microphone.py#L28C6-L28C6

please post complete logs


[designspaceLib] splitVariableFonts loses filename attribute in <variable-fonts>

I may be doing something wrong here. But I can't seem to get the filename attribute from a <variable-fonts> tag in a designspace file.
https://github.com/fonttools/fonttools/blob/6e1f55b0c8638b3a815736beca07df4b5cdccd70/Lib/fontTools/designspaceLib/__init__.py#L3210
Here's a test ds file I'm using:
<?xml version='1.0' encoding='UTF-8'?>
<designspace format="5.0">
    <axes>
        <axis tag="wght" name="weight" minimum="400" maximum="700" default="400" />
    </axes>
    <variable-fonts>
        <variable-font name="Test Font Variable" filename="Test_Font-Variable">
            <axis-subsets>
                <axis-subset name="weight" />
            </axis-subsets>
        </variable-font>
    </variable-fonts>
    <sources>
        <source filename="thick.ufo" familyname="E" stylename="Thick">
        <location>
            <dimension name="weight" xvalue="700" />
        </location>
        </source>
        <source filename="thin.ufo" familyname="E" stylename="Thin">
        <location>
            <dimension name="weight" xvalue="400" />
        </location>
        </source>
    </sources>
    <instances>
        <instance familyname="E" stylename="Thick" filename="instances/FileName-E-Thick.ufo">
            <location>
                <dimension name="weight" xvalue="700" />
            </location>
        </instance>
        <instance familyname="E" stylename="Thin" filename="instances/FileName-E-Thin.ufo">
            <location>
                <dimension name="weight" xvalue="400" />
            </location>
        </instance>
        <instance familyname="E" stylename="Style_2" filename="instances/FileName-E-Style_2.ufo">
            <location>
                <dimension name="weight" xvalue="700" yvalue="400" />
            </location>
        </instance>
    </instances>
</designspace>

The code I'm using to try and get the filename:
from ufoProcessor.ufoOperator import UFOOperator

operator = UFOOperator('path/test.designspace')

for name, interpolableOperator in operator.getInterpolableUFOOperators(useVariableFonts=True):
    vf = interpolableOperator.getVariableFonts()
    print(vf)
    print(vf[0].filename)

This is the output:
[VariableFontDescriptor(
    filename=None,
    axisSubsets=[RangeAxisSubsetDescriptor(
        name='weight',
        userMinimum=-inf,
        userDefault=None,
        userMaximum=inf,
    )],
    lib={},
)]
None

It's able to get the correct axis subset name, but not the filename.
TIA!

Can you provide an example that does not use ufoProcessor?

Oops yes. Looks like it has something to do with how I used the useVariableFonts flag. Will close this issue, thanks @justvanrossum
from fontTools.designspaceLib import DesignSpaceDocument
from ufoProcessor.ufoOperator import UFOOperator

# Straight from fontTools
doc = DesignSpaceDocument()
doc.read('/Users/Ryan/Desktop/test.designspace')
vf = doc.getVariableFonts()
print(vf[0].filename)

# UFOOperator, useVariableFonts=True
operator = UFOOperator('/Users/Ryan/Desktop/test.designspace')
for name, interpolableOperator in operator.getInterpolableUFOOperators(useVariableFonts=True):
    vf = interpolableOperator.getVariableFonts()
    print(vf[0].filename)

# UFOOperator, useVariableFonts=False
for name, interpolableOperator in operator.getInterpolableUFOOperators(useVariableFonts=False):
    vf = interpolableOperator.getVariableFonts()
    print(vf[0].filename)

Output:
Test_Font-Variable
None
Test_Font-Variable

@justvanrossum
I'm coming into this fresh, so forgive me if I'm missing something, but is there a reason, the variable-font’s filename is dropped from the DesignSpaceDocument in splitVariable?
from fontTools.designspaceLib import DesignSpaceDocument
from fontTools.designspaceLib.split import splitInterpolable, splitVariableFonts

# Getting the <variable-fonts> filename from the flat document works.
doc = DesignSpaceDocument()
doc.read('/Users/Ryan/Desktop/test.designspace')
vf = doc.getVariableFonts()
print(vf[0].filename)

# Still works with splitInterpolable
split_interp = splitInterpolable(doc)
for name, interp in split_interp:
    vf = interp.getVariableFonts()
    print(vf[0].filename)

# Loses filename with splitVariableFonts
split_var = splitVariableFonts(doc)
for name, var in split_var:
    vf = var.getVariableFonts()
    print(vf[0].filename)

Output:
Test_Font-Variable
Test_Font-Variable
None

I think it's happening around here:
https://github.com/fonttools/fonttools/blob/6e1f55b0c8638b3a815736beca07df4b5cdccd70/Lib/fontTools/designspaceLib/split.py#L146

I'm not sure what's going on here, and I hope @belluzj can shed some light on this.

Hello, here is an explanation of what is going on, although it's not an excuse and the code could be be improved: splitVariableFonts(doc) will turn each <variable-font> in the input doc into a standalone Designspace doc that represents that VF. In particular, the stand-alone doc does not include a <variable-font> anymore (see keepVFs=False on line 149), that's because (so I thought at the time):

the data of <variable-font> element has been fully used to subset the designspace, and so the <variable-font> element is not needed anymore. That assumption turns out to be false, as for example you're spotting the filename field, which gets lost indeed.
not having a <variable-font> element means the standalone designspace is V4 and can be passed to older tools that wouldn't understand the <variable-font> thing; and so  splitVariableFonts() is used to implement convert5to4()

Possible workaround for now: zip your <variable-font> elements with the results of splitVariableFonts() to have access to your information:
split_var = splitVariableFonts(doc)
for vf, (name, varDoc) in zip(doc.getVariableFonts(), split_var):
    print(vf[0].filename)

Possible improvement: make splitVariableFonts() keep the single <variable-font> in the standalone designspace by default (so no information is lost); make convert5to4() delete that <variable-font> before returning the version 4 document.
Does that help?


g-code file don't load

Hello,
I'm trying to load a g-code file with the File->Open  menu but it doesn't load
I'm using the 64 bit version on WIN10
Please find the file attached the gcode file
Gerber_BottomLayer.nc.txt

Thanks for the report! I'll fix it and upload a new release in the next few hours.

I released version 1.0.1 with the bug fix. You can download it from the releases section. The attached G-Code now loads and is correctly transposed! Thanks :)

I released version 1.0.1 with the bug fix. You can download it from the releases section. The attached G-Code now loads and is correctly transposed! Thanks :)

Thank you!!


Add version annotation to various flags added in 1.13

Pull request https://github.com/docker/docker/pull/27745 added support for the
client to talk to older versions of the daemon. Various flags were added to
docker 1.13 that are not compatible with older daemons.
This PR adds annotations to those flags, so that they are automatically hidden
if the daemon is older than docker 1.13 (API 1.25).
Not all new flags affect the API (some are client-side only). The following
PR's added new flags to docker 1.13 that affect the API;

https://github.com/docker/docker/pull/23430 added --cpu-rt-periodand --cpu-rt-runtime
https://github.com/docker/docker/pull/27800 / https://github.com/docker/docker/pull/25317 added --group / --group-add / --group-rm
https://github.com/docker/docker/pull/27702 added --network to docker build
https://github.com/docker/docker/pull/25962 added --attachable to docker network create
https://github.com/docker/docker/pull/27998 added --compose-file to docker stack deploy
https://github.com/docker/docker/pull/22566 added --stop-timeout to docker run and docker create
https://github.com/docker/docker/pull/26061 added --init to docker run and docker create
https://github.com/docker/docker/pull/26941 added --init-path to docker run and docker create
https://github.com/docker/docker/pull/27958 added --cpus on docker run / docker create
https://github.com/docker/docker/pull/27567 added --dns, --dns-opt, and --dns-search to docker service create
https://github.com/docker/docker/pull/27596 added --force to docker service update
https://github.com/docker/docker/pull/27857 added --hostname to docker service create
https://github.com/docker/docker/pull/28031 added --hosts, --host-add / --host-rm to docker service create and docker service update
https://github.com/docker/docker/pull/28076 added --tty on docker service create / docker service update
https://github.com/docker/docker/pull/26421 added --update-max-failure-ratio, --update-monitor and --rollback on docker service update
https://github.com/docker/docker/pull/27369 added --health-cmd, --health-interval, --health-retries, --health-timeout and --no-healthcheck options to docker service create and docker service update

- How to verify it
Verify that the correct flags are hidden when overriding the API version. For example;
Without DOCKER_API_VERSION;
docker service create --help

Usage:	docker service create [OPTIONS] IMAGE [COMMAND] [ARG...]

Create a new service

Options:
      --constraint list                  Placement constraints (default [])
      --container-label list             Container labels (default [])
      --dns list                         Set custom DNS servers (default [])
      --dns-option list                  Set DNS options (default [])
      --dns-search list                  Set custom DNS search domains (default [])
      --endpoint-mode string             Endpoint mode (vip or dnsrr)
  -e, --env list                         Set environment variables (default [])
      --env-file list                    Read in a file of environment variables (default [])
      --group list                       Set one or more supplementary user groups for the container (default [])
      --health-cmd string                Command to run to check health
      --health-interval duration         Time between running the check (ns|us|ms|s|m|h)
      --health-retries int               Consecutive failures needed to report unhealthy
      --health-timeout duration          Maximum time to allow one check to run (ns|us|ms|s|m|h)
      --help                             Print usage
      --host list                        Set one or more custom host-to-IP mappings (host:ip) (default [])
      --hostname string                  Container hostname
  -l, --label list                       Service labels (default [])
      --limit-cpu decimal                Limit CPUs (default 0.000)
      --limit-memory bytes               Limit Memory (default 0 B)
      --log-driver string                Logging driver for service
      --log-opt list                     Logging driver options (default [])
      --mode string                      Service mode (replicated or global) (default "replicated")
      --mount mount                      Attach a filesystem mount to the service
      --name string                      Service name
      --network list                     Network attachments (default [])
      --no-healthcheck                   Disable any container-specified HEALTHCHECK
  -p, --publish port                     Publish a port as a node port
      --replicas uint                    Number of tasks
      --reserve-cpu decimal              Reserve CPUs (default 0.000)
      --reserve-memory bytes             Reserve Memory (default 0 B)
      --restart-condition string         Restart when condition is met (none, on-failure, or any)
      --restart-delay duration           Delay between restart attempts (ns|us|ms|s|m|h)
      --restart-max-attempts uint        Maximum number of restarts before giving up
      --restart-window duration          Window used to evaluate the restart policy (ns|us|ms|s|m|h)
      --secret secret                    Specify secrets to expose to the service
      --stop-grace-period duration       Time to wait before force killing a container (ns|us|ms|s|m|h)
  -t, --tty                              Allocate a pseudo-TTY
      --update-delay duration            Delay between updates (ns|us|ms|s|m|h) (default 0s)
      --update-failure-action string     Action on update failure (pause|continue) (default "pause")
      --update-max-failure-ratio float   Failure rate to tolerate during an update
      --update-monitor duration          Duration after each task update to monitor for failure (ns|us|ms|s|m|h) (default 0s)
      --update-parallelism uint          Maximum number of tasks updated simultaneously (0 to update all at once) (default 1)
  -u, --user string                      Username or UID (format: <name|uid>[:<group|gid>])
      --with-registry-auth               Send registry authentication details to swarm agents
  -w, --workdir string                   Working directory inside the container

And with DOCKER_API_VERSION;
DOCKER_API_VERSION=1.24 docker service create --help

Usage:	docker service create [OPTIONS] IMAGE [COMMAND] [ARG...]

Create a new service

Options:
      --constraint list                Placement constraints (default [])
      --container-label list           Container labels (default [])
      --endpoint-mode string           Endpoint mode (vip or dnsrr)
  -e, --env list                       Set environment variables (default [])
      --env-file list                  Read in a file of environment variables (default [])
      --help                           Print usage
  -l, --label list                     Service labels (default [])
      --limit-cpu decimal              Limit CPUs (default 0.000)
      --limit-memory bytes             Limit Memory (default 0 B)
      --log-driver string              Logging driver for service
      --log-opt list                   Logging driver options (default [])
      --mode string                    Service mode (replicated or global) (default "replicated")
      --mount mount                    Attach a filesystem mount to the service
      --name string                    Service name
      --network list                   Network attachments (default [])
  -p, --publish port                   Publish a port as a node port
      --replicas uint                  Number of tasks
      --reserve-cpu decimal            Reserve CPUs (default 0.000)
      --reserve-memory bytes           Reserve Memory (default 0 B)
      --restart-condition string       Restart when condition is met (none, on-failure, or any)
      --restart-delay duration         Delay between restart attempts (ns|us|ms|s|m|h)
      --restart-max-attempts uint      Maximum number of restarts before giving up
      --restart-window duration        Window used to evaluate the restart policy (ns|us|ms|s|m|h)
      --stop-grace-period duration     Time to wait before force killing a container (ns|us|ms|s|m|h)
      --update-delay duration          Delay between updates (ns|us|ms|s|m|h) (default 0s)
      --update-failure-action string   Action on update failure (pause|continue) (default "pause")
      --update-parallelism uint        Maximum number of tasks updated simultaneously (0 to update all at once) (default 1)
  -u, --user string                    Username or UID (format: <name|uid>[:<group|gid>])
      --with-registry-auth             Send registry authentication details to swarm agents
  -w, --workdir string                 Working directory inside the container

- Description for the changelog

Hide flags that are not supported by the daemon in --help output

ping @vieux @dnephin ptal

LGTM


Remove Tax calculation service

The tax calculation service is merged into Dynamics 365 Finance. Thus need to update the related documents
Pull request guidance
Thank you for submitting your contribution to our support content! Our team works closely with subject matter experts in CSS and PMs in the product group to review all content requests to ensure technical accuracy and the best customer experience. This process can sometimes take one or more days, so we greatly appreciate your patience.
We also need your help in order to process your request as soon as possible:

We won't act on your pull request (PR) until you type "#sign-off" in a new comment in your pull request (PR) to indicate that your changes are complete.

After you sign off in your PR, the article will be tech reviewed by the PM or SME if it has more than minor changes. Once the article is approved, it will undergo a final editing pass before being merged.

PR#7658 is created in private repo for internal review.

The article -https://learn.microsoft.com/en-us/troubleshoot/dynamics-365/finance/tax/tcs-troubleshooting-failed-access-tax-service.md has been removed and redirected to the Finance welcome page. Other articles will be republished via the private repo PR-7658  once the SAP is ready.


navigator does not contain platform, therefore require('pdfjs-dist/build/pdf') leads to an error

Attach (recommended) or Link to PDF file here:
Configuration:

Web browser and its version:
Node.js 18 .12.1
Operating system and its version:
Microsoft Windows 11 Home 10.0.22621
PDF.js version:
3.0.279
Is a browser extension:
No
Steps to reproduce the problem:

install node js
npm i pdfjs-dist
npm i webex
create any node js project and load "const webex = require('webex');" "const pdfjs = require('pdfjs-dist/build/pdf');"

What is the expected behavior? (add screenshot)
no error should occur
What went wrong? (add screenshot)
In line 3365 of the pdf.js file the object "navigator" does not contain the attribute "platform", therefore the following .include operations cause an error.

I would suggest changing line 3365 to 'const platform = typeof navigator.platform  !== "undefined" ? navigator.platform : "";'
since not only the navigator object needs to exist.
The same should be done for legacy.

The global navigator object isn't, to the best of my knowledge, available in Node.js environments; see also https://developer.mozilla.org/en-US/docs/Web/API/Navigator#browser_compatibility
Hence you must have an incomplete navigator polyfill somewhere in your code, which unfortunately means that it's a bug in your code rather than in the PDF.js library. As such, I don't think that we need/should make any changes here.

Hi,
I updated my original post since I still think checking if the "platform" attribute is part of the navigator before accessing it makes sense if you already check for the navigator object.
My code currently only looked like this:
const webex = require('webex');
const pdfjs = require('pdfjs-dist/build/pdf');
the Webex API seems to create the navigator object globally.
I can change the order of including the APIs or I could just write
navigator.platform = ''
after including the Webex API.
In my opinion, the PDF.js library should be bulletproof in this regard since javascript does not only run in node.js or in a browser. You never know what the environment you try to use PDF.js in comes up with and checking for "navigator.platform" instead of "navigator" does not come with a huge, if any, performance penalty.

the Webex API seems to create the navigator object globally.

In that case, please file a bug with that project since it's actually responsible for this bug. (This issue just shows why incomplete polyfills are never a good idea...)

In my opinion, the PDF.js library should be bulletproof in this regard since javascript does not only run in node.js or in a browser.

At some point, you have to be able to assume that the environment isn't purposely misrepresenting its actual capabilities.

[...] and checking for "navigator.platform" instead of "navigator" does not come with a huge, if any, performance penalty.

Maybe not, but we have multiple call-sites using navigator that would all need to become more complicated and none of this is ever a problem in Firefox (which is the primary development target).

@calixteman Do you think that we should try and fix this, when it's clearly not our "fault" here.

Maybe we could just replace typeof navigator !== "undefined" ? navigator.platform : ""; by navigator?.platform || "".

For sure we can't support everything and especially every bug from other project: our main goal is to develop the Firefox pdf viewer, so @Sven3er you should really file a bug on Webex.
But as @Snuffleupagus said we've other use of navigator and we don't want to check if  userAgent or platform is really a string or whatever..., polyfills are supposed to be there for this purpose, we have really enough work with our own bugs ;).
So I think it doesn't hurt that much to make the replacement I proposed above, but in general I'd say WONTFIX.

Maybe we could just replace typeof navigator !== "undefined" ? navigator.platform : ""; by navigator?.platform || "".

Unfortunately that wouldn't work, since normally in Node.js the global navigator object isn't defined and trying to access a non-existent global object is a runtime error. The only generally safe thing would thus be:
typeof navigator !== "undefined" && typeof navigator.plaform === "string" ? navigator.plaform : "";

Oh, you're right, so as said I'd say WONTFIX.

Hi,
I am using React Native (0.66.4), and use webview to load pdf. But one of the library pdfjs-dist that I used in my project, throw the error TypeError: undefined is not an object (evaluating 'navigator.platform.includes'). I am wondering if can fix that by update the source code for
static get platform() {
    if (typeof navigator === "undefined") {
      return shadow(this, "platform", {
        isWin: false,
        isMac: false
      });
    }
    return shadow(this, "platform", {
      isWin: navigator.platform.includes("Win"),
      isMac: navigator.platform.includes("Mac")
    });
  }

static get platform() {
    if (typeof navigator === "undefined" || navigator.platform === "undefined") {
      return shadow(this, "platform", {
        isWin: false,
        isMac: false
      });
    }
    return shadow(this, "platform", {
      isWin: navigator.platform.includes("Win"),
      isMac: navigator.platform.includes("Mac")
    });
  }

Could it be the shim provider doesn't support it because it's deprecated?
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/platform
Maybe pdfjs shouldn't depend on deprecated props.

Could it be the shim provider doesn't support it because it's deprecated?
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/platform
Maybe pdfjs shouldn't depend on deprecated props.

Well, that's currently the only thing that Firefox supports hence it's what we use. (Please keep in mind that the Firefox PDF Viewer is the primary development target here.)
As mentioned previously in this thread, we've multiple call-sites that access the navigator and all of them would need to become more complicated. (Which adds some overhead when e.g. working with and reviewing the relevant code.)

Given that this doesn't affect the built-in Firefox PDF Viewer, I cannot really justify spending my spare time trying to fix this (since I'm not getting paid to hack on the PDF.js library).
However if those affected by this would be willing to compensate me for my time, I don't believe that it'd be too difficult for me to provide a patch for this!

Node 21 now has a global navigator object that's an empty object now.  So now anyone accessing the platform method is going to get a type error due to this line:
const platform = typeof navigator !== "undefined" ? navigator.platform : "";
The platform variable accesses includes on an object which will throw that type error.


fix: pass pnp experimental loader to worker if it exists

This does what @lachlanhunt calls out in https://github.com/un-ts/synckit/pull/98#issuecomment-1207511338.
The reason the existing test doesn't cover this is because the existing test imports a worker.js file rather than a worker.mjs file, while the eslint resolver references a worker.mjs file.
Also digging into the tests added in the previous PR, we need a test case where -r pnp is not added via NODE_OPTIONS, but rather added via a "proxy" script that calls require('pnpapi').setup() -- this emulates the yarn eslint sdk patch from https://github.com/yarnpkg/berry/tree/master/packages/yarnpkg-sdks.
References

Experimental ESM loader config in yarn: https://yarnpkg.com/configuration/yarnrc/#pnpEnableEsmLoader
Does Yarn support ESM? https://yarnpkg.com/getting-started/qa/#does-yarn-support-esm

@noahnu Can you link some references?

Updated PR description.

The reason the existing test doesn't cover this is because the existing test imports a worker.js file rather than a worker.mjs file, while the eslint resolver references a worker.mjs file.

type: 'module' is enabled jn the yarn-pnp test case, so worker.js is same as worker.mjs.
How can generate a .pnp.loader.mjs file?

Also digging into the tests added in the previous PR, we need a test case where -r pnp is not added via NODE_OPTIONS, but rather added via a "proxy" script that calls require('pnpapi').setup() -- this emulates the yarn eslint sdk patch from yarnpkg/berry@master/packages/yarnpkg-sdks.

That would be appreciated! But it could be another PR for test cases, it is not related to this PR, right?

It can definitely be added in a follow up. I'll QA this PR right now

Yep, this PR seems to do the trick. ✅


Update developer guide

Codecov Report
Base: 72.15% // Head: 72.15% // No change to project coverage :thumbsup:

Coverage data is based on head (62c89d2) compared to base (4d18ee5).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #43   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Add feature #884, add an option to avoid adding scenario name to the hostname

Add a boolean into the platform configuration append_scenario to let the user choose if he wants a different host for each of his scenario
Update the documentation
Update unit test for this new functionality

@Dorn- Could I get a little background on the use cases for this?

Supplemented by #895.


Can't distinguish between words that sound the same

I'm trying to use artyom.addCommands to listen to voice and trigger different keystrokes on a digital keyboard. Artyom has trouble distinguishing between "four" and "for", "C" and "see", etc. I've tried several ways to work around this, am I just missing a way to train it?

Artyom is using chrome built in speech recognition which uses google stt
service .It is not a problem of artyom. try uxing sentences which will give
you a better result


Add WebSocket support to controller sample

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 95.35%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1657

Relevant Lines:
1690

💛  - Coveralls


FIX #88 calculations not working with non nullables and nullables numbers

FIX #88

Thanks @nike61 ! I will check it.

I too would appreciate this getting released

Thanks @nike61, just release v2.2.0 with this fix!


to chinese

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

8 of 53 (15.09%)  changed or added relevant lines in 6 files are covered.
23 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-17.5%) to 59.344%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

app/Controllers/Blog.php
0
1
0.0%

app/Libraries/Blog.php
4
6
66.67%

app/Controllers/Api.php
0
42
0.0%

Files with Coverage Reduction
New Missed Lines
%

app/Entities/Post.php
2
62.5%

app/Models/MyBBModel.php
8
0%

app/Libraries/Forums.php
13
0%

Totals

Change from base Build<PHONE_NUMBER>:
-17.5%

Covered Lines:
181

Relevant Lines:
305

💛  - Coveralls


add [twitch] user status badge

This is a Twitch badge that I want to use, basically just showing whether a user is streaming or not. I'm open to url/param/badge style change suggestions.
Example:

when one is streaming:
when one is offline:

The badge link would be pointing to the Twitch user channel, https://www.twitch.tv/$user.
Thank @paulmelnikow for helping me on this :)

Warnings

:warning:
This PR modified the server but none of its tests. That's okay so long as it's refactoring existing code.

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @andyli!

:book:

Thanks for contributing to our documentation. We :heart: our documentarians!

  Generated by :no_entry_sign: dangerJS against 4030916ecb4ab790685a22c0b747779a6de2435b

I've just worked on the comments a bit and define a proper joi schema as suggested.
I also found that we have to request and use a token, such that we can have a higher rate limit. See https://dev.twitch.tv/docs/api/guide/#rate-limits

I've made some improvement with the objective of reducing response delay. The timing info of the Twitch tests can be observed in the log as follows:
  Twitch
    [live] Status of andyonthewings
      √        [ GET /status/andyonthewings.json ] (1204ms)
    [live] Status of noopkat
      √
        [ GET /status/noopkat.json ] (199ms)
    [live] Invalid Username Specified
      √
        [ GET /status/invalidusernamethatshouldnotexist.json?label=Follow ] (209ms)

  3 passing (3s)

The first request took longer since we need to wait for a token.

@andyli - Just wanted to let you know that we've not forgotten about this! Things are pretty busy right now and there's some additional work required on our end to get the auth setup with twitch for our prod environment

Hey, it has been a while. Is there anything blocking this?

Hi @andyli - thanks for the bump on this. Nothing else needed from your end, but I do want to chat with some of the other maintainers before deploying this. Will try to get back to you as soon as possible.

@andyli - we haven't lost track of this, just going to be a bit longer. Thanks for bearing with us!

I've removed the user existence check as suggested. I didn't add/modify the badge text, so an invalid user will just give an offline badge. I think it's not too bad since the badge user will probably test the badge by clicking on it. The badge link will tell whether the user name specified is correct or not.

@calebcartwright shall we get this merged?

Let's do it! I've triggered a new redeploy of the review app about of an abundance of caution, but as long as that goes through this should be good to go 👍

@PyvesB Yea, can you send me what needs to be added?

Will do so in the evening.

The badge on the staging environment is not working correctly:
I noticed that the two Twitch variables weren't added to apps.json or config/* as part if this PR, am I correct in thinking that this is what's missing?

Preparing new PR to address the above.

@paulmelnikow, I shared what you'll need via Keybase.

Yeah, it's https://twitter.com/andy_li
Thanks!
On Fri, 13 Sep 2019, 14:36 Pierre-Yves B<EMAIL_ADDRESS>wrote:

@andyli https://github.com/andyli do you have a Twitter handle I can
give credit to in a Tweet about this new badge?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/badges/shields/pull/3683?email_source=notifications&email_token=AAAZMKPCTEMAUY6ZMPSWJC3QJMYIPA5CNFSM4H7BUDF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6UDLJY#issuecomment-531117479,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAZMKKBD3RFFOCI4YEWJJDQJMYIPANCNFSM4H7BUDFQ
.

Tweet posted: https://twitter.com/Shields_io/status/1174037594851688448


Easegress Gateway API: Inquiry on Rate Limiter, Circuit Breaker, and HTTP/3 Support

Through reading the documentation, I learned that Easegress supports RateLimiter and CircuitBreaker functionality as a Kubernetes Gateway API. We plan to use the Kubernetes Gateway API to replace Ingress to meet our health monitoring needs. I have two questions that I hope you can answer:
When using Easegress as a Kubernetes Gateway API, is it necessary to install any additional software, such as EaseMesh, to enable the RateLimiter and CircuitBreaker functionalities?
How well does Easegress support HTTP/3 traffic as a Kubernetes Gateway API?
Originally posted by @tjqc0512 in https://github.com/easegress-io/easegress/issues/1361#issuecomment-2527172674

No need to install EaseMesh, please check out this doc for details: https://github.com/easegress-io/easegress/blob/main/docs/04.Cloud-Native/4.2.Gateway-API.md
Set http3: true in httpserver spec which leverages https://github.com/quic-go/quic-go/ to run http3 server.

Thank you very much for your patient answers.


Update sbt-mdoc to 2.2.17

Updates org.scalameta:sbt-mdoc from 2.2.13 to 2.2.17.
GitHub Release Notes - Version Diff
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 = "org.scalameta", artifactId = "sbt-mdoc" } ]

labels: sbt-plugin-update, semver-patch

Superseded by #175.


updating olm config file with proper information

Issue #, if available:
N/A
Description of changes:
updating the olm config file so the CSV in the bundle has the proper information. Please let me know if this controller will have any more resources besides kind Secret
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Relates: k8s-operatorhub/community-operators#2987
Relates: redhat-openshift-ecosystem/community-operators-prod#2942

/ok-to-test

Errors are expected. I just wanted to double-check that. They will disappear once we merge the first CRD

@a-hilaly This PR can follow the PR with the CRD(s).

/lgtm

/retest

/retest


add error

add error function if wrong Am sorry
Overview
TL;DR

Questions
<If relevant, write a list of questions that you would like to discuss related to the changes that you have made.>
Next Steps
<If incomplete, create a task list of items that are still being worked on within the Pull Request.>
Review
<If complete, or ready for :eyes:, use @mentions for quick questions, specific feedback, and progress updates.>

@keangkai Thank you for opening a pull request!
@stoe @JasonEtco Do you have the bandwidth to review this in the next week?

Thank you.If wrong sorry.And edit it better

@keangkai I'm going to close this pull request, but this is a good idea! It would be good to have an error handler but since the function is empty, the error handler doesn't do anything. If you'd like to work more, please do open another pull request. If you have any questions please let us know. 😄


Starting add support for Fcoin

Add support for the new exchange platform: https://www.fcoin.com/
The API document: https://developer.fcoin.com/
For now only placing limit orders is supported, waiting for more development.

Make sure to read this: https://github.com/knowm/XChange/wiki/New-Implementation-Best-Practices


Question about oplayer

Hello, this is my video player:
OPlayer.make('#oplayer', {                                     pictureInPicture: true,autoplay: true,                                     controller:{slideToSeek: 'long-touch'},                                     source: {                                         src: '',                                         poster: ''                                     }                                 })                                 .use([OUI({                                     pictureInPicture: true,autoplay:true,controller:{slideToSeek: 'long-touch'}}), ODash()])                                 .create();                         }
How can I enable slideToSeek?
And how to move the settings icon above the video?
If anyone knows, tell me or edit my script
Thanks

https://github.com/shiyiya/oplayer/blob/a6f564d185d46974885c20fcfd8ca90a8d9a477f/examples/standalone/main.ts#L79

https://github.com/shiyiya/oplayer/blob/a6f564d185d46974885c20fcfd8ca90a8d9a477f/examples/standalone/main.ts#L79

It's not working.
All script:


Cannot find the fallback endpoint

Problem encountered on https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/run
Operating System: windows 10 Pro. Visual Studio 2022, .Net 7
Upon following this tutorial and running the app for the first time, I ran into:
System.InvalidOperationException: Cannot find the fallback endpoint specified by route values: { page: /_Host, area:  }.
I don't have a clue what this is. Please help! Thanks,
r4

Are you running the tutorial as-is or did you make changes?
Not sure if this Stack Overflow post would be helpful for your case:
https://stackoverflow.com/questions/58874883/cannot-find-the-fallback-endpoint-specified-by-route-values-page-host-are
@danroth27 any other suggestions?

@mairaw: running tutorial as is. I got it to run without error by adding
false
in  in a file that has the same name as my webapp. I don't know what I broke by doing this ... might I have?

Well ... my second line in the comment I just made got changed to "false" but I had put in there
<UseRazorSourceGenerator>false</UseRazorSourceGenerator>
This time I am using single quotes - will the entire text appear?

Hi @robertrackl. I'm sorry to hear you're hitting some issues! We'll do our best to get you sorted.
Can you please hare with us the version of Visual Studio you are using? You can find it by going to Help > About Visual Studio.

As I said above, it started working ok after adding the line about UseRazorSourceGenerator. But by doing so, will I run into other trouble?
I am using Visual Studio 2022 Version 17.7.6 in Windows 10 Pro.

@robertrackl We recommend against disabling the Razor source generator. It's the preferred way to build your .cshtml and .razor files.
Could you please try removing the UserRazorSourceGenerator property from your project file and then building the project from the command-line by open a command prompt, navigating to project directory, and running dotnet build?

I removed the UseRazorSourceGenerator property. Exited from Visual Studio 2022. Opened cmd prompt. Navigated to directory with BlazorApp.sln file. Gave dotnet build command. MSBuild version 17.8.0+6cdef4241 for .Net. It said it 'restored' the project. Created a dll in ~\bin\Debug\net7.0. Then said 'Build succeeded'.
How do I run it now? Go back into VS 2022?

Yes, please try running the project again from Visual Studio and see if it now runs successfully. You can also run the app from the command-line by running dotnet watch, which should launch the app in the browser and also watch for file changes to apply to the running app. But hopefully things are now sorted in Visual Studio.

One more request: Could you please check on the command-line which .NET version you are using? You can do this by running dotnet --version. Are you perhaps using a .NET 8 preview? If you're using .NET 8, then the problem might be that .NET 8 requires using the latest preview version of Visual Studio, which you can get from https://visualstudio.com/preview.

Went back  into VS 2022, Ran project in debug mode. the error "InvalidOperationException: Cannot find the fallback endpoint ..." came back.
So, yes, I am running .Net 8.0.100-rc.2.23502.2. I thought I was running .Net 7.0 because that is what I specified when creating the project. I would rather run .Net 7.0 and not experiment with preview versions. How do I get rid of .Net 8?

It depends on how it got installed. Do you have any VS 2022 Preview version installed?
If you wanna confirm if .NET 8 SDK is causing the issue, you can add a global.json file to your folder structure and tell the compiler to use the .NET 7 SDK.
https://learn.microsoft.com/en-us/dotnet/core/tools/global-json

Cool, at least now we know why you're running into issues. The .NET 8 SDK should work fine with the latest Visual Studio Preview version. But if you prefer to remove it:

If you installed the .NET 8 SDK yourself, then you can just uninstall the .NET 8 SDK using "Add or Remove Programs" on Windows.
If the .NET 8 SDK was installed as part of installing a Visual Studio Preview and you don't want either, then uninstall the Visual Studio Preview.
If you just want to use the .NET 7 SDK from a stable Visual Studio version, then you can disable the "Use previews of the .NET SDK" option in Tools > Options > Environment > Preview Features. Normally this option is disabled by default.

@danroth27 - I followed your third bullet and disabled "Use previews of the .NET SDK". Error went away. Just adding a Global.json file did not work. I put it in the same directory as the .csproj file:
{
"sdk": {
"version": "7.0.403",
"rollForward": "latestFeature"
}
}
having determined my SDK 7.0 version with dotnet --info . I removed Global.jason again and the project runs ok.
Thank you so much for your help!

@robertrackl  You're welcome! Thanks for trying out Blazor!

Hello,
I posted this request for help On November 12. Unfortunately, nobody has noticed it so far. Any chance you can help me, please?
r4

Not sure if I follow @robertrackl. I thought this issue was solved?

I am sorry, this was a mistake. I am closing this issue because it is resolved. I was trying to draw attention to another issue I thought I had opened but had not gotten a response. I see now that that issue does not exist. I will try again.

Not sure. but ms edge is not the correct debugger to use here, should be
.net core launch - appears when the c# dev kit is installed. In the debug
menu you can also add new run configurations. Or use Visual Studio "proper"
instead of Code
On Sat, Nov 18, 2023 at 5:01 AM Robert RACKL @.***> wrote:

Hello,
I posted this request for help On November 12. Unfortunately, nobody has
noticed it so far. Any chance you can help me, please?
r4


Tried the youtube version out but wasn't keen as non of my saved playlist were there.
**OS: Mac High Sierra
**GPMDP Version: 4.6.1

where is the service tab? I cant find it anywhere on the mac version with youtube music to switch back to google play

It's on the tray in the top bar.
On Wed, Jul 18, 2018, 12:11 PM kirm84<EMAIL_ADDRESS>wrote:

where is the service tab? I cant find it anywhere on the mac version with
youtube music to switch back to google play
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/3274#issuecomment-405987640,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAucnVzbq8ebpzdtY0YovpFB-sIwXPRgks5uH14pgaJpZM4VUF1a
.

This took me too long to find as well. The app somehow switched to YouTube by itself.

I have the same issue but im on windows and i want to go to gpm to youtube music


FloatingPointError: Predicted boxes or scores contain Inf/NaN. Training has diverged.

Hi, when I run configs/bmask_rcnn_R_50_FPN_1x.yaml, it ran 739 iters,then I meet the question as follows,
Traceback (most recent call last):
File "/home/l547/anaconda3/envs/zt/lib/python3.7/site-packages/detectron2/engine/train_loop.py", line 140, in train
self.run_step()
File "/home/l547/anaconda3/envs/zt/lib/python3.7/site-packages/detectron2/engine/train_loop.py", line 226, in run_step
loss_dict = self.model(data)
File "/home/l547/anaconda3/envs/zt/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in call
result = self.forward(*input, **kwargs)
File "/home/l547/anaconda3/envs/zt/lib/python3.7/site-packages/detectron2/modeling/meta_arch/rcnn.py", line 160, in forward
proposals, proposal_losses = self.proposal_generator(images, features, gt_instances)
File "/home/l547/anaconda3/envs/zt/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in call
result = self.forward(*input, **kwargs)
File "/home/l547/anaconda3/envs/zt/lib/python3.7/site-packages/detectron2/modeling/proposal_generator/rpn.py", line 449, in forward
anchors, pred_objectness_logits, pred_anchor_deltas, images.image_sizes
File "/home/l547/anaconda3/envs/zt/lib/python3.7/site-packages/detectron2/modeling/proposal_generator/rpn.py", line 486, in predict_proposals
self.training,
File "/home/l547/anaconda3/envs/zt/lib/python3.7/site-packages/detectron2/modeling/proposal_generator/proposal_utils.py", line 92, in find_top_rpn_proposals
"Predicted boxes or scores contain Inf/NaN. Training has diverged."
FloatingPointError: Predicted boxes or scores contain Inf/NaN. Training has diverged.
I want to know how to address,please?

Hi @Tongtong-allure, can you provide some details about your training setting

Thanks for your answering, but I have addressed by adjusting the lr.

Learning rate and batch size (linear scaling rule) should be taken into account when training object detection methods (such as Faster R-CNN, Mask R-CNN, RetinaNet and etc.).


docs: add aumi and starter

add aumi in Ecosystem
add aumi-example in Rsbuild Starter

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.yangmutong seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.