Provides a way to access runner output from an http endpoint.

Provides a way to access runner output from an http endpoint without having to wait for a run to finish. This change reduces the need for custom OutputCreators and meshes with the eventual addition of snapshot-persisted output. There are a couple of TODOs but this is largely complete and shouldn't break anything.
The motivation here is that scoot clients are not provided with task stdout/stderr URIs until the task has finished, and we have no way of automating the retrieval of task logs prior to that time. An additional and separate desire is to facilitate viewing/tailing logs and viewing metrics in a browser. Persistence would be nice but we'll forgo that temporarily until blobstore bundles with stdout/stderr are implemented.
The first attempt to address persistence, in source, was to create an hdfs OutputCreator. That works fine but will not scale like we want in production. Further, it doesn't address the missing URIs before a task is finished, or viewing in a browser.
This PR does the minimal amount of plumbing required to send http URIs back to the client so it can start streaming logs immediately. The general flow is:

Instead of scheduler doing log.StartTask & worker.RunAndWait, do worker.Start & log.StartTask & worker.Wait

Runners must initialize and return StdoutRef/StderrRef so worker.Start sees those immediately.

This allows scheduler to sagalog a trackable run. The client can poll based on sagalog contents.

Worker: pass an endpoints.ResourceHandler to OutputCreator so callers can call Output.Register

Worker: runner calls Output.Register with globally defined Stdout/Stderr http paths, and namespaced under RunId.
-Worker: Output.Register will create a new http endpoint which will query the log file directly.

Corresponds with go/phab/D14557

Current coverage is 64.59% (diff: 64.77%)

Merging #176 into master will increase coverage by 0.33%

@@             master       #176   diff @@
==========================================
  Files            58         63     +5
  Lines          2840       2988   +148
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1825       1930   +105
- Misses          892        928    +36
- Partials        123        130     +7

Powered by Codecov. Last update af6ae99...244d7da

