phpPackages.composer does not pick up php.withExtensions

The php composer package will not take into account a custom php version created using php.withExtensions etc.
The default.nix for composer takes php as an input, which will default to default php and not take into account any custom php extensions.
In order to get composer to use a php version that included extra extensions, I had to modify the default.nix file to specifically use php.withExtensions and include my extensions.
Possibly there's a different way to go about it that someone could share.

Example?
This is what I do:
php' = pkgs.php.withExtensions ...
composer' = php'.packages.composer;

Are you doing this in a nix-shell?

I'm doing this in configuration.nix on nixOS.
nixpkgs.config.packageOverrides = pkgs: {
php = pkgs.php.buildEnv {
extensions = { enabled, all }: enabled ++ [ all.xsl ];
extraConfig = ''
memory_limit = 64G
'';
};
};
environment.systemPackages = with pkgs; [
composer
]
To get composer to use custom php I had to alter its default.nix in nixpkgs:
{ mkDerivation, fetchurl, makeWrapper, unzip, lib, php, pkgs }:
let
pname = "composer";
version = "2.1.5";
php = pkgs.php.withExtensions ({ enabled, all }: enabled ++ [ all.xsl ]);   <---- HAD TO ADD THIS
in
mkDerivation {
inherit pname version;
src = fetchurl {
url = "https://getcomposer.org/download/${version}/composer.phar";
sha256 = "1v4hjwbv1y5jvj91i2fj8bvmfsymp9ls8h231zd85svfqdy5b5dy";
};
dontUnpack = true;
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
runHook preInstall
mkdir -p $out/bin
install -D $src $out/libexec/composer/composer.phar
makeWrapper ${php}/bin/php $out/bin/composer
--add-flags "$out/libexec/composer/composer.phar"
--prefix PATH : ${lib.makeBinPath [ unzip ]}
runHook postInstall
'';
meta = with lib; {
description = "Dependency Manager for PHP";
license = licenses.mit;
homepage = "https://getcomposer.org/";
maintainers = with maintainers; [ offline ] ++ teams.php.members;
};
}

OK, do this instead:
environment.systemPackages =
let
  php' = pkgs.php.buildEnv {
    extensions = { enabled, all }: enabled ++ [ all.xsl ];
    extraConfig = ''
      memory_limit = 64G
    '';
  };
in
[
  php'.packages.composer
];

If you don't mind me asking, what is the comma for after php?
php'

Personally, I think it is a nice way to distinguish that the package isn't php, but a custom variant of it. You'll see it here and there in the nix community.
You'd have to ask a real functional programmer why they use it, though. I suspect it has to do with their fondness of mathematics :smile:

What's the status of this ?

Hmm... I feel like this is resolved. @ob7 please feel free open this again if not resolved.


add sdpa for phi3 openvino model

What does this PR do?

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@echarlaix @AlexKoff88  could you please take a look?


No UI Animation System (Required for Terasology/Breathing#4 and #1639)

There is not any UI animation system (to my knowledge) to support these features / fixes, which would be required by Terasology/Breathing#4 and #1639. What can we do about it?
I'm thinking something along the lines of Android's method of animation using a formatted text file (like JSON) to specify animation details.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/32486309-no-ui-animation-system-required-for-terasology-breathing-4-and-1639?utm_campaign=plugin&utm_content=tracker%2F5279&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F5279&utm_medium=issues&utm_source=github).

Interesting suggestion. In my opinion, such a formal specification would be overdoing it, though.
I'd rather define a set of Java classes that define basic animations and put that in engine. Modules can use those out-of-the-box or define their own animations by overriding the update(float) method.
Such animators exist already for in-game entities: https://www.youtube.com/watch?v=0sAIA1eaUPQ
Code: https://github.com/Terasology/ItemRendering
I might be able to help working on the specifics.

Trying to work this out in my head - the health bar currently shows changes as the player gains / loses health. Is that just a UI element that's updating or an animation?
Once upon a time in legacy @small-jeeper had added a decoration where the toolbar would roll out (with some cogs on the side and everything!) into the full inventory. Was pretty neat but pre-NUI so it didn't get converted. Is that more of an animation than a simple update in the UI?
IIRC you can bind UI elements to a backing data element so they get updated automatically. I don't actually know off-hand how the health bar updates, either in Core or the hunger/thirst in Josharias Survival or Throughout the Ages.
Would animation be more for taking updated data (say 1-10 for health) then mapping each value to a specific state of a custom UI element like a paperdoll representation of the player's health? Sort of like you say specifying stages in a JSON file?

There would be default time and value interpolators for traversing animations, and the json file would describe starting and ending conditions.
The health bar currently just renders whole or half icon images without transition.

Based off the ideas on Android's Animating Resources
FrameComponent (basically a component that changes):

[ ] References to values or Objects to transition from / to

Frame:

[ ] List of frames components

Base Animation Mutator (Transitions between 2 or more frames):

[ ] From and To frames
[ ] Time delay and duration
[ ] Type of interpolation (linear, quadratic, exponential, logarithmic, square inverse...)
[ ] Repeat (set number (once, many), infinite)
[ ] Repeat mode (repeat, reverse)

Hmm .. interesting. A simple specification in JSON UI files and implementation in Java might have some potential.
I think the referenced objects shouldn't be Component instances - maybe UIWidget instances? This would be in analogy to how layouts refer to widgets.
Maybe you can try that out along one or two simple examples: UI buttons fading in/out when a screen opens or HUD elements moving in/out from the border (remember Warcraft 3 menus?)

Component in the generic sense of the word and not any sort of existing Component implementation. I mean components like rotation, translation, color, alpha, size, etc.

