refactor: remove recon ids from reaction names

Main improvements in this PR:
This PR removes the Recon ids from the reaction name field. As far as I can tell, these are anyway kept in reactions.tsv.
I hereby confirm that I have:

[ ] Tested my code on my own computer for running the model
[x] Selected develop as a target branch

In VS Code I used Find and Replace with this regex
(- id: "MAR\d+"\n +- name: ")RE\d\d\d\d.

to replace with
$1

The way this works is to first finding all reaction (starting with MAR) where the name matches the RE.. pattern. Then, the first part is surrounded by ( ) to become a "captured" group, later to be referenced by $1. This basically replaces the entire find pattern with the first part of the find pattern, thus effectively deleting what is outside the ( ): only the RE.. name.


⚠ RPC server - Conflux has degraded performance

In 58833bc, RPC server - Conflux ($CONFLUX_RPC_URL) experienced degraded performance:

HTTP code: 0
Response time: 0 ms

Resolved: RPC server - Conflux performance has improved in 05e0d67 after 4 minutes.


The Cell output font and size looks deviant

Environment data

VS Code version: 1.65.0 (Universal)
Jupyter Extension version (available under the Extensions sidebar): v2022.3.1000652335
Python Extension version (available under the Extensions sidebar): v2022.2.1924087327
OS (Windows | Mac | Linux distro) and version: Mac Darwin arm64 21.1.0
Python and/or Anaconda version: 3.8.12
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Jupyter server running: Local | Remote | Local

Maybe a bug?
when I run the python script, the cell output some outcomes. But the outcomes font looks abnormal
My editor font is: 'Fira Code', 'MesloLGS NF', a ligature nerd font
But my output font looks like another font.
BUT!!! The exception of the python script is the ligature nerd font...

Thanks for filing this issue, we'll discuss in this in our triage meeting today.
I believe this is a bug in upstream VS Code.


fix: update default power iterations for improved accuracy

The accuracy of decomposition results in svd_compressed depends on the
number of power iterations. This commit changes the default value from
0 to 4 to enhance accuracy and align with Scikit-learn's randomized_svd
implementation. (closes #120 )

Codecov Report
Attention: 65 lines in your changes are missing coverage. Please review.

Comparison is base (0f95d04) 94.21% compared to head (14a98ce) 94.27%.
Report is 20 commits behind head on main.

Files
Patch %
Lines

xeofs/utils/numba_utils.py
20.96%
49 Missing :warning:

xeofs/data_container/data_container.py
88.88%
3 Missing :warning:

xeofs/preprocessing/stacker.py
72.72%
3 Missing :warning:

xeofs/models/_base_cross_model.py
95.65%
2 Missing :warning:

xeofs/models/_base_model.py
95.45%
2 Missing :warning:

xeofs/models/decomposer.py
86.66%
2 Missing :warning:

xeofs/preprocessing/preprocessor.py
88.88%
2 Missing :warning:

xeofs/utils/xarray_utils.py
88.88%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #122      +/-   ##
==========================================
+ Coverage   94.21%   94.27%   +0.06%
==========================================
  Files          71       72       +1
  Lines        5823     6024     +201
==========================================
+ Hits         5486     5679     +193
- Misses        337      345       +8

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Q: How to show scrollbar for a while after init?

Thank you for this amazing scrollbar!
I have question. All working great but when content is loaded, scrollbar not show.
For first view i must move the wheel on the mouse. How to show scrollbar for a moment after init? Or show scrollbar when mouse is hovered or moving over scrolling element will be helpfull.

Call scrollbar.update() after content is loaded.

scrollbar.update() is attached to mouseenter event but not work.
https://jsbin.com/navogunupe/edit?html,js,console,output

If you meant the appearance, try the following css:
@keyframes fadeOut {
  0%, 90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.scrollbar-track {
  animation: fadeOut 3s;
}

Demo: https://jsbin.com/bapihib/1/edit?html,css,output

No, i do not mean appearance. I mean something like when you move mouse over the element, scrollbar is show and after a while it will disappear. Then when you use mouse scroll, scrollbar show again.
https://codepen.io/haykou/pen/qbqBYM

Try:
@keyframes fade-out {
  0%, 90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

[data-scrollbar]:hover .scrollbar-track {
  animation: fade-out 3s;
}

Thank for you help!
Now I finally managed to implement your scrollbar with dropdown elements in materializecss library.
Not fully, but it is on good way ;)
https://jsbin.com/pisedumifo/edit?output


Add LogicalPlan::AliasedRelation

Which issue does this PR close?

Closes #https://github.com/apache/arrow-datafusion/issues/2164.
Rationale for this change

I would like the logical plan to better represent aliased relations to help with translation to a different execution engine. Currently, original table names are discarded during SQL planning.
What changes are included in this PR?

Introduces new AliasedRelation node in LogicalPlan and updates the SQL planner to wrap this around TableScan rather than just use the alias name in the TableScan.
Are there any user-facing changes?

The query plan will look different now.

Looks like in DataFusion, the logical Project node already support Alias. It should be similar to SparkSQL's SubqueryAlias.
And we can also use it to represent a NamedStruct

pub struct Projection {
    /// The list of expressions
    pub expr: Vec<Expr>,
    /// The incoming logical plan
    pub input: Arc<LogicalPlan>,
    /// The schema description of the output
    pub schema: DFSchemaRef,
    /// Projection output relation alias
    pub alias: Option<String>,
}

@alamb @Dandandan @mingmwang I have fixed the test failures and renamed AliasedRelation to SubqueryAlias. This is only implemented for TableScan so far but if this approach is acceptable, I will file follow-on issues to use the same approach for projection and union, which both currently have their own alias fields.

Thanks @andygrove


Why can not support 10.2 / 10.2.1 above ip7 / 7 +?  They are too helpless。
10.2.1/10.2 Cydia and appsync on the 7/7 + is very complete but no one is willing to do so ignore it People seem to hate 10.2 / 10.2.1 on the ip7 / 7 + prefer to ignore them do not attach importance to timely vulnerability KPP also bypassed and did not do I do not understand。
why?
@JosephShenton

Yes, I am iPhone7 10.2.1. very sad!

I was going to continue soon but I can't unless /r/jailbreak chill-out and actually let me post.

Can not combine a variety of loopholes to break 10.2 / 10.2.1 rw authority above? Really hard? Keepless on 7/7p?

@JosephShenton

Is this even english?

German humour is no laughing matter.

Should be fixed


[FEATURE REQUEST] Add a background to pomodoro page

https://akshitagupta15june.github.io/Moksh/Pomodro_page/reward.html
try to make it similar background colour as iskcon page https://akshitagupta15june.github.io/Moksh/Iskcon/event.html

Please assign it to me

assign me

@akshitagupta15june Please assign this issue to me I want to work on it

please assign this issue to me @akshitagupta15june

Assigned!


converting iforce tutorial examples to planck, couple of bugs found

angle on rotating objects seems to increment without limit, which is ok
however, getAngle returns these ever-increasing numbers, suggest modding to -360 to 360 to facilitate position testing
iforce box2d world tutorial explains using setGravity
however I tried running it up and down on a key press and it locked my app
https://editor.p5js.org/Bobcook47/sketches/S2RqS8ie-
when is it safe, if ever, to call setGravity
ps: if anyone knows how to get a mousejoint to work outside the testbed, please let me know

suggest modding to -360 to 360 to facilitate position testing
Planck closely follows Box2D API, if this is how Box2D works we can change it.

however I tried running it up and down on a key press and it locked my app
It needs to be setGravity(Vec2(0, gravity)).

MouseJoint needs three parameters:
bodyA - a ground body (I guess this is not used)
bodyB - a body that is dragged by mouse
target - a point in world frame that bodyB is dragged towards
To make bodyB follow the mouse, you need to call joint.setTarget(target) as the mouse moves.


onDurationChanged.listen() isn't getting Called on IOS

   Duration totalDuration;

_audioPlayer.onDurationChanged.listen((updatedDuration) {
      totalDuration = updatedDuration; // This doesn't work on IOS, totalDuration == null
      notifyListeners();
    });

Same issue her!

Same for me ...

I still have the issue

I have the same issue. After researching I have figure out that the content-type of my audio file on the server was wrong. I hope that this information can help somebody.

I have the same issue. After researching I have figure out that the content-type of my audio file on the server was wrong. I hope that this information can help somebody.

How did you fix it?

@StarBattle08
I use s3 for storing audio files. So I have changed content-type of the file to audio/aac on the server.
You can also use xcode to debug errors. Just open 'WrappedMediaPlayer.swift' and add to line 259 print(playerItem.error); to see detail error. (Or use breakpoint) :D

Aight Thanks! so the problem was server side. My problem was I was referencing an alias in the link and not the root folder.

I have the same problem.
The url @StarBattle08 provided works
https://kajian.net/kajian-audio/Ceramah/Konsultasisyariah/Akhlak/Cara Kirim Salam dan Menjawabnya.mp3?l=10
but mp3 from my local server it doesn't work. It has the same content-type as Content-Type: audio/mpeg though
http://localhost:8008/static/defapp/_out/1/Arpe_120.wav_effected.mp3

 curl --verbose http://localhost:8008/static/defapp/_out/1/Arpe_120.wav_effected.mp3
*   Trying <IP_ADDRESS>:8008...
* Connected to localhost (<IP_ADDRESS>) port 8008 (#0)
> GET /static/defapp/_out/1/Arpe_120.wav_effected.mp3 HTTP/1.1
> Host: localhost:8008
> User-Agent: curl/7.79.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Date: Mon, 23 May 2022 11:48:36 GMT
< Server: WSGIServer/0.2 CPython/3.9.12
< Content-Type: audio/mpeg
< Content-Length: 512253
< Content-Disposition: inline; filename="Arpe_120.wav_effected.mp3"
< Last-Modified: Sun, 22 May 2022 14:53:16 GMT
< X-Frame-Options: DENY
< X-Content-Type-Options: nosniff
< Referrer-Policy: same-origin
< Vary: Origin
<

Stack log in XCode
"iOS => call setUrl, playerId 656abd02-04ad-49e6-9560-46589beadb62"
2022-05-23 23:58:44.034036+0700 Runner[2976:85801014] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x6000023bdda0> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2022-05-23 23:58:44.153386+0700 Runner[2976:85801014]  HALC_ProxyObjectMap::_CopyObjectByObjectID: failed to create the local object
2022-05-23 23:58:44.153679+0700 Runner[2976:85801014]  HALC_ShellDevice::RebuildControlList: couldn't find the control object
2022-05-23 23:58:44.373501+0700 Runner[2976:85803686] [connection] nw_socket_handle_socket_event [C1.1:2] Socket SO_ERROR [61: Connection refused]
2022-05-23 23:58:44.422906+0700 Runner[2976:85803694] flutter: positionchanged
2022-05-23 23:58:44.428471+0700 Runner[2976:85803687] [connection] nw_socket_handle_socket_event [C2.1:2] Socket SO_ERROR [61: Connection refused]
""
2022-05-23 23:58:44.682373+0700 Runner[2976:85803694] flutter: seturlflg:1
"iOS => call getDuration, playerId 656abd02-04ad-49e6-9560-46589beadb62"
Swift/arm64-apple-ios-simulator.swiftinterface:32464: Fatal error: Double value cannot be converted to Int because it is either infinite or NaN
2022-05-23 23:58:44.682883+0700 Runner[2976:85801014] Swift/arm64-apple-ios-simulator.swiftinterface:32464: Fatal error: Double value cannot be converted to Int because it is either infinite or NaN


build: circle-ci os x config

Circle CI configuration for a Mac OS X CI environment. Once this is on master, we can configure a webhook to trigger this build in my employer's Circle CI account and through the magic of some glue code should be a status check for Mac OS build/test. GitHub should automatically default to not blocking merges based on this check, which is the desired configuration.
The shell code in the config that deals with PULL_REQUEST et al configures a remote in the build environment's git repository in order to fetch the git SHA referenced by the pull request and merge it into our fork's master. Our fork's master is kept in sync with lyft/envoy:master.

+1


Move git-hooks to central location

Description
After merging all repo to one repo, git-hooks directory needs to be centrally located.
Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

Thanks @Akasurde! I took a quick look and I think maybe we want the top-level folder to be named .git-hooks.

Thanks @Akasurde! I took a quick look and I think maybe we want the top-level folder to be named .git-hooks.

OK. I will do the needful.

I can't seem to add a review on the moved files so I'll just add comments.
I think these lines need to be prefixed with felix/:
https://github.com/projectcalico/calico/blob/1417e46a3cbf7fce31773830e50c904c8f26d0d8/git-hooks/files-to-skip#L1-L2

@Akasurde I think you need to update this line too: https://github.com/projectcalico/calico/blob/e3da9d7f5a7002479f228f7968767d5665129d2f/install-git-hooks#L6

I think install-git-hooks is called from the makefiles.  If you move it then the makefiles need to be updated?

Closing due to inactivity


Access to a module original source code

How can I get an access to a module source from my plugin?
someModule.source().source() returns a generated code (where require -> __webpack_require__)
I can use someModule.source()._source.source(), but _source is like a "protected" field and not garantee that it will remain in feature versions of webpack.
Any ideas? Except fs.readFile because there are modules that generate from the loaders and have not a physical file.
Also i can use someModule.source().map().sourcesContent[0]
But why sourcesContent is array? Can it contain more than 1 element?
Or someModule.source().listMap().children[0].originalSource
The same question: why children is array? Can it contain more than 1 element?
Maybe the best solution is to create a PR and add originalSource method that being a public and returns _source value?
There is no help in Gitter :(

It looks like you just deleted our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please open a new issue with filled issue template. Also make sure your issue is not a question. Questions should be posted on Stack Overflow.

@sokra Oh, I'm sorry...
Created a new issue #4526


Add support for handshake and KMS challenge

This adds support for handling the handshake that runs when using SSM Session Manager or ECS Exec with KMS Encryption enabled.
Handling the encryption / decryption I've left out of scope but it looks something like this:
Handle RequestedClientActions where the KMSKeyId to use is supplied and respond to the handshake
if (agentMessage.payloadType === 5) {
      // message comes in as bytes so we decode it
      const decodedMessage = textDecoder.decode(agentMessage.payload)
      // message is a JSON string so we parse it
      const jsonMessage = JSON.parse(decodedMessage)
      // there's a list of objects which are the actions the client is expected to perform for the handshake to complete
      const reqActions = jsonMessage["RequestedClientActions"]
      // we find the KMSEncryption action and grab the KMSKeyId out of it
      const kmsAction = reqActions.find(x => x.ActionType == "KMSEncryption")
      if (kmsAction) {
        console.debug("KMS handshake requested")
        ecsExecKmsKeyId = kmsAction["ActionParameters"]["KMSKeyId"]
        // here we use the key id to setup our KMS requirements like generating a data key
        await setupExecKms()
      }
      console.debug("Sending handshake response")
      // we respond to the handshake request with the generated data keys ciphertext, so the agent can decrypt it and use it
      ssm.sendHandshakeResponse(ecsExecSocket, reqActions, ecsExecSetupCiphertextKey)
    }

You will need credentials for AWS KMS at this stage, so you can generate a data key
SSM requires you to request a 512 bit key from KMS, provide the ciphertext to the Agent via the handshake response, and then split the key into two 256 bit keys and use one for encrypt and one for decrypt (the agent at the other end does the same but in reverse.)
async function setupExecKms() {
  // key size in bytes (512 bits .. 256 bits * 2 keys)
  const keySize = 64;
  console.debug("Initializing KMS client")
  // setup your kms client with credentials from whereever you are getting them
  kmsClient = new AWS.KMS({
    region: "ap-southeast-2",
    credentials: {
      accessKeyId: ecsExecKmsCredentials["AccessKeyId"],
      secretAccessKey: ecsExecKmsCredentials["SecretAccessKey"],
      sessionToken: ecsExecKmsCredentials["SessionToken"],
      expiration: ecsExecKmsCredentials["Expiration"],
    },
  });
  console.debug("Generating data key")
  const genKeyResponse = await kmsClient.generateDataKey({
    KeyId: ecsExecKmsKeyId,
    NumberOfBytes: keySize,
    // the encryption context must be included because the agent will decrypt the key with this same context
    EncryptionContext: {
      "aws:ssm:SessionId": ecsExecSessionId,
      "aws:ssm:TargetId": ecsExecTargetId, // ecs:{cluster_name}_{task_id}_{container_id}
    },
  })
  ecsExecSetupCiphertextKey = genKeyResponse["CiphertextBlob"]
  let plaintext = genKeyResponse["Plaintext"]
  // take the plaintext key and split it to make two keys, one for encryption and one for decryption. the first part of the key must be used for decrypt on the client side, the agent uses the first half for encrypt.
  let decryptionKey = plaintext.slice(0, (keySize / 2))
  let encryptionKey = plaintext.slice((keySize / 2), keySize)
  ecsExecImportedDecryptKey = await window.crypto.subtle.importKey(
    "raw",
    decryptionKey,
    "AES-GCM",
    true,
    ["decrypt"]
  );
  ecsExecImportedEncryptKey = await window.crypto.subtle.importKey(
    "raw",
    encryptionKey,
    "AES-GCM",
    true,
    ["encrypt"]
  );

}

Handle the KMS challenge request payload by decrypting and re-encrypting a challenge value that is sent from the agent.
if (agentMessage.payloadType === 8) {
      console.debug("Handling KMS challenge request")
      const decodedMessage = textDecoder.decode(agentMessage.payload)
      const jsonMessage = JSON.parse(decodedMessage)
      // the challenge request is a json object with a single property "Challenge"
      const challenge = jsonMessage["Challenge"];
      // the challenge comes through as base64 but we need it as bytes
      const challengeData = new Uint8Array(atob(challenge).split("").map(c => c.charCodeAt(0)));
      // decrypt it
      const decryptedChallenge = await decryptExecText(challengeData)
      // re-encrypt it
      const encryptedChallenge = await encryptExecText(decryptedChallenge)
      console.debug("Sending KMS challenge response")
      // back into base64
      const challengeResponseb64 = btoa(String.fromCharCode(...encryptedChallenge))
      // back into a JSON object in the same shape
      const challengeResponseObj = { "Challenge": challengeResponseb64 }
      const challengeResponseJson = JSON.stringify(challengeResponseObj)
      // back from a string to bytes
      const encodedMessage = textEncoder.encode(challengeResponseJson)
      ssm.sendChallengeResponse(ecsExecSocket, encodedMessage);
    }

And don't forget to decrypt / encrypt data that you send and receive after that
Decrypt:
async function decryptExecText(ciphertext) {
  // the IV/Nonce (same thing here) is always the first 12 bytes
  const nonce = new Uint8Array(ciphertext.slice(0, 12))
  // subtlecrypto needs the nonce-less ciphertext
  const ciphertextNoNonce = new Uint8Array(ciphertext.slice(12, ciphertext.byteLength))
  const plaintext = await window.crypto.subtle.decrypt(
    {
      name: "AES-GCM",
      iv: nonce,
    },
    ecsExecImportedDecryptKey,
    ciphertextNoNonce
  )
  return plaintext
}
if (agentMessage.payloadType === 1) {
      // normal agent messages will need to be decrypted
      const decryptedMessage = await decryptExecText(agentMessage.payload)
      const decodedMessage = textDecoder.decode(decryptedMessage)
      ecsExecTerminal.write(decodedMessage);
    }

Encrypt:
async function encryptExecText(plaintext) {
  // create a random nonce / IV, needs to be 12 bytes
  const nonce = window.crypto.getRandomValues(new Uint8Array(12))
  let ciphertext = await window.crypto.subtle.encrypt(
    {
      name: "AES-GCM",
      iv: nonce,
    },
    ecsExecImportedEncryptKey,
    plaintext
  )
  ciphertext = new Uint8Array(ciphertext)
  // pack the nonce and the ciphertext back together into a single byte array
  let nonceAndCiphertext = new Uint8Array(nonce.byteLength + ciphertext.byteLength);
  nonceAndCiphertext.set(nonce);
  nonceAndCiphertext.set(ciphertext, nonce.byteLength);
  return nonceAndCiphertext
}

async function ecsExecTerminalOnData(data) {
  // encode and then encrypt all data as it comes in to be sent to the SSM agent
  const encodedText = textEncoder.encode(data);
  const encryptedText = await encryptExecText(encodedText)
  ssm.sendText(ecsExecSocket, encryptedText);
}

I've tested the code and it works fine with the above documentation. @bertrandmartel Can you please merge this PR?

I've tested the code and it works fine with the above documentation. @bertrandmartel Can you please merge this PR?

@ToshipSo , I tried here and the 'slice' function seems not working from my side. Is there any tip how to solve it?

I've tested the code and it works fine with the above documentation. @bertrandmartel Can you please merge this PR?

@ToshipSo , I tried here and the 'slice' function seems not working from my side. Is there any tip how to solve it?
ce.

. I can confirm the code still works like a charm!
About my problem with slice:
`export function transformBlobIntoUInt8Array (blob) {
const arr1 = []
for (let i = 0; i < size; i += 1) {
  arr1.push(blob[i])
}
return new Uint8Array(arr1)

}`
I did by my own a code to conver a blob into a Uint8Array and it worked.

Hey @sergiosilvajr - yes decryptExecText(ciphertext) expects the ciphertext to be the payload from the decode function of this library (aws-ssm-session), when the payloadType ===  1.

Hey @sergiosilvajr - yes decryptExecText(ciphertext) expects the ciphertext to be the payload from the decode function of this library (aws-ssm-session), when the payloadType === 1.
In most implementations you will still need to check the handshake request (5) for the KMSEncryption field to ensure the server is requesting an encrypted session, and fallback to plaintext communication if it's missing if that's desired.
Also the binaryType of the underlying WebSocket is set to "arraybuffer"

Hey @sergiosilvajr - yes decryptExecText(ciphertext) expects the ciphertext to be the payload from the decode function of this library (aws-ssm-session), when the payloadType === 1.
In most implementations you will still need to check the handshake request (5) for the KMSEncryption field to ensure the server is requesting an encrypted session, and fallback to plaintext communication if it's missing if that's desired.
Also the binaryType of the underlying WebSocket is set to "arraybuffer"

Hi, @rupertbg , I am using the KMSEncryption described on this pr and it worked. At this moment I am doing some tests with the websocket using KMSEncryption but the handshaking fails when I have 2 or more users trying to use the interface with websockets to a ssm node at the same time. Any tips on how solve it?

@sergiosilvajr I'm not entirely sure off the top of my head but it sounds like potentially an issue with the messageSequenceNumber?

does anybody know what happened w @bertrandmartel ?

Not sure, but you could always use my fork or make a new fork if you want to fix a bug or add new features.


Supports of PPOTrainer / DPOTrainer for Qwen2Audio

Feature request
Enable PPOTrainer and DPOTrainer to work with audio-language models like Qwen2Audio. Architecture for this model is identical to vision-language models like LlaVa, consisting of embeddings taken from the audio encoder, projected by a simple linear layer into the language model embedding space.
The audio tower is usually frozen during training, so that just leaves the language model which is already very well supported and one linear layer to be trained. On paper, this seems simple to me but I'm unfamiliar with TRL's API so not sure how much effort this would be to implement it.
https://github.com/huggingface/trl/issues/1784
Motivation
I want to experiment with PPO on Qwen2Audio
Your contribution
I realise this is probably not a very wanted feature and see on the LLava issue that there are no plans to integrate PPO with it. Hence, I can probably take a look at this at some point, I'll see if I can get it working first by extending any necessary classes.

Thanks for the suggestion.

I'll see if I can get it working first by extending any necessary classes.

Yes, feel free to share your progress

This works:
from transformers import AutoTokenizer, AutoProcessor
from transformers import Qwen2AudioForConditionalGeneration
from trl import AutoModelForCausalLMWithValueHead
import torch.nn as nn

class Qwen2AudioForPPO(AutoModelForCausalLMWithValueHead):
    def __init__(self, pretrained_model):
        # Wrapper that exposes the lm_head and includes necessary attributes

        class LanguageModelWrapper(nn.Module):
            def __init__(self, language_model):
                super().__init__()
                self.language_model = language_model
                self.lm_head = language_model.lm_head  # Expose the lm_head otherwise error
                self.config = language_model.config

                # Include other necessary attributes, are these necessary to expose??
                self.prepare_inputs_for_generation = language_model.prepare_inputs_for_generation
                self.get_output_embeddings = language_model.get_output_embeddings
                self.get_input_embeddings = language_model.get_input_embeddings

            def forward(self, *args, **kwargs):
                return self.language_model(*args, **kwargs)

        wrapped_lm = LanguageModelWrapper(pretrained_model.language_model)
        super().__init__(wrapped_lm)
        self.pretrained_model = pretrained_model

    def forward(self, input_features=None, feature_attention_mask=None, input_ids=None, attention_mask=None, **kwargs):
        outputs = self.pretrained_model(
            input_features=input_features,
            feature_attention_mask=feature_attention_mask,
            input_ids=input_ids,
            attention_mask=attention_mask,
            output_hidden_states=True,
            **kwargs
        )

        last_hidden_state = outputs.hidden_states[-1]
        value = self.v_head(last_hidden_state).squeeze(-1)

        return outputs.logits, outputs.hidden_states, value

    def generate(self, *args, **kwargs):
        return self.pretrained_model.generate(*args, **kwargs)

processor = AutoProcessor.from_pretrained("Qwen/Qwen2-Audio-7B-Instruct")

model_for_ppo = Qwen2AudioForPPO(model)


WIP : multi panels (for question comment purpose)

Just making PR because commenting UI is better on PR.
Approach I took was to accept any HTML elements as children of <multi-panels>
<multi-panels> will simply take even indexed elements as heading, and element following(thus odd index) as content.  Allowing user of this component more freedom in markup.
note: I don't really understand TypeScript(yet) and this might very well be not great code(yet) !

Status :
Current code has all refraction of the previous code review (minus <details> consideration).
This component currently assumes there is always a set of heading and  content.
and expands corresponding content via nextElementSibling.
If developer using this component does something like below (per @jakearchibald's review) and user click on heading before content is created, it should be fine (simply nonextElementSibling)
multiPanel.append(parse(`<h1>Hello!</h1>`));
const data = await fetch(content).then(r => r.json());
multiPanel.append(parse(data.html));

however, if developer inserts element in async way like above in the middle of multi panel children... it will mess up which panel to be 'expanded'.
Not sure expecting dev user to "always append 2 elements together" is a reasonable expectation (code will be simpler !) or we should bullet proof this with unique ID approach and control element gets expanded based on ID.
note: currently unique id is assigned just for A11y but not for control.

closing this in lieu of #95


SBT使用

Motivation:
Cause Akka is built with SBT

sbt cookbook
sbt 与maven的类比

https://github.com/ReactivePlatform/TheAkkaWay/issues/31
with memory setup too:)


Load all

This PR let's you do this, for each endpoint:
df = CargoMovements().load_all().to_df()

Closes #81

Ah wait up - cliked on the wrong link, so my review only addressed one commit.  I'll reveiw the rest now


Font/Theme on homepage makes examples confusing.

With the font/theme that's used this looks like on to me instead of what it is or

I'll publish this in the next release


Update generate strings

@cheungpat, thanks for your PR! By analyzing the history of the files in this pull request, we identified @rickmak to be a potential reviewer.


Upgrade dependencies

This builds upon https://github.com/deepstreamIO/deepstream.io/pull/1134 by @daanh432, which uses Node.js 18.
In this PR, I upgrade (almost) all other dependencies, for security, and for trying to stay up-to-date.
For some dependencies, such as typescript v4 → v5, the amount of things to fix after such an upgrade was too great for me at the moment, so I stayed on the latest minor version I could successfully upgrade to.
Some minor, and some major, version upgrades to dependencies required small updates in code, which I included in each such upgrade commit together with the dependency version bump.
I successfully ran this command, at least after every major version upgrade commit, and at the end:
npm install \
&& npm run lint \
&& bash -euo pipefail ./scripts/tsc.sh \
&& npm test \
&& npm run e2e -- --fail-fast \
&& npm run e2e:uws -- --fail-fast \
&& bash scripts/package.sh true true \
&& node scripts/node-test.js \
&& node scripts/executable-test.js

That way, I feel confident this should work.
I have also tested the major upgrade of commander manually with the built executable ./build/deepstream, to make sure it sees the start command as the default and chooses the correct command when given another one.
I updated one test to make it work correctly in both Node.js 18 and Node.js 20, because the error message it checks for, becomes longer and more specific in Node.js 20.

Build is green on my fork's GitHub Actions: https://github.com/hugojosefson/deepstream.io/actions/runs/6591970600

Awesome, I'll check the change and leave some comments

Thank you @jaime-ez for taking the time to review and merge this!

Thanks @daanh432 and @hugojosefson for your PRs!
Awesome to see some actual work on the project from others.
new release will be available soon, please test and inform any issues.
Cheers


feat!(ios): remove native dependency promises

⚠ Breaking - min iOS, tvOS version bumped
Summary
Remove native iOS dependency promises and migrate to async/await
Motivation
We internally discussed that we should remove this dependency as we can go without it. promises also required privacy manifest, so generally it should be easier for us in future to go without it.
Changes
min version bumped

iOS 9.0 -> 13.0
tvOS 10.0 -> 13.0

Test plan

[ ] Tested in basic example

[x] on iOS
[ ] on tvOS
[ ] on visionOS

[x] CI pass

It is generally ready for review, but I need to test tvOS an visionOS now

No i wasn't able to find any example stream

@YangJonghun @facugu1998 do you have DRM (FairPlay) stream and cloud test it ?

@freeboub @KrzysztofMoch
DRM works fine


Please explain: -i ITER, --iter ITER  Number of iterations to run, default = 3

Hello,
Reading your paper, it suggests that SALSA2 will iterate until the majority of the joins in an interaction are marked as incorrect, and then the penultimate iteration is used as the FINAL. How many iterations are typically done to get to this point? If we don't specify the -i parameter, is it likely that the default 3 iterations will get us there? What do you recommend as a value for this parameter?
Thanks!
Chris

By default, I now set this to 20 and let SALSA decide when to stop. It is usually more than 3 iterations.


Add Vuejs series testing with Jest

Summary

Test plan

Awesome! Thank you so much for sending this PR and adding this awesome guide.


[Bug]: [intermittent ]"Error network" error is displayed when the user deploy the apps in air-gapped instance

Is there an existing issue for this?

[X] I have searched the existing issues

Description
"Error network" error is displayed when the user deploy the apps in air-gapped instance

Steps To Reproduce

pull airgap image open the instance in firefox sign-up with new user
edit the app
Drag and drop the table widget
Now go to home page click on launch button
The error network page is displayed instead of displaying deployed app

Public Sample App
No response
Environment
Release
Issue video log
No response
Version
v1.9.39

Closing this issue as it is no longer reproducible on promotion branches and release branch.


Conditional statement containing function does not work

You can not formulate the following expression, but there is a workaround:

The original Blockly implementation is in Javascript which just uses one general purpose number type so this works fine for JavaScript. The Arduino uses C which has many more numeric types and is much stricter about their usage. Some of the other functions available in the DropDown list such as log may return a decimal value so by default this block returns a decimal because it would be the most accurate. When the logic_compare block checks that the condition is valid it considers DECIMAL compared to SCALAR to be invalid and rejects the comparison as shown in the first example.
The second example probably does an internal conversion of 10 to 10.0 and avoids the type check.
A couple of possible fixes (probably more)

Change the logic_compare block to accept a decimal and scalar comparison
Break the math_single block into 2, one that works only with operations that only have scalar results and another that does operations that may return decimal results.
Force the other numeric value to be decimal by default. (probably would perform poorly on Arduino, using floats when they aren't really needed).


How to pass all alerts to command script

Hi,
First of all thanks for the amazing tool. I am still playing around with various options elastalert has to offer. I am facing some issue with alerting part. I have used "pipe_match_json : true" as mentioned in the documentation:
alert:
- command
pipe_match_json : true
command: ["/home/ubuntu/test.py","Security Group Changes"]

This work fine and I can access my document on sys.stdin. The problem comes when my search receive multiple hits/alert in that cases only the first document is passed to my script. Is this the default behaviour of I can set some additional options in my rule file to make elastalert stream all of the json documents to my script.
Thanks

@umerebryx Behaviour I have seen is on matching query it returns n hits, But alerts only the first document as I have been using following config, where timeframe for me is 5 secs.
name: NonProd eventstream endpoint alerts
type: frequency
index: eventstream-e2e-endpoint*
num_events: 1
timeframe:
    seconds: 5
filter:
- query:
   query_string:
      query: "\"ERROR\""
alert:
- "slack"
slack:
slack_webhook_url: https://hooks.slack.com/services/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
slack_msg_color: danger
slack_emoji_override: ghost

It depends on what rule type you have.
If you use type: frequency, you want to add
attach_related: true

My bad, its mentioned very well in README - https://github.com/Yelp/elastalert/blob/edbba21312e0b6f763dfb4443eb52c1d2b7afa1d/README.md#my-alert-only-contains-data-for-one-event-how-can-i-see-more

Also, for num_events: 1, you should just use type: any without timeframe or num_events.

@Qmando without timeframe how often it queries then, or it simply keeps querying constantly? My understanding was timeframe would tell how often to query?

Thanks guys for the response. So @Qmando what you are saying is for alert type 'any' I will only get first document matched? Can you suggest any change I can make to elastalert to make it stream all the matched documents as my rule is a bit generic and I am expecting multiple documents with varying attributes will receive hit.
I will try type 'frequency' but for now 'any' is working fine for me except for the alerting part.

@umerebryx
attach_related: true sends n-1 events as related_events: [ {} ] (out of num_events: n) with type: frequency

name: NonProd eventstream endpoint alerts
type: frequency
attach_related: true
index: eventstream-e2e-endpoint*
num_events: 2
timeframe:
    seconds: 5
filter:
- query:
   query_string:
      query: "\"ERROR\""
alert:
- "slack"
slack:
slack_webhook_url: https://hooks.slack.com/services/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
slack_msg_color: danger
slack_emoji_override: ghost

@Qmando but attach_related: true has no effect with type: any, (following config only sends
first event of n hits)
name: Non prod eventstream endpoint alerts
type: any
attach_related: true
index: eventstream-e2e-endpoint*
filter:
- query:
   query_string:
      query: "\"ERROR\""
alert:
- "slack"
slack:
slack_webhook_url: https://hooks.slack.com/services/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
slack_msg_color: danger
slack_emoji_override: ghost

"without timeframe how often it queries then"
timeframe is not used for that. It uses run_every setting in the config file.
"Can you suggest any change I can make to elastalert to make it stream all the matched documents"
You might want to use aggregation. That will lump all documents for some period of time together.
realert:
  minutes: 0
type: any
aggregation:
  hours: 1

You can display the data in a table or as individual documents.
Please refer to the documentation which covers all of this:
http://elastalert.readthedocs.io/en/latest/ruletypes.html

Thanks @Qmando , I will try 'aggregation' option.


v-model behaves inconsistently in comparison to docs

Version
2.5.17
Reproduction link
https://vuejs.org/v2/guide/forms.html#Text
Steps to reproduce
First off, the docs claim here that using v-model is identical to using v-bind:value="searchText" and v-on:input="searchText = $event.target.value".
It does have the same behavior on desktop, but with chrome on android the behavior is different. When using v-model on android/chrome the model only gets updated when pressing space, enter, backspace or unfocusing the field (and maybe in some other cases). The model does not update when in the middle of typing a word. However when using v-bind and v-on:input the model gets updated as it is supposed to.
It seems like v-model isn't binding the input event on android. The correct behavior can be achieved by adding v-on:input regardless of whether v-model or v-bind:value is used. This applies to input and textarea elements.
What is expected?
The behavior is expected to be the same on all platforms: The model should update live with every keypress.
What is actually happening?
On chrome on android the model isn't updated on every keypress. This can be reproduced with the example inputs that are shown in the docs.

This is a problem when for example creating a list that should be filtered live with user input. I'm wondering whether this is a bug or a documentation issue. I feel like it's a bug since the same code has different behavior on different platforms.

it's talking about v-model in components which is indeed what is explained but is different from input's v-model

Please, next time consider using the forum, the Discord server or StackOverflow for questions first. But feel free to come back and open an issue if it turns out to be a bug 🙂

@posva Then why does the documentation talk about v-model in input?
As per the report, input model is not immediately updated on Android when typing. There's plenty of issues reported in Vue regarding this specific use case already. Either the documentation needs to be updated to reflect that or Vue internally should handle it better.

I see this is what the docs say about this:

For languages that require an IME (Chinese, Japanese, Korean etc.), you’ll notice that v-model doesn’t get updated during IME composition. If you want to cater for these updates as well, use input event instead.

Why is this also happening for English and other languages that don't require IME? Is IME the same as autocomplete/word suggestions, because disabling those gives me the desired behaviour.

Made a PR to add this to the documentation here: https://github.com/vuejs/vuejs.org/pull/1798


[149] Fixed issue key having space in query params

Added support to decode query params key properly.
Fixed: https://github.com/unjs/ufo/issues/149

@pi0 When can I expect this to be merged? And on which Nuxt version it will be available?

Thanks! It will be released in upcoming days. You can use npx nuxi upgrade --force to have dependency for Nuxt.

@pi0 Actually, I am using Nuxt version 2.16.3, will it be possible to have these changes in Nuxt 2? As we can not update to Nuxt 3 in production.


Chld branch

This has changes to allow reading of child/controller model .pth files that have more fields than the original class had.

Hello,
What do you mean by fields?
BTW I would only commit a specific feature, without the bunch of other comments and small asides features you put in.
It appears to be some small bad design concerns that lower the code quality, for example self.best_ppl =<PHONE_NUMBER>00000000.0 which should be replaced by np.inf, unnecessary nested if block in the train_shared method and badly formatted comments. Of course I may be wrong and those choices justified, this is just my first feeling.

Apologies. This pull-request wasn't intended to go to this repo, but to my fork of this repo, so please disregard.
(As for 'fields' - I was trying to load in a pre-trained DAG but found that it would balk at certain fields in the DAG which is why I had to set strict= False there)

Alright, I'll close this PR then.


Improvements

This PR adds some tools I needed when working on the DC sources (https://github.com/LabPy/lantz_drivers/pull/4) :

Alias feature : allow to reference a Feature from a different subsystem. This can be useful when we need a Feature in a channel (because of the standard) but the actual setting is global (see Keysight E3631A).
NEW channel aliases : allow to map custom channel id to instrument channel id (allowing to use 0, 1, 2 even if the instrument ids are names)
getter and setter factories (avoid writing common get/set customization by hand):

constant : simply make a getter function returning a constant. Can be passed as the first argument to a Feature constructor.
conditional : return different values based on the state of the instrument. The condition must be of the form 'a if driver.b else c' (driver represent the current system not the root driver). When the default kwargs is True (False by default) the result of the condition evaluation is passed as a cmd argument to default_get/set_feature.

unit utility functions :

to_float : turn something we assume to be a Quantity to a float (should not be used on arbitrary objects)
to_quantity : turn a float in a Quantity if units are supported (no-op otherwise)

Add testing Python 3.5 on Travis.
These are quite simple so in the absence of any comment I will merge in a week or so as they are needed for testing https://github.com/LabPy/lantz_drivers/pull/4

Updated with channel aliases (see edited message)

Closing as the repo is mostly dead


encoding/json: include property name for marshal errors

When a marshal error is encountered, the error message (and underlying MarshalerError) does not include any context about where the error was encountered, even if the value is complex like a map, slice or struct.
This change will include that metadata in both places, allowing a caller to have more context in the event of a JSON marshal error.
Fixes #25153

I'm contemplating also including the invalid value on the MarshalerError struct (but not in the Error() message). The main thing I want to avoid is adding an unnecessary amount of overhead, but to make errors easier to act upon, maybe that would be reasonable?

I added MarshalerError.Value reflect.Value to the PR as a separate commit for consideration. (if approved, I will squash it into the other commit) With this, it would be possible to check err.(*json.MarshalerError), extract the path to the error and the value that was being encoded.


Bump mediator version to 0.3.4

Thanks for contribution. I'm going to close this PR as we do not need this functionality for the moment.


Low accuracy on UCF Sports Action dataset.

Hi,
I am using the UCF Sports Action dataset which is kind of a subset of UCF101.
And I followed the instruction in Readme file to prepare the dataset.
However after I trained 200 epoch, the accuracy of both train and test are pretty low (30%train and 22% test)
Could you give me some advices about the data preparing or the possible reason about the low accuracy?

No, I didn't use the finetuning models yet. I will try it asap.
By the way, what is the accuracy you achieved on UCF101 dataset by using none finetuning model on resnet 34?
I can only achieve accuracy around 38% on validation, and the training accuracy can achieve around 80%. I think it goes overfitting. Do you have any suggestion about this?
Thank you .

When I train ResNet-18 on UCF-101 from scratch,
I got around 80% and 40% accuracies on the training and validation sets, respectively.
Because UCF-101 is a relatively small dataset to train 3D CNNs from scratch,
it causes overfitting.
I think the training on UCF-Sports is similar.

Oh, right, UCF-Sports is really a very small dataset. I think I can train the model using UCF-101 and using UCF-Sports to test the model.

One more question, why I cannot using resnet 101 to train the model? Each time I set depth !=34, the program gives me an error about illegal access to memory.

@kenshohara
BTW, the UCF sports action dataset has only 10 classes , but the pre trained model has 400 classes.
How can I use the pre trained model to train my data??  They are even not the same dataset.


Apply getty config

What this PR does:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Codecov Report

Merging #421 (f543a7c) into master (8d920bc) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #421      +/-   ##
==========================================
- Coverage   40.46%   40.44%   -0.02%
==========================================
  Files         143      143
  Lines        8783     8797      +14
==========================================
+ Hits         3554     3558       +4
- Misses       4932     4945      +13
+ Partials      297      294       -3

Impacted Files
Coverage Δ

pkg/client/client.go
0.00% <0.00%> (ø)

pkg/client/config.go
61.34% <ø> (ø)

pkg/remoting/getty/config.go
0.00% <0.00%> (ø)

pkg/remoting/getty/listener.go
0.00% <0.00%> (ø)

pkg/remoting/getty/rpc_client.go
0.00% <0.00%> (ø)

pkg/datasource/sql/driver.go
71.18% <0.00%> (+1.83%)
:arrow_up:

pkg/datasource/sql/connector.go
85.71% <0.00%> (+12.24%)
:arrow_up:

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


Use Markdown-it to replace the old Markdown parser and support GFM task list.

Fixes #117
Use markdown-it-task-lists for rendering the Github style task list:
### Solar System Exploration, 1950s – 1960s

- [ ] Mercury
- [x] Venus
- [x] Earth (Orbit/Moon)
- [x] Mars
- [ ] Jupiter
- [ ] Saturn
- [ ] Uranus
- [ ] Neptune
- [ ] Comet Haley

Will become:

Noted that in order to support exactly same markdown rendering like Github requires extra markdown-it plugins and an update in style, I will leave that for discussion to decide how much GFM we want to support.

@Gisonrg
Thanks for the PR:) It would be great if we can match the GFM rendering.
I'm not sure whether we can find the excact same style sheet as the GitHub style with a proper license. IMHO, mathing the GFM rendering is good enough.

@hackjutsu
It should be a straight-forward fix by adding a new CSS rule. I'll create separate issue for that 😄


Add linkToMessage property to MessageActionsPayload class

Fixes # 622
Description
This pull request adds the linkToMessage property to the MessageActionsPayload class from BotBuilder-Schema library. By adding this property, it can add the link provided in the payload from MS-Teams.
Also, we added tests for the methods of the class.
Specific Changes

Added the linkToMessage property to the MessageActionsPayload class from BotBuilder-Schema
Created the MessageActionsPayloadTest.java file inside the test/teams folder of the library.
Added tests for all the methods of the MessageActionsPayload in that test class.

Testing
In the following image, you can see the bot assigns the linkToMessage property when sharing a card in MS-Teams, using the 51.teams-messaging-extensions-action sample from the same repository.

And in the next image, you can see the added tests passing.

Promoted to ms


Revisit the [UIScrollView _adjustContentOffsetIfNecessary] issue.

PTAL @michaelkirk

The goal here is staying scrolled to bottom, right?

The goal here (to be very specific) is let message view control initial scroll state and not have that overwritten wily-nilly by iOS.  That might be bottom, or it might be "show the unread indicator and the stuff below it", etc.


PLANNER-955: Added Heat-Map to Spot Roster

jenkins retest this

jenkins retest this

Doing a rewrite in another PR


v44 build problem

This was working just fine in v43:
https://esm.sh/v44/<EMAIL_ADDRESS>
but now in v44, I got:
/* esm.sh - error */
throw new Error("[esm.sh] " + "Could not resolve \"framer-motion\"  (Imported by \"@chakra-ui/popover\")");
export default null;

@guiguan thanks, just fixed in v45 build


Distributed: Remove unnecessary unwrapping of TypeAliasType

@swift-ci Please smoke test

linux error seems unrelated fatal error: module map file '/home/build-user/build/buildbot_linux/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/release/llbuildBasic.build/module.modulemap' not found

@swift-ci please smoke test Linux

Failure was unrelated:
fatal error: module map file '/home/build-user/build/buildbot_linux/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/release/llbuildBasic.build/module.modulemap' not found https://ci.swift.org/job/swift-PR-macos-smoke-test/9867/console

@swift-ci please smoke test


Segmentation fault (core dumped)

python main2_4d.py --config configs/4d_svd.yaml input=data/anya_rgba.png save_path=anya
Running the preceding command causes an error to occur.
Segmentation fault (core dumped)

Can you provide more error logs? And can you run main.py and main_4d.py successfully?

Yes,I can.


Don't allow the creation of user with same Email id  in the same domain

ISSUE TYPE
Enhancement/Improvement Request
COMPONENT NAME
Component: API/ UI
CLOUDSTACK VERSION
Cloudstack version 4.18
SUMMARY
Don't allow the creation of user with same Email id in the same domain
Steps to reproduce the issue

Navigate to domain > Accounts > Click on a particular Account > Create say user1 with<EMAIL_ADDRESS>

Navigate to domain >Accounts > Click on a particular Account > Create say user2 with<EMAIL_ADDRESS>

Screenshot

Expected behaviour
Cloudstack should not allow to create the user with same  Email address  in the same domain
If a oauth is configured for a user in a cloudstack , email address is used as  key to identify.
Cloudstack throws an error saying there is an already multiple user having the same email address in the same domain.
It would be proactive checking if we could block the creation of user with same email address during the user creation

I think this needs more exploration @kiranchavala as it can be useful to have the same user in multiple accounts in the same domain, for some. In the case of OAuth this may be a problem indeed. at the moment it is not allowed to have the same userid, so maybe it is trivial but for some it may make sense to have "dahnUser" and "dahnAdmin", which makes it a backwards compatibility concern as well.

Thanks @DaanHoogland
Can we consider if ouath is enabled in global setting , we should not allow the creation of accounts with same email address

cc @harikrishna-patnala your opinion on this.

accounts don't have email addresses, users do. That makes our design and bit awkward for integration with oauth, as users log into an account to do things on the accounts behalf. I think we should allow users with the same email in different accounts, but what can not happen is the same user-id in a domain.
I think the bug is not allowing creation of multiple users in different accounts with the same email, but not allowing the login of said users. cc @harikrishna-patnala


gh-pages index.html: Link to JProfiler

Link to JProfiler open-source licensing page as partial fulfillment of terms for open-source licenses.
CC @shepheb

Also CC @TW80000


Failback to HTTP Basic authentication when client doesn't support jwt?

Hi,
I am wondering if it's possible to allow client to use HTTP Basic authentication when it doesn't support jwt?
I have a WebDAV service and would like to utilizes the convenient of caddy-auth sso when using a web browser, however most WebDAV client doesn't support cookies or jwt, and relies on HTTP Basic authentication. Is it possible to config it to work with both situation?
Best wishes.

@CaringCat , i think you might be able to get it working. Do you have a basic config for your caddy instance?

Thanks, I am currently running with the following Caddyfile:
{
    order jwt before file_server
    order authp before jwt
    order webdav after file_server
}

*.example.com {
    @auth host auth.example.com
    handle @auth {
        authp {
            backend local /etc/caddy/auth/user_db.json local
            cookie domain example.com
            cookie lifetime 86400 # 24 hours in seconds
            enable source ip tracking
        }
    }

    @webdav host webdav.example.com
    handle @webdav {
        @get method GET
        jwt {
            primary yes
            set auth url https://auth.example.com
            allow roles authp/user
            validate source address
        }
        file_server @get browse
        webdav
        root * /path/to/webdav
    }

    # Fallback for otherwise unhandled domains
    handle {
        abort
    }
}

I figure to achieve my goal, I might need to disable auth redirect, and use ACL to allow anonymous role to continue? However I am too dumb to figure out the ACL part in document.

@CaringCat , try setting the below
set auth url https://auth.example.com/basic/login/local
this way a user will be redirected to basic auth endpoint.
see if this helps. It is a special endpoint for basic auth for “local” realm.

set auth url https://auth.example.com/basic/login/local

It will work for web browsers, however won't work with WebDAV client.
I have tested on Microsoft-WebDAV-MiniRedir and WinSCP and both failed.

@CaringCat , have you considered matching user agent in a request, i.e. match webdav client user agent strings?

I was thinking about some kinds of acl and basicauth combination, so for visitpr with authp/user role, go directly to next directives. For visitor with anonymous/guest role, process them to a basicauth directive.
Is this possible to config?

Is this possible to config?

@CaringCat, I suggest you create a special host to handle webdav clients where you use Caddy's default basicauth. I suggest asking at https://caddy.community/

Okay, thanks!


Memory Requirements?

What are the minimum memory requirements for iOS? Mac OS?
Would this run on an iPhone SE (2nd Gen) with only 3gb of memory?
Off-topic, but love the Hobbit references in the source.

For iOS it probably requires a fairly recent iPhone or iPad (6GB iPhone 13 Pro is all I've tested; 4GB devices might work but I wouldn't bet on it). Maple Diffusion needs ~3.4GB peak memory even in "slower-but-use-less-memory" mode, and iOS force-quits apps aggressively when they get close to memory limits.

For macOS, I expect Maple Diffusion would run fine on any Apple Silicon Mac (even the 8GB configs) - it only uses around 5.6GB of memory even in "faster-but-use-more-memory" mode. I haven't tried Maple Diffusion on an Intel Mac, so YMMV, but it might work okay if you have a good discrete GPU.

love the Hobbit references in the source.

Thanks!

Thanks for the info! I know you've already made quite a few memory optimizations, but is there anything that could be further optimized to get under 3gb? Would reducing the image size help?
Also, this PR reduces the VRAM requirements to about 2.86 for 512x512 images by halfing the attention. Could that be applied here?
I'm also going to try on an Intel Mac, with no GPU today, so 🤞

is there anything that could be further optimized to get under 3gb

Probably (there's always something to optimize) - but unfortunately I've exhausted all of the stuff I could think of.
Truly optimizing SD under 3GB may in fact be easy (and just involve some trick / MPSGraph quirk I'm not aware of), or it may require throwing out MPSGraph's abstraction and writing everything in pure Metal - either way, I'm not aware of any straightforward path to reduce memory further (which is annoying - even on the 6GB devices it could run faster if some of the slower MEM-HACKs could be removed)

Would reducing the image size help?

I just tried it; oddly it seems to take about as much peak memory as the larger images (and just complete faster).

Also, this PR reduces the VRAM requirements to about 2.86 for 512x512 images by halfing the attention

Hmm, AFAICT the key change in that PR is splitting up parts of the cross-attention subgraph across heads, which this code already does (using the extreme version of one iteration per head). Most of the other stuff in that PR is inplace / early-garbage-collection stuff that isn't really applicable to MPSGraph unfortunately.

Ok, thanks for the help. Unfortunately I don't have much experience with MPSGraph so I'm a bit over my head. So I'll close this issue for now.
I guess I'll start working on a CoreML implementation for now.
Also, ~60 seconds a step on my Intel Mac.
God Bless!


Swift 6 preparedness

Motivation
We should feel confident that we compile clean under the strict checks of Swift 6. As this is a data-processing-only framework it's not a surprise that it turns out to be fine, but this patch adds the necessary docker-compose steps to ensure it continues to work.
Modifications

Add docker-compose file for Swift 6 nightlies
Extend docker-compose to pass explicit sendable and strict concurrency checks
Add those checks to 6.0 and main nightlies

Result
Better confidence that we don't break our downstreams in Swift 6 support.

@swift-server-bot test this please


[Bug] Error when Story name is same as component import specifier

Describe the bug
Discord thread
What is happening:
In the appendix of compiled out of Svelte component, we're creating export variable declarations whose names are based on the name prop in each <Story>.
We didn't cover the case when Story name could re-declare the import specifier of the component.
Steps to reproduce the behavior
Define a <Story> with name prop having the same as component import declaration.

Probably a duplicate of https://github.com/storybookjs/addon-svelte-csf/issues/167
This is not just a problem with imported component names, it will happen with any variable name declared in the module scope that collides with a story name.
A workaround is to use the exportName prop on Story to manually fix the collision.
It's a tricky issue to solve, because the name/exportName of the story is used in MDX docs, where you import them by that name, so we can't just attach a hash to the variable name, as that would make it impossible to import.

I have one idea in my mind. I'm not sure if this solves the problem.
Currently in the appendix we create named exports (variables).
What if we could use exports list? Example:
const __SomePrefix__Primary = __stories["Primary"];
const __SomePrefix__Secondary = __stories["Secondary"];

export {
  __SomePrefix_Primary as Primary,
  __SomePrefix_Secondary as Secondary,
}

In the case of having <Story> prop name same as component import specifier, it would look like this:
import Button from "./Button.svelte";

const __SomePrefix__Button = __stories["Button"];

export {
  __SomePrefix__Button as Button,
}

Concerns:

This possibly would affect your recent work on the issue with source maps (related to portable stories),
I'm unsure if Storybook internal parser(?) covers this case.


Pagespeed Problem - Dev / Prod environment

PHP Version: 8.3   | Shopware Version: <IP_ADDRESS>  | Affected area / extension: Platform(Default)

Actual behaviour:
If I set the shop in the .env.local to APP_ENV=prod, I get a performance of 36 points on [https://pagespeed.web.dev|https://pagespeed.web.dev/], with an extremely poor Largest Contentful Paint value (10.1 s).
If I set APP_ENV=dev and test the same page again, it gets 66 points for performance.
(all to mobile view)
I can reproduce the problem on different servers (nginx and Apache) with different hosts and different shops.
Expected behaviour:
development environment should not be faster than the live environment
How to reproduce:
.env.local to APP_ENV=prod
Test: [https://pagespeed.web.dev|https://pagespeed.web.dev/]
.env.local to APP_ENV=dev
Test: [https://pagespeed.web.dev|https://pagespeed.web.dev/]

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-39828
[created from NEXT-39828, comment 517704]

hey @impulsreich
thanks for your issue. Do you have some reports or traces for us, so we can better understand what is happening?

I tested two pages in this Picture (content page and category page). The only change was changing the .env.local file from APP_ENV=dev to APP_ENV=prod.
I hope this helps.
I would be very happy to see a breakdown of the problem in the forum post.
https://forum.shopware.com/t/pagespeed-im-dev-mode-besser/105966

hey @impulsreich
we tried to reproduce the behaviour locally, but we got very similar results independent from the application environment. Also as this is only reported now and once, we do not expect a general problem within Shopware, but more a server configuration issue.
That said, we would like to ask you to open a support ticket for that case, so we might help there further.

Thank you very much for testing this too.
I tested it with 3 different shops in 3 different environments. 2 server environments, both of which are Shopware partners, and a hosting package. I get the same results everywhere. Even with a very standard shop.


the two links are not available anymore: RunPodSandbox - Pod Spec CreateContainer - Workload Spec

[Enter feedback here]

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

ID: 7207c603-8e9d-3ade-18c6-a04fd9537b2e
Version Independent ID: b0f2df64-6d9f-2429-d4f3-5d192196c4fe
Content: Windows container platform
Content Source: virtualization/windowscontainers/deploy-containers/containerd.md
Product: windows-server
Technology: windows-containers
GitHub Login: @scooley
Microsoft Alias: jgerend

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Not a Real Issue

Keep up the good work.
Matrix_Pack.zip

@MATTMCCA Haha thanks for the Matrix code font.


marker dragable

how if i want get lat lang via marker dragable ?

Hi @ozonerik, this is not something we will support in this library. I recommend going with the native support of the mapping library of your choice for this.


Fix to account for possible unicode id values

Coverage remained the same at 90.496% when pulling 8efffbc0facd32c52587cff1b2da8b146e8623ba on dev_validation_edrpou into c381222f83ce09836e65de3603405cf27038d4fa on validation_edrpou.


apply does a sync instead of a charts

The flow I'm seeing from apply is

diff
yes
repos
charts

If the user does not specify a version and has not ran repos recently that could cause the diff that they see to be different then what actually gets applied.

I would lean toward the latter diff, yes, charts

My guess is that basically, we should specify chart versions in helmfile.yaml. So that helmfile apply doesn't require you to run hemlfile repos beforehand, while ensuring there're no glitches between the diff and whats get applied.
In that sense, shouldn't helmfile apply run repos by default? Then how about:
helmfile apply --skip-repo-updates:

diff
yes
deps
charts

helmfil apply:

repos
diff
yes
deps
charts

PTAL at #286! Thx.

@mumoshu, that implementation sounds good.


Don't generate ruby docs.

@harmon : the Gem configuration file ~/.gemrc file should already have gem: --no-document with defaults ruby to skip docs when installing gems.

Seems to, but it wasn't for some reason. I'll try again with a fresh virtualbox. Thanks!


Update README.md to fix index broken links

Updated README index as it was not working after #6
Pull Request Description
[Add a description of your pull request here]

Future Release Comment
[Add description of your change, to include in the next release]
[Delete any or all irrelevant sections, e.g. if your change does not warrant a release comment at all]
Breaking Changes:

None

Features:

None

Fixes:

None

@microsoft-github-policy-service agree


Using Mapbox Services requires setting a valid access token

Running the example app with my Graphhopper token, I get the following exception:
com.mapbox.core.exceptions.ServicesException: Using Mapbox Services requires setting a valid access token.

As specified in the README, I set my API key in the config:
<string name="base_url" translatable="false">https://graphhopper.com/api/1/navigate/</string>
<string name="mapbox_access_token" translatable="false">MY_KEY</string>

I tried using my key in https://explorer.graphhopper.com/ and it works, so it seems like the token itself should be fine.
What could I be doing wrong? I am really just trying to run this example app.

+1. This app does not work out of the box. The mapbox service expects a key starting with "pk.", but the api key from graphhopper does not srart with 'pk.'. Did anyone even test this before pushing the code to github?

One way to make it work is, instead of putting GRAPHHOPPER_API_KEY, put pk.GRAPHHOPPER_API_KEY in developer_config.xml. eg:
    <string name="mapbox_access_token" translatable="false">pk.XXXXXXX-YYYY-ZZZZ-1111-32783abdef5</string>

Oh you're right, it helps! Does that trick work for you in https://github.com/maplibre/maplibre-navigation-android? Doesn't work for me, not sure what changed between them.

Oh, I was missing this:
            this.user("gh")
            this.profile("car")

And now it works :blush:. Thanks a lot!


Add Cody PLG Telemetry

This is probably a superset of other telemetry-related tickets, such as https://github.com/sourcegraph/cody/issues/1958.

Events outlined here in the "February Launch [reduced scope]" tab: https://docs.google.com/spreadsheets/d/1QXnrHkgGLXdbfHEhI_VjtDTy-mCtnK1qri3IMQu7rNk/edit#gid=1509442061

Closing this in favour of https://github.com/sourcegraph/cody/issues/1958


New port to kotlin multiplatform available(+ question about updating samples)

Hi
thanks for your work on the tdigest algorithm and making it available as a high quality Java reference implementation.
I have just completed a port to Kotlin multiplatform of the latest version of the code (see here ) including the original  suit of java unit tests.
I have read the paper and looked into the code of AVLTreeDigest and I have managed to implement the new functionality of updating a previously added sample. (see code here)
The code is still experimental, but it is working
My question is: do you think that similar functionality could be added also to MergeDigest?

Are you sure that updating is a good idea?
The problem is that if you pull samples from the wrong places in a distribution, the digest invariant will no longer hold and you lose any accuracy bounds.

Are you sure that updating is a good idea?
The problem is that if you pull samples from the wrong places in a distribution, the digest invariant will no longer hold and you lose any accuracy bounds.

Closing this as will-not-fix


'near send' is broken

What should happen:
near send loaded.potato<PHONE_NUMBER>
# All good. You sent a bunch o money

What's happening:

I think we need an explicit param for the account you are sending from
../near-shell/bin/near send janesend1 10 --accountId janesend2 ?

I wanted to add from conversation: We should add a param for
E.g.
near send <recipient> <sender> <pubKey> <amount>

near send loaded.potato tasty.potato FQrWi8AQhmfe9dxq2C1DimPuDBmU2v6WoyqgmyQ9FS5g 999999999

I'm not sure which should come first if we rely on positional args. I could be convinced that recipient is a flag, but that would be adding yet another option to a growing list.

I think we need an explicit param for the account you are sending from
../near-shell/bin/near send janesend1 10 --accountId janesend2 ?

I was going to push back about this, but as long as we document this clearly, I like it.
Behavior:
Default: sends from masterAccount
With accountId: sends from specified accountId.
Pretty simple.

positional are fine too.
Why do we need pub key though?

I've actually convinced myself that positional arguments that are always required are better. Sending money is not a reversible operation, so having a weird hidden default could be bad. It's much better to have one single way the command works.

I've actually convinced myself that positional arguments that are always required are better. Sending money is not a reversible operation, so having a weird hidden default could be bad. It's much better to have one single way the command works.

That works for me.

positional are fine too.
Why do we need pub key though?
oops! Edited.

The order of positionals is not that critical. There are basically 2 cases:
a) they have private keys for both accounts. Then if they accidentally swap the 2 accounts, they could undo the mistake by using the other private key
b) they have only one private key for sender. The operation will straight out fail since sender key is not available.

https://github.com/nearprotocol/near-shell/pull/92


⚠ Bofrost.be has degraded performance

In d01b1b2, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1167 ms

Resolved: Bofrost.be performance has improved in 390b8d4.


Create docker-image.yml

Hi @gremlinsbeer we don't publish our docker image publicly. What are you trying to accomplish here?


Enhance Appearance API

Motivation and Context
This PR introduces a new Appearance API that is more flexible, open and customizable.
It allows:

Full customization of the colors
Full customization of the font families

Feature request: #18
Description
The new API is organized around two new classes: BulletinAppearance and BulletinInterfaceBuilder.
BulletinAppearance is an open class that exposes all the properties needed for color and font customization. An object of this class is created for every PageBulletinItem at initialization (available via the appearance property).
BulletinInterfaceBuilder is an open class that contains all the methods needed to generate standard interface components. PageBulletinItem creates and uses an object of this type in the makeArrangedSubviews method. To customize the type of interface builder to use,
users can change the InterfaceBuilderType property.
Example
let page = PageBulletinItem(title: "Welcome to MyApp")
page.InterfaceBuilderType = MyCustomBulletinInterfaceBuilder.self
page.appearance.titleFontDescriptor = UIFontDescriptor(name: "AvenirNext-Medium", matrix: .identity)
page.appearance.actionButtonColor = .red

This is exactly what I wanted! Thanks!
(Typo in the Example where you wrote name: "AvenirNext-Medium)
Great library to work with!

Thank you!

Can you explain how can Change the font please, your example is not clear
Thanks you

@Eliaschetouani To customize the font, you can use these properties when creating a PageBulletinItem:

appearance.titleFontDescriptor to change the title text font
appearance.descriptionFontDescriptor to change the description text font
appearance.buttonFontDescriptor to change the font of button titles

You must assign these properties a UIFontDescriptor object that describes the font to use.
Here's a commented version of the example above:
// 1) Create a page bulletin item
let page = PageBulletinItem(title: "Welcome to MyApp")

// 2) Create the font descriptor for the Avenir Next font with a medium weight
let customFontDescriptor = UIFontDescriptor(name: "AvenirNext-Medium", matrix: .identity)

// 3) Set the custom title font
page.appearance.titleFontDescriptor = page.appearance.actionButtonColor = .red

Hope this helps!


Feature/quick build

This is Makefile version for Iroha quick building.
You can build Iroha simply with typing 'make'. And you can run Iroha with 'make run' to running single Iroha container. You can view logs by 'make logs' and so on...

The github account is valid CLA?


Slayer highlight interferes with tag npc highlights, all styles

Type
Incorrect behavior
Operating System
Windows
OS Version
Windows 11
Bug description
If a current npc is the target of the slayer task and any of the highlight options are true (I found this on "highlight tile"), then using the "Tag [NPC]" option from the right click menu does nothing. Only by disabling and re-enabling the Slayer plugin is the expected behavior reached, where the single NPC is tagged with the desired individual tag style and the rest of the slayer-targeted NPCs are highlighted with the slayer style.
Screenshots or videos

this is the desired result, but is only achievable after tagging the NPC while the Slayer plugin is disabled, and then re-enabling the Slayer plugin
RuneLite version
Runelite version: <IP_ADDRESS>
Launcher version: 2.6.2
Logs
No response

duplicate of #16134


Folder Settings Not Loading?

Howdy! Not sure if I'm just misunderstanding the README or doing something incorrectly, but I can't for the life of me get scripts to load if I use only the folder setting and not the individual scripts setting. I'll attach the file I'm currently testing in below:
} Migrate Queries to CustomJS Plugin.md
I initially tried setting up the "scripts" folder in my .obsidian folder, then in the Vault root, then tried pointing to it from my computer's root directory, but I am still unable to get scripts from a folder to work.
Additionally, I don't see any information - positive or negative - in the console when I utilize only the folder setting. It shows CustomJS loading, then nothing, but when I try to render to Preview, I get the good ol' TypeError problem. Any advice on what I may be doing wrong?

That syntax is outdated. On the latest version of CustomJS, change
const {CoolString} = app.plugins.plugins.customjs
to
const {CoolString} = customJS
See the README for the most up to date examples.


Correctly display number of IDs in table view

I noticed that observations that don't have a taxon_id also don't display an observation count in table view. This happens when the user hasn't put an ID but someone else has.
Table view (shows no IDs, but it actually has one)

Observation page (shows someone else's id is already there, even though it doesn't display that in table view)

Would this be resolved by implementing  #641?
Edited to add:
To see more examples (since that particular observation has an observer ID now), click on some of the observations from this search (old observations with photos from North America):
http://www.inaturalist.org/observations?utf8=✓&q=&search_on=&has[]=photos&quality_grade=any&identifications=any&captive=&iconic_taxa[]=unknown&place_id=9853&swlat=&swlng=&nelat=&nelng=&taxon_name=&taxon_id=&day=&month=&year=&order_by=observations.id&order=asc&rank=&hrank=&lrank=&site=&tdate=&d1=&d2=&filters_open=true&view=table

Hi Carrie, this isn't a bug, this is how the system was designed to work. Taxon_id kicks in if the obs user adds and ID or there is a community ID. Yes, #641 is a proposal to change this.

Ok. It just seems like table view should show that there IS an id on an observation even if the user hasn't added one. I'm all for solving this via #641!

sorry I thought you meant the taxon_id wasn't showing. If you think there's a bug where the ID isn't showing please include a URL, but keep in mind these displays are cached so changes don't show immediately

I do think this is a bug (and I think it's been this way for a while but I've never taken the time to report it). This might not need to be resolved separately from #641, but for the sake of documentation...

Click here:
http://www.inaturalist.org/observations?utf8=✓&q=&search_on=&has[]=photos&quality_grade=any&identifications=any&captive=&iconic_taxa[]=unknown&place_id=9853&swlat=&swlng=&nelat=&nelng=&taxon_name=&taxon_id=&day=&month=&year=&order_by=observations.id&order=asc&rank=&hrank=&lrank=&site=&tdate=&d1=&d2=&filters_open=true&view=table

See that no observations have any IDs indicated in the table view.

Click on the first observation (http://www.inaturalist.org/observations/523) -- by Ken-ichi :-)

See that it DOES have 1 id, even though no ids are shown in the table view.

got it, so
http://www.inaturalist.org/observations?user_id=whalend&year=2011&month=10&day=29
at the time of this writing only shows
http://www.inaturalist.org/observations/37531
which should show '1ID' in table-view

This also has been fixed.


[Epoch] extractor not getting picked up

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I'm running yt-dlp version 2023.07.06 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
United States
Provide a description that is worded well enough to be understood
I don't believe that anything has changed on the web site, but yt-dlp no longer recognizes that links on the site should use the Epoch extractor, and instead attempts (unsuccessfully) to use the generic extractor.
The Epoch extractor would pick up this .m3u8 URL (and download the associated video):
https://vs1.youmaker.com/assets/30932f5f-11a8-4e44-99e5-27ff1edc2ad8/playlist.m3u8
Additional information:
What the generic extractor pulls up (with -F):
[debug] Command-line config: ['--restrict-filenames', '-o', '%(title).200s-%(id)s-%(uploader)s.%(ext)s', '-w', '-F', '-v', 'https://www.theepochtimes.com/epochtv/unvaccinated-should-check-this-out-its-highly-unexpected-facts-matter-5449774']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8 (No ANSI), error utf-8 (No ANSI), screen utf-8 (No ANSI)
[debug] yt-dlp version<EMAIL_ADDRESS>[b532a3481]
[debug] Python 3.11.4 (CPython x86_64 64bit) -<EMAIL_ADDRESS>(OpenSSL 3.0.9 30 May 2023, glibc 2.37)
[debug] exe versions: ffmpeg 4.4.4 (setts), ffprobe 4.4.4
[debug] Optional libraries: certifi-3021.03.16, pycrypto-3.18.0
[debug] Proxy map: {}
[debug] Loaded 1855 extractors
[generic] Extracting URL: https://www.theepochtimes.com/epochtv/unvaccinated-should-check-this-out-its-highly-unexpected-facts-matter-5449774
[generic] unvaccinated-should-check-this-out-its-highly-unexpected-facts-matter-5449774: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] unvaccinated-should-check-this-out-its-highly-unexpected-facts-matter-5449774: Extracting information
[debug] Looking for embeds
[debug] Identified a JSON LD
[generic] Extracting URL: https://www.youmaker.com/embed/30932f5f-11a8-4e44-99e5-27ff1edc2ad8?r=16x9&d=620#__youtubedl_smuggle=%7B%22force_videoid%22%3A+%22unvaccinated-should-check-this-out-its-highly-unexpected-facts-matter-5449774%22%2C+%22to_generic%22%3A+true%2C+%22http_headers%22%3A+%7B%22Referer%22%3A+%22https%3A%2F%2Fwww.theepochtimes.com%2Fepochtv%2Funvaccinated-should-check-this-out-its-highly-unexpected-facts-matter-5449774%22%7D%7D
[generic] unvaccinated-should-check-this-out-its-highly-unexpected-facts-matter-5449774: Downloading webpage
[generic] unvaccinated-should-check-this-out-its-highly-unexpected-facts-matter-5449774: Extracting information
[debug] Looking for embeds
[generic] unvaccinated-should-check-this-out-its-highly-unexpected-facts-matter-5449774: Downloading m3u8 information
[debug] Identified a video.js embed
[generic] Checking m3u8 live status
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for unvaccinated-should-check-this-out-its-highly-unexpected-facts-matter-5449774:
ID    EXT RESOLUTION | PROTO | VCODEC  ACODEC
----------------------------------------------
hls-0 mp4 unknown    | m3u8  | unknown unknown

What the Epoch extractor should pull up (with -F):
[debug] Command-line config: ['--restrict-filenames', '-o', '%(title).200s-%(id)s-%(uploader)s.%(ext)s', '-w', '-F', '-v', 'https://vs1.youmaker.com/assets/30932f5f-11a8-4e44-99e5-27ff1edc2ad8/playlist.m3u8']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8 (No ANSI), error utf-8 (No ANSI), screen utf-8 (No ANSI)
[debug] yt-dlp version<EMAIL_ADDRESS>[b532a3481]
[debug] Python 3.11.4 (CPython x86_64 64bit) -<EMAIL_ADDRESS>(OpenSSL 3.0.9 30 May 2023, glibc 2.37)
[debug] exe versions: ffmpeg 4.4.4 (setts), ffprobe 4.4.4
[debug] Optional libraries: certifi-3021.03.16, pycrypto-3.18.0
[debug] Proxy map: {}
[debug] Loaded 1855 extractors
[generic] Extracting URL: https://vs1.youmaker.com/assets/30932f5f-11a8-4e44-99e5-27ff1edc2ad8/playlist.m3u8
[generic] playlist: Downloading webpage
[debug] Identified a direct video link
[generic] playlist: Downloading m3u8 information
[generic] playlist: Checking m3u8 live status
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for playlist:
ID   EXT RESOLUTION |   FILESIZE   TBR PROTO | VCODEC  ACODEC
--------------------------------------------------------------
220  mp4 426x240    | ~ 16.66MiB  220k m3u8  | unknown unknown
317  mp4 640x360    | ~ 24.06MiB  318k m3u8  | unknown unknown
426  mp4 854x480    | ~ 32.25MiB  426k m3u8  | unknown unknown
703  mp4 1280x720   | ~ 53.23MiB  703k m3u8  | unknown unknown
1376 mp4 1920x1080  | ~104.17MiB 1376k m3u8  | unknown unknown

Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['--restrict-filenames', '-o', '%(title).200s-%(id)s-%(uploader)s.%(ext)s', '-w', '-v', 'https://www.theepochtimes.com/epochtv/unvaccinated-should-check-this-out-its-highly-unexpected-facts-matter-5449774']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8 (No ANSI), error utf-8 (No ANSI), screen utf-8 (No ANSI)
[debug] yt-dlp version<EMAIL_ADDRESS>[b532a3481]
[debug] Python 3.11.4 (CPython x86_64 64bit) -<EMAIL_ADDRESS>(OpenSSL 3.0.9 30 May 2023, glibc 2.37)
[debug] exe versions: ffmpeg 4.4.4 (setts), ffprobe 4.4.4
[debug] Optional libraries: certifi-3021.03.16, pycrypto-3.18.0
[debug] Proxy map: {}
[debug] Loaded 1855 extractors
[generic] Extracting URL: https://www.theepochtimes.com/epochtv/unvaccinated-should-check-this-out-its-highly-unexpected-facts-matter-5449774
[generic] unvaccinated-should-check-this-out-its-highly-unexpected-facts-matter-5449774: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] unvaccinated-should-check-this-out-its-highly-unexpected-facts-matter-5449774: Extracting information
[debug] Looking for embeds
[debug] Identified a JSON LD
[generic] Extracting URL: https://www.youmaker.com/embed/30932f5f-11a8-4e44-99e5-27ff1edc2ad8?r=16x9&d=620#__youtubedl_smuggle=%7B%22force_videoid%22%3A+%22unvaccinated-should-check-this-out-its-highly-unexpected-facts-matter-5449774%22%2C+%22to_generic%22%3A+true%2C+%22http_headers%22%3A+%7B%22Referer%22%3A+%22https%3A%2F%2Fwww.theepochtimes.com%2Fepochtv%2Funvaccinated-should-check-this-out-its-highly-unexpected-facts-matter-5449774%22%7D%7D
[generic] unvaccinated-should-check-this-out-its-highly-unexpected-facts-matter-5449774: Downloading webpage
[generic] unvaccinated-should-check-this-out-its-highly-unexpected-facts-matter-5449774: Extracting information
[debug] Looking for embeds
[generic] unvaccinated-should-check-this-out-its-highly-unexpected-facts-matter-5449774: Downloading m3u8 information
[debug] Identified a video.js embed
[generic] Checking m3u8 live status
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: best/bestvideo+bestaudio
[info] unvaccinated-should-check-this-out-its-highly-unexpected-facts-matter-5449774: Downloading 1 format(s): hls-0
[debug] Invoking ffmpeg downloader on "https://www.youmaker.com/embed/
Not Available
"
[download] Destination: Unvaccinated_Should_Check_This_Out_It_s_Highly_Unexpected_Facts_Matter_2023-08-08_13_29-unvaccinated-should-check-this-out-its-highly-unexpected-facts-matter-5449774-NA.mp4
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Sec-Fetch-Mode: navigate
' -i 'https://www.youmaker.com/embed/
Not Available
' -c copy -f mpegts file:Unvaccinated_Should_Check_This_Out_It_s_Highly_Unexpected_Facts_Matter_2023-08-08_13_29-unvaccinated-should-check-this-out-its-highly-unexpected-facts-matter-5449774-NA.mp4.part
ffmpeg version 4.4.4 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 12 (Gentoo 12.3.1_p20230526 p2)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --docdir=/usr/share/doc/ffmpeg-4.4.4-r3/html --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --nm=x86_64-pc-linux-gnu-nm --strip=x86_64-pc-linux-gnu-strip --ranlib=x86_64-pc-linux-gnu-ranlib --pkg-config=x86_64-pc-linux-gnu-pkg-config --optflags='-O2 -pipe -fomit-frame-pointer -march=ivybridge -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -maes -mpclmul -mpopcnt -mavx -msse4.2 -msse4.1 -mrdrnd -mf16c -mfsgsbase -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=ivybridge -fstack-protector-strong -mfpmath=sse' --disable-static --enable-avfilter --enable-avresample --disable-stripping --disable-optimizations --disable-libcelt --enable-nonfree --disable-indev=v4l2 --disable-outdev=v4l2 --disable-indev=oss --disable-indev=jack --disable-indev=sndio --disable-outdev=oss --disable-outdev=sndio --enable-version3 --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-gcrypt --disable-gnutls --enable-gmp --enable-gpl --enable-hardcoded-tables --enable-iconv --disable-libxml2 --enable-lzma --enable-network --disable-opencl --enable-openssl --enable-postproc --disable-libsmbclient --enable-ffplay --enable-sdl2 --enable-vaapi --disable-vdpau --enable-vulkan --enable-xlib --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-zlib --enable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal --enable-opengl --disable-libv4l2 --disable-libpulse --disable-libdrm --disable-libjack --disable-libopencore-amrwb --disable-libopencore-amrnb --disable-libcodec2 --enable-libdav1d --disable-libfdk-aac --enable-libopenjpeg --disable-libbluray --disable-libgme --enable-libgsm --disable-libaribb24 --disable-mmal --disable-libmodplug --enable-libopus --disable-libmfx --disable-libilbc --disable-librtmp --disable-libssh --enable-libspeex --disable-libsrt --disable-librsvg --disable-ffnvcodec --enable-libvorbis --disable-libvpx --disable-libzvbi --disable-appkit --disable-libbs2b --enable-chromaprint --disable-cuda-llvm --disable-libflite --disable-frei0r --disable-libvmaf --disable-libfribidi --enable-fontconfig --disable-ladspa --enable-libass --disable-libtesseract --disable-lv2 --enable-libfreetype --disable-libvidstab --disable-librubberband --disable-libzmq --disable-libzimg --disable-libsoxr --enable-pthreads --disable-amf --disable-libvo-amrwbenc --disable-libkvazaar --disable-libaom --enable-libmp3lame --disable-libopenh264 --disable-librav1e --disable-libsnappy --disable-libsvtav1 --enable-libtheora --disable-libtwolame --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --disable-gnutls --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-neon --disable-vfp --disable-vfpv3 --disable-armv8 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-altivec --disable-vsx --disable-power8 --disable-amd3dnow --disable-amd3dnowext --disable-avx2 --disable-fma3 --disable-fma4 --disable-xop --cpu=ivybridge --disable-doc --disable-htmlpages --enable-manpages
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
[tcp @ 0x55e525d171e0] Starting connection attempt to <IP_ADDRESS> port 443
[tcp @ 0x55e525d171e0] Successfully connected to <IP_ADDRESS> port 443
[AVIOContext @ 0x55e525d7d6a0] Statistics: 6677 bytes read, 0 seeks
https://www.youmaker.com/embed/
Not Available
: Invalid data found when processing input

ERROR: ffmpeg exited with code 1
  File "/usr/lib/python-exec/python3.11/yt-dlp", line 8, in <module>
    sys.exit(main())
  File "/usr/lib/python3.11/site-packages/yt_dlp/__init__.py", line 1008, in main
    _exit(*variadic(_real_main(argv)))
  File "/usr/lib/python3.11/site-packages/yt_dlp/__init__.py", line 998, in _real_main
    return ydl.download(all_urls)
  File "/usr/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 3485, in download
    self.__download_wrapper(self.extract_info)(
  File "/usr/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 3460, in wrapper
    res = func(*args, **kwargs)
  File "/usr/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 1549, in extract_info
    return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
  File "/usr/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 1560, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 1709, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 1821, in process_ie_result
    return self.process_ie_result(
  File "/usr/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 1768, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
  File "/usr/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 2897, in process_video_result
    self.process_info(new_info)
  File "/usr/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 3363, in process_info
    success, real_download = self.dl(temp_filename, info_dict)
  File "/usr/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 3084, in dl
    return fd.download(name, new_info, subtitle)
  File "/usr/lib/python3.11/site-packages/yt_dlp/downloader/common.py", line 461, in download
    ret = self.real_download(filename, info_dict)
  File "/usr/lib/python3.11/site-packages/yt_dlp/downloader/external.py", line 80, in real_download
    self.report_error('%s exited with code %d' % (
  File "/usr/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 1042, in report_error
    self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
  File "/usr/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 970, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

The web site has just undergone a major upgrade (which includes hiding the video URLs) in the last day or so, which appears to make this issue irrelevant (the extractor would no longer work in any case).

@2011 do you want to update your OP with the new error / log? We could repurpose this issue

@2011 do you want to update your OP with the new error / log? We could repurpose this issue

I guess I can do that. It does fail much more quickly now, since in no longer attempts to call ffmpeg with faulty parameters.

@bashonly here is mine that i just tried.
[lana@fedora ~]$ yt-dlp --verbose -F https://twitter.com/KarinaVinnikova/status/1694400198380859696
[debug] Command-line config: ['--verbose', '-F', 'https://twitter.com/KarinaVinnikova/status/1694400198380859696']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[b532a3481]
[debug] Lazy loading extractors is disabled
[debug] Python 3.11.4 (CPython x86_64 64bit) - Linux-6.4.11-200.fc38.x86_64-x86_64-with-glibc2.37 (OpenSSL 3.0.9 30 May 2023, glibc 2.37)
[debug] exe versions: ffmpeg 6.0 (setts), ffprobe 6.0
[debug] Optional libraries: Cryptodome-3.17.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, secretstorage-3.3.3, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1855 extractors
[twitter] Extracting URL: https://twitter.com/KarinaVinnikova/status/1694400198380859696
[twitter]<PHONE_NUMBER>380859696: Downloading syndication JSON
[twitter] Some metadata is missing without authentication. Use --cookies, --cookies-from-browser, --username and --password, --netrc-cmd, or --netrc (twitter) to provide account credentials
ERROR: [twitter]<PHONE_NUMBER>380859696: No video could be found in this tweet
  File "/usr/lib/python3.11/site-packages/yt_dlp/extractor/common.py", line 710, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/yt_dlp/extractor/twitter.py", line 1276, in _real_extract
    self.raise_no_formats('No video could be found in this tweet', expected=True)
  File "/usr/lib/python3.11/site-packages/yt_dlp/extractor/common.py", line 1188, in raise_no_formats
    raise ExtractorError(msg, expected=expected, video_id=video_id)


SpotBug P2 fixes

Adds suppressions for two issues that already existed in public surface area or when initially migrated
Checks that the attributes are of the correct type before casting them
Fixes CheckStyle issues

Adding header
Adding space after typecast

Can one of the admins verify this patch?


Include Decimal Points

When we have decimal pointd as 231.99 the points is now showing.

Yes, as mentioned in the readme that is currently not possible.
However I took your issue as a reason to implement such a feature.
I just created a new branch for version 2 of this package.
With the current state of the code on that branch it is already possible to display numbers with a decimal place.

I just published Version two of this package, so that numbers can now be displayed with a decimal point.

Awesome @der-Lehmann