I like the approach, overall.
Comments, from highest-level to lowest-level:
This proposal seems to be about streaming/debugging worker results, not about persisting them. Is that right? It seems like a good and worthy thing, but slightly different from persisting worker results (as this mentions). (I want to be explicit about the change, or see if I'm mistaken)
Scheduler: I believe the Saga Log pattern means we have to log our intention to do something before we do it. Otherwise, we could die after starting the task but before logging it. If the task needed a compensating action, we wouldn't know to run it. This might require extending our SagaLog to allow you to log a message with an info message.
Scheduler/Worker protocol: AIUI, the Scheduler can now contact the worker to ask for its base URI. It uses this to populate a link to the log viewer URI into the status. Could we just have the Worker populate the URI and have runTaskAndLog wait until the URIs are populated? The Worker server knows its addr, so it can populate the ProcessStatus correctly, no? This would remove the need to extend the Worker API.
(This comment might be unnecessary if we don't extend the Worker API.) The extension to the Worker API is done in this weird way by creating a certain kind of bad request. I'd rather be explicit, and add a method to the thrift definition if we need one.
Worker server: Could we just make a server that serves a specific directory? Then we use a new TempDir to store these output files, and creating the URI is as easy as http:///output/

@dbentley is correct we have to log the StartTask message first before performing an action.
The easiest way to extend this right now would be to just log another StartTask message with the links info once we get it, since we dont store anything with StartTask now.  This is totally fine, and in our current durable implementation will just overwrite the additional message!   This way the Status API can get access to the in progress logs as the Task is running


core maths: add essence of calculus as a prerequisite for Calculus 1A

Essence of Calculus by 3Blue1Brown

Two notes. One, you submitted the pr to master instead of dev. Two, as someone learning Calculus, those videos make more sense as I learn it and don't make much sense at all before I learn the material.

@AlveeM ,
@Alaharon123 has good comments regarding this pull request. This isn't a pre-requisite for success or understanding the course material recommended in the curriculum.
Where I think this could reside is in Extras. At the moment there is a Readings and and a Courses page. If you would like to start a Videos (Lectures?) page with the same formatting, Essence of Calculus would be a fine first addition.


Bedrock Titan embedding client support dynamic embedding request types.

BedrockTitanEmbeddingClient only support configuration embedding type when startup in BedrockTitanEmbeddingProperties.inputType property.
Add new BedrockTitanEmbeddingOptions to support dynamic embedding request types while runtime.
For example:
bedrockTitanEmbeddingClient.call(new EmbeddingRequest(List.of("hello world"),
              BedrockTitanEmbeddingOptions.builder().withInputType(InputType.TEXT).build()));

Thanks @wmz7year ,
Could you please add the related documentation to the https://docs.spring.io/spring-ai/reference/1.0-SNAPSHOT/api/embeddings/bedrock-titan-embedding.html ? e.g to the https://github.com/spring-projects/spring-ai/blob/main/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/bedrock-titan-embedding.adoc
You can use the https://docs.spring.io/spring-ai/reference/1.0-SNAPSHOT/api/chat/bedrock/bedrock-titan.html#chat-options as an example

@tzolov done.

Thanks @wmz7year , let me have a look.


Add shellcheck to all repositories

Problem

We've made a few easy to avoid mistakes in shell scripts
https://github.com/WordPress/openverse-frontend/pull/1640
https://github.com/WordPress/openverse-api/pull/869
These can be avoided using shellcheck and following it's basic advice (always adding set -e, actual syntax checks, etc).
Description

Add shellcheck to all repositories. Even if any of these repositories don't have shell scripts, let's add it now before we introduce a shell script and forget about this. It doesn't hurt, after all.

[x] WordPress/openverse (https://github.com/WordPress/openverse/pull/300)
[x] WordPress/openverse-catalog (https://github.com/WordPress/openverse-catalog/pull/718)
[x] WordPress/openverse-api (https://github.com/WordPress/openverse-api/pull/922)
[ ] WordPress/openverse-frontend ()

Side note
It'd be nice if we used pre-commit on all repositories instead of having the frontend repository be the odd ball using husky. If we used pre-commit everywhere then we could just sync the pre-commit configuration and automagically have things working for all languages across all repositories the same way. I'll open another issue to think about that for the frontend repo.
Implementation

[ ] 🙋 I would be interested in implementing this feature.

Since shellcheck has a readymade integration for pre-commit, I'm going to go ahead and mark this issue as good first.

Hey, I would like to work on this.

Hey @MustkimKhatik, we want to add shell-check to all 4 of our repos. The Python-based repos all use pre-commit for linting, which is configured using the .pre-commit-config.yaml file in the root of the repos.

Repo
File

openverse
https://github.com/WordPress/openverse/blob/main/.pre-commit-config.yaml

openverse-catalog
https://github.com/WordPress/openverse-catalog/blob/main/.pre-commit-config.yaml

openverse-api
https://github.com/WordPress/openverse-api/blob/main/.pre-commit-config.yaml

Adding it to the frontend would be more contrived but you can start with these ^ three.

Alright! I would work on this three!

btw this pre-commit syntax will go as it is or there are any changes in args?

@MustkimKhatik I think we can skip the args field completely so that all the messages are shown.

@MustkimKhatik I think we can skip the args field completely so that all the messages are shown.

Alright we will do that

Hey @dhruvkb, For frontend workaround is same? because there is no .pre-commit-config.yaml file so where we adding ShellCheck?

@MustkimKhatik We'd have to add it as an additional workflow job in the CI/CD for the frontend repository. This could be done with this action, for example: https://github.com/marketplace/actions/shellcheck
Alternatively, Dhruv has been working on getting pre-commit into the frontend repository in this PR: https://github.com/WordPress/openverse-frontend/pull/1862 Maybe helping on that PR would be a good way to go about this as well. Getting pre-commit in the frontend would help unify our linting across all repositories.

Okay @sarayourfriend, maybe adding ShellCheck directly into pre-commit will be more convenient instead of additional workflow job. I would definitely look for it.

Closing this as all our active repos are now using pre-commit with a nearly identical config that includes ShellCheck.


EDQM-SPOR mappings

I have a set of code systems based on EMA SPOR:  https://github.com/hl7-eu/unicom-ig/tree/mpd-r4b/input/fsh/codesystems
My approach was simplistic, I did not include attributes for dose forms or different languages. Not sure if they're needed in both code systems.
Francesco is working on EDQM value sets in a more sophisticated manner.  I don't know if it's going to be a problem, that EDQM is considered one code system with many value sets, but all EMA SPOR lists are considered different code systems.
We need concept maps between EDQM and EMA SPOR.

I've used Ontoserver Snapper  for creating FHIR terminology (code systems or concept maps) from CSVs. I'm sure there are other ways, so just saying.

Me and @Censacrof noticed that the SPOR has not a 1-to-1 correspondence with EDQM. For example the source id of "Powder for mouth wash" in Combined Pharmaceutical Dose Form is not defined, that means the code does not exists in EDQM. Is it possible to exclude from the mapping all the code that are in the SPOR but not in EDQM?

"Powder for mouth wash" seems to have Term Status "Nullified" in SPOR. I'm almost sure it means it is not in active use anymore and can be safely ignored.
If it's not too much trouble for you, you can create a list of those that don't have a mapping, so that I could check if there's anything problematic. You can always ignore everything that is marked non-current or nullified in SPOR.

from today meeting: https://github.com/unicom-project-eu/wp6-NCPeH-substitution/blob/main/Substitution_R4B/data/SPOR_EDQM.json

I have successfully (?) created a SPOR dose forms CodeSystem with extra property for EDQM codes, and a ConceptMap from EDQM to SPOR dose forms.
I will try to get them uploaded to the IG when I'm at the right computer.
If either one or both those approaches are ok, I can do the rest.

The first SPOR code system with EDQM mappings in properties is uploaded, please enjoy Pharmaceutical Dose Forms here.

EDQM -> EMA ConceptMap as a resource has a problem. It looks like IG publisher is looking for source codes (EDQM), but we don't have them published as a CodeSystem in our IG, and they're not available publicly either. The error goes:

java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because the return value of "org.hl7.fhir.r5.model.ConceptMap$SourceElementComponent.getCode()" is null
The concept map is commented out for now but available in the repo for anyone who wants to investigate. Also, be aware, that the concept map was created with an R4 tool and manually altered to work for R5. There could be something I did not spot.

is also fixed now. See our first concept map here https://build.fhir.org/ig/hl7-eu/unicom-ig/branches/mpd-r5/artifacts.html#terminology-concept-maps

Feel free to give feedback to both approaches. Or see me lose my motivation.


Use newly created ral project when viable

From @adamgreig
https://github.com/adamgreig/ral-registers

#24 includes an integration with the const generic peripheral instances. Since peripheral instance APIs are behind an impl block, we can't directly use reset_reg! from ral-registers. If we accept #24, we'll need to maintain our own version of the macro.

I don’t think this is valid anymore with the chip tool form, cclosing

For future readers: raltool produces a RAL that re-exports the ral-registers macros and register types.
A short-term note: since raltool can generate arrays of registers, we'd like ral-register macros to handle that. https://github.com/adamgreig/ral-registers/pull/5 tracks that support.


Warn when edit instruction expands beyond current instruction size

When you edit an instruction, and make the new instruction larger than what was previously there, it doesn't yet smart patch. It also doesn't warn the user that they've just clobbered adjacent instructions in place.

Fixed in 2.4.3097


feat: add govee h5055

Looks good. One small review comment and should be good to merge
Thanks @rcleere


Add check for existant series in updateOptions

Ensures series exists. Can occur when you pass in [] as a series.

Fixed

Thanks for merging.
When can a new release be expected?

This weekend or the next.


[New game]: Dice game

🎮 Game Request
Engaging two-player dice game where the objective is to be the first to reach a total score of 100 points.  The twist is that if a player rolls a 1, their current turn's score is reset to 0, and their turn ends. Players must strategize when to roll and when to hold to avoid losing points and give themselves the best chance to win.
Game Rules
Point down the features

Two Players: The game is played with two players.

 Each roll adds the die's value to the player's temporary score for that turn.

Rolling a 1: If a player rolls a 1, their temporary score for that turn is reset to 0, and their turn ends immediately.

Holding: A player can choose to hold at any time during their turn, adding their temporary score to their total score and ending their turn.

Winning the Game: The first player to reach a total score of 100 points wins the game.

Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @Hemav009 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @Hemav009 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Incorrect query string parameter for language

The query string  ?language_covid= reflects no changes. However, ?language= yeilds the right result, but it is not used.
Expected Behavior

Current Behavior

Additionally, changes are reflected in only the selected dropdown field, however, it must be shown for both the dropdowns  fields.
Possible Solution

A quick fix would be changing  query string  ?language_covid= to  ?language=
Steps to Reproduce (for bugs)

Select a language from the dropdown

Context

I was trying to narrow down to a language.
Your Environment

Browser Name and version: Chrome Version 81.0.4044.138 (Official Build) (64-bit)
Operating System and version (desktop or mobile): Linux Mint 19.2 Cinnamon

Additional request
It would be great if I could be assigned to work on this issue.

It would be great if I could be assigned to work on this issue.

That would be great. Take a stab at it! Thanks for reporting this

Came here to report what I think is the same issue, since I keep getting the email nags, but couldn't filter on projects where I might want to try to contribute.
Was going to add some more extended information on #1314 but then checked PRs and the PR above seems to solve an issue that's affected at least 2 people from filtering projects correctly [and consequently walking away until the next nag email arrives...come back, check, still broken, OK, try again later.]
That said, can say I don't understand the fix in #1307, but it seems to be an issue with a low-impact fix that's been known of for over a month now.
And sure - now I know I can tweak the URL to filter like I want, but I'd like to believe no-one thinks that's a good idea...

I've removed the covid part of the homepage for now.


Incompatibility with SUNDIALS 3.0.0

I tried to compile with the new SUNDIALS release 3.0.0 and recognized an incompatibility.
It should be mentioned somewhere that we are compatible up to version 2.7.0

This is being addressed as we speak in https://github.com/mfem/mfem/pull/295 :)

So much stuff going on that i overlook that.


Import Sink and Observable by importing outwatch.dom._

@mariusmuja wrote:
I like the idea of having Observable and Sink imported by outwatch.dom._. We could do something like this:
 package object dom extends Attributes with Tags with Handlers {

+  type Observable[+A] = rxscalajs.Observable[A]
+  val Observable = rxscalajs.Observable
+
+  type Sink[-A] = outwatch.Sink[A]
+  val Sink = outwatch.Sink
+
   type VNode = IO[VNode_]
   type VDomModifier = IO[VDomModifier_]

An additional benefit is that it would ease porting Outwatch to another reactive streams library such as Monix. I prefer Monix to rxjs, I did a port here: https://github.com/mariusmuja/outwatch/tree/referential-transparent-refactor-monix

fixed by #91.


ReadHandler should always retrieve event from 0 instead of the last event number for Read Interaction

Problem
ReadHandler should always retrieve event from 0 instead of the last event number for Read Interaction

https://github.com/project-chip/connectedhomeip/pull/12829


Add ORTModelForMultipleChoice to the documentation

This one was missing.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


[UI] Embedded - Fix Authentication

Embedded UI uses the default user secret within basic auth for api requests
Default user is now going to be optional (see https://github.com/epinio/helm-charts/issues/214)
In addition the password in the secret is now bencrpt'd, yet we need it in plain text to make the api requests
Possible workaround - dashboard automatically creates an epinio-ui user with password in plain text. it will only be usable by the epinio ui and not the cli.
in the future though the dashboard should handle different creds or epinio uses the rancher auth provider

### Tasks
- [ ] https://github.com/epinio/ui/issues/358
- [ ] https://github.com/epinio/ui/issues/359
- [x] Build / publish a new version of the epinio ui extension

Note - https://github.com/epinio/ui/issues/360 has been removed from this epic, given that it might be a while until this is achievable

When we talked about the broken dashboard, you mentioned that issue to me but is it really related to the fact that we cannot see the epinio icon in the nav menu anymore? (just to be sure).
I can still install epinio through the marketplace but once done, there is no button to access to the epinio instance.

ok so we definitively have to wait for that issue to be resolved to progress.

@richard-cox Hello, our CI is still using non-existing Epinio icon/button in the Rancher UI to access Epinio dashboard so the Rancher UI tests are broken then.
There is a couple of other ways to get the link but most Rancher products offer an icon, so I think it would be nice to have it.
Do you think the lack of icon deserves a separate card to prioritize this issue or should we do a workaround in CI?

@thehejik To clear a few things up, there are two 'modes' that the UI has

Standalone - The UI is served up by the UI backend, and is deployed and released as part of the general Epinio release.
Embedded - The UI is served up by the Rancher Dashboard and has a separate build/package for the Rancher Management product. This is not currently released (but we hope to in the future) and is blocked on this issue (#129).

An alternative mode would be, as i think you were implying from your comment, is to have links from the Rancher Dashboard to the standalone UI. That is currently out of scope and would be in a different form (the link would appear as part of the cluster explorer area rather than a menu item in the burger menu).

local user - possible cloud credentials / secret , use rancher proxy & cloud credential / secret id

Closing, tested as part of https://github.com/epinio/ui/issues/358


[otbn] Specify reaction to memory accesses while OTBN is busy

OTBN has a data and an instruction memory, both of which are meant to be
"inaccessible" as long as OTBN is executing a command. The question is:
what happens if host software still tries to access the memory?
Currently, we vaguely specify that we'll "block" the access, i.e. hang
the bus.
In further discussions we agreed to instead issue a fatal error, which
follows the normal fatal error machinery: terminate the current
operation (if any), indicate the problem in the FATAL_ALERT_CAUSE
register, and sometimes in the ERR_BITS register.
Fixes #2696

This is the spec change only for now to get initial feedback. If we're happy with it it probably makes sense to add the RTL to this PR as well to keep things in sync.

Related to this is the behaviour when OTBN reads from the scrambled dmem/imem and doesn't get a grant. This should only happen if a key isn't setup and I believe we'd agreed this would also cause OTBN to halt and signal an error (recoverable rather than fatal alert).

That's a tricky situation to get in actually, as far as I can tell.
We do not have memory accesses during a key rotation in the "normal" cases:

If keys are rotated as part of a user-initiated secure wipe command, the key rotation completes before OTBN returns into idle and allows for software to execute, or external accesses to the memory through the windows are possible.

We can avoid the situation in the startup case:

If keys are fetched initially during startup, we can delay the start of the software execution until keys are actually present, or alternatively, add a BUSY_SETUP STATUS to indicate to Ibex not to start an operation until OTBN is ready.

That leaves one case that I can think of: Key rotation that happens as part of a secure wipe as part of a fatal error handling. Imagine the following scenario:

Ibex software accesses IMEM through the register window while OTBN is idle.
This access raises an integrity error, because it detects some ECC mismatch: this is a fatal error.
The memory window bus access returns an error to Ibex. Ibex somehow ignores the bus error.
Now secure wipe kicks in and rotates the key.
A fatal alert is raised.
Somehow the fatal alert doesn't lead to Ibex being shut down.
Ibex accesses the OTBN's memory window again.
Now we have an access to the memory while key rotation is in taking place.

With this scenario being rather constructed (of course there might be others), how about just returning a bus error if the scrambling key isn't valid?

Related to this is the behaviour when OTBN reads from the scrambled dmem/imem and doesn't get a grant. This should only happen if a key isn't setup and I believe we'd agreed this would also cause OTBN to halt and signal an error (recoverable rather than fatal alert).

That's a tricky situation to get in actually, as far as I can tell.
We do not have memory accesses during a key rotation in the "normal" cases:

If keys are rotated as part of a user-initiated secure wipe command, the key rotation completes before OTBN returns into idle and allows for software to execute, or external accesses to the memory through the windows are possible.

We can avoid the situation in the startup case:

If keys are fetched initially during startup, we can delay the start of the software execution until keys are actually present, or alternatively, add a BUSY_SETUP STATUS to indicate to Ibex not to start an operation until OTBN is ready.

That leaves one case that I can think of: Key rotation that happens as part of a secure wipe as part of a fatal error handling. Imagine the following scenario:

Ibex software accesses IMEM through the register window while OTBN is idle.
This access raises an integrity error, because it detects some ECC mismatch: this is a fatal error.
The memory window bus access returns an error to Ibex. Ibex somehow ignores the bus error.
Now secure wipe kicks in and rotates the key.
A fatal alert is raised.
Somehow the fatal alert doesn't lead to Ibex being shut down.
Ibex accesses the OTBN's memory window again.
Now we have an access to the memory while key rotation is in taking place.

With this scenario being rather constructed (of course there might be others), how about just returning a bus error if the scrambling key isn't valid?

i don't remember if @GregAC was specifically checking against a key rotation, or just in general a "memory is not granting my access, this should never happen" error.
I feel like that specific case is broader than the key rotation case, and "may" also cover unforeseen circumstances. And while normally I would agree with bus_error, it seems like in the other issue (I don't even remember half the things I said) we've already concluded that these types of accesses that should not happen should fall into the alert / status category.  Should we try to stay consistent here?
I see your point about bus error though, because we don't want the transaction to hang in this case, so we have to make some kind of response.

i don't remember if @GregAC was specifically checking against a key rotation, or just in general a "memory is not granting my access, this should never happen" error.

Yes that's the concern. From previous discussion here: https://github.com/lowRISC/opentitan/issues/7021 I had thought when rotating keys it'd be possible to start OTBN also, though with what is suggested in this PR: https://github.com/lowRISC/opentitan/pull/7628 that won't be possible.

If keys are fetched initially during startup, we can delay the start of the software execution until keys are actually present, or alternatively, add a BUSY_SETUP STATUS to indicate to Ibex not to start an operation until OTBN is ready.

I think that would be acceptable. What we were trying to avoid was SW starting OTBN, then OTBN waiting for keys to be available. Keys never appearing so OTBN never finishes and the SW waits forever. Here the start command couldn't be issued so we wouldn't get that scenario. The SW will spin waiting for the status to change but at least it should be more obvious what's causing the hold up.

@imphil can we get the CI issue fixed and this PR merged? I'm working on https://github.com/lowRISC/opentitan/issues/7470 which needs to build on top of it.

@GregAC most of the CI issue comes from a lack of implementation :-) But if you're working on #7470 (thanks!) I'll stub out the signals and update the PR this afternoon.

@GregAC most of the CI issue comes from a lack of implementation :-)

Ah ok, in that case don't worry. I believe I can add a commit to this PR so we can merge it all together.

@GregAC update here: This change is now complete and passes all CI except for the automated CSR tests in DV. I'll keep looking into that, it's probably some exclusion I missed.

Automated CSR tests were failing with a X assert because I forgot to stub out one signal in the err_code register. That's fixed now and we're ready to go to unblock Greg's follow-up doing the actual implementation. I'll need to re-read the discussion here and file follow-ups as necessary; I'll do that next.

Apologies for a drive-by post-merge comment - Tim referenced this issue in another meeting today and I realized I never got around to this one so I went to take a look.
I think the resolution here for this specific / these specific error handling is good, no concerns from my side.
However, what occurred to me in the context of the other meeting was that some types of operations (key generation specifically comes to mind, but there might be others) might want a mechanism to promote recoverable errors to fatal (similar to the -Werror switch in gcc that promotes warnings to errors).  Basically a "paranoid" mode.
Would that be feasible here?


MRG,DOC: convert references to bibtex

WIP, chipping away at bibtex updates.

In the interest of smallish diffs, I'm keeping these BibTeX PRs to a manageable number of files at a time / saving them for when I'm waiting for a long-running job to complete :)
This one is ready for review/merge; Style and Circle are happy and I checked all the examples that were touched and they render correctly.

Thanks @drammock


[Usage]: Optimizing TTFT for Qwen2.5-72B Model Deployment on A800 GPUs for RAG Application

Your current environment
Below is my current Docker Compose configuration:
services:
  vllm:
    image: vllm/vllm-openai:v0.6.4
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              device_ids: ['2', '3']
              capabilities: [gpu]
    ipc: host
    command:
      - "--model"
      - "qwen/Qwen2___5-72B-Instruct-GPTQ-Int4"
      - "--gpu-memory-utilization"
      - "0.9"
      - "--served-model-name"
      - "qwen2.5-72b"
      - "--enable-auto-tool-choice"
      - "--tool-call-parser"
      - "hermes"
      - "--tensor-parallel-size"
      - "2"
      - "--enable-prefix-caching"
      - "--multi-step-stream-outputs"
      - "False"

How would you like to use vllm
I'm currently deploying the Qwen2.5-72B model using VLLM on two NVIDIA A800 GPUs for a Retrieval-Augmented Generation (RAG) application. The load on the model involves processing token sequences greater than 6000 tokens. My goal is to reduce the Time to First Token (TTFT) for the service to improve overall performance and responsiveness.
The current configuration results in a considerably high TTFT, which is impacting the overall performance of my RAG application. I would like to optimize the configuration to reduce the TTFT to improve the service's responsiveness.
Thank you for your assistance!
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

+1

want the a100 optimal config for this haha

AWQ uses the Marlin kernel, which does not work well for batches larger than 32 tokens,
so it is only suitable for low prefill workload and decoding.
If you want to optimize TTFT, it is best to use the fp16 or fp8 model
I'm not very sure that the increased memory footprint of fp8 compared to int4 can be fully covered by fp8 kv-cache
refer to INT4 GEMM vs INT4 GEMV vs FP16

GEMV (quantized): 20% faster than GEMM, only batch size 1 (not good for large context).
GEMM (quantized): Much faster than FP16 at batch sizes below 8 (good with large contexts).
FP16 (non-quantized): Recommended for highest throughput

read more

"Give Me BF16 or Give Me Death"? Accuracy-Performance Trade-Offs in LLM Quantization
Pushing the Boundaries of Mixed-Precision LLM Inference With Marlin
vLLM Brings FP8 Inference to the Open-Source Community

@noooop. I have nearly the same setup as @zhanghx0905 but on 2xA100 with 80gb RAM each using the suggested FP8 from neuralmagic. When i process sequences for RAG applications with ~25k tokens i have an TTFT from about
12 sec. Could you please guide me towards the optimal configuration for this setup?
Below is my docker compose configuration:
services:   vllm:     image: vllm/vllm-openai:latest     runtime: nvidia     deploy:       resources:         reservations:           devices:             - driver: nvidia               device_ids: ['0', "1"]               capabilities: [gpu]     environment:       HUGGING_FACE_HUB_TOKEN: "TOKEN"       VLLM_ALLOW_LONG_MAX_MODEL_LEN: 1     volumes:       - .cache/huggingface     ports:       - "80:8000"     ipc: "host"     command: [       "--model", "/root/.cache/huggingface/hub/neuralmagic-Qwen2-72B-Instruct-FP8",       "--tensor-parallel-size", "2",       "--served-model-name", "Qwen/Qwen2.5-72B-Instruct",       "--enable-auto-tool-choice",       "--tool-call-parser", "hermes",       "--max-model-len=30000",       "--max-num-batched-tokens", "30000",       "--max-log-len=100"     ]

@noooop. I have nearly the same setup as @zhanghx0905 but on 2xA100 with 80gb RAM each using the suggested FP8 from

Hello, thank you for your response. I tried using sglang again afterward, but I still experienced a significant TTFT when the input Token was very long, just as you described. For the RAG software, my expectation is to reduce the TTFT (e.g., to under 1 second) at the expense of other metrics, but I haven't found a solution yet.

@zhanghx0905 did you try to quantize the model on the fly? I mean - quantize it with the framework you use?

@zhanghx0905 did you try to quantize the model on the fly? I mean - quantize it with the framework you use?

now im using fp16 with 4 a800cards

how does it perform?


Updates cypher query in data observation

Signed-off-by: Rewanth Tammana<EMAIL_ADDRESS>Description
The cypher query is outdated (possibly due to updated data files). This PR updates the query with a working one!

Closing the PR. I was working on the outdated code. I compiled the binaries on outdated code, then pulled the code from main branch but forgot to build the binaries after pull.
The query in the documentation is working.

@rewanthtammana Cool. Yea I was like this doesn't seems right!

@pxp928 As I went further, I started finding more commands that weren't working. I felt something's not right & realized I didn't build after fetch. I will been more cautious going forward 😁


CASMPET-5640 Corrected VCS Password Update instructions (main)

Summary and Scope
Summarize what has changed. Explain why this PR is necessary. What is impacted? Is this a new feature, critical bug fix, etc?
Corrected VCS password update instructions. No code changes.
Is this change backwards incompatible, backwards compatible, or a backwards compatible bugfix?
VCS password update instructions have stayed the same since 1.0 to mainline dev so not expecting incompatibilities.
Issues and Related PRs
List and characterize relationship to Jira/Github issues and other pull requests. Be sure to list dependencies.

Resolves CASMPET-5640
Change will also be needed in release/1.0 and release/1.2
~Future work required by [issue id](issue link)~
~Documentation changes required in [issue id](issue link)~
~Merge with/before/after <insert PR URL here>~

Testing
List the environments in which these changes were tested.
Tested on:

fanta

Test description:
How were the changes tested and success verified? If schema changes were part of this change, how were those handled in your upgrade/downgrade testing?

Followed instructions to change VCS password and then verified the change by logging into VCS.
Change the VCS password back.

Were the install/upgrade-based validation checks/tests run (goss tests/install-validation doc)? No
Were continuous integration tests run? If not, why?  No
Was upgrade tested? If not, why?  No
Was downgrade tested? If not, why?  No
Were new tests (or test issues/Jiras) created for this change?  No

Risks and Mitigations
Are there known issues with these changes? Any other special considerations?
No other known issues.
Pull Request Checklist

[ ] Version number(s) incremented, if applicable
[ ] Copyrights updated
[ ] License file intact
[ ] Target branch correct
[ ] CHANGELOG.md updated
[ ] Testing is appropriate and complete, if applicable
[ ] HPC Product Announcement prepared, if applicable

Same changes as this PR: #1661

Done

I don't seem to have permissions to merge. Can someone please squash and merge this?


[LIVE-7949] Design polishes for the new firmware update UX

📝 Description
This PR implements most of the design polishes for the firmware update new UX tracked on LIVE-7949. It contains mainly spacing and wording changes. Should have no impact on functionality.
❓ Context

Impacted projects: ledger-live-mobile
Linked resource(s): LIVE-7949

✅ Checklist

[N/A] Test coverage
[x] Atomic delivery
[x] No breaking changes

📸 Demo
https://github.com/LedgerHQ/ledger-live/assets/6013294/2c965927-bf93-4567-9d9b-b6babfbd0286

Tested and validated


add website

https://www.plancarbonegeneral.com/headquarter/numerique

Hey, Can I Contribute?

thanks @GwenNicolas for your help 🙏

I close this issue, the PR is merged


DOC: Added missing example to stats.mstats.variation

Added missing example to stats.mstats.variation
#7168

Merged, thanks @mon23c!


DateTime query

I want to watch over some records for current day's entry in DateTimeColumn. Currently i'm doing it like this.
Stream<List<Step>> get watchAllStepsData => (select(steps)..where((object) => object.endDate.equals(DateTime.now()))).watch();
But i am not able fetch the records from DB.
can anyone please guide me through it?

By using DateTime.now(), you would filter all steps that end at exactly this time. If you need the records for today, maybe this can help:
final now = DateTime.now();
return (select(steps)..where((row) {
  final endDate = row.endDate;
  final sameYear = year(endDate).equals(now.year);
  final sameMonth = month(endDate).equals(now.month);
  final sameDay = day(endDate).equals(now.day);

  return and(sameYear, and(sameMonth, sameDay));
})).watch();

Wow! That was fast and that worked. Much appreciated

Always happy to help :)

I have a one more question where currently i'm stuck at. i want to fetch records between 7 days and  12 months. how can i achieve this? i am trying to get that result from last 2 days. :(

i want to fetch records between 7 days and 12 months

Haven't tested this, but it should work
final now = DateTime.now();
final twelveMonthsAgo = DateTime(now.year - 1, now.month, now.day, now.hour, now.second);
final sevenDaysAgo = now.subtract(Duration(days: 7));

return (select(steps)..where((row) {
  final matchesLowerBound = row.startDate.isBiggerOrEqualValue(twelveMonthsAgo);
  final matchesHigherBound = row.endDate.isSmallerOrEqualValue(sevenDaysAgo);

  return and(matchesLowerBound, matchesHigherBound);
})).watch();

I'm not entirely sure if that causes problems when the same date doesn't exist in the previous year (e.g. if this year has a leap day then constructing a DateTime with year - 1 might not yield the correct data). It looks like Dart just chooses the next date that fits in that case, but I couldn't find any quick documentation on that. There can be other problems with daylight saving offsets (see the documentation of DateTime.subtract for details).
I'll see if sqlite has some builtin functions to make this easier.

Hi, I was trying to get single data by id from now to 7 days ago ago but always getting null. Below is what I have tried. I am only using timestamp as my datetime
final now = DateTime.now();
final sevenDaysAgo = now.subtract(Duration(days: 7));

return (select(mTransactions)..where((row) {
   final matchesId = row.id.equals(id);
   final matchesLowerBound =
          row.timestamp.isBiggerOrEqualValue(sevenDaysAgo);
   final matchesHigherBound =
          row.timestamp.isSmallerOrEqualValue(now);

   return matchesId & matchesLowerBound & matchesHigherBound;
}))
.getSingle();

Hm, that code looks alright to me. You can use row.timestamp.isBetweenValues(sevenDaysAgo, now) as a simplification, but that shouldn't change anything. Are you sure that there is a matching row?

Hi again, I think I see a small bug here
When I do a simple insert (which works well), in the timestamp column, the data entered is in 13 digits like so<PHONE_NUMBER>000. Below is the class table
class MTransactions extends Table {

  @override
  String get tableName => 'transactions';

  IntColumn get id => integer().autoIncrement()();
  TextColumn get title => text()();
  TextColumn get body => text()();
  DateTimeColumn get timestamp => dateTime()();
}

But when I tried to query, the timestamp passed is in 10 digits like so<PHONE_NUMBER> but in the table what was inserted was in 13 digits. I think this is what makes it return null. Example is the logged select query using the following
final now = DateTime.now();
final sevenDaysAgo = now.subtract(Duration(days: 7));

return (select(mTransactions)..where((row) {
   final matchesId = row.id.equals(id);
   final matchesLowerBound =
          row.timestamp.isBiggerOrEqualValue(sevenDaysAgo);
   final matchesHigherBound =
          row.timestamp.isSmallerOrEqualValue(now);

   return matchesId & matchesLowerBound & matchesHigherBound;
}))
.getSingle();

What is logged out is this
Moor: Sent SELECT * FROM transactions WHERE id = ? AND timestamp >= ? AND timestamp <= ?; with args [28,<PHONE_NUMBER>,<PHONE_NUMBER>]

But when I tried it with the customSelectQuery it worked because I set the timestamp query to have 13 digits which are in milliseconds and it returned data. See below
return await customSelectQuery("""
      SELECT * FROM transactions WHERE id = '$id' AND timestamp >= '1579266900000' AND timestamp <= '1585749887000'
    """)
        .map((transaction) =>
            MTransaction.fromData(transaction.data, appDatabase))
.getSingle();

And this is the logged output
Moor: Sent  SELECT * FROM transactions WHERE id = '40' AND timestamp >= '1579266900000' AND timestamp <= '1585749887000'

So from what I have seen it that what is inserted is in milliseconds (that is in 13 digits) and when querying it is in seconds (that is in 10 digits)

When I do a simple insert (which works well), in the timestamp column, the data entered is in 13 digits like so<PHONE_NUMBER>000. Below is the class table

This sounds wrong. We store date time values as unix timestamp (in seconds), as this is what most date functions in sqlite work with.
When inserting DateTime values, moor should encode them like that:
https://github.com/simolus3/moor/blob/e89f1c924c05b9f4cc5ff8efbed53c027691369a/moor/lib/src/runtime/types/sql_types.dart#L137
Are you doing anything special when writing the insert?


Just some random thoughts off the top of my head...

Hi, wanted to seize the opportunity and provide some feedback (before there's even any code :)

Could you provide a link to the haskell and erlang packages you were referring to? I couldn't find anything that looks at all robust or anywhere near complete (https://hackage.haskell.org/package/iso8583-bitmaps-<IP_ADDRESS>, https://github.com/josepablocastro/efak ?) I'd be interested to see how they're doing things ...

Personal opinion: it would probably make a lot of sense to make the c lib as rudimentary as possible (i.e. avoiding mem allocation, libc usage, etc if possible). My feeling is that a C implementation would bring the most value in the embedded space (think terminal hardware, smartcard) and that using it to bootstrap a lot of binding libraries may be more hassle than it's worth.

I like your idea of having a 'portable' testing spec that could be reused both for the bindings as well as possibly other implementations.

Also: where's a good place to discuss? I never really know at github, this post doesn't really feel like an issue to me but would belong on a mailing list or something... Any preferences?

Hello,
first, thanks for taking the time to provide feedback.

Could you provide a link to the haskell and erlang packages you were referring to?

iso8583-bitmaps and https://code.google.com/archive/p/erl8583/downloads . To be honest I think I overreacted a little in the description, those are not state of the art libs, they just have one good or two ideas.

My feeling is that a C implementation would bring the most value in the embedded space

I want to create a solid thread-safe library that enjoys the benefits of C. Small memory footprint, Speed (true multi-threading env) and portability (embedded systems). I know I can do a more than acceptable work, but I'm afraid I'm not familiar with all the limitations of the embedded ecosystem. I'd love to hear more about these limitations.

I like your idea of having a 'portable' testing spec that could be reused both for the bindings as well as possibly other implementations.

Oh that's nice to hear, yes, last year I was developing a solution for a local company and one of the fantasies I had was the one of having a portable spec.

by the way I'm using your ruby 8083 lib quite successfully, right is handling ~20k trans/day. this is the product and the company: https://visanetdominicana.com/ncf-pos

where's a good place to discuss?

my email is<EMAIL_ADDRESS>it can be Slack though. Btw for the next 3 days I'll be staying in a place with limited internet access, expect a delay in my responses.


The events service isn't working

Seems that events points to a missing wsdl file (the one included is event.wsdl).  Even when renamed it does not allow creating PullPointSubscriptions.

Can you paste the stack infomation ? @siegeld

959d53f5a80bcfd15cf8028230f4bfe454f97a9b may fix this. @siegeld

Is there any example how to use events?
I'm trying:
$ onvif-cli -u admin -a admin --host <IP_ADDRESS> --wsdl /usr/local/wsdl
ONVIF >>> cmd events GetEventProperties
True: {'TopicExpressionDialect': [http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet], 'ProducerPropertiesFilterDialect': [http://docs.oasis-open.org/wsn/t-1/TopicExpression/Concrete], 'MessageContentFilterDialect': [http://www.onvif.org/ver10/tev/messageContentFilter/ItemFilter], 'FixedTopicSet': False, 'MessageContentSchemaLocation': [http://www.onvif.org/ver10/schema/onvif.xsd], 'TopicNamespaceLocation': [http://www.onvif.org/onvif/ver10/topics/topicns.xml], 'TopicSet': (TopicSetType){
   documentation = ""
 }}
ONVIF >>>  cmd events PullMessages
False: No Operation: PullMessages

"PullMessages" should the correct operation as listed here: http://www.onvif.org/onvif/ver20/util/operationIndex.html - I can also see it in /usr/local/wsdl/events.wsdl - what am I doing wrong?


0.15.4. missing version bump

Version of HACS
0.15.4
Describe the bug
The version in const.py was not updated (it is still 0.15.3), so hacs will always show as "upgrade available".

You know it took you longer to create this issue then a PR to change it? 😅

Heh. Wasn't sure if there was some magic involved in releasing HACS and whether 0.15.4 or 0.15.5 was correct. Also didn't have much time, because dinner was waiting ^_^ But sure, here is a PR.
I assume 0.15.4 already points to the old commit, so I incremented to 0.15.5.

oh.. :/
I have already pushed 0.15.5 https://github.com/custom-components/hacs/releases/tag/0.15.5


How to transform 3D data such as MedMNIST3D

Hi, I noticed that the datasets available in the usb project include MedMINIST3D, but found such code in class MedMNIST3D(MedMNIST), I want to know how to perform transforms for 3D data, according to the code, I found that it will perform the same process as 2D data, because there is only one get_medmnist. Is this the correct way to do it ? And what does "return: (without transform/target_transofrm)" mean here
Looking forward to your reply

Hi, currently we have no support to 3D data and 3D backbone.
You need to modify the augmentation and corresponding network architecture part.

Hi, currently we have no support to 3D data and 3D backbone. You need to modify the augmentation and corresponding network architecture part.

Thanks for your reply, I still have a little doubt about the strong augment in ssl. I saw that the definition of the enhancement part in the code is to add the Normalize operation at the end of the transforms, but the strong augment seems to change the contrast, color and other information of the image. Will this cause the enhanced image to no longer conform to the original pixel_mean and pixel_std, will this have any impact on the model? please let me know if you have any insights on this issue, thanks again


atomic design

Start organizing SCSS based on Atomic Design.

Is this ready for review @whit537 ? Just making sure before I test/merge.


NEI item tooltips don't use Item.getFontRenderer(...)

This breaks BuildCraft 7 Recipe Package tooltips.

To reproduce, grab http://asie.pl/buildcraft-<IP_ADDRESS>.jar, place a Recipe Packager, package any recipe with it (for example, make a pattern of a pickaxe and then place the resources below) and check the tooltip. If it looks like "|S0 |S1 |S2", it's using vanilla font rendering. If it has pretty icons, it's using BuildCraft's.

What it is, I believe, is that GuiDraw's multiline tip function always forces the Minecraft font renderer. A variant with an item-specific font renderer should be provided there and then used in GuiContainerManager.renderTooltips.

Fixed
CCL https://github.com/Chicken-Bones/CodeChickenLib/commit/42b022af2aac81935b9dd23cfb6c95f74700c995 (1.7.10-<IP_ADDRESS>)
CCC (1.7.10-<IP_ADDRESS>)
NEI fbcd6692ed0f7a2ac6b6e5a6a636d4abc363c5fe (1.7.10-<IP_ADDRESS>)

Thanks a lot!

Your solution has one last bug. Vanilla only uses a custom font renderer if getFontRenderer is non-null, so you should add a nullcheck there. Thanks!

https://github.com/Chicken-Bones/NotEnoughItems/blob/d02fdc2f0bde3437c508ce9516e2a735fa24690d/src/codechicken/nei/guihook/GuiContainerManager.java#L100

Oh, okay

No worries


"Become a Sponsor" doesn't generate new address

Hi,
The "Become a Sponsor" doesn't generate new address for new project where i want to become as sponsor. I clicked there and nothing - i see again this button...
I think it's bug.

I reproduced it, the problem is confirmed, will investigate/solve it.


extrinsic sender should keep track of spec version

While upgrading integritee-runtime I observed that the SCV1 stopped sending extrinsics after the upgrade.
the Log says:
[2023-12-18T10:01:58Z DEBUG integritee_service::ocall_bridge::worker_on_chain_ocall] Enclave wants to send 1 extrinsics to parentchain: Integritee. await each inclusion: false
[2023-12-18T10:01:58Z ERROR integritee_service::ocall_bridge::worker_on_chain_ocall] Could not send extrinsic to node: Ok("\"0x3d038400a26ad684039c978b68957f3f42ac0d9dadd6ba5b132d30c9b14b87eea0677fa80071c54d77072445fc7f524fa43ac53d330ff4ecf74ee5d429944672ff177802f35a8d775ec8576f9bdbd85b3ed550383d54009cb840549aa95bb6857a3395bb0c00be600300003601496e636f676e69746565546573746e65743030303030303030303030303030312e60c98e79b3c961d526a46fea25560ffc1adb996bd747de5623d9c6b49ac24cb67d38000000000000000000000000000000000000000000000000000000000000000000\""), error: RpcClient(SerdeJson(Error("invalid type: null, expected a (both 0x-prefixed or not) hex string or byte array containing 32 bytes", line: 1, column: 4)))

while the log is confusing, one obvious reason is that extrinsic signatures are invalid because the spec version changed

this issue is problematic if we don't have retries for extrinsics
Possible robust solution

listen to ValidationFunctionStored and pause execution of TOPs which need to send extrinsics (unshield, publish hash)
listen to ValidationFunctionApplied, update spec_version and metadata (or simply restart service as a quick fix?)
possibly track spec_version together with last finalized block cache

this is actually not a good approach:

just tracking spec_version won't do. we need to update metadata as well. The latter can't be done dynamically without major refactoring

Better to just shut down the service if an upgrade happened: #1633


Create unified backend response mechanism

Basics have been done. Now all new endpoints should follow the style (implement the interfaces in the common project, return a success status, an error field and a payload).


libcgroup: 0.42.2 -> 2.0.2

Description of changes

Update libcgroup package to v2.0.2.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

I think this diff fixes the build:
diff --git a/pkgs/os-specific/linux/libcgroup/default.nix b/pkgs/os-specific/linux/libcgroup/default.nix
index fb72be4f69f..715aa690277 100644
--- a/pkgs/os-specific/linux/libcgroup/default.nix
+++ b/pkgs/os-specific/linux/libcgroup/default.nix
@@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
     owner = pname;
     repo = pname;
     rev = "v${version}";
-    sha256 = "0bw2xsmkpaj1qgv0kgmyp4yhfrknh4l497i00ndk74bjajj09pjr";
+    hash = "sha256-o9eXbsgtGhODEbpbEn30RbYfYpXo6xkU5ptU1och5tU=";
+    fetchSubmodules = true;
   };

   buildInputs = [ pam bison flex ];

I think this diff fixes the build:
diff --git a/pkgs/os-specific/linux/libcgroup/default.nix b/pkgs/os-specific/linux/libcgroup/default.nix
index fb72be4f69f..715aa690277 100644
--- a/pkgs/os-specific/linux/libcgroup/default.nix
+++ b/pkgs/os-specific/linux/libcgroup/default.nix
@@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
     owner = pname;
     repo = pname;
     rev = "v${version}";
-    sha256 = "0bw2xsmkpaj1qgv0kgmyp4yhfrknh4l497i00ndk74bjajj09pjr";
+    hash = "sha256-o9eXbsgtGhODEbpbEn30RbYfYpXo6xkU5ptU1och5tU=";
+    fetchSubmodules = true;
   };

   buildInputs = [ pam bison flex ];

thanks, it worked

@ofborg build libcgroup


Multiple App Opened When the App Installed by Other User

Hi, I'm facing an issue when there are multiple user in one mac where every user has their own set of applications.
This might be related to how MacOS works (because Spotlight is facing similar issue), where we can use application installed in another user account.
To fix this, I think this PR (https://github.com/sindresorhus/app-exists/pull/7) could help. cmiiw
Regards,

Hi, I'm facing an issue when there are multiple user in one mac where every user has their own set of applications.

You have not described what the actual issue is.


Dev: Check Conflicts Remove label does not work

When I resolved conflicts and pushed to the PR branch, "Auto Label "stale" / Check Conflicts" failed.
See #7955
Run # MERGEABLE with 'stale' label

  # MERGEABLE with 'stale' label
  if [ "$(echo $PR_DETAIL | jq -r '.mergeable')" == "MERGEABLE" ] && \
     [ "$(echo $PR_DETAIL | jq -r '.labels[] | select(.name == "stale")')" != "" ]; then
     # remove 'stale' label
     gh pr edit $PR_URL --remove-label "stale"
  fi
  shell: /usr/bin/bash -e {0}
  env:
    PR_DETAIL: {"labels":[{"id":"MDU6TGFiZWwyNTMxNTUyNzA=","name":"bug","description":"Verified issues on the current code behavior or pull requests that will fix them","color":"fc2929"},{"id":"MDU6TGFiZWwxMDY5MjIwODIw","name":"stale","description":"Pull requests with conflicts","color":"ed769c"},{"id":"MDU6TGFiZWwyNDQzNTU0NDM1","name":"breaking change","description":"Pull requests that may break existing functionalities","color":"ff0000"},{"id":"LA_kwDOAniwTs8AAAABXsQnNQ","name":"4.5","description":"","color":"0e8a16"}],"mergeable":"MERGEABLE","url":"https://github.com/codeigniter4/CodeIgniter4/pull/7955"}
    GITHUB_TOKEN: ***
    PR_URL: https://github.com/codeigniter4/CodeIgniter4/pull/7955
GraphQL: Resource not accessible by integration (removeLabelsFromLabelable)
Error: Process completed with exit code 1.

https://github.com/codeigniter4/CodeIgniter4/actions/runs/6347432291/job/17242438331?pr=7955
Ref #7959

#7981 also failed.

GraphQL: Resource not accessible by integration (removeLabelsFromLabelable)

Many action running using permission read, I think this section of permission job.

https://github.com/PHPDevsr/check-conflict-action/actions
https://github.com/PHPDevsr/playground/actions

You can see 2 action running well with write permission

https://github.com/orgs/community/discussions/60820
https://github.com/orgs/community/discussions/57878
Maybe can be reference

https://github.com/orgs/community/discussions/68739
I already opened discussion in github community

#7955 also failed.
https://github.com/codeigniter4/CodeIgniter4/actions/runs/6374175867/job/17298517835?pr=7955

#7981 failed.
https://github.com/codeigniter4/CodeIgniter4/actions/runs/6389158935/job/17340089263?pr=7981


Document manage inside Virtual Machines

Hello,
Can Manage Document And data file manage inside Virtual Machines ?

I had the same use case, so I just implemented documents for virtual machines just now. I will create a pull request any time soon.


[Just info] https://github.com/jamescook/libui-ruby has been archived as of October 2023

https://github.com/jamescook/libui-ruby has been archived as of
October 2023. Just mentioning this here in case kojix2 has not
yet seen it. So LibUI is the only remaining option for libui now
(or rather libui-ng).

I did not know that.


Update config.pp to accomodate new choco feature list -r output

The findstr fails to match on the new version of chocolatey <IP_ADDRESS>.  This is less exact but ignores the descriptions after the enabled/disabled section.

Looks good.


Updated your changes in Headings and subheadings .

Use first text as bold and second with blue colour and the light format also add spacing the MOOCs card


to support upsert

mysql:           https://dev.mysql.com/doc/refman/8.0/en/insert-on-duplicate.html
postgresql:    https://www.postgresql.org/docs/9.5/static/sql-insert.html#SQL-ON-CONFLICT

At the moment there are no UNIQUE constraints in ClickHouse, even for what looks like primary key, so there's no way there would be constraint violations that could be handled differently.


Docker image of i386/rss-bridge

Is your feature request related to a problem? Please describe.
N/A
Describe the solution you'd like
I would like a i386 docker image of RSS-Bridge to pull from Docker Hub.
Describe alternatives you've considered
While I may possibly be able to struggle through setting up a manual installation of PHP within a basic Docker image would very much prefer to keep in step with RSS-Bridges official images as to not fall behind on security, features, etc. My skill with Docker is near non-existent, however I can handle editing & launching from a docker-compose file.
Additional context
The goal of this is to re-purpose a Intel Pentium M that, while quite old, now successfully runs Docker & has 696MB RAM being unused awaiting this web application.
uname -a
Linux pentiumM 6.0.15_1 #1 SMP PREEMPT_DYNAMIC Thu Dec 22 14:24:59 UTC 2022 i686 GNU/Linux
docker --version
Docker version 20.10.22, build tag v20.10.22
docker-compose --version
Docker Compose version v2.12.2
lscpu
Vendor ID:            GenuineIntel
Model name:           Intel(R) Pentium(R) M processor 2.26GHz

Allowing for i386 (rather i686) builds for rss-bridge requires changing the base image (as this project is using amd64/arm32/arm64-based ones) and either removing the support for curl-impersonate or building an i686 version for it (as there is no i686 upstream build available) .
If you can live without the curl-impersonate support (and automatic update) you can simply do the following (semi-tested):

Install git via your distributions package manager
Checkout the project into a directory: git clone https://github.com/RSS-Bridge/rss-bridge.git
Edit the Dockerfile like below (essentially changing base image to a i686-based one) and removing the curl-impersonate support:

FROM i386/php:7.4.33-fpm-bullseye AS rssbridge

LABEL description="RSS-Bridge is a PHP project capable of generating RSS and Atom feeds for websites that don't have one."
LABEL repository="https://github.com/RSS-Bridge/rss-bridge"
LABEL website="https://github.com/RSS-Bridge/rss-bridge"

RUN apt-get update && \
    apt-get install --yes --no-install-recommends \
      nginx \
      zlib1g-dev \
      libzip-dev \
      libmemcached-dev \
      nss-plugin-pem \
      libicu-dev && \
    docker-php-ext-install zip && \
    docker-php-ext-install intl && \
    pecl install memcached && \
    docker-php-ext-enable memcached && \
    docker-php-ext-enable opcache && \
    mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"

COPY ./config/nginx.conf /etc/nginx/sites-enabled/default

COPY --chown=www-data:www-data ./ /app/

EXPOSE 80

ENTRYPOINT ["/app/docker-entrypoint.sh"]

Build the image locally: docker build -t jnolan7599/rss-bridge:latest
Edit your docker-compose.yml  and replace rssbridge/rss-bridge:latest with jnolan7599/rss-bridge:latest
In case you want to update the code to a newer version you would just update the git repository via git pull and rebuild the image like in step 4 as there is no automatic update with a newer image version

Note that it would be possible to provide this in a separate Dockerfile and use the github release process to build those images, but I'm unsure if a maintainer would accept such a request as it increases the maintenance burden.

@reneploetz Thank you for such a detailed response & HOW-TO. It seems I will not be able to give up curl-impersonate based on this information.
I think I'll end up following this HOW-TO regardless as an exercise; I'd hate to waste anyone else's time for a similar request in the future. Thanks again.

Closing.

@reneploetz Thank you for such a detailed response & HOW-TO. It seems I will not be able to give up curl-impersonate based on this information. I may have to seek a proper x64 host machine after all.
I think I'll end up following this HOW-TO regardless as an exercise; I'd hate to waste anyone else's time for a similar request in the future. Thanks again.

Note that you only need the curl impersonate support if the website you are requesting using rss-bridge is using very specific client detection. This is mostly only relevant for Cloudflare circumvention. If you do not require this, you can just follow the guide and do not care too much about it.
If you really, really, really need to have this support you could try to build the source from here: https://github.com/lwthiker/curl-impersonate - but this will require a bit more work (alternativly: you can ask the maintainer over there if they would be willing to do this).


Missing requirement PrettyTable

Is this a request for help?:
YES
Is this a BUG REPORT or a FEATURE REQUEST? (choose one):
BUG REPORT

Version of Anchore Engine and Anchore CLI if applicable:
0.2.2
What happened:
anchore-engine won't install and run without error because the package PrettyTable was not installed. It appears to be missing from requirements.txt

@CameronLonsdale Thanks! We'll get this fixed. It is usually pulled in as part of the anchore CLI install, but should definitely be listed in the engine requirements.txt as well. Marking this as a bug and will update when merged.

@zhill Yeah that sounds correct, I was installing anchore-engine without anchore-cli and that error popped up. Definitely should be in the the engine requirements.txt :)


vertical bar breaks readme genarator

If a vertical bar | is included in e.g. the default value for an input (same for output I guess..) the readme will not be generated corretly.
The table breaks due the fact the vertical bar will be interpreted as syntax element of the table.
inputs:
  example:
    default: "aaaa|bbbb|cccc"

It might be a good idea to replace the pipe with |.

@fty4 I have addressed this in version v1.2.3

Thanks for the fast implementation.
Unluckly there is still a problem if the value is inside a code block:
inside codeblock:
fix|feat|revert
without codeblock:
fix|feat|revert
Therefore it might be better to remove the codeblock in case the string contains a vertical bar..
Or what would you suggest @Jamie-BitFlight?

I’ll see if I can detect being inside a codeblock. I just wrote this markdown table generator yesterday and it doesn’t have all these features yet :)
Regards,
Jamie Nelson
+1<PHONE_NUMBER>
On Aug 11, 2022 at 2:04 AM, <Marco @.***> > wrote:
Thanks for the fast implementation.
Unluckly there is still a problem if the value is inside a code block:
inside codeblock:
fix|feat|revert
without codeblock:
fix|feat|revert
Therefore it might be better to remove the codeblock in case the string contains a vertical bar..
Or what would you suggest @Jamie-BitFlight?
—
Reply to this email directly, view it on GitHub https://github.com/bitflight-devops/github-action-readme-generator/issues/168#issuecomment-1211582904 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AF7J6MCSSU77267NUI7ZJ4DVYSJYLANCNFSM55463X2Q .
You are receiving this because you were mentioned. https://github.com/notifications/beacon/AF7J6MDJPU3OO7SCMQYBLFTVYSJYLA5CNFSM55463X22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJA3UTOA.gif Message ID: @.***>


Add FBitxel Roads

inscriptions.json
meta.json
Hello Unisat team,
I’d love to add my collection, FBitxel Roads, to the Unisat Ordinals marketplace. This unique collection inscribes car-themed NFTs on Fractal Bitcoin with distinct characteristics for each vehicle. Could you please grant me collaborator access to submit my collection files via a pull request? Your support in getting this exciting collection listed would be greatly appreciated! Thank you for all the incredible work you’re doing with Unisat.

hi, there's no any json files here. Please upload them. @Joalseca

inscriptions.json
meta.json


ORC-1776: Remove MacOS 12 from GitHub Action CI and docs

This is a clone of #2026 for branch-2.0.

This is resolved via 80b0fde1a5cc2c575ec3ad55a53781976e0b0a07


Modify various Rope iter-returning methods to use range arguments

There are a number of methods implemented on Rope that return iterators. Currently these methods all take start and end arguments for specifying the range of the rope to iterate over. It would be more ergonomic if this could be a Range argument instead. For a guide, you can check out Vec::drain in the stdlib.
This will want to wait until #570 has been merged; part of this work can be removing the _all variants of these iterators that were added there.
This will also involve fixing various consumers of the existing API.

I would like to give this a try. :)

@LiHRaM You're totally welcome to take a stab at this; maybe what's easiest is to actually work off of my branch? if should get merged eventually. I can also open this PR from the main xi-editor repo, which would let you submit your PR onto that branch.

@cmyr I've cloned your branch locally - is it okay if I just submit a PR against your branch there, or would you prefer if I submitted it against the main repo?
Personally, I don't care, but whatever's easiest for you. :)

@LiHRaM I've moved that branch into this repo, you can PR to it here. (see #575)


Unify eslint and prettier configs on monorepo

Fixes #1864
Short description

Move common config to root's .eslintrc.json and .prettierrc.json.
Remove the options now in the root dir from specific workspaces
On workspaces, keep only specific configs (e.g. Vue rules in dApp)
Fix lint issues on each package

Since this is a development/style only change, it doesn't need its changelog entry.
Definition of Done

[x] Steps to manually test the change have been documented
[x] Acceptance criteria are met
[ ] Change has been manually tested by the reviewer (dApp)

Steps to manually test the change (dApp)

Awesome, glad to get notified that this was completed. Keep up the good work :+1:


wx add the cdist op

Motivation and Context

Wx add the cdist op and modify the config file.
Description

Use cases (Optional)

BC-breaking (Optional)

Checklist
Before PR:

[ ] I have read and followed the workflow indicated in the Contributors.md to create this PR.
[ ] Pre-commit or linting tools indicated in Contributors.md are used to fix the potential lint issues.
[ ] Bug fixes are covered by unit tests, the case that causes the bug should be added in the unit tests.
[ ] New functionalities are covered by complete unit tests. If not, please add more unit test to ensure the correctness.
[ ] The documentation has been modified accordingly, including docstring or example tutorials.

After PR:

[ ] CLA has been signed and all committers have signed the CLA in this PR.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


✨ Add namespace option to use in cache keys.

Coverage remained the same at 100.0% when pulling a1d478232b2b2ae2b559e3fa58b505d4b07b6494 on feature/namespace into e691213bf00b78c3dc2715fafdff6a7b85b9df4a on master.

Coverage remained the same at 100.0% when pulling be1bf6c888122bc0b24e6c6b67c37b1916c70994 on feature/namespace into e691213bf00b78c3dc2715fafdff6a7b85b9df4a on master.

Coverage remained the same at 100.0% when pulling 483e8af80020b5c68428742809f73132f05326b1 on feature/namespace into e691213bf00b78c3dc2715fafdff6a7b85b9df4a on master.


Real-time chat

Hi, I am trying to use this library in a real-time chat application, but the messages don't keep alive. How can I fix this issue?
Code
self.chatHubConnection!.on(method: "getMessage", callback: {(result: MessageResponseModel) in
            self.dataSource.addMessage(result)
        })

I look forward to hearing from you.

What do you mean by "messages don't keep alive"?

In the chat application I developed, user A sends a message to user B. This message does not appear on user B. So it doesn't act like real-time chat.

@moozzyk issue fixed! (This problem was related to backend.)

I am glad you were able to resolve this.


Issue #818

Updating a design/software/standard no longer requires an administration. Only applied to these 3 forms because code and partnership are organised differently as each project is associated to an admin file, so it wouldn't work if it wasn't required.

Field shows as required, we need to update the label to not be required when an Existing item is selected.

My VM is stuck in the past but commit 0184e1b was made this morning in response to your comment

@simon332114 - are we good to review this one?

Yes


MAINT: Fix CIs

Closes #528

At this point I'm not sure actually what Azure adds to our testing. I'm inclined to remove it entirely and just stick with GHA. Okay @tkoyama010 ?

At this point I'm not sure actually what Azure adds to our testing. I'm inclined to remove it entirely and just stick with GHA. Okay @tkoyama010 ?

Thanks! That is a forget to delete.


chore: enable german crowdin downloads

Checklist:

[X] I have read freeCodeCamp's contribution guidelines.
[X] My pull request has a descriptive title (not a vague title like Update index.md)
[X] My pull request targets the main branch of freeCodeCamp.
[X] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

This separates the config logic from #47312 so that we can download the challenges and client translations - required before the CI will pass on that PR.

I suggest we document the process.

I suggest we document the process.

Sure - there's some overlap with our documentation for testing translations locally, so I might merge the two.

Sure - there's some overlap with our documentation for testing translations locally, so I might merge the two.

Sounds like a plan.


TypeLoadException: Could not load type 'NLog.Internal.ConfigurationManager' from assembly 'NLog,

NLog version: (e.g. 4.4.13)
4.5.10
Platform: .  .NET Core 2
Current NLog config (xml or C#, if relevant)
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      autoReload="true"
      internalLogLevel="info"
      throwExceptions="true"
      internalLogFile="c:\temp\internal-nlog.txt">

  <!-- enable asp.net core layout renderers -->
  <extensions>
    <add assembly="NLog.Web.AspNetCore"/>
  </extensions>

  <!-- the targets to write to -->
  <targets>
    <!-- write logs to file  -->
    <target xsi:type="File" name="allfile" fileName="c:\temp\nlog-all-${shortdate}.log"
            layout="${longdate}|${event-properties:item=EventId_Id}|${uppercase:${level}}|${logger}|${message} ${exception:format=tostring}" />

    <!-- another file log, only own logs. Uses some ASP.NET core renderers -->
    <target xsi:type="File" name="ownFile-web" fileName="c:\temp\nlog-own-${shortdate}.log"
            layout="${longdate}|${event-properties:item=EventId_Id}|${uppercase:${level}}|${logger}|${message} ${exception:format=tostring}|url: ${aspnet-request-url}|action: ${aspnet-mvc-action}" />

    <target xsi:type="Database"
            name="database">
      <connectionString>Server=localhost;Database=dr1;user id=dr;password=dr;MultipleActiveResultSets=true</connectionString>
      <commandText>
        insert into dbo.Log (
        Application, Logged, Level, Message,
        Username,
        ServerName, Port, Url, Https,
        ServerAddress, RemoteAddress,
        Logger, CallSite, Exception
        ) values (
        @Application, @Logged, @Level, @Message,
        @Username,
        @ServerName, @Port, @Url, @Https,
        @ServerAddress, @RemoteAddress,
        @Logger, @Callsite, @Exception
        );
      </commandText>

      <parameter name="@application" layout="${appsetting:name=AppName:default=Unknown\: set AppName in appSettings}" />
      <parameter name="@logged" layout="${date}" />
      <parameter name="@level" layout="${level}" />
      <parameter name="@message" layout="${message}" />

      <parameter name="@username" layout="${identity}" />

      <parameter name="@serverName" layout="${aspnet-request:serverVariable=SERVER_NAME}" />
      <parameter name="@port" layout="${aspnet-request:serverVariable=SERVER_PORT}" />
      <parameter name="@url" layout="${aspnet-request:serverVariable=HTTP_URL}" />
      <parameter name="@https" layout="${when:inner=1:when='${aspnet-request:serverVariable=HTTPS}' == 'on'}${when:inner=0:when='${aspnet-request:serverVariable=HTTPS}' != 'on'}" />

      <parameter name="@serverAddress" layout="${aspnet-request:serverVariable=LOCAL_ADDR}" />
      <parameter name="@remoteAddress" layout="${aspnet-request:serverVariable=REMOTE_ADDR}:${aspnet-request:serverVariable=REMOTE_PORT}" />

      <parameter name="@logger" layout="${logger}" />
      <parameter name="@callSite" layout="${callsite}" />
      <parameter name="@exception" layout="${exception:tostring}" />
    </target>

  </targets>

  <!-- rules to map from logger name to target -->
  <rules>
    <!--All logs, including from Microsoft-->
    <logger name="*" minlevel="Trace" writeTo="allfile,database" />

    <!--Skip non-critical Microsoft logs and so log only own logs-->
    <logger name="Microsoft.*" maxLevel="Info" final="true
            " />
    <!-- BlackHole without writeTo -->
    <logger name="*" minlevel="Trace" writeTo="ownFile-web" />
  </rules>
</nlog>

What is the current result?
TypeLoadException: Could not load type 'NLog.Internal.ConfigurationManager' from assembly 'NLog, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=5120e14c03d0593c'.
What is the expected result?
it to work better than this
Did you checked the Internal log?
Please post full exception details (message, stacktrace, inner exceptions)
Are there any workarounds? yes/no
Not that I have found. Just updated teh packages via nuget and went backwards in getting this working.
Is there a version in which it did work?
I was on 4.5.4 and did not have this error. I had other issues so upgraded.
Can you help us by writing an unit test?

Well, that has got it working - thank you. There are too many options and too many configs flying around the web, mine was just a mess of copy paste fails to get it working.
Any idea why the config seem to have empty values for:
ServerName	Port	Url	Https	ServerAddress	UserName	RemoteAddress
0			:
and why a connection to (localdb)/name does not work? It couldn't connect, but I just copied the connection string from the app settings so I know it is correct.
Cheers

Instead of just taking random settings from random places and mashing them together in new an exciting ways. Then it is a usually a good idea to read a little about them first. Lot of things has changed with NetCore.
serverVariable is not supported on NetCore. See also: https://github.com/NLog/NLog/wiki/AspNetRequest-layout-renderer
Instead you should go for these individual layout-renderers:
${aspnet-request-cookie} - ASP.NET Request cookie content. NLog.Web.AspNetCore
${aspnet-request-form} - ASP.NET Request form content. NLog.Web.AspNetCore
${aspnet-request-host} - ASP.NET Request host. NLog.Web.AspNetCore
${aspnet-request-ip} - Client IP. NLog.Web.AspNetCore
${aspnet-request-method} - ASP.NET Request method (GET, POST etc). NLog.Web.AspNetCore
${aspnet-request-querystring} - ASP.NET Request querystring. NLog.Web.AspNetCore
${aspnet-request-referrer} - ASP.NET Request referrer. NLog.Web.AspNetCore
${aspnet-request-url} - ASP.NET Request URL. NLog.Web.AspNetCore
${aspnet-request-useragent} - ASP.NET Request useragent. NLog.Web.AspNetCore
${aspnet-session} - ASP.NET Session variable. NLog.Web.AspNetCore
${aspnet-sessionid} - ASP.NET Session ID variable. NLog.Web.AspNetCore
${aspnet-user-authtype} - ASP.NET User auth. NLog.Web.AspNetCore
${aspnet-user-identity} - ASP.NET User variable. NLog.Web.AspNetCore

I have no clue why your LocalDb-connection is not working. Think it is out of scope for my expertise. Not the owner of your developer PC.

Blog Post with NetCore + NLog + Database:
https://damienbod.com/2016/08/17/asp-net-core-logging-with-nlog-and-microsoft-sql-server/
More examples here:
https://github.com/damienbod/AspNetCoreNlog

Has your question being answered?

Closing this due to inactivity. Please let us know if this still an issue and please provide the requested info -
thanks!


Why did I use llama2-7B when pruningthe model to the same size as the original model

Why did I use llama2-7B when pruningthe model to the same size as the original model

I think pruning does not give any memory gain. However,  you may observe some speedup if your model is pruned with a semi-structured pruning method.


Prevent resolver session start to get stuck

I am not sure why it happens (maybe due to changes in the latest version of aiohttp?), but suddenly proxybroker started getting stuck.
I don’t really understand the affected code, but this change seems to solve the issue for me. I hope it helps.

Yes, I also faced this bug on new python 3.6.
Great.


⚠ Jenkins Plugins Artifactory has degraded performance

In b3c77be, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1336 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 1bd4a03 after 21 minutes.


Easy way to submit package yaml

I'm the author of Royal TS. I searched through the issues and couldn't find something similar, so here we go:
Description of the new feature/enhancement
As the subjects states: an easier way to submit packages is needed. I'm using a completely automated CI pipeline (Azure Devops) and I tried to automate the package submission using a PR by script. This is extremely hard (for me). I'm not a git guru but after spending days, I wasn't able to make it work reliably.
Proposed technical implementation details (optional)
Like chocolatey, provide a simple command line tool where a new package yaml file can be submitted.
Alternatively, provide a solid working sample or an Azure Devops task which makes the submission easier.
Thanks for listening. I really would like to update the yaml with each of my release.
Stefan

@StefanKoell we are working on both a reference implementation on how to automate the submission, and tooling to make it easier to generate/submit manifests.

We are building a tool that will help create manifests and submit PRs.

We are building a tool that will help create manifests and submit PRs.

@StefanKoell WinGetCreate is now available to create manifests. By the way, you can also YamlCreate.ps1 script present in the Tools folder of this repository.
@denelon Can this issue be closed now?

https://github.com/microsoft/winget-create support CI/CD scenarios.


incorrect tooltip location

when I pass the mouse to generate the tooltip it is generated wrong, instead of appearing on the right of the initial image it is generated on top of it.

any solution?

Hi @Chiquis2005, can you try again with the latest version and let us know if that behavior was fixed, please?

same error

Hi @aronhelser @alexgurr @pdeszynski, can you guys check that issue, please?


New anonymous chats created

Hello,
With the latest upgrade, the package started to create chats from webhooks that can not be identified which group they belong to because the name is null.
I have two questions:

Is it possible to fill in the name in the database with the chat title instead it being null?
Is it possible to disable storing unknown chats like the previous behavior was with a config change?

Thank you!

Hi a fix will be issued in a few hours

@fabio-ivona Thank you!
My bot is installed by many users and it would be nice if we don't need to store all chats including the DM chats in the database. I don't think it adds a lot of value to store them all in the database. You probably already were thinking of that but I thought it can not hurt to mention :)
Thank you so much for the work!

@keyur555 implemented in #161

My bot is installed by many users and it would be nice if we don't need to store all chats including the DM chats in the database. I don't think it adds a lot of value to store them all in the database. You probably already were thinking of that but I thought it can not hurt to mention :)