@Cervator Should I open a pull request (that shouldn't be merged until its finished) so that we can view the animation code?

@viveret If you've already got some code to review (cool!) then sure :-)

Closing as complete! Go forth and animate all the things! :D


[Autocomplete] Rename autoHightlight prop to autoHighlight

[X] I have followed (at least) the PR section of the contributing guide.

Fix #18134
Breaking change
diff --git a/packages/material-ui-lab/src/useAutocomplete/useAutocomplete.js b/packages/material-ui-lab/src/useAutocomplete/useAutocomplete.js
index 7f28ddca2..531ab7bb8 100644
--- a/packages/material-ui-lab/src/useAutocomplete/useAutocomplete.js
+++ b/packages/material-ui-lab/src/useAutocomplete/useAutocomplete.js
@@ -727,7 +727,7 @@ useAutocomplete.propTypes = {
   /**
    * If `true`, the first option is automatically highlighted.
    */
-  autoHightlight: PropTypes.bool,
+  autoHighlight: PropTypes.bool,
   /**
    * If `true`, the selected option becomes the value of the input
    * when the Autocomplete loses focus unless the user chooses

@tkanzakic Thank you, well done

@oliviertassinari love to contribute, any other starter ticket I can help with?

Any issue with good first issue or help appreciated label should be safe to pick.


Install as admin - unavailable as standard user

We've been using Privileges for a while. This may be a Sonoma-only issue. I download the latest version and while logged on as an administrator, drag the program to the Applications folder. I run it twice to make sure the helper is installed. Then when a standard user account is created for the end-user, the Privileges icon in Applications is grayed out and if I click on it the message says the program is damaged. I have to copy the program to Applications again and supply the admin password to permit the copy. Then Privileges works properly. I'd like to avoid this extra step.

We'll provide an installer package for the upcoming version 2.0.0, which will be available later this year. Hope this helps.


No action found in zabbix

Hello the manual script work , I receive message  on my telegram, but whrn I try to make same problem for send message, no action found on my zabbix server, though I make on zabbix new user with telegram @users.
It is very strange... some idea?

@wifi75 I don't understand what do you mean.
https://github.com/ableev/Zabbix-in-Telegram/wiki/Report-problem-how-to

Yes,
th command line work:
/usr/lib/zabbix/alertscripts/zbxtg.py "myuser_telegram" "hello" "test message"
when I try this I receice messang on telegram.
But anything from zabbix gui interface.

It has nothing to do with script.
Setup your actions correctly.
Check users' or groups' rights.


Consultation

Hello!
I have a question. what's the best way to make a multiapp script?  For example, I need to make some gx calls and some rx calls and both of them need to got replys ... I tried making several SimpleThreadingApplications in one script, but only one works ...

So if I understand you right, you want basically one application to be at the same time Gx and Rx? You send requests through two apps, but want all the responses to land at one single place?
I don't think the stack provides a way to do that outright. My initial thought would have been to have just one application and declare it as a relay (constants.APP_RELAY or application ID<PHONE_NUMBER>), but that should result in a failed Capabilities-Exchange, unless the other peers you're connecting with are relay agents too. Might be worth trying though.
An alternative approach would be to just have two applications, but build them from scratch using the base Application or ThreadingApplication and have both of them send the answers to somewhere else in your codebase.

No, 1 node and 2 application. I think it is working solution? I'm sending all packets to 1 peer (dra)

Just having two different applications in the same node, both using the same peer, is definitely is a working configuration. As long as you pass two separate instances of applications to the node, those two applications will receive their answers also separately.
I.e. something like:
peer_cfg = node.add_peer(...)

client1 = SimpleThreadingApplication(
    application_id=APP_3GPP_SY,
    is_auth_application=True, is_acct_application=True)
node.add_application(client1, [peer_cfg])

client2 = SimpleThreadingApplication(
    application_id=APP_3GPP_GX,
    is_auth_application=True, is_acct_application=True)
node.add_application(client2, [peer_cfg])

When I test it like above, a request I send through client1 gets its answer also routed to client1. A request sent through client2 has its answer routed to client2.

Yes, it's working configuration! Thanks
I have another question =) How can I correctly create AVP_FRAMED_IPV6_PREFIX?
            framed_ipv6 = '2a00:1fa2:c863:8c7e::'
            framed_ipv6_prefix = Avp.new(AVP_FRAMED_IPV6_PREFIX)
            framed_ipv6_prefix.value = socket.inet_pton(socket.AF_INET6, framed_ipv6)
            print(framed_ipv6_prefix)

            avp_bytes = bytes.fromhex("000000614000001200402a001fa2c8638c7e0000")
            framed_ipv6_prefix = Avp.from_bytes(avp_bytes)
            print(framed_ipv6_prefix)

And output (second is correct)
Framed-IPv6-Prefix <Code: 0x61, Flags: 0x40 (-M-), Length: 24, Val: b'\x00\x1f\xa2\xc8c\x8c~\x00\x00\x00\x00\x00\x00\x00\x00'>
Framed-IPv6-Prefix <Code: 0x61, Flags: 0x40 (-M-), Length: 18, Val: b'\x00@\x00\x1f\xa2\xc8c\x8c~'>

The specification for Framed-IPv6-Prefix states that the value contains of a reserved value (always zero), a prefix length in bits, followed by the actual prefix value. So in your case it's 0x00 + 0x40 + 0x2a001fa2c8638c7e.
You can construct this manually, for instance with:
>>> framed_ipv6 = bytes.fromhex("2a001fa2c8638c7e")
>>> framed_ipv6_prefix = Avp.new(AVP_FRAMED_IPV6_PREFIX)
>>> framed_ipv6_prefix.value = b"\00" + (len(framed_ipv6) * 8).to_bytes() + framed_ipv6
>>> print(framed_ipv6_prefix)
Framed-IPv6-Prefix <Code: 0x61, Flags: 0x40 (-M-), Length: 18, Val: b'\x00@*\x00\x1f\xa2\xc8c\x8c~'>

You can also do it with socket.inet_pton or even the native ipaddress module, but these produce the prefix always in expanded format, so your length will not be 0x40 like in your example. It's still a valid AVP and a valid IPv6 prefix, and spec permits these, but it won't be identical to your screenshot. A way with inet_pton would be:
>>> import socket
>>> framed_ipv6 = socket.inet_pton(socket.AF_INET6, "2a00:1fa2:c863:8c7e::")
>>> framed_ipv6_prefix = Avp.new(AVP_FRAMED_IPV6_PREFIX)
>>> framed_ipv6_prefix.value = b"\00" + (len(framed_ipv6) * 8).to_bytes() + framed_ipv6
>>> print(framed_ipv6_prefix)
Framed-IPv6-Prefix <Code: 0x61, Flags: 0x40 (-M-), Length: 26, Val: b'\x00\x80*\x00\x1f\xa2\xc8c\x8c~\x00\x00\x00\x00\x00\x00\x00\x00'>


Challenge maintainance workflow

I have been looking throught the UI and the API docs, but can't figure out how I am supposed to manage challenges. I have created a challenge and add tasks to it. Now I have to update this regularly to add new tasks when new problems in OSM appear. The easiest way would be to remove all tasks of this challenge from maproulette, re-create the whole task list excluding those tasks that were skipped by users. But I don't know how to get this information out of the API. Do I have to download all tasks through the API and look at the status field? Is that what the status field is used for. It contains a number, not a string or so, so I am not sure, what it means. (btw: I created unique identifiers, so I could do all that.) Or do I have to only upload any new tasks and leave the existing tasks in place?
How do other people manage this workflow?

If the challenge was created with an Overpass query, the way to update to match current OSM data is to refresh the Overpass query, which replaces all data, including any marked as False Positive (I think).
For the Rail Crossings challenges, I do query all MapRoulette tasks via the API to get a list of those marked as complete or false positive.    Next I look through OSM data to find any new challenges to add to Map Roulette, or to mark as complete via the API, because multiple crossings are often near each other, or a RailFan has fixed an entire track line outside of MapRoulette.
I ended up creating a local database to double track task statuses and perform my own local queries, but I don't think that is strictly necessary for the workflow above.

I would have expected Maproulette to help me with this whole workflow, keeping track of IDs and states and all that. Otherwise everybody has to implement the same logic all over again.
See also #246.


Duplicate code (part 5)

https://github.com/hyperledger/solang/blob/1b46d73b32449a09ba1c1e54c8073ecb4d7cf4a0/src/emit/substrate/target.rs#L364-L371
https://github.com/hyperledger/solang/blob/1b46d73b32449a09ba1c1e54c8073ecb4d7cf4a0/src/emit/substrate/target.rs#L452-L459
https://github.com/hyperledger/solang/blob/1b46d73b32449a09ba1c1e54c8073ecb4d7cf4a0/src/emit/substrate/target.rs#L528-L535
https://github.com/hyperledger/solang/blob/1b46d73b32449a09ba1c1e54c8073ecb4d7cf4a0/src/emit/substrate/target.rs#L638-L645
========================================
2.
https://github.com/hyperledger/solang/blob/1b46d73b32449a09ba1c1e54c8073ecb4d7cf4a0/src/sema/types.rs#L588-L594
https://github.com/hyperledger/solang/blob/1b46d73b32449a09ba1c1e54c8073ecb4d7cf4a0/src/sema/types.rs#L682-L689
========================================
3.
https://github.com/hyperledger/solang/blob/1b46d73b32449a09ba1c1e54c8073ecb4d7cf4a0/src/codegen/vector_to_slice.rs#L60-L65
https://github.com/hyperledger/solang/blob/1b46d73b32449a09ba1c1e54c8073ecb4d7cf4a0/src/codegen/vector_to_slice.rs#L79-L83
https://github.com/hyperledger/solang/blob/1b46d73b32449a09ba1c1e54c8073ecb4d7cf4a0/src/codegen/vector_to_slice.rs#L91-L95

Hi @Arun9650 ,
Yes, the idea is just to remove the duplicate code using either functions or Rust macros.

hi i like to take this issue , so we need to just remove the duplicate the code

Great, go for it! Please let us know if you have any questions.

hello, I would like to take this issue, I have started working to fix repetitive code by adding function to generate the pointer in target.rs, I would like to show you code to check if am going in right direction and also the naming convention I am using for it is correct or not.

hello, I would like to take this issue, I have started working to fix repetitive code by adding function to generate the pointer in target.rs, I would like to show you code to check if am going in right direction and also the naming convention I am using for it is correct or not.

Ah, thanks for your contribution. We've seen your PR.

Is this issue still open ? If yes, I'd like to work on it

Is this issue still open ? If yes, I'd like to work on it

Is this issue still open ? If yes, I'd like to work on it

Hey @mayank-pathakk,
Yes, the issue is still open. You can work on it.

I'd like to work on this issue, if its still open!


GH-35760: [C++] C Data Interface helpers should also run checks in non-debug mode

What changes are included in this PR?
Replaced asserts in the Arrow*Release methods with a macro which outputs to stderr and calls std::abort directly with a message. This way the check still happens in release mode. The ARROW_CHECK* macros require C++ and this is intended to be a C file which others can vendor.
Are there any user-facing changes?
Instead of only failing in debug mode, now these release methods will fail if the release callback fails to set the release member to null even in release mode. Leading to potential calls to std::abort that weren't previously occurring.

Closes: #35760

@zeroshade go/arrow/cdata/arrow/helpers.h also needs to be updated but it's not a trivial copy of the C++ source anymore.

@zeroshade Can you open an issue for the Go followup?


boot_control module update and refinement

Introduction
This PR applies minor update and refinement to boot_control module before introducing raspberry pi support to otaclient.
NOTE: this PR is one of the PRs that for introducing rapsberry pi support into otaclient.
Changes

boot_control related configs now moved from app.configs to app.boot_control.configs,
define bootloader type enum, implement new bootloader detection function,
move boot_control internal error def from boot_control.common to boot_control._errors,
boot_control module folder re-arrange,
ota_client_stub now detects bootloader before initializing OTAClient instance, instead of detecting and write a const in configs.py previously,
other related minor updates.

This PR will be merged into the main branch when the leftover PRs are ready, one by one.

PR reviews in #181 is resolved in f2c061e.

@obi-t4 #178 is ready for review and merging into main.


Can't select/highlight text in Extensions search bar

VSCode Version:

Version: 1.31.0-insider (user setup)
Commit: 7f136b4
Date: 2019-01-31T08:03:26.905Z
Electron: 3.1.2
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17763
Steps to Reproduce:

Enter some text into the search bar in the extensions pane. Any text will do.
Ensure your cursor is at the end of the text input
Press SHIFT+HOME to select all text.
None of the text is selected, but the cursor has moved to the beginning of the input box.

Does this issue occur when all extensions are disabled?: Yes

@fourpastmidnight It works for me, do you see any errors in the console?

It seems to be working today--though, I did restart it twice, and so it updated twice. I'll close for now.


Region should get enum

The region field is mandatory when login in to the account, I would prefer if there were a way to login to the account without inserting the region.
But if not let's change the region field to get an enum of all the supported countries, with that we can keep another factory method for inserting it by text.
Another thing about the region that it will solve is how I should use it.
In the official eWeLink app I am inserting region by selecting the country name plus 3 pre phone numbers.
So I am not sure in what way to insert the region, is it a full country name, 3 letters, 2 letters, pre-phone number numbers?.
Adding an enum will also solve this issue for future developers.

Found out in the docs that we can get the region for the user without specifying it manually
https://ewelink-api.vercel.app/docs/available-methods/getregion


Infinite Loop on callHook and whereIn functions causing apache to restart due to stack overflow

I'm developing a new API on Lumen and renaming the columns of the legacy database.
I have two tables, Images and Variants, Images has many Variants.

Variants is the mapped name of the table usu_t075varest
Images is the mapped name of the table usu_t075desest

Mapped this relation as the Lumen docs suggest:
Image.php
public function variants() {
        return $this->hasMany(Variant::class, 'usu_coddes','usu_coddes');
}

usu_coddes is the foreign key on Variants table.
usu_coddes is the primary key on Images table.

Calling the the route \api\images\SR16105G13 with no authentication:
public function read($id) {
   $image = Image::where('usu_coddes', $id)
                  ->with('variants')
                  ->first();

   if ($image === null)
      return response(null, 404);

   return response()->json($image);
}

The PHP interpreter never goes beyond the with('variants') function, i did some step by step debugging with Zend debugger and saw that in the function callHook on Sofa\Hookable\Builder it calls the callParent function with the first argument "whereIn" so it will call the parent whereIn on Eloquent\Builder but that function doesn't exists there, so PHP reverts the call back to whereIn on Sofa\Hookable\Builder that calls callHook and so on, until call stack is exceeded for Apache and it reboots killing the connection.
I'm not very familiar with Lumen Eloquent structure to make any modification to solve this, anyone could give me a hand or commit the solution?

For some reason, this works on php7.3-fpm (with nginx) but goes into this infinite loop in php8.0-fpm and kills fpm (it restarts) and results in the same apache behavior above (nginx shows "502 Bad Gateway")
More details

https://laracasts.com/discuss/channels/servers/php-8-fpm-sigsegv-signal-11
https://stackoverflow.com/questions/67423576/laravel-php-8-fpm-sigsegv-signal-11

@bericp1 This is confirmed only happening on php 8.0+.  Have 2 vagrant boxes 7.3.11-1~deb10u1 and 8.0.3 pointing to the same code and looking at any PHP 8 breaking changes on call_user_func_array() and cannot figure it out.  @charlesaugust44 research is correct so it seems like this is a matter of having it call Illuminate\Database\Query\Builder instead of the extended method inside Sofa\Eloquence\Query\Builder

I'm getting the nginx "502 Bad Gateway" while running PHP 8.0.6 too.

Could be related to dependency and PR: https://github.com/jarektkaczyk/hookable/pull/31
Using similar fix solved my php8 issues.


A demo of how to perform multi-GPU parallel inference for transformer LLM is needed

In the current demo: "Distributed inference using Accelerate" , it is still not clear enough to know how to perform multi-GPU parallel inference for transformer LLM. This gap in the demo has hindered not just me, but also many people in adopting your solution: https://www.reddit.com/r/LocalLLaMA/comments/15rlqsb/how_to_perform_multigpu_parallel_inference_for/
Also in the reply, other frameworks have already started competing for this specific use case.
Could you provide the demo for this use case?

Hi @KexinFeng , please let us know why it is not clear enough. Are you not able to run the code ?

Hi @KexinFeng， I have encountered this problem. Have you solved it?

hey, just stumbled upon this issue.
Inference on multiple GPUs works for me with the script below.
However the performance is puzzling me a bit (see numbers below). Basically, in this llama2-7b setup, with 3 GPUs i get 60t/s, but with 2 GPUs basically the same as with 1 GPU (40t/s).
I understand that with distributed training there is a huge overhead slowing things down, but is there also a lot of additional communication with distributed inference? Is this expected?
model_path="models/llama2-7b"
model = AutoModelForCausalLM.from_pretrained(
    model_path,
    device_map="auto",
    torch_dtype=torch.bfloat16,
)
tokenizer = AutoTokenizer.from_pretrained(model_path)

prompts= [ .. ]

accelerator.wait_for_everyone()
start=time.time()

with accelerator.split_between_processes(prompts_all) as prompts:
    results=dict(outputs=[], num_tokens=0)

    for prompt in prompts:
        prompt_tokenized=tokenizer(prompt, return_tensors="pt").to("cuda")
        output_tokenized = model.generate(**prompt_tokenized, max_new_tokens=50)[0]

        # remove prompt from output
        output_tokenized=output_tokenized[len(prompt_tokenized["input_ids"][0]):]

        # store outputs and number of tokens in result{}
        results["outputs"].append( tokenizer.decode(output_tokenized) )
        results["num_tokens"] += len(output_tokenized)

    timediff=time.time()-start
    print("GPU {}: {} prompts received, generated {} tokens in {} seconds, {} t/s".format(
        accelerator.process_index,
        len(prompts),
        results["num_tokens"],
        timediff,
        results["num_tokens"]//timediff,
        ))
    results=[ results ]

results_gathered=gather_object(results)

if accelerator.is_main_process:
    timediff=time.time()-start
    num_tokens=sum([r["num_tokens"] for r in results_gathered ])

    print(f"tokens/sec: {num_tokens//timediff}, total tokens {num_tokens}, time {timediff}")

output w/ 1 GPU
GPU 0: 65 prompts received, generated 3250 tokens in 79.53455805778503 seconds, 40.0 t/s
tokens/sec: 40.0, total tokens 3250, time 79.5346269607544

output w/ 2 GPUs
GPU 1: 32 prompts received, generated 1600 tokens in 72.92330050468445 seconds, 21.0 t/s
GPU 0: 33 prompts received, generated 1650 tokens in 77.58914303779602 seconds, 21.0 t/s
tokens/sec: 41.0, total tokens 3250, time 77.59003257751465

output w/ 3 GPUs
GPU 2: 21 prompts received, generated 1050 tokens in 48.31575059890747 seconds, 21.0 t/s
GPU 0: 22 prompts received, generated 1100 tokens in 51.92913627624512 seconds, 21.0 t/s
GPU 1: 22 prompts received, generated 1100 tokens in 52.516985177993774 seconds, 20.0 t/s
tokens/sec: 61.0, total tokens 3250, time 52.51792597770691

@muellerzr

@KexinFeng haven't fully tested this yet, but if you're using device_map="auto" it's worth investigating how the model winds up being mapped. If it's sharded across multiple GPUs and it's pulling those back and forth, it wouldn't surprise me if constantly moving between devices on the same weight locations in memory leads to some throughput issues.

if you're using device_map="auto"

holy sh*t, didn't realize I was doing that 🤯 yes, you're right, the model of each process was sharded across all the GPUs. thank you!
changed it to device_map={"": accelerator.process_index}. Now t/s are increasing linearly up to 3 GPUs but then saturates.
1 GPU: 44t/s
2 GPUs: 88tt/s (avg. 44t/s/GPU)
3 GPUs: 128t/s (avg. 44t/s/GPU)
4 GPUs: 137t/s (avg. 34t/s/GPU)
5 GPUs: 119t/s (avg. 23t/s/GPU)

I assume it's some additional communication needed the more GPUs are working, right?
any idea what this might be or how to make it faster?

@KexinFeng we're looking at using some pipeline parallelism to speed things up a bit, stay tuned :)

@geronimi73 Hi, I am working on a webserver and would like to implement your solution. But as I am new to LLM landscape I am finding it very hard. Can you help me out? Is there anyway to contact you?

@geronimi73 Hi, I am working on a webserver and would like to implement your solution. I am new to LLM landscape, can you help me out? Is there anyway to contact you?

DM me on twitter https://twitter.com/Geronimo_AI

@KexinFeng we're looking at using some pipeline parallelism to speed things up a bit, stay tuned :)

@muellerzr Hi, is there any progress on inference speedup? :)

Yes! See here: https://huggingface.co/docs/accelerate/usage_guides/distributed_inference (see the bit on pippy)

@muellerzr Thanks for your information!
BTW, I wonder if you have any idea to combine accelerate.split_between_processes with vllm (designate a specific gpu in each process). You may see my issue raised in the vllm repo (https://github.com/vllm-project/vllm/issues/3088)

Can you not just load a model onto each GPU (this involves nothing special and just follows the normal inference tutorial) using vllm and perform inference on it usually? (I'm not familiar with VLLM)

Sure, it works. I resort to vllm mainly for a speed/throughput boost. Naive accelerate.split_between_processes + model.generate somewhat suffers from low efficiency.

Sure, it works. I resort to vllm mainly for a speed/throughput boost. Naive accelerate.split_between_processes + model.generate somewhat suffers from low efficiency.

Hi @chujiezheng , do you solve the low-efficiency issue with accelerate.split_between_processes + model.generate? I meet the same problem: using 8 GPUs is only 2.2x faster than using 1 GPU.

using 8 GPUs is only 2.2x faster than using 1 GPU.

weird. check out this notebook: https://github.com/geronimi73/accelerate_tricks/blob/main/inference_batched.py

using 8 GPUs is only 2.2x faster than using 1 GPU.

weird. check out this notebook: https://github.com/geronimi73/accelerate_tricks/blob/main/inference_batched.py

Thank you so much. I found that the reason is that I did not use batch.

Hi! Can it be also done using notebook_launcher() , passing the batched inference in notebook_launcher function actually I am trying to run it on kaggle with two gpus , but it is only taking first gpu and not using the second one.

from accelerate import notebook_launcher

def test():
    from accelerate import Accelerator
    accelerator = Accelerator()
    print(accelerator.distributed_type)

notebook_launcher(test, num_processes=2)

https://github.com/geronimi73/accelerate_tricks/blob/main/distributed_inference.ipynb


fix: Update keywords on docs pages

Current
Right now, there's not been consistency on keywords. Keywords are a way to improve the SEO of the pages. We should do a review of each page to determine if we could be doing a better job.
ref: https://github.com/open-sauced/docs/pull/213#discussion_r1415289023
Solution
Go through the pages most likely to be viewed by someone looking for answers about open source. Update the keywords to showcase the resource.
For example, the maintainers guide might look like this:
keywords:
  - "open source maintainers guide"
  - "open source maintainer"
  - "open-source project management"
  - "community management in open-source"

Hi @BekahHW, how are you doing? Can I work on this issue if you could assign it to me? Also, may I ask for help if I get stuck?

@Suraj-kumar00 sure. Just read our Contributing docs to learn how to assign yourself

@Suraj-kumar00 sure. Just read our Contributing docs to learn how to assign yourself

Yeah sure, thanks @BekahHW

.take

Hi @BekahHW, actually I'm getting the error after running the command npm run.
npm test
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>npm ERR! Missing script: "test" // this is the error I'm encountering
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR!   npm run

npm ERR! A complete log of this run can be found in: C:\Users\offic\AppData\Local\npm-cache\_logs\2024-01-15T15_47_34_579Z-debug-0.log

there is no test file in package.json .
Please help me in this so I can complete this issue as soon as possible.

@Suraj-kumar00 did you follow the instructions for running in the readme?
npm ci
npm start

Yes sure I did @BekahHW
After cloning, in the terminal, I first run
npm run
But actually, the problem is in this project the React 17 version is installed and I have installed the first React 21 version, and now React 18 version
I'm trying hard from Googling and AI to resolve this error but I'm getting nowhere!!!

After cloning in the terminal, you should start with npm ci.

After cloning in the terminal, you should start with npm ci.

Yeah actually I did all things again and than it's working in local host, tomorrow I'll create pull request.


Extract common parts of ApplySnapshot

What problem does this PR solve?
Issue Number: close #xxx
Problem Summary:
This is the second part of single big region snapshot handling. It mainly did the following:

extract AsyncTasks as a common util
gather SSTFilesToBlockInputStream's arguments into SSTFilesToBlockInputStreamOpts
extract the three stream into readFromStream
make readFromStream return error code rather than exception for recoverable error

What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/run-all-tests


Allow to set a custom reference root

Currently I am fiddling with invopop/jsonschema and try to generate some OpenAPI definition file. For this I simply use the jonschema.Reflect(), iterate over the the Definitions and add them to my #/components/schemas/ (as the spec requires: see https://swagger.io/specification/). An issue with that is that for every schema, the $ref fields are referring to "/$defs/...", which is currently hard-coded at https://github.com/invopop/jsonschema/blob/main/reflect.go#L619.
Being able to overwrite the prefix of the $ref field would allow to generate embeddable JSON Schema without using something ugly such as bytes.ReplaceAll() to fix the marshaled output.

ping

I am really sorry to nag again, I am certain most of the maintainers have better things to do than review PR's that cover weird edge cases of arbitrary users.
The piece of software I am building needs to go live pretty soon. In case my change does not go upstream I have to find a different approach to solve the problem I am tackling with this PR. That's fine, I would just love to have a feedback in order to decide on how to move forward.

Hi @samlown! Thanks for your feedback; fair enough, I will check on your second approach...


Typescript section appreciated on the az functions documentation including Azure Service Bus

Hello,
It would be nice to have the Typescript documentation included in azure functions documentation and related connectors, like for example Azure Service Bus 👍
https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-service-bus-output
Regards,
Marek
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1752a37b-b40a-5613-3416-fd604b281dbc
Version Independent ID: f088004f-f80e-ba5c-e08e-c76ac395c809
Content: Azure Service Bus output bindings for Azure Functions
Content Source: articles/azure-functions/functions-bindings-service-bus-output.md
Service: azure-functions
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

@Kayohi Thanks for the feedback! We have assigned this issue to the content author to review and update accordingly.
Do note that the JavaScript code will work as is for Typescript as well except that you would have to add the type information for static typing benefits, which is what you are referring to I believe.

(...) type information for static typing benefits, which is what you are referring to I believe.
Exacly the above and also for example how to properly configure the bindings in function.json.
Thanks @PramodValavala-MSFT!

@Kayohi Most of the function.json shouldn't change apart from the addition of the scriptFile parameter which should point to the generated JS file.
All of this information is available in the JavaScript Language Reference which includes a section for TypeScript.
BTW did you mean to close this issue?

I've closed by missclick, sorry. I'm aware of these references. Its just for Typescript there are  pieces of information in different places so my intention by creating this ticket was to ask maybe to organize it better.


feat: add Header components

Closes #37
Closes #38
Closes #39
Closes #45

Preview: https://virtual-assistant-pr-virtual-assistant-79.surge.sh


Update from djinni fork

Automated message from Dropbox CLA bot
@CanYumusak, thanks for the pull request! It looks like you haven't yet signed the Dropbox CLA. Please sign it here.


Multipart or FormData HTTP

Is it a duplicated question?
No
Is your feature request related to a problem? Please describe.
Related to #797 and from the work on #529, multipart and formdata support for Header/Body HTTP request would be great to test to API
Describe the solution you'd like
Not a technical person, sorry
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

I think this is a duplicate of https://github.com/louislam/uptime-kuma/issues/1351 and likely what was suggested in https://github.com/louislam/uptime-kuma/issues/3084
If you agree, could you please close this Issue, as duplicates only create immortal zombies and are really hard to issue-manage?
If not, what makes this issue unique enough to require an additional issue? (Could this be integrated into the issue linked above?) ^^


Add Atom One Themes

Some colors (#40, #32) are not supported in the library, so I took my own spin on the theme.

@Nek-12 Thank you very much for this contribution.
This will be released in 0.9.0 along with other useful changes


New Feature Request: Make A Plan

Build out Family Plan landing page including space for text on top of the page, and associated buttons and profiles. The orange boxes with text are buttons for links to other pages. We want to build out profile icons under "My Family Plan" and under "Shared Plans With Me" as well.
Click direct link to wireframe to see below, and explore the wireframes
https://xd.adobe.com/view/158c8bc4-5ef2-47dd-90c0-ba3c508e4d62-40df/screen/0eb324ee-9410-4607-a623-d921af922917

Placeholder added in PR #145


Properly get cell number based on message frame for Daly and filter invalid values

the check did not filter out incorrect values before.
related to https://github.com/Louisvdw/dbus-serialbattery/issues/165

@Louisvdw this improves cell voltage reading for Daly, to calculate the cell number based on the position in the frame.
However as it is still too unreliable, i disabled cell voltages detection for now.


WIP: tweak UI of verification status

Current screenshots:

The downside of the above idea is that the location of the checkmark implies that the application name has been verified, which is not true. Some people also feel strongly that we shouldn't display the ID directly on the page. Another idea from yesterday:

This moves the checkmark to the "by John Doe" line. That's in line with what Snapcraft and VSCode Marketplace do. The problem is that it may cause confusion for apps of the same developer where only one is verified. A potential example would be Steam (maintained by nanonyme) and Steam Link (official by Valve).

We could change the tooltip content to explicitly mention the app ID, e.g. "The ownership of the ${ID} application ID has been manually verified by Flathub staff" and "The ownership of the ${ID} application ID has been verified via GitHub by ${username}".

James suggested something similar to the second variant yesterday.

This is modelled after website verification feature in Mastodon. I'm just not convinced it conveys the same message.

Felix suggested this:

As something that's unambiguously accurate and very non-confusingly displays what we have verified, without the RDNN coming through, I really like James' idea of showing the checkmark next to the actual thing we have verified - ie that we have checked the domain or the GitHub/GitLab account or organisation.

I guess if we have done some additional manual verification or something it might need to say Verified by Staff ☑ in that fallback case.

As the other PR targets this branch, we should probably keep this open

Oh, I didn't notice that. Thanks


Extend the dictionary with domain specific words?

Hey there, I was wondering how I can extend the dictionary behind the spell check, so that domain specific words dont get classified as wirtten wrong

Unfortunately, there's currently no way to do this, since the dictionary lives inside the pattern package. You might want to send a PR to pattern if you find there's something missing.


Add Hail to pipeline requirements.txt

CONTRIBUTING.md called for Hail to be installed manually separately, but it seems to work fine when specified as a dependency in data-pipeline/requirements.txt.

@mattsolo1 I deleted my Python install, reinstalled everything according to the new directions, and did the first part of the Hail GWAS tutorial as a smoke test. Seems to work fine.

If we're going to add hail to requirements.txt does it also make sense to include the version? This could be the most recent version that we're confident works properly with the pipeline (which I'm actually not sure of... I guess we could add this later).

Thing is, I think 0.2.81 is pre-Log4Shell

Whoops...that's a dealbreaker then, unpinned it is. Still, I'll keep my run with 0.2.81 going in the background just to satisfy my own curiosity.

It's possible the individual datasets have always been updated at different times, and hence with different Hail versions.

Given that, it might be an idea to record Hail versions that are known to work with the different pipelines somewhere or another. It could be as simple as a comment at the head of a file saying "Ran successfully on 2021-02-03 against Hail 0.1.2".


hpcstruct computes wrong name for inlined functions with single-character names

hpcstruct produces the wrong names for most single character inlined functions. Either hpcstruct or dyninst is demangling these names into type names. The test in the directory below illustrates the problem.
https://github.com/HPCToolkit/hpctoolkit-tests/tree/master/src/tool/hpcstruct/test1

I looked at this case in the debugger. Dyninst is putting a pretty name into each InlinedFunction object in the name_ field. Thus, in Struct-Inline.cpp, when we call func->getName() we get a pretty name back. I venture a guess that we are calling the demangler on what we get back. So, my assessment is that the problem is in hpcstruct and not that we are getting back an incorrectly detangled name from Dyninst.

It's complicated.  Certainly, there are cases where hpcstruct
demangles a name when it shouldn't.  But the inline names from
func->getName() normally are mangled, so with C++ test, they would
look right in the viewer.
The fundamental problem was that for function names that don't come
from an actual function in the symbol table, there is no single right
answer for whether the name should be demangled or not.  Hpcstruct
needs more info to decide if demangling is correct and it wasn't doing
that.
I've done an overhaul on how and when hpcstruct demangles function
names.  There are three major cases:

A full symtab function for an actual function in the symbol table.
Symtab provides separate mangled and pretty names, so we just use
their answer.

An inline callsite.  Symtab provides only a single (normally
mangled) name.  Lookup the module and source language for the vma to
decide whether to demangle or not.

A PLT function stub.  There are no modules or source files for
these stubs.  Demangle the name and heuristically decide if the answer
is right (if the name contains parens).

There are also outline function names.  But we make a fake name for
these functions, so demangling is not an issue.
This is now fixed in mult-kernel, commit a9559d33c2 on 2018-03-28.
So, the issue should be closed.

mult-kernel is now merged into master,
so ok to close.


Go internally will switch the hash or branch into a pseudo version.
Go mod download should do the same. The bug lied in the fact that the disk cache
was not being written when Go converted the hash/branch into a pseduo version.
Fixes https://github.com/golang/go/issues/27947

cc: @andybons gopherbot seems to be down as well as CLS bot etc. Would love some help porting this over to Gerrit.

or I just had to write a comment and everything works..


Chronicle deployment to kubernetes

This LGTM. All of this makes me wonder if we need to make a helm chart? ;)


Added support webpack

Hi!
I added exports from module and import angular library from CommonJS / AMD.
const angular = require('angular');
const ngInfiniteScroll = require('ng-infinite-scroll');

angular.module('App', [
  ngInfiniteScroll // <- exports string with module name
])

@graingert done

closing in favour of https://github.com/sroze/ngInfiniteScroll/pull/271


WIP: OSSL_STORE cache

Implement a simple cache that can store the objects retrieved for a number of URIs, and serve them back again and again.
Currently experimental, but could serve as a more generalised variant of the X509_STORE caching functionality.

This never flew, and with the provider interface, this needs rethinking anyway.


list_packages in core_plugin does not correctly handle path separator in Windows

When generating the list of packages (e.g. for distutils), a leading backslash in Windows leads to a package name starting with "." which raises a warning in distutils. The test if package.startswith("/"): on line 50 of core_plugin.py should probably be replaced by if package.startswith(os.sep):

You're totally right of course, I'll fix that up ASAP. Thanks for the report.

Fixed in pybuilder==0.10.39, FTR.


Updates, deprecation fixes and GitHub Actions CI setup

Hi there 👋🏻 ,
this PR provides the results of mpdude/phumborbundle#1, mpdude/phumborbundle#2 and mpdude/phumborbundle#3.
It

sets up GitHub Actions to run CI tests on various current Symfony versions,
updates PHPUnit,
adds missing dependency declarations
adds return type hints to address Symfony deprecation notices in current versions.

Update
This was released as v3.0.0 of this bundle. However, there should be not relevant changes for regular users of this code. As long as you don't extend or replace classes from this bundle, the added return types should not affect you and you should be able to upgrade to v3.0.0 right away.

@mpdude : thank you very much for your work. Give me a few day to review it. I should be able to do it by monday.

Awesome!
I can't really help with Travis CI, but GitHub actions should run PHPUnit already. Maybe it needs a first time approval by you so that my PRs may trigger runs in your Repo?

Done. Merged. You were right. It was because github action did not peak up the workflow from the PR to initialize itself.
I am going to tag a new major release. Thank you very much

Travis failed in this PR, and I don't know about the results from Scrutinizer.
Do you still see value in using these two?

You are right we can remove Scrutinizer.
For Travis, it succeeded https://app.travis-ci.com/github/jbouzekri/PhumborBundle when I merged your PR.

Yes, but does it add value over running PHPUnit tests in GitHub Actions?

We can discuss this in #22 .


WIP: Integrate Backend API with Frontend

Connecting the frontend to the API endpoints and we should ensure that the frontend can fetch and display data from the API.
Implementing any necessary error handling and data formatting on the frontend side.
So.. to summarize:

Connecting the frontend to the API
Implementing any necessary error handling and data formatting on the frontend side.

First API:

createHabit

as of now blocked because of #40
@pleszr let me know if #40 merged to main


Can't install via composer

Installation fails...
`Using version ^0.6.4 for tightenco/jigsaw
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: remove illuminate/contracts v5.4.9
- Conclusion: don't install illuminate/support v5.4.13
- Conclusion: don't install illuminate/contracts v5.4.9
- illuminate/support v5.2.43 requires illuminate/contracts 5.2.* -> satisfiable by illuminate/contracts[v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7].
- illuminate/support v5.2.45 requires illuminate/contracts 5.2.* -> satisfiable by illuminate/contracts[v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7].
- illuminate/support v5.2.0 requires illuminate/contracts 5.2.* -> satisfiable by illuminate/contracts[v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7].
- illuminate/support v5.2.19 requires illuminate/contracts 5.2.* -> satisfiable by illuminate/contracts[v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7].
- illuminate/support v5.2.21 requires illuminate/contracts 5.2.* -> satisfiable by illuminate/contracts[v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7].
- illuminate/support v5.2.24 requires illuminate/contracts 5.2.* -> satisfiable by illuminate/contracts[v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7].
- illuminate/support v5.2.26 requires illuminate/contracts 5.2.* -> satisfiable by illuminate/contracts[v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7].
- illuminate/support v5.2.27 requires illuminate/contracts 5.2.* -> satisfiable by illuminate/contracts[v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7].
- illuminate/support v5.2.28 requires illuminate/contracts 5.2.* -> satisfiable by illuminate/contracts[v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7].
- illuminate/support v5.2.31 requires illuminate/contracts 5.2.* -> satisfiable by illuminate/contracts[v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7].
- illuminate/support v5.2.32 requires illuminate/contracts 5.2.* -> satisfiable by illuminate/contracts[v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7].
- illuminate/support v5.2.37 requires illuminate/contracts 5.2.* -> satisfiable by illuminate/contracts[v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7].
- illuminate/support v5.2.6 requires illuminate/contracts 5.2.* -> satisfiable by illuminate/contracts[v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7].
- illuminate/support v5.2.7 requires illuminate/contracts 5.2.* -> satisfiable by illuminate/contracts[v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7].
- illuminate/support v5.3.0 requires illuminate/contracts 5.3.* -> satisfiable by illuminate/contracts[v5.3.0, v5.3.16, v5.3.23, v5.3.4].
- illuminate/support v5.3.16 requires illuminate/contracts 5.3.* -> satisfiable by illuminate/contracts[v5.3.0, v5.3.16, v5.3.23, v5.3.4].
- illuminate/support v5.3.23 requires illuminate/contracts 5.3.* -> satisfiable by illuminate/contracts[v5.3.0, v5.3.16, v5.3.23, v5.3.4].
- illuminate/support v5.3.4 requires illuminate/contracts 5.3.* -> satisfiable by illuminate/contracts[v5.3.0, v5.3.16, v5.3.23, v5.3.4].
- illuminate/support v5.2.25 requires illuminate/contracts 5.3.* -> satisfiable by illuminate/contracts[v5.3.0, v5.3.16, v5.3.23, v5.3.4].
- Can only install one of: illuminate/contracts[v5.2.0, v5.4.9].
- Can only install one of: illuminate/contracts[v5.2.19, v5.4.9].
- Can only install one of: illuminate/contracts[v5.2.21, v5.4.9].
- Can only install one of: illuminate/contracts[v5.2.24, v5.4.9].
- Can only install one of: illuminate/contracts[v5.2.25, v5.4.9].
- Can only install one of: illuminate/contracts[v5.2.26, v5.4.9].
- Can only install one of: illuminate/contracts[v5.2.27, v5.4.9].
- Can only install one of: illuminate/contracts[v5.2.28, v5.4.9].
- Can only install one of: illuminate/contracts[v5.2.31, v5.4.9].
- Can only install one of: illuminate/contracts[v5.2.32, v5.4.9].
- Can only install one of: illuminate/contracts[v5.2.37, v5.4.9].
- Can only install one of: illuminate/contracts[v5.2.43, v5.4.9].
- Can only install one of: illuminate/contracts[v5.2.45, v5.4.9].
- Can only install one of: illuminate/contracts[v5.2.6, v5.4.9].
- Can only install one of: illuminate/contracts[v5.2.7, v5.4.9].
- Can only install one of: illuminate/contracts[v5.3.0, v5.4.9].
- Can only install one of: illuminate/contracts[v5.3.16, v5.4.9].
- Can only install one of: illuminate/contracts[v5.3.23, v5.4.9].
- Can only install one of: illuminate/contracts[v5.3.4, v5.4.9].
- Installation request for illuminate/contracts (locked at v5.4.9) -> satisfiable by illuminate/contracts[v5.4.9].
- Installation request for tightenco/jigsaw ^0.6.4 -> satisfiable by tightenco/jigsaw[v0.6.4].
- Conclusion: don't install tightenco/collect v5.4.12|install illuminate/support v5.2.43|install illuminate/support v5.2.45|install illuminate/support v5.3.0|install illuminate/support v5.3.16|install illuminate/support v5.3.23|install illuminate/support v5.3.4|install illuminate/support v5.2.0|install illuminate/support v5.2.19|install illuminate/support v5.2.21|install illuminate/support v5.2.24|install illuminate/support v5.2.25|install illuminate/support v5.2.26|install illuminate/support v5.2.27|install illuminate/support v5.2.28|install illuminate/support v5.2.31|install illuminate/support v5.2.32|install illuminate/support v5.2.37|install illuminate/support v5.2.6|install illuminate/support v5.2.7
- Conclusion: remove tightenco/collect v5.4.12|install illuminate/support v5.2.43|install illuminate/support v5.2.45|install illuminate/support v5.3.0|install illuminate/support v5.3.16|install illuminate/support v5.3.23|install illuminate/support v5.3.4|install illuminate/support v5.2.0|install illuminate/support v5.2.19|install illuminate/support v5.2.21|install illuminate/support v5.2.24|install illuminate/support v5.2.25|install illuminate/support v5.2.26|install illuminate/support v5.2.27|install illuminate/support v5.2.28|install illuminate/support v5.2.31|install illuminate/support v5.2.32|install illuminate/support v5.2.37|install illuminate/support v5.2.6|install illuminate/support v5.2.7
- tightenco/jigsaw v0.6.4 requires illuminate/support ^5.2 -> satisfiable by illuminate/support[v5.2.43, v5.2.45, v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.9, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.6, v5.2.7].
- don't install illuminate/support v5.4.0|don't install tightenco/collect v5.4.12
- don't install illuminate/support v5.4.9|don't install tightenco/collect v5.4.12
- Installation request for tightenco/collect (locked at v5.4.12) -> satisfiable by tightenco/collect[v5.4.12].
Installation failed, reverting ./composer.json to its original content.`

Where are you trying to run composer require tightenco/jigsaw, globally, or inside an existing project?
I recommend following the installation instructions here, they address how to deal with dependency conflicts when installing globally:
http://jigsaw.tighten.co/docs/installation/

Sorry for the lack of detail.  I was doing the global install.  Installing locally seems to have worked.


Extension demo

mosn extension demo。

Codecov Report

Merging #1053 into master will decrease coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1053      +/-   ##
==========================================
- Coverage    56.4%   56.34%   -0.07%
==========================================
  Files         242      242
  Lines       22909    22913       +4
==========================================
- Hits        12922    12910      -12
- Misses       8833     8846      +13
- Partials     1154     1157       +3

Impacted Files
Coverage Δ

pkg/stream/stream.go
33.33% <0%> (-13.34%)
:arrow_down:

pkg/module/http2/transport.go
78.62% <0%> (-0.58%)
:arrow_down:

pkg/proxy/upstream.go
3.87% <0%> (-0.13%)
:arrow_down:

Continue to review full report at Codecov.

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


<EMAIL_ADDRESS>decompress error

Scoop Configuration

{
  "aria2-warning-enabled": true,
  "alias": {
    "gui": "scoop-gui"
  },
  "aria2-enabled": true,
  "last_update": "2022-11-06T21:02:14.3930883+01:00",
  "aria2.enabled": true,
  "scoop_repo": "https://github.com/ScoopInstaller/Scoop",
  "scoop_branch": "develop"
}

Nevermind.. I figured it out.. It ain't the problem with the manifest, but rather that i ran out of the disk space on the partition that Scoop install apps onto (D:), and of course it is a Decompress error, as there is no space to decompress...
Closing...


feat: endpoint login

Creation of the login endpoint
Create the test user, using https://github.com/hawks-atlanta/gateway-java/pull/55

I'm going to convert this to a draft because there are no tests, and the CI checks are failing. Please mark it as ready when you think it's complete.

As the /pages/home/_view.py file could potentially become very large if you place all the endpoints in it, I've opened #19 to propose a basic folder organization.

As the /pages/home/_view.py file could potentially become very large if you place all the endpoints in it, I've opened #19 to propose a basic folder organization.

Thank you very much for these contributions 🚀

@MiguelMRojas, please, create a pull request to main with the following title: release: v0.0.5


can decouple database from dataset building?

would it be easier to develop / easier for users if dataset building was very fast, and then we just created the database file from a very quickly built dataset?
i.e. with my almost nonexistent database knowledge my (wild, probably wrong) guess is that pain points will be around updating a database on the fly
I'm wondering if it would be easier to have a more "functional" approach where we can easily create datasets as in-memory databases, perform whatever workflow we want on that in-memory database (e.g. extract features, create spectrograms), and then instead of trying to update the in-memory database to add e.g. spectrogram files or feature files, as a side effect of running the pipeline, we instead leave it to user to create a new dataset from the spect / feature files

Yes, this is the approach we're taking, basically. Closing this as there's nothing left to address here


I have a PlayStation Mobile game to add

The game is called "Oh, deer! Alpha"
It's an Outrun clone, it coluld be interesting to see it on pkgj
Tell me how can I give you the game so you can add it
I can't play it because my PS Vita hasn't got activated PSM but I can play PKGJ PSM games without that.
If I give the game to you, we all will be able to play
I paid for games like Musync which now is called Musynx, and I wasn't able to play because the PSM thing, so the only thing I can say is thank you for doing this project, you are a legend for the community!
I still have the old musync If you're interested, it has the old desing keyboard, thing we can only see in the PC version as an add!
Thanks for reading and for yout time and effort!

Do you have a file in tm0:/psmdrm/act.dat ?

@KuromeSan Now I know I can activate PSM mobile games with NoPsmDrm, anyway I have Oh, deer! Alpha and Musync mobile games from EU if you want to add them to the PKGJ store
Sorry for the inconvenience

NoPsmDrm doesnt activate anything it just dumps license data given to SceNpDrm.. only if your console IS offically PSM activated, and the games acturaly run only then can you dump the games license data and put it into pkgj- if you cant run them then NoPsmDrm can do nothing for you
you need to check for activation data in tm0:/psmdrm/act.dat

I haven't got my PS Mobile activated, there's no act.dat and Idk where can I generate a new one, but for some reason NoPsmDrm allows me to play the PSM games I bought, so it's fixed for me

Check ux0:/data for your games content_id then..?


Can a new version be released with the deps upgraded?

Hey, can a new version be released with the dependencies I upgraded? I can't use this library along with a recent transformers version (because of conflicts with huggingface-hub).

Yeup, just released: https://github.com/allenai/cached_path/releases/tag/v1.3.5


Added Elevation to exception list for smoothing.

NOTE:  Additional variables could be added to the Exception list, either in this pull request or in a new one.  But I have not received any feedback on variables other than Elevation, so I'm submitting this pull request now.


mime type for js is text/plain

issue https://github.com/ChrisKnott/Eel/issues/49 persists)
mime type for *.js files should be "application/javascript"
http://mozg4d.com/images/mime-type.png
eel is amazing) thank you)

fixed by adding this to my app):
import mimetypes
mimetypes.add_type('application/javascript', '.js')


Ability to skip executing testcase

Made redundant by #13 because we can just leave the test case running and hide the inputs


Can this handle the unsynced data?

Hi! There is not support for unsynced data yet. If you plan on working with unsynced data, pull request is very much welcomed!


Multiple plans

Description

added multiplanner component
updated roadMapSlice to support multiple plans

Screenshots

Steps to verify/test this change:

[ ] Verify changes work as expected on staging instance

Final Checks:

[ ] Verify successful deployment
[ ] Delete branch

(optional)

[ ] Write tests
[ ] Write documentation

Blocker for issue #194 , @SenghoungLim to update once closed

Updated from main and handled merge conflicts. Should now have staging instance, be node 18 compatible, etc.

I would look into changing the UI for managing different schedules to be more like AntAlmanac's new schedule selector, with the edit button, delete, and add all in the same place
I think their new UI is more intuitive to use and we should copy that

I agree with this; maybe we could put it where it currently says "Peter's Roadmap"?
I'm thinking something like this:

Progressed picked up in #472


Fixes #649: Run CI against latest stable Node and use new Travis infra

@jwngr - you just needed matching version of ngMocks
angular/angular.js#6439

@googlebot you are half right. But I am pretty sure @jwngr is on-board.

Whoa. that makes it run a lot faster.

Hey, look at that! Awesome! They definitely do run a lot quicker. I know I had updated my PR to just be against stable, but I wonder if we should also still run against at least Node 0.12. That's what I've been updated our other projects to (example here). My main worry is that since the AngularFire tests have historically been flaky (especially the end-to-end tests), we may have a lot more false positives with test failures...
That being said, this is a good change and I'm merging it in! Thanks a lot James!

☃☃☃☃


[BugFix] Use data columns to get column statistics instead of all columns

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：
Use data columns to get column statistics instead of all columns.
Aliyun DLF will throw a exception if the column list containing the partition columns is passed as the 4th parameter to the method getPartitionColumnStatistics because DLF has more strict column validation steps
[StatisticsCalculator.estimateHMSTableScanColumns():324] Failed to xxx get table column. error : com.starrocks.common.DdlException: get table level column stats failed: com.starrocks.common.DdlException: get partition column statistics from hive metastore failed: Action: GET_PARTITION_COLUMN_STATISTICS ErrorCode: InvalidInput Message: invalid column name: day RequestId: A7xxxx

This issue has been resolved in #11461 , so make a simple fix here in branch-2.4 and before
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)
[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[ ] 2.5
[x] 2.4
[x] 2.3
[x] 2.2

run starrocks_fe_unittest

@mergify backport branch-2.3


stdenv: fix succeedOnFailure

Description of changes
Closes #200663

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] 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 believe this effect is better achieved via https://github.com/NixOS/nixpkgs/pull/196251
Otherwise lgtm.

Apparently ofborg is quick enough to test a stdenv rebuild, so I've added @knedlsepp's test to the tests attribute.

@roberth thanks for adding a test. One note: Due to the nature of succeedOnFailure this test might show up on hydra as failed, which might be confusing. I'm not quite sure how to address that though.

@knedlsepp as far as I know, succeedOnFailure is just a stdenv concept that does not need anything beyond a normal derivation build to work correctly. Nix does not have a special interpretation of it, and I don't expect Hydra to have it either. (If it does, it will just succeed on Hydra, but still be useful on ofborg and all the other tools)
It does not invert the exit status either, like https://github.com/NixOS/nixpkgs/pull/196251 would.

@roberth

Nix does not have a special interpretation of it, and I don't expect Hydra to have it either.

It's true that nix itself does not have any special interpretation, but hydra does. It renders these outputs with a red cross as I'd they failed, but offers downloads in nix-support/hydra-build-products.
It is used on release-tools in nixpkgs sich as coverageReport.
https://github.com/NixOS/hydra/commit/039d1bed21e6fae4be0d3b532703e084d4a0f23d
Anyway, I couldn't find the test that you added in the most recent hydra evaluation, so it doesn't really matter. 😄

That's a bad hack for something that should be solved by Nix itself, but alright then. By default the package tests attribute doesn't get built on Hydra, so it's probably fine.


Failed to access the cluster IP of other applications in the cluster within the Pod

What happend:
Failed to access the cluster IP of other applications in the cluster within the Pod
What you expected to happen:
Access to the cluster IP of other applications in the cluster from within the Pod
How to reproduce it (as minimally and precisely as possible):

create multus network-attachment-definition CRD: macvlan-conf

cat <<EOF | kubectl apply -f -
apiVersion: k8s.cni.cncf.io/v1
kind: NetworkAttachmentDefinition
metadata:
  name: macvlan-conf
  namespace: kube-system
spec:
  config: |-
    {
        "cniVersion": "0.3.1",
        "name": "macvlan-conf",
        "plugins": [
            {
                "type": "macvlan",
                "master": "eth0",
                "mode": "bridge",
                "ipam": {
                    "type": "spiderpool"
                }
            },{
                  "type": "veth",
                  "service_cidr": ["<IP_ADDRESS>/16"]
              }
        ]
    }
EOF

Creating Pods and using annotations："v1.multus-cni.io/default-network"

cat <<EOF | kubectl create -f -
apiVersion: apps/v1
kind: Deployment
metadata:
  name: custom-ippool-deploy
spec:
  replicas: 2
  selector:
    matchLabels:
      app: custom-ippool-deploy
  template:
    metadata:
      annotations:
        ipam.spidernet.io/ippool: |-
          {
            "ipv4": ["default-v4-ippool"]
          }
        v1.multus-cni.io/default-network: kube-system/macvlan-conf
      labels:
        app: custom-ippool-deploy
    spec:
      containers:
      - name: custom-ippool-deploy
        image: ghcr.io/daocloud/dao-2048:v1.2.0
        imagePullPolicy: IfNotPresent
        ports:
        - name: http
          containerPort: 80
          protocol: TCP
EOF

Create a service

cat <<EOF | kubectl create -f -
apiVersion: v1
kind: Service
metadata:
  name: custom-ippool-svc
  labels:
    app: custom-ippool-deploy
spec:
  type: ClusterIP
  ports:
    - port: 80
      protocol: TCP
      targetPort: 80
  selector:
    app: custom-ippool-deploy
EOF

access service IP

> kubectl exec -ti  custom-ippool-deploy-66d4669dd5-j97rc -- sh

/ # curl <IP_ADDRESS>:80 -I
Connection refused

Anything else we need to know?:

/kind bug

Thanks for the report @ty-dc .
This is fixed by https://github.com/spidernet-io/plugins/pull/5
/close


New version: DataAssimilationBenchmarks v0.2.0

Registering package: DataAssimilationBenchmarks
Repository: https://github.com/cgrudz/DataAssimilationBenchmarks.jl
Created by: @cgrudz
Version: v0.2.0
Commit: 8e33f2c166f6eb6bd8f0a9a269ad99dec7aa97bb
Git reference: HEAD

[noblock]
@JuliaRegistrator register

Error while trying to register: Register Failed
@cgrudz, it looks like you are not a publicly listed member/owner in the parent organization (JuliaRegistries).
If you are a member/owner, you will need to change your membership to public. See GitHub Help

[noblock]
@JuliaRegistrator register()

Error while trying to register: Register Failed
@cgrudz, it looks like you are not a publicly listed member/owner in the parent organization (JuliaRegistries).
If you are a member/owner, you will need to change your membership to public. See GitHub Help

[noblock]
Sorry, but I can't seem to get registrator to update to the commit with the changes fixed.  I tried doing this in the above comments and in JuliaHub but I get the following error message:
Please update the version number in the package's Project.toml before registering a new version. The current version number is already tagged to a different commit

Trying this,  I made a new version and ended up with an additional error message in the new pull request.  Please help.

[noblock]
@JuliaRegistrator register()

Error while trying to register: Register Failed
@cgrudz, it looks like you are not a publicly listed member/owner in the parent organization (JuliaRegistries).
If you are a member/owner, you will need to change your membership to public. See GitHub Help

[noblock]
@t-bltg, are you a member of JuliaRegistries?  Can you instigate the register?  It seems like form the error messages above that I am not allowed to initiate the action because I am not a member of JuliaRegistries.
Thanks for your help!

@t-bltg, are you a member of JuliaRegistries?

No I'm not [noblock].

Can you instigate the register? It seems like form the error messages above that I am not allowed to initiate the action because I am not a member of JuliaRegistries.

As I explained in https://github.com/cgrudz/DataAssimilationBenchmarks.jl/commit/435986ef6330c42bd76bd66c66ff8c786688adaa, you have to copy paste the text @JuliaRegistrator register in https://github.com/cgrudz/DataAssimilationBenchmarks.jl/commit/435986ef6330c42bd76bd66c66ff8c786688adaa as a comment.

Error while trying to register: Register Failed
@t-bltg, it looks like you are not a publicly listed member/owner in the parent organization (JuliaRegistries).
If you are a member/owner, you will need to change your membership to public. See GitHub Help

[noblock]
I still seem to be having trouble with updating the fix with the [compat] entries.  I get roughly the same message with the JuliaHub web interface and in the Github interface, where when I try to register a new commit, I get
Error while trying to register: "Tag with name v0.2.0 already exists and points to a different commit"

[noblock]
You must delete the offending tag:
See https://discourse.julialang.org/t/using-juliaregistrator-difficulty-registering-new-releases/42178/3.
I strongly advise you to use TagBot which will create the tag auto-magically after registering your package.

[noblock]
@t-bltg  thanks! That helps a lot, I'll go over the TagBot docs and get this working.
Cheers,
Colin

[noblock]
@giordano, can you close this PR as well?  I think maybe if I start this fresh with TagBot things will go through smoothly finally, thanks for your assistance.
Cheers,
Colin

[noblock]
@giordano, can you close this PR as well? I think maybe if I start this fresh with TagBot things will go through smoothly finally, thanks for your assistance.
Cheers, Colin

Scratch that, finally got the updates to go through.

[noblock]
@giordano, can you close this PR as well? I think maybe if I start this fresh with TagBot things will go through smoothly finally, thanks for your assistance.
Cheers, Colin

Scratch that, finally got the updates to go through.

It think, but I might be wrong, that your last comment (https://github.com/JuliaRegistries/General/pull/49805#issuecomment-985769834) misses a [noblock], required for auto-merge ;)


How to get one drive files that are shared by you using graph api?

We have an graph api to get one drive files that are "shared to you". But just wanted to understand if there is any possible way that get one drive files that are "shared by you".
Approach that we are following now:
Get all the drive files and folders from the root folder and target for shared property
But the cons of it is it should recursively search for each folder and have to call each folder in one drive with graph api to check for shared property.
AB#10036

I'm afraid the Microsoft Graph API does not have a direct endpoint to specifically query for OneDrive files that are shared by you.


fix(explore): Persist URL params to form-data

SUMMARY
This PR fixes a regression introduced in https://github.com/apache/superset/pull/20399 where the URL parameters—which are defined in the request arguments—were not persisted to the form-data, i.e., the code did not adhere the the existing logic defined in the soon to be deprecated legacy endpoint here.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS
Tested locally. Sadly there doesn't seem to be any unit/integration tests which specifically test the GetExploreCommand class.
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Sadly there doesn't seem to be any unit/integration tests which specifically test the GetExploreCommand class.

The tests are in tests/integration_tests/explore/api_tests.py


fixes typo in index.js

Swaps "taylor" (the name) for "tailor" (the verb), the act of custom fitting clothing.

thank you!


Change to eliminate the ugly trailing commas.

This bulk change touches everything, so be cautious when you rebase onto it any outstanding changes.
The merge of this can be deferred until current outstanding changes are merged first.
DAFFODIL-2897

Looks like 'sbt scalafmtAll scalafmtsbt' is not enough. There are still other files that this doesn't hit.

Looks like 'sbt scalafmtAll scalafmtsbt' is not enough. There are still other files that this doesn't hit.

Yep, for reference, the daffodil-test-integration project is not aggregated so that slow tests are not run when you call sbt test. But this skips all sbt commands for the subproject, not just sbt test, so all sbt commands (such as scalafmt) must be run specifically on that project with sbt daffodil-test-integration/<command>. Our CI does this when compile, run tests, and check scala formatting. Ideally we could just disable "test" aggregation for this subproject, but sbt doesn't provide that control.


Run :lfirst instead of :cfirst when using :LmakeJob

I've actually already fixed this on the bugfix branch. Just need to actually fix the other issues so I can merge it.

Finally merged into master. Send me an email if you're still having issues.


Discussion: New configuration system

I have been trying to deploy papermerge on Podman containers and came to the point, where it would be necessary to customize a few settings and override config settings in the configuration files within the containers. I know this is possible via a volume mounts, but feels a bit cumbersome to me (maybe I have overlooked something, and this is possible in some more elegant way - in this case please simply close and forget this issue :wink: ).
Since I have used Django Environ in a few projects, I asked myself, if you would be interested in discussing an adoption of this configuration method in papermerge.
This way, you could use sensible defaults in a simple settings.py and in case of running on a docker/podman container have all necessary settings overridden using environment variables and in case of running under systemd with an environment file. I know, this would be quite a breaking change.
If you are interested, I am really interested in helping out and creating a pull request.
Nonetheless, it's just an idea.

Hi @langimike
Thank you for opening this discussion.
The thing is, Papermerge used to have a configuration system very similar to django environ that you mentioned. To be honest, I really love that approach (.env file + read settings from environment variables)!
But in practice, those approaches (dotenv, django environ) have drawbacks.
One drawback (and least problematic) is that .env file limits variables syntax.  I encountered this issue when I introduced metadata plugins. Metadata plugins are declared as list. IMHO python syntax is very user friendly in that regard - while .env syntax, well, it depends...
Another drawback, which I find as very is serious one - it is when it comes to deploying Papermerge/Django project in production under Apache (mod_wsgi + apache2). Passing environment variables from under apache is, to say the least -  not as flexible as compared to deploying from nginx + gunicorn (or even docker containers).
So, my point is that I won't mess around with configuration system at this moment - as it is flexible enough to work in different environments (development, test, production: gunicorn, uwsgi, apache2 + mod_wsgi).

I definitely understand your points.
I think, it's primarily a matter of taste, because for the first drawback django-environ supports all sorts of python datatypes and the second drawback comes from one's preferred way of deployment (apache2+mod_wsgi vs. nginx+uwsgi or nginx+daphne).
My ideas/suggestions source in me trying to configure database settings (host, user, password) within the containers. The only way I found to override them, is mounting modified app.production.py and worker.production.py to /opt/app/config/settings/production.py.
But don't mind, I got it running.
Thank you!

Great that you have Papermerge up and running!
I will close this issue then.
Thank you!


Multi-level threading is clunky

Example of highly nested discussion that requires many clicks to read through: https://ehakat.manfre.net/<EMAIL_ADDRESS>UX Issues:

No UI indicating if any of the displayed posts have further children
Lose nesting history as walk down the discussion tree. To backtrack, must click up through grandparents.

We likely need htmx polling to indicate that there are new replies at the current level and that children have replies. If we don't store the entire discussion tree, we'll need at least the root Post.id to make the polling lookups more efficient.

Relaying some discussion from Discord: I don't think we need a full infinitely-nested tree, just "original post", "replies", and "replies to replies (or deeper)".

was going to make a bug about this but threading is pretty confusing.

Yeah, I need to go check that Mastodon are doing it how I think they are, and then just copy that.


Use UInt64 as BlobFileID for long time run instance

Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)

2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiFlash version? (Required)

done by https://github.com/pingcap/tiflash/pull/4984


Thanks

Fantastic summary of an otherwise complex topic.

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


Elaboration of Tripaille documentation?

Colleagues,
After following the link off the docker-tripal page in the README near:
    _"..If you are using Tripaille to load data..."_, I landed inside this project.

Sorry for being a bit pedantic here - I know I can perhaps read between the lines - but perhaps the README of this project could be prefaced with a more complete definition about exactly what is Tripaille (I know it is a CLI program), what is its purpose and scope of action (something to do with data loading, but...)? The name 'tripaille' looks like some kind of acronym starting with 'Tripa" (from "Tripal") but perhaps, the suffix letters mean something descriptive of the scripts purpose in life... or, maybe it is just a fanciful name?
Also, what's the interplay between Tripaille and Tripal cron jobs? This is mentioned in the docker-tripal README:
 _"...If you are using Tripaille to load data, you have nothing specific to do, jobs will be launched automatically for you...."_

But less obvious here.
In other words, give the newby's a soft landing in this project so they quickly get their bearings...
thanks.
Richard

I've added more description in the README, is it better like this?


Resulting Video is not playable

Hello,
I tried to create webm video file, however the resulting file is not playable. Errors are not shown in the console except for "End of input" that comes from webm-muxer.js
ffprobe shows this output:
Input #0, matroska,webm, from 'test.webm':
  Metadata:
    encoder         : libwebm-<IP_ADDRESS>
duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0(eng): Video: vp9 (Profile 0), 1 reference frame, yuv420p(tv), 506x284, SAR 1:1 DAR 253:142, 60 fps, 60 tbr, 1k tbn, 1k tbc (default)
[STREAM]
index=0
codec_name=vp9
codec_long_name=Google VP9
profile=Profile 0
codec_type=video
codec_time_base=1/60
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=506
height=284
coded_width=506
coded_height=284
has_b_frames=0
sample_aspect_ratio=1:1
display_aspect_ratio=253:142
pix_fmt=yuv420p
level=-99
color_range=tv
color_space=unknown
color_transfer=unknown
color_primaries=unknown
chroma_location=unspecified
field_order=unknown
timecode=N/A
refs=1
id=N/A
r_frame_rate=60/1
avg_frame_rate=60/1
time_base=1/1000
start_pts=0
start_time=0.000000
duration_ts=N/A
duration=N/A
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
TAG:language=eng
[/STREAM]

It looks like duration is not set??
When playing the video in Chrome it just plays 1 frame, the first and some random frame. The resulting size of 6 seconds  video is 2.3mb.

Hmm, another duration issue. Perhaps there is something in this after all.
How did you drive the muxer to create the file?

The demo works for me, does it work for you?

@davedoesdev  where is the unpacked code of webm-muxer.js ? It is not library.js? because it does not have the "End of input" console.log message. Thanks.

I managed to get playable webm video, the error was on my side having placed milliseconds instead of microseconds. However the webm video is not seekable.

Upon investingating it looks like the EBML.reader is returning 0 duration?

I can't repro that in the demo https://rawgit-now.netlify.app/davedoesdev/webm-muxer.js/main/demo.html
To rule out the underlying platform, do files the demo records and saves have the correct durations for you?

@davedoesdev Thanks for your replies. I ended up manually setting duration based on calculation of processed frames.


can devextreme be used without a module loader?

Issue Type

Question
Description
We have many simple scenarios where we simply include vue without a module loader.  Can the devextreme wrappers be used that way, by using link and script tags to bring in the assets?
Steps to Reproduce

Current Behavior
Expected Behavior
Demo

Environment Details

+1

Hi,
Though we don't provide a kind of "all-components-bundle" out of the box you can create your own according to your needs (e.g. include only components required).
I've created a simple bundler based on our WebPack Vue example.

Add the devextreme-vue.js file and register all the components you need. Choosing components names (like 'dx-popup' below) is up to you.

import { DxButton } from 'devextreme-vue/ui/button';
import { DxPopup } from 'devextreme-vue/ui/popup';

Vue.component('dx-button', DxButton);
Vue.component('dx-popup', DxPopup);

You can find more details on Vue global component registration here.

Update the webpack.config.js file:

...
  entry: './devextreme-vue.js',
  output: {
    filename: './public/js/app/devextreme-vue.js',
  },
...

After running npm run build in the console you can use the generated file (./public/js/app/devextreme-vue.js) to bring the DevExtreme Components whithout module loaders.

Include the devextreme-vue.js file and CSS-theme files to your page:

  ...
  <link rel='stylesheet' type='text/css' href='https://cdn3.devexpress.com/jslib/18.1.3/css/dx.common.css' />
  <link rel='stylesheet' type='text/css' href='https://cdn3.devexpress.com/jslib/18.1.3/css/dx.material.blue.light.css' />

You can customize the CSS-theme as well with the help of the Theme Builder.

I've also attached an archive with the example: example.zip.

Thanks IlyaKhD.   That helps a lot, but I found an issue.   I get many warnings from vue with the textbox and others.    I took your example, added dxTextBox.
`import { DxButton } from 'devextreme-vue/ui/button';
import { DxPopup } from 'devextreme-vue/ui/popup';
import { DxTextBox } from 'devextreme-vue/ui/text-box';
Vue.component('dx-button', DxButton);
Vue.component('dx-popup', DxPopup);
Vue.component('dx-text-box', DxTextBox);`
Then added it to index.html:
`
`
after loading index.html, i saw that the model binding worked, but if I enter anything in the textbox then tab off, I get errors:
vue.esm.js:592 [Vue warn]: $attrs is readonly.
[Vue warn]: $listeners is readonly.

I have tried this in different configurations in different projects with the same results.
I have attached an updated example to show the problem.
example_with_textbox.zip

Is the devexpress library bundled up there in the js created. I have both jQuery and vue components on the same page. And have the devextreme js file included in the page along with the js created from the method described above.. Will this be a problem?

I did this with the data grid and other necessary components and the generated file is 5.34Mb...
This is completely unusable in a real world scenario.

I did this with the data grid and other necessary components and the generated file is 5.34Mb...
This is completely unusable in a real-world scenario.

The production build would be of  size < 2MB. Please Change the mode in Wepack.config.js to "production" to check this . Please take a good risk analysis before consuming the library this way. It is not completely supported at the moment. I suggest you take a look at the linked issues to this issue.

How can I use this instruction with Vue 3? In the Vue 3 global component registration is organized differently (if I understood correctly what the problem is).
Can you give me an instruction for this example: https://github.com/DevExpress/devextreme-examples/tree/21_1/webpack-vue?


build: bump prql-python to 0.6.0

@max-sixty It seems I do not have merge rights to the main branch.

Apologies, it should work now!

Thanks!


Combine constructors

Description
Many of the managers do not actually need initialise anymore to store their Property Maps since many of these can be found in GameStateManager
Fixes # (issue)
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Code quality improvements

How to Test
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist
Please delete options that are not relevant.

[ ] I have tested this code
[ ] I have updated the documentation

Pull Request Test Coverage Report for Build 6655

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

Totals

Change from base Build 6652:
0.0%

Covered Lines:
1861

Relevant Lines:
5525

💛  - Coveralls


Follow up PR with review changes from #285

Adding status tag annotations
Adding namespace to prowjob generation
Go doc to describe known release labels and annotations
Capping the number of jobs at 20
Go formatting

/hold
Needs re-testing after rebase


.toJalali() throws Stack Overflow

Hi
When i try to convert DateTime.now to Jalali with .toJalali() function it throws this exception:
(But it's ok when using Jalali.fromDateTime())

Nice.
Thank you


Tower Of Hanoi in Kotlin

💥 Proposal
(A clear and concise description of what the proposal is.)
The Towers of Hanoi is a game where you have three pegs (#1, #2, and #3) and some circular disks of different sizes that slide onto the pegs.
They all start on one peg, largest to smallest (largest on the bottom).
The goal is to move all the disks to another peg by following these rules:
you may only move one disk at a time from peg to peg no disk may be placed on top of a smaller disk.
Program will print the source and destination to transfer each disks for all the steps in kotlin.
Have you read the Contributing Guidelines on Pull Requests?
yes
(Write your answer here.)

/assign


Facilitate e2e testing with splunk-otel-collector

Make it easier to test our distribution with https://github.com/signalfx/splunk-otel-collector

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 76.07%. Comparing base (e841110) to head (73b69ac).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3372      +/-   ##
==========================================
- Coverage   78.98%   76.07%   -2.92%
==========================================
  Files          88       88
  Lines        3403     2897     -506
==========================================
- Hits         2688     2204     -484
+ Misses        641      612      -29
- Partials       74       81       +7

Flag
Coverage Δ

Linux
?

Windows
?

macOS
76.07% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Fix hotp zero-padding bug

Numbers with fewer non-zero digits than the required length would be truncated.
This fix ensures proper zero padding.

Thank you, @haavardw. Great fix.


fix vulnerabiity in yaml constructor

Signed-off-by: Subhobrata Dey<EMAIL_ADDRESS>Description
fix vulnerabiity in yaml constructor
Issues Resolved
[List any issues this PR will resolve]
Check List

[X] New functionality includes testing.

[X] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

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

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

Codecov Report

Merging #198 (c75e1be) into main (9579e51) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##               main     #198   +/-   ##
=========================================
  Coverage     39.06%   39.06%
  Complexity      890      890
=========================================
  Files           176      176
  Lines          6722     6722
  Branches        820      820
=========================================
  Hits           2626     2626
  Misses         3854     3854
  Partials        242      242

Impacted Files
Coverage Δ

.../securityanalytics/rules/backend/QueryBackend.java
65.48% <100.00%> (ø)

...rch/securityanalytics/rules/objects/SigmaRule.java
91.01% <100.00%> (ø)

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


Patch parse datetime function

fix bug can not work with tableau filter date range
old code not work: SELECT DATE_TRUNC('YEAR', col_name)

Fixed by #71


The buildEnd hook has the different behavior in vite(rollup) and webpack.

Here is my case:
I writing a plugin that will generate a file when bundler completed. My expect is:
dist/
- chunks.js
- index.html
- myfile.txt <- 👈 here

In webpack output is what am I expected, but in vite is NOT.
I do a little hooks comparison of rollup and webpack, I found the writeBundle, generateBundle is similar to webpack's compiler.hooks.done.
So my current solution is use writeBundle for vite.
vite: {
  async writeBundle(options) {
    const p = options.dir
    if (!p) return
    await writeVersionFile(p)
  }
}

Could you provide a duplicate?