I fully understand and agree with your point, it was an unwanted bug, thanks for this issue!

@fabio-ivona Thank you so much for this fast implementation! You are grandiose! I will give it a test and close this issue if I don't notice any issues :)

@keyur555 the issue will be automatically closed when I'll merge the fix, feel free to re-open it if you experience any issue


How to use local storage with react-oidc to remember active session/accesstoken after browser close?

Hello,
i have a question and hope you can help me.
how can i redeem the needed data from react-oidc to save them in local storage? And how do i feed in the data after a browser close and reopen?
At the moment my page "forgets" that there is a open session and force me to login again after i completely closed my browser and open it again. Is there a specific solution for that?
Thank you for helping.
Greetings HSUL

hi @hsul-git ,
Thank you for your issue. You can acitvate localStorage as default mode
storage: localStorage,
and remove service worker mode
// service_worker_relative_url: '/OidcServiceWorker.js',
// service_worker_only: false,
It should work as you expect but you loose a lot in security.

Hi @guillaume-chervet,
thank you for your answer.
I configured it like this:
const configuration = {
storage: localStorage,
client_id: envVarAuthClient ? envVarAuthClient : '',
redirect_uri: window.location.origin + "/authentication/callback",
silent_redirect_uri:
window.location.origin + "/authentication/silent-callback", // Optional activate silent-signin that use cookies between OIDC server and client javascript to restore the session
scope: "openid profile email",
refresh_time_before_tokens_expiration_in_second: -86300,
authority: envVarAuthProvider ? envVarAuthProvider : '',
service_worker_relative_url: "/OidcServiceWorker.js",
service_worker_only: false,
};
But if i reopen my browser i get redirected to the login again. My page checks on loadup if the user is loggedin or not and redirect directly to the login if not, else to the memberarea. Is there something missing? Do i have to inject informations from react-oidc into the LocalStorage and extract them later?

Hi @hsul-git , you need to comment service worker property to disable it

You will need also to remove service worker from browser Web tool @hsul-git

Perfect, thank you for your response. It just works fine now. Thank you!!!

hi @hsul-git , thank you for your feedback, may we close the issue?

Hi @guillaume-chervet, yes thank you for your help!


ESL Popup position: tests and refactoring

:tada: This PR is included in version 5.0.0-beta.11 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Makefile: fix the creation of man5

Signed-off-by: Vincent Batts<EMAIL_ADDRESS>

LGTM

I signed it!

LGTM

(pushed again to try an kick the travis build...)

not ok 22 ocic runtimeversion
# (from function `ocic' in file ./helpers.bash, line 59,
#  in test file ./runtimeversion.bats, line 11)
#   `ocic runtimeversion' failed
# time="2016-12-08T20:13:04Z" level=warning msg="default configuration file does not exist: /etc/ocid/ocid.conf"
# time="2016-12-08 20:13:04.453108806Z" level=info msg="Starting reaper"
# E1208 20:13:04.453653    2044 ocicni.go:136] error updating cni config: No networks found in /etc/cni/net.d
# time="2016-12-08 20:13:04.455096799Z" level=debug msg="sandboxes: map[]"
# time="2016-12-08 20:13:04.455134116Z" level=debug msg="containers: &{map[] {{0 0} 0 0 0 0}}"
# time="2016-12-08 20:13:04.534617916Z" level=debug msg="Reaped process with pid 2164, exited with status 0"
# time="2016-12-08T20:13:04Z" level=fatal msg="Getting the runtime version failed: rpc error: code = 2 desc = `/usr/local/bin/runc -v` failed:  (wait: no child processes)"

flaky test is flaky (somehow) - merging


Mint tokens with plutus script

I want to mint tokens with a plutus script I created, but I did not find any examples describing how to do so.
If it is already possible to mint tokens with plutus scripts I think the documentation is lacking references to that feature, I didn't find any examples on this repository or in the documentation.
As a work-around, I attempted to change the scripts from the transaction builder manually, but it returned me an exception saying I can't set attribute 'scripts'. Any plans on implementing that feature or is it there already, but I missed something? Also, any suggestions, however, for what to do meanwhile?

Agreed.. is there any way we can help? Atm, i'm dealing with a fragile and brittle key management solution to guarantee swaps of tokens for ada but I don't think it'll scale nearly as well as a script. Thanks for all the effort fellers!

Hi @mateusap1 , sorry about getting back to you late. Minting tokens with a script is a common use case. Ideally, we need txbuilder to provide a function that can take a minting script and a minting redeemer. I will add this function to txbuilder and create a minting example in the near future.

The example could be found in this integration test here. Closing this issue. Feel free to reopen if you have further questions.


pretrained model

Hello, I really appreciate your work. May I ask where can I download the pretrained model for vit on Imagenet?

get it. Thank you!

We usually do multi-view testing. So that is 'num_frame in one clip' x 'number of clip sampled by temporal crop' x 'number of clips sampled by spatial crop'.

ok, thank you. Why will the running environment in the server be affected after modifying this the https://github.com/taoyang1122/adapt-image-models/blob/main/mmaction/datasets/base.py?

Hi, I am not sure what do you mean by the environment is affected. Could you please explain in more details?

We usually do multi-view testing. So that is 'num_frame in one clip' x 'number of clip sampled by temporal crop' x 'number of clips sampled by spatial crop'.

Could you please tell me what these specific entries mean, #frames is the number of frames in a single clip, so how should I understand the 'number of clip sampled by temporal crop' and 'number of clips sampled by spatial crop' and exactly how they are obtained? Additionally, in tables of the paper some places are frames x 1 x 3, and some places are frames x 3 x 1. Why would there be such a difference, please?

The way they are obtained may be different in different methods/datasets. For example, three temporal crops can be obtained by sampling from the first part, middle part, and last part of the video. Three spatial crops cound be obtained by cropping upper-left corner, center, and lower-right corner. The final prediction is the ensemble of different crops (i.e., views). Then the numbers mean frames x num_temporal_crops x num_spatial_crops during testing.


ghost blog setup support

When we will add support for non-wordpress sites, first I wish to add is support for ghost blogging platform.
I found this - https://gist.github.com/pnommensen/707b5519766ba45366dd
So creating task here for future.
ee command could be:
ee site create example.com --ghost

While they are working on ee command, can anybody help me, How I can install a Ghost site in easyengine vps, without breaking vps?
I am newbie and I don't have much information about Ghost
Hope I will get steps to install blog!

We dont have any plans to do it. Somebody can create EE v4 Package if they want.


Update Python to be minimum 3.9

This PR updates our minimum Python version to be 3.9.
Key changes:

We matrix Python version testing across 3.9, and 3.10 (current stable version and two before).
We note everywhere relevant that the minimum Python version should be 3.9.

@Zeroto521 I just realized this PR might overlap with your other PR #1143. I'll just use the PR to test some syntax things needed to make Python >=3.8 work. After that, we can discard my PR, and you can pick-and-choose whatever changes seem to make sense into your PR.

🚀 Deployed on https://deploy-preview-1157--pyjanitor.netlify.app

Directly requires py3.9. Would that be a little bit aggressive?
pandas main branch still requires py3.8.
I'm okay to deprecate py3.6 and py3.7.

Good question, @Zeroto521. Type annotations in Python 3.9 are more flexible, i.e. we can use built-in tuple or list as types like this:
def func(df, arg1: tuple[int]):
    pass

We can drop down to Python 3.8 if we fix the types to be:
from typing import Tuple # (and/or List)

def func(df, arg1: Tuple[int]):
    pass

Py3.7+ with __future__ also has that feature.
from __future__ import annotations

int_array: list[int] = list(range(3))
None_or_bool: bool | None = True  # equals to `Optional[bool]`

I also suggest using asottile's pyupgrade to upgrade whatever syntax we can to the minimum version we are supporting. I also suggest sticking to py38 for now instead of jumping straight to py39. py37 EOL is coming this year.
Less manual work :)

@thatlittleboy I'm in favour of more automation! 😺

This PR is going stale. I'm going to close it and re-do it with minimum py38, as per @thatlittleboy's suggestions.


Unit Test Job for iOS added to CI

As previously discussed in #23 I added a new job to the CI workflow file. Cannot verify if it works, as I cannot run the actions myself. @slashmo feel free to suggest any edits and improvements.

Now it is running, however it can't find the scheme.

Now it is running, however it can't find the scheme.

Hm, that's on me. Apparently the scheme is not saved as part of the workspace although it's "shared". I'll look into it.


Incorrect statistics after a raid in case of death of a scavenger

The game displays the murders of PMCs and scavengers on the statistics screen after the raid, if you played as a scavenger, only if you survived and completed the raid.
P.S: Please note that in case of death, the killing time of the enemy is the same in all raids
This is a continuation of the report (https://dev.sp-tarkov.com/SPT/Issues/issues/784)

Attachments

2024-09-04[21-56] (0).png (2219 KiB)
2024-09-04[22-29] (0).png (2137 KiB)
2024-09-04[23-35] (0).png (2285 KiB)

Originally written by DenisZhmakin

@DenisZhmakin In future dont open new tickets with same issue just reopen and continue
fixed with : https://github.com/sp-tarkov/server/commit/026ff4d9291e4d635738f16b45e896d9645bbb1d

Originally written by Kaeno


Implements system.properties, fixes #456

This implements a read-only system.properties export in the system module. The property is unmodifiable to prevent something like this:
// System properties must be strings!
system.properties.foo = {};

Btw. working on this uncovered #458


Remove unused collections in shared database

These collections are old and redundant so we'll clean them up.
They last had documents added in Feb 2012 at the latest and we can't find any reference of them being used now.
Trello card

👍


hide relative path on bundle files

Hi,

I build react project using webpack.
This is my config.
`
var config = {
mode: NODE_ENV,
node: {
__filename: true,
__dirname: true
},
entry: entry,
optimization: {
splitChunks: {
chunks: 'all',
maxInitialRequests: 2, // default to 2, adjust as needed
},
runtimeChunk: 'single', // optional, recommended
},
output: {
publicPath: "",
path: OUTPUT_PATH,
filename: '[name].[hash].js',
},
resolve: {
extensions: ['.js', '.coffee', '.jsx', '.css', '.scss', '.sass'],
alias: {
'@Components': path.resolve(__dirname, 'src/components/'),
'@Assets': path.resolve(__dirname, 'src/assets/'),
'@Ducks': path.resolve(__dirname, 'src/ducks/'),
'@Gql': path.resolve(__dirname, 'src/gql/'),
}
},
module: {
rules: [
{
test: /.(js|jsx)$/,
exclude: /node_modules/,
use: ["babel-loader"],
include: [
path.resolve(__dirname, "src"),
]
},
{
test: /.coffee$/,
loaders: ['babel-loader',
'coffeescript-loader']
},
{
test: /.css$/,
loaders: ['style-loader',
'css-loader?importLoaders=1',
'font-loader?format[]=truetype&format[]=woff&format[]=embedded-opentype']
},
{
test: /.(jpe?g|png|gif|svg)$/i,
loaders: ['url-loader?limit=10000',
'img-loader']
},
{
test: /.less$/,
loaders: ["style-loader",
"css-loader",
"less-loader"]
},
{
test: /.(sass|scss)$/,
loaders: ["style-loader",
"css-loader",
"sass-loader"]
},
{
test: /.(eot|svg|ttf|woff|woff2)$/,
loader: 'url-loader'
}
]
},
plugins: [
new webpack.HotModuleReplacementPlugin(),
new HtmlWebpackPlugin({
title: 'Caching',
inject: true,
filename: path.resolve(OUTPUT_PATH, INDEX_FILENAME),
template: './src/index.html'
}),
new webpack.DefinePlugin(_.extend({
ENV: JSON.stringify(process.env)
}, ENV_VARS_VALUES)),
new WebpackObfuscator({
rotateStringArray: true
})
],
devServer: {
historyApiFallback: true,
port: WEBPACK_DEV_PORT,
host: "<IP_ADDRESS>",
disableHostCheck: false,
publicPath: "/",
quiet: false,
noInfo: false,
inline: true,
hot: true,
watchOptions: {
aggregateTimeout: 300,
poll: 500
},
// watchContentBase: true,
}
};

module.exports = config;
`
2. I found relative path on bundle files.
C:/Users/xxxxxxx/Works/abc/src/components/AlertModal.js in main.xxxxxxxxx.js file
How to relative path on bundle files?

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 either update the issue with the template and reopen, or open a new issue.
We can't help you without infromation.


Selection not deselected when you press 'Esc'

When there is a selection of one or more character places, pressing "Esc" should clear the selection as it does in vanilla cmd.exe.
The selection does clear if you press "Esc" and resize the window, triggering rerender.
Adding:
if(!handled && vkey == 27)         {             this->_renderer->TriggerRedrawAll();         }
to here:
https://github.com/microsoft/Terminal/blob/b726a3d05d35928becc8313f6ac5536c9f503645/src/cascadia/TerminalControl/TermControl.cpp#L512 fixed it, but that is just a thoughtless hack to remove the small annoyance for now.

That's odd - pressing escape repaints perfectly fine for me.
Though, that's probably not where I'd put the fix. Wherever the selection is being dismissed on input (probably Terminal.cpp) should also do a TriggerSelection.
In my experience, avoiding TriggerRedrawAll is a good idea, if at all possible.

Sorry, forgot to mention this is running wsl.exe under Terminal.
cmd.exe under Terminal works as expected

Oh yea, that does it. Woah that's weird, but definitely helps narrow the problem down. Thanks for the tip!

Just noticed the problem in Powershell too. 🤷♀


(Minor) IOI2021F Registers

Here is the problem link.
The attached grader file is not the same as the grader described in the statement and the actual correct grader in on the official 2021 website
Also, the attached archive does not contain sample input files for the grader.

Fixed


Fix or remove grcov-coverage CI job

The CI job for code coverage has been broken for quite some time. It is allowed to fail, but still annoying to show as a red X on every PR. We should either fix the job or remove it.
Example: https://github.com/xiph/rav1e/actions/runs/10392532069/job/28780308261

Maybe exclude the binary tests from codecov? Seems like it's only those that are failing, and those don't contribute to coverage stats anyways, right?